yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] brunes:
Hi vilord, what do you mean by this post? How do I get the new rootfs.img into the NAND to boot from it? I tried rootfstonand, and nothing is going on... (see above post) help! I am just trying to get back to a blank slate... do i have to flash WinMo again?
[Touch CDMA Android Development] tatnai:
dzo, can you confirm? i'm going to try it out anyways later tonight.
[Touch CDMA Android Development] dzo:
The NBHs were for rootfs but I've just build some new ones for non-rootfs and renamed the originals as voguimg-rootfs-......
[Touch CDMA Android Development] tatnai:
thx dzo, you're awesome.
[Touch CDMA Android Development] tatnai:
Dzo, running the norootfs version on nand of your latest. Seems like the touch screen is less sensitive especially while scrolling. Has anyone else had a similar experience? Will try switching back to older version to confirm.

EDIT 1: nm, maybe I'm just imagining it - everything except the browsers now seem to scroll ok, I swear I had much better scrolling in the browser before. I don't think it is the new .nbh . . .

EDIT 2: one more issue with the new 2/2/10 .nbh. GPS does not seem to be getting accuracy or direction - I don't see accuracy in google maps, and navigation seems broken; it initially picks up the route, then after 2 seconds reverts to searching for GPS and is stuck there; cannot get navigation to work no matter what. I'm going to revert and try again.

EDIT 3: I can confirm that reverting to the .nbh off of sourcefourge gives me full GPS back.
[Touch CDMA Android Development] sshark:
I rolled back to Vilrod's kernel - I was feeling with 2-2 update on norootfs, screen was little bit less responsive. Other things were just fine and dandy!:D
[Touch CDMA Android Development] jdefe39:
can i receive mms messages when running this on nand? I have verizon if that matters..
[Touch CDMA Android Development] drewden123:
Not that I know of. I'm verizon too. Supposedly there's a way to set an APN so you can send mms but not receive, but it's never worked for me. I wish mms was working as well, but I don't think the devs see it as a big concern. So, we're stuck without full mms at this point in time.
[Touch CDMA Android Development] smarcin:
I'm on Sprint, so can't test this out, but look at post #6 in this thread:

http://xdaforums.com/showthread.php?t=627388

He lists an APN for VZN.
[Touch CDMA Android Development] drewden123:
No go for me.
[Touch CDMA Android Development] sshark:
deleted,,,,,,,,,,,,,,,,,,,
[Touch CDMA Android Development] cp0020:
please help!!!

Ok I downloaded the nomorootfs zip file wnd extracted it to the root Of my sd card and renamed it to andboot. I flashed it to my vogue, I got to the install menu, put sytem and data on nand but it said it couldn't mount. So I chose sd card instead, hit install system, it worked but when it done I hit menu/exit or close or whatever, it says- vogue android- init not found or mounted, something like that. What am I doing wrong? I also noticed that in the nomorootfs zip there is no initrd,zimage,or default text. Do I just put those in there? I'm new to nand so my apologies if these are stupid questions
[Touch CDMA Android Development] KralHiPolymer:
cp0020 the norootfs tar should be androidinstall.tar not andboot. andboot is the folder in the root of your sdcard which the tar goes into
[Touch CDMA Android Development] jaiden05:
Help My phone keeps freezing after I flashed using option two.
[Touch CDMA Android Development] dzo:
This thread is very out of date, try looking in the touch cdma android forum.
[Touch CDMA Android Development] slow88lx:
This thread should be locked.....as should a bunch of old threads....
[Touch CDMA Android Development] jaiden05:
Thanks for all your work tho.. I have been follow your thread for a while this started with you.:)
[Touch CDMA Android Development] thehelios:
[MENTION=917443]dzo[/MENTION] - This thread paved the way of Android for me. You, sir, are awesome.

---------- Post added at 06:05 AM ---------- Previous post was at 06:04 AM ----------

