yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] ToddeSwe:
feeling a bit left out here? :)

Hi all, why is'nt nobody answering my questions?

New problem for you to not answer: :)

I have tried to update the kernal (yes) but i can't get it to work.

Today i have struggled with clockwork mod and i think i've got it to work now BUT now i can't get my wifi to work... i tried to install the wifi fix in post #1 but still no wifi... Must i flash all over again or what can i do?

Please please ...
[HD2 Android NAND Development] a dead man:
there are threads all over this forum which tell you what to do, I found them pretty straight forward and easy to follow. Bauner has also got clear and easy to follow instructions in this thread and in his read me files. I suggest you do a searh on this thread and read them through. (it might be a good idea to start from scratch)

apart from that, without knowing exactly where your at, and how you got there, it's pretty hard to give you an answer :)
[HD2 Android NAND Development] ToddeSwe:
Hi and thanks :) you've got a point.

I've used NAND ROM's for a while now but this one a slightly different from the other ones. Those i've tried was a bit easier to update and then we have this deodexed and odexed or something likevwise.... i am a bit confused. :)

I have noticed that there's a wifi fix for the new kernal, so maybe i will wait for the next version... now everything works just fine. But when i see a new version i can let it be.. :)

I think i've got the clockwork recovery mod now, i was missing the last step and when i did that it worked fine.

So, thanks for now... :)
[HD2 Android NAND Development] elgar:
Hello, bauner,

Thank you for your work! Are you going to continue to develop this rom? You mentioned earlier about making the rom with the latest cwm. Are you still going to do that?
[HD2 Android NAND Development] thesniffer:
Should we consider this thread dead? :(
[HD2 Android NAND Development] ToddeSwe:
Strange thing happened

Hi!

I had another ROM before that made me change ROM to this one when i pressed Power to unlock my device and the screen was all white and kinda reversed... you could see the lockscreen but it was all white and reversed.

Have anyone else had this problem? It has only happened once on this ROM but twice on the other ROM. What could be the problem?
[HD2 Android NAND Development] elgar:
Yes, I have many times. Rebooting helped, but I don't know the reason for the screen to do that. Also I am not sure if this problem happens only with this rom or other roms too. Any other Android Sense version I have used has proven to be slow. This rom is the best and fastest Sense rom for me so far, although I am starting to think that there might not be any further development of it. I hope I am wrong about it.
[HD2 Android NAND Development] a dead man:
What's left to develop? Video camera is all I can see needs tweaking for 720p, but thats all., any thing else would be eye candy. No, perfect rom as is :)
[HD2 Android NAND Development] boydroid:
sticks on gogogo screen for me
[HD2 Android NAND Development] ToddeSwe:
Yes i've notcied that there's nothing much going on here. :) But it works best so, i'm happy with it.
[HD2 Android NAND Development] ToddeSwe:
gps.conf or why does it takes ages to get a fix?

Hi all!

Does someone know why it takes ages to get a gps fix?

I've tried different services in gps.conf but it does not help at all.

I'm using the GPS status app and right after it's kinda fast.

But starting gps status everytime i want to use the gps is a detour... :)
[HD2 Android NAND Development] kuba28ms:
Bauner I Wait Gingerbread 2.3 ;) Nothing for new Version?
[HD2 Android NAND Development] bauner:
sorry for my long offtime here... I spend much time in kernel optimizations, 2.3.2 with sense and 2.3.3 aosp and cyanogen.

If all went well I think end of next week comes an Stock Desire Mod V5 with ext4 fixes and support for cwm 3.

And if I find an issue that cause (sometimes) very high battery drain after autosync for about 1 hour it comes an clean cyanogen 2.3.3
[HD2 Android NAND Development] bauner:
this seens to be an issue on some hd2. It can occour also on complete stock wm.
[HD2 Android NAND Development] ToddeSwe:
Ok, it does not happens alot so i can live with it.

What about my locations not updating then?

It sits on my homelocation all the time and does not update when updating the weather... is there a fix for this?
[HD2 Android NAND Development] happyhallsy8:
hey bauner congrats on this ROM..

Ive used alot so far and its by far the stablest NAND rom for me.

Out of curiosity is the dreaded bluetooth drain in this rom?

I seem to have patches of 0 - 6ma consumption and then random spikes of around 200ma over night on standby

