yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] bauner:
it should be faster as on nand... Market works on both versions without any problems...

your settings are right but i suggest to set format_ext4_partition=1

this formats your ext4 partition and removes unsupportet ext4 options

did you format your fat partition on sd card too?

did you copy the folder "copy_to_sd_root" to sd card?

you need to copy the files inside this folder to your card (zImage, initrd.gz, update.zip and the data folder)

then start daf and flash

now on reboot hold the power key pressed till you see the magldr menu....

choose boot ad sd and call button

then go to install zip from sdcard and press call button

apply /sdcard/update.zip and press call button

after finish go to reboot system now
[HD2 Android NAND Development] riri19:
OK it s ok i am verry happy but the scrolling is hash (slow)

Congretulations
[HD2 Android NAND Development] bauner:
what sd card do you have? for me ext4 is much faster as complete on nand and only a little bit slower as data.img loopfile mounted without sync
[HD2 Android NAND Development] tiripiri:
all this ok , but i have a little problem . in call volume is low, i must activate and deactivate speaker ,for normal volume.
[HD2 Android NAND Development] bauner:
do you have to do this everytime you make a call?
[HD2 Android NAND Development] af974:
Give a try to the update attached if it will solve the incall volume, i'm using it with no problem.Make a Nand backup before it is suggested.

I'm using CWM too and i did noticed that it was a bit slow then Nand anyway i did change "cache" in Config.txt from 15M to 30M (or 40M , i dont remember) and now it's fine.

EDIT: credits for the file goes to Rafpigna.
[HD2 Android NAND Development] Phil82de:
data corruption with ext4 + sync

I have this data-corruption-problem again since last night after turn the phone off an on!! =(

When I had flashed your ROM I kept an empty 2000-MB-fat32-partition on my SD (new 16GB class6 transcend) and your script formatted it as ext4. Everything looked fine the first days and restarts. Here is how my config.txt looks like now:

use_ext4_partition=1

format_ext4_partition=0

use_ext2_instead_ext4=0

use_dataimg=0

data_img_size=512

mount_data_img_sync=1

copy_data_from_nand=0

copy_data_from_img_to_ext4=0

Help! How can I "repair" this (should I easily set format_ext4_partition=1 again?) and is there any other way to prevent the data corruption?
[HD2 Android NAND Development] atlandas7:
Very good job. Thank you. Is there a way to add Bulgarian language. Thanks in advance:)
[HD2 Android NAND Development] tiripiri:
yes, every time i received a call.
[HD2 Android NAND Development] bauner:
i suggest to not install this update! it includes an libsqlite.so (a patched version for ext4 is already included in my rom)
[HD2 Android NAND Development] bauner:
what radio do you use? i don´t have problems with 2.15
[HD2 Android NAND Development] bauner:
A changed update.zip without sqllite.so is attached here you can try this, but i´ve already included an modified htcleo.acdb in the rom (it can be that this is the same as the one from update)
[HD2 Android NAND Development] bauner:
it can be that your problems come from your sd card. I had an 4gb trancend and had very few days the same issues with it.

now with an 16gb sandisk all is fine.

you can also try to format your card complete with this tool an make your ext4 patition ater.

http://panasonic.jp/support/global/cs/sd/download/index.html
[HD2 Android NAND Development] tiripiri:
15.42.50.11u_2.15.50.14
[HD2 Android NAND Development] tiripiri:
so my radio is 2.15 , any solution for in call volume?
[HD2 Android NAND Development] bauner:
did you try if this makes any changes?

http://xdaforums.com/showpost.php?p=10879633&postcount=296
[HD2 Android NAND Development] bauner:
What does it exactly?

stuck in boot, bootloop or fc´s?

did it happen after after a reboot or had you problems before? (non working apps, fc, sms/mms...)

do you have android sdk installed on your pc? (if you have you could send me some logs from your device)

Today I begin working on an update which allows to auto backup your files from ext4 partition or data.img into an databackup.img.

I also add an fallback boot option which allows to automaticly use databackup.img after reset if the phone did not boot complete before
[HD2 Android NAND Development] af974:
Sorry Bauner, i totaly forgot to leave the libsqlite update, i'm deleting it from my previous post.
[HD2 Android NAND Development] Phil82de:
After a reboot (not one of the first ones, just after a few days when everything was OK) I got the "learn-how-to-use-the-keyboard-screen", different processes forced-closed, and some of the widgets have error-messages (problem with loading the gadget). The Background-Image changed to default and some Notification-Tones changed. Everything was slow.

