yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] lomo2002:
hi guys,

Everything is working fine for me. Here is what i did.

- Unzipped the folder and copied the input (text) from "recommended.config.txt.MAGLDR" file to "config.txt" file

- Installed Magdlr

- Partition my 8 Gb SD-card first to FAT32 and then to EXT4 (1024 Mb)

- Copied the unzipped folder to root of SD-card (FAT32)

- Run install.exe from the unzipped folder from PC.

- First boot took about 3-5 months.

Now everything works fine. Market is also working for me. I went to check the storage, it shows 789 Mb free for internal phone storage and 5.85 Gb free for SD. So i hope/think it used the EXT4 for internal phone storage.
[HD2 Android NAND Development] Daekin:
but the config you used does NOT use EXT4 because it has data_img=1 !!!

(or you edited the config after renaming?)

I dont want to use data.img since ext4 is faster (or at least in 2.6 was :P )
[HD2 Android NAND Development] mavelbg:
Hello can somebody tell me how to install google apps (youtube, maps, etc. )on this rom, from what I understand apps are integrated in data.img but where i have to put it ? I have installed it on nand, please help
[HD2 Android NAND Development] lomo2002:
hmm, i think you are right, but i have no idea, what data.img does;-)

can i changed it now from the root of the SD-card, or Do i have to repead all the process again?
[HD2 Android NAND Development] Daekin:
hmmm I think you wil loose your customizations (= it would be like hard reset)

so basically if the performance is good for you, I would suggest deleting ext4 partition and enlarging fat32 partition so that all SD is used....and you can live with it until update that will not be this buggy ;)

well...but good news is that cvreating data.img from scratch works (it was not working in 2.6, I had always to put existing blank img)
[HD2 Android NAND Development] Daekin:
just open market, install all you need. if you wans to save installations, use some backup program like MyBackup that will copy APKS (and settings) to your SD card so you can reinstall all manually or apply restore after next flash
[HD2 Android NAND Development] Daekin:
I got an idea....dandienst said some time ago that flashing from system.img was not working always.....so...I see he iincluded system.ext2 that should be uncompressed ext2 formatted parttion that needs to be just copied to NAND (basically only converted system.img)....sooo...I will edit flash.cfg from

system ya|boot|ro filesize+20M system.img

userdata ya|asize|hr allsize

to

system ya|boot|ro filesize+20M system.ext2

userdata ya|asize|hr allsize

and will try.....maybe then it will be flashed correctly...but....since it is 2:03 am, I am going to sleep... I will be one day without a phone....it will be a test whether I am addict or not....hehe :)

and maybe deleting system.img (or swapping the ext2 and img files....I know this is crazy...but I NEED to get this working just like version 2.6 was.....I know this is faster, but this version should be named ONE BOOT ONLY) before flashing to force using system.ext2 (because I dont know what algorithm dandienst uses to flash....

if someone with resetting sense will try it first, just let us know... :)

for others:

DON'T USE NAND (it is working UNTIL FIRST soft reset),

use MAGLDR od SD version!!! (these two were confirmed working good by other users)

goodnight
[HD2 Android NAND Development] dandiest:
update the http://xdaforums.com/showpost.php?p=10602476&postcount=4,

if you have problem, read it.
[HD2 Android NAND Development] Ahmad TAL:
hi .... plz can u or any one upload for me the framework-res.apk from the rom 3.2 final ?? cause i changed it to another one and it seems like ur is much better .. thanks for the Perfect Build .... continue the work and inspire us :D
[HD2 Android NAND Development] nightcraw:
I am a TMOUS User. the 3.2 version flashed to NAND works even better then 2.6. I am using all NAND. (i.e. all zero in the config.txt file). No img, ext or swap.

I was even able to use the data partition from 2.6 without issues (ok, I deleted the dalvik-cache I needed to manually create the /data/.cache folders). and mine runs better on MDJ 10.4OC kernel

Couple of Questions / Suggestion for dandiest

1. Looks like the /data/cachemnt still gets recreated after I removed it and reboot but /cache is sym-link to /data/.cache, is this a bug in the script. maybe many people are having issue because they don't have a vaild /cache directory.

2. /bootsdcard mounts the SD Card. Can this be disabled for booing from NAND and do not use SDcard for data? I have one instant the phone reported issue remounting SD when switching form Disk to Charge Only Mode. Not sure if is is related. but I would image it's not good me to pull the SD out without shutdown.

3. Please up the the front Page regarding DLZUPDATE has been repalce with UPDATE_DL in version 3+ or are both directories works?