The 200ma disappears if i disconnect bluetooth or disable it.
[HD2 Android NAND Development] bauner:
the bluetooth drain gets fixed in next version
[HD2 Android NAND Development] happyhallsy8:
Thanks bauner your a legend down here in AUS mate :)

You need some space on a file server down here in AUS send me a PM im sure i can accomodate about 5 gig on unlimited bandwidth.
[HD2 Android NAND Development] sirbilbo:
Happy to see that this thread is still alive :)

Thx Bauner, you the best !

//SB
[HD2 Android NAND Development] mech5243:
i Noticed that the v3 odexed vertion is faster, can i use only the updated kernel v4 in combination with the v3 odexed vertion? or i am gonna have problems?

regards,

ALex
[HD2 Android NAND Development] navigator70:
Thanks again Bauner for this excellent ROM!

Now I'm curious and eagerly looking forward to next version :-)
[HD2 Android NAND Development] ToddeSwe:
Eager is my middlename and i don't dare to ask when the next version is up for releasing to us .... :)
[HD2 Android NAND Development] bauner:
I did much changes to fix the ext4 data corruption without getting to much performance regressions.

For release I have to do:

-final filesystem tests

-some changes in my init´s to make an update from v4 possible

-remove some debugging code from kernel

-create dft,cwm and update packages

release comes sure before weekend...
[HD2 Android NAND Development] bauner:
it should work but make sure to use the version with integrated initrd.gz!
[HD2 Android NAND Development] Sion83:
Looking forward to the new release. will there be a odex version?

Thanks for your efford!
[HD2 Android NAND Development] ToddeSwe:
Can someone tell me what this odex is, or point me to somewhere that i can read about it ...
[HD2 Android NAND Development] elgar:
Thanks Bauner!

Can't wait for the new rom! While waiting for the coming new release tried a few other roms... Everytime I come back to this rom for it's speed, smoothness and features.

Are there plans to to work on Gingerbread with Sense?
[HD2 Android NAND Development] varunrai:
Hey!

Absolutely love the ROM! Small question though, I've had it for a few months now, and I updated to v4 just last week. Since yesterday, my phone's been restarting on it's own, my memory card has stopped working (it doesn't read on any system), and even now, without the memory card, the phone keeps restarting and resetting itself.

Could this be because my memory card was faulty? Or have I messed up someplace? It worked well for a couple of days after the update though!
[HD2 Android NAND Development] a dead man:
Heard of similar issues on pda, usually means bad card, try formatting on pc, and test there, don't do quick format.
[HD2 Android NAND Development] varunrai:
Tried! Card can't be read on my HD2, my SGS or my PC. Guessing it was a bad card. Any idea if incorrect partitioning could've caused it?

Going to pick up a class 4 card tomorrow and try. The card I was using all this while was the standard issue Sandisk.
[HD2 Android NAND Development] a dead man:
Possible, but it should have at least formatted at least one partition on the pc. You could try using a partition manager or windows disk manager to re partition into a single partition and reformat, that would give you a real indication of a good or bad card
[HD2 Android NAND Development] bauner:
As I want to release only fast and stable roms the new version is delayed again for a few days.

the problem with data corruption/reboots/fc is fixed, but in sometimes the phone lags for a few seconds.

Now the only thing is to find/fix the lag
[HD2 Android NAND Development] ToddeSwe:
Please take all the time you need, the current ROM is working very good so it no hurry at all.

My comment about the position not updating is kinda faulty, today i went to another town that i'm not usually visit and the position was updated fine but have not updated to my home position since i came back and it's now a couple of hours ago... is this only me having this problem?

More info: my position did not updated to my homeposition unless I started my WiFi connection... strange or what...
[HD2 Android NAND Development] sirbilbo:
+1

Take your time

//SB
[HD2 Android NAND Development] bauner:
Im near to fix a big performance issue in the kernel that can make the device laggy under high i/o on sdcard.

if you have adb installed and know how to push and run an sh script on your device you could help me by running the script and post your results from this thread

http://xdaforums.com/showthread.php?t=1040982
[HD2 Android NAND Development] mbouma:
GPS is nog working

Absolutely love this ROM. Great that you kept it basic.

I've got one problem though. My GPS is not working.

Out of the box I put it under a blue sky and waited for 20min, no fix.

Used the Instantaneous GPS Fixation CWR v1.1 but this didn't do the trick either.

Anyone a solution?
[HD2 Android NAND Development] Kisscool841:
Hi there.

First of all i'd like to say you thanks for the custom nand you made for HTC leo.