I don't have the android sdk on my PC. I could try to install if you give me a little help how to get the logs.

I "panasonic-formated" the SD before I flashed the phone again yesterday, but I've not much hope that this will help.
[HD2 Android NAND Development] bronx:
hi Bauner.

Just for the start - I just love Your rom. Superstable, fast, everything works. Well... It is my replacement for Darkstone's Froyostone 3.2 SD build, so that says it all...

... however, I have a question: how shall I update kernel on Your build? I've found extracted prj's 0.4 kernel, which among others fixes low incall volume (and Your build unfortunatelly suffers from it), but I'm not quite sure how to do it... :rolleyes:
[HD2 Android NAND Development] bauner:
i use prj´s 04 kernel with a few changes from me.

in a few days comes also an update that fixes root, incall volume and many more.

but you can send me a link to the kernel. then i can try to boot from it and extract its config to see if there are changes to my actual kernel config
[HD2 Android NAND Development] bauner:
I send you a link and an howto with an changed initrd.gz (it includes the most of the changes that comes with next update)

you can try if this solves your problems.
[HD2 Android NAND Development] kuba28ms:
Greatest ROM
[HD2 Android NAND Development] nicsarnero:
:D Thanks so much

Bauner

Greatest Rom Greatest Works
[HD2 Android NAND Development] bronx:
hi.

any news Bauner? I just can't wait for next version... :D
[HD2 Android NAND Development] elgar:
What else could be changed? It seems that this is already a perfect build :-)
[HD2 Android NAND Development] bronx:
... yeeeaa... and nooo... :rolleyes: the build is perfect, but kernel could be improved. ;)
[HD2 Android NAND Development] DrMax1:
My phone hangs on boot.

I have formated the ext4 partition, copied files to SD root, etc.

After install from SD I reboot, and the phone stays in a infinite loop (Droid greeting - black HTC screen - beautyful fireworks).

Waiting more than 30', and is allways on loop.

Some help?
[HD2 Android NAND Development] kuba28ms:
only format second partition ext4 up to 2048 mb
[HD2 Android NAND Development] bauner:
im working every day on the new version...

already done right now is:

added htc keyboard with arrows

deodexed

changed htcleo.acdb

root is really fixed

backup data from ext4 in backup.img on reboot

restore backup.img on boot (to data.img or ext4 partition)

clear dalvik cache on reboot

run fix permissions on reboot

changed ext4 mount options

since yesterdy i do some work on the kernel. but compiling and benchmarking needs much time...

im currently try to optimize the io and ext4 performance

I also try if btrfs or reiserfs perfroms better than ext4
[HD2 Android NAND Development] bronx:
sweet... can't wait to try it.

btw, as I use data.img, will flashing a new version without changing anything on sd keep my apps, settings, contacts, etc.?
[HD2 Android NAND Development] bauner:
you can reflash without loosing your data

but you can update to my new version also without reflash
[HD2 Android NAND Development] idevmag:
amazing build bauner

Waiting for the new update to have deodexed, enhanced ext4 or raiserfs support

your build is really super and appreciate your hard work

any ETA for the new build?

Thanks,

iDev
[HD2 Android NAND Development] bamit99:
Ok..Don't laugh on me..but I am still using the initial most build and I think it is perfect for me...Used to tools to tweak it and it is awesom..Rates a 1800+ on Benchmark...the only thing bothering me is the Phone Volume..

I have read comments about issues with ext4 partition and all..So I am like..Why bother when all is good...so is there a way to fix volume issue without reflashing etc.

Thanks in advance !
[HD2 Android NAND Development] elgar:
No issues with ext4 partition in this rom for me! There are maybe issues with other roms, because it depends on how you configure the rom to use the ext4 partition. When I moved from data.img on SD to ext4, the rom seems to be working even faster, also no problems using SD card as a usb flash - no need for any third party software for that.

If you have HD2 EU, I'd recommend using ext4.
[HD2 Android NAND Development] bauner:
I think about 2 days
[HD2 Android NAND Development] samuel007:
for some reason i can not use data.img on sd-card with v2

i've made comlpet fresh installs.

sdcard 16gb formatted fat32

data folder copied in root of sdcard

flashed trough magldr 1.11

after start up i have 115 mb of internal storage.

than i boot magldr again, go in usb masstorage and change the config.txt like this

use_ext4_partition=0

format_ext4_partition=0

use_ext2_instead_ext4=0

use_dataimg=1

data_img_size=512

mount_data_img_sync=1

copy_data_from_nand=1

copy_data_from_img_to_ext4=0

