View Full Version : [PRJ][OS]Linux and Android on HTC Diamond "NOT YET WORKING"
Vector-SS
9th January 2009, 01:02 AM
Just replace the zImage of Jobo with the one you had in your tmp. Make sure you rename it as zImage so it is recognized.
allofthepeople
9th January 2009, 01:24 AM
Very easy, take his newly download zImage-bla-jobo or whatever its called. Rename it to zImage. Then copy that zImage into the /tmp folder you have setup. It should overwrite the previous zImage file.
Also, for me, when I first run herat.exe it does all the loading but hangs right before the prompt, a soft reset, then a re run of the herat.exe file gets me to the command prompt line where I can type /init.android . Good Luck.
tried it now i freze at:
mmc0: host does not supportreading read-only switch assuming write-enable
mmc0: new SD card at address e624
mmcblk0: mmc0:e624 SU01G 992000KiB
mmcblk0: p1
haha some may be wrong ha hard to read some of that!
fawaad
9th January 2009, 01:26 AM
I just dont know if its me who didn't find this information or its not properly written.
I couldn't boot up the Android because I didn't place the img files in the right location.
I created a tmp folder on the root my storage card instead of the internal memory and only placed the thre img files in it. This made my HTC Touch Pro to boot Android properly.
I hope it helps others.
Vector-SS
9th January 2009, 01:58 AM
I just dont know if its me who didn't find this information or its not properly written.
I couldn't boot up the Android because I didn't place the img files in the right location.
I created a tmp folder on the root my storage card instead of the internal memory and only placed the thre img files in it. This made my HTC Touch Pro to boot Android properly.
I hope it helps others.
That was the first method I tried before it was posted on the wiki - And it did not boot for me.
Maybe it's the Touch Pro that is making it work in a different method. I don't know.
Vector-SS
9th January 2009, 04:18 AM
hmmm, the new kernel are not working for me. its break Android. the "home" keep crashing.
I say nothing. its my android. its seems corrupt... acore has stopped unexpectedly...
I have restore old img. and its works. I retry your kernel. Its cool. really Cool :D
Android sims a little bit more slow. maybe its really slowdown. Its same on your device ?
After messing around with my phone long enough (maybe playing with the adding widgets caused this) I'm now getting the
"The process.android.process.acore has stopped unexpectedly. Please try again."
Only option is to Force Close, it keeps coming up and never stops - so as a result you can't do anything except see the background.
I will delete the .ext2 files and put again the same files to see if it will return back to normal.
I will update...
UPDATE:
So if you ever have this issue, deleting the system.ex2 and userdata.ext2 from the tmp folder and placing back the original ones will solve this problem.
GregOP
9th January 2009, 04:21 AM
tried it now i freze at:
mmc0: host does not supportreading read-only switch assuming write-enable
mmc0: new SD card at address e624
mmcblk0: mmc0:e624 SU01G 992000KiB
mmcblk0: p1
haha some may be wrong ha hard to read some of that!
Yeah, thats where it freezes for me too. Then all I do is soft reset, load wm6.1, load the herat.exe file and it works this time around. You just tap the screen, tap the upperleft, tap the lower right, (be sure to be accurate with stylus) then type /init.android with the stylus on the onboard keyboard and then enjoy ugly colored android. :) I still get the application has stopped responding thing too, but no safe mode.
allofthepeople
9th January 2009, 06:53 AM
Yeah, thats where it freezes for me too. Then all I do is soft reset, load wm6.1, load the herat.exe file and it works this time around. You just tap the screen, tap the upperleft, tap the lower right, (be sure to be accurate with stylus) then type /init.android with the stylus on the onboard keyboard and then enjoy ugly colored android. :) I still get the application has stopped responding thing too, but no safe mode.
nope still not workn...
edit: well now it is but back to the frezing after the pwrsink_set: STUB! messages, im guessing its not mounting anymore??????
fak3z
9th January 2009, 07:57 AM
I just want to say "Thank You Guys!"
The newest Kernel (the "clean" one) is working great on my Touch Pro (unbranded). When I flip out the keyboard, the screen turns to landscape mode.:D
Juer
9th January 2009, 11:08 AM
Thank You for all. Good works!
balsat
9th January 2009, 01:13 PM
Update: OK, I can confirm that changing from halibut keypad to htcraphael keypad gets rid of the safe mode.
Update: Here is a diff (http://members.home.nl/j0b0/linux-htc-msm-2.6.25-jobo20090108.diff.txt) after I moved over some modifications that I think we all want. Mostly the keypad and the gpio testing function.
The code I did in the past to investigate the raph800 colors is not in it. (I plan to move some of that over since it helps in some cases and never hurts, and it makes it easier to tinker more with it.)
Update: ...and here is the resulting kernel (http://members.home.nl/j0b0/zImage-clean-jobo).
This kernel is no god for me, when i make a dial it wait for a couple of sec and then a dialog pops up with ""The process.android.process.phone has stopped unexpectedly. Please try again." and after 2 more sec the screen turns black!
c4software
9th January 2009, 01:26 PM
After messing around with my phone long enough (maybe playing with the adding widgets caused this) I'm now getting the
"The process.android.process.acore has stopped unexpectedly. Please try again."
Only option is to Force Close, it keeps coming up and never stops - so as a result you can't do anything except see the background.
I will delete the .ext2 files and put again the same files to see if it will return back to normal.
I will update...
UPDATE:
So if you ever have this issue, deleting the system.ex2 and userdata.ext2 from the tmp folder and placing back the original ones will solve this problem.
Maybe an bug in the cupcake build...
This kernel is no god for me, when i make a dial it wait for a couple of sec and then a dialog pops up with ""The process.android.process.phone has stopped unexpectedly. Please try again." and after 2 more sec the screen turns black!
Restore the two img of Android and you bring back Android. Realy strange bug.
i don't know if its due to the nzw kernel ??
daniel.bigred
9th January 2009, 02:25 PM
Very easy, take his newly download zImage-bla-jobo or whatever its called. Rename it to zImage. Then copy that zImage into the /tmp folder you have setup. It should overwrite the previous zImage file.
Also, for me, when I first run herat.exe it does all the loading but hangs right before the prompt, a soft reset, then a re run of the herat.exe file gets me to the command prompt line where I can type /init.android . Good Luck.
same here, a bit irritating but i'm not complaining at all... i keep on getting an "Application Settings (in process com.adnroid.settings) is not responding" should i "force close" or "wait"?
EDIT: i've tried changing the .ext2 files as recommended but the whole thing hangs before i can enter the /init.android command.
should i be using the cupcake images or the diam1229? i have a standard diamond?
Kives
9th January 2009, 02:39 PM
Hi,
are there any log files writen while Android is running that could help debuging?
I have tried couple of different kernel images but both hangs after a minute or two.
There are some error messages and then the display and finally the whole phone hangs.
I have been able to connect a call with my DIAM100.
sibbor
9th January 2009, 03:01 PM
I've updated the wiki to better view the current state of Android 1.0/0.8 porting. I would very much like a developer or to two to have a look at the table for current state/-s and update accordingly. Should we remove Android 0.8 from the wiki and focus entirely on 1.0 development?
Earlier today I also added jobo's latest kernel (zImage-clean-jobo) to our "Android and Linux for HTC Diamond (http://www.wuala.com/Linux+and+Android+on+HTC+Diamond)" group over at wuala.com - for those interested.
lionizer
9th January 2009, 03:18 PM
I've been reading / following this post all from the beginning and for development purposes wanted to share my information:
Dutch / T-mobile MDA IV worked for the android 1.0 version. with same results as mentioned on the wiki page.
Since i use Ubuntu on my laptop i noticed that booting android with haret and the mobile in active sync state (without windows connection) also works.
By the way, anyone interested in setting up a fund where followers can donate money for the developers? The one (ore more) delivering us the real working Android on the HTC diamond is the lucky one. (all in good faith just like Google and the Android development strategy?)
balsat
9th January 2009, 03:18 PM
This kernel is no god for me, when i make a dial it wait for a couple of sec and then a dialog pops up with ""The process.android.process.phone has stopped unexpectedly. Please try again." and after 2 more sec the screen turns black!
Maybe an bug in the cupcake build...
Restore the two img of Android and you bring back Android. Realy strange bug.
i don't know if its due to the nzw kernel ??
Android is installed on a ext2 partition, sow why should that help when it's running fine on a different kernel!?
TheLord-Akira
9th January 2009, 03:41 PM
tested jobo's latest kernel on DIAM100
landscape mode (cool)
-can not slide the desktop
-can not drag/click items on desktop
-can drag notificationbar and programsbar
-can drag/click skeyboard
->after switching (landscape/portrait) once it works
portrait mode
-everything works
bugs
portrait mode:
-when i set a widget picture frame, android switchs landscape, when i set to portrait (in "select a picture") and go back to desktop, android witchs to landscape again
-open gallery, android switchs to landscape
-using camera and go back to desktop, android switchs to landscape
cu
c4software
9th January 2009, 05:29 PM
Hmm its maybe an dumb question. But... You Think one day we find the way to use Android nativaly (Like on the G1) ?
hgelpke
9th January 2009, 08:39 PM
forgive me if this has been asked and answered but I could not find it while searching. I'm using the Sprint Touch Pro with the newest Kernel and when i boot I get the command prompt and the virtual keyboard. However I don't seem to be able to click on the keyboard or use the hardware keyboard to run a command. Am I doing something wrong? Thanks for the help and keep up the good work.
hillsdale
9th January 2009, 08:41 PM
Hey guys. Been lurking for a bit. Great progress - thanks!
I might have just had an insight into the color situation, or my mind is seeing patterns. If you remember, my original theory was that we might have a completely different MDDI bridge chip, since the manufacturer ID was coming back different for Sprint vs the GSM phones (thanks jobo!).
My original patch to get the RAPH800 to work at all just shoehorns the id we get back (4ca3) into the one the google-provided kernel driver for the Toshiba mddi chip is looking for (d263). And this works only so-so, since it seems that the chip setup done by the driver code isn't quite working out. But I think I just found a match.
Check out the Samsung S3CA460 MDDI bridge chip. Looks like it is used in the Touch HD. And if you squint hard, you'll see the characters "4 C A 3" are actually buried *in its name*!
Dunno where this gets us, even assuming I'm right. Might have to wait for the big boys to provide a driver, presumably when someone finally ships an android phone with the same chip. Or someone smarter than I could find a data sheet and write one.
Or maybe I'm on crack. Anyone?
Skia22
9th January 2009, 11:11 PM
Good evening and thanks or this great post
I ve made several attempts and I could only launch Android a couple of times
When I run Haret.exe it gets stuck on
21.990183 mmcbik0: mmc0:0001 000000 3932160KiB
21.996652 mmcblk0
_
and that's all
I deleted the folder tmp and recreated, putting all the appropriate stuff in it
I tried both on internal storage and on diamond's main memory
I tried soft reset
I waited for a long long time, thinking that it may got stuck and will soon go on
Unfortunately nth happened, it doesn't respond at all
When I press the power button I see one the screen:
gpiotest: gpio 83 = high 1x
gpiotest: gpio 83 = low 1x
I thought I found the solution, because the folder was renamed "TMP" in caps, I renamed it in lower case "tmp" and it worked once, but then the above problem appeared again.
When I succeed eventually to launch Android, I face several problems, for example
I get the error "application settings (in process com.android.settings) is not responding with options "Force Close" and "Wait"
Sometimes the screen gets black after 3-5 seconds and there's no way to open the phone again, only with soft reset
I don't get any signal, so that I can for example send an sms, it says network or sth is not registered (i disabled my pin code)
I can't find a way to get back to home screen (i've read the instructions "If you go to the 'Spare Parts' App and change the "End Button Behaviour' to "Go To Home" that will change the "End" key on the soft keyboard to go back to the home page." but I cannot find "spare parts app") I also tried using F1 from the keyboard, but it doesn't work. The keyboard just flashes
butterdori
9th January 2009, 11:38 PM
When I succeed eventually to launch Android, I face several problems, for example
I get the error "application settings (in process com.android.settings) is not responding with options "Force Close" and "Wait"
What do you mean by it not responding? Does the screen not respond at all? Currently, I think everyone is getting that error message at start
Sometimes the screen gets black after 3-5 seconds and there's no way to open the phone again, only with soft reset
Screen going off after a period of inactivity. You can change that in settings to 'never go off'
I can't find a way to get back to home screen (i've read the instructions "If you go to the 'Spare Parts' App and change the "End Button Behaviour' to "Go To Home" that will change the "End" key on the soft keyboard to go back to the home page." but I cannot find "spare parts app")
You need the cupcake version for that
touch of jobo
9th January 2009, 11:42 PM
dcordes,
I have recently completely updated my git, and only moved over the raphael keypad code, and now I have the same problem with your X11 root image where it hangs with a single underscore in the upper left corner.
I shall move my old frame buffer and mddi, mdp tinkering back in bit by bit until it works again, and report back..
-Jobo
Update: I used an older kernel I had sitting around, and that one shows the X cursor and the gets to the calibration screen. (I used my 565 kernel (http://tibook.jb.b4m.com/j0b0/zImage-565-jobo) from when I was tinkering with raph800 lcd panel. It is from December 12.)
Update: Bad news. I built a kernel from the set just before I updated, and that one does not work either.. this is going to be a bit painful.
Update: I get back to working X11 when I put The Very Dirty Hack back in place in msm_fb.c~180. I need to test and confirm...
#ifdef CONFIG_MACH_HTCRAPHAEL
x = 0; y = 0; w = pi->width; h = pi->height; // XXX - VERY ugly hack so we can draw in fbram
#endif
Update: OK, confirmed. Without that hack, if you boot with the vkeyb hidden and tap it open when you're on the _ then the empty corner between the vkeyb and the drag/toggle square gets updated (to white), and when you force an invalid update by dragging the square down, opening the vkeyb, and then turning landscape, it updates the entire buffer (because of some other hack but that one is in place in git), and you see the cross hairs and instructions.
foh1981
10th January 2009, 12:18 AM
Hmm its maybe an dumb question. But... You Think one day we find the way to use Android nativaly (Like on the G1) ?
What would the benefits of this be? Are there resources that are locked when starting with HARET?
NoBody20013
10th January 2009, 01:14 AM
what the benefits would be?
sorry, but i think THIS is a strange question...
Android is a OS like WM, but -i hope- a much better one for use with an Phone like Dimaond etc.
So the only finish should be getting Android running "natively" -this means as fully functionelly OS on our Diamond or Raphael. O.k. we can use Dualboot i think.. if usefull or interesting ....
Greetings :p
itsallsubliminal
10th January 2009, 01:51 AM
I have a raph800 and can't seem to get this to load for the life of me (1.0)... I can't seem to find the proper haret either, the version i find are all a**Backwards for touchscreen functionality, which means i have to tap on the bottom of the screen to use the keyboard at the top... I can't find the other version which worked fine AND had screen calibration (which i don't have now) could one of you direct me to it?
Everything on the Wiki doesn't seem to work for me and i KNOW i'm doing it right, i'm not a noob...
also, after i carefully type /init.android and hit enter, it almost loads but then there are 4 or 5 lines that say the same thing about not finding system bin...
Anyhelp please?
Thanks in advance
and yes, i've SEARCHED AND SEARCHED and its just frustrating :(
frysee
10th January 2009, 02:04 AM
Everything on the Wiki doesn't seem to work for me and i KNOW i'm doing it right, i'm not a noob...
also, after i carefully type /init.android and hit enter, it almost loads but then there are 4 or 5 lines that say the same thing about not finding system bin...
Anyhelp please?
Thanks in advance
and yes, i've SEARCHED AND SEARCHED and its just frustrating :(
Are you sure you got all the necessary files to /tmp/ on your internal storage? Try the files from here (http://www.wuala.com/Linux+and+Android+on+HTC+Diamond) and make sure to extract the .tar.gz archive before copying ;)
greetz
keerttttt
10th January 2009, 02:08 AM
what the benefits would be?
sorry, but i think THIS is a strange question...
Android is a OS like WM, but -i hope- a much better one for use with an Phone like Dimaond etc.
So the only finish should be getting Android running "natively" -this means as fully functionelly OS on our Diamond or Raphael. O.k. we can use Dualboot i think.. if usefull or interesting ....
Greetings :p
I don't see a questionmark anywhere... so it's not a question. And besides that, it's running native already, just not directly on boot.
NoBody20013
10th January 2009, 02:11 AM
Originally Posted by c4software View Post
Hmm its maybe an dumb question. But... You Think one day we find the way to use Android nativaly (Like on the G1) ?
What would the benefits of this be? Are there resources that are locked when starting with HARET?
- i posted as answer on this.... o.k. - back to topic ..sorry :rolleyes:
butterdori
10th January 2009, 02:52 AM
Backwards for touchscreen functionality, which means i have to tap on the bottom of the screen to use the keyboard at the top...
Lavender.t put a preset calibration for the touch screen. You might want to look at his original post and calibrate it yourself
itsallsubliminal
10th January 2009, 03:07 AM
Are you sure you got all the necessary files to /tmp/ on your internal storage? Try the files from here (http://www.wuala.com/Linux+and+Android+on+HTC+Diamond) and make sure to extract the .tar.gz archive before copying ;)
greetz
you mean storage card right? i have a touch pro raph800
itsallsubliminal
10th January 2009, 03:46 AM
Are you sure you got all the necessary files to /tmp/ on your internal storage? Try the files from here (http://www.wuala.com/Linux+and+Android+on+HTC+Diamond) and make sure to extract the .tar.gz archive before copying ;)
greetz
man, i dunno whats up... it just doesn't work :( I did extract and everything correctly before transfering to storage card root in tmp folder, but it still freezes up
says: cannot find /system/bin/rild disabling
cannot find /system/bin/app_process disabling
cannot find /system/bin/media server disabling
******************/playmp3 disabling
******************/dbus-daemon disabling
******************/installd' Disabling
Just freezes here
my folder set up looks EXACTLY like the one in the wiki, so i really don't know what the heck is up... android .08 worked with that all-in-one exe before... just 1.0 with seperate files seems to be bunk for me
Marcellus_pnz
10th January 2009, 09:09 AM
I have some stupid question, sorry)
There is the terminal application in developers tools. With its help I see that my Internal storage is available in the /mmc. So, why not to mount the internal storage to /sdcard, not /mmc? Is it possible?
TripleQ
10th January 2009, 12:01 PM
man, i dunno whats up... it just doesn't work :( I did extract and everything correctly before transfering to storage card root in tmp folder, but it still freezes up
says: cannot find /system/bin/rild disabling
cannot find /system/bin/app_process disabling
cannot find /system/bin/media server disabling
******************/playmp3 disabling
******************/dbus-daemon disabling
******************/installd' Disabling
Just freezes here
my folder set up looks EXACTLY like the one in the wiki, so i really don't know what the heck is up... android .08 worked with that all-in-one exe before... just 1.0 with seperate files seems to be bunk for me
I got exactly the same message...
The device is still responding, still recieving GPIO information when pressing the powerbutton for example, and the vkeyboard is still dragable
Got the RAPH100, maybe something with partition?
[edit]
Does it matter what kind of partition it is?
a primary partition? or a extend one?
[edit-again]
Its working now!
I think it has to be a primary partition... :)
Android is booting now!
Skia22
10th January 2009, 02:48 PM
..............
nuke1
10th January 2009, 02:53 PM
A suggestion: I think there should be two threads. One with development-ONLY, and the other with people trying to figure out how to run the latest build.
gebruikershaes
10th January 2009, 03:04 PM
A suggestion: I think there should be two threads. One with development-ONLY, and the other with people trying to figure out how to run the latest build.
Aagreed.:)
Untouchab1e
10th January 2009, 03:28 PM
Best thing would be for those who cant help out with the development to wait for a fully working version to be completed instead of messing up the topic with lots of questions on how to get Android running when we cant use Android as a daily OS yet.
plbelanger
10th January 2009, 04:05 PM
Better yet why not a seperate forum under Diamond for Android Development =)
Nooblet
10th January 2009, 07:07 PM
Alright in no way do I understand what exactlly goes on in your coding and everything, but dont get me wrong I have the utmost respect for you guys and what your trying to do, just have a small question, and it might help out a little , who knows though. Im running on Sprint Touch Pro, or if I believe so RAPH800, and while I am able to get haret to boot up the linux kernel, it stops booting at a certain point, and Ive not been able to figure out how to go about fixing this issue. It locks up at, "[ 22.391159] trout_pwrsink_set:STUB!" ive seen the pictures of others booting up and it seems to make it past this point without even bringing up this part, also It does the same on both 0.8 and 1.0, so its not just something one kernel has and the other doesn't. Any ideas on how I could go about getting around this issue?
touch of jobo
10th January 2009, 07:11 PM
A suggestion: I think there should be two threads. One with development-ONLY, and the other with people trying to figure out how to run the latest build.
That is a good idea. A dev thread and a 'support' thread.
And link to the support thread from the topic title and from post #1.
Best thing would be for those who cant help out with the development to wait for a fully working version to be completed instead of messing up the topic with lots of questions on how to get Android running when we cant use Android as a daily OS yet.
That _would_ be the best thing, but the likelihood is somewhere between pigs flying and hell freezing over. We have more control over the structure of the site/forum than over human behavior.
Better yet why not a seperate forum under Diamond for Android Development =)
1 - There is no android development.
All development is kernel development. The trick is to get android working on a device without touching android or the device. The thing that sits between the hardware and android (or any other user space app) is the kernel. Android, like other user spaces, is a way to test the kernel.
(Actually there _is_ android development (http://source.android.com/), but that is not in here as it is not device specific.)
2 - Then that thread would get the same abuse that this one gets now.
-Jobo
foh1981
10th January 2009, 07:30 PM
Android is a OS like WM, but -i hope- a much better one for use with an Phone like Dimaond etc.
So the only finish should be getting Android running "natively" -this means as fully functionelly OS on our Diamond or Raphael. O.k. we can use Dualboot i think.. if usefull or interesting ....
I agree with you on that. I'm not fond of WM, it's not an operating that is designed for mobile phones. What I was wondering was more specifically if starting Android with haret had some downsides hardware-wise, so to speak. I got the answer further down :) Dual-booting is always nice to have, as a safety thing. I would rather be booting in to Android by default though. We'll see what the future brings :)
That _would_ be the best thing, but the likelihood is somewhere between pigs flying and hell freezing over. We have more control over the structure of the site/forum than over human behavior.
At some point I'm assuming the developers would want user input though... With enough eyes, all bugs are shallow (if the "eyes" know what to look for, that is :rolleyes:)
man, i dunno whats up... it just doesn't work :( I did extract and everything correctly before transfering to storage card root in tmp folder, but it still freezes up
says: cannot find /system/bin/rild disabling
cannot find /system/bin/app_process disabling
cannot find /system/bin/media server disabling
******************/playmp3 disabling
******************/dbus-daemon disabling
******************/installd' Disabling
Just freezes here
my folder set up looks EXACTLY like the one in the wiki, so i really don't know what the heck is up... android .08 worked with that all-in-one exe before... just 1.0 with seperate files seems to be bunk for me
I had this problem at one time on my Diamond (DIAM100, P3700). I can't remember what I did to get past it, it was either that I just tried booting again or I tried the ActiveSync-thing that's mentioned in the Wiki. It seems to me that the problem is that it can't access the files correctly.
So my suggestion to anyone trying Android, be sure to disconnect the phone from your computer properly as to not lock the internal memory card in any way. Disconnect the phone and reconnect it in ActiveSync mode.
sazinas
10th January 2009, 08:05 PM
In reference to the previous messages,
I was wondering if the android build on the 'wiki' page is the latest, or should I look for it somewhere else?
thx
oliwan
10th January 2009, 08:11 PM
Hi,
I have a diamond and programming knowledge. Love what you've done so far. Is there anything I can do to help move this along?
I'm sick of WM. It's a massive, stinking pile of...
Cheers.
mdrobnak
10th January 2009, 08:22 PM
Hi,
I have a diamond and programming knowledge. Love what you've done so far. Is there anything I can do to help move this along?
I'm sick of WM. It's a massive, stinking pile of...
Cheers.
As noted on the Wiki (http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux) you can check out #htc-linux on FreeNode using an IRC client. That's where most of the developers hang out.
-Matt
hibby50
11th January 2009, 12:02 AM
Alright in no way do I understand what exactlly goes on in your coding and everything, but dont get me wrong I have the utmost respect for you guys and what your trying to do, just have a small question, and it might help out a little , who knows though. Im running on Sprint Touch Pro, or if I believe so RAPH800, and while I am able to get haret to boot up the linux kernel, it stops booting at a certain point, and Ive not been able to figure out how to go about fixing this issue. It locks up at, "[ 22.391159] trout_pwrsink_set:STUB!" ive seen the pictures of others booting up and it seems to make it past this point without even bringing up this part, also It does the same on both 0.8 and 1.0, so its not just something one kernel has and the other doesn't. Any ideas on how I could go about getting around this issue?
same problem, same phone
NetRipper
11th January 2009, 12:06 AM
same problem, same phone
Connect your phone via usb to your pc and use ActiveSync mode (not disk drive). Then use haret to start linux. It should continue then. It's in the FAQ (http://wiki.xda-developers.com/index.php?pagename=RaphaelLinuxFAQ).
clampi
11th January 2009, 12:30 AM
Connect your phone via usb to your pc and use ActiveSync mode (not disk drive). Then use haret to start linux. It should continue then. It's in the FAQ (http://wiki.xda-developers.com/index.php?pagename=RaphaelLinuxFAQ).
so will this work on my sprint tp?? and is it fully functional? and if it doesnt work can i go back without a hard reset? or is this ljus like flashing a rom?
NoBody20013
11th January 2009, 12:34 AM
so will this work on my sprint tp?? and is it fully functional? and if it doesnt work can i go back without a hard reset? or is this ljus like flashing a rom?
www.justreadtheWIKI.com
hibby50
11th January 2009, 12:48 AM
I have it almost working. as soon as it is working i will post it up so everyone wont have to do what i did.
frysee
11th January 2009, 12:56 AM
so will this work on my sprint tp?? and is it fully functional? and if it doesnt work can i go back without a hard reset? or is this ljus like flashing a rom?
wiki says:
Please note that Android on the Diamond and Raphael is still in very primitive stages. You can run Android, but device drivers are not working properly or even not at all. Below you'll see what works and what doesn't.
(...)
RAPH800 has messed up colors
(...)
It's still in a primitive stage but it should boot up fine.
(...)If I boot Android and then restart will WM 6.1 boot normally? Should happen. Plz note the warning at the beginning of this FAQ.
Just by reading the wiki page all of your questions are answered - so please stop bloating this thread with questions answered 1000 times before ;)
greetz
edit:
FWI the sprint pro info is not in the wiki so maybe YOU should read it
You are free to add any information valuable to other interested people :)
asticinzano
11th January 2009, 01:16 AM
Maybe we should create a thread with the title "Ultimate r0xxors ANDROID for DIAMOND - YO! Get that shit!!!111"
Obviously this will attract a certain clientel who is nearly dieing from exhaustion after reading more than four words.
And to make something clear: It's extremely useless to post things like "I wish I could help but I only can program HTML. You guys are so awesome!"
Wake up! Typing something between <html> and </html> is not programming! So move along!
Enough ranting. Whoever is in charge can delete this post after some youngsters have read it.
I really am getting old and grumpy. ;)
sibbor
11th January 2009, 01:28 AM
I've updated the wiki for current state - Andriod 1.0 (http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux#Currentx20.statex2 0.-x20.Androidx20.1x2e.0) with the some new information, mostly taken from the progress section. Again, correct/update the information if it's incorrect.
Hardware keyboard: NO (RAPH series)
Although the keyboard slider switch works. It rotates Android display orientation between portrait and landscape mode.
Hardware buttons: Partial (All)
* On/Off = Doesn't work
* Home/Send = Send
* Up = Menu
* Center = Enter/Select
* Down = Back
* Back/End = End
* Volume Up/Down = Volume Up/Down
NoBody20013
11th January 2009, 01:39 AM
One Question for understanding the Kernel Compilation process:
Is it "only" the Kernel Config which is needed that for Example the Sound works or the sound when making/recieving a call or the other Hardware as Buttons and Camera, GPS etc.? are all drivers (working/compatible drivers) already available or "build in" in android? Or what is the way you DEV´s have to go?
thank you for your answers!
Bakuryu91
11th January 2009, 03:03 PM
Q: When I try to boot Android 1.0 it says 'mmcblk0: unknown partition table' and then stops booting.
A: Try launching Haret with Activesync through USB connected, when you get past the place you got stuck before it's ok to remove the USB cable.
I've found that if you launch ActiveSync on the PDA (even if there's no computer) before launching HaRET, there is no more bug ! Can anybody confirm ?
Sorry for my english ^^"
Untouchab1e
11th January 2009, 03:30 PM
I just wanted to say what awesome progress have been made the last couple of weeks. If we get calls working as well as the Touch Pro hardware keyboard, Android would be very near a useable state on the TP and Diamond :D
I have a question though. Android, at least on my Touch Pro was slightly laggy and slow compared to Android on my G1. Is this something that would be improved upon in later builds, or what do you guys reckon?
And how do we enable the Raph's qwerty keyboard? What's missing?
Maestro Nobones
11th January 2009, 06:49 PM
I hope I'm allowed to pop in here and say THANK YOU SO MUCH to all devs working on this project.
My GF has the G1 and I have the xv6850 Verizon Touch Pro and I am so jealous that her phone does everything my phone tries and fails to do without even breaking a sweat. WinMo is a lost cause and I look forward with great anticipation to the day I can run Android on my TP.
THANKS AGAIN GUYS!!!!
touch of jobo
11th January 2009, 07:55 PM
are there any log files writen while Android is running that could help debuging?
If you telnet into your phone right after android starts loading, you can use logcat to see the messages it spews out. (provided that you have an initrd that enables usb networking and telnetd, afaik lavender.t's does.)
[...] I see that my Internal storage is available in the /mmc. So, why not to mount the internal storage to /sdcard, not /mmc? Is it possible?
You can do that by modifying /init in the root fs image. Alternatively, you can use a different partition as your media storage by changing /system/etc/mountd.conf (like when you run android off its own partition).
Hi,
I have a diamond and programming knowledge. Love what you've done so far. Is there anything I can do to help move this along?
Start at the 'build your own' section on the wiki (http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux#Buildx20.Yourx20.O wn) and confirm that you are 'in business'. Then check the useful links / research pages (http://wiki.xda-developers.com/index.php?pagename=RaphaelResearch) and #htc-linux on freenode.
I have it almost working. as soon as it is working i will post it up so everyone wont have to do what i did.
When you do, do it on the wiki. A forum post disappears below the horizon in 2 days.
Is it "only" the Kernel Config which is needed that for Example the Sound works or the sound when making/recieving a call or the other Hardware as Buttons and Camera, GPS etc.? are all drivers (working/compatible drivers) already available or "build in" in android? Or what is the way you DEV´s have to go?
Android already know how to talk to the kernel to inquire about the hardware or to manipulate the hardware. It does this in way not specific to a device. The kernel contains the drivers that translate between user<->kernel speak and the hardware.
The way the devs have to go it to figure out how to tell the hardware what android tells the kernel, and how to decipher the hardwares answer and translate back to kernel<->user speak to tell android about it. (android or any other user environment for that matter.)
The thing that makes this non-trivial and take time is the fact that HTC does not provide the necessary details.
Android, at least on my Touch Pro was slightly laggy and slow compared to Android on my G1. Is this something that would be improved upon in later builds, or what do you guys reckon?
There are a couple of things that negatively impact performance.
* No hardware display acceleration (libhgl)
* We (you) run off an ext2 image on a vfat partition, maybe running directly off a yaffs partition has some benefits..
* Polling rather than irq based touchscreen
* Drawing the vkeyb
* ...other stuff I have no clue about (power management?) ..
-Jobo
Untouchab1e
12th January 2009, 02:06 AM
I just gathered all the files together and threw up a .zip file for those with the Touch Pro who just wants to give Android a go with the latest files available from jobo and all the others here.
Follow the guide and download here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=view.download&cid=4)
Enjoy!
norkoastal
12th January 2009, 02:18 AM
I just gathered all the files together and threw up a .zip file for those with the Touch Pro who just wants to give Android a go with the latest files available from jobo and all the others here.
Follow the guide and download here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=view.download&cid=4)
Enjoy!
For the rest of the newbs out there I thank you.. :D
Edit oops.... I have a Raph110... Still no go?
expanium
12th January 2009, 03:05 AM
Do we have any new pics of Android in Diamond?
Sonfire
12th January 2009, 03:26 AM
I was not able to Start Android with my HTC Fuze, never gets to the keyboard!
Oh well.... Thanks for the Files!
oaa8
12th January 2009, 03:29 AM
I was not able to Start Android with my HTC Fuze, never gets to the keyboard!
Oh well.... Thanks for the Files!
Make sure it's connected to the computer with activesync not storage device and edit the device.txt to say
set cmdline "mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=on" instead of
set cmdline "mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=off"
EDIT You may also want to remove the calibration part
set cmdline "mem=64M msmsdcc_id=2 msmvkeyb_toggle=on"
Sonfire
12th January 2009, 03:35 AM
Make sure it's connected to the computer with activesync not storage device and edit the device.txt to say
set cmdline "mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=on" instead of
set cmdline "mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=off"
Cool, i'll try that when I get home!
BGH80
12th January 2009, 05:02 AM
I don't mean to sound like a greedy mofo but at the moment it seems as though the biggest issues with the port are the lack of sound/mic (and keyboard I guess).
Are these likely to be significant hurdles to overcome?
Sl4sher
12th January 2009, 05:39 AM
I finally got a change to get Android 1.0 booted on my Raph800 and I'm noticing a bug that I didn't see before.
When in android and when pressing some keys on the vkb in the text shell my screen scrambles like the system doesn't know how to align the frame buffer to the physical screen. In the same session it'll switch between scrambled like tv where each line is offset, uniformly shifted to the left with the left side of the buffer wrapped around to the right side of the screen, and aligned correctly. It seems to do this during normal usage rather than caused by a particular input or operation.
I don't know if this a know bug or not, but I did not see it mentioned in this thread so I thought I'd throw it out there.
Otherwise I'm really happy with the progress the devs have made and am looking forward to the full function version.
norkoastal
12th January 2009, 08:22 AM
Make sure it's connected to the computer with activesync not storage device and edit the device.txt to say
set cmdline "mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=on" instead of
set cmdline "mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=off"
EDIT You may also want to remove the calibration part
set cmdline "mem=64M msmsdcc_id=2 msmvkeyb_toggle=on"
After these two changes the keyboard appears but the keys are very tiny and dont respond. The bottom message reads
"/bin/sh: cant access tty; job control turned off #"
The phone is locked at this point and will only Hard reset.
Untouchab1e
12th January 2009, 08:24 AM
For the rest of the newbs out there I thank you.. :D
Edit oops.... I have a Raph110... Still no go?
Thanks, I will try to keep the files updated as well as new builds are available. I dont have a Raph110 myself, so give it a go and please let me know how it works out so that I can add that information!
Cheers
Untouchab1e
12th January 2009, 11:32 AM
Do we have any new pics of Android in Diamond?
Here is a few of Android on my Raph100
jbelman
12th January 2009, 11:44 AM
Apologies since this is not technically development, but as an update from my first post (http://forum.xda-developers.com/showpost.php?p=3128648&postcount=1405) my VF-UK DIAM100 is running Jobo's new zImage well, albeit without a few bits working.
My on-going work on this I'm logging here (http://blushartistry.co.uk/blog/) if anyone want's to have a look/comment (1 Pic so far).
I'm going to do a full writeup including the links for the files used to get this working so n00b's check back within next couple of days on above link.
theintelligent
12th January 2009, 02:33 PM
After these two changes the keyboard appears but the keys are very tiny and dont respond. The bottom message reads
"/bin/sh: cant access tty; job control turned off #"
The phone is locked at this point and will only Hard reset.
Same here.
liamhere
12th January 2009, 02:40 PM
Do we have any new pics of Android in Diamond?
or you can look here too
http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux#Currentx20.statex2 0.-x20.Androidx20.1x2e.0
touch of jobo
12th January 2009, 07:54 PM
[...] set cmdline "mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=on"[...]
The 3rd option is: msmvkeyb_toggle=hide. This does initialize the vkeyb, but has it initially minimized / collapsed / you only see the blue drag-square. (This way it is not so much in your face but still there when needed.)
The phone is locked at this point and will only Hard reset.
I hope you mean _soft_ reset. Does the phone really hang or do you still see the flashing cursor after the last line?
Try removing the msmts_calib option, then manually calibrate on boot. This prints your calibration values to the console. Use these to construct a new msmts_calib option with your own values.
When in android and when pressing some keys on the vkb in the text shell [...]
"In android .. in the text shell" - do you mean in the Terminal application in Android or do you mean before android starts loading?
[...] my screen scrambles like the system doesn't know how to align the frame buffer to the physical screen. In the same session it'll switch between scrambled like tv where each line is offset, uniformly shifted to the left with the left side of the buffer wrapped around to the right side of the screen, and aligned correctly. It seems to do this during normal usage rather than caused by a particular input or operation.
..interesting. I'm hoping this is a clue to also get stable video on the Blackstone Touch HD. If you have a setup that lets you telnet or ssh into your phone, can dmesg to see if there are (m)any 'invalid update' messages?
-Jobo
norkoastal
12th January 2009, 08:51 PM
I hope you mean _soft_ reset. Does the phone really hang or do you still see the flashing cursor after the last line?
Try removing the msmts_calib option, then manually calibrate on boot. This prints your calibration values to the console. Use these to construct a new msmts_calib option with your own values.
-Jobo
The cursor is still flashing, but there is no way to escape back to WM. I have to hard reset every time after launching. After picking at the screen for a while I was able to get (very innacurate letters typed). Any way to expand the keyboard to a manageble size to type in the launch message? Thanks :D
Bimboy
12th January 2009, 09:26 PM
The cursor is still flashing, but there is no way to escape back to WM. I have to hard reset every time after launching.
What happens when you try to soft reset? (me thinks you are getting the terms mixed up) A soft reset is putting the stylus into the reset hole, by the USB port. Hard reset is basically setting it back to factory default, where you have to set the whole device up again, as if it were new.
After picking at the screen for a while I was able to get (very innacurate letters typed). Any way to expand the keyboard to a manageble size to type in the launch message? Thanks :D
This has been mentioned in this thread already, but you can minimize the number of keys to tap on the vKeybd by doing this:
/i<tab>.a<tab><enter>
This changes the number of taps from 13 taps to 7. When you tap <tab> for the first time, you'll see 'init' display, the second time, you'll see 'android' display. :)
norkoastal
12th January 2009, 10:05 PM
What happens when you try to soft reset? (me thinks you are getting the terms mixed up) A soft reset is putting the stylus into the reset hole, by the USB port. Hard reset is basically setting it back to factory default, where you have to set the whole device up again, as if it were new.
This has been mentioned in this thread already, but you can minimize the number of keys to tap on the vKeybd by doing this:
/i<tab>.a<tab><enter>
This changes the number of taps from 13 taps to 7. When you tap <tab> for the first time, you'll see 'init' display, the second time, you'll see 'android' display. :)
Please forgive my newbishness.. correct.. soft reset..ill follow your steps and give it another go thanks ;)
thisperishedmin
12th January 2009, 10:11 PM
Just checking in to say great work and keep it up!
I've been keeping tabs on this and I'm really amazed so far...of course, I'd love to see it all go faster, but at the same time - my mind is just blown that everyone has accomplished what they have so far.
I look forward to testing and maybe on day usually Android fully with my Raphael.
keep it up! :cool:
NikPraskaton
12th January 2009, 10:16 PM
Just checking in to say great work and keep it up!
I've been keeping tabs on this and I'm really amazed so far...of course, I'd love to see it all go faster, but at the same time - my mind is just blown that everyone has accomplished what they have so far.
I look forward to testing and maybe on day usually Android fully with my Raphael.
keep it up! :cool:
Cant wait to have fully functional Android on my HTC :) Keep Up The Good Work Guys.
refl3x0r
12th January 2009, 11:00 PM
Hey Guys!
Great Work so far but...
When I try to boot android it hangs at:
#mmc0: new MMC card at address 0001
#mmcblk0: mmc0:0001 000000 3932160KiB
#mmcblk0: p1
_
and this was it
any idea to bring it further?
P.S.: got a XDA Diamond from O2
Riel
12th January 2009, 11:30 PM
I just gathered all the files together and threw up a .zip file for those with the Touch Pro who just wants to give Android a go with the latest files available from jobo and all the others here.
Follow the guide and download here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=view.download&cid=4)
Enjoy!
How to boot it on Diam100?
Something not finding /mmc/ there, which I believe should've expected :)
dejant_9
12th January 2009, 11:36 PM
For all the people: android is not yet a usable OS.
"NOT YET WORKING"
So stop noobs questions, keep this tread clean and let the developpers working...
And in order to test android:
- 1 read the wikki
- 2 if you have a question: read the wikki
- 3 if android don't boot : read the wikki
- 4 ..read the wikki.
refl3x0r
12th January 2009, 11:39 PM
For all the people: android is not yet a usable OS.
"NOT YET WORKING"
So stop noobs questions, keep this tread clean and let the developpers working...
And in order to test android:
- 1 read the wikki
- 2 if you have a question: read the wikki
- 3 if android don't boot : read the wikki
- 4 ..read the wikki.
Got that point, following the wiki for weeks, but there's no answer for my problem!
oaa8
12th January 2009, 11:44 PM
Hey Guys!
Great Work so far but...
When I try to boot android it hangs at:
#mmc0: new MMC card at address 0001
#mmcblk0: mmc0:0001 000000 3932160KiB
#mmcblk0: p1
_
and this was it
any idea to bring it further?
P.S.: got a XDA Diamond from O2
I read this in the wiki and it seemed to fix that problem for me but I have a raphael
Q: When I try to boot Android 1.0 it says 'mmcblk0: unknown partition table' and then stops booting.
A: Try launching Haret with Activesync through USB connected, when you get past the place you got stuck before it's ok to remove the USB cable.
refl3x0r
12th January 2009, 11:46 PM
No, it isnt an unknown partition table
he finds partition p1, but it seems he can't access it!
But also tried with active sync activated and many different zImages and default.txt-changes
touch of jobo
12th January 2009, 11:55 PM
There is the terminal application in developers tools. With its help I see that my Internal storage is available in the /mmc. So, why not to mount the internal storage to /sdcard, not /mmc? Is it possible?You can do that by modifying /init in the root fs image. Alternatively, you can use a different partition as your media storage by changing /system/etc/mountd.conf (like when you run android off its own partition).
Simply mounting the filesystem under /sdcard in stead of /mmc has the effect that android can no longer mount anything that would wipe the fs from under it. (I tried it and I don't have anything in music or gallery.) Changing the sdcard device in /system/etc/mountd.conf is the only way (http://members.home.nl/j0b0/android-raph-diam-20090112-jobo.zip) I know of. I'm not sure it is a problem that the same fs is already mounted under /mmc. (Android sees stuff but it doesn't work quite as well as when I boot off /dev/mmcblk0p2 and mount /dev/mmcblk0p1 on /sdcard )
-Jobo
EDIT: @ refl3x0r: could it be so easy that you just need to type /init.android ?
refl3x0r
13th January 2009, 12:01 AM
@ jobo: there's no keyboard and any changes with msmvkeyb_toggle were followed by "mounting /dev/mmcblk0 at /mmc failed: invalid argument
Riel
13th January 2009, 12:06 AM
mmcblk0: unknown partition table yes.
Also with your variant, Jobo.
I do have keyboard when pushing blue square. In landscapemode.
oaa8
13th January 2009, 12:25 AM
No, it isnt an unknown partition table
he finds partition p1, but it seems he can't access it!
But also tried with active sync activated and many different zImages and default.txt-changes
That was exactly were it got stuck for me but the usb connection seemed to solve the problem for me sorry I was of no help
Untouchab1e
13th January 2009, 01:21 AM
Thanks to Jobo, Ive uploaded a new updated Android package for the Raphael. Ive created a download category here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=4) which will always host the full, newest build available. Feel free to give it a go!
EDIT: Whoever edits the wiki, feel free to add that link there so that people who just want to give the newest available build a spin to try to it out!
Great work everyone!
Untouchab1e
13th January 2009, 01:51 AM
Anyone else having problems with dragging down the notification "curtain"? It works fine when using the stylus, but I cant manage it with my finger. Might be the fact that I dont have long nails right now, but I can do it just fine on the G1. Dont know if its the visual keyboard, the resistive screen or something else thats in the way..
Untouchab1e
13th January 2009, 01:56 AM
How to boot it on Diam100?
Something not finding /mmc/ there, which I believe should've expected :)
To boot up on the Diam100 you need to replace the initrd.droid.cpio with the one designed for Diamond. I think you can use the one from this package (http://xda.willboost.com/diam-20081229.tar.gz) good luck
Vector-SS
13th January 2009, 04:20 AM
Anyone else having problems with dragging down the notification "curtain"? It works fine when using the stylus, but I cant manage it with my finger. Might be the fact that I dont have long nails right now, but I can do it just fine on the G1. Dont know if its the visual keyboard, the resistive screen or something else thats in the way..
While I have not tried the G1, trying to drag the curtain and icons is definitely not easy and more like the HTC Touch, not the Diamond.
A bit of nail makes it a lot easier.
oaa8
13th January 2009, 04:42 AM
While I have not tried the G1, trying to drag the curtain and icons is definitely not easy and more like the HTC Touch, not the Diamond.
A bit of nail makes it a lot easier.
I have not tried the G1 either but dragging works fine for me strangely enough. It could just be how one expects the response to be.
norkoastal
13th January 2009, 05:11 AM
Thanks to Jobo, Ive uploaded a new updated Android package for the Raphael. Ive created a download category here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=4) which will always host the full, newest build available. Feel free to give it a go!
EDIT: Whoever edits the wiki, feel free to add that link there so that people who just want to give the newest available build a spin to try to it out!
Great work everyone!
Boots up great. Thanks for making the sign on a breeze :D
lupine_85
13th January 2009, 05:39 AM
With some help from tmzt, I've managed to get X and Angstrom working properly on my device, a RAPH100.
Two main obstacles to getting something vaguely usable (still sans sound, hardware keyboard, and indeed, everything phone-like, but you know what I mean) - firstly, tslib was incompatible with the touchscreen driver, and secondly, the evil fb updating bug gets in the way.
The first issue is easy enough to solve - we just need to register pressure events with the input framework. http://rafb.net/p/3fHpBx69.html does that in a desultory, 4:30am-in-the-morning fashion. The second issue is slightly more intractable - j0b0's VDH is a workaround as long as the vkeyb is present (i.e., you don't pass msmvkeyb_toggle=off) to the kernel. A saner long-term solution should be sought, since I don't intend for that vkeyb to be around forever.... ;)
/Nick
Kives
13th January 2009, 06:44 AM
To boot up on the Diam100 you need to replace the initrd.droid.cpio with the one designed for Diamond. I think you can use the one from this package (http://xda.willboost.com/diam-20081229.tar.gz) good luck
Latest root.cpio.gz contains an init that mounts the sdcard.
"busybox mknod /dev/mmcblk0p1 b 179 1"
This seems to work with Touch Pro that has a card slot with a sdcard.
Diamond instead has this sdcard look a like "internal storage" and some how it isn't working the same way as a real sdcard.
Can you mount the Pro sdcard with out the partition pointer p1?
SummersPittman
13th January 2009, 07:52 AM
Hey guys,
I am a little new at this, but I think I have put together a build (http://www.sagaoftherealms.net/apache2-default/tmp.zip)with a newer kernel image. At least, it does the double buzz on boot that is in the latest commit log.
The rest of the package is the same as the ones posted on connect-utb today.
I can confirm that SMS does work, but sound does not so calls are still a bit off.
Android felt snappy and stable however.
I couldn't seem to browse the internet, but that could be anything right now.
It is 1:47 AM local time, I am going to hit the hay.
Here is a link, beware my hosting is comcastic.
Marcellus_pnz
13th January 2009, 09:16 AM
Well, I played a lot with mounting images and creating folders trying to browse my storage from android, but nothing helped. Once, when I created /sdcard manually and put some files in it, the gallery application seemed to scan all of the file system and I have seen my documents and photos, but then it crashed. I failed reproduce this situation.
I downloaded Jobo's last package, but it doesn't run on my diam100, i think it can't find needed images at /mmc/tmp. Then I tried the initrd from http://xda.willboost.com/diam-20081229.tar.gz, like Untoucheb1e advised, but it behave like before - Internal storage can't be used.
refl3x0r
13th January 2009, 10:13 AM
Thanks to Jobo, Ive uploaded a new updated Android package for the Raphael. Ive created a download category here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=4) which will always host the full, newest build available. Feel free to give it a go!
EDIT: Whoever edits the wiki, feel free to add that link there so that people who just want to give the newest available build a spin to try to it out!
Great work everyone!
This one worked for me out of box, thanks very much!!!
Kives
13th January 2009, 10:51 AM
this small bit of info might help us all to follow this thread.
Untouchab1e
13th January 2009, 11:15 AM
Hey guys,
I am a little new at this, but I think I have put together a build (http://www.sagaoftherealms.net/apache2-default/tmp.zip)with a newer kernel image. At least, it does the double buzz on boot that is in the latest commit log.
The rest of the package is the same as the ones posted on connect-utb today.
I can confirm that SMS does work, but sound does not so calls are still a bit off.
Android felt snappy and stable however.
I couldn't seem to browse the internet, but that could be anything right now.
It is 1:47 AM local time, I am going to hit the hay.
Here is a link, beware my hosting is comcastic.
Nice work. If you make any other builds, you could send them to me and I could host them so that we have everything in one place. Keep up the good work
touch of jobo
13th January 2009, 11:42 AM
[...] The first issue is easy enough to solve - we just need to register pressure events with the input framework. http://rafb.net/p/3fHpBx69.html does that in a desultory, 4:30am-in-the-morning fashion. The second issue is slightly more intractable - j0b0's VDH is a workaround as long as the vkeyb is present (i.e., you don't pass msmvkeyb_toggle=off) to the kernel. A saner long-term solution should be sought, since I don't intend for that vkeyb to be around forever.... ;)
/Nick
This is a bit of a chain reaction of hacks.. ..to the extent where one fix can break another work around.
Right now, the touchscreen driver uses polling rather than interrupts (irq won't fire, or wont fire reliably / consistently). Because of that, we go through the touchscreen handler 20x/sec whether or not there is activity.
The touchscreen handler also drives the virtual keyboard, and periodically redraws it, even if there is no activity. The virtual keyboard, after drawing itself, marks the area where the keyboard is drawn as dirty, so that it gets redrawn on the next update. But..
..the infamous VDH forces update of the entire buffer, not just the dirty area. This is why enabling the vkeyb has the same effect as dcordes update thread. (..and both of them are ugly.)
A 'saner solution' would have the drawing functions that X uses not merely poke in the frame buffer, but also somehow signal the msm_fb driver to set the msmfb_info->update_info->left,top,eright,ebottom. (Yes .. 'somehow' means 'I dont know' .. through an ioctl, or by using functions internal to msm_fb, ..)
-Jobo
By the way: The VDH is not mine. I believe it is druidu's. Only the interaction between msmfb_pan_update() and msmvkeyb_ts_handler(), msmvkeyb_draw() is.
Untouchab1e
13th January 2009, 11:56 AM
Dont know to what extent, but will a polling solution on the touch screen drain the battery and/or performance more than an interrupt-driven one? (Not that this is important at this stage anyways). Recently worked with a microprocessor where we compared various polling solutions to the equivalent IRQ solutions, and no suprises there
NetRipper
13th January 2009, 12:04 PM
Dont know to what extent, but will a polling solution on the touch screen drain the battery and/or performance more than an interrupt-driven one? (Not that this is important at this stage anyways). Recently worked with a microprocessor where we compared various polling solutions to the equivalent IRQ solutions, and no suprises there
Yes it is more draining. The screen gets needlessly updated as well. With that regard, none of the power management functions are implemented, so running Linux as it is, will drain the phone pretty fast.
Regarding the "Very Dirty Hack". A bit technical... The proper way is to get the touchscreen interrupt to fire (haven't had any luck on that yet though) at which point the 20 times a second thread will be removed. However, this will cause the vkeyb not to update anymore. The vkeyb will then get a thread of its own to update itself every x ms (being the whole vkeyb is a hack of itself, it doesn't matter that it also has a thread running). The last issue is that X (using the "fbdev" driver) simply updates the framebuffer. However the msm_fb driver should be signalled to do a proper update, which Android does. The correct way to solve this issue (IMHO) is to write a driver for X, much like "fbdev" but then something like msmfbdev. This way it is solved in user-space instead of kernel-space, and no weird threads need to be running in the kernel.
touch of jobo
13th January 2009, 01:55 PM
[...] at which point the 20 times a second thread will be removed. However, this will cause the vkeyb not to update anymore. The vkeyb will then get a thread of its own to update itself every x ms (being the whole vkeyb is a hack of itself, it doesn't matter that it also has a thread running). [...]
The hack in msm_fb.c that calls msm_ts_handler(0,0,-2) will draw the vkeyb to the frame buffer just before the frame buffer gets dma'd to mddi (in case the vkeyb got overdrawn). The periodic redrawing of the vkeyb is not necessary (in android, as it properly marks the fb dirty), with or without the ts irq firing. (msm_ts does not need to call msm_ts_handler(0,0,-1) at all.)
This draws the vkeyb only when there is touchscreen activity or when the fb gets updated. It would be nice to test at that point whether the dirty region intersects with the vkeyb rect, and not redraw the vkeyb if it doesn't.
That way we always draw when necessary and only when necessary. (To jobtimize even further, we could invalidate the rect for individual keys as they get pressed / released.)
-Jobo
EDIT: Oh, and by the way: Having the touchscreen driver supply ABS_PRESSURE (http://tibook.jb.b4m.com/j0b0/zImage-press-jobo) makes the pointer location app in androids dev tools display this value at the top of the screen. :) (It also has a field for 'size'...?)
Bad HAL 9000
13th January 2009, 02:40 PM
Has anyone been working on the color issues on the RAPH800?
I noticed with the latest(?) build my screen has been acting strange, besides the colors obviously. Sometimes it scrambles, and after a bit it goes back to normal. But if I am in andoid for more then 20-30 seconds it scrambles too badly and I can no longer see what is going on, the VDH is stuck all over the screen and I that is mostly what I end up being able to see.
Kevbodian
13th January 2009, 02:47 PM
Has anyone been working on the color issues on the RAPH800?
I noticed with the latest(?) build my screen has been acting strange, besides the colors obviously. Sometimes it scrambles, and after a bit it goes back to normal. But if I am in andoid for more then 20-30 seconds it scrambles too badly and I can no longer see what is going on, the VDH is stuck all over the screen and I that is mostly what I end up being able to see.
I am pretty sure it has been narrowed to the fact that there is a different chip on the RAPH800. This may be why it is having this adverse effects. Something like MSM7501A instead of MSM7201 as with all the others.
Kevbodian
13th January 2009, 02:52 PM
The hack in msm_fb.c that calls msm_ts_handler(0,0,-2) will draw the vkeyb to the frame buffer just before the frame buffer gets dma'd to mddi (in case the vkeyb got overdrawn). The periodic redrawing of the vkeyb is not necessary (in android, as it properly marks the fb dirty), with or without the ts irq firing. (msm_ts does not need to call msm_ts_handler(0,0,-1) at all.)
This draws the vkeyb only when there is touchscreen activity or when the fb gets updated. It would be nice to test at that point whether the dirty region intersects with the vkeyb rect, and not redraw the vkeyb if it doesn't.
That way we always draw when necessary and only when necessary. (To jobtimize even further, we could invalidate the rect for individual keys as they get pressed / released.)
-Jobo
Does this site help your cause?
http://it029000.massey.ac.nz/vogue/
Android on the vogue; even the camera works.
Cheers,
Untouchab1e
13th January 2009, 03:01 PM
speaking of keyboard, dont know if this has been discussed, but cant we use the cupcake on-screen keyboard instead of the one we are currently using?
sibbor
13th January 2009, 04:39 PM
speaking of keyboard, dont know if this has been discussed, but cant we use the cupcake on-screen keyboard instead of the one we are currently using?Well... In one of jobo's older images I was able to use the onscreen keyboard for my DIAM, but jobo is using a RAPH for development and tried out different approaches for hardware button mapping and the hardware keyboard... he got Android to switch between portrait and landscape mode when changing state of the keyboard slider; I was told the GPIO reports 1/0 depending on state and for DIAM this state was always "out"... so I guess that's why I haven't been able to get the onscreen keyboard in Android working in jobo's latest images.
Although I haven't used jobo's latest image on my DIAM yet, so I don't know if I'm able to use the onscreen keyboard in portrait or landscape mode at the moment. I don't even know if Android supports onscreen keyboard in landscape mode, but hopefully!
EDIT: From the link (http://it029000.massey.ac.nz/vogue/) Kevbodian linked to you can read this: "Update(01/12/08): Switched to cramfs for the system image, just put system.img on the card. Double clicking the cam button now switches from portrait to landscape mode. Camera works better."... so it seems Android is able to switch between portait and landscape mode by code. Perhaps we could investigate if they have onscreen keyboard working in both modes?
jornvandereng
13th January 2009, 04:55 PM
For some kinda reason, whenever I start haret.exe my diamond say's i don't have the right certificates...
I used this link to download my software:
http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux#Currentx20.statex2 0.-x20.Androidx20.1x2e.0
Does anyone has solution for this problem?
Thanks! :)
dejant_9
13th January 2009, 05:01 PM
I've a diam 100 and all jobo's zimage work for me (keyboard and all other functions) and i've noticed that power button can switch sreen to landcape or portrait.
touch of jobo
13th January 2009, 05:51 PM
For some kinda reason, whenever I start haret.exe my diamond say's i don't have the right certificates...
I used this link to download my software:
http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux#Currentx20.statex2 0.-x20.Androidx20.1x2e.0
Does anyone has solution for this problem? Thanks! :)
It has happened before. As far as I know you have to hard reset. (And you probably can not run a bunch of other programs as well..)
Typing the term 'signed' in the thread search box turned up these:
[...] Since then, I cannot execute any non signed program (putty, total commander, ...) : when I try to launch one, I got a complain about non signed file or missing component.
To find a solution, I googled a little, and posted here too :
http://forum.xda-developers.com/showthread.php?p=2844228#post2844228
But I didn't find a solution. Someone has an idea ?
I have compiled the 1.0 kernel, used intrd from http://www.stdev.org/2008/11/01/GettingStartedWithAndroidOnTheHTCDiamond.aspx
and got into the "not signed" trouble: http://forum.xda-developers.com/showthread.php?p=2880353#post2880353 :( I do not want to hard reset! Is there another option?
You could browse around those posts for something interesting, but I can't remember any other cure than hard reset. If you do find one, add it to the wiki please.
I think that NetRipper has suspicions or even proof that it is related to which ram address and size you use.. ?
-Jobo
sascha.egerer
13th January 2009, 06:49 PM
yes! hard reset is the only solution....
NetRipper
13th January 2009, 07:56 PM
For some kinda reason, whenever I start haret.exe my diamond say's i don't have the right certificates...
I used this link to download my software:
http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux#Currentx20.statex2 0.-x20.Androidx20.1x2e.0
Does anyone has solution for this problem?
Thanks! :)
Can you let me know which package you downloaded exactly? Haven't seen this problem for quite a while. You're the first one to report this again.
I think that NetRipper has suspicions or even proof that it is related to which ram address and size you use.. ?
I thought it was related to the MSM NAND drivers (not movinand) we had in some earlier kernels. The new kernels all have the NAND drivers disabled, as far as I know.
Another thing I noticed was that I was getting more stable results when using the 0x2* memory address range, but lately it seems it doesn't make a difference anymore.
sandman_06
13th January 2009, 08:51 PM
hi i would like to know. will these devices ever be able to directly boot into android, without having to use haret. ?
frysee
13th January 2009, 08:59 PM
I've updated Wuala with SummersPittman's build. ;)
greetz
edit: added jobos kernel, too :D
Untouchab1e
13th January 2009, 09:21 PM
Yeah, but there is no point in building an Android ROM before everything is working, so we are booting it from Haret for now ^^
Marcellus_pnz
13th January 2009, 10:04 PM
Hey guys,
I am a little new at this, but I think I have put together a build (http://www.sagaoftherealms.net/apache2-default/tmp.zip)with a newer kernel image. At least, it does the double buzz on boot that is in the latest commit log.
The rest of the package is the same as the ones posted on connect-utb today.
I can confirm that SMS does work, but sound does not so calls are still a bit off.
Android felt snappy and stable however.
I couldn't seem to browse the internet, but that could be anything right now.
It is 1:47 AM local time, I am going to hit the hay.
Here is a link, beware my hosting is comcastic.
It's doesn't boot for me. Reason is the same - it doesn't mount the images. (line 4 mkdir not found, line 5 mount not found)/ Tried different sdmmc_id's, no help.
Untouchab1e
13th January 2009, 10:06 PM
Its out on Connect-utb as well ;)
Btw, didnt notice it before, but the cupcake on-screen keyboard is present there :)
SummersPittman, I did suddenly get a calendar notification that was mean for you ^^ Hehe!
Something still needs to be done with the notification curtain though. Its impossible for me to drag it down without a stylus. Maybe its just me, but as I said, it works perfectly fine on the G1
Marcellus_pnz
13th January 2009, 10:12 PM
Its out on Connect-utb as well ;)
what?)) is it for me?)
zycho
13th January 2009, 10:19 PM
It's doesn't boot for me. Reason is the same - it doesn't mount the images. (line 4 mkdir not found, line 5 mount not found)/ Tried different sdmmc_id's, no help.
same here on diam300
maybe is is only for raph (it doesnt mount internal storage i think)
DfenZ
13th January 2009, 10:21 PM
Can someone post a howto in the thread or on the wiki?
Untouchab1e
13th January 2009, 11:32 PM
howto on what?
BGH80
14th January 2009, 01:13 AM
I'm using a DIAM100 on three in Australia. Android can't find my network and just says "no service". If I go to call settings in the settings section it just sits there searching indefinitely and I need to reset. I was under the impression service was working and SMSs could be sent.
SummersPittman
14th January 2009, 01:34 AM
SummersPittman, I did suddenly get a calendar notification that was mean for you ^^ Hehe!
Well that is creepy ;).
Meanwhile it looks like cupcake has been merged with the Android master branch.
SummersPittman
14th January 2009, 01:50 AM
I can only get Android to boot if the Raphael is plugged in to my windows computer AND setup to sync the device. Android will not load if the device is configured to act as a storage device.
I have seen posts on the forum indicating this is the case so I am not suprised that is the behavior, but I am wondering why it works that way.
Untouchab1e
14th January 2009, 02:45 AM
Personally, in my experience, I plug the Raph in as a storage device, copy over the tmp folder, soft reset the device, than boot up through haret without being connected to the computer at all
Charevian
14th January 2009, 02:47 AM
Probably you can get the G1 rom running on the Diamond... they both have the same processor chip?
HTC T-Mobile G1:
Processor Qualcomm® MSM7201A™, 528 MHz
Operating System Android™
HTC Touch Diamond:
Processor Qualcomm® MSM7201A™ 528 MHz
Operating System Windows Mobile® 6.1 Professional
...
i hope it will work ;)
DeadDaemon
14th January 2009, 03:05 AM
Hello! Can someone tell why system freeze after this last line?
console handover: boot[htc_fb0] -> real [tty0]
Can somebody help?
P.S. i know what this problem in cdma devices, but i need know _why_ kernel freeze
jdegroot
14th January 2009, 05:58 AM
some one at ppc told me this and it worked:
I finally got this working on my TP.
For sprint HTC Touch pro, this should be your default.txt
set mtype 1910
set kernel zImage
set initrd initrd.droid.cpio.gz
set ramsize 0x6000000
set ramaddr 0x10000000
set cmdline "mem=64M msmsdcc_id=3"
boot
Take note of the "msmsdcc_id=3"
This was causing my TP to not mount the memory card, and thus not find the disk images so it could not boot.
This worked great for my Sprint Touch Pro. Running 1.0 (with color issues) as we speak. Thanks!
BGH80
14th January 2009, 07:10 AM
I'm using a DIAM100 on three in Australia. Android can't find my network and just says "no service". If I go to call settings in the settings section it just sits there searching indefinitely and I need to reset. I was under the impression service was working and SMSs could be sent.
Never mind, I tried a later build and it all works and I can send SMSs etc.
New question though. I thought the newer builds included the cupcake update. How do I display the built in keyboard?
Untouchab1e
14th January 2009, 07:45 AM
try writing a new text message, thats when I got the keyboard up (using the latest build from connect-utb)
balsat
14th January 2009, 08:07 AM
try writing a new text message, thats when I got the keyboard up (using the latest build from connect-utb)
Jobo's build also have a cup of cake! ;>)
Untouchab1e
14th January 2009, 08:47 AM
yeah, I found out ^^
Overall though, I am slightly sceptical to the combination of Android, VGA resolution and the resistive touchscreen. :( I cant pull down the notification curtain, and the on-screen keyboard isnt very good to type on compared to the G1 :)
Will be interessting to see how it finally turns out!
sibbor
14th January 2009, 09:04 AM
I think that NetRipper has suspicions or even proof that it is related to which ram address and size you use.. ?
-JoboThat might just be the case. Yesterday night I tried both your new zImage-press-jobo out and "Pittmans", which nicely fucked up my device. Had a look in the default.txt before I started HaRET and found out that he uses 76MB instead of 64MB.. also some other diffs to yours.
Damn, now I'm sad - can't backup my SMS:es and have to hard-reset.
Well, that's what you get when you're eagerly testing Android out... fooled around with it quiete much now, and really looking forward to it.
-sibbor
touch of jobo
14th January 2009, 11:08 AM
set mtype 1910
set kernel zImage
set initrd initrd.droid.cpio.gz
set ramsize 0x6000000
set ramaddr 0x10000000
set cmdline "mem=64M msmsdcc_id=3"
boot
[...]This worked great for my Sprint Touch Pro. Running 1.0 (with color issues) as we speak. Thanks!
Ok, so it's sdcc ID 3 for Sprint Touch Pro. (Raph800?) For my Raph100 it is 2. Also, I believe (correct me if I'm wrong) that Raphaels have their internal storage on /dev/mmcblk0p1 and Diamonds on /dev/mmcblk0 (no p1).
(If we were to gather this information on the wiki, should it be on the Raphael Linux (http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux) page or somewhere under Research (http://wiki.xda-developers.com/index.php?pagename=RaphaelResearch)?)
I think you can get rid of the ramsize line and only have the mem= option in the cmdline. (0x60000000 = 96M anyway..)
[...] Had a look in the default.txt before I started HaRET and found out that he uses 76MB instead of 64MB.. also some other diffs to yours.
76M is the number that would consistently work (for me). I was ramping up the mem and over 80 it would sometimes not bring up the android boot screen (with the glowing robot). Other images, like angstrom X11, will happily run with mem= up to 96M.
[...] he got Android to switch between portrait and landscape mode when changing state of the keyboard slider; I was told the GPIO reports 1/0 depending on state and for DIAM this state was always "out"... so I guess that's why I haven't been able to get the onscreen keyboard in Android working in jobo's latest images.
[...] so it seems Android is able to switch between portait and landscape mode by code. Perhaps we could investigate if they have onscreen keyboard working in both modes?[...] I thought the newer builds included the cupcake update. How do I display the built in keyboard?Switching to landscape mode and having a soft keyboard are separate things.
Android will bring up the virtual keyboard when you have to input text but there is no hardware keyboard. So if you switch to landscape mode by sliding out the hard keyboard (or by spoofing that) you don't get a soft keyboard. (Not even the dialer has soft keys when the hard keyboard is out.) If android switches to landscape mode for other reasons than the hard keyboard being out (like when an app requests it 'by code', or maybe by g-sensor), then it would still show the soft keyboard for text input. The only apps I know of that switch to landscape are camera and camera preview. These don't expect text input, so no soft keyboard. Overall though, I am slightly sceptical to the combination of Android, VGA resolution and the resistive touchscreen. :( I cant pull down the notification curtain, and the on-screen keyboard isnt very good to type on compared to the G1 :)This could be down to your touchscreen calibration being too tight. Try doing the calibration again, or alternatively try increasing the ymin (2nd number in the boot option) of you calibration.
-Jobo
DfenZ
14th January 2009, 12:10 PM
howto on what?
how to get android running :)
TheLord-Akira
14th January 2009, 12:17 PM
how to get android running :)
read the wiki !!!!!!!!!!!!!!!!!!!
WIKI !!!! (http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux)
mugglesquop
14th January 2009, 12:19 PM
how to get android running :)
read the Wiki.
edit - too late lol
Untouchab1e
14th January 2009, 12:27 PM
how to get android running :)
If you even bothered to read the first page of this thread you would find a link to the Wiki with details on both progress and detailed guide on getting Android running. Connect-utb.com hosts the latest prebuilt packages of Andriod for the Raphael, and lots of other useful links are found on the Wiki!
sibbor
14th January 2009, 01:21 PM
76M is the number that would consistently work (for me). I was ramping up the mem and over 80 it would sometimes not bring up the android boot screen (with the glowing robot). Other images, like angstrom X11, will happily run with mem= up to 96M.Something wierd happend with that other guys image either way - so like I told you - I've got that "not signed" errors now... From now on I only trust dcordes, NetRipper, you - jobo - and lavender.t ;)!
Switching to landscape mode and having a soft keyboard are separate things.
Android will bring up the virtual keyboard when you have to input text but there is no hardware keyboard. So if you switch to landscape mode by sliding out the hard keyboard (or by spoofing that) you don't get a soft keyboard. (Not even the dialer has soft keys when the hard keyboard is out.) If android switches to landscape mode for other reasons than the hard keyboard being out (like when an app requests it 'by code', or maybe by g-sensor), then it would still show the soft keyboard for text input. The only apps I know of that switch to landscape are camera and camera preview. These don't expect text input, so no soft keyboard.Thanks for the explanation and the attached image showing onscreen keyboard in landscape mode.
So I should be able to use the onscreen keyboard in both portrait and landscape mode using your images with my DIAM100? Atleast I see the keys in the dialer... now onto the "Google search box" :)
NoBody20013
14th January 2009, 01:30 PM
is anybody working on the sound problem? sorry but it seems to me that everybody is trying to get the onscreen keyboard working for days now....
or is it so dificult? is there anybody who can get the sound to work? i don´t know your skills ;)
-this is only a question - no criticism!!!
Bad HAL 9000
14th January 2009, 01:46 PM
Ok, so it's sdcc ID 3 for Sprint Touch Pro. (Raph800?) For my Raph100 it is 2. Also, I believe (correct me if I'm wrong) that Raphaels have their internal storage on /dev/mmcblk0p1 and Diamonds on /dev/mmcblk0 (no p1).
(If we were to gather this information on the wiki, should it be on the Raphael Linux (http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux) page or somewhere under Research (http://wiki.xda-developers.com/index.php?pagename=RaphaelResearch)?)
Yea, I was the original poster of that information at PPCGeeks, it is indeed sdccid 3. And yes, Raph800 has it's internal storage on /dev/mmcblk0p1, not p0
jamesd256
14th January 2009, 02:12 PM
is anybody working on the sound problem? sorry but it seems to me that everybody is trying to get the onscreen keyboard working for days now....
or is it so dificult? is there anybody who can get the sound to work? i don´t know your skills ;)
-this is only a question - no criticism!!!
Low hanging fruit is always more tempting. Both are needed, so it doesn't matter what order.
No offence, but have trust in the people working on it and be patient. We are lucky enough to have a group of experienced linux hackers actively engaged.
Kevbodian
14th January 2009, 02:31 PM
Probably you can get the G1 rom running on the Diamond... they both have the same processor chip?
HTC T-Mobile G1:
Processor Qualcomm® MSM7201A™, 528 MHz
Operating System Android™
HTC Touch Diamond:
Processor Qualcomm® MSM7201A™ 528 MHz
Operating System Windows Mobile® 6.1 Professional
...
i hope it will work ;)
There's much more to these devices than just that one chip. There are different devices on board that do the same things. Drivers have to be coded and tested and coded and tested again. These people are working hard at it despite most likely having day jobs aside from this.
Kevbodian
14th January 2009, 02:33 PM
Well... In one of jobo's older images I was able to use the onscreen keyboard for my DIAM, but jobo is using a RAPH for development and tried out different approaches for hardware button mapping and the hardware keyboard... he got Android to switch between portrait and landscape mode when changing state of the keyboard slider; I was told the GPIO reports 1/0 depending on state and for DIAM this state was always "out"... so I guess that's why I haven't been able to get the onscreen keyboard in Android working in jobo's latest images.
Although I haven't used jobo's latest image on my DIAM yet, so I don't know if I'm able to use the onscreen keyboard in portrait or landscape mode at the moment. I don't even know if Android supports onscreen keyboard in landscape mode, but hopefully!
EDIT: From the link (http://it029000.massey.ac.nz/vogue/) Kevbodian linked to you can read this: "Update(01/12/08): Switched to cramfs for the system image, just put system.img on the card. Double clicking the cam button now switches from portrait to landscape mode. Camera works better."... so it seems Android is able to switch between portait and landscape mode by code. Perhaps we could investigate if they have onscreen keyboard working in both modes?
The vogue is of course on different hardware than the diamond, so that link may be full of what's already known. I just figured since the author of that page has his code open there we may be able to analyze the code and see how he dealt with the touchscreen polling issue, soft keyb etc.
SummersPittman
14th January 2009, 02:50 PM
That might just be the case. Yesterday night I tried both your new zImage-press-jobo out and "Pittmans", which nicely fucked up my device. Had a look in the default.txt before I started HaRET and found out that he uses 76MB instead of 64MB.. also some other diffs to yours.
Damn, now I'm sad - can't backup my SMS:es and have to hard-reset.
Well, that's what you get when you're eagerly testing Android out... fooled around with it quiete much now, and really looking forward to it.
-sibbor
Ouch, sorry dude.
The only difference from the previous build which was posted on utb is the zImage file. Everything else is exactly the same. The zImage file was built using the instructions on the wiki. I swear there is nothing malicious.
Meanwhile, could you not put my name in quotes? It isn't a handle, it is my actual name.
Double meanwhile, I have been trying to get the yaffs images that the Android build process produces to run on my device without much luck. I tried adding yaffs to the kernel (different build from what I posted), but that didn't work either. Can someone point me in the right direction?
Thanks
Summers
balsat
14th January 2009, 03:03 PM
I have been trying to get the yaffs images that the Android build process produces to run on my device without much luck. I tried adding yaffs to the kernel (different build from what I posted), but that didn't work either. Can someone point me in the right direction?
Thanks
Summers
Have you tried to put YAFFS2_FS=y to yout .config file?
Alpha Supreme
14th January 2009, 04:25 PM
When I boot android, I got the problem that it asks for a PIN. I can't get past it.
Anyone any ideas?
dejant_9
14th January 2009, 04:27 PM
is there any bot who can say "read the wikki"? :p
Alpha Supreme
14th January 2009, 04:32 PM
is there any bot who can say "read the wikki"? :p
You mean this one:
http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux
Yes, I read it. What did I mis?
dejant_9
14th January 2009, 04:35 PM
The FAQ :
* When I boot android 1.0 it prompts me for a PIN, when I enter my SIM PIN it says its not correct (but I'm sure it is).
The only currently known way around this is to disable 'PIN required to use phone' in windows. (By the way: this means your radio works. Congratulations.)
I really don't understand that. I'm French, my English is very bad, I've to translate in my head every word of this topic, with the possibility to forget one or misunderstand one sentence..And I don't have any problem..You speak English and you can't read a simple explanation in your own language...
Alpha Supreme
14th January 2009, 04:41 PM
The FAQ :
* When I boot android 1.0 it prompts me for a PIN, when I enter my SIM PIN it says its not correct (but I'm sure it is).
The only currently known way around this is to disable 'PIN required to use phone' in windows. (By the way: this means your radio works. Congratulations.)
I really don't understand that. I'm Erench, my English is very bad, I've to translate in my head every word of this topic, with the possibility to forget one or misunderstand one sentence..And I don't have any problem..You speak English and you can't read a simple explanation in your own language...
Sorry and thanks
Wonko69
14th January 2009, 04:50 PM
I just have one quick question that I havent been able to google my way to.
Is running haret.exe a permanent flash of the device or will soft booting get me back to WM6?
Cheers
dejant_9
14th January 2009, 04:57 PM
I just have one quick question that I havent been able to google my way to.
Is running haret.exe a permanent flash of the device or will soft booting get me back to WM6?
Cheers
Same here..some info in the wikki, but ok, not in black on withe. soft booting will get you back to WM6. haret just kill WM and launch android.
Wonko69
14th January 2009, 05:04 PM
Same here..some info in the wikki, but ok, not in black on withe. soft booting will get you back to WM6. haret just kill WM and launch android.
Thanks for the quick reply dejant :D
Cant wait to try booting android later :D
SummersPittman
14th January 2009, 06:35 PM
Have you tried to put YAFFS2_FS=y to yout .config file?
Not that one, I tried CONFIG_YAFF_MTD=y and CONFIG_YAFF2_MTD=y. Well I tried something similar, I am trying to recall this from memory.
Untouchab1e
14th January 2009, 06:45 PM
Same here..some info in the wikki, but ok, not in black on withe. soft booting will get you back to WM6. haret just kill WM and launch android.
No pun intended, but Just wanted to point out that its spelled Wiki, not wikki :)
We wont create an Android ROM until the port is fully working as it would be pointless! :)
SummersPittman
14th January 2009, 06:55 PM
No pun intended, but Just wanted to point out that its spelled Wiki, not wikki :)
We wont create an Android ROM until the port is fully working as it would be pointless! :)
Hey it works great if all you do is send text messages, look at a pretty UI, and reboot into wince. ;)
It can also make and receive phone calls, but just not use the mic or speaker.
And sometimes it crashes when receive a call...
Otherwise it is almost there!
SummersPittman
14th January 2009, 07:38 PM
Quick question.
What is the difference between the kernel source hosted on git.linuxtogo.org and the kernel source which comes with the android build?
Primarily I am wondering if one is better to target time to than the other.
Arktronic
14th January 2009, 08:16 PM
We wont create an Android ROM until the port is fully working as it would be pointless! :)
Quite true. But even after Android is fully working through HaRET, it would still be a challenge to create an Android ROM because (1) we have to figure out how the bootloader interacts with the OS ROM, and (2) WinMo does a ton of hardware initialization that will have to be done in Linux since WinMo won't be there anymore.
So people really shouldn't get their hopes up on an Android-only ROM happening any time soon. One step at a time, the devs are working hard to get the kernel to talk to the hardware.
stadicon
15th January 2009, 04:30 AM
First of all, congratulations for the great work. I really enjoyed android on my HTC Diamond even with this limited functionality...
I'd like to ask a simple question: it seems that the 29/12/2008 build (the first of androind 1.0) works great for me, but when i try to start a newer build found on the external links of wiki (here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=4)) i get some errors on boot loader like "/mmc/tmp/data.ext2.img: no such file or directory". Is this because it's a raphael build or i do something wrong?
Sorry if this is a stupid question. I know pretty much about linux but this android field is a bit new for me :)
Untouchab1e
15th January 2009, 07:25 AM
Yeah, the ones on connect-utb are for the Raphael only. I will host the Diamod builds as well, I just need to gather them :)
whylessfone
15th January 2009, 08:42 AM
So how to reset the phone to get back to Windows Mobile 6. Do I need to backup any files.
Does anyone know how soon will the android finally work for Raphael.
Untouchab1e
15th January 2009, 08:45 AM
So how to reset the phone to get back to Windows Mobile 6. Do I need to backup any files.
Does anyone know how soon will the android finally work for Raphael.
You just take out the battery and boot up your device again.
Android will work fully when we have worked everything out! There is no ETA on these kind of things. In case you havent noticed yet though, Android boots fine on the Raphael! Check connect-utb.com.... (and read the wiki)
EDIT: I put together a package for the DIAM100 using Jobo's zImage from 09.01.2009. Its available here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5). I dont have a Diamond on me, but Il test it later tonight on one I have lying around! If anyone else tests it in the meanwhile, let me know!
TheLord-Akira
15th January 2009, 01:14 PM
You just take out the battery and boot up your device again.
Android will work fully when we have worked everything out! There is no ETA on these kind of things. In case you havent noticed yet though, Android boots fine on the Raphael! Check connect-utb.com.... (and read the wiki)
EDIT: I put together a package for the DIAM100 using Jobo's zImage from 09.01.2009. Its available here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5). I dont have a Diamond on me, but Il test it later tonight on one I have lying around! If anyone else tests it in the meanwhile, let me know!
DIAM100
don´t work
error: can´t access tty; job control turned off:(
Untouchab1e
15th January 2009, 01:17 PM
When you reach that, you need to type /init.android at the prompt using the visual keybard ;)
TheLord-Akira
15th January 2009, 01:17 PM
When you reach that, you need to type /init.android at the prompt using the visual keybard ;)
vkeyb is turned off. mom testing again
edit: tested with and without active sync.
-> no vkeyb
Untouchab1e
15th January 2009, 01:19 PM
Also remember to soft-reset your phone after transfering the files before running haret. If you dont, the visual keyboard wont show up, and you will get stuck at the loading
TheLord-Akira
15th January 2009, 01:22 PM
Also remember to soft-reset your phone after transfering the files before running haret. If you dont, the visual keyboard wont show up, and you will get stuck at the loading
i know ^^
but......no vkey.
msm_vkeyb.init: virtual keyboard is disabled by cmdline, not loading
i think ive got the problem. default.txt
->"mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=on" (it was off)
Untouchab1e
15th January 2009, 01:28 PM
Aah, il edit the default.txt and upload a new copy! Thanks for the heads up
EDIT: Should be working now
duuri
15th January 2009, 01:43 PM
i tried this copy
http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=view.download&cid=7
copied it to storage card\tmp but it hangs by mmcblk0: p1
edit:
after softreset works:)
is it normal tat i can't receive calls? only make
Untouchab1e
15th January 2009, 01:47 PM
Did you remember to soft-reset your device before running Haret? I got that error once because I didnt! (Also make sure that you remove the USB cable)
balsat
15th January 2009, 02:32 PM
Did you remember to soft-reset your device before running Haret? I got that error once because I didnt! (Also make sure that you remove the USB cable)
You don't have do soft reset your device to run haret, just remember to put it in activesync before runnig.
This zImage work on the Diamond if you set mtype=1805
stadicon
15th January 2009, 02:43 PM
Thanks for the really quick response, Untouchab1e... :)
A quick question: is the "unsigned certificate" error still possible to appear, or it was possible only for android 0.8?
mattdh
15th January 2009, 02:49 PM
I will try this out on my DIAM500 later today to see if it works. Does the DIAM500 still have the messed up color problem on the screen?
NetRipper
15th January 2009, 04:01 PM
Thanks for the really quick response, Untouchab1e... :)
A quick question: is the "unsigned certificate" error still possible to appear, or it was possible only for android 0.8?
It's still possible. Someone posted about it 1-2 pages back.
lionizer
15th January 2009, 05:46 PM
this is weird, it worked last week, now i get stuck after giving the command /init.android
i get a lot of "cannot find /system/bin/servicemanager" disabeling mount
Does this mean my sd card is not found?
I have the diamond 100, (MDA IV version) and connected with usb / active sync.
touch of jobo
15th January 2009, 05:49 PM
maybe a bit off topic, but..
I tried to have android see the internet over usb net. The IP part works, that was just a matter of configuring NAT from usb1 to eth0 on the host the usb cable is connected to, but I can't get it to do DNS. It will resolve hosts I add to /system/etc/hosts but no others. I tried creating an /etc/resolv.conf with my dns init, but that didn't work. I tried adding a setprop on net.usb0.dns1 in init.rc (inspired by goldfish.rc) and that didn't work either.
Did anyone get this working, or have any ideas on where I should look, or is it supposed to 'just' work?
Thanks,
-Jobo
Update: Got it working :) Nice to have the internet, albeit through usb, not exactly mobile.. Now I have to go back and figure out what exactly made it work.
Bad HAL 9000
15th January 2009, 06:00 PM
maybe a bit off topic, but..
I tried to have android see the internet over usb net. The IP part works, that was just a matter of configuring NAT from usb1 to eth0 on the host the usb cable is connected to, but I can't get it to do DNS. It will resolve hosts I add to /system/etc/hosts but no others. I tried creating an /etc/resolv.conf with my dns init, but that didn't work. I tried adding a setprop on net.usb0.dns1 in init.rc (inspired by goldfish.rc) and that didn't work either.
Did anyone get this working, or have any ideas on where I should look, or is it supposed to 'just' work?
Thanks,
-Jobo
Looks great, always makes me jealous to see color working fine for everyone :(
robi_90
15th January 2009, 06:19 PM
hy guys I tried androind 1.0 with the guide on the wiki page but it don't works very well...What can I do to have a good stability?sorry for my stupid questions and my bad english...
gebruikershaes
15th January 2009, 08:26 PM
hy guys I tried androind 1.0 with the guide on the wiki page but it don't works very well...What can I do to have a good stability?sorry for my stupid questions and my bad english...
w8 for the final release...
robi_90
15th January 2009, 08:30 PM
w8 for the final release...
thank's...is there a date for the release?
Marcellus_pnz
15th January 2009, 08:35 PM
thank's...is there a date for the release?
omg... I can't believe you are asking...
xxxxchrisxxxx
15th January 2009, 08:39 PM
thank's...is there a date for the release?
Huh, everyone knows this is being released in the next couple of days.
mtlcafan79
15th January 2009, 08:55 PM
Aah, il edit the default.txt and upload a new copy! Thanks for the heads up
EDIT: Should be working now
Did you do something to the 20090113 zip? It's a corrupted zip file every time I dl it.
SummersPittman
15th January 2009, 09:18 PM
thank's...is there a date for the release?
No there isn't a date for the release.
As far as stability goes, we don't really have enough data to help you on your problem. Could you describe it for us?
Untouchab1e
15th January 2009, 09:24 PM
Did you do something to the 20090113 zip? It's a corrupted zip file every time I dl it.
Yeah, I fixed it straight away! Works fine here :) Just tried to download it again, and it worked fine.. http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=view.download&cid=8
mattdh
15th January 2009, 09:51 PM
Untouchable: I tried the latest diamond package that you have on your website and I can't seem to get the vkeyboard working. The kernel boots up fine but when it gets to the prompt where I type in ./init.diamond I can't because the vkb is vertically on the right hand side of the screen. When I try and type on the vkb the screen starts acting up with vertical lines on the screen, etc. Im using the DIAM500 (Sprints version of the Diamond). Is there anyway to get the vkeyboard working? :)
Untouchab1e
15th January 2009, 09:55 PM
Firstly, I am sorry its not working for you. I cant tell you for certain what the cause is, but maybe someone else can. Regardless, what I do know is that the DIAM500 will have messed up colors if you had been able to boot up android anyways, so it may be best to just wait untill the port is fully working for the DIAM500. :)
Thanks for reporting the issue though, I will be testing it on a DIAM100 i have lying around here in a few hours. :)
EDIT: I found the cause, and it was my fault as I had wrong mtype in the default.txt. Im using Balsat's newest zImage and I can confirm it works on my DIAM100. Am uploading it now :) Will delete the current package I'm hosting (as it doesnt work properly) and replace it with the new one! :)
Untouchab1e
15th January 2009, 11:17 PM
Its uploaded and posted! Please let me know if it works, because it SHOULD! :) Grab it here (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5)!
TomRanson
15th January 2009, 11:46 PM
I have a DIAM100 and the build that Untouchab1e has linked to seems to work fine. Sent and received a few texts with people. The only problem i have is getting distracted and letting the phone fall asleep, maybe waking the device back up should move up the list of to-dos.
ronni.rasmussen
15th January 2009, 11:49 PM
I have a DIAM100 and the build that Untouchab1e has linked to seems to work fine. Sent and received a few texts with people. The only problem i have is getting distracted and letting the phone fall asleep, maybe waking the device back up should move up the list of to-dos.
Goto setting/display and set it not to fall asleep :)
Untouchab1e
15th January 2009, 11:54 PM
I have a DIAM100 and the build that Untouchab1e has linked to seems to work fine. Sent and received a few texts with people. The only problem i have is getting distracted and letting the phone fall asleep, maybe waking the device back up should move up the list of to-dos.
Dont worry, it is on the todo list :) However, getting audio and mic up and running is still more important. :) Thanks for confirming that the package is working on your DIAM100!
NoBody20013
15th January 2009, 11:55 PM
i have a diamond too and tried the untochable "release" works fine with usb cable conected and active sync..and with PIN disabled.... WOW keep up the great work!
sibbor
15th January 2009, 11:57 PM
Update: Got it working :) Nice to have the internet, albeit through usb, not exactly mobile.. Now I have to go back and figure out what exactly made it work.Good news jobo! Keep the awesome work up.
TomRanson
16th January 2009, 12:02 AM
Goto setting/display and set it not to fall asleep :)
You know how after you press the submit button you realise there is a very simple solution...
:D:o
frysee
16th January 2009, 12:28 AM
You don't have do soft reset your device to run haret, just remember to put it in activesync before runnig.
This zImage work on the Diamond if you set mtype=1805
I would really love to add this one @Wuala, any information on major changes? Are you the author?
greetz
balsat
16th January 2009, 01:13 AM
I would really love to add this one @Wuala, any information on major changes? Are you the author?
greetz
I just compiled the kernel, the credit should go to other people that do the real programming!
Take a look at #htc-linux on freenode for a progress on the kernel.
mattdh
16th January 2009, 02:45 AM
I just tried Untouchables latest release for diamond. The vkeyboard is in the right location now but I still can't type. I think the screen alignment for the DIAM100 is different for the DIAM500. I try to press anything on the vkb and the display goes haywire and vertical lines show up all over the screen. I'm going to try and remove the alignment settings to see if it will let me manually align it.
Ok I removed the alignment settings in the default.txt file. Was able to calibrate for the DIAM500 (Sprint) I can't figure out how to use these settings on the default.txt so it auto calibrates. Here is what was shown on my phone.
msm_ts: maxx=03a3 miny 03ba
msm_ts: minx=0059 maxy=004c
How do these translate into msmts_calib?
mtlcafan79
16th January 2009, 05:49 AM
Got the latest Untouchab1e touch pro release to work on an AT&T touch pro. Works quite nicely compared to the previous version I was using from the wiki. The default screen alignment is slightly off, but the rest works great compared to before. Nice work!
mgear356
16th January 2009, 06:24 AM
a quick question..
how do i close the application in andriod or go back to the previous screen?
Untouchab1e
16th January 2009, 07:40 AM
a quick question..
how do i close the application in andriod or go back to the previous screen?
Press down on the navi-wheel to go back to the previous screen. Additionally, you can go to the Spare-Parts application and set the End Key to brng you back to the home screen.
Speaking of key-mapping: Pressing up on the navi-wheel brings up the context-menu :)
NetRipper
16th January 2009, 02:28 PM
I just tried Untouchables latest release for diamond. The vkeyboard is in the right location now but I still can't type. I think the screen alignment for the DIAM100 is different for the DIAM500. I try to press anything on the vkb and the display goes haywire and vertical lines show up all over the screen. I'm going to try and remove the alignment settings to see if it will let me manually align it.
Ok I removed the alignment settings in the default.txt file. Was able to calibrate for the DIAM500 (Sprint) I can't figure out how to use these settings on the default.txt so it auto calibrates. Here is what was shown on my phone.
msm_ts: maxx=03a3 miny 03ba
msm_ts: minx=0059 maxy=004c
How do these translate into msmts_calib?
The msmts_calib param is made up as follows:
msmts_calib=xmin.ymin.xmax.ymax
Note the dots that are used, not comma's. The values should be in hex, like how they are already printed on the console.
In your case it'd be:
msmts_calib=0x59.0x3ba.0x3a3.0x4c (leading zeros can be removed)
mark14
16th January 2009, 04:50 PM
Just installed the latest version 20090115 and it works great, once usb connected via active sync kernel boots fine, disconnect USB and android fires up. keyboard doesn't flicker quite as much in this version, and once screen timeout is turned off and assigned end button to home screen it works like a charm :)
can't get any connectivity via my SIM (voice calls will go out, but cant be received, no internet connection, text messages go into draft rather than send)... and I had heard some reviews of slow performance but the action is quite smooth for me. Overall very impressed, thanks for all the hard work folks! Can wait to get this installed on my diamond and wipe out WM for good ;)
jeroen79
16th January 2009, 06:25 PM
How does one disable the pin ?
Wonko69
16th January 2009, 06:45 PM
I just tried the 20090115 build on my diamond. AND HOT DAMN it cool. On my phone i can send sms with the android keybad in messaging app, make calls. Havent tried to receive calls. Best part though is that pressing up or down on the phone keys (not the VK) brings me back to the home screen.
Mad props to all the dev's out there, keep up the amazing good work!! :D
neptunes50
16th January 2009, 08:26 PM
I still get that /bin/sh can't acces tty on my screen.
What files do have to put into my Storage?
Can somebody please make an good tuturial?
I read the Wiki, But still can't get it to work.:confused:
cdensomnia
16th January 2009, 08:31 PM
I have searched through thread and found a couple posts on not being able to mount the sd card on bootup. Basically it appears that I get an error when trying to mount that says "mounting /dev/mmcblk0 on /mmc failed" Invalid Argument" then it proceeds to fail to mount the img files. I have tried several different builds and have had the same thing happen everytime. I also formatted the sd card but I dont have a linux box to format it using that. What does it need to be formatted in? I have seen a few different formats mentioned on here but just can't seem to find a good answer. Thanks and I appreciate everyones work on this as it will be pretty cool when this is up and running on the Raphael.
c4software
16th January 2009, 11:49 PM
Hello everyone.
I found an interesant things with Android about the sdcard. Today i am able to acces of my picture from android. to do this :
Before the boot of android i create a folder name sdcard on /
and i boot normaly android.
After in android i use the Media Browser in Developpement Tool. and Tadam the SDcard has been mounted and Available.
PS : I don't know if somebody already do that... i'm sorry if it is.
NoBody20013
16th January 2009, 11:52 PM
wow thats cool!
will try this and confirm if this works for me to.
"/" means on the 4GB? or the phone-memory?
touch of jobo
17th January 2009, 01:01 AM
Now I have to go back and figure out what exactly made it work.
the thing that made it work was to put: setprop net.dns1 208.67.222.222
setprop net.dns2 208.67.220.220
in /init.rc
You can probably just telnet in and type that in the shell too. I'm not sure it's persistent then. To see the internet, you need to have NAT setup on usb1 on your host. (It's not really useful, but then you can play around with email, browser, rss reader..)
-Jobo
oaa8
17th January 2009, 03:43 AM
the thing that made it work was to put: setprop net.dns1 208.67.222.222
setprop net.dns2 208.67.220.220
in /init.rc
You can probably just telnet in and type that in the shell too. I'm not sure it's persistent then. To see the internet, you need to have NAT setup on usb1 on your host. (It's not really useful, but then you can play around with email, browser, rss reader..)
-Jobo
How exactly does one setup NAT?
Or please could you please explain in more detail how you the Internet to work?
touch of jobo
17th January 2009, 11:42 AM
How exactly does one setup NAT?
Or please could you please explain in more detail how you the Internet to work?
Well .. it has nothing to do with porting linux to diamonds and raphaels (and I'm pretty sure you can find this on a linux networking forum), but here is some explanation:
The android root fs I boot into is a mash-up of a stripped down version of NetRippers busybox initrd and the root fs that the android sdk produces. (I guess lavender.t's are as well.) It brings usb networking up on 192.168.0.206 and adds a default route to gateway 192.168.0.200. Now, the phone is connected to my laptop on usb, and my laptop sees the internet through my router. So my laptop has to do routing between usb1 and eth0. My local LAN is not in the 192.168.0.x range, so it has to do NAT. If my local LAN were in the 192.168.0.x range it would probably (haven't tried) be enough to bridge usb1 and eth0 together.
This: iptables -t nat -A POSTROUTING -o usb1 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
..enables NAT and routing. The 2 lines I posted before (http://forum.xda-developers.com/showthread.php?p=3179939) (either one would do) are only to have android resolve names to addresses.
-Jobo
Wonko69
17th January 2009, 12:42 PM
I just tried the sdcard folder thing. And it works like a charm. In gallery I didnt get the thumbnails though. But that must be a permission thing.
I just ran harret and then typed the following:
mkdir sdcard and enter then /init.andriod
c4software
17th January 2009, 01:13 PM
I just tried the sdcard folder thing. And it works like a charm. In gallery I didnt get the thumbnails though. But that must be a permission thing.
I just ran harret and then typed the following:
mkdir sdcard and enter then /init.andriod
nice, so its not only me.
And with the sdcard we can change the background. however acces to data are very very slow.
skyblaze
17th January 2009, 02:24 PM
hi i tried all the possibile images for my new htc touch hd but for me android doesn't strats up! When i click on the exe file i see some linux boostrap but all on the screen is distorted and then it hangs there.
TheLord-Akira
17th January 2009, 03:28 PM
hi i tried all the possibile images for my new htc touch hd but for me android doesn't strats up! When i click on the exe file i see some linux boostrap but all on the screen is distorted and then it hangs there.
sorry but you´re in the antroid for touch diamond/pro thread !!!!!!!!!!!!!!!!
NOT TOUCH HD
skyblaze
17th January 2009, 05:52 PM
and so? i knew that for the touch hd these are the only images a mi right? If not where i can find corret android software for my pda please?
butterdori
17th January 2009, 06:08 PM
and so? i knew that for the touch hd these are the only images a mi right? If not where i can find corret android software for my pda please?
Touch HD and diamond/pro are different
Try the blackstone forum
blufade
17th January 2009, 06:40 PM
i'm stuck at the android boot screen where we see the two animated androids.....i did go through the faq & searched this thread but couldn't find a solution, plz help
thank you
eespiajer
18th January 2009, 12:42 AM
colors are all effed up on the latest build by summerman and jobo. colors are abnormal and no caliberation
jeffbatiste
18th January 2009, 12:54 AM
wow thats cool!
will try this and confirm if this works for me to.
"/" means on the 4GB? or the phone-memory?
works on my diam100 it mounted the 4gb
jeffbatiste
18th January 2009, 01:08 AM
i'm stuck at the android boot screen where we see the two animated androids.....i did go through the faq & searched this thread but couldn't find a solution, plz help
thank you
the only fix for me was to reinstall the cupcake it gets stuck in some kind of infinite loop
novakry
18th January 2009, 01:44 AM
this is weird, it worked last week, now i get stuck after giving the command /init.android
i get a lot of "cannot find /system/bin/servicemanager" disabeling mount
Does this mean my sd card is not found?
I have the diamond 100, (MDA IV version) and connected with usb / active sync.
Having the same amount of luck as this guy, must me something simple I'm missing. The fact it says it cannot find system/bin/
servicemanager
mountd
debuggerd
rild
app_process
mediaserver
dbus-daemon
installd
and then says it has to disable these.
From downloading the zip file, i put the tmp folder in the root of the phones memory card. Reboot the phone, load up haret18.exe (not haret.exe, as people mention. this is what is provided in the zip file.). Things look promising as the code runs across the screen, until it just stops after disabling all of the above. Hope someone can help. Thanks.
Oh and I'm running Elite RC3, not that I think this has any relevance. However I thought I'd mention it just in case.
NoBody20013
18th January 2009, 02:08 AM
active sync enabled? (also the USB cable conected to phone & PC too)
PIN disabled in Win Mobile phone settings?
butterdori
18th January 2009, 04:25 AM
i'm stuck at the android boot screen where we see the two animated androids.....i did go through the faq & searched this thread but couldn't find a solution, plz help
thank you
try disconnecting the usb connection once the booting screen shows up
blufade
18th January 2009, 07:04 AM
Originally Posted by blufade
i'm stuck at the android boot screen where we see the two animated androids.....i did go through the faq & searched this thread but couldn't find a solution, plz help
thank you
try disconnecting the usb connection once the booting screen shows up
tried and failed :(
Skitzo_
18th January 2009, 08:27 AM
Just installed the latest SummersPittman build on my RAPH100, and it works fantastically. I tried first on the SD card, but Android hung after trying to mount the SD card, and since I don't have a USB cable to do the ActiveSync trick, I copied to the internal memory and booted straight into Android.
This version is working really really well. Performance wise, it runs faster and is more responsive than WinMO. Sending/receiving SMS works and I actually get better reception in Android than I do in WinMO.
Although I couldn't boot Android when it was on the SD card, when I boot from the internal memory, the SD card is automatically mounted.
Doing a fantastic job, keep up the great work guys!
ododoo
18th January 2009, 11:18 AM
If you dont have a usb cable, how do you charge the phone?
NoBody20013
18th January 2009, 12:17 PM
Just installed the latest SummersPittman build on my RAPH100, and it works fantastically. I tried first on the SD card, but Android hung after trying to mount the SD card, and since I don't have a USB cable to do the ActiveSync trick, I copied to the internal memory and booted straight into Android.
This version is working really really well. Performance wise, it runs faster and is more responsive than WinMO. Sending/receiving SMS works and I actually get better reception in Android than I do in WinMO.
Although I couldn't boot Android when it was on the SD card, when I boot from the internal memory, the SD card is automatically mounted.
Doing a fantastic job, keep up the great work guys!
? joking? booting sraigth into Android without Bootloader? :confused::rolleyes::p:D
Skitzo_
18th January 2009, 12:24 PM
? joking? booting sraigth into Android without Bootloader? :confused::rolleyes::p:D
Sorry, I mean booting into Android using haret without erroring, not without a bootloader :P
@ododoo: charge with a wall charger.
shuvadeep
18th January 2009, 12:27 PM
i've just bought a HTC Touch Diamond which is operator locked to Airtel (India).
i've 2 queries:
1>is it possible to run Android on this Diamond?
2>How do i unlock it.
This is my 1st winmo so i dunno much bout the platform.
any help wud be gr8ly appreciated.
Regards,
HellGate
liamhere
18th January 2009, 12:40 PM
i've just bought a HTC Touch Diamond which is operator locked to Airtel (India).
i've 2 queries:
1>is it possible to run Android on this Diamond?
2>How do i unlock it.
This is my 1st winmo so i dunno much bout the platform.
any help wud be gr8ly appreciated.
Regards,
HellGate
your best friend here is the search button.....search before you ask.
you can unlock the phone.....but its not free look here
http://forum.xda-developers.com/showthread.php?t=414835
and to find out about andriod...you need to start reading in this thread.
good luck :)
Fracoon
18th January 2009, 02:38 PM
Hi... i have installed this release (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5) to internal storage....
Android starts.. then it asks me for my pin. But wathever i enter, i cannot go further... any ideas???
balsat
18th January 2009, 02:41 PM
Hi... i have installed this release (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5) to internal storage....
Android starts.. then it asks me for my pin. But wathever i enter, i cannot go further... any ideas???
LOL
Use the damn search button
TheLord-Akira
18th January 2009, 03:36 PM
Hi... i have installed this release (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5) to internal storage....
Android starts.. then it asks me for my pin. But wathever i enter, i cannot go further... any ideas???
use the f.... faq on the wiki..............first post
LeLapinVengeur
18th January 2009, 03:36 PM
LOL
Use the damn search button
Sorry but I don't the answer too :(
itoYo
18th January 2009, 03:56 PM
just letting you guys know it works on Diam300
have to USB sync to boot!
keep up the good work
ododoo
18th January 2009, 04:27 PM
@Skitzo_
My wall charger is also a usb cabel... :p
Perhaps its different from different countries its relased in...
touch of jobo
18th January 2009, 04:56 PM
i'm stuck at the android boot screen where we see the two animated androids...
This means that mounting your internal storage and android fs images has succeeded. I guess some service crashes and servicemanager keeps relaunching it. You can probably telnet into your phone and use logcat to see what is failing.
Maybe you're using MTYPE=1910 on a DIAM? (Try 1805.) One thing I have found to be a factor is the bank and amount of ram you try to use. Recent kernels won't boot for me on ramaddr 0x2*, only on 0x1* (in default.txt). Also try getting rid of the RAMSIZE line and using 'mem=76M' in your CMDLINE.
If this makes it work for you, please report back what exactly the change was that made the difference.
Edit: If it has worked for you before, but doesn't anymore, then your best chance is to put back the original images. Also, beware that the 1st boot of android takes a lot longer than subsequent boots. (Not more than 2 or 3 minutes though..)
and so? i knew that for the touch hd these are the only images a mi right? If not where i can find corret android software for my pda please?As far as I know (whatever that's worth) nobody has yet fixed the scrambled screen on Blackstone.
colors are all effed up on the latest build by summerman and jobo. colors are abnormal and no caliberationOn what device is that? Did you have good colours with a different kernel? (Which one?)
-Jobo
Untouchab1e
18th January 2009, 05:00 PM
Hi... i have installed this release (http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5) to internal storage....
Android starts.. then it asks me for my pin. But wathever i enter, i cannot go further... any ideas???
Disable your PIN-lock in Windows Mobile before you boot into Android ;)
Untouchab1e
19th January 2009, 01:49 AM
Having the same amount of luck as this guy, must me something simple I'm missing. The fact it says it cannot find system/bin/
servicemanager
mountd
debuggerd
rild
app_process
mediaserver
dbus-daemon
installd
and then says it has to disable these.
From downloading the zip file, i put the tmp folder in the root of the phones memory card. Reboot the phone, load up haret18.exe (not haret.exe, as people mention. this is what is provided in the zip file.). Things look promising as the code runs across the screen, until it just stops after disabling all of the above. Hope someone can help. Thanks.
Oh and I'm running Elite RC3, not that I think this has any relevance. However I thought I'd mention it just in case.
This usually means that you havent placed the files where you should have. Check the output of the console a bit further up to see if the partition is mounted or if it complains about various directories not found.
So, is this on the Raph or the Diamond and what release are you using? Remember, on the Raphael, the files go to the root of your memory card [memory card root]/tmp , while on the diamond, you have to place them on the internal storage root (the folder you have access to when you connect your phone to your computer and select "removable storage")
Good luck!
utjeffc
19th January 2009, 03:35 AM
This usually means that you havent placed the files where you should have. Check the output of the console a bit further up to see if the partition is mounted or if it complains about various directories not found.
So, is this on the Raph or the Diamond and what release are you using? Remember, on the Raphael, the files go to the root of your memory card [memory card root]/tmp , while on the diamond, you have to place them on the internal storage root (the folder you have access to when you connect your phone to your computer and select "removable storage")
Good luck!
I am having the same problem he is. I have all of the files in the /tmp folder of the memory card. The console does say that various directories are not found and that the mmc fails to mount. That seems to definitely be the problem, but I don't know how to fix it.
Also, when I try to download the most recent builds from your website, windows says that the zip file is corrupt. Do you have any idea why that is?
neptunes50
19th January 2009, 03:54 AM
I am having the same problem he is. I have all of the files in the /tmp folder of the memory card. The console does say that various directories are not found and that the mmc fails to mount. That seems to definitely be the problem, but I don't know how to fix it.
Also, when I try to download the most recent builds from your website, windows says that the zip file is corrupt. Do you have any idea why that is?
Use winrar to open files then exctract to TMP. It will work;)
lilecho
19th January 2009, 07:09 AM
Hi, First I'd like to say I've read about the last 20 pages of this thread tonite along with reading the wiki several times through. I'm having the same problems as the guy above (/mmc not mounting on /system etc). Im using a RAPH800 and have all the files in their correct places. I've tried the 'msmsdcc_id' at 1, 2, and 3 with the same results all the time. I'd love to have this working but, being midnite CST, I've gotten tired of messing with it and figured I'd ask u guys and see If u've got any further advice. Thanks
edit: to clarify, ive got a Sprint-branded Touch Pro
Fieryburrito
19th January 2009, 08:03 AM
I need help with the CDMA Alltel Touch Pro/Raphael Android Port. Ive gone to the wiki and have tried the lates SummersPittman, the diamon.tar.gz, and many other files on the wiki. The Linux/ Android Port Stops Where It Says: Cannot Find: /system/bin/
servicemanager
mountd
debuggered
rild
app_process
mediaserver
dbus-daemon
instald
Ive tried running on the internal memory and my 4gig SD Card. thy both stop there. And Thanks. P.S: i dont mind risking bricking my pro or anything, my parents own the alltel store! :P
mugglesquop
19th January 2009, 10:00 AM
I need help with the CDMA Alltel Touch Pro/Raphael Android Port. Ive gone to the wiki and have tried the lates SummersPittman, the diamon.tar.gz, and many other files on the wiki. The Linux/ Android Port Stops Where It Says: Cannot Find: /system/bin/
servicemanager
mountd
debuggered
rild
app_process
mediaserver
dbus-daemon
instald
Ive tried running on the internal memory and my 4gig SD Card. thy both stop there. And Thanks. P.S: i dont mind risking bricking my pro or anything, my parents own the alltel store! :P
look up a few posts...
blufade
19th January 2009, 10:03 AM
This means that mounting your internal storage and android fs images has succeeded. I guess some service crashes and servicemanager keeps relaunching it. You can probably telnet into your phone and use logcat to see what is failing.
Maybe you're using MTYPE=1910 on a DIAM? (Try 1805.) One thing I have found to be a factor is the bank and amount of ram you try to use. Recent kernels won't boot for me on ramaddr 0x2*, only on 0x1* (in default.txt). Also try getting rid of the RAMSIZE line and using 'mem=76M' in your CMDLINE.
If this makes it work for you, please report back what exactly the change was that made the difference.
Edit: If it has worked for you before, but doesn't anymore, then your best chance is to put back the original images. Also, beware that the 1st boot of android takes a lot longer than subsequent boots. (Not more than 2 or 3 minutes though..)
tried both method individually and together, none worked :(
about the telnet, i'm not too familiar with telnet.
and yes it did work for me the first time but not anymore, i'm still using the same copy.
I guess some service crashes and servicemanager keeps relaunching it
that seems more like it, boot screen stays on for some time, turns off and the process just loops....
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.