yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] dzo:
You will probably need to make some changes to the kernel to get titan to boot. board-htctitan.c will need the initialisations copied from board-htcvogue.c and you will need to change the machine type in the bootloader.
[Touch CDMA Android Development] dzo:
I didn't realise this till now, I don't have a headset here at the moment but I made a change that might help, can you try flashing the latest nbh and let people know if it does/doesn't work.

This kernel may help with adb under windows and the BT led works now.
[Touch CDMA Android Development] sshark:
Will flashing new .nbh file erase my data and system? If not, I am willing to try it out.
[Touch CDMA Android Development] dzo:
No, it won't, flashing a new kernel doesn't do anything to your rootfs, system or data partitions.
[Touch CDMA Android Development] jamezelle:
no it wont erase your data

edit: im late lol
[Touch CDMA Android Development] sshark:
Alright another snag, I am on Windows and since USB is not working, I am going to have hard time to get new kernel flashed.

I could switch to my Ubuntu distro but don't have network connection (new Ubuntu messed up wireless) to download and install ADB there...
[Touch CDMA Android Development] tatnai:
You can use any winmo rom package to flash from windows (just replace RUU_signed.nbh with dzo's renamed appropriately, I use NFSFANs rom package to flash it), and usb is working with windows. . . just hold volume up on boot.
[Touch CDMA Android Development] tatnai:
dzo, how do I backup the data.img that is in the nand - is there a blank file command for that?
[Touch CDMA Android Development] sshark:
I mean I have already flashed once, now I need to upgrade kernel. How can I do it from Windows or for that matter from Linux?
[Touch CDMA Android Development] polyrhythmic:
Why don't you boot Windows and download the Linux ADB package, then boot into Ubuntu to install it?
[Touch CDMA Android Development] tatnai:
for windows:

1. download any win mo rom for vogue from xda

2. uncompress it to a folder somewhere

3. delete the file RUU_signed from that folder

4. download whichever resolution from dzo's site you want to flash

5. place your phone in bootloader mode (hold down camera and power, tap reset while continuing to hold them down until the multicolor screen comes up)

6. plug the phone into your windows computer

7. run ROMUpdateUtility.exe from within the folder, keep checking the boxes and hitting next until it flashes.

doing this, as long as you don't put any new blank files (datafstonand, etc) on the sdcard, it will just update the kernel and nothing else.
[Touch CDMA Android Development] sshark:
Thanks for step-by-step, "bootloader" was key, I got it!
[Touch CDMA Android Development] dzo:
Easiest just to tar it up

tar -cvf /sdcard/databackup.tar /data

Should do it.
[Touch CDMA Android Development] tatnai:
thx, and the noob question, to make a data.img out of it can I just change the extension, or do I un-tar it, then repackage it as a data.img somehow? running win xp on my box.
[Touch CDMA Android Development] sshark:
With 14-12-2009 kernel, ADB on Windows works. :D
[Touch CDMA Android Development] Quanny2000:
x2 on that... :)
[Touch CDMA Android Development] tatnai:
funny, adb was working for me with the 9-12-09 version on win xp, now won't work with the 14-12-09 version. very strange.
[Touch CDMA Android Development] gigi-muschi:
question
[Touch CDMA Android Development] anubius:
Does anyone know how to fix screen orientation? When I slide the keyboard the orientation is wrong. And also did anyone has a success connecting to WiFi with Peer to Peer type? Mine can't see these type of networks at all.
[Touch CDMA Android Development] SuperJMN:
Where did you get that kernel? I've double check DZO's webpage and the latest is 11-12-2009:

http://it029000.massey.ac.nz/vogue/files/?C=M;O=D
[Touch CDMA Android Development] hellovx7600:
http://it029000.massey.ac.nz/vogue/files/voguimg-240x320-14-12-09.nbh
[Touch CDMA Android Development] vilord:
using the nbh without flashing anything else to nand is how I roll... rootfs on SD card, system and data as sdcard partitions :D

Martin, thank you for making my bootup process so quick!

If only I could easily swap resolutions during boot...
[Touch CDMA Android Development] worstenbrood:
i wish we had this for our polaris !
[Touch CDMA Android Development] Shidell:
Hm, I seem to have a small problem updating to the latest ROM.

My Vogue is connected via Windows 7 x86, showing as "HTC Dream Composite ADB Interface". This works for ADB operations, however when trying to flash a newer ROM with RUU, it indicates it cannot find my phone.

I can't flash manually via SD card as my phone's camera button is broken.