I had to install it for a friend and that's really good and work well.

But there's something that i didn't understood about SD card.

I just like to have a little Ext2 of 300mb.

I readed the readme config but i'm sorry i don't understand.

May someone helps me to configure it please.

I made an Ext 2 part of 300mb on my sd, it's a primary part, and the first part is a Fat32 primary too...

But i don't understand wich line do i have to pick o or 1 in the config file.

This one has been moved on the root of my SD butt don't know how to configure.

I just want to be able to install apps on this part...

May someone help me please, what do i have to turn to 0 or to 1 ?

Thanks for all...
[HD2 Android NAND Development] bauner:
-the 1. partition must be fat32

-the second can have any filesystem (it can automaticly formated on first boot)

the config.txt must be inside data folder on sdcard (/sdcard/data/config.txt)

the config.txt settings for an ext2 partition

use_ext4_partition=1

format_ext4_partition=1

use_ext2_instead_ext4=1

for ext4 use this settings:

use_ext4_partition=1

format_ext4_partition=1

use_ext2_instead_ext4=0

You should use ext4 because its faster and safer as ext2

set all other settings to 0 (or leave the default values)

If you want to copy existing userdata from phones internal partition to ext4 or ext2:

copy_data_from_nand=1

wipe_dalvik_cache=1

run_fix_permissions=1
[HD2 Android NAND Development] Kisscool841:
thanks for your quick and efficient answer i'll try it in two days cause hd2 is not my phone, made it for a friend...

But the small part that i have seen is really great, 981 on quadrant without cwm (didn't installed because he is a simple phone user) that's great, good job...

And that's really more usable than win6.5...
[HD2 Android NAND Development] mbouma:
I found out what caused my GPS problem. When I have wifi on GPS didný get a fix. With wifi turned off it got a fix easily.

Now I ran into another problem.

When my battery runs down and the phone shuts doen because of low battery. After recharge I turn my phone back on and all downloaded and installed apps won't start!

I've got a HD2, 8gb SD-card, first partition FAT32, 2nd partition 1024mb EXT2.

Anyone an idea how to fix this problem?
[HD2 Android NAND Development] elgar:
The problem is with the way the Rom works with ext partition, I think. I have had it happened to me many times with this rom. I don't restart the phone, I always turn it off and then start it up again (if I just want to restart the phone). Otherwise, I just loose all of my settings. Basically, I get a hard reset. So, when you see that the battery is very low, just turn the phone off yourself untill you plug it in.

I think bauner is working on this problem for the following version of the this rom.
[HD2 Android NAND Development] bauner:
Why you don´t use an ext4 partition?

your problem looks like database corruption...

are really all installed apps affected?

if you have the cwm version you can try to boot into recovery and do an fsck (you need the android sdk installed on your pc)

in recovery connect your phone with usb to your pc and do:

adb shell

e2fsck -y -f /dev/block/mmcblk0p2

if this not help you can try to delete the userdata/cache from all your affected apps in settings/applications

if nothing work you can ony uninstall and reinstall your apps.

you can backup your data partition with setting "backup_current_data=1" in /sdcard/data/config.txt and reboot

the you get an backup.img in /sdcard/data/ created which you can restore by setting "recover_data_from_backup=1" and reboot
[HD2 Android NAND Development] mbouma:
I also got the same problem after normal rebooting the phone (turning it off and on again).

But I think I also figured out this problem.

Like I said, my sd-card has an 6gb FAT32 partition and I made a 1024MB ext2 partition. But this gave problems as described earlier.

Now, I changed the config file to:

use_ext4_partition=1

format_ext4_partition=1

use_ext2_instead_ext4=0

rebooted; this sort gave a hard reset.

After this I installed all the apps and now it works like a charm. Hopefully this helps others using ext2 partitions
[HD2 Android NAND Development] kuba28ms:
hello bauner

need new version :-)
[HD2 Android NAND Development] pao17:
New version pleeeeeease! :)
[HD2 Android NAND Development] a dead man:
bauner,

how hard would it be to use a kitchen and combine your kernel and init with that of imilkas ram desirehd v2, don't get me wrong. love yor work, but wifes desirehd is looking better and not sure i like the way imilka does things, i prefer your way.
[HD2 Android NAND Development] navigator70:
Hi Bauner,

Could you maybe give an ETA for the new version please? I am watching this thread more times a day for the release of the new version.

