yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] mardurhack:
WTF??!? O.o So why people compare this with CM7 by MDJ?? Maybe I misread. Sorry about that. In any case would be better to have it in the title!
[HD2 Android NAND Development] CrazyTurk42:
Works superb for now! Its like its getting faster each reboot. Got all my apps on it and settings. Like mentioned the camcorder is not working but i dont care about that:p

I had the same problem. Look if you dont accedently have not formatted into ext2 instead of ext4
[HD2 Android NAND Development] thegadget2010:
copied the file over after flashing, restarted phone, went to mms settiongs via messeging desktop app

looked at mms size limit, and 300k is the max size available

did i do something wrong?
[HD2 Android NAND Development] robytro:
i've fc in settings app. is there a fix?
[HD2 Android NAND Development] thegadget2010:
im gonna try the other sim card method, will update you shortly

ok so i swapped the sim out, and it reset all my app lcations and widgets on homescreen, no big problem

rebooted again, put my sim back in, and mms limit is now 1024, so at least it worked that way.

will i have to do this in future updates as well?
[HD2 Android NAND Development] LiFE1688:
LOL, not a debate, just over complicating in something simple.

The script has been provided by someone's hard work which makes things really easy.

Copy system.bin file into the "in" folder, rename it to system.img, run the cmd file. Instant update.zip file.

If you extract the system.img file, it is exactly the same thing as the system folder in the zip file. Nothing different at all. The difference is in the writing to the nand.
[HD2 Android NAND Development] DannyBiker:
No boot.img in order to make it a CW. I don't understand this CW hate, this is how Android recovery works...
[HD2 Android NAND Development] DutchDanny:
Sorry for the debate... ;):D You get the point.

But it was a friendly debate, and it was ment friendly.

But back on topic.

We want this rom to be "stock", and we want everything to work.

If 100% is not possible, we have to set something a side...I think

If we want the cam to work, but go out of stock, I think we should use out of stock, till bug is fixed.

This way we have 100% working device.
[HD2 Android NAND Development] LiFE1688:
I am not sure whether this works or not, but you can try the camera and camcorder files.

Original Post:

[Dec 1][SD][BETA] desire hd2 [hastarin 8.5.1]

update.video.mdj.2.12.2010.zip -fix video recording and playback thanks to gpc and m-deejay

If I remembered correctly, Camera, Camcorder worked on Cedesmith's DesireHD 1.32 STOCK

The above file contains the the Camera, Camcorder and Encoder Libraries and Camera.apk as well as the media_profiles.xml

It is not usable just as it is, you will need to extract the files and replace them in your rom.
[HD2 Android NAND Development] andrewf403:
Judging by file size, it is the same camera I'm using. If take phosot and video well, just have a minor bug with Share button
[HD2 Android NAND Development] CR5N:
Good work Andrew. Like your decision for working camcorder over share button. I know there are fixes posted but I like the simple flash phone, edit WiFi address and job done :)
[HD2 Android NAND Development] lms1407:
Good decision to go with record and leave the sharing.

Thanks, this build is realy a great idea and i can say for sure now - this device is working faster than desire hd original. I had an oportunity to play with two desire hd's.
[HD2 Android NAND Development] bobjbain:
ext3 v ext4

Right, I was getting frustrated with the "micro lags" on this build so I thought I'd experiment.

So, I reformatted my 1G ext4 partition and made it an ext3 partition instead.

Reinstalled 1.0, let it do it's thang, restored my backups and accounts and guess what, for me anyway, the ext3 partition is much, much quicker.

Can't wait for my class 10 card to arrive though.
[HD2 Android NAND Development] DutchDanny:
Hi Peeps,

I'm a LauncherPro user, and i was testing HTC Sense today and all her widgets.

It works realy well and looks beautyfull, but there is 1 big issue with this beauty...

The battery

I have a big battery drain when I use HTC Sense.

You can view what's been using your battery when you go to:

settings>about your phone>battery>batteryuse

(translated from dutch, might be a bit different)

And on my phone HTC Sense was on second place with 8%

For me this is to much, so i'm going back to LauncherPro.

And LauncherPro gives me more space on my MoblieDesktop.

So if you have batterydrain, you might wanna check how much HTC sense is using.
[HD2 Android NAND Development] LiFE1688:
Yup, looks like it is the same file and library as you. I have the same issue you just described.

