yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] xoltrix2000:
Jamezelle, for some reason, when I reboot the phone, the pushed/updated build.prop file with the new value of 160 (ro.sf.lcd_density = 160), is resets back 120 (ro.sf.lcd_density = 120)... how do I stop it from defaulting back to 120?

I verified the pushed file before i rebooted by pulling it again and looking at the changed value, which is correct (160).

Some things you should probibly know is that i'm using nand method, no partitions. I'm pulling the file from /system/build.prop

Hope this helps.

Your help is highly appreciated.
[Touch CDMA Android Development] EnterpriseNX01:
I got the whole reading the SD card problem fixed but my phone still takes about 30 minutes just to connect to Verizon Wireless's network. I.e. I cannot make calls for about 30 minutes after I boot my phone.
[Touch CDMA Android Development] kiwilime:
When you flash android onto the vogue, does the microSD card inside work as a removable drive?
[Touch CDMA Android Development] EnterpriseNX01:
Yes it does
[Touch CDMA Android Development] sshark:
How can I find out how much space is available on System partition? I am interested in moving some apps from data partition to system partition...
[Touch CDMA Android Development] ali3nfr3ak:
Quote dzo first post " There are a few limitations, rootfs must be less than 13M, system must be less than about 90M and data must be less than about 128M. This means unless you use a very stripped down system with apps2sd, hero probably won't work "
[Touch CDMA Android Development] dzo:
connect with adb or terminal on the phone and type df

/dev/block/mtdblock1 is rootfs

/dev/block/mtdblock2 is system

/dev/block/mtdblock3 is data

e.g.

adb shell
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock1 13824 11032 2792 80% /
tmpfs 50808 0 50808 0% /dev
/dev/block/mtdblock2 91648 77020 14628 84% /system
/dev/block/mtdblock3 131072 13672 117400 10% /data
/dev/block/mmcblk0p1 1639800 800 1639000 0% /sdcard
/dev/block/mtdblock3 131072 13672 117400 10% /etc
/dev/block/mtdblock3 131072 13672 117400 10% /cache
/dev/block/mtdblock3 131072 13672 117400 10% /shared_prefs
/dev/block/mtdblock3 131072 13672 117400 10% /tmp
df: /system/build.prop (deleted): No such file or directory
/dev/block/mtdblock1 13824 11032 2792 80% /system/bin/su
/dev/block/mtdblock1 13824 11032 2792 80% /system/xbin/su
/dev/block/mtdblock1 13824 11032 2792 80% /system/lib/hw
/dev/block/mtdblock3 131072 13672 117400 10% /smodem
tmpfs 50808 0 50808 0% /dev
tmpfs 4096 8 4088 0% /sqlite_stmt_journals
#
[Touch CDMA Android Development] masalma:
what are the chances of getting this installed on the NAND version?

Enhanced GPS for Navigation

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

Thanks everyone for their great work

Nas
[Touch CDMA Android Development] jamezelle:
if youve already flashed android to the NAND already then just put the rootfs on post 8 of the thread you linked on the root of your sd. then place a blank file named rootfstonand on the root of your sd. then reboot it should install it
[Touch CDMA Android Development] berardi:
0H528916BJ169154A

Happy Holidays!

Thanks DZO!!!
[Touch CDMA Android Development] Hakukoru:
Considering that the original flashable Android booted from SD, is it possible that the current flashable Android still has that feature? It would be nice for testing purposes, to just put a file on the SD card called 'bootfromsd' or something, so that you can test new builds without harming what's presently in nand. Not to mention some builds still won't work with nand, and I'd prefer not to have to reflash WinMo just so I can haret-boot a new build.
[Touch CDMA Android Development] mssmison:
it can still boot from the sd yes, there a few minor changes need to the rootfs.img.

While I'm sure other have it setup that way, check with vilord as well as he has that setup for sure.
[Touch CDMA Android Development] sshark:
Thanks DZO.

Another question, I am running out of space on my data partition, how can I clear some space out (I have limited apps and I want to keep what I have)? Are there any temp files that I can delete? How about cache? I see that there is cache folder on sdcard where all cache is being stored, is that correct?
[Touch CDMA Android Development] sshark:
That would be cool. I just need to move my data partition back to sdcard so that I can have larger data.img!
[Touch CDMA Android Development] psu2fan:
USB/SD card issues

