yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] dandiest:
same for the loop7, it should be reset(format to ext4) at the 1st time, since he removed the sd card, and I believe the /data/data2sd.finish is already created, so the system can not get it reset since the system deem it already reset properly.

so, only format_ext4=1 can get the data partition reset and then reset the 3rd partition, or remove that /data/data2sd.finish manually.
[HD2 Android NAND Development] ozmend:
As i understand this rom is fit on TMOUS.

No one complains about config=0 means FULL NAND version.

I guess this weekend i flash this rom.

I've liked videos, cpu OC and 3D options

Thanks
[HD2 Android NAND Development] B-Man2005:
i really dont understand what to do know ....

maybe you should be a little bit precise please !!! :D

should be format_ext4=1 be anough or should i do something else.

couse i dont really know where to remove /data/data2sd.finish

and i get no such file or directory even if terminal is rooted !!!!
[HD2 Android NAND Development] dandiest:
ok, ok.

after you apply the bugfix I posted just now, you should set the format_ext4=1

, reboot twice. each time, capture the init.log to us. :D
[HD2 Android NAND Development] B-Man2005:
ok... i feel like neo ^^ should i take the red or blue pill??? :D:D

i format now ... i think this is the red one :D:D:D

wish me luck that the bad reset error doesnt occure ^^

With great power comes great responsibility
[HD2 Android NAND Development] cobhc:
Any ideas on this?
[HD2 Android NAND Development] dandiest:
haha, you will have a record in the history. :D
[HD2 Android NAND Development] DAMIEN123_666:
i think i found a problem with my install, what is this superblock error

+++ Start the Nand Loading +++

- system mounted

- mmc&mtd scheduler changed

- start load from data.img

- Creat new data.img

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

-- data.img load failed --

-- no /cache find, create a default one --

-- Init Nand successfully --

+++ Data-to-SD/EXT4 completed, with the mount status:

rootfs on / type rootfs (rw)

proc on /proc type proc (rw,relatime)

sys on /sys type sysfs (rw,relatime)

/dev/block/mmcblk0p1 on /bootsdcard type vfat (rw,noatime,nodiratime,fmask=0111,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
[HD2 Android NAND Development] dandiest:
you have set the data_img=1 but didn't supply a data.img file, the buildin function of create an ext2 fs always cannot function correctly, that's the problem come from.
[HD2 Android NAND Development] lacusxharo:
Today my phone died on me because it ran out of battery... then after i charged it back, I can't turn the phone back on... it just loops the boot screen (the Droid red "eye" screen)

I don't know if it's just me, but this is the second time this has happened to me... maybe it's a Desire Z thing?? I dunno. But I've just lost my SMS and my game data T.T

Any help would be appreciated...
[HD2 Android NAND Development] dandiest:
if you use data.img or ext4, then no issue at all, just flash again.

but if you use nand data, then....:(
[HD2 Android NAND Development] B-Man2005:
dandi look previous page please
[HD2 Android NAND Development] elgar:
Does the htc home screen autorotate in this rom? If yes, is there a feature to turn off home screen autorotation (keeping all other apps autorotated)?
[HD2 Android NAND Development] pivonkaj:
when will be V3.3 final:

reuploading finised
[HD2 Android NAND Development] dandiest:
all successful, except creating an additional file on swap partition failed, I'm afraid you have to apply the attached fix and try again. :(

View attachment bugfix.nand.2801201103.zip

sorry for that.
[HD2 Android NAND Development] B-Man2005:
ahhhhh.... once again ^^

do you even know i am downloading at 4kb/s :D thats tough

i come back with log results ok ??

please wait and hold the line ^^

my third partition is ext4 formatted once... but thats not the problem , is it ???

and btw..... i think i am a good speaking english german man :D
[HD2 Android NAND Development] lacusxharo:
i use data.img... i've tried reflashing, switching to SD version via winmo6.5 with this data.img, using a different rom, using a non-desire-z rom... nothing seems to work.......
[HD2 Android NAND Development] DAMIEN123_666:
hmm this would be my problem, i just installed like you told me to as you dint mention and config editing...

ok so what is it i do to set this data_img=1... i guess i open the config.txt and add it to the end of the thing in that list already like so...

format_ext4=1

gps_zone=uk

ppp_mode=0

data_img=1

--anything else needs adding to this list---

ps where do i find the data.img file ? and where do i put it ?
[HD2 Android NAND Development] Derek0228:
Dandiest any eta on v3.3 upload?

I was one of the unlucky ones whose market wouldn't work no matter what. Btw this Rom REALLY is smoother and more stable with gpc#9 kernel.

*Anxiously awaiting.

Sent from my HD2 running Android on NAND :D
[HD2 Android NAND Development] dandiest:
hehe thanks

the swap partition is ok , but there will be two additional files create on the swap in order to squeeze any possible performance improvement, this method is so crazy(from ownhere), that bring so many problems to me to implement :(
[HD2 Android NAND Development] dandiest:
Let me sort out the last problem, btw, you can try the bugfix I upload just now to check whether can solve the market issue .
[HD2 Android NAND Development] dandiest:
No no， do you want to use data.img? If yes, then download a data.img file from my SD thread and put to Desire_DL

Otherwise, just remove this line .
[HD2 Android NAND Development] dandiest:
Flash my NAND build, set data.img=1 and put that data file in Desire_DL

If still have problem, send the init.log file to me.
[HD2 Android NAND Development] DAMIEN123_666:
hmm, i think im getting my boxes in a twist lol, sorry for my stupidity. ok ill explain my problems,

1) market doesnt work still, any update of this?

2) after installing i only have 60MB ish of space left, i saw one guy screenshots that had 1.58gb left, how is this possible, its something to do with partitions and sd card i assume, please explain how to free up space and sort these partitions out.

3) is the a special way to format my sd card or does the rom do it?