Any thoughts on what I need to do to flash the latest ROM to my phone?

Thanks for the advice. :)
[Touch CDMA Android Development] dzo:
You need to be in bootloader mode to flash a ROM, hold the power and cam buttons while resetting the device.
[Touch CDMA Android Development] Shidell:
So I'm kinda screwed, because my camera button is broken?

Alternatively, can I use HTCFlash from Linux to flash without being in Bootloader mode?
[Touch CDMA Android Development] jamezelle:
you have to be in bootloader mode to use HTCFlasher in linux
[Touch CDMA Android Development] Shidell:
Ah, thanks for clarifying.

I guess the only way I can flash then is from Windows (using RUU, theoretically) so is there any way to make that work given my current situation, or am I stuck with the original ROM?
[Touch CDMA Android Development] plemen:
Oh man - that sucks. I would disassemble the phone and remove the camera button so you could at least poke it with something to get into bootloader.

Here is a guide I used to replace my screen:

http://www.mikechannon.net/PDF Manuals/OSeven's Disassembly Guide to the HTC Touch - Elf .pdf
[Touch CDMA Android Development] Shidell:
Thanks much Plemen, looks like I'll be going into surgery in about 35 minutes after work.

I always knew flashing/toying with my Vogue was a risk, but I never thought I'd end up stuck because of a dead camera button. :p Thankfully, even if I never get anywhere past Dzo's September Kernel/bootloader, I'll still be very well off.
[Touch CDMA Android Development] dzo:
There's a new kernel on my site that does auto white balancing for the camera. It should take much better pictures indoors now.

Still no working headset, but I'm trying to fix it.
[Touch CDMA Android Development] ali3nfr3ak:
:D thank you
[Touch CDMA Android Development] polyrhythmic:
Rockin! Is this kernel compatible with all builds, including SD partition and Eclair?
[Touch CDMA Android Development] dzo:
It should be, i haven't tested it though.
[Touch CDMA Android Development] ali3nfr3ak:
when i go to download the new kernel i get this...

G¶Ç/Ãó×ðœë¥}Ý®æ|;aô>ðh‘äáXÒ¸Þû¾q¹ç}¿¦Ö´Xü³.c¤þ¾1ËxßkÅâ¼NêÅ—†º]ß

and plenty more, am i doing something wrong?
[Touch CDMA Android Development] polyrhythmic:
I'm testing it on zen's Eclair build right now off ext2 partition on my Kaiser, and things seem to be running fine! Except of course, camera doesn't work in Eclair :p
[Touch CDMA Android Development] wojteko:
Any chance to get a system.img loaded?

I've tried with the one I had working with haret but I keep getting the error:

Failed to mount system fs on SD Card

Tried with both the rootfs from my working haret and the one in the 1st post in this thread.

The 1.6 system.sqsh works fine though, but I prefer the hero themed 1.5 build I was using.
[Touch CDMA Android Development] sshark:
Tatnai, did you find out how to restore the data back up from tar?
[Touch CDMA Android Development] plemen:
Easiest would be to load a blank data image to nand and then extract the tar file to it.