Just installed android last night via method 1 in op. Everything seemed fine, calls texts, web, etc. then I connected the usb cable so i could access the sd card in windows 7. mm no go. the phone and windows initially recognize a device. In the notification window of the phone it says usb connected, however every 30 seconds or so it re-initializes or starts over. If i try to mount the sd card a notification removed sd card comes up; I still can't see anything in win7. Card is fat32. Worked fine when i had winmo on the phone. Seems like a usb connection issue to me but I've searched the threads and can't figure out what's going on, please help!
[Touch CDMA Android Development] BoboBrazil:
dzo, did you receive the other person's touch that this wasn't flashing correctly on? is there any progress on this? i really want to use android
[Touch CDMA Android Development] tatnai:
um, read the first post.

right now you cannot connect to the SD card with android running.
[Touch CDMA Android Development] psu2fan:
Ahh didn't understand the sd card can't be read from android. so much for transporting my contacts :(
[Touch CDMA Android Development] tatnai:
No, the sd card Can be read from android, just cannot mount it to be used as a usb mass storage drive while android is running.
[Touch CDMA Android Development] psu2fan:
ok then my issue is with android. When I go to the sd card settings it can see the the amount of total and available storage, 2gb, but I cannot seem to access it. Or I don't know where to go to access it. Also the option of formatting the card is always grayed out. I have it formatted as fat32, done with win7.
[Touch CDMA Android Development] plemen:
Currently since sdcard is always being used by the system (sqsh running from sdcard, nand has tmp file on sdcard) we can't unmount it on the phone to mount to your computer...
[Touch CDMA Android Development] tatnai:
You need a file manager to see your sd card from within android. try "astro" from the market, my fav.
[Touch CDMA Android Development] psu2fan:
Many thanks I'm all set now!
[Touch CDMA Android Development] dru28:
cricket proxy

hi i have htc vogue on cricket and im using donut 1.6 flashable rom and i have data working with no problems. But only in browser not through any of the apps or activate my google account. i have been reading and they say its because of cricket port wont let us reach out. also there has been mention of buying cricket 15 html plan but is there a proxy bypass or workaround out there thank you
[Touch CDMA Android Development] dzo:
I've been looking into the hang that happens sometimes on an incoming call. It seems like it's the nand driver, the ARM 9 also uses nand and the ARM 11 is supposed to block while the other core is using nand but it waits forever for the dma to complete. I'll keep investigating.
[Touch CDMA Android Development] tatnai:
you're awesome dzo. your tireless dedication to this project is amazing. waiting on this so I can go back to using nand.
[Touch CDMA Android Development] norrillous:
I have unlocked and Flashed several NFSFANS Roms to my Sprint HTC Touch/Vogue. Would I still need to install a HardSPL?
[Touch CDMA Android Development] JeckyllHavok:
I noticed this hangs on sd boot, too.But just sometimes and just some seconds.

By the way happy new year to new zeeland
[Touch CDMA Android Development] gigermunit:
if you flashed those roms you should have HardSPL already installed >_>
[Touch CDMA Android Development] diagdave:
zimage

I presume that you have a custom zImage to access the internal nand. im trying to build one myself for the kaiser. what kernel options did you have to enable to access mtdblocks?
[Touch CDMA Android Development] dzo:
I think I fixed the nand hangups, this took me ages to track down because it only happened about once a week for me but I finally figured out a way to reproduce it reliably.

The problem was the the nand is shared between both ARM cpus and when one is using it the other is supposed to block until it's free. The blocking was working but the ARM 11 wasn't being sent an interrupt when it became free causing the driver to wait forever. I fixed it by adding a timeout to all DMA commands, if the command hasn't completed within 1 second, it retrys it.

New NBH files are on my site, let me know if it works.

Thanks and happy new year.
[Touch CDMA Android Development] vilord:
i'm putting the finishing touches on the new rootfs which will support nand install. so pretty soon no more messing with manually creating the blatonand files :D

It'll work with the current mini-initrd, but eventually I'll migrate the installer over there.

I hear you on the lockups, I've had it happen exactly once.
[Touch CDMA Android Development] gigermunit:
is this going to be released today along with the nbh?
[Touch CDMA Android Development] norrillous:
Cool I guess I can skip that step. I appreciate it gigermunit
[Touch CDMA Android Development] gigermunit:
no problem, if you need help just message me.
[Touch CDMA Android Development] vilord:
gigermunit: I've just released the nand-capable rootfs.img to the sourceforge page here: http://sourceforge.net/projects/androidhtc/files

if you put an empty file "newinstall" into your android folder it will do everything automatically, otherwise it will prompt to run the installer and let you choose what to do.
[Touch CDMA Android Development] dru28:
hi i seem to be having problems with my screen keeps going in and out. it keeps going back from responding to not and i dont know why its doing that if any help would be nice thank you
[Touch CDMA Android Development] gigermunit:
so i put the file extracted from the zip on my sdcard's root and also make a blank file called newinstall then boot up my phone and it will update?
[Touch CDMA Android Development] ilboiy:
jus wondering if i can active sync or not & if so how
[Touch CDMA Android Development] sshark:
I will confirm that I havent seen any lockups after updated kernel from this month!

Very well done, DZO.
[Touch CDMA Android Development] Quanny2000:
New flash works like a charm! :)