4) what are the advantages of using / not using the data.img ?

apart from this this rom is AMAZING and as soon as i get it stable be expecting a paypal donation for your efforts my friend :)
[HD2 Android NAND Development] parzifal:
love this rom, fast, amooth and stable....:D

But: anybody who was able to run htc locations? pls help!!:confused::confused::confused:
[HD2 Android NAND Development] dandiest:
Hold on, have you applied the fix I upload to you just now ?
[HD2 Android NAND Development] B-Man2005:
this is second boot

all widgets gone again :(

i did your update a few posts before

+++ Start the Nand Loading +++

- system mounted

- mmc&mtd scheduler changed

-- EXT4 data loaded --

-- Loaded Nand userdata --

-- Swap partition started --

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

11 inodes used (0.01%)

0 non-contiguous files (0.0%)

0 non-contiguous directories (0.0%)

# of inodes with ind/dind/tind blocks: 0/0/0

Extent depth histogram: 1

6548 blocks used (8.53%)

0 bad blocks

1 large file

0 regular files

2 directories

0 character device files

0 block device files

0 fifos

0 links

0 symbolic links (0 fast symbolic links)

0 sockets

--------

2 files

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

-- Swap partition mounted successfully --

-- no /cache find, create a default one --

-- Init Nand successfully --

+++ Data-to-SD/EXT4 completed, with the mount status:

rootfs on / type rootfs (rw)

proc on /proc type proc (rw,relatime)

sys on /sys type sysfs (rw,relatime)

/dev/block/mmcblk0p1 on /bootsdcard type vfat (rw,noatime,nodiratime,fmask=0111,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/loop8 on /data type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)

/dev/block/loop6 on /data/data type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)
[HD2 Android NAND Development] DAMIEN123_666:
@dandiest

ive just updated using the update "bugfix.nand.2801201102" still no install via market, if theirs another update ud like me to try link me thank you

bugfix.nand.2801201103 ---testing now :)
[HD2 Android NAND Development] B-Man2005:
i used this one

can we talk through pm please ???
[HD2 Android NAND Development] Derek0228:
Dandiest I just applied the latest fix and market is still fubare'd.

Stupid market. -.-

Sent from my HD2 running Android on NAND :D
[HD2 Android NAND Development] nigde123:
market not workıng 3.2 fınal
[HD2 Android NAND Development] dandiest:
anyway, the last attempt View attachment bugfix.nand.2801201104.zip for address this, otherwise, I hardcode the swapfile size instead auto-calculate it, or just adopt the normal way to use the swap partition instead of create such a crazy file on it. :D
[HD2 Android NAND Development] B-Man2005:
market working for me with 2.1, 2.6, 3.0 beta, 3.1, 3.3 :D:D

i try again with this ....

so please stay here and tuned .... i´ll be back

it´s time to kick ass and chew bubble gum !!! ^^
[HD2 Android NAND Development] parzifal:
@dandiest