Or create a blank data file (or download one I created here: http://www.mediafire.com/file/yzzwdmyntmy/blank_data.zip ), mount it in linux and extract the tar over it.
[Touch CDMA Android Development] gigi-muschi:
another question..

:confused:can anybody tell me if I can put this version on Polaris? (shown in post#1)

I want a simple answer ... yes or no

thanks.
[Touch CDMA Android Development] w04g005:
Strange, i tested your Kernel on my polaris and now my camery takes green pictures. also barcode scanner isn't working anymore! Is it device specific or has anybody with vogue the same issues?

by the way thanks for your great work...
[Touch CDMA Android Development] dzo:
No...................
[Touch CDMA Android Development] grktaurus83:
Your images don't show.
[Touch CDMA Android Development] SuperJMN:
Same here using Polaris and the new kernel (15)
[Touch CDMA Android Development] crobs808:
any step by step instructions? your first post is directed toward people who are already familiar with Android. I have NEVER flashed android in my life. Is there a zip file somewhere aht contains everything I need with a STEP by STEP txt file or something? "Click here", "Do this", etc...When you just say "update your rootfs and sqsh" as the whole step without any explanation, I have no idea how to do that or what it means.

-C
[Touch CDMA Android Development] cbaty08:
I agree.

This is a work of art you devs got going on here, and people like us really would love to spread the word and have just as much fun on the droid platform like you guys do.

PLEASE!!!!! Can we get STEP-BY-STEP instructions?!
[Touch CDMA Android Development] Giggles 312:
so um yeah ... when i flash the 320x428 its like UBER small.

i'm running Zen's 2.0.1 build. it looks BEAUTIFUL with 240x320 but the keyboard takes up the whole text message place so i cant see anything when texting :(

so my question; how can i like make the 320x428 flasher actually flash that res. or if [anything] that i can do to make the resolution see-able??

my default is 320x428 lcd.density=160 but it seems like it doesnt matter.

Thanks.

Giggles 312

XV6900

Zen's 2.0.1 Flashed.
[Touch CDMA Android Development] sshark:
I am trying to untar backup to data partition using following command in adb shell but with no success:

tar -xzv databackup.tar data

Any thoughts?
[Touch CDMA Android Development] zenulator:
try tar -xvf databackup.tar -C /data
[Touch CDMA Android Development] exodus409:
i will write a quick step by step guide to flashing android to nand! :)

1. download a system.sqsh file of your preference and put it on the root of your sd card; i am using the donute AOSP version http://xdaforums.com/showthread.php?t=591104

but you can use any version that you want!

2. download the newest rootfs and zimage (dont know if zimage is necessary or not) file from the first page of this thread and put it onto the root of your sd card

3. get a data file and also put that on the root of your sd card; if you dont have one already, then i created one by simply running android from haret off of windows mobile and letting it automatically create one when it boots!

4. then download the systemfstonand, rootfstonand, and datafstonand files that i have attached to this post in the tonand.zip aaaand put those onto the root of your sd card! make sure you do not rename these files at all! or else it will flash incorrectly

5. once you have all those files downloaded and put onto your sd card, download a .nbh file from the first page of this thread and leave on your desktop or anywhere you can remember; i am preferably using the latest 240x320 NBH file

6. now download the ROMUpdateUtility attached to this post and run the .exe file in it while your phone is connected to the computer (this program will automatically install android with 240x320 resolution, but if you want a different resolution then download a different .nbh file and replace the RUU_signed.nbh file that is inside the ROMUpdateUtility folder with your new NBH file)

7. then just follow the instructions on the ROMUpdateUtility and wait till it is flashed and enjoy!

i hope that was clear enough! :)

if you have any more questions then feel free to ask me!

ROMUpdateUtility - http://www.mediafire.com/?qydnyyjgtng

xxxxxtonand - http://www.mediafire.com/?yqnnmmezr0j
[Touch CDMA Android Development] ali3nfr3ak:
ok so i downloaded dzo new zimage ( zImage-15-12-09 ) and straight away noticed sound not working through usb headset , went back to zImage-11-12-09 and now works again. anyone else have this issue?
[Touch CDMA Android Development] dzo:
Should be fixed in latest kernel, the headset is also working in todays flashable rom.
[Touch CDMA Android Development] w04g005:
Funny, i've tested your latest zimage from 17.12.2009 and now my camera takes blue pictures. (I have a polaris)
[Touch CDMA Android Development] brunes:
How long does the copy to NAND take?

My phone seems to be hung for a long time at the part where it says "isCheckpointed: 0" after erasing the NAND.

How long should I have to wait? Have already been wariing about 5 minutes... something seems wrong.

- 45 mins now.... Anyone know how to troubleshoot? I will try re-flashing. This is with today's kernel.

EDIT2: - Reflashed with kernel from 15. Copy finished quickly and phone is rebooting. After it is done I will re-flash with 17th again. Perhaps something is wrong with copying in 17th kernel?

EDIT3: Everything is working now, except that I can not get any data. I have never had any problems with data in the past, it "just worked".I am with Bell Canada - I think it maybe always "just worked" before is because in WinMO it auto-connected, so when Haret was done, it already had a data link? How do I pass my PPP username / password to the NAND boot method (what I used to put inside default.txt) ?
[Touch CDMA Android Development] dzo:
You need to edit the default APN.

Settings...wireless...mobile networks...APNs
[Touch CDMA Android Development] Quanny2000:
SWEET! Flash files from the future! Tomorrow's flash files, today! ;)
[Touch CDMA Android Development] dzo:
That's one of the many advantages of being in New Zealand, we live in the future!!
[Touch CDMA Android Development] Shidell:
I'm pretty sure you ARE from the future--your brain is twice the size of most of ours. lol.

"Hi, I'm Dzo, and I'm going to write a custom bootloader for a phone today in Assembly." :eek:

F'n awesome man.
[Touch CDMA Android Development] dzo:
For people without an existing android setup on their phone, I've made this:

http://www.mediafire.com/?zldjhfnkzk2

It's android 1.5 (cupcake) with a flashable kernel and a much simpler installer, just unzip and read the README file.
[Touch CDMA Android Development] moekind:
DZO the .tar file is corrupted. I can't extract it properly.
[Touch CDMA Android Development] dzo:
It's not corrupted and you don't need to extract it, read the README file. I'll put some instructions in the first post later today.
[Touch CDMA Android Development] BoboBrazil:
Thank you for all of your hardwork. Is there a reason you included cupcake, but not donut or eclair?
[Touch CDMA Android Development] Quanny2000:
probably because cupcake has the most working features/solid build compared to the other two...
[Touch CDMA Android Development] moekind:
Dzo, K I cleaned out my sd card, and extracted those files to root.

But Android boots back to the eclair build, that I had in the nand earlier.

I want to use the cupcake build. What should I do?

Reflash to windows, then flash to linux, and try booting it?
[Touch CDMA Android Development] jamezelle:
umm donut and cupcake have the same features working

calls

data

gps

market

sync

bluetooth half-ass works on cupcake. but not reliably. donut it just as fast as upcake. eclair is moving along quickly... and somewhat stable(sleep issues)
[Touch CDMA Android Development] Quanny2000:
my bad... sorry
[Touch CDMA Android Development] jamezelle:
its cool, just my opinion would be that donut is the most stable as well... cupcake is now outdated and has been upgraded. but not too long from now eclair will take its place :)