I also noticed something else with this new flash...

originally when i would go into the android market and download an app, i would go quickly to look at other apps but it would lock up the phone until the download was finished..

after this flash this problem is now fixed! and i also noticed the entire phone sped up a bit too...
[Touch CDMA Android Development] fixxxer2008:
glad you guys got this stuff all worked out and working great for members. i sorta miss my vogue but i made the right move moving to the palm pixi "webos" i doubt id look back. my next phone will probably be a android phone though.
[Touch CDMA Android Development] tatnai:
dzo, thinking out loud here. any way to separate resolution from the .nbh? i'm envisioning splitting the .nbh to two files.

1. generic .nbh

2. second file called res, moved to nand using resfstonand, that allows changing resolution on the fly without flashing. file would contain resolution and maybe lcd.density too, don't know if this would overide the default lcd.density of the rom or not.

yeah, I know, more moving parts. however, would ease the process of changing resolution. don't know if this is a good idea or bad idea just a thought. i am personally against having to deal with a larger number of files (harder for noobs), but I get frustrate using nand when I can change my resolution on the fly. maybe I'll have to buy a small microSD card just for flashing to ease my pains . . .
[Touch CDMA Android Development] greasymuttonchops:
how do i change the build

i got the system flashed but want to try another build like hero. how can i accomplish this? :)
[Touch CDMA Android Development] drewden123:
Use the nand kit from here to get a hero setup: http://xdaforums.com/showthread.php?t=603028

Then make sure you flash to dzo's latest 320x480 nbh or else you'll loop at the hero bootscreen.

Searching and reading are your friends. All of that is pretty accessible In threads on the first page of the vogue thread.
[Touch CDMA Android Development] dzo:
I've made some minor kernel changes, if you press cam for more than a second now it takes you home. I also fixed a problem where a cam button interrupt could be lost after resume. New NBH files are on the server but you only need to update if you are frustrated by how the cam button currently works.
[Touch CDMA Android Development] sshark:
I thought it was because of my current config.

Dude, I have installed Plemen's Donut on December 23 and haven't had a single problem since.

Calls and data works like a charm, camera/gps/audio/voice search is smooth. It is as good as having an Android phone.

Thanks again for great work.
[Touch CDMA Android Development] tatnai:
thx dzo, really improves ease of use for me.
[Touch CDMA Android Development] myn:
Thanks DZO. It's these little things that make big differences.
[Touch CDMA Android Development] Quanny2000:
i seem to be having an issue getting ion back installed after installing hero, .. i drop in system.sqsh (modified) along with systemfstonand, from the looks of it it deletes the old nand, and copies the new system over, but when it tries to boot, nothing from the system section is found...

if i install from dzo's androidinstall.tar it works flawlessly...

any ideas?
[Touch CDMA Android Development] Quanny2000:
please disregard... i had a brain fart... lol

completely forgot squashfs-tools v4.0 dont work for making system.sqsh files...
[Touch CDMA Android Development] benutne:
Sorry for coming in late here to reply to this but I have 3.42.30 and I can flash to NAND just fine.
[Touch CDMA Android Development] tatnai:
there have been documented issues in the past with 3.42.30, if it works for you great, but if you've got problems and you are not running 3.42.50 would recommend flashing up.
[Touch CDMA Android Development] mrkwj:
question