[/COLOR [MENTION=917443]dzo[/MENTION] - This thread paved the way of Android for me. You, sir, are awesome.
[Touch CDMA Android Development] scizzle:
Does anyone else's phone keep freezing? I've tried 2 SD cards, same result. It sometimes freezes before panel init, sometimes when changing colour frame buffer, and sometimes on SD card init. I haven't got it to boot yet because of the freezing.

Light blinks red.
[Touch CDMA Android Development] Quanny2000:
Works great, will donate soon, just need to get the cashola to donate...

took me awhile to get it on my vogue though... i have two vogues, one as a dummy one that the esn was locked out so i have been using it as a "dev" phone to try the new builds before i put it on the other one, and my regular day to day one, had to figure out a way to convert my system file from cramfs to squashfs... so i didnt have to start from scratch..

who would have thought to just mount the cramfs, then create the squashfs from the mount, lol, worked well, and it definately runs a little faster from nand....

great job dzo, thank you for your hard work :)
[Touch CDMA Android Development] jhazesnooty:
I will put in some cash if this will work with kaiser....
[Touch CDMA Android Development] dzo:
We're still using function because I never got gadget working with 2.6.25 and it would mean rewriting the usb driver.

If anyone has their phone crash with this kernel can you send me a kmsg log. The kernel saves a kmsg log (kernel messages) in memory and as long as power hasn't been removed, it will be available on next boot.

To get it, do the following:

