yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] peterpan1957:
@toddeswe

thanks for your help. Now it is perfekt.

peterpan1957
[HD2 Android NAND Development] shahzads:
What desire is this Z or HD or S or the really old desire?

When is the CLK ROM coming?

Can we use ext3 and will that be the same as ext4 in performance?
[HD2 Android NAND Development] tardcutt:
It's the "old" desire...

It runs really good though..

Not sure about the ext3/ext4 performance...:D
[HD2 Android NAND Development] ToddeSwe:
I prefer the old with its smoothness over a bounch of new features that just slows our HD2 down and becomes useless as a phone when you need one. :)

I am a sucker for new features like in Sense 3 but i don't think Sense 3 is working any good on the HD2 without good gfx drivers and so on.

I don't think you will be dissapointed with this ROM. It's just awesome.
[HD2 Android NAND Development] corlygunnz:
Is there going to be a clk version for this rom? Or can anyone direct me to a stock desire calked rom?
[HD2 Android NAND Development] bauner:
if you have magldr with recovery support installed you can use it to flash zipped roms for magldr/cwm from sdcard.

In recovery you can also backup/restore installed roms
[HD2 Android NAND Development] bauner:
not sure, because the kernel needs more testing before...
[HD2 Android NAND Development] bauner:
The kernel ist compiled with ext2/3/4 support, but my current initrd can only mount an ext2, ext4, reiserfs and btrfs data partition but it´s possible that it work if you select use_ext4_partition=1

I can include real mount ext3 support in next update
[HD2 Android NAND Development] bauner:
comes soon

Im working on it...
[HD2 Android NAND Development] corlygunnz:
Thanks, I will an eye on this build...
[HD2 Android NAND Development] SkitzoDelic:
Very strange but android freezes at some random times (allmost every time) for some seconds and then its all normal.

Anyone got the same thing?
[HD2 Android NAND Development] law16:
also waiting for a clk build
[HD2 Android NAND Development] bauner:
can you send me an dmesg log after you hab an freeze?

you can do it with apps like osmonitor or direct on terminal/adb
[HD2 Android NAND Development] tardcutt:
Using alpha 2 for 3 days now...

My phone got freeze one time and that's it..

It seems pretty good for me except for the battery life (not sure if its because of my phone itself)...
[HD2 Android NAND Development] ToddeSwe:
Had my first reboot AND corrupted data today!

Hi!

Just wanted to share that i had my forst reboot today when attached to the car-charger. And earlier in the morning i turned the device off and restarted with a data corruption so i had to reinstall everything...

Lucky me who had a backup, that leads to my next question:

How can i get back all my accounts on the device? Like Facebook, e-mail and so on? I made a data image backup with the backup_current_data=0 command, if i apply this with CWM do i then get all my accounts back, or can i do it with Titanium?
[HD2 Android NAND Development] polifon:
Some issue detected with SMS while replying . in gives error . to fix it all msges from that resiptient shoud be deleted
[HD2 Android NAND Development] bauner:
-in which rom version from did this happen?

-data.img or partition?

-do you have an existing backup?(because you wrote backup_current_data=0 (for backup set this to 1 an reboot))

-do you have an backup.img in /sdcard/data/ ?

-if you have an backup.img in which rom versiondid you made it?

this looks like an database corruption

which rom version did you run?
[HD2 Android NAND Development] bauner:
the clk version comes next days.

for clk I have to switch from rmnet to ppp.

because the connect/reconnect is not stable (most on areas with low signal)

I have to test wich ril wrapper and settings works best.
[HD2 Android NAND Development] ToddeSwe:
Hi

All this happened with the latest alpha 2 release.

And yes i have an existing backup made just before this happened, and yes on my sd card. I made it with the latest alpha 2 release.

Hope this clears things up for you...
[HD2 Android NAND Development] eybay:
Lockscreen

Hi Bauner, wenn ich die Tastensperre anmache und kurz warte und sie dann lösen will, dann hab ich ein freez von ca 4-5 sekunden..wie kann man das beheben??

In english:

Hi Bauner, if i lock my phone and wait just a lil time, than my touch dosnt respont for 4-5 sec. its freezing..

My device : hd2 EU v4

but same with both v5s

how to fix?

plz help
[HD2 Android NAND Development] tardcutt:
Does it happen everytime? or only if you connect to wifi? Cause I think its a bug with the wifi itself... I happens on every other sense build..
[HD2 Android NAND Development] tardcutt:
By the way, does anyone notice that the full version is more stable than the updated from v1 one?