Great work, This is the best Desire NAND ROM so far IMO.
[HD2 Android NAND Development] dulexetina:
Is there a fix for market cause its not working for me? It says: download will start at a moment,but it just blinks and nothing more than that...

Pls can this be solved,cause its great and super fast Rom? Thanks
[HD2 Android NAND Development] jmmmmm:
Im not sure if this is possible, but I want NOTHING on my sdcard related to my phone OS. No partitions, no data.img, NOTHING! I am willing to accept the config.txt file if its required, but I dont want to be a slave to a particular sdcard. I switch them regularly.

With 2.6 this was not a problem. I didnt even need the config.txt file.

My question is... Can 3.2 run without partitioning the sdcard? 2 flashes and still no market. Trust me I read all the posts.
[HD2 Android NAND Development] jmmmmm:
Have you tried 2.6? Its pretty good too. And Market works. I updates to MDJ10.3 OC kernel and was getting 5mA standby OC'ed at 1500+ w/ Bluetooth, wifi, and 3g data ON.
[HD2 Android NAND Development] darkanubispr:
If you have robotic voice do a hot restart and voilah no more robo voice :D
[HD2 Android NAND Development] reza416:
did you get a chance to check quadrant speed?
[HD2 Android NAND Development] RJ45:
This looks very very promising. I might have to flash this to my HD2!
[HD2 Android NAND Development] ajape:
I don't understand... Please clarify this post for me, this is extremely interesting for many of us...

This ROM supports EXT3 as well as 4? Because if you partitioned your SD Card using Sergio76's files and instructions, then you ended up with an SD Card that has the normal Fat32 partition, and a second 1GB EXT3 partition, not EXT4... So, is it recognized by your Android system as the extended memory of your phone and it's working as well as the EXT4 partition would anyways? Or did you actually end up having now a data.img that is on the FAT32 side of your SD Card?

And on to the second part of the process you described, when you said "Copied Desire_dl to the root of my card and then installed", what exactly was it that you copied to the root of your SD Card? Was it the DL.DesireZ.v3.2.final.7z file, the unzipped "Desire_dl" folder, or just the contents inside the Desire_dl folder?

And lastly, can you please describe in some detail how exactly did you proceed with the installation? Did you run the Install.exe from inside the Desire_dl folder, or had you copied it outside the folder and directly to the root of the card, or from somewhere else? Or did you do something else entirely to make the installation recognize the EXT3 partition?

Thanks :)
[HD2 Android NAND Development] reza416:
Kernal change

i haven't tried 3.2 yet, im still on 2.6 but my standby mA isn't as good, average is 7-8, i am not sure how to change the kernals. i knew with sd versions but nand im not so sure. how do you do it in nand versions?

also i read that with 2.6 prj's v.4 kernal is super fast, did you try that?

thanks
[HD2 Android NAND Development] nightcraw:
7-8 mA is normal for SD. SDcard read write does use more current you know
[HD2 Android NAND Development] nightcraw:
I got 1235 but then I don't really believe that kind of stuff.
[HD2 Android NAND Development] nightcraw:
I am doing just that. and no issue with market. I did however, got a update from market when I was on version 2.6, this was my market v2.2.11 apk from /data/app
[HD2 Android NAND Development] Highlander1972:
Wau !!!

Very fast the v3.2

THX to dandiest :)
[HD2 Android NAND Development] simphony:
Market

Ok, finaly market works. I followed post 1193 and formatted sd card with Clockwork Recovery. Then because I do not know how to star flash from sd card I simply flashed rom normaly over maglar and now everything works nicely. Consumption 3mA with everything off,with wifi or bluetooth on 5mA. Quadrant score 2000.
[HD2 Android NAND Development] B-Man2005:
does anybody here uses ex4 partition as the 2nd and the third partition and loading from nand

