Related
It is not quite self-explaining how to install Android on our Windows Mobile devices. Therefore I took some time and wrote down all the steps for people who are new to "Android".
More testers -> more experience -> more knowledge -> faster/better development.
I hope this way the forum is kept clean(er) from all kinds of questioned that have already been answered many times.
ReadMe Includes:
- Partitioning
- Device preparations
- Boot loader
- Install steps
- Fixes
- Links
- more...
If you are a developer (you create your own package) feel free to use my ReadMe for your packages (update regularly though).
to download the ReadMe click the [Android Repository] button in my signature.
It goes to a rapidshare page with 3 files, and when I click on the filename Android_README.TXT
or start download, I get the error
The file could not be found. Please check the download link.
ok thanks. i fixed it (rs bug when renaming files ^^)
How would i partition a 1GB SD Card? ie what sizes etc are the last 3 same but the unallocated is just whats left over?
I want to use a spare card rather then the one that came with my HD.
ATHiEST said:
How would i partition a 1GB SD Card? ie what sizes etc are the last 3 same but the unallocated is just whats left over?
I want to use a spare card rather then the one that came with my HD.
Click to expand...
Click to collapse
normally just calculate how i wrote in the readme:
whole space -768 (3* 256) and then the other 3 x 256
but in ur case i would make the swap smaller (i think its not even used at all) and the fat32 bigger; for instance:
fat32 - 384 MB
ext2 - 256 MB
ext2 - 256 MB
swap - 128 MB (rest)
To be honest the bit I find most confusing is all the different versions!
i didnt create any partitions on my card, and android works as good as it does on any, mind you i have not updated the files fo0r a month so alot might have changed
ReadMe updated!
updated a bit...
Geeba said:
To be honest the bit I find most confusing is all the different versions!
Click to expand...
Click to collapse
i agree...
i've been looking these posts here for a couple of days now and i still don't know how to do it....
especially the DualBoot thing...
is it possible to make a little bigger how-to manual?
or at least explain the versioning and the needed thing a little more?
the readme is about 50 times longer than anything else u will find about installing android anywhere else
the different versions are just like in windows mobile, theres not much to explain, its rather up to ur personal preference. doesnt take as long as flashing a wm rom, so its easy to try out more versions, especially with more sd cards.
dual boot is easy:
1. install the cab
2. open the dual boot program and make all your settings, for example: auto boot android (click on the checkbox/ratio under android logo), check auto boot checkbox and check fast boot (means 3 instead of 10 secs).
3. restart your device, DONT LAUNCH HARET because that will destroy all the dualboot settings. if you restart/shutdown the device normally, the settings will be stored and android will automatically booted at next startup (or whatever you set before)
if you have android autoboot and u want to boot wm, just QUICKLY press the wm LOGO when the dual boot screen appears.
i might include this in the readme soon, just dont have the time right now unfortunally
N!ghty said:
the readme is about 50 times longer than anything else u will find about installing android anywhere else
the different versions are just like in windows mobile, theres not much to explain, its rather up to ur personal preference. doesnt take as long as flashing a wm rom, so its easy to try out more versions, especially with more sd cards.
dual boot is easy:
1. install the cab
2. open the dual boot program and make all your settings, for example: auto boot android (click on the checkbox/ratio under android logo), check auto boot checkbox and check fast boot (means 3 instead of 10 secs).
3. restart your device, DONT LAUNCH HARET because that will destroy all the dualboot settings. if you restart/shutdown the device normally, the settings will be stored and android will automatically booted at next startup (or whatever you set before)
if you have android autoboot and u want to boot wm, just QUICKLY press the wm LOGO when the dual boot screen appears.
i might include this in the readme soon, just dont have the time right now unfortunally
Click to expand...
Click to collapse
Thanks for the dualboot help... i'll try that...
the first problem I have encountered yesterday when trying to put Android was SD card formating...
i downloaded the program you said and followed the instructions oh how-to and was not able to do it under Windows 7 with my 16GB SD card... does it even work for Windows 7??? is there another program I can try to do it with???
I have also dualboot on my PC with the Kubuntu being the second OS, but I'm not using it as much as Windows 7... I can try with it if you think it will work.. but first I have to download the 15GB of data from my SD card to my PC, again
I would like to put the Espresso build cause I saw that it has everything working beside the GPRS and camera...
can you tell me what should I download for my Blackstone so it works properly???
thanks alot...
qtype said:
Thanks for the dualboot help... i'll try that...
the first problem I have encountered yesterday when trying to put Android was SD card formating...
i downloaded the program you said and followed the instructions oh how-to and was not able to do it under Windows 7 with my 16GB SD card... does it even work for Windows 7??? is there another program I can try to do it with???
I have also dualboot on my PC with the Kubuntu being the second OS, but I'm not using it as much as Windows 7... I can try with it if you think it will work.. but first I have to download the 15GB of data from my SD card to my PC, again
I would like to put the Espresso build cause I saw that it has everything working beside the GPRS and camera...
can you tell me what should I download for my Blackstone so it works properly???
thanks alot...
Click to expand...
Click to collapse
like the readme says: partitioning is only needed for partitined builds, which means that android uses several partitions to store different kinds of data, for - hopefully - more speed. only glossy uses partitions, espresso doesnt.
for glossy, u can also use ubuntu (download parted magic or something similar) to create partitions.
for espresso, u just need to copy the stuff onto ur sdcard.
but thats all in the readme... i dont have time to explain in detail coz i need to study a whole ****in lot at the moment +.+
N!ghty said:
like the readme says: partitioning is only needed for partitined builds, which means that android uses several partitions to store different kinds of data, for - hopefully - more speed. only glossy uses partitions, espresso doesnt.
for glossy, u can also use ubuntu (download parted magic or something similar) to create partitions.
for espresso, u just need to copy the stuff onto ur sdcard.
but thats all in the readme... i dont have time to explain in detail coz i need to study a whole ****in lot at the moment +.+
Click to expand...
Click to collapse
ok... thanks for the help... you helped me a lot just with the claryfication of the versions that need partitioning and the ones that don't...
i didn't know that...
good luck with studying!!!!
one more question...
I get the following message '' Failed to load file\Storage Card\zImage''
Can you help me with that????
qtype said:
one more question...
I get the following message '' Failed to load file\Storage Card\zImage''
Can you help me with that????
Click to expand...
Click to collapse
meaning u dont have a zImage at all (ur probably using espresso?). so download one from here, copy files onto sd card and rename "zImage.xxxxxx" to "zImage" and ur ready to go.
N!ghty said:
meaning u dont have a zImage at all (ur probably using espresso?). so download one from here, copy files onto sd card and rename "zImage.xxxxxx" to "zImage" and ur ready to go.
Click to expand...
Click to collapse
yep, I downloaded it but I didn't know that i have to rename it...
It did the trick... booting up Android
thanks for all of your help...
updated the readme, not includes DualBoot howto and some other changes...
I managed to get the WiFi working but no matter which zImage I'm using I can't get the 3G to work...
I'm I doing something wrong or did I maybe forgot to do something????
qtype said:
I managed to get the WiFi working but no matter which zImage I'm using I can't get the 3G to work...
I'm I doing something wrong or did I maybe forgot to do something????
Click to expand...
Click to collapse
well, some details about what version you are using would be helpful. however, this is not the right channel to ask this question. i think this question has already been asked several times in other threads. try search function or read the thread for ur version, its probably a version-issue or only for your country/provider
N!ghty said:
well, some details about what version you are using would be helpful. however, this is not the right channel to ask this question. i think this question has already been asked several times in other threads. try search function or read the thread for ur version, its probably a version-issue or only for your country/provider
Click to expand...
Click to collapse
sorry about that...I realized it later that I should ask in another thread that question...
I managed to figure it out... I just needed to manually configure my APN settings...
Hi,
I want to install a working version of android 2.1 if possible to my diamond - I installed a rom with the older version that ate battery like there was no tomorrow so I deleted the android files that were on the internal memory.
Can I transfer the relevant files for 2.1 to my SD now and have it work?
also is there any way someone could post those files in one place because for someone who has little/no experience in linux/android its downright confusing chasing around for files and can the files be updated regularly so that people can get them without chasing round half the internet and not being sure that what they find is right anyway?
I am sure I am not the only one in this position - I am quite computer literate but I just dont have any experience with linux bar trying to get it to install to laptops and having it fail on me all the time.
Jemmauk said:
Hi,
I want to install a working version of android 2.1 if possible to my diamond - I installed a rom with the older version that ate battery like there was no tomorrow so I deleted the android files that were on the internal memory.
Can I transfer the relevant files for 2.1 to my SD now and have it work?
also is there any way someone could post those files in one place because for someone who has little/no experience in linux/android its downright confusing chasing around for files and can the files be updated regularly so that people can get them without chasing round half the internet and not being sure that what they find is right anyway?
I am sure I am not the only one in this position - I am quite computer literate but I just dont have any experience with linux bar trying to get it to install to laptops and having it fail on me all the time.
Click to expand...
Click to collapse
well, for starters i would suggest you use xdandroid which can be found as follows
- for android 2.2 >> http://forum.xda-developers.com/showthread.php?p=6967717
- for android 2.1 >> http://forum.xda-developers.com/showthread.php?t=601751
Just download the bundles and place the files on the root of your internal memory..also in depth instructions are there on the sites
I managed to get it working - what was confusing me was people going on about ext2 partitions and the like. Thanks for the help
Runs pretty well actually - but I wish they'd get opera 5.1 to keep rss feeds *sigh*
Hello,
I need some help. Install its Android OS, but after he reset my Kaiser again charged WinMo OS. My question is whether it is possible to choose which OS to load first or with any program or edit the file to indicate to launch the first Android.
Sorry for my bad english :S Use Google translator
If you have installed Android to SD card and use Haret.exe then it will always reboot to WM.
You must install to nand if you wish to boot to Android only, which will wipe WM totally and replace it with Android.
The guide stickied at the top of the forum is a good tutorial in doing this
That does bring a good point to my mind though, we could create an exe that loads at startup of wm to auto load haret and startup if the user doesn't cancel in so many seconds (like grub). I keep WM on my phone so I can easily change my droid version and also I know everything works including opening office files (actually that's the biggest sticking point for me keeping it).
Thanks for support. Today I try to flash via NAND method.
Kind Regards
Lybomir
I flash my Kaiser with latest zImage-2.6.32-froyo-09-09-10_21 from here http://it029000.massey.ac.nz/vogue/files/?C=M;O=D and my device loading Android OS very slow, and big problem is : Phone go in screensaver and I try to unlock and screeen stay only in white light, no picture, no widgets... total block. Only solution is it a use Soft reset button or remove batery
Maybe you choose the wrong panel type?
I can read in your signature Duo Boot so I guess you installed onto the SD and use Haret to run Android.
If so, you have to edit the default.txt file locate in ANDBOOT folder and modify the value following htckaiser.panel_type.
You can specify 1, 2 or 3 (most Kaisers use panel type 2)
Wrong panel type may lead to awake problems or wrong colors...
The excessive slowness may be due to a slow SD. Which class is it? Use at least class 4 SD.
---- EDIT -----
In case you already flashed to NAND, to change the panel type you have to choose the right kernel (the kaisimg file) or you can edit the one you flashed following instructions and links you can find in #4 at http://forum.xda-developers.com/showthread.php?t=680518
obviously you have to reflash the kaisimg.nbh but you don't need to flash Android again
I try with 1,2 and 3 but every time show me a this problem, and now i run HaRET and in 2 from 3 times phone block and not response only Soft reset work, and if case phone load complete Android and again in screen seaver system not respond... ;(
I flash my phone with ext2 partition on my sd card/ class 4 8 GB SDHC/ and try with system and data on sdcard an again freez white screen/
Sorry for my bad english
dlink.bg said:
I try with 1,2 and 3 but every time show me a this problem, and now i run HaRET and in 2 from 3 times phone block and not response only Soft reset work, and if case phone load complete Android and again in screen seaver system not respond... ;(
I flash my phone with ext2 partition on my sd card/ class 4 8 GB SDHC/ and try with system and data on sdcard an again freez white screen/
Sorry for my bad english
Click to expand...
Click to collapse
May you try to install a different build and see if you fall into the same problem?
BTW, just after installing, don't start playing soon with the device: initially skip all settings (touch the android, don't set google account and so on) and leave the phone quiet for at least 10-15 minutes: some builds need to copy file to the cache and playing with the device may interfere with this operation leading to unpredictable effects...
Let we know...
It is slow because you installed it on sdcard.. both partition.. if you are on nand. Try install both partition on nand partition.. and try hawks soad rls 3 as me.. its fastest build for kaiser.. and I haven't ever problem with white screen ata awake.. try it in that haws soad ion build.. you can finf it in that forun.. just find it
Sent from my HTC Kaiser Ion using XDA App
I find a solution! Later I post how find solution
Thanks on every in this thread to help me!
dlink.bg said:
I find a solution! Later I post how find solution
Thanks on every in this thread to help me!
Click to expand...
Click to collapse
You're welcome
And I'm waiting to know
Don't suppose any of you have actually seen this thread?
Gen.Y DualBOOT v1.0.6.0
Should work fine on Kaiser, certainly works fine on other devices, such as Diamond, Blackstone etc
zenity said:
Don't suppose any of you have actually seen this thread?
Gen.Y DualBOOT v1.0.6.0
Should work fine on Kaiser, certainly works fine on other devices, such as Diamond, Blackstone etc
Click to expand...
Click to collapse
Hi Zenity... Yes, know that piece of software.
But as You have to boot WinMo (Yes, I Know, not all the services need to be running but system must be loaded and started, GUI must be running and so on) in order to DualBOOT can start, I can guess it's only a partial time-save... isn't it? Did You tried it?
Have not tried it on my Kaiser, since it is Nand flashed, but I think it is what was being asked for really, a way to boot either WM, or straight into Android on SD.
I don't think it will ever be possible for both WM and Android to co-exist on nand, since there simply is not enough room on the internal memory for both.
It is a time saver on other devices I have tried it on, Diamond, Blackstone, however since neither of these devices is nand-flashable this is more what Gen-Y's dual boot was intended for.
If it was possible to run WM from SD then we might be able to truly Dual Boot, in a similar fashion to Windows/Linux on PC, but as far as I know this is not possible either.
zenity said:
Have not tried it on my Kaiser, since it is Nand flashed, but I think it is what was being asked for really, a way to boot either WM, or straight into Android on SD.
I don't think it will ever be possible for both WM and Android to co-exist on nand, since there simply is not enough room on the internal memory for both.
It is a time saver on other devices I have tried it on, Diamond, Blackstone, however since neither of these devices is nand-flashable this is more what Gen-Y's dual boot was intended for.
If it was possible to run WM from SD then we might be able to truly Dual Boot, in a similar fashion to Windows/Linux on PC, but as far as I know this is not possible either.
Click to expand...
Click to collapse
Yes, of course we haven't enough NAND to have both OSes!!!
What I was thinking to (but I'm a lot far to inspect WinMo booting sequence...) is if may be possible to wedge a sort of bootloader running BEFORE the OS loads or in the early booting process and letting we choose to boot WinMo (in NAND) of Android (on SD).
At present moment I've Android running from SD but kernel NANDed (I've got problems running out of NAND and no time to solve them so I'm using the solid build previously installed on SD) so Kaiser boots quickly... and this confirms it's possible boot SD Android without having to load WinMo or Haret. The more relevant matter I can see is that we have to find a way to wedge the bootloader without have to manual modify the WinMo ROM (virtualization is far from be considered on such devices...)
I suppose this is just a "mind exercise" (Sorry, I don't know how to correctly translate an Italian common saying...
Mind exercise describes it perfectly
Not sure why you would run out of space on nand, unless you are loading a lot of apps, and there are ways to run android that may help with that, such as apps2sd, or data on SD partition.
If you must have WM then your only choice would be using Haret.exe, and the most efficient way to dual boot we have at the moment is the Gen-Y solution, which is not ideal, but does offer at least part of what you seek.
The Android bootloader we use (tinboot.s) is not flexible enough to allow dual booting, but may have some information that may be of some use in this
tinboot thread
See what you think anyway
Sorry, I was not able to be clear... I apologize for my English...
When I said "I've got problems running out of NAND" I intended to say "I've got problems - very bad performances - when Android was running from NAND"!!!
Maybe we are a bit OT...
BTW, I was far from software developing for a long while and never developed low level software for Linux/Unix... but in the past I messed up with Z80, 65xx, 68K and x86 platforms's assembly
Recently I need to approach software developing again (but at a really different level...)
I'd like to have spare time to start again, as this world attracts me more. Maybe I'll give it a chance...
Let me understand... tinboot is actually used bootloader?
BTW, just to be clear... I don't need WinMo and I'm giving Android a chance to revive my Kaiser. I'm looking for a fast and stable build and actually I'm running VaniljEclair RLS11 (Yes, I know, I'd try your Polymod 2.1D build... )
Tinboot is the bootloader we use to get android in nand, not being a coder my understanding in limited, however I did think that thread may have useful information for anyone interested in the low level workings of out devices.
I assumed you meant running out of space on nand, lol, i see now what you mean, no need to apologise for you english, it's fine
zenity said:
--- CUT ----
however I did think that thread may have useful information for anyone interested in the low level workings of out devices.
Click to expand...
Click to collapse
And you're right... it's a useful starting point and I'll read it accurately...
Unluckly, I need a lot of spare time (and I don't, at present) to build a solid knowledge base and to start developing for Android.
yes there should be plenty of room for both oses on Nand, I still have over 90 mb on my wm6.5 nand install with come extra apps in there. So if you stripped down both oses you could easily fit them both on nand and still some space left. But then you need to have a boot loader that will be able to load both oses. I think I heard someone say somewhere they are using grub to boot android from nand, that can boot windows also with the right configuration, that would be where to start.
This is my first for anything like this. I have a Sprint HTC Touch Pro 2, and want to put the latest version of XDANDROID on it. But, have no clue which version or where to start. I would like to eventually get in to building on my own. Could someone please help get me started?
TheCasper said:
This is my first for anything like this. I have a Sprint HTC Touch Pro 2, and want to put the latest version of XDANDROID on it. But, have no clue which version or where to start. I would like to eventually get in to building on my own. Could someone please help get me started?
Click to expand...
Click to collapse
to get started, it really doesn't get any simpler than downloading the latest FRX03 from here:
http://sites.google.com/site/androidport/downloads
(i'd recommend the RAR version, so you can unzip it into your SD card faster)
after that, just use WM's file explorer navigate to andboot and run haret.exe and you're "done"
----
(optional) with a little bit of more effort, go into the top sticky of this forum, and update to the latest Kernel (1253). the current Kernel in FRX03 from Dec 20 is (i believe) 1232.
It's sort of that easy, but I had this same question before I did it too. It would have been nice if the FAQ said this explicitly.
If you download the rar archive, it will extract out in its own subdirectory, e.g.
XDAndroid2.2Froyo.XXxxXX/andboot/...
The first thing I do is move the andboot subdirectory to the root of the SD card.
The next thing is to edit the andboot/startup.txt file to match your phone. I guess you can use the XDAndroidStartup utility to take care of this instead, but the first time I tried that it failed because of that silly runtime dependency.
If you want to use the startup utility, and it gives you an error and refuses to run, you need to install the updated net framework like it talks about on this page:
http://sites.google.com/site/androidport/startup-utility
Thanks guy I will give it a try and post if I have questions. I love the design/setup of my TP2 but I hate the windows OS.
Need more help My phone is getting stuck and the XDANDROID start up image/video thing
TheCasper said:
Need more help My phone is getting stuck and the XDANDROID start up image/video thing
Click to expand...
Click to collapse
Just let it do its thing, boots can take 5-10 min!
Kind of got it working, but have no idea how to use it fun stuff.
quick question, do I always have to have the sim card out when running ANDROID?
TheCasper said:
quick question, do I always have to have the sim card out when running ANDROID?
Click to expand...
Click to collapse
If your phone is in GSM mode, you'll want it in. Check your startup.txt, you'll need force_cdma=0 in there.
If you're on CDMA, I believe you do have to have the SIM removed, yes. Also, the above command should have a 1 instead of 0.
^^ I'm not positive about that piece, but I do know that Android on our phones will only recognize one or the other - GSM or CDMA. Maybe we'll get it to recognize both one day, I saw an entry for it in the RIL...
I do know that I have CDMA. Plus how do update the kernel, where do I put it?
TheCasper said:
I do know that I have CDMA. Plus how do update the kernel, where do I put it?
Click to expand...
Click to collapse
You simply replace your existing kernel and modules.
So delete the existing zImage/modules-xxxx.tar.gz, and put in the new zImage/modules-xxx.tar.gz. Don't rename the modules file, but be sure the zImage file is named just that - zImage.
The files go where you run haret.exe from - typically the root of the SD, or in /andboot.
UH-OH, not sure what happened. I reformated my SD card to do a new run since I found what I wanted. Now it seems like I can do everything but make calls in WM6.5. What do I do
TheCasper said:
UH-OH, not sure what happened. I reformated my SD card to do a new run since I found what I wanted. Now it seems like I can do everything but make calls in WM6.5. What do I do
Click to expand...
Click to collapse
Android should have no effect on WinMo (assuming you're using haret/install on your SD). Plus, this really isn't a place to get help with WinMo.
Do the usual - soft reset, hard reset, reflash of stock ROM.
arrrghhh said:
Android should have no effect on WinMo (assuming you're using haret/install on your SD). Plus, this really isn't a place to get help with WinMo.
Do the usual - soft reset, hard reset, reflash of stock ROM.
Click to expand...
Click to collapse
I know, I'm trying to put android on it and I am using haret from the SD card. I'm just not sure if this is will effect android or is a common problem. Thanks though, I have been going through those things while i wait.
So I have a broken sd card port, which does not read my sd cards anymore. And I was already on scoot's latest android build, but what do you do when something is broken? Well, you go back to factory settings and for our blessed HTC Kaiser or in my case MDA Vario III, this means going back to the abomination called WM (and to make matters even worse it is tmobile themed). But it seems that this also doesn't fix the problem and the sd card is still not read. It does say it needs to format the sd card for it to work, which I then give the permission to do, but it is never able to finish the format.
So my question is fairly simple: how to flash android on your WM device with usb?
thanks in advance!
( I am really stupid, going back to WM )
**I have looked for other guides, but they all assume you to already have android installed on your phone**
It sounds like the ribbon cable is broken for the SD card. The only fix is to replace it, unless there is some other problem with the main board.
So how am I suppose to replace this "riboon cable" do I need to buy some extinct hardware specifically for the kaiser (which probably is impossible to get?) or can I do it some other way. And is there really no way to flash Android on the kaiser via usb, since I think I can manage with only a couple of apps on the internal storage...
Also I have already tried to flash android on my htc kaiser:
- I dragged and dropped the KAISIMG.NBG over the installer of my original t-mobile rom, but somehow it just installs the original rom again and not the KAISIMG.NBG
AFAIK, the only 2 ways to flash anything to a Kaiser is through the SD card or USB port. Noone (to my knowledge) has ever created a RUU-flashable Android package for the Kaiser or any other device, which would be your only option.
Given the constraints on the RAM built into the Kaiser, you would have to build a pretty small package for the install, maybe 55-60MB, use Oli's NBH creator and (hopefully) build an installable package that can be sent via USB with an unsigned RUU updater.
If someone wants to take on the task of stripping an androidinstall package, extracting it and repacking it into a RUU installable NBH, feel free. I know it can be done with a kernel package, but that is only 3MB and goes to the first partition. All the other files would have to go to the correct partitions as well (/system, /data, /cache, etc.).
So how am I suppose to make an installable package? I have the file to get WM to Android, the kernel, and scoots android install package, which I have stripped down to 67 mb.
What should I do with these files? Do you have some kind of instructions?
You would have to figure out how to not only partition the NAND, but direct the kernel and all files to their appropriate partitions.
Someone must have some info on how to do this...
Sent from this addictive thumb magnet...