But anyway: Thanks for your hard work!
[HD2 Android NAND Development] ToddeSwe:
How come all my downloaded widgets can't load after a shut down and restart? Anyone else having this problems?

I even had to confirm and enter my username and pass for Facebook again!
[HD2 Android NAND Development] ToddeSwe:
Yes please do, me to is eager to know now. Are you working on it or not? Just so we know if we should wait...
[HD2 Android NAND Development] bauner:
last weeks i worked almost every day on my kernel, to fix the data corruption improve the response

later today (or tomorrow) I release an first test version of the new kernel.

if all went well the new rom comes middle of next week
[HD2 Android NAND Development] bauner:
you got an corruption in your database.

this problem gets fixed in next version
[HD2 Android NAND Development] bauner:
you cannot use my init with an ram build.

But my kernel should work.

you need only to replace the zImage if you want to try my kernel
[HD2 Android NAND Development] Stephen:
Is it possible to fix robot voice in your next build. This was stopping me from using it in your last build. I have seen a few sense builds that sorted robot voice on my phone, but had data issues etc. Other than that awsome work man. I do like sense builds looking forward to a new release.

Also call volume seemed to be very low. I know there are some tweaks that can be made to lib files to sort the issue.
[HD2 Android NAND Development] ToddeSwe:
Hi and THANKS, but now my wait is even bigger :)

Keep up the good work and if it meens anything to you, this ROM is the one i have used for the longest time. :) SO it must be the most bugfree ROM if you ask me.

And about this corruption problem, i did not have it to begin with...

Nice to hear that you working on it though!

May i ask what class and brand your SD card is?
[HD2 Android NAND Development] bauner:
sandisk 16gb class 4
[HD2 Android NAND Development] bauner:
here are testkernel screenshots from tap benchmark results on ext4 partition with enabled journal and original unpatched sqlite.so

mount options:

/dev/block/mmcblk0p2 /data ext4 rw,nosuid,nodev,noatime,nodiratime,errors=remount-ro,barrier=1,journal_async_commit,data=writeback,noauto_da_alloc 0 0

result of time dd if=/dev/zero of=/data/empty.file bs=100000 count=2000:

2000+0 records in

2000+0 records out

200000000 bytes transferred in 28.417 secs (7038040 bytes/sec)

real 0m 28.52s

user 0m 0.01s

sys 0m 3.06s
[HD2 Android NAND Development] cafein:
I am on your last build (v4) for 3 days and certainly say that this one is the best build in xda , keep on working on HD2 releases please :):):)
[HD2 Android NAND Development] happyhallsy8:
If you want a benchmark from another card you can pm me the test kernel and ill give it a run if you like?
[HD2 Android NAND Development] norpan111:
Mirror for v4 rapidshare @ mobile really is unusable :( mirror for v4 cwm anybody? :)
[HD2 Android NAND Development] maxld:
I've sent you a PM
[HD2 Android NAND Development] bauner:
In a few hours comes an testrelease for all...

But make sure to have an backup of your data....
[HD2 Android NAND Development] bronx:
any improvements other than ext4 related? I'm using data.img and I was wondering if there's any use of it for me.

thanks
[HD2 Android NAND Development] bauner:
it should give much better response under heavy cpu load and/or high sdcard i/o on all filesystems
[HD2 Android NAND Development] bronx:
grrrreat. :) can't wait to try...
[HD2 Android NAND Development] Stephen:
Here is a modified framework-res.apk file for version 4! I have modified the battery to show the battery percentage on the icon. I want to thank djharvey4651 for providing the icons for desire HD. His link is here:

Simply download framework.apk and use from a command prompt adb push framework /system/framework/framework-res.apk

Do a reboot after you copy the framework file. You can also do this using a rooted file explorer.