Hi all, I'm new to the site & I've searched and didn't see the answer to my following question. The HardSPL needed for this... Where can I find what I need? I have an old deactivated Sprint Touch & would just like to see how android feels. I'm currently using a pre & looking at different options when it comes upgrade time.
[Touch CDMA Android Development] benutne:
What kind of issues? I'm not adverse to installing the upgraded radio to test.
[Touch CDMA Android Development] benutne:
Try here. Basically the HardSPL is the bootloader required to "unlock" your phone. Be sure to follow the instructions perfectly. You can brick your phone permanently if you don't follow directions.
[Touch CDMA Android Development] tatnai:
As far as I recall audio problems, and there may have been some problems getting things to run properly off the sd card. But if things are not broken, why fix them?
[Touch CDMA Android Development] norrillous:
ok I finally found the time to flash to this, and this works GREAT. I love it. but I have 1 small catch. My phone keeps rotating to Landscape view and it wont rotate back. I have an HTC TOUCH (Vogue) on Sprint
[Touch CDMA Android Development] jamezelle:
go to settings>sound and display> and uncheck auto orientation(or something like that) then to switch back and forth between portrait and landscape hold down the power button for 2 seconds
[Touch CDMA Android Development] skajaqueda:
I tried searching this thread, but I cannot find exactly what I am looking for. How do I flash a newer version of voguimg.nbh I originally flashed the .nbh from 12-17, everything is working great, but I was able to the RUU because I still had WM. Now that I am running Android from NAND, how do flash a new voguimg.nbh? I put the file on my sd card and entered the bootloader (power+camera+reset), got to the rainbow screen, but nothing happened, just stayed on the rainbow screen. Did I forget to do something? How is everyone else upgrading to new versions of dzo's files? Thanks for the help.
[Touch CDMA Android Development] jamezelle:
put the phone in boot loader then use the ruu to flash your new nbh
[Touch CDMA Android Development] skajaqueda:
I tried that and it did not work. RUU came back stating that my device was not connected. I tried disconnecting and reconnecting the usb, but that didn't help. I also retried the sd card method, with the file named VOGUIMG.NBH and VOGUIMG.nbh, and the bootloader did nothing. I even downloaded the latest nbh from 1-19 and still no luck. At this point it does not even look like I could flash back to WM even if I wanted to. Does anyone know if HTCFlasher works with a Live CD?

Thanks again for your help.
[Touch CDMA Android Development] norrillous:
TYVM Jamezelle, On last question, is there a normal issue with sprint picturemail? Cuz I can't sned a picture msg for nothing.
[Touch CDMA Android Development] skajaqueda:
I tried the sd card method again this morning. This time with a different sd card that I cleared off, so that I only had VOGUIMG.nbh on. I got slightly further this time because when I put it into the bootloader, the gray screen quickly flashed up, but it immediately went back to the tri-color screen. There were some blue words on the gray screen, that I think said "No Image File", but it flashed up so quickly that I couldn't really make it out. I tried this with dzo's 1-19 and 1-14 nbh and nfsfan's wm6.5 nbh. Would I need to go find the Bell 3.42.50 radio rom and flash that? I would prefer not to touch my radio since I've flashed to 3.42.50 over a year ago. Any ideas would be greatly appreciated.
[Touch CDMA Android Development] arleybarros:
Hi!

Can you guys give me some directions so i can modify or create a NBH to install on NIKE'S NAND?

My touchscreen is broken, so now i can test everything...

Thanks!
[Touch CDMA Android Development] sshark:
where's dzo?
[Touch CDMA Android Development] mssmison:
You've got a lot of work to do. Look through the sourceforge git for tinboot for a start.