all working but pls help regarding htc locations - just always fails to install....PLS
[HD2 Android NAND Development] lacusxharo:
Still doesn't work... here's all that's in init.log:

/dev/block/loop9 was not cleanly unmounted, check forced.

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

/dev/block/loop9: ***** FILE SYSTEM WAS MODIFIED *****

/dev/block/loop9: 4475/65536 files (5.5% non-contiguous), 88952/262144 blocks
[HD2 Android NAND Development] dandiest:
seems system change the permission after init, then, you can only run this in the terminal emulator to fix this.

chown 1000.2001 /data/cachemnt

chmod 0770 /data/cachemnt
[HD2 Android NAND Development] :
wooowww :p ok i testing this....

but just a question dandiest...for 3rd partition..what format use? ext4 or linux swap?? what is best choice? and what size use?

thanks for all :D
[HD2 Android NAND Development] DAMIEN123_666:
bugfix.nand.2801201103 ---failed

ill try

bugfix.nand.2801201104 ---testing now
[HD2 Android NAND Development] nigde123:
market working thks
[HD2 Android NAND Development] dandiest:
believe only some files were broken, and fsck could not fix it. (maybe your can try reboot several times to see what happen)

or you can send the logcat to me to find what files are broken and then remove it to fix, use the following to capture the logcat.

adb shell logcat > logcat.log
[HD2 Android NAND Development] kangmas:
parttion

Question 2)

For formatting and creating partition.

a)Format your sd card, Any method, though prefered method to use SDFormatter. (Search somewhere in the nand forum)

b)Create partition use method from this link CLICK HERE

(for partition space, I choose 2048mb. Dont choose more as it will cause sd card problem)

c)Create folder Desire_DL on your sd card and copy config.txt to it. Flash rom by clicking instal.exe

Good Luck :) :)
[HD2 Android NAND Development] B-Man2005:
here the log cat with previous fix

now will try .....14
[HD2 Android NAND Development] DAMIEN123_666:
and this will extend my nand memory will it? so when i install games and apps they will install to this as my im currently down to 20mb left now as ive installed a few game :(
[HD2 Android NAND Development] freak007:
Your problem is not the swap size.

the 3rd partition is not mounted on the first time, then the ext4 img is not created.

I'm currently analysing your last initrd with my own initnand logs...
[HD2 Android NAND Development] bunnahabhain:
For what exactly is the swap partition?
[HD2 Android NAND Development] elgar:
Could anyone answer if the htc home screen autorotates in this rom?
[HD2 Android NAND Development] adeeb:
Could anybody be kind enough and post mdj 10.4 kernel such that i place it in the update_dl folder and install it.

I have tried the other ways but wasn't successful.

Thanks
[HD2 Android NAND Development] brunoavrocha:
v 3.3 is uploading since 9 am.....

any news on that?
[HD2 Android NAND Development] DAMIEN123_666:
yes mate, everything well just about everything does rotation 360' :)
[HD2 Android NAND Development] cobhc:
Yes, it does.
[HD2 Android NAND Development] DAMIEN123_666:
he's working on a fix for the market, it wont work for some people, bare with him :)
[HD2 Android NAND Development] B-Man2005:
and here once again the no widget screen ^^

+++ Start the Nand Loading +++

- system mounted

- mmc&mtd scheduler changed

-- EXT4 data loaded --

-- Loaded Nand userdata --

-- Swap partition started --

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

11 inodes used (0.01%)

0 non-contiguous files (0.0%)

0 non-contiguous directories (0.0%)

# of inodes with ind/dind/tind blocks: 0/0/0

Extent depth histogram: 1

6548 blocks used (8.53%)

0 bad blocks

1 large file

0 regular files

2 directories

0 character device files

0 block device files

0 fifos

0 links

0 symbolic links (0 fast symbolic links)

0 sockets

--------

2 files

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

-- Swap partition mounted successfully --

-- no /cache find, create a default one --

-- Init Nand successfully --

+++ Data-to-SD/EXT4 completed, with the mount status:

rootfs on / type rootfs (rw)

proc on /proc type proc (rw,relatime)

sys on /sys type sysfs (rw,relatime)

/dev/block/mmcblk0p1 on /bootsdcard type vfat (rw,noatime,nodiratime,fmask=0111,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/loop8 on /data type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)

/dev/block/loop6 on /data/data type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)
[HD2 Android NAND Development] adeeb:
Hi dandiest,