I used the updated one and got very short battery life. Not really a complaint though, until I got an ext-corruption.

Now I'm using the full DFT version and the battery life is really good... I think the device is also more responsive.
[HD2 Android NAND Development] bauner:
looks good...

store an copy of your backup.img outside of phone (if something goes wrong)

rename /sdcard/data/backup.img to /sdcard/data/data.img and make this settings in /sdcard/data/config.txt:

use_ext4_partition=0

format_ext4_partition=0

use_ext2_instead_ext4=0

use_reiserfs_instead_ext4=0

use_btrfs_instead_ext4=0

use_dataimg=1

data_img_size=256

mount_data_img_sync=1

copy_data_from_nand=0

copy_data_from_img_to_ext4=0

backup_current_data=0

backupfile_free_space=0

wipe_dalvik_cache=1

run_fix_permissions=1

recover_data_from_backup=0

then restart.

can you now see your old data? (if this not work its possible that the free space in backup.img is too low if you changed "data_img_size=" or that your backup.img is damaged too(if you created the backup with v5 alpha1 the risk of an broken backup is much higher because an error in the init script))

if this not worked you can try to restore it direct to the partition on reboot with following settings:

(If you not did any changes on your broken ext4 partition right now you should use a other sdcard with an fat32 and ext partition (then we have a last chance to recover your damaged partition if in worst case the backup.img is damaged too.))

use_ext4_partition=1

format_ext4_partition=1

use_ext2_instead_ext4=0

use_reiserfs_instead_ext4=0

use_btrfs_instead_ext4=0

use_dataimg=0

data_img_size=256

mount_data_img_sync=0

copy_data_from_nand=0

copy_data_from_img_to_ext4=0

backup_current_data=0

backupfile_free_space=0

wipe_dalvik_cache=1

run_fix_permissions=1

recover_data_from_backup=1

if this is also not working the last change to get your data back is trying to recover your damaged partition.

but for this you need an linux pc (can be inside an vm or direct installed) or an working cygwin installation.
[HD2 Android NAND Development] bauner:
please post your config.txt settings and the type of your sdcard (the freezings seems only to occour on fast sdcards (gets fixed in final version))
[HD2 Android NAND Development] ToddeSwe:
Thanks for this guide, but i don't think my backup is corrupted. But it is to late anyway, i will make a new one with this uncorrupted install i have now. Will try it later if this happens again. I made a new recovery and installed all apps with Titanium again. And there is no problem when i restart (shut off) my device now.

Will all my accounts (facebook, e-mail and so on) be restored when i apply this backup?

Do you have much work left to do on the final version? :)

I have noticed a laggy typing in this latest alpha. Someone else have this?
[HD2 Android NAND Development] kuba28ms:
hello bauner how are you?

first bug when i have wifi on and wifi policy is checked never sleep, when screen lock & unlock wifi off.

second bug

under button botton side when i have wifi on hot temperature.
[HD2 Android NAND Development] nenich78:
Hi, Bauner

I've just made an update from v.4 to the latest Alpha version, and every thing was just fine. But when I tried to take a picture, I 've got a nasty surprise. The phone said: "unable to save files to SD card due to unsufficient file permissions" WTF...I'm using data image 1024. Then I opened the gallery...it said"No pictures or videos found"...WTF again. Then I opened the "Root explorer",went to "sd card/ DCIM/and all the pictures and videos were there, but again the phone wasn't able to open them. Is there a solution to this problem or not ?
[HD2 Android NAND Development] kuba28ms:
for me working camera and video. try to format sd full format then make ext4 partition and your data image content copy into ext4 with config.txt string
[HD2 Android NAND Development] mehrshad:
Hi

Thanks for your great rom

Is this rom support arabic/persian ?
[HD2 Android NAND Development] bauner:
you could try to run windows chkdisk on your sdcard. in some cases the linux fsck cant fix all errors on fat partitions
[HD2 Android NAND Development] jigners:
Version 1 is simply the best among them all. root permanently with z4root

reboot and your done, excellent battery life. no need to fuss with setcpu

just set everything to fast in spareparts. bauner may not have realized it

but he made a stunning and awesome creation.

z4root apk attached.
[HD2 Android NAND Development] ToddeSwe:
Hi!

I don't understand, isn't this rom rooted? Please explaine more... :)
[HD2 Android NAND Development] bauner:
Bad news