reset the device (don't pull the battery or reboot more than once).

connect usb and start adb by typing:

adb pull /proc/last_kmsg .

Post the file and I'll see if there's anything useful in it.

Remember this is still quite experimental and while it's been stable for me I may not have initialised something quite right, so crashes are possible.
[Touch CDMA Android Development] dzo:
All kernel patches are here:

http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue

What happens when you make an outgoing call? does sound work otherwise? what radio are you using?
[Touch CDMA Android Development] jhazesnooty:
just sent $25....I will put in another $25 if you can get it to work with kaiser....

Great work so far...
[Touch CDMA Android Development] scizzle:
I'm getting a tonne of crashes, using an Okta Touch like you... so don't know why it isn't working.

Does it save the kmsg file to SD card? Otherwise I can't retrieve it.
[Touch CDMA Android Development] cbaty08:
Best droid build? Master List of vogue capable Android builds a good idea??

DZO, you are awesome my friend.

Question...

I was going to try this method out over the weekend, but I am having troubles in choosing what build of Android I'd like to use... Of course I'd like 2.0 but I don't know if devs have the gps working yet on it.. So I guess the real question is: What is the latest greatest least buggy Android build for us vogue users???

Second:

Would anyone else be interested in making a thread where we can Post the different "versions/flavors/themes" of Android builds that are running on the Touch?

Sort of like a Master list of Android builds, explaining the differences possibly with screen-shots we can all upload of which build of Android we are running....

Just thinking while I sit here at work waiting for builds to load. ZZzzzzzzz........
[Touch CDMA Android Development] dzo:
Did you have a working system when running from SD? How far does it get in the boot process, what's the last message it displays? What radio are you using, I have the original green Okta Touch running the official Telecom upgrade radio and hardSPL 2.31.CoKe.
[Touch CDMA Android Development] scizzle:
It works fine from SD, when I flash a WM rom back, it still runs.

It freezes in multiple places, either:

* prior to detecting panel type 3 to display, which results in a white screen

* initiating colour frame buffer

* initiating sd card

I have to soft reboot a couple of times to get it to detect my display, and the furtherest I have gotten was up to initiating SD card. I've tried multiple SD cards, removing battery, reflashing... everything I can think of.

I will try the official radio/rom upgrade and let you know.

I have black OKTA touch, one of the last ones tcom sold. It's VOGU100. CokeSPL 2.31. Under Windows mobile settings -> Device information, hardware ID is 0001.
[Touch CDMA Android Development] scizzle:
Ok, I flashed official TCOM ROM, and still not change.

It freezes on:

* Initial boot, before display is detected, with red blinking LED which stops after about 10 blinks.

* Just after display detection, and shows a scrambled screen, which usually flickers when booting from SD before text starts scrolling past.

* On the line "3.690405] mice: PS/2 mouse device common for all mice" <-- that's a new one

* On the line "3.200004] SD Init"

* On the line "3.640137] mmcblk0: pl" <-- just after SD Init Retry

It's always these lines or very close to these lines. I get around 1 second of display... then it freezes.

At one point on the scrambled screen, i saw right down the bottom: "3.720005] Rebooting in 3 seconds...". I don't know if that could be the issue?
[Touch CDMA Android Development] dzo:
Looks like it could be the panel init code, both my vogues have panel type 1. I'll have a look at the wince code and see if there's something I missed. Could you try booting from SPL by booting to the tri-colour screen, connecting with minicom or HTCFlasher and typing "boot". This may not work but the SPL will have initialised the display so it could do.
[Touch CDMA Android Development] scizzle:
I don't have access to linux locally. Is there any windows program that will do the same?
[Touch CDMA Android Development] jamezelle:
dzo how much physical mem do we have on the nand you say we can have 13 mb rootfs 90mb (uncompressed) systemfs and 128 mb datafs am i right?
[Touch CDMA Android Development] dzo:
NAND is 256M and 22M is used for the AMSS and SPL.

3M for the kernel and initrd, 13M rootfs, 90M system, this leaves 128M for data.

The rootfs isn't completely necessary so we could move it's functionality into the initrd, otherwise there's no free space.
[Touch CDMA Android Development] dzo:
Yes, mtty should work.
[Touch CDMA Android Development] BinaryDroid:
Not sure what radio but the phone just came back from AE(I work for sprint as a tech during the day) so i assume it latest. the call connects, i hear it ring on both ends, soon as the call picks up it reboots. incoming calls work no problem at all. think it could be a radio issue?
[Touch CDMA Android Development] bblount:
Failed to mount system fs on SD Card

I have reformatted sd card and tried 2 different cards to no avail. Keep getting stuck in this spot.

Android 1.5 is the version I am using and it will work no problem from sd card via harret.

Please help
[Touch CDMA Android Development] alltellmobile:
where do i put the data.img and system.sqsh/img and rootfs when flashing from windows
[Touch CDMA Android Development] MrDJ:
Faster?

Ok 2 questions:

1. Does the os run a lot faster when running off the NAND?

2. How do I create the 3 files? Do I just type some command?
[Touch CDMA Android Development] MrDJ:
Ok 2 questions:

1. Does the os run a lot faster when running off the NAND?

2. How do I create the 3 files? Do I just type some command? When the instructions say:

Now create 3 empty files in the root of your sd card called:

rootfstonand

systemfstonand

datafstonand
[Touch CDMA Android Development] scizzle:
1. I don't know, probably not but depends on what speed SD card you used to use.

2. In windows just create a new text document, leave it blank, and rename it. Then copy over to device.
[Touch CDMA Android Development] alltellmobile:
does anyone have a blank data.img
[Touch CDMA Android Development] plemen:
DL the package from here - there is a data.img in there that will work. It has two apps installed on it.

http://xdaforums.com/showthread.php?t=591104
[Touch CDMA Android Development] MrDJ:
Got it working great! $5 donated. Thanks for all of your hard work! I wish I had the funds to send you more
[Touch CDMA Android Development] MrDJ:
Hmm I take that back. No touch screen. Working on some things. If I figure it our then I will post
[Touch CDMA Android Development] dzo:
I've put the current kernel here:

http://cs-alb-pc3.massey.ac.nz/vogue/files/zImage-crashtest

Can you try to boot this kernel from haret and see if it works?

If it doesn't boot, can you get a kenel message log by doing the following:

Reboot into wince immediately after the crash.

Create a file called debug.txt in the same folder as haret containing:

pwf kmsg.txt 0xe0000 0x20000

run haret and change default.txt to debug.txt

Click run and it should create a file called kmsg.txt, post it here or send it to me.

Thanks.
[Touch CDMA Android Development] Shidell:
Reboot and try again.
[Touch CDMA Android Development] scizzle:
Ok, I will try that. I issued boot from MTTY and this is what happened:

Cmd>boot
boot
+mddi_host_init
MarkECCBlock
Fill RSVD information for block 160 to 176
Storage start sector=0x600, total sector=0x0
Storage start block=40, total block=0
Total Bad Block in CE: 0
Erase physical block from 202 to 200
+NANDFlashIdentify
+flash_nand_device_probe
flashn_dm_transfer done!
maker_id=0xEC,device_id=0xAA
maker_id = EC
device_id = AA
total_no_devices = 15
We have found a match of IDs
-NANDFlashIdentify
OEMGetUpdateMode
OEMTranslateBaseAddress 23 80000000 80000000
IPLMSG:0x8:INFO: Loading image ...

IPLMSG:0x9:INFO: Jumping to image...

OEMLaunchImage 80000000
Jump to Physical Address 10000000
Jump to Physical Address 10000000

0000
poration

Physical Address 10000000

0000
poration

Address 10000000

0000
poration

Jump to Physical Address 10000000

0000
poration

Physical Address 1000000

But it still didn't get past the white screen...

I will try this zImage.
[Touch CDMA Android Development] scizzle:
New zImage booted fine, I removed panel type from default.txt, and it still booted fine. It just doesn't seem to when it's running off nand.

The difference was when the double vibration came through it was already loading (it was running through commands), where as when I run from nand the double vibrate happens while the screen is completely white and then if I'm lucky it starts loading about 1-2 seconds after, but then freezes after about another second or 2.

Any other ideas?
[Touch CDMA Android Development] scizzle:
Did you create the blank files? And ensure you have data.img, system.sqsh and rootfs.img on the root dir of the SD card as well as the blank files? Or did you do what I did originally and rename the files?

There should be 6 files in total, data.img, system.sqsh, rootfs.img, rootfstonand, datafstonand, systemfstonand.
[Touch CDMA Android Development] ajclai08:
nice, can't wait till you get this going for the kaiser. Kaiser has a much bigger user base= Much more in return for your troubles..;)
[Touch CDMA Android Development] bblount:
yes I did this but still have issue issue
[Touch CDMA Android Development] Reddog80p:
Do you need to blank your sd before adding the files and flashing the nbh or will it work as long as you have those 6 files on the card? I'd like to keep my files that I can use on android (Music, Videos, etc.). Or should I back them up then add after flashing?
[Touch CDMA Android Development] dzo:
If it boots from haret then that means there must be some hardware that I'm not initialising for your panel type. If you're in Auckland, we could swap phones for a few days, otherwise all I can do is check the panel init code again. It'll have to wait till Monday anyway.
[Touch CDMA Android Development] scizzle:
I've sent you a PM. I think I have one of the last batch of Vogues made, that might be what's causing the problem.
[Touch CDMA Android Development] myn:
Do we have write access to /system using this NAND method?
[Touch CDMA Android Development] jamezelle:
yessssssir
[Touch CDMA Android Development] yes_senpai:
I cant get ADB drivers to recognize my device on vista...any Ideas?
[Touch CDMA Android Development] dzo:
Which driver are you using?

This one should work:

http://cs-alb-pc3.massey.ac.nz/vogue/files/adb.zip
[Touch CDMA Android Development] yes_senpai:
Naw it didnt...but I got a bigger issue if you can help. A process called google.android.googleapps force closes when ever I go to try to sync. Mind you I have not yet been able to enter my Email or password into the program because It would tell me to force close right when I try to open gmail. So I cant get email, contacts, market or anything untill I fix this.
[Touch CDMA Android Development] dru28:
linux and getting started

i have downloaded everything i am supposed to but im still a lil confused about how to try to run it dzo you said i need to run htc flasher through linux and i cant find out how to get it im downloading something called ubuntu is that right just point me in the direction and thanks for all of your work its truely amazing
[Touch CDMA Android Development] drewden123:
I had the same issue on Windows 7, as far as the drivers. What worked for me was download the program PDANet and install on ur computer. While it is installing, it will install drivers. After the drivers are installed, it will ask you to plug in your phone to make sure the drivers install your phone to the computer. Once you plug in your phone, go to device manager>android phone>hardware>update driver (or something like that) and when you go to update the driver, choose "let me choose from a specific file" but don't browse to the file, at the bottom somewhere it says "let me pick from a list" or somethin, choose that. Then click the option to list all drivers. Then find Google under the manufacturer column, click on that and you should see a driver on the right called ADB Interface or something close to that. Choose that and click next. It will ask to make sure you want to install it to your phone because it could be wrong, obviously click yes. It will install and it should work.
[Touch CDMA Android Development] bblount:
Just down load these

Copy these 6 files on your formatted fat32 sdcard

http://www.megaupload.com/?d=KZ1WZI99

then flash your vogue with this

http://www.megaupload.com/?d=ZIZVFK5N

Easy
[Touch CDMA Android Development] fixxxer2008:
please re-upload the files. says it not available. how do you make empty files on the root of the storage card? im really confused with this process. i want to do this today but i may wait till it's simplified. im also running windows 7, not linux.
[Touch CDMA Android Development] fixxxer2008:
ok so i had a working version of android, then i made sure i did everything stated and flashed from my 2gb sd card. when i rebooted im stuck on the linux boot screen?? can anybody give me some advice?
[Touch CDMA Android Development] stickus:
Sounds like you have the kernel fashed but not the rootfs, system or data flashed over. Did you make empty text files in the top directory of the SD card? you should have rootfs.img, system.sqsh and data.img on the card as well as three empty text files with names of rootfstonand, systemfstonand datafstonand. There shouldn't be anything in the text files and they cannot end in .txt .
[Touch CDMA Android Development] fixxxer2008:
i created 3 blank/no size files. im gonna try one more time. also why can't i install abd drivers on 7 x64?
[Touch CDMA Android Development] stickus:
Good, just make sure that they have the correct names :) As for adb on Win7 x64, i think I remember there being an issue with them. Check on the new sourceforge page (here) for the adb2.zip. I'm pretty sure that's what you're looking for. I run Linux or MacOS myself, so things work just fine for me :) If you're still really having issues after all that, you might want to try a LiveCD distro of Linux. I'm running Ubuntu 8.04 still, but it works well for me. htc-flasher works like a charm and adb is the awesome. I just wish there as gui frontend available for adb :)
[Touch CDMA Android Development] fixxxer2008:
no go for me, ill wait until they simplify this for noobs. by the way im trying to flash from my sd card.
[Touch CDMA Android Development] stickus:
What kind of SD card are you using? I have found that the 512 MB MicroSD that came with my unit will work, but that the 4 GB MicroSDHC card I have won't allow me to flash.
[Touch CDMA Android Development] fixxxer2008:
new 2gb card. it flashes, it just gets stuck half way in the linux boot menu, it freezes. i followed all of the steps too.
[Touch CDMA Android Development] stickus:
where in the boot process does it freeze? do you get anything that shows that it's making partitions on the NAND or copying your images over?
[Touch CDMA Android Development] yes_senpai:
Is there a link to this program. I've found many programs named PDANet.
[Touch CDMA Android Development] berardi:
hey guys, can someone suggest a package to use with this? I cleared off windows before I realized I needed to have a build already. I'd like to just put the files on my sd card with the nand copy. I'm too new at this to even get a build working from the windows > haret method.