I have a request. Is it possible for you to post other kernels in a format where we could just place them in the update_dl folder and install them that way.

I think many of us would like to try different combinations and play around:D

I also like to OC sometimes .

Thanks
[HD2 Android NAND Development] braaccckkk:
Which kernel will be included in v3.3 now?:)
[HD2 Android NAND Development] freak007:
Be careful at your line:

datasize="expr $extsize / 10 \* 9 / 1024"

it will be:

datasize=`expr $extsize / 10 \* 9 / 1024`

I have already corrected this in my own inirtd, the problem still persist (see my previous post)
[HD2 Android NAND Development] proman:
Market---> don't work whether I already tried all the steps on bug fixes....
[HD2 Android NAND Development] DAMIEN123_666:
yes he working on a fix mate, ive tried all his tempts sofar but not having much luck
[HD2 Android NAND Development] Daekin:
yes. the sense home is rotatable
[HD2 Android NAND Development] Daekin:
forget about about 10.4...try 10.3

some said 10.4 is slower and I know also that it has problems with Wifi after resuming from standby (when using this ROM version 2.6)...10.3 is much better in this case....

but gauner kernel is faster - I mean more responsive - the animations are faster, no lag present (sometimes it could seem jerky, but with MDJ it was like a slow motion always...well from version 7+ ;) )

I hve not tried gpc kernel yet...

but from these two - gauner vs MDJ...gauner is the winner for speed (I dont know the battery usage yet)

and FORGET Quadrant scores...it is SYNTETHIC benchamrk.....as darkstone said...lower lerults in Quadrant CAN be faster for dayly use and responsiveness... :P
[HD2 Android NAND Development] B-Man2005:
dandi !!!

maybe you should contact freak007 for further information ??

maybe you to could get a clue for this to fix !!!

or take a look at his last two posts !!!!
[HD2 Android NAND Development] dandiest:
here you go. :D

View attachment Update.kernel.mdj.10.4oc.zip

it made a general update, next time, you can just put all the kernel files into the kernel_files folder under update, it will automaticly change the kernel after boot twice.
[HD2 Android NAND Development] dandiest:
here you go. :D

View attachment 502243

i made a general update, next time, you can just put all the kernel files into the kernel_files folder under update, it will automaticly change the kernel after boot twice.
[HD2 Android NAND Development] adeeb:
Thanks really appreciate it. You are the best
[HD2 Android NAND Development] freak007:
It's not necessary, we are all working and spending time to improve this fantastic build !
[HD2 Android NAND Development] kangmas:
Yup

Yes, it will go to 2gb (for my case ). See my titanium backup screenshot for better picture.
[HD2 Android NAND Development] freak007:
/mnt missing

On the first start /mnt is missing that's why the third partition is not mounted.

Here is the content of /:

bin bootcomplete.rc bootsdcard data default.prop dev etc init init.android init.bravo.rc init.goldfish.rc init.htcleo.rc init.rc init.sd init.spade.rc initlogo.rle logo.rle proc root sbin shutdown.htcleo.rc sys system

I'm currently trying another initrd with mkdir -p command.
[HD2 Android NAND Development] romanas2007:
I already have 1 in the config.txt, and it just works for the data.img option not 4ext.
[HD2 Android NAND Development] romanas2007:
The beauty of ext4 is that you don't have to reinstall your apps and restore your settings. You flash a new rom and all your custom things are there. Just reflashed a different rom with the ext4 support and all the user data was restored perfectly, and no need for erasing and partitioning from scratch.
[HD2 Android NAND Development] havlaz:
is it have sence? and its deoxded or oxded?
[HD2 Android NAND Development] mourad75:
I followed this method :

http://xdaforums.com/showpost.php?p=10509776&postcount=438

And that enabled all my applications in the Ext4 partition :D