gotta love how we are always one step behind dream/sapphire considering this is a year and a half old QVGA winmo phone :D
[Touch CDMA Android Development] ali3nfr3ak:
dzo your new kernel zImage-17-12-09 fixes the headset problem thank you :D,
[Touch CDMA Android Development] dzo:
This cupcake release is really just for people who want an easy install that works reliably and is compatible with most market apps. It'll wipe your data partition and if you already have a donut or eclair install there's not much point.

If you really want to try it, copy the tar file to /sdcard, boot into bootloader mode (cam and power buttons while booting) and then run the RUU exe.
[Touch CDMA Android Development] SuperJMN:
Well, I tried it and it always happens the same: I go to bed while listening to my favorite podcast with an almost full battery level, and in the morning the battery is totally KO. The device even refuses to power on!

I use an application to play my podcast (locally). It's BeyondPod and it has a sleep timer that I set to 30 minutes. Before going to bed, I put my Polaris into Airplane Mode (supposedly, it disconnects every radio).

This is a big problem. I think the device is consuming battery power really fast, although it's almost idle. I forgot to say I'm using this Android Donut build.
[Touch CDMA Android Development] moekind:
I already had Eclair installed on my nand. Was running the 240 x 320 nbh before.

I flashed the other resolution nbh that you included in your rom. Copied all those files

to the root of the sd card. Booted, but it would go back to my previous eclair build,

instead of erasing and installing cupcake.
[Touch CDMA Android Development] brunes:
Ack - anyone know the APN info for Bell Canada mobile? I can't locate it on Google. Only way I can think to get it is to re-flash to windows so I can get to my PST app...

EDIT: Managed to figure it out. All is working now!
[Touch CDMA Android Development] ali3nfr3ak:
I use my phone for mp3 player and basically it plays from 4am to 6pm it gets a top up charge at about 9am and another about 1pm and this is no different for me with the new zimage ( zImage-17-12-09 ) , i am using senseHERO 1.4.4 from nand
[Touch CDMA Android Development] Santehnik:
It's possible to make same rom update for HTC Mogul?
[Touch CDMA Android Development] BoboBrazil:
I followed the instructions like you said in the android-readme.txt and it says flash successful, the phone reboots, and it is stuck on the linux screen with the penguin and the commands, does it take a long time to load from this screen? it has been about 15 minutes...
[Touch CDMA Android Development] BoboBrazil:
Okay, this is freaking me out. I've tried to reset the phone and it keeps going into linux, it goes to different parts every time in linux, but it never finishes installed android, the volume up feature to go into recovery isn't working either, is my phone bricked:/
[Touch CDMA Android Development] drewden123:
Make sure you have the files "rootfstonand", "datafstonand", and "systemfstonand". Otherwise when you flash it just changes the kernel and you still have the same system files, etc. on your nand, but your new system is only on ur SD not being copied over at boot.
[Touch CDMA Android Development] Shidell:
Hold the Power and Camera buttons, and insert your stylus in the "reset" hole--this will bring up the tri-color bootloader mode. Once up, connect to your PC, and flash with Dzo's latest ROM, if you haven't already.