He's around :) He's a really busy guy :)
[Touch CDMA Android Development] slyk221:
I'm not sure but I think I messed up. I flashed android to nand and then in win7 32bit proceeded tp use the ADB drivers provided this thread. Now under device manager I've got an exclamation mark next to Android Sooner ADB Testing Interface and under the status it says This device cannot start. Anyone help me please. I was gonna flash back to NFSFans rom till I get used to this android stuff but of course cant get the the sd card now.
[Touch CDMA Android Development] mrkite38:
Unplug your USB cable, hold volume up during boot, choose recovery from the menu, then plug the cable in. The pc _should_ pick up the sdcard as a removable disk.
[Touch CDMA Android Development] slyk221:
Thanks a billion mrkite that seems to have done the trick. Sorry if I didn't search enough but thanks for that, it finally did recongize as removable and I can actually access it like I couldn't earlier. It did show up earlier but couldn't access it. Thanks a billion. I can count on y'all to help with anything. I love y'all even though this is one of my 1st posts, I've been lurking around for a good bit for information.
[Touch CDMA Android Development] hammergunner:
Drivers for phone

everything went well and works perfectly but how to know my computer asks for android drivers

are they any?

and is android on the phones flash or on my SD card(this way i know not to take it out or use the unmount option
[Touch CDMA Android Development] m4f1050:
Just an FYI... You don't have to flash phone to stock rom to change settings.

You can change your CDMA settings by putting the phone in Calibration this is done by putting your phone in BOOTLOADER mode, with MTTY type in the command

rtask c

Hope this helps and avoid losing time flashing and reflashing every time you want to change something... :)
[Touch CDMA Android Development] hammergunner:
problems are just a few

seems like i can't connect to my service provider

and well the battery drains like crazy which i dont care about

and camcorder does not work, which i dont care about either

but this is great and fun to use verse is winmobo

keep up the great work and hope to see more from you soon
[Touch CDMA Android Development] dzo:
Even easier is to use the AT+HTC_DM interface.

echo -e "AT+HTC_DM=C826XXXX00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r" > /dev/smd0

will read NV item XXXX (where XXXX is little endian hex for the item number), use logcat -b radio to see the responses.

e.g.

echo -e "AT+HTC_DM=C826910100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r" > /dev/smd0

reads the AGPS IP address

to write do:

echo -e "AT+HTC_DM=C827XXXXYYYYYYYYYY..............\r" > /dev/smd0

where Y is the new value (little endian)

e.g.

echo -e "AT+HTC_DM=C82791015C8BC6D8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r" > /dev/smd0

will change the AGPS ip address to 216.198.139.92

You can find a complete list of the NV items with names and formats in QXDM.

You are supposed to send the MSL first using AT+HTC_DM=C841MMMMMMMMMMMM (where MM is the hex ascii MSL e.g. 363538383234 for 658824) to be able write values but it seems to work for me without doing that.

I was thinking of writing an app to let people provision their phones this way, would that be useful?

Be warned, you can probably stuff your phone up really badly if you don't know what you're doing with this!
[Touch CDMA Android Development] mrkite38:
What else is new?! :D

I vote for the app.
[Touch CDMA Android Development] m4f1050:
I don't know about your way being easier.... I think they rather use QPST or CDMA WS for that kind of changes. But that's good info, thank you for posting it! I will play with it later on.
[Touch CDMA Android Development] dzo:
I made some improvements to the touchscreen driver, it was reporting bad values sometimes. Get NBHs from the usual place.
[Touch CDMA Android Development] sshark:
Does this include new bootloader (no rootfs model)?
[Touch CDMA Android Development] mrkite38:
I flashed it and it looks like this is setup for rootfs.
[Touch CDMA Android Development] brunes:
How do I wipe and start anew?

After running my phone rock solid for the past month off NAND, I decided to try to flash to the latest. Unfortunately I seem to have hosed it. When I boot now, I get YAFFS errors mounting blocks.

This is what I did below. This procedure used to work - but now I am reading in these threads there is some "new method" about an android foler, but can't find the steps, and the front page of this thread might be out of date?

- Downloaded latest NBH from SourceForge

- Downloaded the latest rootfs

- Downloaded a system.sqsh that goes with the root fs

- Placed the rootfs.img and system.sqsh in the root of my sd. card

- Created empty systemfstonand and rootfstonand files

- Flashed NBH and crossed fingers

Results: It got the new kernel, but is not wiping my nand and re-formatting. how do I get it to do this? This used to work..
[Touch CDMA Android Development] dmulligan:
Where can we find the matching rootfs so that GPS works?

Thanks!

David