But no change on the value of the displayed size :mad: :( :confused:
[HD2 Android NAND Development] SHoWa147:
dandiest When do you plan to fix ext4?

Thank you
[HD2 Android NAND Development] sp33dy_gtx:
I have an 8Gb sd card and now it sas 200 MB

I have an 8Gb sd card and now it sas 200 MB 3

Posted it also into q&a http://xdaforums.com/showthread.php?p=10620754#post10620754

SDFormatter V2.0 solved with panasonic SDFormatter V2.0
[HD2 Android NAND Development] dandiest:
just return home, have uploaded the updated 2nd post, please go and update your build.

I create the 1G ext4 partition on my sdcard, and use the /DLZUPDATE/AndroidApps to installed all my apps.

so the ext4 is confirmed to work without problem. :D
[HD2 Android NAND Development] stony007_de:
nobody able to?
[HD2 Android NAND Development] apple123boy:
but the post just use app2sd+, not the data2sd, which we need
[HD2 Android NAND Development] SHoWa147:
If restored with titanium will not install in ext4???
[HD2 Android NAND Development] dandiest:
I didn't use titanium backup, ad I alway keep all the apk files, and restore them using the method I just mentioned, simple and fast.
[HD2 Android NAND Development] themadproducer:
Thanks good man. I will give it a go.
[HD2 Android NAND Development] romanas2007:
Is it correct that for ext4 the config.txt file should have this line: data_ext=1

gps_zone=ussd_boost=1 together with DLZUPDATE in the root of the SD card?
[HD2 Android NAND Development] wpullo:
FM Radio have been added in the v2.3 ???
[HD2 Android NAND Development] dandiest:
No no, they are for different perpose.

You can remove the gps_zone after updating.

But have to set the data_ext to enable data to ext.

If SD_boost is set, a different mount method will be used which will bring more performance to SD io.but have some risk to loss the data if you didn't shutdown your mobile properly.
[HD2 Android NAND Development] ehsan76:
By no means this Rom is slow.

This is the fastest NAND Rom made till date and it flies.

I have tested all the Major Roms released here and by far this one out class everyone else.

Its closest to perfections :)
[HD2 Android NAND Development] romanas2007:
So if I want ext4 and sd boost it should be

data_ext=1

sd_boost=1

Right?
[HD2 Android NAND Development] dandiest:
as long as it restore to the data partition, instead of the system partition.
[HD2 Android NAND Development] dandiest:
yes, if you don't set the sd_boost or set it to 0, it acts just like all the other data 2 ext4 methods - mount the ext4 directly.

if set it to 1, it will disable the journal(which have a lot of overhead to the system), and attach the ext4 to loop first.(this is of course fast)

You can try compare the 2 different method. :D
[HD2 Android NAND Development] dandiest:
added an update package on 2nd post, use it to install the FM
[HD2 Android NAND Development] dandiest:
thanks, look into the code for both nand and sd for 2days got me crazy. :D
[HD2 Android NAND Development] B-Man2005:
is my logcat helping out ????

are you still working on the third partition fix ???

ive got other work to do ...

so i can only be back in 2 hours or so ...

so pleaaasseeeee dandi ... fix the problem .... i will come to you around the world and kiss your ass :D:D:D
[HD2 Android NAND Development] adeeb:
Ok guys i have been using 3.2 since yesterday with no issues at all.

Very happy about battery consumption. standby 3-4 ma .

with default kernel i got 1800+ quadrant.

will try mdj kernels and report back with speed and battery.

p.s. i know quadrant scores are not reliable but they are a reference.

Everybody prefers one according to their experience.
[HD2 Android NAND Development] nathai:
Hi dandiest,

I'm using V3.2 of yours. It's fantastic. Thank you very much for you hard work.

Just wonder when your v3.3 will be available. I will have to leave in 1 hour and have no internet. Can't wait to try.

Thanks again!
[HD2 Android NAND Development] freak007:
ok, there is some progress ... go go for another initrd ...
[HD2 Android NAND Development] dandiest:
thanks, take the time you help me invest the problem, i managed to solve my SD build issues, hehe, :D

after I create the SD build, i will move back to work with you on this, maybe 15min.
[HD2 Android NAND Development] braaccckkk:
And i can test everything you want! :)
[HD2 Android NAND Development] matejdro:
Are buttons and microphone on HTC headphones working in this build?
[HD2 Android NAND Development] freak007:
Ok ...

The good: third partition fine mounted, ext4 image created fine too.

The bad: There is still a problem of mount ...

another initrd in progress ...
[HD2 Android NAND Development] patensas:
Does this mean that known issues for NAND aren't fixed in the v3.3 release your currently uploading?
[HD2 Android NAND Development] dandiest:
no, that's for SD but the same base, after i flashed to android, all the SD build i made can only be loaded by MAGLDR, always have problem boot from SD.

So i flashed back to wm65 to solved it just now. :D problem is I was tooo ambitious to even merge the initrd of nand and SD :D