You based your AF403 on gauner1986's HD-FI 0.3? Did you replace back some of the stock files he took out to make the system partition smaller?

I have a vague memory of it working in Cedesmith's DesireHD build, but his is based on 1.32 and not 1.72.

You can download the official ruu from the link below.

http://mcgh.ee/DHD
[HD2 Android NAND Development] andrewf403:
Yeah? That's strange ) I was thinking about getting Desire HD. Prices getting more appealing. But I'm afraid I just could not live without HD2's versatility =)

Interesting, I've never tested with ext3, as all sources states that ext3 is slower even than ext2. When I'll get me a spare high speed card, I'll try. Thanks for report. )

Sens is an eater. I like most about HTC Sense not even a launcher but phone dialer and Contacts app. But nice HTC widgets are not available while using another launcher, so I'm staying with it for now. )
[HD2 Android NAND Development] andrewf403:
I've downloaded stock 1.72 system image, as I get bored looking into what gauner1986 has removed.))) Also I peeked into mdeejay Desire HD build for SD card. He uses same camera package. And this camera has strange bluetooth speaker icon button, that flashes quickly in preview screen, and bug with sharing. HTCCamera.apk in stock Desire HD ruu does not have this, but does not shoot video on HD2.
[HD2 Android NAND Development] thegadget2010:
think i might try the same just to test

1 question though?

can i backup the files on my ext4 partition first and restore them once i have reforjmatted? will this keep my setting etc. intact?
[HD2 Android NAND Development] thegadget2010:
yeah same for me the only thing i cant live without is the people app

i just like the layout and the standard android contacts isnt as good, i prefer the sense layout
[HD2 Android NAND Development] bobjbain:
Should do but you need an OS that can read ext3/4, ie Linux, which I didn't I just backed everything up using titanium backup and restored it all after reboot
[HD2 Android NAND Development] andrewf403:
Yep, when I wrote "Contacts app", I really meant People app.

You can copy files from ext4 partition using Linux, but I do recommend a clean setup, after you format partition. It is too easy to mess with permissions and have a lot of bugs and FC because of this.
[HD2 Android NAND Development] bobjbain:
Well, all my partitions on my servers at work are ext3, I don't think they'd recommend that if it was really slower than ext2, I may be wrong though.

It might be card specific, maybe block size comes into play, I don't know, will have to check the technical side of things to be sure.
[HD2 Android NAND Development] Estatic:
Отличный ром, дружище!
[HD2 Android NAND Development] thegadget2010:
I got ubuntu on a live cd

Currently installing to another drive so i can duel boot, its too slow from the cd, so i will let you know what happens when it evwntually resizes the partituon and installs, its gonna be a looong night :)
[HD2 Android NAND Development] thegadget2010:
If i get errors i will do a fresh install, thanks for the warning
[HD2 Android NAND Development] andrewf403:
I mean performance on flash memory (SSD disks in first place). I even read somewhere, that Google was going to use ext4 instead of yaffs in Gingerbread. Cannot check this, because do not have Nexus S. ))

Anyway better way to find to find out it is to do real tests. But I use my HD2 as primary phone with SD-HC 8GB class 6 card, and my current spare card is not high speed, so my tests will not show the truth. I'm planning to upgrade my card to 16GB, and than do tests on old 8 gig card.
[HD2 Android NAND Development] thegadget2010:
Dont worry, i will be the guinee pig for changing from ext4 to ext3

I dont mind screwing my install up for testing purposes, i read in a previous post that ext3 is better stability wise than ext4 so i will let you all know my findings, at least with MY card at least, fingers crossed i dont get errors and such :)

Updates to follow as soon as linux installs.
[HD2 Android NAND Development] LiFE1688:
Go Go Go, more toys... :D

I wouldn't recommend ext2, there is no journaling. So, if your device shuts down incorrectly (battery pull), then the ext2 partition has a very big chance of going corrupted. Since all your user data are written in the sd partition, it is going to be really painful when it goes bad.

I know what you mean, might as well base your ROM off the official system image, probably take less time and work than checking to see what files are different and what are missing. *cough* Ring tones, Sound Schemes *cough* :D

yes, I get that weird Bluetooth Icon as well. Then again, the library and apk are from BRAVO, not ACE. It's like replacing Desire Keyboard with Desire HD's keyboard then finding the dictionary doesn't work anymore.

Maybe there always was that share problem, just no one decided to look.