I was looking at the donut asop thread a few down, but he says gps does not work on it and I need my GPS.

or can I just slap any system.img on there and it will see that and use that? or do I need other files?

Thanks!
[Touch CDMA Android Development] stickus:
Sounds like you jumped the gun with flashing dzo's kernel and init :) What you need on your SD is an already running Android build with a rootfs.img, system.sqsh or .img and a data.img. So that means that you need to have a working Android install thru HaRET before you can use this properly. If you don't have one, you're gonna need to flash back to WinMo and setup Android thru HaRET. (go here for NFSFan's 6.5 WM ROM. Or you can reflash a stock rom from your carrier.) You can then use the AOSP build that plemen has put up and take the three files named datafstonand, rootfstonand, and systemfstonand and put those in the top folder of your SD with your working HaRET based files, those being your data.img file, your choice of system.img/sqsh and the newer rootfs that you can get here.
[Touch CDMA Android Development] Reddog80p:
The three empty files you created need to have no file extension. What I did was created them as .txt files and copied them over to my storage card root via active sync (mobile device center for vista/win7). Then I navigated the files on my vogue in file explorer. I went to properties on each file and deleted the extensions.
[Touch CDMA Android Development] ivku:
ADB and Windows 7

You've got it. Your way for adb through pdanet is finally working ! Thanks.
[Touch CDMA Android Development] Reddog80p:
Got a link for PDAnet?
[Touch CDMA Android Development] dzo:
You shouldn't need to flash back to windows, just put your sd card into another machine and copy the system.sqsh from a donut or cupcake release along with the new rootfs.img to it.

Make 2 files called rootfstonand and systemfstonand on the card.

If you want a blank data partition in the flash memory, create a file called cleardata on the sd card (I haven't tried this but it should work).
[Touch CDMA Android Development] Reddog80p:
Does if have to be system.sqsh or will system.img work? I'm wanting a ION release but I cant find a system.sqsh only a system.img.

NVM... Found one in the Kaiser area.
[Touch CDMA Android Development] berardi:
Yeah I figured this out eventually, but then I found out no GPS or bluetooth.

Dealbreakers for me, ill check back for when they have those available... those are like the two primary functions I use my phone for, speaking, and getting directions :(
[Touch CDMA Android Development] Quanny2000:
as far as i know, it has to be a squashfs file, not a cramfs file, otherwise you will run into alot of problems.... (as i did when i did this...)

i ended up converting my cramfs file to a squashfs file, pretty simple too if your running linux on your computer... mount the cramfs file, then create a squashfs file from that mounted directory...

also in my opinion, squashfs is faster file access...