The development of v5 is on hold for some days.

because my loved hd2 is dead... :(

after a fall of 1m the lcd and touch panel are broken.

But the bigger problem is that I cannot turn it on too..

I hope that I can fix it. Else I have to look for a new HD2...
[HD2 Android NAND Development] happyhallsy8:
sorry to hear the bad news bauner...

ebay is good for used screens and the touch panel etc.
[HD2 Android NAND Development] jigners:
I'm referring to Version 1 which is not properly rooted, I found it out when I noticed drocap wasn't working, so I run z4root to permanently root the ROM, and that solved the issue.

I have been using Version 1 as my fallback daily driver, and I've tested a lot of builds here Desire HD RAM builds, Desire Z builds, MIUI builds, CM7, and the latest Sense 2.1 and 3 builds, and to me, nothing could come close to Version 1 in terms of battery life, and it is the least problematic build, everything I wanted and needed to work, works flawlessly.

This has been my daily driver for since it was first release by bauner .
[HD2 Android NAND Development] bauner:
the board on my hd2 is broken too...

But about middle of next week i should receive my new one...
[HD2 Android NAND Development] oopsi:
Angry Birds just won't download

Hey there!

I have a problem with downloading Angry Birds from the market. Also with dismounting my SD-Card it simply won't start downloading. :confused: Any ideas? Thanks a lot in advance. :)

Btw: I am using V5a2
[HD2 Android NAND Development] bauner:
what exactly is your problem with angry birds downloading?

Does other maket downloads working?
[HD2 Android NAND Development] john_matrix:
Thank you Bauner for your build!

Waiting for the cLK's version ;)
[HD2 Android NAND Development] oopsi:
Yes, it is the only App not downloading from the Market (angry birds, seasons and rio). Whenever I hit the ok button for accepting the app permissions in the market, the small download icon appears for about a second and disappears again. The app list in the market is shown again and the string next to angry birds still says free as if nothing has been done at all. So, basically all what happens is this little download icon showing up for a little while and disappearing again. Every time I try. Dunno why...
[HD2 Android NAND Development] bauner:
my new hd2 arrived today. Now I can continue the work on kernel / rom ...
[HD2 Android NAND Development] bauner:
@oopsi

If you want you can send me some logs...

-install osmonitor.

-try downloading angry birds again.

-go into osmonitor and export dmesg, logcat (main) and locat (radio)

the logs should not contain sensitive data. but to get sure take a look inside before and/or send it as pm.
[HD2 Android NAND Development] banglastyle:
My first post on this forum,,,,,

I know the solution to this...i had the exact same problem while downloading google maps...not on this rom but some other. it the cache problem. when you did your clockwork recovery the cache size was too small to download angry bird(its around 17M). so if your cache was 2M then obviously it wont download. because the way download works is...it first saves the file in cache then copies it to the sd card. in this case the installation occurs from cache. so if it is low in memory it wont even download. you have go back to clockworks recovery and increase the size of the cache then install the rom again then go to market to download angry bird. it will work ;). make the cache like 25M at least...
[HD2 Android NAND Development] DeepSpaceSeven:
Hi,

thanks for the ROM.

Do you have a plan to make on update to Android 2.2.1?

Regards

Andre
[HD2 Android NAND Development] bauner:
after v5 (2.2) I switch to 2.3.x

Unfortunately I have that next problem... random fc´s, reboots and bootloops caused by many bad nand blocks... and I bought it on ebay from private... and already gave the vendor last night a good rating because it looked as good as new...
[HD2 Android NAND Development] DeepSpaceSeven:
Thanks :-)

Again: Great ROM!!!! No problems so far...
[HD2 Android NAND Development] white-energy:
Oh! I dunno if thats bad or normal.. but it looks like its bad, maybe you should try doing Task29.. it could maybe clean your NAND memory if it has some problems with it :)

Hope you fix that ;)
[HD2 Android NAND Development] rmdeathwish:
Love your work man....

But please keep the Daf versions alive also.. even for your upcoming 2.3. Roms.. ppl may not like it , but there are still guys who use only Nand till now ...

Thanks and Cheers !!
[HD2 Android NAND Development] pepi83:
Hi bauner,

really nice work. i´ve used the v4 for a while and i´m happy with this.

since yesterday appears an error called. "that the android.process.acore was closed. please try again". if i try to close the window it appears again and again and again?!?!? restarts, resets and something may not help. the phone runs in the background normally.