This post, shows gauner1986's HD-FI 0.3 has the same problem with sharing immediately after a camera shoot.
[HD2 Android NAND Development] bobjbain:
Ah right, sorry.

Yep, real tests are the best, all I can say is for me I have noticed a huge improvement using ext3 over ext4.

I wonder though, at class 6 speeds, whether you'd notice a huge difference or not...
[HD2 Android NAND Development] thegadget2010:
didn't have folder permissions even though im the administrator in ubuntu? wtf?

oh well, clean install it is, no big problem, I know what apps etc. I use anyway, ill get everything set up, and do as few restarts, then i will leave it idle and see what the wakeup lag is like, watch this space
[HD2 Android NAND Development] thegadget2010:
Gonna do a full format and repartition, because after the format to ext3 and clean flash, im getting FC's, and google location keeps popping up, on the plus side market remembered my apps :)

I will let you know (again) how i get on, 4am and so tempted to get out of bed and do it noe ;)

But sleep is apparently a requirement.

P.s sorry for all the updates, i have turned this thread into twitter, end result should be helpful ay least (i hope)
[HD2 Android NAND Development] dungphp:
With some app i have some scroll lag ~

Thank for your hard work
[HD2 Android NAND Development] locksmith:
This would have to the best Android Rom that I've seen to date. Keep up the great work and look forward to the next great release. :)
[HD2 Android NAND Development] CrazyTurk42:
Here is my battery update. I went to sleep at 00:05. Now after 8 hours it only has used 6% battary. Thats realy impressive compared to the sd rom that used 15%

And a question: when i woke up and unlocked my phone. I saw a H instead of 3G at the network bars. But it went to 3G again in a few seconds. But what is that H for?
[HD2 Android NAND Development] ClydeB1:
Having strange problems with the Contacts app. I returned to these roms after a very brief interlude with WP7. I went through the whole boot into Linux using PartMagic and reformatted and repartitioned my sd card. I then installed v1.0 and restored apps & data with MyBackup Root (backup taken from 0.9). As soon as I opened a contact I got a FC. I was about to retry without the restore when I saw that 1.0a was out, so I again repartitioned the sd card (again with PartMagic in Linux) and flashed 1.0a last night and went to bed. This morning, without doing any restore or any apps installation I again opened contacts and got the same FC. I have now flashed back to 0.9 (without repartitioning and also no restore) and contacts opens fine. I don't see anyone else reporting this problem, so not sure what's causing this. Any ideas?
[HD2 Android NAND Development] lms1407:
H is for HSDPA this is fast, maybe your provider uses this protocol?

I am with 1.0 and never had an FC with contacts, or anything else for that matter, they work fine for me.
[HD2 Android NAND Development] totalcmdext:
This is the best decision from your side andrewf403!!!!!

It is better to have a close stock Desire HD with some bugs.....

I hope to find a solution..... soon for all the bugs.
[HD2 Android NAND Development] singcheng:
@andrewf403

I got fc for whatsapp so I uninstall and reinstall but still fc. Any suggestion?

p/s: I also tried a few reboot but no difference.
[HD2 Android NAND Development] john_matrix:
Hi,

Only to report that a ext3 partition (1,5GB) works great with your build ;)

No more lags (or a very little) lag during apps installation (SD 32GB class2).

Thanks a lot!
[HD2 Android NAND Development] CrazyTurk42:
Uhm what's the difference? HSDPA = 3G or am i wrong?

And what do you guys mean with FC ?(what does it stand for)
[HD2 Android NAND Development] bobjbain:
HSDPA (high speed data packet access) is sometimes called 3.5g, it IS quicker than 3g.

DC is force closed, means the app has crashed
[HD2 Android NAND Development] robytro:
any solution for setting force close?
[HD2 Android NAND Development] ClydeB1:
You can try using Spare Parts to Fix Permissions. Doesn't always work but does solve some of them.
[HD2 Android NAND Development] robytro:
please i've downloaded spare parts but i don't see fix permissions, can you help me?
[HD2 Android NAND Development] andrewf403:
Did you try to update 0.9 with 1.0a after that?

It's great that your sharing this! It will help me and others.

sudo is you friend ))