If you have already (or if you just finished flashing), download Plemen's AOSP build of Android and extract all of the files to the root of your SD card. Insert it into your phone and let it start (and sit). Android should load up.
[Touch CDMA Android Development] dzo:
It does seem that there are a few phones that the flashable kernel isn't compatible with. To flash back to wince, put the phone into bootloader mode by holding down the Power and Cam buttons while booting and then flash as normal.
[Touch CDMA Android Development] BoboBrazil:
I am using the Vogue. This is supposed to work on the Vogue correct? Or do you mean different hardware revisions of the Vogue it won't work on?
[Touch CDMA Android Development] dzo:
It does work on most Vogues but some devices must have slightly different hardware (panel, memory chips etc..). Until I can find the problem, you'll have to run from the sd card.
[Touch CDMA Android Development] BoboBrazil:
I am trying your stand alone method dzo, and now it keeps freezzing when it is trying to copy roots to nand, it goes to different percentages every time I reboot. Is it possible it is my micro sd card?
[Touch CDMA Android Development] spidiracer:
I am installing using method 1 right now.

Right now my screen is booting but stuck here:

Waiting for SD Card

[ 4.249208 mmc0: Command timeout

...

[ 4.368948 mmc_sd_init_card: Delay 250 ms

and that is where it has been for the last 5 minutes.
[Touch CDMA Android Development] spidiracer:
No dice.

I tried to reboot and I re-flashed the device several times. I will have to wait a bit longer until a few more bugs are ironed out. Or perhaps its a problem with the sd card. Is it critical that the only file on the SD card be yours?
[Touch CDMA Android Development] tatnai:
make sure if you have an Android folder on your sdcard that you rename it. I had problems like this when first trying to migrate to nand, just ended up renaming my android folder and everything worked. also if you have issues, you may just need to flash it repeatedly, each time with all all three blank files so that it is overwriting the whole nand.
[Touch CDMA Android Development] BoboBrazil:
dzo, I just went and bought a new micro sd card to try it out and still no go, it keeps freezing up during install, on both your standalone and all in one packages, I really wanted this to work:(
[Touch CDMA Android Development] alltellmobile:
have you unlocked your phone
[Touch CDMA Android Development] BoboBrazil:
Yes, of course lol:p
[Touch CDMA Android Development] Reddog80p:
Have you tried to flash from bootloader (winmo style)?
[Touch CDMA Android Development] BoboBrazil:
Yes I did try that, i did have the screen replaced at a Sprint store on my vogue, but I don't see how that could affect linux trying to install android, it freezes at random parts, usually about 3-5 seconds after the boot into linux
[Touch CDMA Android Development] tatnai:
what size data.img file are you using with datafstonand?
[Touch CDMA Android Development] moekind:
LOL figured out the problem.

For the new method that DZO just posted.

Androidinstall

Take the androidinstall.tar file and put it on the root of ur sd card.

Meaning DON'T extract the contents first on your computer, and then copy them. Just drag and drop the tar file directly into your root!

Enjoy
[Touch CDMA Android Development] BoboBrazil:
No offense, but if you read the readme file, it said to do that;) That is not the problem I am having.
[Touch CDMA Android Development] tatnai:
out of curiosity . . .

has anyone done a hard reset with android on nand? what does it do?
[Touch CDMA Android Development] sshark:
I am not sure whether hard reset sequence is still the same or not!
[Touch CDMA Android Development] BoboBrazil:
Well at first I tried the one that dzo included in the all in one file, and then I used the one from this http://xdaforums.com/showthread.php?t=591104 when I tried to do it manually...
[Touch CDMA Android Development] jamezelle:
it does nothing lol it says it did but doesnt then you press sent to restart and it boots as normal :p
[Touch CDMA Android Development] dzo:
It won't do anything because it thinks the writable part of nand is zero bytes long. Without this it would clear your data on every boot.
[Touch CDMA Android Development] inphin1ty:
is there any way to still transfer files from usb to android after flashing to android?
[Touch CDMA Android Development] dzo:
Yes, either use adb or boot while pressing volume up and then the device will appear as a usb disk.
[Touch CDMA Android Development] mllora81:
Can anyone give directions on how they flashed this on the Kaiser? PLEASE!!!
[Touch CDMA Android Development] polyrhythmic:
You clearly haven't read or searched this thread, or you would already know the answer.