Do you have any solve for this problem.

Thanks

greetings from Leipzig :rolleyes:
[HD2 Android NAND Development] DeepSpaceSeven:
Hi,

after my good feedback my phone crashed this morning. No apps are working so I have to flash everything from the scratch.

I also got some problems with my BT in the car. The phones was paired, but I couldn't make any call.

Some advices for me? I use V5 Alpha2 with EXT4.

Thanks

Andre
[HD2 Android NAND Development] DeepSpaceSeven:
Installed the V4 and have the same BT problems :-(
[HD2 Android NAND Development] bauner:
did you use data.img or partition?

did you try to set fix permissions and wipe dalvik cache to 1 in config.txt and reboot?

did you made an backup in config.txt or with cwm?
[HD2 Android NAND Development] bauner:
already tried stock rom, task29 and flash with mtty

tomorrow i meet an friend and we try if we can fix it with jtag.

If this not work too I have to modify my rom that it can run on nand or sdcard
[HD2 Android NAND Development] pepi83:
i use data.img and i will try step 2 and 3 and give you an answer...

thanks
[HD2 Android NAND Development] DeepSpaceSeven:
@bauner: Any idea to solve this?
[HD2 Android NAND Development] kuba28ms:
really v4 bt problem when wifi on!
[HD2 Android NAND Development] bauner:
what is exactly the bt problem?

I could give the phone back, and received the next one today.

I hope this one works without problems that i can continue the work on new kernel/rom
[HD2 Android NAND Development] Krendelrus:
Hi bauner! Since htc will not release gingerbread for Desire (i.e. no gb source code), we'll have to find a workaround. Maybe we can use somehow kernel that was leaked with asian gingerbread desire ROM, since it's compiled by htc right for gingerbread?

And we have another phone that's similar to our HD2 - EVO 4G, and it'll receive Gingerbread. Should we wait for it?

If only snq- was able to help us...

update: it seems that HTC has changed their mind :) HTC UK Facebook
[HD2 Android NAND Development] TaRsY:
Hi!

Can I use it with cLK? Does it work to extract the initrd and the zimage and push it to forgettowhere? :D
[HD2 Android NAND Development] bauner:
the final v5 (near finish. Release in a few days) comes with clk support
[HD2 Android NAND Development] bauner:
v5 final (or last tesversion if i don´t have enough time to include all features) comes on weekend.

v5 highlights:

fixed data corruption

more responsive as v4

expert tweaks in config.txt

longer battery life

no stuck of gui while installing apps

support for clk

switch between rmnet and ppp in magldr build

here are some benchmark screenshots with ext4 partition (with enabled journal) on an 8gb sandisk class6 card
[HD2 Android NAND Development] sakipis:
Great news bauner waiting....
[HD2 Android NAND Development] Hannes_HD2:
That 's just awesome! Can't wait...
[HD2 Android NAND Development] daiash:
hi i ahve just installed CWM V4 (deodexed)

how do i get more storage space for apps on phone?
[HD2 Android NAND Development] bauner:
did you read the included readme_config.txt?
[HD2 Android NAND Development] 5pteron:
Great news!

BTW, will you make a kernel also for SD ROMs?

I hate the hideous wake-up lag on SD ROMs (like 10sec!!)

Here's hoping that you develop one for SD and resolve the wake-up lag. :D
[HD2 Android NAND Development] jselles:
UPDATE

I'm waiting for eager update. Thanks
[HD2 Android NAND Development] 5pteron:
I'm waiting for the update... :D

Could you upload to multiupload.com?

rapidshare doesn't work here in China. :(
[HD2 Android NAND Development] bauner:
here is an pre V5 CWM zip Version for magldr + Addon CWM zip for cLK

this is an unstable snapshot release

only basic functions like boot/shutdown/restart, internet, phone, gprs are quick tested

Make an backup of your sdcard/data before you start if this build will not work for you!

This build has NO Reiserfs and Btrfs Support

Use the included new config.txt

should now fit on an standard 5/>240/>40 partition layout

Magldr CWM: (28.06.2011 NEW Fixed data.img /partition settings)

https://rapidshare.com/files/2831382809/fixed_mag_v5_pre_untested_build.rarhttps://rapidshare.com/files/3735128613/fixed_28.06.2011_mag_v5_pre_untested_build.rar

mirror

http://www.multiupload.com/4MVZ75NQPOhttp://www.multiupload.com/BX35443PYT