Looking at camera interface and the lit of photo effects, I'd say that camera APK is from ACE, and libraries are from Bravo. It makes sense, since Bravo has the same camera sensor as HD2, and ACE uses newer 8mpx sensor.
[HD2 Android NAND Development] LiFE1688:
Replace HTCCamera.apk with Bravo instead of using ACE? I am thinking maybe the BT icon thing that does nothing, and the share might be due to different libraries? Similar to the DesireHD keyboard in Desire, breaking the Dictionary?
[HD2 Android NAND Development] andrewf403:
BT icon quickly changes to camera icon, and tapping on it returns you to camera from the preview screen, a it supposed to.

Maybe you are right, I'll try this. But I do not think that camera libraries have to do something with sharing. It is possible that sharing button in camera application does not calls function right and gets an exception.
[HD2 Android NAND Development] ClydeB1:
Sorry, you need the update. Use this one
[HD2 Android NAND Development] Redtabs:
Hi budd,

I got force close also before but i did manage to fix it.

go to settings > Application > Manage Application > select "all" tab

find google services framework > Clear data.

Run Terminal Emulator and do the fix permissions.

Then reboot your phone. After boot, do a second reboot.

Good luck~! :)
[HD2 Android NAND Development] ClydeB1:
I haven't. I think I'm going all the way back to stock WM rom and then try again from scratch. On 0.9 I used to be able to sync with HTC Sync with no problems, but now it connects and shows that it is syncing, but nothing shows up in either calendar or contacts. Very weird.
[HD2 Android NAND Development] matmar:
G sensor and battery life

the calibration face down works (up also but G sensor seems frozen ...)

but it seems that result is not so good

is somebody else facing this issue of "bad" calibration ?

the battery life with this ROM and kernel is very, very, very good. I had never obtain such good results with any other roms...(sd, ram or nand !). Keep this kernel until real evolution of MDJ kernel ! (today 60% left after 4 hours of intensive usage : net radio (Wifi) send by BT (1,5h) and most of the time sceen on surfing on internet)

I really do not see any problem with this ROM, perfect for daily usage and thanks to had issued the 1a, camcorder is most important than direct photo sharing ! Best Desire HD rom tested so far (dat and wifi are quick, GPS working with no drop (but long to start = 3 min)....Only very long boot to report and G sensor calibration.

Something i would like to report on the Ver 1.0, I have tried to apply the gps fix (changing server europe for france) and it has shut down my Wifi. I was unable to obtain IP any more. In parallele I have intalled simi folder so I don't know if it come from GPS fixe of from simi folder...

Pb was solved by formating the SD ext and re-installing the ROM (so clearly pb was on the ext of the SD = data corruption ?)
[HD2 Android NAND Development] andrewf403:
You should not calibrate G-sensor on any Android on HD2. Mine was precisely calibrated from the box, but if yours are not calibrated, best way to flash Windows Mobile back, and calibrate it there. )

NTP server in gps.conf is already set to Europe in this build, as I live in Europe )

All problems are solved formating ext4 partition, because all setting stored there )))
[HD2 Android NAND Development] H-KaN:
just updated...no more keyboard, superuser not working properly, though its usual that it takes time before it becomes fast, the version before this one was fast from the first minute. im going to change back.
[HD2 Android NAND Development] thegadget2010:
Im Baaack!! :P

right, after staying up while 7 am

then getting woke up at like 9, and crawling out of bed at 12

here are my results

my card is a sandisk 16gb class 2

(cant afford a faster one, but slow is good for testing)

formatted card completely (after backing up document etc.)

1st format in linux using gparted was fat32

then i resized and made igb space, formatted this space to ext3 (not ext3)

installed AF403 v1.0a

did gmail sync let market update etc.

rebooted about 4 times inbetween to make sure everything was ok

this is the part where i went to bed and left the phone with screen off for 6 hours

got up pressed power button and hey presto unlocked straight away

no wake up lag

the only lag i get is when installing apps, but you would expect that as its accessing the card a lot, so i dont think that lag can be fixed, besides it tolerable.

final finding in MY opinion with MY hardware

changing from ext4 to ext3 is an improvement, i love this rom even more now

BIG THUMBS UP :D
[HD2 Android NAND Development] thegadget2010:
do a few reboots 1st

im sure it will speed up after that
[HD2 Android NAND Development] andrewf403:
Thank you for the report! Looks like ext3 is better for many users )
[HD2 Android NAND Development] bobjbain:
Got my 16GB Class 10 card this morning :D

Going to move everything over to that and then see if it flies or not.

