yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] jamezelle:
both will work

does it really matter which is faster since its copied to nand? lol :p
[Touch CDMA Android Development] fixxxer2008:
how are you guys creating your 'blank: files? i tried in notepad, then transferred to my sd card and it still is a text file, there is not extension to delete. can someone upload the 3 files needed please. im about ready to give up as ive tried to flash 3x already.
[Touch CDMA Android Development] zenulator:
here you go
[Touch CDMA Android Development] fixxxer2008:
thanks i keep getting stuck in a kernal panic. it freezes at "attempted to kill idle task" ive tried to flash from my sd card & from a RUU folder...no go. im using a 2gb sd card. im going to try one more time with a 512mb card, if not i give up for now.
[Touch CDMA Android Development] fixxxer2008:
no go for me, i keep getting kernel panic during boot. looks like it not gonna happen for me on my sprint vogue. :(

i also can't get any abd version to install on my pc. let me ask this do we leave the zimage and all of that one the sd card? because i delete everything except the 6 files you guys said. you also say we need a 'working" build. what does that mean? do i need to set android up the old way, then flash?
[Touch CDMA Android Development] zenulator:
If you've flashed and the phone rebooted then you should be fine you shouldn't need to reflash.

The kernel panic means that your setup isn't correct somewhere.

Your best bet is to download the basefiles.zip and copy them to your sdcard and extract them in the root of your sdcard. This way the android directory is setup for you.

Then put dzo's rootfs.img a system.sqsh and a data.img in the android directory on your sdcard. Then extract the blankfiles.zip in the root of your sdcard.
[Touch CDMA Android Development] fixxxer2008:
what about the zimage and everything? like hartnet and the default txt file, do i leave them on the card too? i thought we were only suppose to have 6 files on there.
[Touch CDMA Android Development] Reddog80p:
Leave all the "basefiles" in there. Everything that you would use to run using Haret.
[Touch CDMA Android Development] fixxxer2008:
thanks, it didn't say that in the first post. ill try and report back.
[Touch CDMA Android Development] Reddog80p:
Well there seems to be more than one way to get it to work. I've got it to work just using the 6 file method and the Leave as is Haret method.
[Touch CDMA Android Development] fixxxer2008:
nope, didn't work. thanks guys, i give up for now. ill just use my diamond until this can be simplified.
[Touch CDMA Android Development] Reddog80p:
It's really not that difficult at all. What "base-files" are you using? Format your sd to FAT32...Add all the files from this .zip....http://www.megaupload.com/?d=KZ1WZI99 and then put your phone in bootloader mode (Power button ,Camera button , stylus in reset hole at the same time) and run the RUU that can be found here.... http://www.megaupload.com/?d=ZIZVFK5N
[Touch CDMA Android Development] MrDJ:
Question

Ok so I have a question,

I am up and running and it works great. My question is if I want to load a different android build, do I just put a new system.sqsh to the memory card, then go back to the bootloader and reflash the VOGUIMG.nbh?

Is it my understanding that the nbh moves the current system.sqsh file to the nand?

I have not tried anything yet in fear of bricking the phone.

Thanks!

MrDJ
[Touch CDMA Android Development] zenulator:
You don't need to reflash. I think dzo has it set up where it checks for the blank files systemfstonand datafstonand rootfstonand etc.. If it finds those files at boot it will copy them over to your nand partitions.

If you want to switch the system then put a new system.sqsh the android directiory of your sdcard and put systemfstonand on the root of your sdcard and reboot. To clear your data put a blank file called cleardata on the root of your sdcard.

You can do this manually through dzo's recovery by pushing volume up right after the phone vibrates twice on boot. You can then plug your phone in and enter a adb shell on your computer. Once thats set up you can manually wipe your system and data nand partitions and then mount the new system image and manually copy it over.

adb shell
mkdir /mnt/sdcard
mkdir /mnt/system-nand
mkdir /mnt/system-image
flash_eraseall /dev/mtd/mtd2

mount -t vfat /dev/block/mmcblk0p1 /mnt/sdcard
losetup /dev/block/loop1 /mnt/sdcard/android/system.sqsh
mount -t squashfs /dev/block/loop1 /mnt/system-image
mount -t yaffs2 /dev/block/mtdblock2 /mnt/system-nand
cp -a /mnt/system-image/* /mnt/system-nand/

to manually wipe your data partition

flash_eraseall /dev/mtd/mtd3

then reboot
[Touch CDMA Android Development] dzo:
Yes, that's completely right no need to reflash.

Has anyone with panel type 3 had success booting from nand? I only have type 1 so other panels are not tested.
[Touch CDMA Android Development] Reddog80p:
My default.txt is set to 3. Not sure if it's supposed to be or not but it works.

BTW...I noticed different builds have different apps available in the market? I can't find weatherchannel app, NBA gametime or Sprite Migrate using Donut 1.6 build DRC83 in the market. Yet when I was using 1.5 ION they were all available. Is this due to build or the market?
[Touch CDMA Android Development] Reddog80p:
When you say put a new system.sqsh in the android directory of your sd card...do you mean the root of the sd? I don't see a android directory on my sd card.
[Touch CDMA Android Development] Link9228:
Panel type 3 in my default.txt was the only panel type that worked for me, so I'm going to assume that panel type 3 is the kind that I've got. I had no errors whatsoever getting this to work.
[Touch CDMA Android Development] mrkite38:
I have a panel type 3 (Sprint, black case) Vogue. The first boot android came up fine but the screen wouldn't register anything. I rebooted and it's been fine since. I posted the logcat and dmesg stuff earlier in this thread.

Perhaps there's an unknown type 4 panel! :eek::p
[Touch CDMA Android Development] zenulator:
dzo's installer checks in both places. if you had previously used the latest basefiles then you should already have an android folder on the sdcard with all the config files. this was done to keep things more organized.
[Touch CDMA Android Development] alltellmobile:
can anyone give me an opera mini4.2 apk thats working

because i download opera mini 4.0 apk and i cant install it

from the sd card
[Touch CDMA Android Development] mush2699:
reddog the donut build you uploaded works perfectly when flashed the trouble i am faced with is no gps and end key troubles. Can anyone help me with these issues and is this based off of zens donut build thanks. Also tried to flash cupcakebut this was a system.img anybody have any luck flashing with an .img and if so how did you do it?

My bad i have been using ion so long and didnt bother researching donut and the fact that my issues are the issues currently being faced. Anyways is the ion image available or converted to sqsh so it can be flashed thanks. I have been using it for months through haret i want to use it natively, thanks
[Touch CDMA Android Development] zenulator:
You can try this spareparts from cyanogenmod for your end/home key problems.

Unfortunatly images over 90mb uncompressed don't fit on nand without some tweaking. So a squashfs system image thats 45mb is almost 90mb uncompressed and should fit on nand. The best way to tell if the build is going to fit is to unsquashfs it in linux. If you don't have unsquashfs you can mount the image file and copy out the contents and see how much room it takes up.
[Touch CDMA Android Development] fixxxer2008:
i dunno what panel type i have? i have a cdma sprint vogue. i do know no matter what i tired i couldn't get the flash to work without kernel panics. maybe some more work needs to be put into this? you guys should make this simple for us noobs and put everything in a RUU folder and we just connect and flash. if that can be done? honestly though without gps working on most builds i don't see the need to flash this as of yet. good work though from what io hear from some. i guess just a small handful of us including me can't do this right now. hell i couldn't even get abd to install. :mad:
[Touch CDMA Android Development] scizzle:
I think you have the same phone as me. I have sent dzo a whole heap of info from my phone, and if that doesn't resolve it, I will send him my actual phone. We just need to wait for dzo to have some free time to look into it :)
[Touch CDMA Android Development] jamezelle:
ok im gonna try as hard as i can to help you in this post. im going to base what i say from what other people have already said. i am also going to answer your questions in the order you asked, with that being said:

1. your panel type is 3 (sprint vogue) http://tinyurl.com/ylru7rh

2. more work is being put into a fully flashable rom this dzo already said thid is experimental!(so it may not work for everyone)

3. its not that hard

you have windows mobile installed on the vogue, right

get a build working like normal using basefiles and a system then boot with herat

then use the files posted in one of the prevous posts that have the blank files

rootfstonand

datafstonand

systemfstonand

then if you have a donut you could flash any of the resolutions

if you have a cupcake build use 320x480 nbh files

place the nbh of your choosing in the root(top) directory making sure it is renamed voguimg.nbh and enter bootloader mode (cam+Power+reset hole)

the voguimg.nbh file should flash then it should restart and install the system rootfs and data to nand and boot into android
[Touch CDMA Android Development] dzo:
I've added some new nbh images with small changes. The kernel does less initialisation now and you don't need to unplug and replug in the usb to get it to be recognised.

Recovery mode now mounts the sdcard as a usb disk so there's no need for adb when installing a new system image. Just flash the nbh and boot with volume up pressed. When you see the recovery message, plug the phone into any computer, drag the necessary files across and reset.

If everything works for you, then there's no need to flash this, it doesn't add any functionality.

USB mass storage doesn't work under android yet (vold crashes for me on cupcake anyway).
[Touch CDMA Android Development] fixxxer2008:
glad to know i wasn't going crazy!
[Touch CDMA Android Development] fixxxer2008:
i already tried that and it did not work. i had android working running from my sd last night, the flash killed it and i got kernel panics. plain & simple.

the thing that pisses me off the most id i couldn't even get abd to install on my windows 7 x64 rig. i even tried pdanet x64 with no luck. im not installing linux to just sync this phone up.
[Touch CDMA Android Development] jamezelle:
thanks dzo the usb disk functionality is going to make thing easier:)
[Touch CDMA Android Development] fixxxer2008:
so we don't have usb mass storage yet?
[Touch CDMA Android Development] jamezelle:
seriously? :D

"sorry i had to"
[Touch CDMA Android Development] dzo:
Only in recovery mode (volume up on boot). Some more work is needed on the rootfs to get this working in android.

Try the new nbh images, I may have changed something that's helped with your kernel panics.

When you see a panic is there any useful debug info displayed, it should show the name of the function that caused it near the top of the screen.

For people using HTCFlasher, I uploaded a new, modified version, that works much better for me.
[Touch CDMA Android Development] fixxxer2008:
yeah, yeah... i asked because i thought i read we had it.
[Touch CDMA Android Development] fixxxer2008:
i think im gonna wait until this is perfected a bit more but thanks. im sure ill give it a go again soon.
[Touch CDMA Android Development] fixxxer2008:
tbh honest with no usb, no gps and such these aren't really "fully" working builds. ;)
[Touch CDMA Android Development] jamezelle:
well gps works on ion, let me rephrase that, cupcake builds, and usb works with adb. im sorry adb isnt working for you but it is for many others. which allows terminal access, installation of apk's and filetransfer among other things. these builds are more than functional for a device as outdated as ours(that isnt even supposed to run android). besides bluetooth, cupcake builds are by far more usable then any wm build for our vogue:)
[Touch CDMA Android Development] alltellmobile:
for those of you who cant get it working try what i did

just download and unzip

http://www.mediafire.com/file/wdatomhfywn/donut.zip
[Touch CDMA Android Development] mush2699:
can someone please send a link for a cupcake sqsh image that will work with this flash. I have always used cupcake as it is reliable and i would like to continue using it but i cant find a cupcake with sqsh system image thanks
[Touch CDMA Android Development] fixxxer2008:
thanks for that, ill give it a go. what build is that?
[Touch CDMA Android Development] mush2699:
Can somene please upload a cupcake ion build sqsh to mediafire,or megaupload thanks so much.
[Touch CDMA Android Development] jamezelle:
im pretty sure system.img will work
[Touch CDMA Android Development] dzo:
Try this:

http://www.mediafire.com/?nttylakio5h
[Touch CDMA Android Development] alltellmobile:
thanks for that, ill give it a go. what build is that?

It is DRC83
[Touch CDMA Android Development] alltellmobile:
ive tried ion after the donut and i couldnt get the market to work , would just crash
[Touch CDMA Android Development] mush2699:
its weird i use all my ion files with theflash utility but i get a hybrid showing that it is a donut build it shows my ion background programs etc but it shows the zen donut lock screen and again gps and end key doesnt function. Once again i am using system.sqsh i downloaded from post #148

BTW trying to load .img system files produces error failed to mount fs on SD Card so far no problems booting into sqsh system files
[Touch CDMA Android Development] Quanny2000:
hey dzo, on the new images, 320x438 suppose to be 320x428?
[Touch CDMA Android Development] mrkite38:
Ok, tomorrow I will generate a step-by-step howto, with screenshots, for installing adb on Windows 7 x64. It's something we should probably have anyway. Where should it be posted? zen's tips thread, wiki, both...?
[Touch CDMA Android Development] alltellmobile:
i had that same problem and just quick formated my sd card twice and it worked
[Touch CDMA Android Development] MrDJ:
Great, thank you for your help! I am having issues trying to get a lower resolution. Everything is so small. I attempted to edit the default.txt file with no luck. Before the flash, I used the correct nbh and used the same default.txt file.
[Touch CDMA Android Development] ozzzzysh:
I've been trying many different builds of android.. Which one is stable and fast enough to even bother doing this with?... Do any support MMS?.. I'm sorry I'm in a hurry and don't have time to research.. I'll get back on in about 12 hours.. lol This sounds like a huge feat though..
[Touch CDMA Android Development] mush2699:
As far as i know mms doesnt work with anybuilds (someone please correct me if im wrong) and everything else works with the cupcake builds. Donut builds do not have a working gps and I am not sure what is and isnt working in the hero builds.

As far as my problem i installed xrom and do not have a marketplace and my data is not working. I am going to reload windows mobile to make sure data is working in there. If anyone can help me I was always using the cupcake .img with google not the xrom build but i cannot find a basic cupcake with a sqsh. I will keep looking but with the loss of google code I cant remeber what it was. I do remeber that two versions existed one with google programs and one without. Thanks
[Touch CDMA Android Development] Shidell:
Just donated the $20 I promised. Thanks much Dzo!

Confirmation number: 9NW402451Y3981540.
[Touch CDMA Android Development] hexto:
Donation

As promised I donated $25 to DZO. Thanks for your hard work:):):)

Confirmation number: 19G15033WY3803602
[Touch CDMA Android Development] mrkite38:
Alright, try this:

http://xdaforums.com/showpost.php?p=5096501&postcount=17
[Touch CDMA Android Development] hexto:
So if I used the 320x480 definition and wish I had a used a smaller definition how do I go about it? I'm using Zenulator's Droid-Ion Donut 1.6 and I love it but I just want to use a larger resolution.
[Touch CDMA Android Development] jamezelle:
just flash the 240x320 nbh file and it should boot into the build you already have setup
[Touch CDMA Android Development] hexto:
Thanks. I'll give it a shot.
[Touch CDMA Android Development] tatnai:
dzo, hats off to you. dying to try this, can't lose my turn by turn GPS only avail in win mo right now so no flashing for me. I'll be waiting for some more donut devel w/ full market in 240x320, at least partial GPS, then I'll be flashing with the rest of them.

Incredible, once again dzo, your commitment to this project is ridiculous.

Will split $50 between you and whoever brings full GPS to donut (do I hear vilrod, srwalter???) - $25 to dzo and $25 split for contributors to donut GPS. heck, i'll begin paying when partial GPS is present in donut. the market is just a matter of time, i'm hoping. this will buy some time for my vogue on sprint SERO.

I always hated those "bounty" threads, but this is exciting enough for me to get my wallet out of my pocket and wave it in the air.
[Touch CDMA Android Development] cbaty08:
You pretty much hit the nail on the head there Tatnai; I was about to flash this past weekend but due to finals with school I didn't have time. I think I might as well wait too for the GPS... As I don't really ever use it, I do use it when I am actually in the city and not familiar to a place, and you don't quite know when you're going to need it right?

Anyways, I will step in line with you Tatnai and throw some bones when GPS is here; with the effort these devs are putting in I know it can't be too far away...
[Touch CDMA Android Development] plemen:
You guys should create another post for gps bounty...
[Touch CDMA Android Development] ali3nfr3ak:
firstly thank you dzo, and i will donate to u as well :D, ok so finally after a couple off days i got this to work for me , but i have one issue is that my phone doesnt seem to reconize my wired headset , like when i play music it wont playback through the headphones, and just wondering if anyone had any ideas... thanks
[Touch CDMA Android Development] polyrhythmic:
Make sure that your headset adapter is plugged in _before_ you start playing music (and maybe even before you launch the music app). My standard adapter has always worked with Android.
[Touch CDMA Android Development] ali3nfr3ak:
hey thanks for the reply and tried all that no go, im just about to see if its just for hero builds, which what im using , just loading up a donut build, and its only been since got hero up and running on nand, via windows/sdcard/haret method was ok, donut build has the same problem for me
[Touch CDMA Android Development] dzo:
I just put some new nbh files on the site, they have working bluetooth (mostly) and some fixes for audio problems.

Bluetooth works for a bt headset but not for a2dp (I've only got the slow serial port working and it's not fast enough for a2dp).

It still has some problems; in particular, sometimes the phone may stop responding during a BT call, the call stays connected and it should recover after about 30 secs. I don't know what causes this but I don't think it's the kernel, it happens with cupcake, I haven't tried Donut.

When you enable BT the back button works now, this was caused by some extra bits in a cpld register that I didn't know about.

Sometimes the audio system would crash when the a9 sent a suspend message from an adsp module. I've been trying to figure out why for ages and think I've finally fixed it.

Enjoy...
[Touch CDMA Android Development] Shidell:
Dzo,

Interesting that you were able to fix these issues in the .nbh--I was under the impression this was simply the bootloader you wrote, which is copying the Android system files to local NAND?

Any comments on GPS functionality and Android 2.0.1?

Class ends Dec. 17th. :( So close, but so far. I can't wait to have more time to dig into trying to help.. even if it's a mostly futile attempt.
[Touch CDMA Android Development] ericbond:
boot problem

hi sorry if this has been asked before,

i flashed the ruu and that works fine but when it boots up it says failed to mounts system fs job terminatied.

any help would be appreciated
[Touch CDMA Android Development] srwalter:
How would one load a custom kernel? Is it necessary to create a new NBH file, or is there another way to update the kernel?
[Touch CDMA Android Development] alltellmobile:
You could try quick formatting under windows that's what I did and it worked
[Touch CDMA Android Development] dzo:
In theory you could write to /dev/mtd/mtd0, but you would have to include the oob data and handle bad blocks.

You could also use kexec to replace a running kernel if you just want to test a kernel.

Probably easiest is just to reflash, if use the HTCFlasher from my site it's very quick.

A script and all the code you need to make an nbh is in the sourceforge git repo.
[Touch CDMA Android Development] mrkite38:
Yes, I'd like to know this, too... you can extract the nbh with htcflasher... is it possible to then edit the .nb files, rebuild and reflash? Can you tell I've never cooked?

..

edit: too slow.
[Touch CDMA Android Development] alltellmobile:
is there any possible way to make your generic android meant for the vogue that has gps camera mms sms gmail data working calls thats the vogues own build
[Touch CDMA Android Development] spidiracer:
Can someone write up or post a link on how to do this? I want to try it on my SD card first... then flash it to NAND.

When i hit this link:

http://it029000.massey.ac.nz/vogue/files/?C=M;O=D

There are just too many file... I dont know what I need, what files do what... I just need a little explanation of what each file is for and what I need to have on my SD card. I have been holding off on android because I have yet to find a really good noob writeup. The current write ups make sense if you already know how to do it, but coming in with no knowledge on how to do this... its confusing.

P.S. how is the weather in Auckland? I am planning on moving there in a few years. :)
[Touch CDMA Android Development] stickus:
Donation

My $20 is in, more to follow as this thing gets more mature and functional :)

Confirmation number: 1L4630454M032240G.
[Touch CDMA Android Development] osilvan:
Hi dzo

I've been experiencing an audio issue for a while. Sometimes audio crash when using audio input with applications like Shazam or voice search. After that, I can't hear anything when answering a call.

I'm using a polaris running zImage-24-10-09, basefiles-20091116.zip and a donut ion system image (system-droid-ion-r2.sqsh)

Does this fix solve this problem? Is this fix only for vogue? Can I build kernel for polaris from git source?

Thanks