28.06.2011 Fix CWM zip for Magldr build from 27.06.2011

https://rapidshare.com/files/2190437997/fix_28.06.2011_mag.zip

mirror

http://www.multiupload.com/08JFAR4YH9

28.06.2011 As fix for CLK version from 27.06.2011 simply flash the new Addon CWM for CLK

Addon CWM for CLK: (28.06.2011 NEW Fixed data.img /partition settings)

https://rapidshare.com/files/1007302769/fixed_280611_clk_v5_addon.zip

mirror

http://www.multiupload.com/6BO8R9ZUMN
[HD2 Android NAND Development] 5pteron:
Great! But, mirror when? :(
[HD2 Android NAND Development] sakipis:
stuck go go go why what im doing wrong? im using this settings misc ya 1M

recovery rrecov|ro|nospr filesize recovery-raw.img

boot yboot|ro 5M

system ya 240M

cache ya 40M

userdata ya|asize|hr allsize
[HD2 Android NAND Development] bauner:
uploading now...

I try it now with your partition sizes.

I have only short tested this build on bigger partitions
[HD2 Android NAND Development] bauner:
the problem was only 32kb free space after flashing on 5mb boot partition.

fixed version here http://xdaforums.com/showpost.php?p=15111907&postcount=893
[HD2 Android NAND Development] sakipis:
thanks bauner works great..
[HD2 Android NAND Development] happyhallsy8:
hey bauner thanks for the new version :)

any chance of some quick installation instructions for the config.txt?

tried it in both the sdcard root and sdcard/config like before and it doesnt seem to work.
[HD2 Android NAND Development] bauner:
/sdcard/data/config.txt

but there seems to be an bug too... Sometimes format 2nd partition and copy settings not working.

I try to fix this asap.

A better documented config.txt comes also soon

EDIT:

An new build with stable data.img/partition format is now here

http://xdaforums.com/showpost.php?p=15111907&postcount=893
[HD2 Android NAND Development] happyhallsy8:
hey mate tried the new new verision.. currently get boot loops when trying to install apps and data.img still not working.

still siting wonderfully on v4 though :)
[HD2 Android NAND Development] bauner:
today comes an small update to fix the problem with data.img.

I never got bootloops on my tests. do you saved any log´s (dmesg/logcat/bugreport) on bootloop?
[HD2 Android NAND Development] happyhallsy8:
nah sorry mate i had to go to work...

If you'd like to leave a couple of instructions on how to grab the logs I'd be happy to post :)
[HD2 Android NAND Development] Kefir.net:
Any news about update, bauner?
[HD2 Android NAND Development] bauner:
im searching an bug which drop phone signal nearing sensor gets active
[HD2 Android NAND Development] seadersn:
here is an appropriate clk layout and here is your kernel, modified for clk, incl. files for ppp data mode, for your latest alpha5 v2 version.

attention: test only! if someone could test and report, would be nice ;)
[HD2 Android NAND Development] bauner:
i cant say an exact release time... but sometime next week.

here are some benchmark screenshots from my current testing rom/kernel with data/db/dalvik on ext4 part with enabled journal and not oc!
[HD2 Android NAND Development] bauner:
thx for your work.

a few posts earlier i posted an clk testversion too which fit on 5mb boot.

but its kernel is very unstable (much more as 5a2) and the stripped out initrd is buggy too.
[HD2 Android NAND Development] seadersn:
ok, sry, didn't see yours :)
[HD2 Android NAND Development] seadersn:
but maybe at least the clk layout is usable? 10mb boot, 250mb sys, 5 recovery, 1 misc and 44 cache? one who tested it (kernel) said it froze at lockscreen after bootup :(
[HD2 Android NAND Development] bauner:
your layout is ok.

i try now....

after changing the following in init.rc:

service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0

to

service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0 nand_init

and adding busybox runparts to init.rc:

service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d

disabled

oneshot

your package works fine

i attached an fixed version
[HD2 Android NAND Development] seadersn:
ahh... k, then i deleted too much :( sry :D
[HD2 Android NAND Development] ham2z:
yes in my tests with the update from seadersn it froze on the lockscreen

let me test the fixed version now

will report back

thanks bauner

EDIT:

no freezing

stable, smooth and fast

but still no data connection bauner
[HD2 Android NAND Development] bauner:
in about 2 hours comes an new v5 tesversion for magldr and clk which is faster and much more stable...