i still got clean homescreen at 2nd startup :(:(

could someone post a manuel for this combination ??
[HD2 Android NAND Development] nightcraw:
The framework is safely stored in the squashed file system thanks to dandiest's excellent system design. I include a script to restore it. unzip to root of SD and reboot. 2x?
[HD2 Android NAND Development] toby_as:
Hi

I downloaded the 3.2 version. Extracted to a folder. I have Magldr 1.12. In the folder modified the config.txt to match the nand boot. Run the installer and flashed the device.

After restart it was stuck in the HTC screen and thats it. PLease help what i am doing wrong...do ai need an sd card too or what can i do to start. Thank you in advance
[HD2 Android NAND Development] tmotard:
Hello, i use 2 ext4 partitions as 2nd and 3rd and got same problem...:(

can't have azerty keyboard after second boot ... and no more position after second boot ...
[HD2 Android NAND Development] dandiest:
looks the config bring in more confuse than my original intention to give users more control over the build.

I will have to continue to update the initrd last time: will auto detect all the situation and do it properly.

As I found out that some wrong config will ruin my build. :D

Btw, I just want to emphasise, I do all of this just for fun, for learning, for contributing something I deem usable to the community, if you have problem to understand, just ask or leave this thread, I don't want to see somebody like hg3atintin here again. :D
[HD2 Android NAND Development] B-Man2005:
even flashing with blank config.txt and three partitions on sd the build is ruined
[HD2 Android NAND Development] dandiest:
That's a bug, forgot to touch the finish tag that lead to always reset the 3rd partition.

Upload the fix for solving this bug soon.
[HD2 Android NAND Development] winningarrow:
i reckon config should only be used by advanced users who know what they are doing

options are good but loads of options are disater as many things can go horibly wrong

with that said, your ROM is very good, it is very stable for me and market installation works (though can't find some of the apps, ie. google maps)

everything else seems to work very well, 4-6mA standby battery is not too sabby at all

ps: i dont get the idea of DL folder in SD if using NAND/ext4, so I delete the whole folder after first boot to prevent config messing up my phone subsequent reboot
[HD2 Android NAND Development] kgvico:
3.2 beta?

After I installed, I see 3.2 beta, not final?? I mean the build version
[HD2 Android NAND Development] adam20pl:
I do what u say, i fix the permisions but market is still not working. But i try something. First this is my config:

boot_mode=0

swap_mode=0

format_ext4=0

sd_boost=0

gps_zone=pl

ppp_mode=0

data_img=0

nand_data=0

backup_img=0

restore_img=0

I flash by PC but with not SD card in my phone, after it finish i can normal use market (download) but when i put sd card to phone then i can't download from market anymore.....:(
[HD2 Android NAND Development] Boradan:
As Dandiest just stated, it is actually a BUG..... not an issue with people not knowing what they are doing. Seems that those using both an ext4 data partition ans a SWP partition are getting their homescreen wiped on every reboot. We dont have to go through the setup again, and settings (usernames, passwords etc) are remembered, but all wigits are removed and the homescreen goes back to the way it looks on first boot after setup.
[HD2 Android NAND Development] Highlander1972:
Hello.

I have install the Nand version 3.2 and magldr 1.12.

Kopie the config .text and the system .img to the sd card.in the .data folder.

Now i didn't instell apps from HTC Sync.

I Have 2 Part. on sd.

Only EXT4 and FAT32

This my Config:

boot_mode=0

swap_mode=0

format_ext4=1

sd_boost=0

gps_zone=us

ppp_mode=0

data_img=0

nand_data=0

backup_img=0

restore_img=0

Wat is wrong ??

Pleace help me.

THX
[HD2 Android NAND Development] B-Man2005:
not only the widgets are gone ... there are only 5 htc wallpapers left to chose !!!!!!!!!!!!!!!!!!!!!!!!!!!!! i wonder nobody recognized that ^^
[HD2 Android NAND Development] B-Man2005:
when we use swap mode 2 and have third partition will the third partition be used further ???

i mean when swap mode 2 is set will the 3rd partition be used too ??
[HD2 Android NAND Development] winningarrow:
I'm just saying in general, options tend to create a mess than anything else

To all that experience widgets/data/apps ect. missing after reboot, try to delete the config file on SD or the whole DL folder all together if you running from NAND/ext4

It seems that leaving config file on SD cause the phone to run config command again everytime you reboot, hence you always return to your first boot-up screen as your data has been wiped again
[HD2 Android NAND Development] dimdimdim:
guyz, could somebody advise how to make proper upgrade from 3.1 to 3.2 nand/ext4 keeping data from ext4 in 3.1 ver? not only apps, which, for sure could be reinstalled
[HD2 Android NAND Development] Daekin:
Wrong MAGLDR, swap type/size ???

OK people

since I am at work now and I dont have the phone with me....our problems regarding blank sense homescreen after restart could be because of MAGLDR 1.12 - since it is not compatible with 1.11, it can easily mess something up....and there is no need to use 1.12 if we dont want to boot WP7...

can you try lowering to 1.11 magldr and flash and see if that works?

(I have not tried the advice from dandienst with empty conig.txt)

and I still do not know what size and what type should my partitions on SD be:

a) fat32, ext4, linux-swap (100, 256, 300, 384 MB?)

b) fat32, ext4, ext4 (100, 256, 300, 384 MB?)

c) fat32, unformatted, unformatted (ROM will format all by itself)

???
[HD2 Android NAND Development] Daekin:
I noticed many of the default user data disappeared....it has to be like some optimisation process moved the data and te ROM dont recognize them now....it is similar like enabling nand_data=1 in version 2.6 - thare was this bug too, but in 3.2 the nand_data is set to 0 by default so it is not exactly the same case but very similar)
[HD2 Android NAND Development] B-Man2005:
forget it ... i use 1.11 and i always get blank home screen