after this i boot again. but it does not create or copy the daa.img to my data folder on sdcard. i still have 115 mb storage.

than i tried the Clockwork way but after booting it restarts again and again and again---

so what should i do now, to have my data.im on my sdcard? thanks a lot!
[HD2 Android NAND Development] bauner:
did it work with v1 on the same sd card?

did you power down your phone ater the use of usb storage in magldr? (if not it can be that your sdcard is not working on boot)
[HD2 Android NAND Development] samuel007:
i had this one before and averything worked fine with same sd card:

DFT_LEO_NAND_Android-bauner-mod-kernel-prj03

after using magldr usb storage function i went back and made a reset (as far as i can remember) i'll try it again now

edit: but when i boot android for first time and plug the phone to usb, i can change the config.txt, too, right? mounting as harddisk, change the config, unmount and reboot phone

edit2: when i flashed the first version for the first time i had the DFT Leo Desire Stock ROM installed. Before flashing v2 i had MIUI installed. So do i need to have the DFT Desire Stock Rom flashed before flashing v2?
[HD2 Android NAND Development] bauner:
you dont need to flash DFT Desire Stock Rom before you can flash my rom

this ist the best way to do. the mass storage in magldr is very buggy
[HD2 Android NAND Development] samuel007:
thank you, i'll try it now from scratch. format everthing that could be formated :)

edit:

very strange.. it simply does not work for me

what can i do to make my sdcard work on boot?

edit2:

i have tried a lot of things without luck. Flashed Version 1, everything works fine. After flashing v2, same problem

i try ext2 partitioning now

edit3:

what i did: booted in Clockwork, partitioned the sdcard (1024 ext2, 64mb swap) than flashed the v2 ROM. config.txt edited and now it is working.
[HD2 Android NAND Development] bauner:
can you try it with another sd card?

if you use partition I suggest you to use ext4. its faster then ext2
[HD2 Android NAND Development] samuel007:
yes, thank you very much for your help. I'm using ext4 now and it seems to work fine so far. :)
[HD2 Android NAND Development] bamit99:
If you say so buddy ! :)

I am using the HD2 Asian version with 576MB...So the process remains the same right? Create two partitions on Disk...First partition 2 GB (Max) for Ext4..format it using the format command in config file and install the ROM. Any other points to take care of...before I do it. I might be using diskpart to partition.
[HD2 Android NAND Development] bauner:
1. partition fat32!!!

2. partition ext4 (max 2048)
[HD2 Android NAND Development] samuel007:
i had problems to change partitions of my sdcard with windows 7. Than i used the Clockworkmod Recovery and did it in 5 seconds :) it has an option for doing that.

In the morning i had the robot voice issue. After reboot it was away. Hmmm. Everything else seems to work great! Thank you bauner for this great ROM! No more flashing, no more trying, just running :D
[HD2 Android NAND Development] elgar:
So far everything works great with ext4. I have just a problem with HTC album. When I open the widget, the pictures are all blurred, until I zoom in. In Desire HD roms everything looks crispy at the very start. Does anyone know how to solve this issue? I guess it's something wrong with the Stock rom itself.
[HD2 Android NAND Development] bamit99:
Yep..just did..It seems to be stucked at the Fireworks !! First partition as FAT32..around 5 GB and second as a perfect 2 GB (RAW??!!)..Did not format it.

Hope, to get it working soon.

use_ext4_partition=1

format_ext4_partition=1

use_ext2_instead_ext4=0

use_dataimg=0

data_img_size=1024

mount_data_img_sync=1

copy_data_from_nand=0

copy_data_from_img_to_ext4=0
[HD2 Android NAND Development] bauner:
this settings should work...

do you have an linux pc or an windows pc with installed android sdk?

then you could take a look what´s causng your issues...

you can also try to delete the file .unsupported_ext4_...... in your data folder on sd card and set format ext4 back to 1

you can also try if an ext2 partition works with this settings

use_ext4_partition=1

format_ext4_partition=1

use_ext2_instead_ext4=1

but with ext2 partition the first startup can take much time...
[HD2 Android NAND Development] elgar:
Decided to install this rom afreash. For some reason what worked before doesn't work, can't mount my sd card correctly. I get looped animation screen.

Here is my config.txt settings:

use_ext4_partition=1

format_ext4_partition=0

use_ext2_instead_ext4=0

use_dataimg=0

data_img_size=512

mount_data_img_sync=1

copy_data_from_nand=0

copy_data_from_img_to_ext4=0