BTW ext3 really is an improvement for me although, like thegadget2010, the build slows down when downloading and installing from the market....
[HD2 Android NAND Development] CR5N:
Been reading on ext3 and ext4 - allocation methods mean ext4 less likely to fragment files so maybe ext3 seems initially faster but in the long term may slow down file access. Just a comment, I'm not an expert by any stretch of imagination.

I am running a 16Gb sdhc class 2 with 1Gb ext4 partition and this build only suffers slight wake up lag occasionally but not enough to be an issue.

edit: source - Wikipedia :p
[HD2 Android NAND Development] DannyBiker:
I was about to upload a CW version but the conversion didn't work. Pleeeeeaaaasssse CW ! It's just the Android way...:)
[HD2 Android NAND Development] despy1989:
I just can't get the daf file installation with CWM to work.

Would be stuck if the build doesn't not have a usb flash version. So prefer usb version.

My experience so far with this Rom and 1gb ext3 partition is as follows

* working : Bluetooth with audio streaming, WiFi, 3g data, root access , usb disk drive,

* issues : gps fix in Google navigation not working app stuck on ' looking for gps' . Gps works in maps and gps status app.

* occasional random force closes on apps eg titanium, Google maps, colournote

* fastest build that I have tried so far. No wake-up lag, scroll lag. I have disabled auto rotate screen and that seems to help in improving speed, maybe something to do with G sensor ???

*batt life again is the best nd is better than the original DESIRE HD !!!! which is awesome . (Have tried comparing the two side to side and have to without doubt say that hd2 with this build is more responsive, quicker with batt 50% better on this nand Rom by Andrew....

Standby is around 2-4ma , 0.5-1% perhr, and most imp is that during use drain rarely goes above 280 ma highest

Thanks for a beautiful Rom
[HD2 Android NAND Development] singcheng:
did anyone got FC for soundset in v1.0a?

I am not able to select ringtone, notification sound, etc due to process com.htc.sdm was FC after a clean flash (i.e. wipe ext3).

Will try to re-flash 1.0a and report back.

EDIT: no luck with 1.0a. still got problem with com.htc.sdm, reverting back to v1.0.

EDIT2: it appears to be the problem with sdcard. I end up re-partition my sdcard and now v1.0a works fine!
[HD2 Android NAND Development] DHARQAXIAN:
I am using you build with the 10.3 kernal..., this is one smooth NAND..!!! LOVING IT..!!!
[HD2 Android NAND Development] LiFE1688:
Conversion of this ROM to CW works, I am using it.

Download version 1.22

[10 JAN][SCRIPT]IMG2CWM Converter 1.2.2

Extract AF403 file into a folder, not in the "in" folder of the converter.

Rename system.dat to system.img

Then double click the "RunMe.cmd" or run it in command line.

It will detect no boot.img file, which means the zImage and initrc is in the system.img file, and will move that to a boot folder. It will pause, till keypress, where you can start adding files, or removing files from the system folder.

Try MDJ 10.4 Kernel, I went from 4mA to 2mA, it also has BFQ
[HD2 Android NAND Development] Kiro73:
Many thx for this fantastic Rom ! It runs like a charm...

:)
[HD2 Android NAND Development] thegadget2010:
well phone has been idle for a few hours now, and the unlock lag is back? hmmm maybe ext3 didnt make a difference?

when i get the time i will format back to ext4

grrrr thought id fixed i too

oh well, any other suggestions?
[HD2 Android NAND Development] Kiro73:
How can i easy update to MDJs kernel 10.4 ? :confused:
[HD2 Android NAND Development] FileFixer:
http://xdaforums.com/showpost.php?p=10630788&postcount=2814

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

You can find all things about this if you use XDA Search engine.:cool:
[HD2 Android NAND Development] lms1407:
@kiro78

To update the kernel go to bootloader, connect usb, go to cmd in wndows, find the folder with the kernel and run install.bat or whatever it is called.

This is how it worked for me
[HD2 Android NAND Development] FileFixer:
And don`t forget to copy all files in same folder where is install.bat. :)
[HD2 Android NAND Development] DannyBiker:
I'm sorry but your instructions are not correct or incomplete. If I don't put the system.img in the "in" folder, how could the RunMe.cmd detect it ? It doesn't work...
[HD2 Android NAND Development] CR5N:
-deleted-
[HD2 Android NAND Development] Kiro73:
@lms1407

Where can i find mdjs latest kernel ?
[HD2 Android NAND Development] totalcmdext:
http://xdaforums.com/showthread.php?t=831585&page=281