http://www.multiupload.com/SMLJUSDS8B
[HD2 Android NAND Development] bauner:
A first Testversion with my modified kernel for V4 cwm is now in 1. Post
[HD2 Android NAND Development] maxld:
Updated few moments ago, everything works smooth as butter. Gonna test it more, but for the moment it is definately a daily driver for me. Thanks bauner.
[HD2 Android NAND Development] cafein:
Hi I am on v4 and yesterday faced some data loses on my mobile , for example after turn off my phone and turn it on again my last call list diappeared anbd also market app wanted me to accep permissions and rules , as like as trying to use is for the first time ecr. I have ext2 partition (2048 ) what is the reason of my data loses ? sorry for my english.
[HD2 Android NAND Development] happyhallsy8:
yeah sometimes there is ext4 corruption... update to the newest kernel
[HD2 Android NAND Development] cafein:
thanks for the reply ;)
[HD2 Android NAND Development] bauner:
did you use ext2 or ext4 partition?
[HD2 Android NAND Development] maxld:
Where could I donate?
[HD2 Android NAND Development] cafein:
still on v4 and EXT2 partition (2048 mb) tonight will flash latest version with ext4 partition (2048 mb).
[HD2 Android NAND Development] samael07:
Links to version 4 do not work. Any solution:) ?
[HD2 Android NAND Development] maxld:
http://www.multiupload.com/DD0NAUUFYF
[HD2 Android NAND Development] happyhallsy8:
bauner...

been testing your new kernel everything seems to be rock solid... however every now and then any time i plug in the USB cable it reboots the phone?

any atempt ive made to adb into the nand file system has resulted in a restart all seems to be remedied after restarting with the plug still in.
[HD2 Android NAND Development] maxld:
Strange, I don't have this problem at all.
[HD2 Android NAND Development] happyhallsy8:
sorry guys turned out i tried to import the framework-res.apk from a couple of posts back...

i ended up redoing and it fixed it... forgot to wipe the ext4
[HD2 Android NAND Development] ToddeSwe:
How do i know if i'm updated?! :)

Hi!

How can i see that i'm updated?

I applied the zip file from MAGLDR and when i rebooted everything that i had before is there and it's not corrupted as before so my guess is tat it's working... :)

But what should the new kernal version say in about?

Reading:

"If you use ext4 partition make sure that you have at least the size of your ext4 partition free space on your fat partition!

This is needed because your ext4 partition gets reformated on 1. boot

Your data moves to an tempfile on fat partiton and back to ext4 partition after the format is complete

The first boot can take much time!!"

I'm kinda shure that i did something wrong when applying this update. Should i wipe dalvik before i install the update?

But i guess i have screwed everything up now and can't go back.....

Must i install the V4 first and then this update to get things right?
[HD2 Android NAND Development] ToddeSwe:
SD card not mounted....

Hi!

My SD card is not mounted no more ....

Trying to fix it with a format and then copy back all files again?! ....

Anyone else have a better idea i'm all ear!
[HD2 Android NAND Development] happyhallsy8:
Not sure i just reloaded and resynced from google luckily i have minimal to install / backup the second time...

First time i wiped dalvik and cache then left everything else. It boot looped first... then worked fine after i pulled the battery and put it back in most likely something to do with my full 2 gig ext4.

The kernel version is: 2.6.32.15-g8f8cba6-dirty bauner@pc #1
[HD2 Android NAND Development] ToddeSwe:
Hi and thanks for trying to help!

I have now formated my ext4 partition and reinstalled everything :) BUT now i'm low on internal memory :) to begin with i have only about 184 mb ... then i made a titanium restore BUT that was a bad idea :) now i have about 6-8 mb left to play with! But from what i can see the speed is VERY good! :)

Wonder now how i can remove EVERY installed app and restart from scratch...

OR what do you have in internal memory to begin with?
[HD2 Android NAND Development] bronx:
ok, so quick question - are we going to be able to flash this updated kernel/rom by dft without loosing anything like in prevoius versions, or shall I start making backups?? (I'll make one anyway, but I just hate starting from the scratch... :rolleyes:)
[HD2 Android NAND Development] bauner:
how big is your ext4 partition?

can you post the output of mount?

you can do it with adb, or simply install an terminal emulator(market) and type mount inside it
[HD2 Android NAND Development] bauner:
you don´t loose your data with my rom´s after reflash with dft if you use data.img or ext2/4 partition and make the right settings in config.txt to create an backup.img

you can only apply this update with if you use clockwork recovery (cwm version of my rom)!

An update for the dft version comes tomorrow evening.

if you have enough free space on your fat partition (for creating the temp file on first boot) you should have all your data back after 1. boot.

But this is an testversion! You should always backup your data before you start!

You can backup your data by setting backup_current_data=1 in config.txt and reboot.

After the reboot you have an backup.img in your data folder on sdcard.

if you set recover_from_backup=1 your data gets restored from backup.img on next reboot. (works on v4 and v5)

You can also rename/copy backup.img to data.img if you want to use it as ext2 loop....

You should also save an copy of backup.img on your pc.