If I start android without sd card, it starts and works fine. So, there is something wrong with my settings. I want a clean install with ext4 support.
[HD2 Android NAND Development] bauner:
if nothing work try to use nand or data.img and wait for the next update (come the next 1-2 days) and then you can copy your data from data.img to your ext4 partition
[HD2 Android NAND Development] elgar:
Is there a way to use an empty data.img? I wan't a fresh install. I don't want to use my old data.img because out of 90 apps I only see a few in myapps sections in market, so I don't get any updates on them also.
[HD2 Android NAND Development] jirka607:
Question before Flash

Can you tell me please whats better ExT4 2GB or data.IMG 2GB?

Speed, Battery, erorrs?

Thanks
[HD2 Android NAND Development] elgar:
ext4 is better because it is faster this way, and also if you use data.img you will have to use a third party software when connecting your phone as usb flash to the computer. With ext4 everything works seemlessly.
[HD2 Android NAND Development] jirka607:
And can you please tell me how to make 2GB ext4 partition on WINXP thanks
[HD2 Android NAND Development] elgar:
http://xdaforums.com/showthread.php?t=905145
[HD2 Android NAND Development] jirka607:
PROBLEM i dont have CD Drive....Any other way?
[HD2 Android NAND Development] bronx:
... however ext4 is more likely to get corrupted in case of batt discharge or major system crash. got it 3 times already on two roms.

speed wise data.img access is the same, just need to use apps like multi mount while plugging in to pc.
[HD2 Android NAND Development] elgar:
Finally clean install with ext4 worked with the following configuration:

use_ext4_partition=1

format_ext4_partition=1

use_ext2_instead_ext4=0

use_dataimg=0

data_img_size=512

mount_data_img_sync=1

copy_data_from_nand=0

copy_data_from_img_to_ext4=0

format_ext4_partition=1 was nesessary, otherwise looped boot animation.
[HD2 Android NAND Development] elgar:
Did you use ext2 or ext4 with other roms?
[HD2 Android NAND Development] elgar:
See this thread http://xdaforums.com/showthread.php?t=905841

in the begining of it there are few guides.
[HD2 Android NAND Development] bronx:
ext4, partitioned using qparted.
[HD2 Android NAND Development] elgar:
I've used ext4 partition only with this rom for more than a week, no data corruption even after battery discharge and the phone shutting down a couple of times. Maybe data corruption depends more on the rom than on the ext4 itself. Just a thought...
[HD2 Android NAND Development] bamit99:
Itttt's alive !!!!!! I know..acting like a noob but the time that I spent getting a separate partition using GFart drove me crzy. Anyways, finally used the CWM to get the partitions and it worked under 5 minutes..:( Why didn't I think of this before..Anyways, is there a specific SWAP size recommended..I just chose 32..blindly..Is that good enough? Any other changes recommended here?
[HD2 Android NAND Development] elgar:
I might be wrong, but I don't think you need swap partition in this rom. At least the author hasn't said anything about it.
[HD2 Android NAND Development] bauner:
you don´t need swap
[HD2 Android NAND Development] elgar:
Is there a way to change the white HTC splash screen? I tried to find where the picture file located in the system, but couldn't.
[HD2 Android NAND Development] kuba28ms:
http://xdaforums.com/showpost.php?p=10835919&postcount=271
[HD2 Android NAND Development] jirka607:
Because I have problem with ext4(slow class 2) I want to use with data.img is there any performance hit with it? Can it be bigger than 2gb. How to repair market because I can't find many applications. Thank you.
[HD2 Android NAND Development] elgar:
This link is about bootanimation, I've read it before. I am talking about the static white screen that comes before the boot animation screen. Can't find a way to change it.
[HD2 Android NAND Development] bronx:
why would You even need it to be bigger than 2gb??

anyway, I am using this rom with 1gb data.img on 8gb class 6 card and the only lag I get is few seconds after installing an app. other than that - silky smooth. ;)
[HD2 Android NAND Development] jirka607:
MAybe youre right 2GB is big enough ok lets try 2GB data.img on my class 2 16GB

Is your market fine i had problems last time that many of apps were not there

EDIT Its working :)
[HD2 Android NAND Development] kuba28ms:
Bauner - New Version ?
[HD2 Android NAND Development] jase33:
check this out. when i got up this morning i grabbed my phone and saw current widget at 0ma. i also noticed the battery had not drained overnight, at least not noticably. i immediatly took a screenshot.
[HD2 Android NAND Development] jirka607:
Little Tip

For those Who have class 2 SD card like i have Use Data.IMG instead of EXT4 its much faster...
[HD2 Android NAND Development] bauner:
The new version comes before weekend.

