View Full Version : [Wiki] Google Andriod for Herald and Tmobile Wing
N3xt2N0N3
10th June 2008, 03:19 AM
http://tech.blorge.com/wp-content/uploads/2008/01/image12.png
http://i40.tinypic.com/33z36rn.png
This thread was created to make it possible to run and use Android on our devices.
What is Google Android?
Android is a software stack for mobile devices that includes an operating system, middleware and key applications.
Androids Architecture
http://code.google.com/android/images/system-architecture.jpg
We need all the help we could get to make this work
Other threads on Google Android
Google Android for Kaiser!! (http://forum.xda-developers.com/showthread.php?t=396782)
Linux and Android for Vogue (http://forum.xda-developers.com/showthread.php?t=382265)
Other helpful Links
Android on OMAP (http://elinux.org/Android_on_OMAP) thanks to mswiss
http://it029000.massey.ac.nz/vogue/
N3xt2N0N3
10th June 2008, 03:21 AM
This is the version that still has root access to the OS which makes it possible to edited the rom with-in the rom, thats if we get it ported first of course.
Also I dont have the tools right now to take apart the .nbh and rip it apart so if any can please do. The link is below.
DREAIMG.NBH (http://koushikdutta.blurryfox.com/G1/DREAIMG-RC29.zip)
This popped up a week ago its the Orange France RUU update for the french G1
Could a kitchen be made out of this??
RUU_DREAM (http://android.smartphonefrance.info/download/RUU_Dream_Orange_FR_1.58.73.2_test_signed_WithDriv er.exe)
VIA:imfloflo (http://forum.xda-developers.com/showpost.php?p=3774178&postcount=1)
N3xt2N0N3
10th June 2008, 03:22 AM
This thread will remain open for any advancement of android getting ported onto the wing.
Visit darkstar62's thread (click here) (http://forum.xda-developers.com/showthread.php?t=478161) for he has really gotten far with ported linux onto the wing.
Alright, its out! Get it while it's hot:
http://files.getdropbox.com/u/198699/linux_wing/wing-linux-0.3pre3.zip
Installation Instructions:
1. Create a directory /Storage Card/linux
2. Unzip the contents of the zip file there
3. Move the files in wing-linux-0.3pre3 to /Storage Card/linux
4. Run HaRET
5. Follow the instructions.
If you've installed the previous releases and have a partitioned SD card, the bootloader will automatically detect that and prompt you for which one you wish to boot. Use the arrow keys or DPAD to select one.
I haven't yet added the video autodetection support yet, so you'll still need to edit your default.txt file and ensure the heraldlcd parameter is set correctly for your device. If you don't know what to put there, leave it as is -- most users should find it works well enough.
New things in this release:
Root filesystem was created using a build system commited to SVN, instead of by copying files off my phone -- it's reproduceable!
The DPI setting of Android has been changed to fit our smaller screens a bit better. The phone dialer still has overlapping buttons, but you can now read the letters on the bottom of them and using them is much easier.
The Angstrom system has been pared down to a simpler console-only system to save space. It now just sits in the background, and Android loads automatically.
No more SD card partitioning is necessary! Simply unzip and enjoy!
Console access is available through USB as always
Android keyboard and button support is now 99% complete (only missing mappings for a couple of the side buttons). Arrow keys / direction pad works as expected, and alpha / symbol mappings are correct per WM6 settings, so you can use the keyboard like you're used to. Thanks neoobs!
As always, I'll be in the chat room to help or discuss ideas. Happy testing!
- d
Thanks
EDIT: Added Wing Linux 0.3 pre3 instructions. Thanks to darkstar62
N3xt2N0N3
10th June 2008, 03:23 AM
It kind of boots.
HTC WIZARD pops up half a second,
Scrolling text as the kernel boots.
Then WhiteScreen
Can anyone take photos of these stages.
I would love to post them here.
Thanks
papamopps
10th June 2008, 07:19 AM
Good idea. Wondered when someone will come up with it....BUT the main problem will be to port the GSM over...think until now they didn´t succede - did they?
Good luck
M3XICAN5
10th June 2008, 07:35 AM
i think the first thing we should look at is porting linux over to the wing
then go from there
papamopps
10th June 2008, 01:47 PM
BUT another thing that i don´t understand...correct me...
WE can only run Android like a VM on a PC.
First XDA boots WM6 and then starts an image from android...so it is more like an application running under WM??
And will there be a time where we can delete WM???
thx
fzzyrn
10th June 2008, 02:03 PM
we can delete WM when we have a full set of drivers for android
And linux- i've never understood people's compulsion for linux. Sure it's opensource and therefore free, but that does not automatically make it better.
N3xt2N0N3
10th June 2008, 02:10 PM
we can delete WM when we have a full set of drivers for android
And linux- i've never understood people's compulsion for linux. Sure it's opensource and therefore free, but that does not automatically make it better.
True true free doesnt make it better but atleast it gives us varieties...instead of just WM we could linux(android) also.
N3xt2N0N3
10th June 2008, 02:14 PM
Good idea. Wondered when someone will come up with it....BUT the main problem will be to port the GSM over...think until now they didn´t succede - did they?
Good luck
yeah i think its in that stage for now but imagine if we could make a very Clean rom and cook android into it and make it start at startup we could have it running and a decent speed
fzzyrn
10th June 2008, 02:17 PM
I think we can have android running as soon as we complete the "linux kernel" part of the dev roadmap along with the runtime. At this point, android would be "running" but not functioning
M3XICAN5
10th June 2008, 08:52 PM
alright cool, you guys go work on the linux kernel and ill go.... drink this soda
N3xt2N0N3
10th June 2008, 09:13 PM
I think we can have android running as soon as we complete the "linux kernel" part of the dev roadmap along with the runtime. At this point, android would be "running" but not functioning
how could we get this started? im willing to try anything right now
fzzyrn
10th June 2008, 10:37 PM
you would probably need a coder. I haven't read much about android, but you could probably port over WM6 drivers (depending on programming language?)
bodyman
11th June 2008, 05:03 AM
you would probably need a coder. I haven't read much about android, but you could probably port over WM6 drivers (depending on programming language?)
I don't think that that will work. I think that you need to start with the basic linux drivers and see if you can port them to mobile.
And yes, you would need a coder for that. And sorry to say, that isn't me. But, it t-mobile gets the diamond/whatever they're going to call it, I think that I will be first in line.
ivanmmj
12th June 2008, 12:22 AM
yeah i think its in that stage for now but imagine if we could make a very Clean rom and cook android into it and make it start at startup we could have it running and a decent speed
Perfect reason for an Just2Clean variant! lol
CommZ
12th June 2008, 12:23 PM
WM6 are hardly running on our 200 MHz OMAPs and you want to put another OS on top of it? Laughing out loud.
slimag
12th June 2008, 12:57 PM
WM6 are hardly running on our 200 MHz OMAPs and you want to put another OS on top of it? Laughing out loud.
are you serious? hardly running? its sometimes (quite often to be honest) faster than qualcomm 400mhz... (most of users are still believers of MHZ GOD... ).
CommZ
12th June 2008, 01:07 PM
I know how fast my machine is. It is often annoyingly slow.
fzzyrn
12th June 2008, 01:54 PM
these days, frequency doesn't matter as much as FSB does!
But anyway, you would definitely have to write your own drivers, which makes android porting more the responsibility of the manufacturer than of the end user
Midian
14th June 2008, 09:28 AM
hmmm Android on the Wing would be pretty amazing.
I would love to help if i can.
but i do agree, we should try porting something easier first, just for a quick practice. i would have to agree that linux fits that category. Although i myself dont really like linux, it would be a nice change from WM.
Also, what are the possibilities of making a bootloader that can boot specific files?
like we make a bootloader that, when the phone is powered on, presents a menu of images you can run. It would be nice to dual-boot, tri-boot, etc like you can on ipods (ipod os, ipod linux, and rockbox all bootable) so why not for the wing? like tri-booting WM 6/6.1, Android, and linux?
that would give a nice choice to the user. lol
N3xt2N0N3
14th June 2008, 01:39 PM
hmmm Android on the Wing would be pretty amazing.
I would love to help if i can.
but i do agree, we should try porting something easier first, just for a quick practice. i would have to agree that linux fits that category. Although i myself dont really like linux, it would be a nice change from WM.
Also, what are the possibilities of making a bootloader that can boot specific files?
like we make a bootloader that, when the phone is powered on, presents a menu of images you can run. It would be nice to dual-boot, tri-boot, etc like you can on ipods (ipod os, ipod linux, and rockbox all bootable) so why not for the wing? like tri-booting WM 6/6.1, Android, and linux?
that would give a nice choice to the user. lol
well if we could do what the people over at kaiser are doing it and having boot thru windows mobile...thats kinda dual boot cause u could go back and forth inbetween the too.
when i get home from work im goin to try kaiser way of doing it using their files and all...but im not advicing anyone else to try it...it does say KAISER ONLY...i will surely report back here
fzzyrn
14th June 2008, 05:15 PM
well, regardless of the kaisers speed, it has more ram, which what you need for dual-running OS
robpet2
16th June 2008, 01:05 AM
port... port... port... port... port... WE ARE FLASHERS....
Midian
29th June 2008, 01:39 PM
what ever happened to this?
anyone get any further for the herald/wing?
taspankya
30th June 2008, 01:59 AM
the amount of time that it would take to create the drivers in linux for the herald is immense. unless we get someone who is extremely skilled to get involved.. my guess is that this will not get very far. :(
mswiss
1st July 2008, 02:52 AM
http://elinux.org/Android_on_OMAP
i didn't know if that would help anyone possibly trying to do this, im pretty sure we use omap processors, am i correct?
mswiss
4th July 2008, 03:01 AM
to the top
N3xt2N0N3
4th July 2008, 03:52 PM
to the top
i put the link on the first page...im really trying to understand andriod i just wish i have more time during the day...if anybody has any clue on how to make this work on herald/Tmobile wing...please feed this thread
OminousPrime
23rd July 2008, 10:54 PM
well if we could do what the people over at kaiser are doing it and having boot thru windows mobile...thats kinda dual boot cause u could go back and forth inbetween the too.
when i get home from work im goin to try kaiser way of doing it using their files and all...but im not advicing anyone else to try it...it does say KAISER ONLY...i will surely report back here
I put all the Kaiser files on my SD this morning to try it, when I run the boot loader it'll goto whitescreen (launching Android I'd imagine) but then reboots my device. So it probably won't work on a Herald since made for a Kaiser but I'm gonna flash to a smaller rom and try it tonight.
N3xt2N0N3
24th July 2008, 06:54 AM
I put all the Kaiser files on my SD this morning to try it, when I run the boot loader it'll goto whitescreen (launching Android I'd imagine) but then reboots my device. So it probably won't work on a Herald since made for a Kaiser but I'm gonna flash to a smaller rom and try it tonight.
good idea try one of ivan's roms
speedblaster@yahoo.com
3rd August 2008, 06:35 PM
First of all, i love the idea of having a non-Windows Mobile OS on the Wing, WM is getting boring......
Next as far as i understand Kaiser, Touch, Touch Dual have all got Android working, but the reason why we can never follow their procedure is beacuse they have 400mHz proccesors and we only have 200mhz proccesors, so if we somehow modified the files that the Kaiser guys use to run on the hardware specs of the Herald then we might be able to pull this of.
misha
7th August 2008, 05:32 PM
good idea try one of ivan's roms
any news? on your trial......
I have seen in other forum that you would need 70+ MB of memory (non SD) to boot android with linux.
do we even have a WM rom small enough to allow for such large working area on HERALD/WING devices?
speedblaster@yahoo.com
7th August 2008, 07:20 PM
any news? on your trial......
I have seen in other forum that you would need 70+ MB of memory (non SD) to boot android with linux.
do we even have a WM rom small enough to allow for such large working area on HERALD/WING devices?
Yeap....Ivan's latest JustMe LZX gives about 71 MB+ free space.
Lackofmotivation
10th August 2008, 06:08 PM
I haven't been able to make the Kaiser build work on my Wing, I do have linux able to run on thew Wing however, maybe someone can make use of this to get a working Android image? Info on linux working @
http://forum.xda-developers.com/showpost.php?p=2508370&postcount=5
123shadow123
11th August 2008, 03:49 PM
hey. im new here. ive been tryin to get this runnin for a few months. glad to see other people are trying to do the same.
now about that lunix port, it doesnt seem to work. copied over the firles, loaded it and all it does is flash the screen twice and then leave me at a white screen. all my LED's are active too (normal green one, bluetooth one, and the alt and shit keyboard LED's are on) is that wat is suppose to happen? if so, thats not working.
I did manage to get android semi runnin. like it does exactly what this linux port is doin. appears to be bootin but then crashes on a white screen.
Lackofmotivation
11th August 2008, 06:43 PM
hey. im new here. ive been tryin to get this runnin for a few months. glad to see other people are trying to do the same.
now about that lunix port, it doesnt seem to work. copied over the firles, loaded it and all it does is flash the screen twice and then leave me at a white screen. all my LED's are active too (normal green one, bluetooth one, and the alt and shit keyboard LED's are on) is that wat is suppose to happen? if so, thats not working.
I did manage to get android semi runnin. like it does exactly what this linux port is doin. appears to be bootin but then crashes on a white screen.
That's the problem I was having with android. It just went to the white screen and lit all LED's The linux port has been working fine for me. Are any of the android files still hanging around maybe?
To keep everything seperate, I have a folder on the storage card named gizard containing the default.txt, haret exe, and the initrd and zimage files. Sometimes I have to reboot to free up memory before I can run haret successfully though.
N3xt2N0N3
12th August 2008, 01:34 AM
That's the problem I was having with android. It just went to the white screen and lit all LED's The linux port has been working fine for me. Are any of the android files still hanging around maybe?
To keep everything seperate, I have a folder on the storage card named gizard containing the default.txt, haret exe, and the initrd and zimage files. Sometimes I have to reboot to free up memory before I can run haret successfully though.
try using ivans Justme (http://forum.xda-developers.com/showthread.php?t=408502) rom it should be perfect for memory issues
PuffyTacos
12th August 2008, 06:20 AM
Who is developinfg Andriod and will it be a ROM?
foltz61
12th August 2008, 08:22 PM
I replaced the android zimage with the gizard one (android.zip is actually the zimage) and it booted a little farther than the android one. Im on the road so, cant comment any more. about it. I'm a linux retard so, I'm not sure what I even accomplished. Gizard boots fine on my wing with the already mentioned issues BTW.
Edit:
Says "A N D R O I D" with a trailing blinking cursor. The screen then goes totally blank after 15 seconds or so. I let in run about 15 minutes with no change.
ivanmmj
13th August 2008, 07:13 PM
The device drivers have to be compiled, as well as the kernel to match the device and its architecture. You won't be able to just run one made for another device unless it's a device with almost exactly similar specs. And even then, it will not be perfect. We need a team with linux and programming experience working on this exclusively.
misha
13th August 2008, 07:25 PM
I replaced the android zimage with the gizard one (android.zip is actually the zimage) and it booted a little farther than the android one. Im on the road so, cant comment any more. about it. I'm a linux retard so, I'm not sure what I even accomplished. Gizard boots fine on my wing with the already mentioned issues BTW.
Edit:
Says "A N D R O I D" with a trailing blinking cursor. The screen then goes totally blank after 15 seconds or so. I let in run about 15 minutes with no change.
This is great progress.
I was never able to get beyond haret boot followed by white screen and a reset.
Lackofmotivation
13th August 2008, 07:45 PM
I replaced the android zimage with the gizard one (android.zip is actually the zimage) and it booted a little farther than the android one. Im on the road so, cant comment any more. about it. I'm a linux retard so, I'm not sure what I even accomplished. Gizard boots fine on my wing with the already mentioned issues BTW.
Edit:
Says "A N D R O I D" with a trailing blinking cursor. The screen then goes totally blank after 15 seconds or so. I let in run about 15 minutes with no change.
Nice, Some progress on this at least. I'll have to play around with this some more then
N3xt2N0N3
14th August 2008, 12:58 AM
The device drivers have to be compiled, as well as the kernel to match the device and its architecture. You won't be able to just run one made for another device unless it's a device with almost exactly similar specs. And even then, it will not be perfect. We need a team with linux and programming experience working on this exclusively.
This is true if the kernels doesnt match the devices driver nor architecture it wouldn't work well at all. Thats the reason it freezes at a white screen
foltz61
16th August 2008, 05:01 PM
initrd-android.zip can be modified in Windows using 7-zip. Anyone with enough experience in linux here that can use the linwizard/gizard initrd stuff to possibly get the android initrd to work?
Edit:
The gizard initrd won't open with 7-zip.
Edit 2:
Can't gunzip it in linux either.
123shadow123
17th August 2008, 01:22 AM
initrd-android.zip can be modified in Windows using 7-zip. Anyone with enough experience in linux here that can use the linwizard/gizard initrd stuff to possibly get the android initrd to work?
Edit:
The gizard initrd won't open with 7-zip.
thats because initrd isnt a .zip file.
You can try hex-editing the initrd or reverse engineering
foltz61
17th August 2008, 04:38 PM
thats because initrd isnt a .zip file.
You can try hex-editing the initrd or reverse engineering
But the Android initrd is. Linux is confusing as h*ll.
amousa
21st August 2008, 12:55 AM
Hello
is the Anroid ready to try it on the T-Mobile Wing
buru898
22nd August 2008, 05:13 AM
Apparently not. It all seems too complicated but I would love to put Linux as my phone's OS.
foltz61
26th August 2008, 08:30 PM
Ive been trying to get the Vogue implementation of Andriod working on the herald lately. Evverything works up to losetup of data.img on /dev/block/loop0. /dev/block/loop0 exists but, if I run losetup -f it shows rdev/loop0 as the first avvailable block device. The error says that data.img cant be found on /sdcard but, I can cd to my sdcard and work with files. data.img and system.img are there. Wondering if the /dev/loop0 stuff is the problem. I might ask the Vogue group if they can edit thier init (make us a special initrd) to point to /dev/loop0 and 1 for us.If I run the losetup manually using /dev/loop0 it still doesnt work though. I'd hate to but in on thier thread. I might pm one of them and ask them to check our thread out.. I'm still using the linwizard zimage BTW.
foltz61
2nd September 2008, 06:17 AM
Still messing with this. Anyone else making progress. With learning linux as I go along, I'm going 2 steps forward and 1 step back. Better than vice versa I guess.
foltz61
3rd September 2008, 01:00 AM
Still no progress of my own. If you want to see the little red thingy go back and forth, use the file below in place of zImage (extracted from MMC-android.gz in the linwizard project. I needed to use 7-zip to get to the actual image file.) and the initrd-android stuff from the Wizard android xda page http://forum.xda-developers.com/showthread.php?t=403015
ivanmmj
4th September 2008, 07:43 AM
I found a guide somewhere to compile the kernel for the Omap850... I have to find where that guide is and compile the kernel... The hard thing is remembering to do it amongst everything else I have to do.
...I just remembered that my tuition is due today. :p
ivanmmj
5th September 2008, 12:12 AM
Here's some info: http://elinux.org/Android_on_OMAP#Android
d474rpr
10th September 2008, 12:08 AM
Has development ceased on this project?
N3xt2N0N3
10th September 2008, 02:20 AM
Has development ceased on this project?
its still in working progress...its just not easy
d474rpr
10th September 2008, 05:55 AM
Yeah, I imagine it is. If anyone needs a QA type resource feel free to PM me. I have access to a lot of devices and can probably help out with testing. :eek:
dan0zone
10th September 2008, 08:45 PM
well seems like android is comming code name HTC kila will be in the US soon
http://tmonews.com/2008/08/android-info-galore-2/
http://gizmodo.com/5039741/t+mobile-android-htc-dream-launch-details-oct-13-199-w-2+year-contract-only
maybe some can extract the rom when this comes out
ivanmmj
11th September 2008, 03:18 AM
well seems like android is comming code name HTC kila will be in the US soon
http://tmonews.com/2008/08/android-info-galore-2/
http://gizmodo.com/5039741/t+mobile-android-htc-dream-launch-details-oct-13-199-w-2+year-contract-only
maybe some can extract the rom when this comes out
It's not that simple. You have to recompile the kernel to work for our devices. Windows Mobile is easily dumped and ported because were already have all the drivers we need. It's not the same for Android. As it is, you can do it now, but you have to compile the kernel, but I don't know if anyone has actually TRIED to compile the kernel for our phones, yet.
ivanmmj
11th September 2008, 06:08 AM
Well... I started work on compiling the kernel for our device. I don't really know what I'm doing so here's to nothing.
On a side note, my fiancee accidentally knocked over my laptop from where I placed it while I was in the kitchen and it knocked off a piece of the casing... Soooo, I stopped working on the kernel for a while...
dan0zone
11th September 2008, 01:01 PM
It's not that simple. You have to recompile the kernel to work for our devices. Windows Mobile is easily dumped and ported because were already have all the drivers we need. It's not the same for Android. As it is, you can do it now, but you have to compile the kernel, but I don't know if anyone has actually TRIED to compile the kernel for our phones, yet.
i know its differant ... what i was thinking is now that we have a new device n ROM to work with ..we can use it as a guide instead of feeling around in the dark like we are now
ivanmmj
12th September 2008, 01:05 AM
I'm currently messing with the Android SDK and trying to build an Omap850 compatible kernel. (Assuming that it works... and it might be missing some drivers so it will most likely not be perfect...)
ivanmmj
13th September 2008, 05:39 AM
Development was halted... I had to reinstall Ubuntu due to the drop damaging the current install (a few tweaks I had, thinking that since it was a laptop, it would never loose power...) So, I will try again at some other time. For now, I should really focus on my homework...
ttran001
13th September 2008, 06:08 AM
Development was halted... I had to reinstall Ubuntu due to the drop damaging the current install (a few tweaks I had, thinking that since it was a laptop, it would never loose power...) So, I will try again at some other time. For now, I should really focus on my homework...
Since your using ubuntu with a laptop, make sure it's not killing your hard drive. I think its a known issue, just in case you did not know.
I'm running ubuntu studio and ran the test and my hard drive is still okay for now.
Just an FYI bro,
ivanmmj
13th September 2008, 05:27 PM
Since your using ubuntu with a laptop, make sure it's not killing your hard drive. I think its a known issue, just in case you did not know.
I'm running ubuntu studio and ran the test and my hard drive is still okay for now.
Just an FYI bro,
Killing my harddrive? I didn't know that was happening at all. How can that even happen, though? Is it turning off and on the harddrive repeatedly?
Although, it could be that my harddrive is having problems because the laptop got dropped... which sucks because it could void my warranty.
EDIT: Here (https://wiki.ubuntu.com/PowerManagement)'s a temporary fix to the Ubuntu issue. It seems as if the issue is not just for Ubuntu, though. It can happen with any OS.
ttran001
13th September 2008, 09:58 PM
Killing my harddrive? I didn't know that was happening at all. How can that even happen, though? Is it turning off and on the harddrive repeatedly?
Although, it could be that my harddrive is having problems because the laptop got dropped... which sucks because it could void my warranty.
EDIT: Here (https://wiki.ubuntu.com/PowerManagement)'s a temporary fix to the Ubuntu issue. It seems as if the issue is not just for Ubuntu, though. It can happen with any OS.
Ya, I ran that already and have looked into whats called the ubuntu ugly fix.
ivanmmj
14th September 2008, 10:20 AM
Ya, I ran that already and have looked into whats called the ubuntu ugly fix.
Turns out this is actually a hoax. By default Ubuntu lets the BIOS control the harddrive settings.
quicksite
14th September 2008, 01:51 PM
supposedly android on HTC touch
http://www.youtube.com/watch?v=z0e_ACIenhY
ivanmmj
14th September 2008, 06:36 PM
supposedly android on HTC touch
http://www.youtube.com/watch?v=z0e_ACIenhY
Even though the captions say touch, it's actually a sprint vogue which is a different phone who's internals are more like the kaiser, so unfortunately, it's not something we can just copy to our phones.
crypto5
24th September 2008, 09:48 PM
supposedly android on HTC touch
http://www.youtube.com/watch?v=z0e_ACIenhY
As I know this is some virtualization approach: running Android over the windows. Currently it works on the phones with 128 + mb of RAM.
gadomirko
24th September 2008, 10:00 PM
give me the link.... I know its a virtualization but it brings me the dream of android on the wing a little bit nearer ;) I wait everyday for the message the an android rom for wing is out ;)
M3XICAN5
25th September 2008, 05:38 PM
Here is a gentoo image compatible with the Herald. Built for the Wizard, but works fine on my Wing. Only issues being no sound support and screen is shifted to the right a little, but touchscreen and SD card are working. Keyboard mapping is a little off though, but easy enough to figure out. :)
http://www.gossamer-threads.com/lists/gentoo/embedded/55281
For those who don't want to read the whole thread...
http://tinderbox.dev.gentoo.org/embedded/linwizard/gizard-20080527.tar.bz2
Extract to root of storage card, and run Haret.exe Login as root, blank password. Use startx to get desktop if you want.
Enjoy
i found this on another post hope it helps :D
crypto5
25th September 2008, 09:26 PM
Unfortunately Gentoo is not Android..
M3XICAN5
26th September 2008, 05:57 AM
but it is linux
ibpnyc
26th September 2008, 10:27 PM
just got mine pre-ordered. Anyone else got one coming in 10/22?
aad4321
26th September 2008, 11:22 PM
just got mine pre-ordered. Anyone else got one coming in 10/22?
I am really interested, but i want to wait for exchange to work, as well as internet sharing for a pc. Those are the two big ones, which will switch me over
ibpnyc
27th September 2008, 04:44 AM
I am really interested, but i want to wait for exchange to work, as well as internet sharing for a pc. Those are the two big ones, which will switch me over
im sure since it is open source there will be software available. I know the phone shows lack but it is at break thru point and needs to be polished a few times. Even if it does not reach its potential im sure this opens up a new mind frame for other developers
damnitpud
29th September 2008, 05:34 AM
i am in, i got the black one coming 10/22...i can not wait. I feel like a kid waiting for the last day of school or Christmas! I am debating if i will keep my Wing as an Expensive back up or if i will throw it up on CraigsList.
I tell you what though! The G1 is coming at perfect time, considering TTran is leaving the scene after his newest ROM is done! The Wing just won't be the same without his ROMs =(
ibpnyc
29th September 2008, 04:38 PM
i am in, i got the black one coming 10/22...i can not wait. I feel like a kid waiting for the last day of school or Christmas! I am debating if i will keep my Wing as an Expensive back up or if i will throw it up on CraigsList.
I tell you what though! The G1 is coming at perfect time, considering TTran is leaving the scene after his newest ROM is done! The Wing just won't be the same without his ROMs =(
Thats troo. No disrespect to other cookers but TTran does his thing!! Perhaps he will be developing for the andriod open source market!!
foltz61
29th September 2008, 09:58 PM
Can we try to keep this thread about Android for the Wing/Herald. Maybe this thread http://forum.xda-developers.com/showthread.php?t=429471 is better suited for comparisons. Not trying to be a prick, just don't want people (myself included) to have to wade through tons of unrelated stuff if the development ever really takes off.
crypto5
1st October 2008, 08:41 PM
supposedly android on HTC touch
http://www.youtube.com/watch?v=z0e_ACIenhY
Ok, as far as I understand that wasn't virtualization. This is a web page of that guy: http://it029000.massey.ac.nz/vogue/. As far as I understand that impossible to use his cab on herald because he has Vogue with MSM7500 processor. We have some OMAP processor on Herald.
ranger7424
1st October 2008, 09:55 PM
I have my G1 on order as well, planning to keep my Wing as a back up for a while though. Agreed with TTran leaving, roms wont be the same, he has done some impressive work for the Wing.
foltz61
2nd October 2008, 08:08 PM
Is anyone still working on this? I've pretty much given up myself. I'm thinking about biting the G1 bullet. I would love to donate to someone who gets it working usablely on the Wing before I do. I'm not going for presale so, 10/22 could possibly be the end of the Wing for me.
Mogul345
15th October 2008, 01:30 AM
Sorry if I'm confused here, but I read all the posts so far, and I'm not quite getting what we're trying to accomplish.
If I understand things correctly, we're trying to run android on a linux environment that's running on top of WM5/6? That's what the haret.exe is for?
But I also see talk of trying to actually compile a kernel that will run on the herald's hardware. That sounds to me like a native approach to things, which is what I would expect. This would also make sense as to why trouble is encountered, b/c like most problems with linux we don't have native device drivers for our hardware. I read posts alluding to this.
So which one is right? I hope the second. And even if we don't have drivers, the hardware is at least documented somewhere right? I would think things might be easier, since the hardware is known and doesn't vary. Maybe if we can't create native drivers, maybe we could do something along the lines of NDISWrapper for things? NOTE: This is all speculation, I really know next to nothing about the internals of these devices.
EDIT: Ok, after more reading, I see Haret is the bootloader, ala GRUB. so if it's the bootloader, then why do we have to boot into WM to begin with?
ivanmmj
15th October 2008, 03:09 AM
Haret isn't just a bootloader, it inserts data directly into RAM. Basically, it takes over the RAM with whatever code you want to inject. Thus you can boot linux after having booted Windows Mobile as we don't know how to boot linux directly... yet.
Mogul345
15th October 2008, 06:51 PM
Haret isn't just a bootloader, it inserts data directly into RAM. Basically, it takes over the RAM with whatever code you want to inject. Thus you can boot linux after having booted Windows Mobile as we don't know how to boot linux directly... yet.
OK, I see now, I think. So when Haret "boots" Linux, it overwrites the WM related stuff that's in RAM, so once Linux is booted, WM is no longer running. And then it's as if we cold booted w/ Linux, which brings us to the issue of needing native Linux device drivers, etc.
ivanmmj
15th October 2008, 07:04 PM
OK, I see now, I think. So when Haret "boots" Linux, it overwrites the WM related stuff that's in RAM, so once Linux is booted, WM is no longer running. And then it's as if we cold booted w/ Linux, which brings us to the issue of needing native Linux device drivers, etc.
Exactly. One we get, if we ever get, a properly setup kernel with the correct drivers, we could always create a crippled WM ROM that has just enough needed files to boot and then boot linux from there automatically.
Mogul345
20th October 2008, 11:03 PM
Exactly. One we get, if we ever get, a properly setup kernel with the correct drivers, we could always create a crippled WM ROM that has just enough needed files to boot and then boot linux from there automatically.
Cool. Makes sense then. Now here's another question that I can't seem to find a straight answer to, but should be answerable: What hardware is IN the Wing/Herald? I would assume that being a device, that the underlying hardware (ie. LCD Touchscreen, MicroSD reader, whatever the PDA equivalent to a Northbridge/Southbridge is, etc.) is known and non-varying.
From my trials using desktop Linux, knowing the underlying hardware is the first step to getting drivers. But nowhere have I found a list of all the "devices" we need drivers for. Maybe I'm just not looking hard enough?
ivanmmj
21st October 2008, 01:38 AM
Cool. Makes sense then. Now here's another question that I can't seem to find a straight answer to, but should be answerable: What hardware is IN the Wing/Herald? I would assume that being a device, that the underlying hardware (ie. LCD Touchscreen, MicroSD reader, whatever the PDA equivalent to a Northbridge/Southbridge is, etc.) is known and non-varying.
From my trials using desktop Linux, knowing the underlying hardware is the first step to getting drivers. But nowhere have I found a list of all the "devices" we need drivers for. Maybe I'm just not looking hard enough?
It's got the following that I know off the top of my head.
Omap850 running at near 200MHz.
64MB of RAM
128MB of ROM space
I really can't remember much info other than that at the moment...
I don't know what the LCD Touchscreen type that it uses. All I know is the Omap850 "chipset/cpu" controls the following:
The card reader.
The memory controller.
The Edge/GPRS.
The ARM instruction set. (It's got an ARM9 as the main CPU and an ARM7 as the audio/signal CPU)
etc
Mogul345
21st October 2008, 03:46 PM
Maybe this link will help us somehow: http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12000&contentId=4679
atippett
21st October 2008, 06:52 PM
I think google just made most of the source available today. Not sure if that helps.
http://source.android.com/
Mogul345
21st October 2008, 07:34 PM
I think google just made most of the source available today. Not sure if that helps.
http://source.android.com/
Hmm, looks like we're hosed, least with what is currently out there. Check out http://source.android.com/release-features. Says in Supported Hardware section: "The platform requires a minimum of 128 MB of RAM and 256 MB of Flash memory. An OEM may want to support more Flash memory to make it possible to download more third-party applications to user devices."
Our devices have 50% of minimum for both.
darkstar62
22nd October 2008, 04:19 AM
If Android were loaded onto an SD card partitioned specifically for it, couldn't we also add a swap partition to supplement the memory? Granted it would probably be pretty slow, but it would work.
Loading Android onto an SD card can also eliminate the 256mb ROM requirement -- just run it off a big SD partition.
N3xt2N0N3
17th November 2008, 08:26 AM
Guys whenever i try it android doesnt load. IT stays at a white screen. How far have you gotten and can u upload your files thanks.
ivanmmj
17th November 2008, 08:29 AM
In order to run Android on this phones, we have to PORT it, drivers and all, which requires a Linux Guru... It's not like porting a Windows Mobile image. That's a piece of cake. For that, we use already existing drivers and just change a few things here and there.
korndub
29th December 2008, 05:57 AM
If Android were loaded onto an SD card partitioned specifically for it, couldn't we also add a swap partition to supplement the memory? Granted it would probably be pretty slow, but it would work.
Loading Android onto an SD card can also eliminate the 256mb ROM requirement -- just run it off a big SD partition.
Well actually that will not work. As it stands android (on the g1) has to run from the phone memory. Also thre is currently only a complicated hack to run programs from sd card with android. I had a wing too and loved it but I highly recommend using a g1 with native android. Its a great flexible device with excellent and fast hardware.
t76sTaNg
29th December 2008, 06:32 PM
Any update on this or is this project dead?
SpiritFyre
6th January 2009, 12:28 PM
well ive now fully read all of this, it will take a long time to actually see if someone produces a version that doesnt consume soo much memory to run android and such, and or getting the right drivers.... alot of u should stop asking if a thread is dead after people dont post for just one day... lol. anyways im researching more all over the web to try and find any other people elsewhere trying to work on this aswell.
N3xt2N0N3
9th January 2009, 05:20 AM
OK People No this thread is not dead. The Android OS is really new nothing happens over night. Ok update I have the .NBH file for the G1 the link should be below. This is the version that still has root access to the OS which makes it possible to edited the rom with-in the rom, thats if we get it ported first of course.
Also I dont have the tools right now to take apart the .nbh and rip it apart so if any can please do. The link is below.
DREAIMG.NBH (http://koushikdutta.blurryfox.com/G1/DREAIMG-RC29.zip)
narancs
11th January 2009, 08:18 PM
Also I dont have the tools right now to take apart the .nbh and rip it apart so if any can please do. The link is below.
I tried with different apps but I always get an error: "dreaimg.nbh is not a valid .nbh file"
guess the "old" nbh extract tools not working for android image files? :confused:
gadomirko
12th January 2009, 11:04 PM
the same problem here! cant extract the nbh file!
N3xt2N0N3
14th January 2009, 02:59 AM
I tried with different apps but I always get an error: "dreaimg.nbh is not a valid .nbh file"
guess the "old" nbh extract tools not working for android image files? :confused:
really? ugh!!
smokeingit
14th January 2009, 09:39 AM
this thread should be locked or deleted. wing will not see a pro active version of this linux distro. sorry to kill lots of hopes and dreams.
ivanmmj
15th January 2009, 04:01 AM
It's true. The distro can't just be ported in the way windows mobile gets ported.
darkstar62
16th January 2009, 05:29 AM
Hey, nothing's impossible. I've got a minimalistic linux distribution that I built running on my wing, installed in a linux partition on my SD card. I use Haret to boot it (custom kernel too, no need for an initrd). When it boots, I have about 55mb of free RAM to play with, plus about 128mb of swap in another partition on my SD card. I can pull up a minimal graphical interface so far with full touchscreen support. With my build toolchain, I could build pretty much any linux app I want and install it to my phone.
Android in its current form may not run on the wing. But with completely open source, and the fact that it's linux, there's no reason a stripped-down version couldn't be built that would run. I'll concede that it probably won't be fast, but it's certainly not impossible.
I see no reason why this thread should be closed while there's still useful discussion to be had. Give it time -- good things can still happen.
ivanmmj
16th January 2009, 06:56 PM
Hey, nothing's impossible. I've got a minimalistic linux distribution that I built running on my wing, installed in a linux partition on my SD card. I use Haret to boot it (custom kernel too, no need for an initrd). When it boots, I have about 55mb of free RAM to play with, plus about 128mb of swap in another partition on my SD card. I can pull up a minimal graphical interface so far with full touchscreen support. With my build toolchain, I could build pretty much any linux app I want and install it to my phone.
Android in its current form may not run on the wing. But with completely open source, and the fact that it's linux, there's no reason a stripped-down version couldn't be built that would run. I'll concede that it probably won't be fast, but it's certainly not impossible.
I see no reason why this thread should be closed while there's still useful discussion to be had. Give it time -- good things can still happen.
The ability to port isn't what's missing, it's the people to actually do the porting.
I'd love to, but I'm still a novice at these kind of things.
N3xt2N0N3
17th January 2009, 04:19 AM
Hey, nothing's impossible. I've got a minimalistic linux distribution that I built running on my wing, installed in a linux partition on my SD card. I use Haret to boot it (custom kernel too, no need for an initrd). When it boots, I have about 55mb of free RAM to play with, plus about 128mb of swap in another partition on my SD card. I can pull up a minimal graphical interface so far with full touchscreen support. With my build toolchain, I could build pretty much any linux app I want and install it to my phone.
Android in its current form may not run on the wing. But with completely open source, and the fact that it's linux, there's no reason a stripped-down version couldn't be built that would run. I'll concede that it probably won't be fast, but it's certainly not impossible.
I see no reason why this thread should be closed while there's still useful discussion to be had. Give it time -- good things can still happen.
Can you share your minimalistic linux distribution that you built?
crypto5
22nd January 2009, 02:07 AM
Can you share your minimalistic linux distribution that you built?
The linwizard project(http://linwizard.wiki.sourceforge.net/) works on Herald. At least I started it on my wing and got keyboard partially working and could start X. Also some guys used that distro to run android on wizard: they started linwizard, mounted some image from SD and started android from that image. Probably that would work for wing too, but I am not sure is it possible to work with Wing MicroSD controller now in that Linwizard distro. I think maybe some linux hacker could look at that, but not me because I don't have such experience, don't have a lot of time for that and fully enjoyed by available Wing ROMs! ))
smokeingit
24th January 2009, 11:14 PM
Even if he did share this custom distro that he may have really made, its still useless with the bigger grand schem of things. the drivers are not there. its like having a car that turns on but cant move. the real issues isnt the port. the issue is having someone take the time (without pay) to make these said drivers to make the phone currectly operate. there is no platform to begin with.
Smokeingit
xbox hacker
Can you share your minimalistic linux distribution that you built?
holiday5804
25th January 2009, 08:53 AM
Anyone find it somewhat amusing that wing owners want android on their phones and g1 owners are trying to get windows on their phones?
fishwiz45
25th January 2009, 09:02 AM
anyone find it somewhat amusing that wing owners want android on their phones and g1 owners are trying to get windows on their phones?
very amusing!! Lol!
gbuscrizist
29th January 2009, 08:37 AM
I have decided to lend my help to this project, of getting android to work on the wing. So far I have found not many people willing to help out, nor places to contribute to get a community going. So I want to start that, I think that first we should get the linwizard project fully compatible with the Herald, then we should start working on the porting (aka driver coding) of Android, since most likely it will become more freely availble by the time we get to that point in development. So I am here to ask who is willing to contribute how ever they can. So I want to easily get information about the technology inside the wing/herald, because the less time I have to search for it, the faster I can get to coding those drivers. Now I am in no way a pro at this, I am going to be learning while doing it, but I figure it is better than no one actively working on it. Ivan, if you still have any progress for this, I would love to know/have it.
Kuuf
29th January 2009, 08:53 AM
I'm a linux user and programmer myself en might also help with this, but I'm totally unexperienced with writing drivers ...
gbuscrizist
29th January 2009, 09:09 AM
Hey Kuuf, so I think the first step needed to be taken is getting a fully functioning linux onto the herald. so first question, have you been able to get the embedded gentoo linux, or the linwizard linux to run on your phone?
Kuuf
29th January 2009, 01:22 PM
Embedded Gentoo is linwizard, not?
I've already tried the linux from this thread (http://forum.xda-developers.com/showthread.php?t=366132) with the same problems als mentioned here (http://www.gossamer-threads.com/lists/gentoo/embedded/55289#55289)
So, yes ...
Kuuf
29th January 2009, 05:19 PM
Pre-requisites
In order to develop Linux device drivers, it is necessary to have an understanding of the following:
* C programming. Some in-depth knowledge of C programming is needed, like pointer usage, bit manipulating functions, etc.
* Microprocessor programming. It is necessary to know how microcomputers work internally: memory addressing, interrupts, etc. All of these concepts should be familiar to an assembler programmer.
There are several different devices in Linux. For simplicity, this brief tutorial will only cover type char devices loaded as modules. Kernel 2.6.x will be used (in particular, kernel 2.6.8 under Debian Sarge, which is now Debian Stable).
Hmmmm,
C: allright (pointers, bit manipulations)
Microprocessing: nope ..
So, guess I won't be developing drivers then ...
gbuscrizist
30th January 2009, 07:21 AM
I have tried to put linux on my herald, but first it just kept hanging up, and now I have the official drivers for omap in a different kernel, and it works kind of, i need to put an older version of squashfs into the kernel that works on my phone, because it cant mount the root dir, because the older versions of squashfs dont like newer ones i guess, so that is what I am working on right now. also after that starts working i plan on starting on wifi drivers. now i have no idea how to do either of these, but i am willing to learn.
N3xt2N0N3
1st February 2009, 07:05 AM
thank you in advance Kuuf and gbuscrizist, and all else who contributed to this thread keep up the work and lets get android on the wing!!
Kuuf
1st February 2009, 10:44 AM
thank you in advance Kuuf and gbuscrizist, and all else who contributed to this thread keep up the work and lets get android on the wing!!
Yw :-)
I tried booting android by changing the boottextfile but did not succeed...
darkstar62
2nd February 2009, 01:40 AM
I've had some success getting Linux running on my wing. Here's what I've got:
Custom kernel built using the linwizard kernel sources and my own configuration (based on theirs for the wizard)
Separate ext3 partition on my SD card (1gb + 128mb swap) that I created using my laptop (used for the root filesystem)
Minimal base system installed as a combination of the linwizard base + some extra software I compiled using OpenEmbedded
System booted with HaRET + the kernel
What works:
Minimal X server capable of landscape and portrait video modes (KDrive, using the framebuffer (omapfb))
Touch screen support + calibration software (TSC2046 driver + tslib)
Console keyboard (some characters are difficult / impossible to type due to the limited key layout and driver)
USB gadget support for connecting with my laptop (I can SSH / telnet into the phone, or ssh/telnet from the phone into my laptop)
Full access to the SD card (even the Windows FAT side -- mmci-omap driver)
What doesn't work:
Bluetooth -- haven't been able to get a working driver, or anything to even recognize that it exists
WLAN -- same as bluetooth
GPRS / Phone -- same
Most of the extra buttons don't fire any events
LEDs for the most part don't work
Battery and power stats aren't available, as well as power management
No control of the backlight or display power
Sound -- don't have any drivers / software compiled for sound, so I don't know if this would work or not
RTC
I've attached my initial dmesg output, plus the output of /proc/cpuinfo and /proc/devices.
I've done some kernel development in the past, but only on small USB drivers. That being said, I have lots of programming and Linux experience, so I would be glad to help in any way. I've also got a full ARM cross-compile environment set up so I can build most anything for the wing and run it there (I just scp the packages over and unzip.)
darkstar62
2nd February 2009, 03:53 AM
I started a new thread on linux development with instructions on how to obtain and install the linux kernel and image I built here:
http://forum.xda-developers.com/showthread.php?p=3260793
Kuuf
2nd February 2009, 09:46 AM
Nice darkstar!
N3xt2N0N3
3rd February 2009, 06:30 AM
I started a new thread on linux development with instructions on how to obtain and install the linux kernel and image I built here:
http://forum.xda-developers.com/showthread.php?p=3260793
This thread will remain open for any advancement of android getting ported onto the wing.
Visit darkstar62's thread (click here) (http://forum.xda-developers.com/showthread.php?t=478161) for he has really gotten far with ported linux onto the wing.
Thanks
Edit: added url to darkstar62's thread
1TMobEngineer
3rd February 2009, 02:25 PM
Anyone find it somewhat amusing that wing owners want android on their phones and g1 owners are trying to get windows on their phones?
Yea, it is funny... The G1 is to finnicky and the windows mobile can be almost the same pain..
expone
3rd February 2009, 05:01 PM
Ok! Now, we have a running linux kernel including basic linux....
Whats the next steps to android?
Or need we more drivers? Sure, WiFi and Bluetooth etc doesn't run yet. But is it not possible to start android now? Then we can looking for solves....
darkstar62
3rd February 2009, 05:33 PM
@expone:
I did a bit of research last night about the Android-specific patches added to the kernel -- seems we're missing quite a bit in the kernel that we have. So I'm going to try tonight or tomorrow to build an Android kernel using their patches and taking bits and pieces from my kernel config to get it running. With any luck, I'll be able to post a new kernel that should boot.
After that I'll try and compile the Android source from scratch. With any luck, the combination of the two will allow us to at least boot Android. Who knows -- maybe we'll have some of that non-working hardware too. :)
I'll keep you posted.
rod1189
6th February 2009, 10:29 PM
So do u just flash the DREAM image file to the wing and thats it. or do you have to play with linux??
1TMobEngineer
7th February 2009, 02:09 AM
At least its linux.. Should be REAL easy to make drivers..
ivanmmj
7th February 2009, 03:04 AM
So do u just flash the DREAM image file to the wing and thats it. or do you have to play with linux??
No. The Kernel has to be compiled to work with the OMAP850 CPU and all the other hardware.
ivanmmj
7th February 2009, 03:12 AM
At least its linux.. Should be REAL easy to make drivers..
Assuming we have all the information about the hardware.
darkstar62
7th February 2009, 08:15 PM
Exactly. Porting the android base system is the easy part -- it's written in Java. It's the kernel that's the hardest. The linwizard team has made quite a bit of progress on getting that working though, so hopefully all that's left is for us to get the android-specific patches installed.
We'll still need to do some work to get things like wifi, bluetooth, sound, and GSM support there (although I think the wizard GSM driver from linwizard is at least partially working for us -- may just be a matter of integrating missing functionality).
Again, if anyone has chipset info about the wing, that can greatly help.
drmidnight
8th February 2009, 12:36 AM
Exactly. Porting the android base system is the easy part -- it's written in Java. It's the kernel that's the hardest. The linwizard team has made quite a bit of progress on getting that working though, so hopefully all that's left is for us to get the android-specific patches installed.
We'll still need to do some work to get things like wifi, bluetooth, sound, and GSM support there (although I think the wizard GSM driver from linwizard is at least partially working for us -- may just be a matter of integrating missing functionality).
Again, if anyone has chipset info about the wing, that can greatly help.
Im sure you could probably find some info about the chipset in the Herald Service Manual.
http://www.onlinefreeebooks.net/gadget-ebooks/htc/htc-herald-service-manual-pdf.html
mywingflys
8th February 2009, 04:25 AM
oh man
i would DEF love to see andriod on the wing
how far have you all come along with it?
darkstar62
9th February 2009, 12:19 AM
I've so far managed to extract the Android patches from the latest copy of the source code (currently against a 2.6.27 kernel) and masaged it enough to patch the 2.6.25 kernel I used to boot linux originally. Haven't yet gotten it to build -- still have some dependency issues to work out. Hopefully I'll know later today if it builds into a working kernel -- and if Android will boot from it.
The post I started for all this has the latest code and patches (also images) I've been able to get working if you want to play with it:
http://forum.xda-developers.com/showthread.php?p=3265331
- d
darkstar62
9th February 2009, 04:24 PM
Whee!
So I've managed to successfully build a working, bootable kernel with the Android patches installed. This gets us a bit further, though I still can't start Android. However, now I can get as far as seeing the two-android startup screen, and I've confirmed that all the android server processes do start up and seem to run. After 30 or 40 minutes though, the startup screen is still going and android is still not started.
I noticed two of the processes taking up the most CPU time during that period: app_server and mediaserver. App_server is the main Android startup, so I'd expect that to be working hard. Not sure why mediaserver was so active.
I'm going to attempt to build in some debugging tools tonight (particularly strace, but a few others) so I can see what Android is doing while it's running. Maybe I can track down why it takes so long to start up (and why it never finishes). I also noticed it uses up to my physical memory limit, but never starts using swap...I wonder if modifying it to allow for swap use would help it start up.
I've got an updated kernel image and config, along with the Android /system and / partitions, and I"ll be updating the other thread with links to that and installation instructions.
quicksite
9th February 2009, 07:42 PM
Whee!
So I've managed to successfully build a working, bootable kernel with the Android patches installed. This gets us a bit further, though I still can't start Android. However, now I can get as far as seeing the two-android startup screen, and I've confirmed that all the android server processes do start up and seem to run.
This is so cool. I love it: A few months back there was an ambitious goal: Get Android running on the Wing. Initial goings were, expectedly, tough, and several people at XDA dissed the whole thing as "impossible", seeking to close the thread. But others with a variety of knowledge-sets persist saying " we can crack this nut". I'm not a coder but it sure sounds to me like "Part 1" of the "impossible" has been done: getting linux to run on wing.
darkstar, I can be naive sometimes about what's proprietary and what's not, and what a developer on one platform is able to share with a developer on another platform. But let me know if you think there is anything that could be acquired this way:
I'm in San Francisco and in my neighborhood someone I met at a cafe is, no shit, the designer of the G1 phone, from its UI to its functional design in working with HTC and T-mobile. Google, ultimately, wants to sell ads, and Android was just a step to have a platform in which they could do that. It seems to me that if Google isn't trying to sell phones, they would want Android penetrating the market as widely as possible. So, if there was something I could ask for, that might be possible to obtain, what would that be?
Maybe someone else will throw cold water on all of this, but it's just cool to see the 'audacity' to take on challenges here.
darkstar62
9th February 2009, 08:51 PM
This is so cool. I love it: A few months back there was an ambitious goal: Get Android running on the Wing. Initial goings were, expectedly, tough, and several people at XDA dissed the whole thing as "impossible", seeking to close the thread. But others with a variety of knowledge-sets persist saying " we can crack this nut". I'm not a coder but it sure sounds to me like "Part 1" of the "impossible" has been done: getting linux to run on wing.
darkstar, I can be naive sometimes about what's proprietary and what's not, and what a developer on one platform is able to share with a developer on another platform. But let me know if you think there is anything that could be acquired this way:
I'm in San Francisco and in my neighborhood someone I met at a cafe is, no shit, the designer of the G1 phone, from its UI to its functional design in working with HTC and T-mobile. Google, ultimately, wants to sell ads, and Android was just a step to have a platform in which they could do that. It seems to me that if Google isn't trying to sell phones, they would want Android penetrating the market as widely as possible. So, if there was something I could ask for, that might be possible to obtain, what would that be?
Maybe someone else will throw cold water on all of this, but it's just cool to see the 'audacity' to take on challenges here.
Wow, that's really cool! Not sure what we can ask for. The biggest help I can think of would be in debugging Android startup problems, or possibly in getting very detailed specs of all chips used by the wing (neither of which I think this person would be able to obtain...). Did (s)he design the phone as it sounds like, or did (s)he actually work hardware/software? If (s)he worked on the hardware/software end of the phone in detail, that might be very useful to us in terms of getting specs and help porting.
I know at least some of the Dream software is proprietary -- I believe there's a library used for GSM radio communications that was developed by HTC and can't be distributed as open-source. Not sure if we'll need it or not, and if we do, we'll more than likely have to bargain / negotiate with HTC to try and get it. I don't want to do anything illegal in this, so if it isn't open source and we can't get it legally, I won't consider using it.
It might be interesting to find out what level of involvement (s)he had first.
CDR123
10th February 2009, 02:04 AM
whoa i cant believe how far you guys/gals have gotten so far keep up the good work
looking forward to android ;)
darkstar62
11th February 2009, 09:08 PM
It works! After a bit more mucking with the kernel and some writing of some scripts, I can now report that I have a working Android install!
Currently the only thing of real interest that works is the GUI -- the main home screen comes up and I can pull open the Apps folder (using the Enter key on the keyboard). Touch screen doesn't work, nor does data/wifi or pretty much anything else -- and it crashes a lot. But the important parts are in, it'll boot and run!
When I get home, I'll update the packages and kernel images I have in the other thread so you can all download and play with it. I'm going to try and get the touchscreen working tonight, so we can get a feel for more of what's working.
It occurred to me that once all this is working, it should be possible to bundle up the HaRET.exe, kernel, and an initramfs that upon loading would basically install Android to your SD card.
I'm figuring the following:
Upon first startup, the initramfs would mount your SD card and create two large files on it -- one for the root Linux filesystem, and one for the swap partition. This would allow us to have a nice partition scheme without actually needing to destructively repartition the card.
Once the "partitions" are created, scripts would extract the linux and android root filesystems to the image (from a storage location on your SD card).
After all that, a pivot_root call would be made to make the newly created linux filesystem the root, and normal bootup would occur, starting Android.
Optionally, kernel command line parameters (in the default.txt file) could be specified to prohibit launching Android and instead drop you to a console login
Subsequent bootups of the image would simply result in mounting the image and starting Linux.
This would make it pretty brain-dead easy to get Android on your phone, and if you wanted to delete it or move it somewhere else, you could -- all the data would be contained in a couple of files on the SD card.
Thoughts?
-d
ivanmmj
11th February 2009, 09:11 PM
It works! After a bit more mucking with the kernel and some writing of some scripts, I can now report that I have a working Android install!
Currently the only thing of real interest that works is the GUI -- the main home screen comes up and I can pull open the Apps folder (using the Enter key on the keyboard). Touch screen doesn't work, nor does data/wifi or pretty much anything else -- and it crashes a lot. But the important parts are in, it'll boot and run!
When I get home, I'll update the packages and kernel images I have in the other thread so you can all download and play with it. I'm going to try and get the touchscreen working tonight, so we can get a feel for more of what's working.
It occurred to me that once all this is working, it should be possible to bundle up the HaRET.exe, kernel, and an initramfs that upon loading would basically install Android to your SD card.
I'm figuring the following:
Upon first startup, the initramfs would mount your SD card and create two large files on it -- one for the root Linux filesystem, and one for the swap partition. This would allow us to have a nice partition scheme without actually needing to destructively repartition the card.
Once the "partitions" are created, scripts would extract the linux and android root filesystems to the image (from a storage location on your SD card).
After all that, a pivot_root call would be made to make the newly created linux filesystem the root, and normal bootup would occur, starting Android.
Optionally, kernel command line parameters (in the default.txt file) could be specified to prohibit launching Android and instead drop you to a console login
Subsequent bootups of the image would simply result in mounting the image and starting Linux.
This would make it pretty brain-dead easy to get Android on your phone, and if you wanted to delete it or move it somewhere else, you could -- all the data would be contained in a couple of files on the SD card.
Thoughts?
-d
That's the way that they did it on the vogue (http://www.myhtcphone.com/vogue-cab-installer)(more or less) and it works beautifully.
We could make it a cab file. And if you want, we can collaborate on making a stripped down ROM that automatically launches Android (which would be built in to it.)
darkstar62
11th February 2009, 09:13 PM
That's the way that they did it on the vogue (http://www.myhtcphone.com/vogue-cab-installer)(more or less) and it works beautifully.
We could make it a cab file. And if you want, we can collaborate on making a stripped down ROM that automatically launches Android (which would be built in to it.)
Yeah, that's pretty much exactly what I was thinking. A cab file would be excellent! That would alleviate the guess work for the initrd too as to where its system images are.
-d
ivanmmj
11th February 2009, 09:14 PM
Yeah, that's pretty much exactly what I was thinking. A cab file would be excellent! That would alleviate the guess work for the initrd too as to where its system images are.
-d
Which I think may be causing the white screen of death on my end.
chymnon
12th February 2009, 05:00 PM
It's amazing. I luv U, darkstar62 and ivanmmj :X
Black Hawk90
12th February 2009, 11:30 PM
do someone get it run? I only get an white screen :(
darkstar62
13th February 2009, 01:44 AM
do someone get it run? I only get an white screen :(
Hmm, that makes two. Can you describe what you see right before the white screen? Do you see scrolling text, or is the last thing you see "HTC WIZARD" before the white screen? Also, does the white fade in gradually or appear suddenly?
- d
ivanmmj
13th February 2009, 01:47 AM
Hmm, that makes two. Can you describe what you see right before the white screen? Do you see scrolling text, or is the last thing you see "HTC WIZARD" before the white screen? Also, does the white fade in gradually or appear suddenly?
- d
HTC Wizard and fade in my case.
darkstar62
13th February 2009, 01:53 AM
Can you both tell me what it says under "Processor" in your Settings->System->About screen in Windows? Also, are you running custom ROMs (ivanmmj, I know you are)?
Just as an FYI, I'm working on getting us all a sourceforge site for all this so we can stay organized. It'll be at:
https://sourceforge.net/projects/wing-linux/
once it's approved.
-d
N3xt2N0N3
13th February 2009, 05:20 AM
Can you both tell me what it says under "Processor" in your Settings->System->About screen in Windows? Also, are you running custom ROMs (ivanmmj, I know you are)?
Just as an FYI, I'm working on getting us all a sourceforge site for all this so we can stay organized. It'll be at:
https://sourceforge.net/projects/wing-linux/
once it's approved.
-d
Great no more scattered files LOL.
Black Hawk90
13th February 2009, 04:19 PM
Processor is: OMAP850-201MHz
and yes my Phone runs with an custom Rom.
The Last thing is saw befor the White screen is an Scroling Text (booting Linux) and the last enrty is: "Jumping to Kernel"
greatz
Black Hawk
//Edit: Is there an Video of running Android on an Wing? I want to know how fast it is :D
ivanmmj
13th February 2009, 04:32 PM
Can you both tell me what it says under "Processor" in your Settings->System->About screen in Windows? Also, are you running custom ROMs (ivanmmj, I know you are)?
Just as an FYI, I'm working on getting us all a sourceforge site for all this so we can stay organized. It'll be at:
https://sourceforge.net/projects/wing-linux/
once it's approved.
-d
I'm running the most current version of the unreleased JustStable. Before that, I was running an alpha version of the unreleased JustFlo which was based on Just2Clean. All are wm6.1 and at least 19558.
The Hardware is identical except for the keyboard. On WM ROMs, the only thing needed to make the ROM work perfectly is the correct keyboard driver (which contains different mappings.)
darkstar62
13th February 2009, 05:08 PM
Hmm...I'm starting to wonder if the use of custom ROMs is the common link here...
Can someone try booting either of the two kernels who's not using a custom ROM and let me know what happens? (Just grab the HaRET+zImage.zip file from the other thread, unzip it and run haret.exe.) Without following the rest of the instructions, you should get to a kernel panic about not being able to mount the root filesystem. If you get that far, Android should run for you. If you could then report back whether it worked or not, that'd be great.
Just for reference, on the back of my phone (underneath the battery) is the model number HERA110 -- is that common to everyone?
@Black Hawk90: I don't have a video yet of it -- not too much to see, really. All I can do right now is open and close the program folder and crash it a bunch of times. But it crashes fast! I'll see if I can make a video soon, along with everything else.
Black Hawk90
13th February 2009, 05:35 PM
With the Kernel of the other Theard, i come to HTC Wizard and then the White Screen fade in ... :(
ivanmmj
13th February 2009, 05:49 PM
Hmm...I'm starting to wonder if the use of custom ROMs is the common link here...
Can someone try booting either of the two kernels who's not using a custom ROM and let me know what happens? (Just grab the HaRET+zImage.zip file from the other thread, unzip it and run haret.exe.) Without following the rest of the instructions, you should get to a kernel panic about not being able to mount the root filesystem. If you get that far, Android should run for you. If you could then report back whether it worked or not, that'd be great.
Just for reference, on the back of my phone (underneath the battery) is the model number HERA110 -- is that common to everyone?
@Black Hawk90: I don't have a video yet of it -- not too much to see, really. All I can do right now is open and close the program folder and crash it a bunch of times. But it crashes fast! I'll see if I can make a video soon, along with everything else.
Maybe it's WM6.1 and its kernel?
darkstar62
13th February 2009, 05:54 PM
Maybe it's WM6.1 and its kernel?
Also a possibility. There might be a version of harat floating around that's useful for 6.1 (I thought mine was the latest, but I could be wrong).
Fenopy
13th February 2009, 07:03 PM
Hmm...I'm starting to wonder if the use of custom ROMs is the common link here...
Can someone try booting either of the two kernels who's not using a custom ROM and let me know what happens? (Just grab the HaRET+zImage.zip file from the other thread, unzip it and run haret.exe.) Without following the rest of the instructions, you should get to a kernel panic about not being able to mount the root filesystem. If you get that far, Android should run for you. If you could then report back whether it worked or not, that'd be great.
Just for reference, on the back of my phone (underneath the battery) is the model number HERA110 -- is that common to everyone?
@Black Hawk90: I don't have a video yet of it -- not too much to see, really. All I can do right now is open and close the program folder and crash it a bunch of times. But it crashes fast! I'll see if I can make a video soon, along with everything else.
My Phone has the HERA110 as well....
Are you running HardSPL?
Really, the current ROM shouldn't have anything to do with flashing Linux on...
xsdx
13th February 2009, 08:52 PM
I am using PDAVIET 20764.1.4.3.PV and I am able to boot all the way into linux.
When I launch start_android I see the android logo, the little robot flashes and it doesn't proceed further.
I don't think this is a wm 6.1 issue, most likely specific to their rom, or POSSIBLY their microSD card they are using?
darkstar62
13th February 2009, 08:52 PM
My Phone has the HERA110 as well....
Are you running HardSPL?
Really, the current ROM shouldn't have anything to do with flashing Linux on...
I'm not -- just using the stock ROM that came with my phone (WM6, not 6.1).
- d
Fenopy
13th February 2009, 09:19 PM
I'm not -- just using the stock ROM that came with my phone (WM6, not 6.1).
- d
HardSPL could be the issue then.
Because HardSPL is a Firmware flash that almost all of us are using...
I guess I don't know how to remove HardSPL, or even if we can.... -.-
ivanmmj? lolz
darkstar62
13th February 2009, 10:02 PM
I am using PDAVIET 20764.1.4.3.PV and I am able to boot all the way into linux.
When I launch start_android I see the android logo, the little robot flashes and it doesn't proceed further.
I don't think this is a wm 6.1 issue, most likely specific to their rom, or POSSIBLY their microSD card they are using?
If you're seeing the android logo, that's good news -- you'll be able to get it running. I haven't uploaded the most recent kernel and image which got me in -- I wanted to wait until the project page was up so I could have a better place to put everything (and so we can better collect our experiences). Now that it's been approved, I can start setting it up.
Are you on WM6.1 with HardSPL? If so, then I doubt that's the issue. It's *possible* that it's the SD card, but I tend to doubt that, since it never gets that far for the others...
The white screens I've heard described so far are happening at the time the jump is made into the kernel code. If no actual scrolling is seen before the white screen (but after the jump), that means the failure is occurring between kernel first instruction and the time the framebuffer is initialized (i.e. when the CPU and memory are being started).
I had issues with white screens when I was working on my kernels, but mainly after the framebuffer was initialized (I'd see some kernel text scroll by, but then the white screen). My issues were mainly bad/buggy drivers in the kernel that were loading at that point. I think what I'm hearing though is that the kernel isn't getting past CPU and memory initialization. But it would be useful to have more data.
Can everyone try this for me:
Try running the harat kernel alone (unzip the file from step 1 of the howto and just run harat).
Tell me what you see in as much detail as possible (i.e. what you see right before the white screen, how the white screen displays (i.e. fades in, suddenly white, etc.)). If you get a white screen, leave it that way for about a minute, and tell me if you see the screen change to grey. Also take a look at your keyboard LEDs at the time, and tell me if any of them are lit.
I'd also like to know if it boots for you (you'll get a kernel panic later in the boot sequence about a missing root partition -- that's a success in this case.)
For everyone that tries, can I have the following:
Model number listed on the back of your phone, underneath the battery (mine says HARA110)
Whether it's a T-Mobile Wing branded phone or an actual HTC Herald
Whether your phone is unlocked
What ROM you're using, if any, and what version of WM it is (6 or 6.1)
Whether you have wifi/bluetooth on at the time you attempt the boot (I've found it matters for me -- sometimes the SD card doesn't initialize right if the wifi is on)
What the "Processor:" part says in Settings->System->About
Whether you overclock your processor or not (and if so, what to)
What programs you might have running that alter the behavior of your hardware (i.e. wifi enhancement, special button software, etc) and what it does
Hopefully something in this data will help us track down the differences between the working and non-working phones.
- d
xsdx
14th February 2009, 12:22 AM
Yes, HardSPL, with WM 6.1. And, yes, you can remove HARDSPL, but you will want to make sure the rom you are using supports running non-HARDSPL.
Can wait to actually get IN to android. :)
Try running the harat kernel alone (unzip the file from step 1 of the howto and just run harat).
I can get in to linux all the way
I'd also like to know if it boots for you (you'll get a kernel panic later in the boot sequence about a missing root partition -- that's a success in this case.)
I can boot all the way. :)
Model number listed on the back of your phone, underneath the battery (mine says HARA110)
Same, HERA110
Whether it's a T-Mobile Wing branded phone or an actual HTC Herald
T-Mobile Wing
Whether your phone is unlocked
Unlocked (SIM and SPL) I was SIM unlocked using a code provided by Tmobile, SPL unlocked using YANG
What ROM you're using, if any, and what version of WM it is (6 or 6.1)
PDA-VIET 20764.1.4.3.PV
Whether you have wifi/bluetooth on at the time you attempt the boot (I've found it matters for me -- sometimes the SD card doesn't initialize right if the wifi is on)
WIFI/Bluetook OFF at boot time and also during launch of HARET
What the "Processor:" part says in Settings->System->About
OMAP850-201MHZ
Whether you overclock your processor or not (and if so, what to)
Not overclocked
What programs you might have running that alter the behavior of your hardware (i.e. wifi enhancement, special button software, etc) and what it does
Hmmm AEK for remapping keys, but it doesn't appear to make a difference if I am running it or not.
HTH!!
ivanmmj
14th February 2009, 02:49 AM
Are you on WM6.1 with HardSPL? If so, then I doubt that's the issue. It's *possible* that it's the SD card, but I tend to doubt that, since it never gets that far for the others...
WM6.1 with HardSPL
The white screens I've heard described so far are happening at the time the jump is made into the kernel code. If no actual scrolling is seen before the white screen (but after the jump), that means the failure is occurring between kernel first instruction and the time the framebuffer is initialized (i.e. when the CPU and memory are being started).
It looks like its loading something, then it says "Printing linux banner" then "HTC WIZARD" then it fades into white.
Try running the harat kernel alone (unzip the file from step 1 of the howto and just run harat).
What do you mean? It requires the default.txt file.
Tell me what you see in as much detail as possible (i.e. what you see right before the white screen, how the white screen displays (i.e. fades in, suddenly white, etc.)). If you get a white screen, leave it that way for about a minute, and tell me if you see the screen change to grey. Also take a look at your keyboard LEDs at the time, and tell me if any of them are lit.
As I mentioned above.
The keyboard lights don't turn on. The status light still shows the status.
The white screen goes "gray" only because the backlight gets dimmer.
[LIST] Model number listed on the back of your phone, underneath the battery (mine says HARA110)HERA110
[LIST]
Whether it's a T-Mobile Wing branded phone or an actual HTC Herald
T-Mobile Wing (a.k.a HTC Atlas.)
[LIST]
Whether your phone is unlocked
CID unlocked. SIM locked.
[LIST]
What ROM you're using, if any, and what version of WM it is (6 or 6.1)
My own personal unreleased ROM.
[LIST]
Whether you have wifi/bluetooth on at the time you attempt the boot (I've found it matters for me -- sometimes the SD card doesn't initialize right if the wifi is on)
I've tried both on and off.
[LIST] What the "Processor:" part says in Settings->System->About
OMAP850-201MHz
[LIST]
Whether you overclock your processor or not (and if so, what to)
No.
[LIST]
What programs you might have running that alter the behavior of your hardware (i.e. wifi enhancement, special button software, etc) and what it does
Trayicon for the vibrate on button function.
I also have TouchResponce for the vibrate on touching the screen response.
[/INDENT]
Fenopy
14th February 2009, 03:01 AM
Can everyone try this for me:
Try running the harat kernel alone (unzip the file from step 1 of the howto and just run harat).
Tell me what you see in as much detail as possible (i.e. what you see right before the white screen, how the white screen displays (i.e. fades in, suddenly white, etc.)). If you get a white screen, leave it that way for about a minute, and tell me if you see the screen change to grey. Also take a look at your keyboard LEDs at the time, and tell me if any of them are lit.
I'd also like to know if it boots for you (you'll get a kernel panic later in the boot sequence about a missing root partition -- that's a success in this case.)
For everyone that tries, can I have the following:
Model number listed on the back of your phone, underneath the battery (mine says HARA110)
Whether it's a T-Mobile Wing branded phone or an actual HTC Herald
Whether your phone is unlocked
What ROM you're using, if any, and what version of WM it is (6 or 6.1)
Whether you have wifi/bluetooth on at the time you attempt the boot (I've found it matters for me -- sometimes the SD card doesn't initialize right if the wifi is on)
What the "Processor:" part says in Settings->System->About
Whether you overclock your processor or not (and if so, what to)
What programs you might have running that alter the behavior of your hardware (i.e. wifi enhancement, special button software, etc) and what it does
Hopefully something in this data will help us track down the differences between the working and non-working phones.
- d
I formatted my SD-Card EXACTLY as you stated (Had some problems, but then I tossed my 64-Bit Ubuntu disc and used x86, worked perfect)
Rebooted to my ROM
Ran HaRAT.exe
The 3 Lines of words came up (Wizard etc...)
then it slowly faded out to a white screen
It would not pass the white screen (I waited 10 min)
Model: HARA110
Brand: T-Mobile Wing
Phone Status: Locked to T-Mobile
ROM: ivanmmj's Just2Clean WM6.1
SPL: HardSPL
Additional Utilities: Bluetooth/Data Connection
Processor: OMAP850-201MHZ
Overclock: Overclocked to 273 MHZ
Additional Programs: None Running - Today Plugins: HTC Home, SPB Diary
I am going to try again in Airplane Mode soon....
May Put stock ROM on as well
EDIT:
Airplane Mode + No Today Plugins
No Luck. Same Screen.
Going to Flash Stock ROM now...
Hope I have some Luck.
ivanmmj
14th February 2009, 03:10 AM
I wonder if it's something to do with one of the things I strip from my ROMs? Perhaps sqlmobile or enterprise?
Fenopy
14th February 2009, 03:25 AM
I wonder if it's something to do with one of the things I strip from my ROMs? Perhaps sqlmobile or enterprise?
I don't think so...
I just put on the T-Mobile Stock ROM....
Exact same issue.
Seems like HardSPL is causing the Problem to me...
Yes, HardSPL, with WM 6.1. And, yes, you can remove HARDSPL, but you will want to make sure the rom you are using supports running non-HARDSPL.
How?
I can't find anything that supports going back to SoftSPL...
At least to try it...
ivanmmj
14th February 2009, 09:28 AM
I don't think so...
I just put on the T-Mobile Stock ROM....
Exact same issue.
Seems like HardSPL is causing the Problem to me...
How?
I can't find anything that supports going back to SoftSPL...
At least to try it...
Use USPL to flash the stock RUU with stock SPL and all.
Black Hawk90
14th February 2009, 12:47 PM
HTC Herald Model number HARA 160
Gullums Rom with Manilla - Windows Mobile 6.1 Professional CE OS 5.2.20755
No Bluetooth or Wifi was on
Processor: OMAP850-201MHz
It looks like its loading something, then it says "Printing linux banner" then "HTC WIZARD" then it fades into white.
Fenopy
14th February 2009, 06:52 PM
Use USPL to flash the stock RUU with stock SPL and all.
Oh... Well I did that... Didn't work.
Stock ROM, No changes, No Radios on.
Then I had a HELL OF A TIME putting Just2Clean back on.... Kinda forgot I upgraded my SDCard and needed my 2GB card to Flash... Apparently HardSPL doesn't support SDHC... lolz
darkstar62
14th February 2009, 07:28 PM
OK, I'm beginning to think it isn't anything in the ROMs. There must just be a slight variation in our phones that's causing this (and possibly buggy drivers in Linux).
I'd like to try and build a minimalist kernel to see if we can isolate the issue -- I know from all of your responses now that either the kernel isn't even starting (which I doubt), or one of the many drivers that starts before the framebuffer is initialized is causing the problems.
I'll try disabling all drivers that load before the framebuffer (except the required, CPU and memory) and issue that out. Hopefully that'll work, and we can begin to figure out which driver(s) are causing the problem.
I want to get the project page a bit more complete first though. Take a look:
http://wing-linux.sourceforge.net
If you'd like to be on the development team, lemme know and I'll add you to the project -- you'll need to create a sourceforge account first.
More to come.
-d
Kuuf
15th February 2009, 12:30 PM
http://wing-linux.sourceforge.net
If you'd like to be on the development team, lemme know and I'll add you to the project -- you'll need to create a sourceforge account first.
-d
What do you want the developers to do?
I'd like to participate, but I can't develop drivers or so.
I do know several programming languages.
So if you think I can be of any use, sign me up :)
darkstar62
16th February 2009, 02:26 AM
What do you want the developers to do?
I'd like to participate, but I can't develop drivers or so.
I do know several programming languages.
So if you think I can be of any use, sign me up :)
There's several ways you can contribute:
Maintain the website
Track down hardware and chipset documentation for our phone
Work on an initramfs capable of mounting a linux root filesystem from a file on an existing Windows (vfat) SD card (to avoid needing to repartiton)
Work on a way to automate building the kernel and root filesystem from source (I'm working this right now, but could use help. OpenEmbedded is a complicated beast!)
Work on finding a kernel configuration that will work for everyone (i.e. try and get everyone whose phones give them the white screen of death working)
If you can boot into Android, you can work on getting more things working, like the touchscreen (I'll post the most recent kernel image and rootfs that has this -- I need to do this anyway)
There's probably other things I'm missing, so if you have something you'd like to contribute, lemme know. Some of the stuff above will require some programming and/or shell scripting, but no kernel or driver development should be necessary for those.
-d
darkstar62
16th February 2009, 02:47 AM
Alright, I've uploaded a new kernel for you all to try. this more than likely won't help those with the white screen problem, but it should allow everyone else to get into Android.
Download these files:
http://dl.getdropbox.com/u/198699/android/zImage6
http://dl.getdropbox.com/u/198699/android/start_android
Copy the zImage6 file to your HaRet directory. You'll need to modify your default.txt file to point to it. The other file should be copied to the root of your storage card.
Once you've booted in, run the following:
# cd ..
# cp mnt/windows/start_android bin
# chmod 755 bin/start_android
# rm -rf android/dev
Remember to use the Tab button for '/'.
Once that's done, run start_android to get in. With any luck, you'll see the main GUI.
Lemme know what happens. I'll try to get a minimal kernel out soon (if anyone would like to head that off, that would be great!)
- d
ivanmmj
16th February 2009, 04:09 AM
Work on an initramfs capable of mounting a linux root filesystem from a file on an existing Windows (vfat) SD card (to avoid needing to repartiton)
[/LIST]
I believe this already exists for the Vogue. Can we just use theirs?
darkstar62
16th February 2009, 04:26 AM
I believe this already exists for the Vogue. Can we just use theirs?
Probably, to a certain extent. I didn't see any source code downloads for the initrd, so we may need to contact the developer for it as to getting that. Also not sure how he licensed it, so we may need to develop our own.
ivanmmj, is that something you're interested in heading off?
ivanmmj
16th February 2009, 08:51 AM
Probably, to a certain extent. I didn't see any source code downloads for the initrd, so we may need to contact the developer for it as to getting that. Also not sure how he licensed it, so we may need to develop our own.
ivanmmj, is that something you're interested in heading off?
Developing one won't be an option for me, as I can't program worth crap. But as far as taking to the developer, I will try to contact him.
alongenemylines
16th February 2009, 05:44 PM
I highly doubt it has anything to do with your roms Ivan. I've been running Just2Me LZX, with no issues booting into linux using haret.
some people tryig to boot in with fat roms could be running out of ram, forcing linux to use the swap partition on the sd card, which would be very very very slow.
xsdx
16th February 2009, 07:05 PM
Alright, I've uploaded a new kernel for you all to try. this more than likely won't help those with the white screen problem, but it should allow everyone else to get into Android.
Download these files:
http://dl.getdropbox.com/u/198699/android/zImage6
http://dl.getdropbox.com/u/198699/android/start_android
Copy the zImage6 file to your HaRet directory. You'll need to modify your default.txt file to point to it. The other file should be copied to the root of your storage card.
Once you've booted in, run the following:
# cd ..
# cp mnt/windows/start_android bin
# chmod 755 bin/start_android
# rm -rf android/dev
Remember to use the Tab button for '/'.
Once that's done, run start_android to get in. With any luck, you'll see the main GUI.
Lemme know what happens. I'll try to get a minimal kernel out soon (if anyone would like to head that off, that would be great!)
- d
I was able to follow these steps and get into android. I see the clock and the buttons, but i can't proceed from there. I am pretty sure its locked as the clock never changes and the only way out of it is to reset my wing.
I am amazed so far!! Can't wait to see where this goes!
darkstar62
16th February 2009, 07:35 PM
@xsdx: Sweet! Glad to hear it works for you!
@alongenemylines: Running out of memory could very well be a problem...I doubt swap memory would even come into play though, since it sounds like the kernel isn't even getting that far.
I'm working on creating a new development environment using OpenEmbedded that should allow us to build everything from source. I'll try and build a stripped-down kernel today too for you all to try.
I've got the project page all set up now, so we can start moving things to there:
http://wing-linux.sourceforge.net
Feel free to post bugs and make posts in the forums -- that's what they're there for :)
You'll need to get a sourceforge account (free) to post, but it's easy to do.
darkstar62
17th February 2009, 04:43 AM
OK, here's a stripped down kernel. If you're experiencing white-screen problems, give this a go:
http://dl.getdropbox.com/u/198699/android/zImage6_small1
Put it in the same directory as your HaRet.exe file, and remember to modify your default.txt file to point to it. Lemme know if it boots for you -- if so, we can start adding back features until we track it down.
Lemme know how it works for you -- if all goes well, you should be able to run android with this kernel (with no reduced functionality). The kernel works for me, so everyone that has it working already should still have that with this kernel.
Good luck.
Fenopy
17th February 2009, 11:54 AM
OK, here's a stripped down kernel. If you're experiencing white-screen problems, give this a go:
http://dl.getdropbox.com/u/198699/android/zImage6_small1
Put it in the same directory as your HaRet.exe file, and remember to modify your default.txt file to point to it. Lemme know if it boots for you -- if so, we can start adding back features until we track it down.
Lemme know how it works for you -- if all goes well, you should be able to run android with this kernel (with no reduced functionality). The kernel works for me, so everyone that has it working already should still have that with this kernel.
Good luck.
Still White screening... *tear*
BTW, how long does it normally take to load? Like should i be waiting longer when it whitescreens? (I usually wait 2 min or so)
ivanmmj
17th February 2009, 02:01 PM
OK, here's a stripped down kernel. If you're experiencing white-screen problems, give this a go:
http://dl.getdropbox.com/u/198699/android/zImage6_small1
Put it in the same directory as your HaRet.exe file, and remember to modify your default.txt file to point to it. Lemme know if it boots for you -- if so, we can start adding back features until we track it down.
Lemme know how it works for you -- if all goes well, you should be able to run android with this kernel (with no reduced functionality). The kernel works for me, so everyone that has it working already should still have that with this kernel.
Good luck.
Still whitescreening, unfortunately.
Maybe it IS the RAM... I'm gonna try to strip the ROM to get more RAM and see if it still crashes.
darkstar62
17th February 2009, 04:32 PM
Still White screening... *tear*
BTW, how long does it normally take to load? Like should i be waiting longer when it whitescreens? (I usually wait 2 min or so)
Nuts...On my phone at least, when you see "HTC HERALD", it stays there for about half a second, then a bunch of scrolling text as the kernel boots. The screen reorients to landscape at that point too. A full bootup should take just a few seconds.
Still whitescreening, unfortunately.
Maybe it IS the RAM... I'm gonna try to strip the ROM to get more RAM and see if it still crashes.
Good luck. I'm more starting to suspect the OMAP850 driver I'm using...could be something weird with the configuration. I'll try and build another one tonight with a different configuration. Maybe it would be useful to sync with the linwizard project again, pick up their latest changes.
- d
ivanmmj
17th February 2009, 06:12 PM
Nuts...On my phone at least, when you see "HTC HERALD", it stays there for about half a second, then a bunch of scrolling text as the kernel boots. The screen reorients to landscape at that point too. A full bootup should take just a few seconds.
Good luck. I'm more starting to suspect the OMAP850 driver I'm using...could be something weird with the configuration. I'll try and build another one tonight with a different configuration. Maybe it would be useful to sync with the linwizard project again, pick up their latest changes.
- d
It's not the RAM. I cleared up 25MB and I'm still getting the same issue.
I've noticed that sometimes when I softreset after the screen goes white, I can see the boot text for a split second.
darkstar62
17th February 2009, 07:11 PM
I've got something I'd like you all to try posted under the bug for the white screen problem:
https://apps.sourceforge.net/trac/wing-linux/ticket/1#comment:3
Please give it a go and post back there with your results. I'd like to start moving the conversation there more, so we have a good cohesive record of all we've tried.
Thanks
- d
Fenopy
17th February 2009, 08:41 PM
I've got something I'd like you all to try posted under the bug for the white screen problem:
https://apps.sourceforge.net/trac/wing-linux/ticket/1#comment:3
Please give it a go and post back there with your results. I'd like to start moving the conversation there more, so we have a good cohesive record of all we've tried.
Thanks
- d
log posted :)
i dont really know how to debug linux, but with my programming experience, i dont really see an error in there... but maybe you can compare it to your own logs...
ivanmmj
17th February 2009, 09:07 PM
Posted as a reply on that page.
darkstar62
17th February 2009, 09:15 PM
Posted as a reply on that page.
...and replied back. :) Shall we continue this discussion there?
- d
ivanmmj
17th February 2009, 09:17 PM
...and replied back. :) Shall we continue this discussion there?
- d
Definitively.
quicksite
18th February 2009, 02:40 AM
http://i169.photobucket.com/albums/u210/quicksite/forum%20uploads/Picture1252.png (http://www.youtube.com/watch?v=QBbu_FR6XPU)
VIEW YouTube (http://www.youtube.com/watch?v=QBbu_FR6XPU) Video: from SlashGear (http://www.youtube.com/user/SlashGear)
from androidcommunity.com, today, Feb 17, 2009: (http://androidcommunity.com/htc-magic-android-phone-hands-on-20090217/)
http://i169.photobucket.com/albums/u210/quicksite/forum%20uploads/Picture1250.png (http://androidcommunity.com/htc-magic-android-phone-hands-on-20090217/)
HTC Magic Android phone, hands-on
(http://androidcommunity.com/htc-magic-android-phone-hands-on-20090217/)Posted on 17 February 2009 by Vincent Nguyen (http://androidcommunity.com/author/vincent/)
We know we said that HTC weren’t allowing live shots or video of the HTC Magic, but we couldn’t leave it at that. Non-final hardware or not, we know you guys are as excited by the Magic as we are, and still want to see it. Hands-on, the HTC Magic is everything the G1 was not: thin and lightweight, with none of the bulk G1 owners have complained about.
http://i169.photobucket.com/albums/u210/quicksite/forum%20uploads/Picture1251.png (http://androidcommunity.com/htc-magic-android-phone-hands-on-20090217/)
It also has more RAM - 192MB - so it should run quicker and be able to multitask more comfortably than the G1. The on-screen keyboard - which is only available in portrait orientation, not landscape - has letters which pop-up when you press them, as on the iPhone, which makes text entry much easier.In the non-final hardware we’ve played with, the key change are the hardware buttons on the HTC Magic’s “chin” section. The prototype has thin, sliver-style keys running under the capacitive touchscreen, together with a single button (”Menu”) to the left of the trackball. The final hardware will have four square keys under the screen, with functions switched around to leave call send/end on keys either side of the trackball.
According to Vodafone Spain, the HTC Magic will be priced between 99 Euro and 199 Euro when it launches. Still no word on pricing outside of Spain, nor when the HTC Magic will be available in the US.
We’ve got a full 1-on-1 hands-on session with the Vodafone HTC Magic tomorrow, so expect plenty more photos and footage after that!
N3xt2N0N3
18th February 2009, 03:31 AM
Updated Post #4 as Current Status.
Can anyone take photos of the boot up?
ivanmmj
18th February 2009, 06:51 PM
I talked to dzo and his initrd is open source. He basically just took the Android initrd and added a couple of scripts to set up the modem and mount the filesystem from the card. (Instead of having to partition the card.)
darkstar62
19th February 2009, 01:32 AM
Sweet. We're making progress with the white-screen issue too.
N3xt2N0N3: I'd take some, but my camera is acting up on me... :(
MVrah
19th February 2009, 06:19 AM
Alright, I've uploaded a new kernel for you all to try. this more than likely won't help those with the white screen problem, but it should allow everyone else to get into Android.
Download these files:
http://dl.getdropbox.com/u/198699/android/zImage6
http://dl.getdropbox.com/u/198699/android/start_android
Copy the zImage6 file to your HaRet directory. You'll need to modify your default.txt file to point to it. The other file should be copied to the root of your storage card.
Once you've booted in, run the following:
# cd ..
# cp mnt/windows/start_android bin
# chmod 755 bin/start_android
# rm -rf android/dev
Remember to use the Tab button for '/'.
Once that's done, run start_android to get in. With any luck, you'll see the main GUI.
Lemme know what happens. I'll try to get a minimal kernel out soon (if anyone would like to head that off, that would be great!)
- d
thanx for this i press the keys and the volume, camera,and the home key seems to work but they display a sorry message say activity home(in process ...... and the force close / wait. and also when the screen reload the clock tends to change
i think will have android run well very quickly
mpc8248
25th February 2009, 04:57 PM
Hello developers !
I tryed it on the prophet but the kernel couldn't mount /dev/mmcblk0p3 .. I formatted a SD and a MMC ..always the same... kernel could find filesystem. Is there such a difference between herald and prophet ? I thought the serial interface is part of SoC from omap850. Flash and RAM size is the same. Can anyone give me the make menuconfig files for herald default setup ?
where can i download the toolchain for export CROSS_COMPILE= ? and export ARCH= ? for this ARM9
At the moment i do svn co https://wing-linux.svn.sourceforge.net/svnroot/wing-linux wing-linux ...
darkstar62
25th February 2009, 05:50 PM
Hello developers !
I tryed it on the prophet but the kernel couldn't mount /dev/mmcblk0p3 .. I formatted a SD and a MMC ..always the same... kernel could find filesystem. Is there such a difference between herald and prophet ? I thought the serial interface is part of SoC from omap850. Flash and RAM size is the same. Can anyone give me the make menuconfig files for herald default setup ?
where can i download the toolchain for export CROSS_COMPILE= ? and export ARCH= ? for this ARM9
At the moment i do svn co https://wing-linux.svn.sourceforge.net/svnroot/wing-linux wing-linux ...
I've been using a toolchain I built using OpenEmbedded (http://www.openembedded.org). There's other toolchains you can get too, like CodeSourcery's ARM toolchain:
http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite
(Get the EABI one.) Once you have that, you can get the default herald config with:
make ARCH=arm htcherald_defconfig
Then you can go straight to building, or modify the config as you please.
As to the memory card issue...If you partitioned your card like it states in the INSTALL file, it should work...Take a look at the output next time you boot. You should see a line akin to:
p1 p2 p3
If you see that, it's finding all the partitions on the card. If instead you get a lot of MMC timeout errors, you'll need to reboot. I've particularly had problems booting when WIFI is enabled, so make sure that's disabled before you boot. Not sure how different the two phones are, but I would think with an OMAP850, the SD card controllers would be the same. Since you're getting that far, it seems likely that you'll have luck with that.
Good luck.
apathetic
26th February 2009, 08:02 PM
Use Asergs remove hardspl it is the ONLY one that worked on 3 wings for me.
Oh... Well I did that... Didn't work.
Stock ROM, No changes, No Radios on.
Then I had a HELL OF A TIME putting Just2Clean back on.... Kinda forgot I upgraded my SDCard and needed my 2GB card to Flash... Apparently HardSPL doesn't support SDHC... lolz
ivanmmj
26th February 2009, 11:07 PM
I haven't heard from darkstar62 in over a week...:(
darkstar62
26th February 2009, 11:57 PM
I haven't heard from darkstar62 in over a week...:(
I'm still here. :) Things just slowed down a bit. Getting the development and testing environment assembled is proving harder than I was hoping, and I've found myself with less free time lately.
My end goal is to be able to build a distro (Wing Linux I'm calling it) using OpenEmbedded that can be copied straight to our phones and booted, with software for debugging, launching Android, etc. I've so far got all the apps compiling, but assembling the image is failing.
Hopefully something will happen soon -- don't lose hope, I haven't stopped working on it :) I'd be glad to share what I've got if someone would like to pick up this part too -- just a few extra build recipes and a config file addition to the development OE distribution. Check out http://www.openembedded.org if you're interested in that, and lemme know -- I'll pass what I have along.
- d
chymnon
27th February 2009, 06:15 AM
Thanks you, darkstar62. Keep going ^ ^
Black Hawk90
4th March 2009, 10:07 PM
Any Updates?
darkstar62
6th March 2009, 04:22 PM
Any Updates?
Nothing yet. I'm attempting to compile the Ångstrom distribution with our kernel. It's a much more feature-rich Linux distribution for mobile devices, and it should afford us most everything we need to debug.
Also, it has Opie, which is a rather nice graphical touchscreen interface. Not android, but still useful.
Just need to get some time...maybe this weekend.
- d
darkstar62
9th March 2009, 05:46 AM
Alright, here's an update.
I managed to get the stable version of the Angstrom distribution (http://www.angstrom-distribution.org) compiled for the Wing. It includes a Debian-style package manager, along with a nice graphical interface. Additionally, I've got tools for manipulating the I2C and GPIO busses, that will hopefully allow me to debug the whitescreen problems many of you are seeing.
I also compiled a new kernel that includes some additional functionality, as well as a working LED driver for the two leds at the top and the keyboard backlight. The vibrator works too, as well as the screen backlight (I2C manipulation manually only so far).
I created a tool to allow us to read and write the GPIOs on the CPU, so that should help us in getting things like bluetooth and wireless working (later on). I did find a bunch of I2C commands that cause and restore white-screen condition, so I'm hoping one of them fixes the problems we've had.
There's a root filesystem image for it all at:
http://dl.getdropbox.com/u/198699/linux_wing/image.tar.gz
The kernel can be found here:
http://dl.getdropbox.com/u/198699/linux_wing/zImage11
You'll need a Linux filesystem with about 300mb free on your SD card to install it. Here's what you need to do to install it (you'll need a Linux system for this, and I'm assuming you've already installed a linux system on your SD card. If not, download and install the image in the downloads section of http://wing-linux.sourceforge.net first):
Grab your SD card and attach it to your computer (through a reader or some other way)
Mount the 3rd partition (your Linux root partition). I'll assume the card is mounted at /media/disk.
Delete everything in it:
cd /media/disk
sudo rm -rf *
Untar the image.tar.gz file to your SD card. I'll assume the file is in $HOME:
cd /media/disk
sudo tar -xzvf $HOME/image.tar.gz
Unmount your SD card and return it to your phone.
As for the kernel, copy that to the directory your haret.exe file lives in and modify your default.txt file accordingly. The file should contain:
set MTYPE 1229
set KERNEL "zImage11"
set CMDLINE "debug psplash=false loglevel=7 root=/dev/mmcblk0p3 init=/sbin/init console=tty0 video=omapfb:accel fbcon=rotate:3"
log "earlylog.txt"
bootlinux
Once you've done all that, you should be able to boot Angstrom. This alone won't fix the white-screen problems you're seeing, but it'll give us the tools to try and debug it better (and you get a much more powerful linux environment to work with). The image also includes the Android sources, and the startAndroid and kill_android scripts which you can use to start android.
You should be able to ssh in to the phone the same way you have before, through the USB cable. The username and password are the same: root, and wing.
If you can't ssh in, try booting with the previous kernel you were using (just change the "set KERNEL" line back to what it was) -- angstrom should work fine with it, but the LED support won't be present.
Now, assuming all that goes well, try running the following commands (from your Linux computer):
ssh root@10.100.0.1
<enter the password>
That will log you into the phone. The commands after that will manipulate the hardware in your phone. Type each one one at a time, observing what happens to the phone. With any luck, one of them will restore your screen, and you'll see the Angstrom user interface:
i2cset -y 1 0x2f 0x70 0x01
i2cset -y 1 0x30 0x8e 0x01
i2cset -y 1 0x32 0xb0 0x01
You can also try some of these (won't do anything for the white-screen, but should produce some interesting results):
# Turn the slide-out keyboard light on
i2cset -y 1 0x30 0x8f 0x01
# Make the screen backlight dim
i2cset -y 1 0x30 0x89 0x01
# Make the screen backlight bright again
i2cset -y 1 0x30 0x8e 0x01
# Turn on the caps lock LED on
i2cset -y 1 0x30 0xae 0x01
# Turn on the vibrator
i2cset -y 1 0x32 0xb8 0x01
# The off the vibrator
i2cset -y 1 0x32 0xb0 0x01
Lemme know if any of that works for you (and which command did it). Hopefully one of the commands helps -- we can then take that and integrate it into the kernel so it gets applied at boot.
quicksite
10th March 2009, 03:29 AM
Alright, here's an update.
I managed to get the stable version of the Angstrom distribution (http://www.angstrom-distribution.org) compiled for the Wing.... This alone won't fix the white-screen problems you're seeing, but it'll give us the tools to try and debug it better... Hopefully one of the commands helps -- we can then take that and integrate it into the kernel so it gets applied at boot.
darkstar -- and all developers on this project -- I find all of this so inspiring, the sheer determination to make this work, and the slow-but-sure chipping away daily the various roadblocks and obstacles. This is the software entrepreneurial spirit I love to see; it's like artists and musicians at work.
I'm NOT a developer (am a usability/ information designer), but I would like to make a donation to your, darkstar, as a little contribution. Please tell me where to send a paypal donation.
Thank you,
/quicksite
darkstar62
10th March 2009, 04:25 AM
darkstar -- and all developers on this project -- I find all of this so inspiring, the sheer determination to make this work, and the slow-but-sure chipping away daily the various roadblocks and obstacles. This is the software entrepreneurial spirit I love to see; it's like artists and musicians at work.
I'm NOT a developer (am a usability/ information designer), but I would like to make a donation to your, darkstar, as a little contribution. Please tell me where to send a paypal donation.
Thank you,
/quicksite
I'm happy to do what I can, and I echo the sentiment towards everyone who's helped get us this far. I have a passion for Linux, so getting it running on our phones is just icing on the cake. :) Being able to release our work back to the community makes it all that much better.
There's a donate button on the wing-linux homepage (http://wing-linux.sourceforge.net) that you can use. Some of your donation goes to Sourceforge to help maintain their site, so I would highly recommend you go that route, since they're providing us with a free service.
Your contribution is much appreciated. It'll help keep the project rolling along. :)
ivanmmj
10th March 2009, 05:48 PM
I'm not sure what I'm doing wrong (I'm gonna redo everything from scratch) but it won't boot with either kernel (It doesn't let me log in and reboot the system from the white screen OR ssh to it.)
darkstar62
10th March 2009, 06:24 PM
I'm not sure what I'm doing wrong (I'm gonna redo everything from scratch) but it won't boot with either kernel (It doesn't let me log in and reboot the system from the white screen OR ssh to it.)
Angstrom boots into a graphical environment by default, so the normal log-in and reboot blind won't work in that case.
You can try changing the "init=" parameter to "init=/sbin/sh" to the beginning of your CMDLINE in the default.txt file -- that instructs it to boot to emergency console mode. You should be able then to type "reboot" to directly reboot (no log-in necessary that way). If you want to then use the USB, you'll need to reboot and change the init= parameter back to what it was ("init=/sbin/init").
Lemme know if that doesn't work. Angstrom takes a bit longer to start up than the other system, so you may have to wait a while before the USB will become functional.
xsdx
11th March 2009, 06:23 AM
I have the same issue.. neither kernel will boot with the new root fs.
I have waited quite a while and USB is active, but it doesn't respond to pings nor does ssh ever become active...
am I missing something?
darkstar62
11th March 2009, 06:32 AM
OK, I guess something weird is going on with the image...
New plan: Try this kernel:
http://dl.getdropbox.com/u/198699/linux_wing/zImage20
You need to change your MTYPE to 1232 to use it -- I've created new machine configurations for us now, so we get our own number.
This kernel includes automatic resets for the I2C bus to set it to what I was hoping to accomplish with the other commands. Angstrom may still not boot with it, but at least we'll know if the resets accomplish bringing back a usable screen. It also includes other goodies like LED support and backlight controls.
Lemme know how that works.
- d
xsdx
11th March 2009, 04:36 PM
I get the same thing with this kernel and the mtype changed as mentioned.
Just to be clear, the kernel IS booting but a shell is never spawned. I see the penguin, the screen fades to white, flashes to black and the kernel text scrolls across the screen. its too fast to read but the final text shown is:
EXT3-fs: recoverty complete
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted rood (ext3 filesystem)
Freeing init memory: 128K
INIT: version 2.86 booting
INIT: cannot execute "/etc/init.d/rcS"
INIT: Entering runlevel: 5
INIT: cannot execute "/etc/init.d/rc"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
and when I plug in my usb cable:
udc: USB reset done, gadget ether
udc: USB reset done, gadget ether
usb0: full speed config #1: 100 mA, Ethernet Gadget, using CDC Ethernet
The device doesnt' respond to anything when i press buttons on the keypad and requires a reset to get it back. I have re-formatted my root partition a couple of times to make sure everything was set up right and untarred the root tarball in place.
ivanmmj
11th March 2009, 04:47 PM
OK, I guess something weird is going on with the image...
New plan: Try this kernel:
http://dl.getdropbox.com/u/198699/linux_wing/zImage20
You need to change your MTYPE to 1232 to use it -- I've created new machine configurations for us now, so we get our own number.
This kernel includes automatic resets for the I2C bus to set it to what I was hoping to accomplish with the other commands. Angstrom may still not boot with it, but at least we'll know if the resets accomplish bringing back a usable screen. It also includes other goodies like LED support and backlight controls.
Lemme know how that works.
- d
With which root file system am I supposed to run this? The original, the Android or the Armstrong?
darkstar62
11th March 2009, 05:00 PM
Ack, I'm stupid! I forgot to include the /bin directory in the distribution...No wonder it isn't working for anyone!
@xsdx: Thanks a lot for that -- would've been a lot harder to debug (unless I tried it on my own phone...oops!)
I've attached the bin directory -- it's a zip file that contains a tar.gz file (the board won't let me upload a .tar.gz, and I can't get to my Dropbox account from work anymore :(). Untar that to your SD card over top of what's already there. Things should start working after that.
Remember to use "sudo" to untar as root, so permissions are maintained.
- d
darkstar62
11th March 2009, 05:02 PM
With which root file system am I supposed to run this? The original, the Android or the Armstrong?
Doesn't much matter -- what I'm looking to see is that after a second or two in the kernel, the framebuffer is restored. If you can read a kernel panic from not being able to boot the root filesystem, that's an improvement. Then you can use whatever filesystem you want to and things should be good.
If you say stuck at whitescreen, we've still got work to do.
- d
xsdx
11th March 2009, 05:39 PM
Thanks! I don't have a linux machine to do this at work so I will try it later tonight and let you know.
ivanmmj
11th March 2009, 06:31 PM
Ok, so after setting up the bin, I can finally get SOME sort of aknowledgement from my laptop that the phone exists.
But when I try to SSH to it, I get the following:
root@ivan-laptop:~# ssh root@10.100.0.1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
f9:65:74:ae:4f:e7:33:f5:b5:f8:76:c4:71:3a:b4:ce.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 10.100.0.1 has changed and you have requested strict checking.
Host key verification failed.
EDIT: Nevermind, my fault. I fixed that easily enough.
Now off to test.
ivanmmj
11th March 2009, 06:37 PM
Now I always get:
Warning - write failed
Warning - data mismatch - wrote 0x01, read back 0xff
And although I can control the dimming and the screen stopped making a high pitch noise, it's still white.
I'm going to try the newer kernel you released.
darkstar62
11th March 2009, 06:41 PM
Now I always get:
Warning - write failed
Warning - data mismatch - wrote 0x01, read back 0xff
And although I can control the dimming and the screen stopped making a high pitch noise, it's still white.
I'm going to try the newer kernel you released.
Yeah, those warnings are normal. The chips don't behave quite like i2cset is expecting.
I didn't know you were hearing high-pitched noises...crazy
- d
ivanmmj
11th March 2009, 07:00 PM
Yeah, those warnings are normal. The chips don't behave quite like i2cset is expecting.
I didn't know you were hearing high-pitched noises...crazy
- d
I'm still seeing a white screen. I can control the backlighting, and the high pitch noise is back to normal (the level you would hear in windows) and I can SSH to it, but I still have a white screen with both the 11 and 20 kernels.
darkstar62
11th March 2009, 07:22 PM
I'm still seeing a white screen. I can control the backlighting, and the high pitch noise is back to normal (the level you would hear in windows) and I can SSH to it, but I still have a white screen with both the 11 and 20 kernels.
OK, try these commands:
i2cset -y 1 0x3 0x84 0x01
i2cset -y 1 0x3 0x04 0x01
i2cset -y 1 0x4 0x0e 0x01
i2cset -y 1 0x4 0x1e 0x01
i2cset -y 1 0x4 0x4e 0x01
i2cset -y 1 0x4 0x5e 0x01
i2cset -y 1 0x4 0x9e 0x01
i2cset -y 1 0x4 0xce 0x01
i2cset -y 1 0x4 0xde 0x01
i2cset -y 1 0x5 0x00 0x01
i2cset -y 1 0x5 0x80 0x01
i2cset -y 1 0x5 0x01 0x01
i2cset -y 1 0x5 0x81 0x01
i2cset -y 1 0x6 0x00 0x01
i2cset -y 1 0x6 0x01 0x01
i2cset -y 1 0x6 0x03 0x01
i2cset -y 1 0x6 0x23 0x01
i2cset -y 1 0x6 0x63 0x01
i2cset -y 1 0x6 0xa3 0x01
i2cset -y 1 0x6 0xe3 0x01
These toggle all the unknown bits in various combinations on all the chips. Maybe one of them has an effect on your phone. You can do this with either kernel.
- d
ivanmmj
11th March 2009, 07:30 PM
OK, try these commands:
i2cset -y 1 0x3 0x84 0x01
i2cset -y 1 0x3 0x04 0x01
i2cset -y 1 0x4 0x0e 0x01
i2cset -y 1 0x4 0x1e 0x01
i2cset -y 1 0x4 0x4e 0x01
i2cset -y 1 0x4 0x5e 0x01
i2cset -y 1 0x4 0x9e 0x01
i2cset -y 1 0x4 0xce 0x01
i2cset -y 1 0x4 0xde 0x01
i2cset -y 1 0x5 0x00 0x01
i2cset -y 1 0x5 0x80 0x01
i2cset -y 1 0x5 0x01 0x01
i2cset -y 1 0x5 0x81 0x01
i2cset -y 1 0x6 0x00 0x01
i2cset -y 1 0x6 0x01 0x01
i2cset -y 1 0x6 0x03 0x01
i2cset -y 1 0x6 0x23 0x01
i2cset -y 1 0x6 0x63 0x01
i2cset -y 1 0x6 0xa3 0x01
i2cset -y 1 0x6 0xe3 0x01
These toggle all the unknown bits in various combinations on all the chips. Maybe one of them has an effect on your phone. You can do this with either kernel.
- d
None of them did. :-/
darkstar62
11th March 2009, 07:44 PM
Alright...I think that's about as far as I'm going to be able to get without my build environment handy. I want to try the other video mode I added a while back with all these commands, but I'll need to build a new kernel for that.
I'll post back later when I've got that.
- d
darkstar62
11th March 2009, 07:50 PM
This may sound totally random, but can you try booting with flight-mode turned on? I saw a thread where that worked for some with an elfin.
- d
ivanmmj
11th March 2009, 08:28 PM
This may sound totally random, but can you try booting with flight-mode turned on? I saw a thread where that worked for some with an elfin.
- d
I'll try it as soon as I get a working phone again. (Working on JustStable and flashed a bad flash.)
xsdx
12th March 2009, 04:32 PM
Replacing the bin directory allows me to boot. That new gui is interesting.. :) Reminds me of the OLLLD palm devices where everything was over simplistic.
I can start android via SSH, but still have the same issue I always got which is where the UI (in android) doesn't update. Someone mentioned a few pages back that if you play with the volume control, it will slightly update but will never consistantly respond realtime.. :)
darkstar62
23rd March 2009, 01:08 AM
Just thought I'd give everyone an update, since I've been on hiatus for a little bit. Things are moving slowly now -- we're in the midst of a move, so I haven't had much time to devote to this lately. We should be all moved in in a couple of weeks, so hopefully I'll have more time to devote to this after that.
I'll keep you posted :)
- d
N3xt2N0N3
13th May 2009, 08:43 PM
updated post #2 (http://forum.xda-developers.com/showpost.php?p=2285954&postcount=2) with the dream_ruu
Saew
25th May 2009, 09:09 PM
This is fantastic :D I'll finally be able to rid myself of Windoze Mobile!
I've installed this on my Herald and I'm correct in remarking making any calls or sending messages doesn't work yet, does it? Or is there something wrong with my phone?
In any case, I'm looking forward to darkstar having finished moving or to someone being able to give him a hand ^^
darkstar62
25th May 2009, 09:15 PM
This is fantastic :D I'll finally be able to rid myself of Windoze Mobile!
I've installed this on my Herald and I'm correct in remarking making any calls or sending messages doesn't work yet, does it? Or is there something wrong with my phone?
In any case, I'm looking forward to darkstar having finished moving or to someone being able to give him a hand ^^
You're correct, phone calls and network access of any kind right now don't work. You can get internet through it if you do so through the USB network connection, but it's a bit difficult to set up and far from optimal.
I'm going to try and assemble the kernels and root images I've put together so far into a release (0.2). It should support a bunch of new things, like LED / backlight support. Still no love for those having problems with white screen, but we're getting there.
How is your installation working? Can you get into Android? (More importantly, does your display go white or can you still see it as it boots?)
- d
Saew
25th May 2009, 09:32 PM
Wow, that was a quick response ^^
So far I've only tried Angström (with the accent on the a as well, yes ^^) but right now I don't have anything with me to access my phone to change it to Android :) What are the files I need for Android again? Is it the linux installation that I need to change?
I -was- having a lot of problems booting Angstrom as well, but that was because I made several mistakes during the installation of it all ^^;
Cheers
darkstar62
26th May 2009, 03:12 AM
Wow, that was a quick response ^^
So far I've only tried Angström (with the accent on the a as well, yes ^^) but right now I don't have anything with me to access my phone to change it to Android :) What are the files I need for Android again? Is it the linux installation that I need to change?
I -was- having a lot of problems booting Angstrom as well, but that was because I made several mistakes during the installation of it all ^^;
Cheers
All you need for Android is the /android directory from one of the images (I think the Angstrom image I posted has that too), and the runAndroid script (also I think included). From within Angstrom, start up the terminal and run "runAndroid"...I think that's the one. Might be runAndroid.sh or runandroid (or any combination of those :)) Been too long since I messed with it. You managed to get the nice graphical interface of Angstrom up, right?
- d
darkstar62
26th May 2009, 03:20 AM
All you need for Android is the /android directory from one of the images (I think the Angstrom image I posted has that too), and the runAndroid script (also I think included). From within Angstrom, start up the terminal and run "runAndroid"...I think that's the one. Might be runAndroid.sh or runandroid (or any combination of those :)) Been too long since I messed with it. You managed to get the nice graphical interface of Angstrom up, right?
- d
Oops, should be "startAndroid", not "runAndroid" (just checked on my own installation).
- d
neoobs
26th May 2009, 03:22 AM
Just curious have you looked at the Orange RUU for Android?
darkstar62
26th May 2009, 03:29 AM
Just curious have you looked at the Orange RUU for Android?
Can't say I have. I wasn't aware of such a beast. Do you have a link?
- d
neoobs
26th May 2009, 03:38 AM
Can't say I have. I wasn't aware of such a beast. Do you have a link?
- d
Sure thing, here it is http://android.smartphonefrance.info/download/RUU_Dream_Orange_FR_1.58.73.2_test_signed_WithDriv er.exe
I am not sure if it will work, but it could help in the future.
ivanmmj
26th May 2009, 04:36 AM
Sure thing, here it is http://android.smartphonefrance.info/download/RUU_Dream_Orange_FR_1.58.73.2_test_signed_WithDriv er.exe
I am not sure if it will work, but it could help in the future.
That's for the HTC Dream. You can always just pull the source code of Android's 1.5 cupcake instead.
If we just had the drivers... Have you tried talking to the wonderful minds over at the dream development forum? JesusFreke, Haykuro and theDude are great at this stuff, but the issue of drivers still stands...
darkstar62
26th May 2009, 04:41 AM
That's for the HTC Dream. You can always just pull the source code of Android's 1.5 cupcake instead.
If we just had the drivers... Have you tried talking to the wonderful minds over at the dream development forum? JesusFreke, Haykuro and theDude are great at this stuff, but the issue of drivers still stands...
Indeed, the drivers are our biggest issue. Given that the Dream is a completely different machine than our wings, I doubt any of their driver settings will help us. The Android system in the ROM image may though, if for nothing else but as a reference for what we should be shooting for in a working system. Who knows, we may actually even be able to use some of it (Android is written in Java, afterall).
Trying Cupcake 1.5 is probably our best bet though -- might even be able to get the touch screen working with that.
- d
darkstar62
26th May 2009, 06:19 AM
Whee! Wing Linux 0.2 is out! Go and get it here:
http://wing-linux.sf.net
- d
Saew
26th May 2009, 11:09 AM
Oops, should be "startAndroid", not "runAndroid" (just checked on my own installation).
- d
Oh! I didn't notice Android was already there! And yes it works... in a way... I get the graphical interface, but then it seems to freeze up.
Whee! Wing Linux 0.2 is out! Go and get it here:
http://wing-linux.sf.net
- d
But then again, I should try with 0.2 ^^
(Android is written in Java, afterall).
Wuh? Oh, that makes everything a lot more interesting for me! Even though I've only had one year of IT classes, I shall have a fiddle with it. Or at least have a look at it ^^
*downloads Wing Linux 0.2*
Edit: Ahh... right.. I don't have anything with me to access my microsd card...
Edit2: Is it okay to use haret 0.5.2 rather than 0.5.1?
apreichner
26th May 2009, 11:37 AM
I don't think this will help anything, but I do remember a project I used once on Linux Desktop called ndiswrapper which allowed it to use Windows network drivers in Linux. Perhaps this could be modified in some way to support Windows Mobile drivers and run on the Mobile Linux environment, maybe for the wifi... Just a random thought...
I wonder if emailing HTC support and asking what chipset goes in the T-Mobile Wing would work... :)
EDIT:
Okay I emailed them to ask Customer Support. I was wondering if you could tell me what chipsets the T-Mobile Wing uses for its WiFi and Bluetooth...
:D :D :D
darkstar62
26th May 2009, 03:53 PM
Oh! I didn't notice Android was already there! And yes it works... in a way... I get the graphical interface, but then it seems to freeze up.
But then again, I should try with 0.2 ^^
Wuh? Oh, that makes everything a lot more interesting for me! Even though I've only had one year of IT classes, I shall have a fiddle with it. Or at least have a look at it ^^
*downloads Wing Linux 0.2*
Edit: Ahh... right.. I don't have anything with me to access my microsd card...
Edit2: Is it okay to use haret 0.5.2 rather than 0.5.1?
Should work just fine. I only included 0.5.1 because that's what I happen to be on.
How does it freeze? The touchscreen should work there (don't use the directional buttons yet, there's a bug in the driver code that causes the system to freeze when they're used).
I don't think this will help anything, but I do remember a project I used once on Linux Desktop called ndiswrapper which allowed it to use Windows network drivers in Linux. Perhaps this could be modified in some way to support Windows Mobile drivers and run on the Mobile Linux environment, maybe for the wifi... Just a random thought...
I wonder if emailing HTC support and asking what chipset goes in the T-Mobile Wing would work... :)
EDIT:
Okay I emailed them to ask Customer Support.
:D :D :D
Nice, it'll be interesting to see what they say. I think it's all built in to the omap850 (I think the wizard is like that), but I could be wrong. :)
- d
ivanmmj
26th May 2009, 04:15 PM
Nice, it'll be interesting to see what they say. I think it's all built in to the omap850 (I think the wizard is like that), but I could be wrong. :)
- d
It is. It's an Omap850 which means that its core is:
ARM926TEJ (which has the ARM5TEJ execution set.)
Actually, here is all (http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12000&contentId=4679) its info.
expone
26th May 2009, 08:09 PM
Now, it seem to be work...
After Android boot, the desktop is showing. After a short duration, android display a message, that the calendar (com.android.calendar) is not responding.
I don't know, wether the surface is frozen or there is no keyboard / touchscreen support.
Is there a possible to interact with android surface? Directly via Herald or perhaps with vnc?
expone
26th May 2009, 08:14 PM
UPDATE: It seems to be that the surface is frozen.
Communication via SSH is no more possible. Soft reset necessary.
Is it possible to manipulate Android "Autostarts" like calendar?
darkstar62
26th May 2009, 09:23 PM
UPDATE: It seems to be that the surface is frozen.
Communication via SSH is no more possible. Soft reset necessary.
Is it possible to manipulate Android "Autostarts" like calendar?
Yeah, the touchscreen isn't responsive in Android right now. If you hit Enter, it'll open and close the drawer, but that's about it.
Also, don't use the direction keys (or the D-pad), as that will freeze your phone. There's a problem with the driver code for those buttons, and it causes a kernel crash.
As for the autostarts, I donno, haven't tried.
- d
apreichner
27th May 2009, 04:28 AM
Alright so I got a reply from HTC, but I have a feeling it was some auto-reply, here's what it says...
Hello Alan,
Thank you for your inquiry about the T-Mobile Wing.
I understand how important it is to know what chipset is used in your device. I must check for the exact chipset specifications in order to provide you with the correct answer. When I have received the answer, I will let you know.
I hope we have answered your question in detail. Feel free to contact us again if you have any further questions.
HTC Technical Support
I had a good laugh at that line I put in bold-face. Because it is definitely VERY important for a consumer to know what wireless chipset and bluetooth chipset goes into their device. I mean I thought that was a no-brainer thing to advertise, duh. :)
darkstar62
27th May 2009, 06:27 AM
Alright so I got a reply from HTC, but I have a feeling it was some auto-reply, here's what it says...
I had a good laugh at that line I put in bold-face. Because it is definitely VERY important for a consumer to know what wireless chipset and bluetooth chipset goes into their device. I mean I thought that was a no-brainer thing to advertise, duh. :)
That's hilarious! Yeah, every customer should know what chipsets are in their phone. :) It'll be interesting to see if they get back to you and what they say. I'm really hoping we get some details on the wifi, bluetooth, and sound drivers especially, since I haven't the slightest idea what those are (though wifi and bluetooth are part of the omap850, as is sound...just not sure if Linux has drivers for them or not). Good times!
- d
N3xt2N0N3
27th May 2009, 05:54 PM
That's for the HTC Dream. You can always just pull the source code of Android's 1.5 cupcake instead.
If we just had the drivers... Have you tried talking to the wonderful minds over at the dream development forum? JesusFreke, Haykuro and theDude are great at this stuff, but the issue of drivers still stands...
Yeah we should base it off of 1.5 and i will ask haykuro.
One question what is the HTC Magic chipset? Is it the same as the HTC Dream?
ivanmmj
27th May 2009, 09:10 PM
Yeah we should base it off of 1.5 and i will ask haykuro.
One question what is the HTC Magic chipset? Is it the same as the HTC Dream?
The HTC Magic, the HTC Dream, the HTC Diamond, the HTC Touch Pro, and a lot of other newer HTC devices share the same chip set.
The Qualcomm MSM 7201A 528 MHz
apreichner
28th May 2009, 05:38 AM
Well, to my surprise i received a reply from HTC Support. Here's what it says:
Hello Alan,
Thank you for you inquiry about the T-Mobile Wing.
I have received some feedback concerning the Wi-Fi and Bluetooth chipset. Unfortunately, I may not provide you with the information that you have requested concerning what chipset is in use for the Wing.
I hope that I have clearly addressed your question. Feel free to contact us in the future for additional questions.
HTC Technical Support
Oh too bad, and for a bit I thought maybe they would actually tell me... Oh well... Think I should file a complaint?
ivanmmj
28th May 2009, 05:51 AM
One big note is that the HTC Dream and HTC Magic (as well as every other phone that has a working version of Android) is not only similar in the chipset, but has the ARM6 instruction set while our phones only have the ARM5jte instruction set.
darkstar62
28th May 2009, 03:47 PM
Well, to my surprise i received a reply from HTC Support. Here's what it says:
Oh too bad, and for a bit I thought maybe they would actually tell me... Oh well... Think I should file a complaint?
Can't say I'm too surprised, they probably consider that proprietary information. Thanks for trying though.
Some quick updates for everyone...Android 1.5 (cupcake) works, and boots much faster than the 1.0 release. I had to do some sensor fooling, as without a working battery sensor, 1.5 tries to immediately turn off the phone. But with that in place, all seems well.
Also, i've made some progress getting the touchscreen to work. Android can now detect events and respond to pendown and penup. But for now it's only getting position at 0x0 (upper-left corner). Need to do more work to figure that one out.
- d
expone
28th May 2009, 04:31 PM
Is this current work checked in to svn?
Where can I find it?
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.