i even deleted config.txt after first startup but after reboot blank homescreen
[HD2 Android NAND Development] tmotard:
ok, i'm at work too.

Then will try magldr 1.11 at home.

my partitions on a 16 GB sdcard ;

1° Fat32, ext4 (1GB), ext4 (300MB)

Magldr 1.12 at the moment.

regards
[HD2 Android NAND Development] Shurup:
Is the 3.2 final build as fast as 2.1 on the nand ext4 eu hd2 with quadrant > 2000?
[HD2 Android NAND Development] B-Man2005:
i remember he said we can format the third partition to ext4 ... but anyway ... the rom formatet it itself at first start.

on 3.1 i got a solution for this homescreen bug but therefor a must be able to disable ext4 on 2nd partition... i think i try to disable it with data_ext4=0

maybe this helps after first start i enabled it and then homesceen problem was solved ... i hope this will work

otherwise we have to wait for new init file
[HD2 Android NAND Development] B-Man2005:
change from 1.12 to 1.11 is not the solution!!!
[HD2 Android NAND Development] dandiest:
can somebody help me test this bugfix View attachment bugfix.nand.27012011.zip just extract the Update_DL to the root of your SD card, and reboot.

Change: 1. fixed the problem of 3rd partition, auto detect and optimize.

2. can auto set the default without config.txt (default boot sequence will be: 2nd partition, data.img, nand data partition.)

3. 1st attempt to fix the possible problem of sd_boost, the current one even worse the situation.

have also uploaded the bugfix for SD, if you want to try, please check my SD thread.

Please report back. :D
[HD2 Android NAND Development] Daekin:
well it is weird...the only problems should be in partitions....

delete third partition, just have fat32 and ext4 for data, no swap...

maybe the problem is there...

OR

gauners kernel has some problems using ext4 (try to update to MDJ - put Update_DL with dandienst kernel update from first page BEFORE first boot - either along with Desire_DL before flashing or mounting SD while first run) and see if that works...

edit: have started writing this before dandienst's post above
[HD2 Android NAND Development] Daekin:
so the 3rd partition was problem? :) if I did not have that using unpatched 3.2...would it work?
[HD2 Android NAND Development] dandiest:
if you have 3rd partition, you have to upgrade. :D
[HD2 Android NAND Development] tmotard:
i copy the update_dl to the root of my sd card.

i boot a first time, loos my sense desktop and others settings.

i add a widget on the desktop and reboot.

and then ... no more sense desktop...

i think this patch doesn't work ...
[HD2 Android NAND Development] B-Man2005:
but i dont think this is the problem

i will test but i disabled ext4 partition with data_ext=0 and it starts three times and more without problem. swap=0

i will test now
[HD2 Android NAND Development] dandiest:
do you have 3rd partition? and can please provide the init.log, without it, I can not find out the problem. thanks.
[HD2 Android NAND Development] jpl69:
I really would like to use magldr version to test and try wp7 but this is my report

I have another cooker build on nand and inserted DesireZ folder on a clean 4G SD card (just fat32) with a clean 1GB data.img, config.txt is the one recomended MAGLDR except sdboost=0 and gps=europe.

1º Boot - very lag on startup settings, and no weather clock on launcher and most of htc widgets vanished from selectable widgets.

2º Boot - A litle faster but still no widgets, trying to fix permissions on rom manager and reboot
[HD2 Android NAND Development] Daekin:
try this:

format manually sencod partition to ext2 and set format_ext4=0 on first boot!

if so, then it is kernel problem not supporting ext4 correctly (so in that case we need to switch back to MDJ 10.4 OC kernel)
[HD2 Android NAND Development] tmotard:
I reboot one more time (third time) and it seem to be ok.

yes i have an 3rd partition (ext4)

here is the init.log