I had an typo in an script that was very hard to find.... now I have only to fix some minor bugs and test all functions
[HD2 Android NAND Development] bauner:
This is included in the initrd.gz in the boot block
[HD2 Android NAND Development] elgar:
Thank you, I'll have a look.
[HD2 Android NAND Development] jirka607:
Will the update be avaiable via CWM without reflash?
[HD2 Android NAND Development] Rencx:
Hello,

This intresting NAND ROM and I like it.. Only I have some questions about SD card and partitions. On my SD card have 2 partitions fat32(13GB) and ext4(1GB) and I have 2 SD cards both 16GB space but some data is on other SD card...

And I want to now:

what information is stored on ext4?

what will happen if I change SD cards?

do I need ext4 on other card?

I understand that Android goes to NAND but where goes apps and other things that I dont even no.. Maybe somone can explain this closer, so I can understand structure.
[HD2 Android NAND Development] bauner:
it comes as flashable version, cwm recovery, and as automatic update on boot
[HD2 Android NAND Development] bauner:
the complete /data is on ext (if you enabled it)

if you change your sdcard its like an hardreset (but you have the option to copy your data(if exist) from nand /data to ext4 or data.img)

In the next version comes an option to easy backup/restore your data from data.img / ext4 partition.
[HD2 Android NAND Development] Rencx:
So without SD system wont even boot corectly? seems like I have't enabled it, because I changed cards and I still can open old programs.

Edit: mm yes I also can boot without SD.... so how I can eneble data to ext?
[HD2 Android NAND Development] bauner:
in /sdcard/data/config.txt set use_dataimg from 0 to 1for data.img

or use_ext4_partition from 0 to 1 to use 2nd sdcard partition

if both is set to 0 (or without sdcard) you use the internal data partition
[HD2 Android NAND Development] gagi75:
ok i am not nob but dont no so well english so i have question

1.iam using clock work mode i have ext/2 i have 4gb sd card what is mine txt in data orwhat imust write thanks a lot

ps when i install yours nand he wos suck on white screen htc but when remove batery and sd then start whit out sd card he boot and go then i put sd card and wos ok

i am asking for ext/2/3/4 bicouse i dont unerstand that i have program and wish to do

thanks m8 you are the best
[HD2 Android NAND Development] kuba28ms:
bauner can you tell me how to copy. from ext4 to data.img (for me backup)?
[HD2 Android NAND Development] bauner:
comes in next version
[HD2 Android NAND Development] jirka607:
May i ask when the update will be i really like this build but when im using browser for example i get 580ma drain....
[HD2 Android NAND Development] elgar:
What size of partition for the cwm recovery do I need to download to use with this rom?
[HD2 Android NAND Development] Rencx:
So if understand you right withot enebled ext all my data is stored in NAND and I can swich cards without problems? But it is much easyer why people want to use data.img or EXT4?

Thanks bauner!
[HD2 Android NAND Development] elgar:
You are right. I use ext4 on my sd card because I don't have enough memory in NAND for all of the apps I use with my phone. I have about 90 (!) of them. If you use just a few extra apps, you can do with NAND only no problem.
[HD2 Android NAND Development] gagi75:
can you quick exsplane how create what tool and what are fat 32 and ext 4 dimension

gps how put on

thanks people
[HD2 Android NAND Development] elgar:
Here are two links about it from the FAQ section:

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

http://xdaforums.com/showthread.php?t=905145
[HD2 Android NAND Development] bauner:
all you need is included in my package.
[HD2 Android NAND Development] gagi75:
thanks m8 bicouse i dont speak english sorry for that but i made tutorial on my language you can see on signt
[HD2 Android NAND Development] gagi75:
sorry two things how can i sue gps i thin not work must i change something and where

2nd thing is in this rom you have config in data what nubers must be i used ext 2 i dont have ext 4 so i must format sd card and do same thing again for ext 4

and if i do ext/4 what config idata must be and what size be fat 32 and ext/4 and are they same primary and clusters are 32 or default:confused:

and you change only fat 32 depend of rom am i right and ext 4 never change if i change nand but i think never do that (bicouse this is soo good)....

thanks again m8
[HD2 Android NAND Development] Kiro73:
Wow, many thanks for this fantastic NANDroid ROM. It runs smooth and fast and i like the 1GB Phonemem, hehe... :D
[HD2 Android NAND Development] Realplayer-88:
Hi good for you, but can you please tell me how to fix it?:)

help please?

Can you give me the steps?

And how do I keep the data I already have on my phone?