thanks a lot :)
[HD2 Android NAND Development] dandiest:
oh, yes, 3rd partition needs boot twice, 1st time to format it and create the swap and move the sqlite data to it(which caused the previous problem) , 2nd time to take it effect.
[HD2 Android NAND Development] brunoavrocha:
i come from Rafdroid with ext partition and want to try this one...

i just don't understand (yes i read the thread) how to flash this one...i have already copied the desirez_dl folder to the root of the sd card... then what?

how do i really install this?

thanks in advance
[HD2 Android NAND Development] jpopgt:
Hi,

Thanks for this rom:)

My desire had broken down and i am using my old HD2 at the moment, i flashed this rom and it is running great apart from market downloads don't start.

Can someone explain to me how to sort this out please.

Cheers.
[HD2 Android NAND Development] dandiest:
if ppl still have market download problem which I think I solve it already. can please do the following as soon as your download failed and send it back to me?

adb shell logcat > logcat.log
[HD2 Android NAND Development] brunoavrocha:
can anyone help me installing this build?
[HD2 Android NAND Development] :
:eek: i don't understand all....the 3rd partition is ext4 type or linux swap????

i use this 3 partitions

1°fat32

2°EXT4 (1024 mo)

3°Linux swap (256mo) (all created with gparted)

i have same result...first boot is ok, i can install appz and all is good but after reboot i loose all may settings and home widgets (my appz install at first boot are ok and here :confused:)

i use this for first install

boot_mode=2

format_ext4=1

here you can see my init files....

+++ Start the Nand Loading +++
- system mounted
- mmc&mtd scheduler changed
userdata: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

userdata: ***** FILE SYSTEM WAS MODIFIED *****

771 inodes used (1.18%)
69 non-contiguous files (8.9%)
2 non-contiguous directories (0.3%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 758/1
35656 blocks used (13.60%)
0 bad blocks
1 large file

318 regular files
442 directories
0 character device files
0 block device files
0 fifos
0 links
2 symbolic links (2 fast symbolic links)
0 sockets
--------
762 files
-- EXT4 data loaded --
-- Loaded Nand userdata --
-- Swap partition initiate started --
-- Swap partition reset successful --
-- Swap partition started --
-- Init Nand successfully --

i don't see where is my error...i like this rom and your work...but i like reset may phone to.....:D if i no reboot all is ok...but is not the solution :p
[HD2 Android NAND Development] tmotard:
that's work now. rebooted several times. it's ok :)

thanks !!

i've got a last problem 'cause i miss the location...
[HD2 Android NAND Development] tmotard:
mine is an ext4 partition (300mb) created with gparted too.
[HD2 Android NAND Development] brunoavrocha:
can anyone help me?

i've tested a lot of builds but never the dandiest one. but after reading so much good comments on this i wnt to try it. but the flashing method is different on this one. after i copy the folder to the root of sd i do what?
[HD2 Android NAND Development] rdeheld1:
I have exactly the same config and problem
[HD2 Android NAND Development] adam20pl:
How can i do this "adb shell logcat > logcat.log"????
[HD2 Android NAND Development] bill_kas:
hello there! i have problem with market too but i can't undertand what to do! can you plz give me details because i am rookie and i don't know much in how to change things? thanks a lot!
[HD2 Android NAND Development] :
and you don't loose you home widget and config after reboot?

can you take me what config.txt you use please?

Thanks a lot ;)
[HD2 Android NAND Development] dandiest:
OK, seems the bugfix take effect, I recreate a new one with more debug output and attached View attachment 501218, suggest you upgrade to this one and, if still have problem, attached the init.log at the root of your SDCard.

If you get any problem booted into the system, just plug the sdcard out and it can still boot with nand partition.

Please attached the init.log when report problem.
[HD2 Android NAND Development] B-Man2005:
here

some starts with no widgets
[HD2 Android NAND Development] adeeb:
Working great here. quadrant 1831 with default kernel . no market issues.

this is the jet engine of nand roms;).

will test for a couple of days and report if any issues come up.

by the way i haven't installed the update.

sd - 4gb class 6

512mb ext4 formatted 2nd partition

only changed boot mode to 1 in config.txt

Thank you dandiest for a great rom.
[HD2 Android NAND Development] jmmmmm:
Can I get one more confirmation that we should update the market apk if 3.2 market does not download? Just looking for another confirmation before I go through the trouble of reflashing my phone.

Anyone??? Android Jedi Master Dandiest, what are your thoughts? :)
[HD2 Android NAND Development] dandiest:
cannt download, please upload again. btw, have you upgraded with the one I just uploaded?