yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] bountygiver:
Infinite loop boot!!!

Today while I am using the phone, I had a 1GB ext4 partition and SanDisk Class 2 8GB Card using this ROM Radio .12. version

A notification of SD card removed unexpectedly suddenly show up and my phone just reboot to the quietly brilliant screen, and it goes into an infinite boot loop there... even after I disconnect and reconnect SD card and reboot phone... Sometimes the phone really booted in and the SD removed notifications show up a few seconds later and goes into infinite loop again

Tried boot w/o SD and work fine into 0MB internal storage boot

SD in mass storage of MAGLDR worked fine

also, SD data isn't corrupted as my phone did not boot into fresh state, all my data are still there...

any solutions? I think I will reflash ROM later as I don't have a ROM file in this computer and it takes a long time to re-download in this slow internet connection

Does it has anything to do with the USB Mass Storage mode(Android, not MAGLDR)?

I used it earlier yesterday to copy some files....

Don't know if Data4ext work fine with it, because I have been using that feature since SD Android and no problems although other people say it got problem
[HD2 Android NAND Development] bountygiver:
Now I have managed to unmount SD properly before the reboot, and I got a massive FCs messages popping out... and then, auto reboot again....

Damn, it is back to the infinite "Quietly Brilliant" screen boot loop again (the animation playing over and over)
[HD2 Android NAND Development] bountygiver:
Now I made a no SD boot and insert SD after boot into 0MB internal boot

my data still inside, but the ROM removed my SD card and say I need unmount to prevent data lost bla bla bla, it didn't reboot now, but it took like 10 seconds AFTER boot into ROM to remove SD, it also took 10 seconds to remove SD when I mount SD in 0MB ROM, so it's not phone problem to remove SD is ROM problem because if it is phone problem it would remove it when I am booting halfway and boot into 0MB while I got SD card inside... trying HARD RESET with 0MB ROM....

2nd attempt of sd insertion in 0mb rom causes sd to be removed IMMEDIATELY after insertion
[HD2 Android NAND Development] H-KaN:
some apps, mostly google apps takes so long to load when i start them...is that cause of ext3? will it help in anyway when i update to mdjs newest kernel?
[HD2 Android NAND Development] bountygiver:
problem remains after HR

just a little difference, now FC messages pop up before boot loop

maybe reflash is really required.... or anyone got another solution?
[HD2 Android NAND Development] thegadget2010:
try putting your card into a card reader then in windows go to properties on the drive and look for the option to scan for errors

that might fix it, but backup your files 1st as it may try to "fix" some files

i used to get this on my old card which says it wasn't corrupt but actually was

hope this helps
[HD2 Android NAND Development] bountygiver:
thanks for advice, trying now.... Will report back if got any news

UPDATE: seems CHKDSK stuck at 35% not moving, should I reformat the drive?
[HD2 Android NAND Development] bountygiver:
Now I formatted my SD card and solved that problrm, now I got a new problem, because I never back up every single file because it lags my computer before format. Now I got most market downloaded apps leep getting FC. And those which still can run has lost saved data... I thought all data are stored in nand?

Now I think I have to restore them using my titanium backups I stored in my computer which was unavailable until night....
[HD2 Android NAND Development] LiFE1688:
How did you format your SD Card? Windows Format? I am assuming you are in Malaysia, considering you have a nice Malaysian Flag and Digi as your carrier.

Problem with Malaysia is there are a lot of FAKE brand MicroSD cards around. However, just because it might be fake, it doesn't mean that it does not work as it is intended.

Try using something more powerful, like ACTIVE@KILLDISK, or SD Card Formatter 3. Something that destroys the partition, and zero out the MicroSD Card.
[HD2 Android NAND Development] bountygiver:
Format using windows. That's not a fake card as is given by HTC shop...

The problem appear after I use Linux to format my fat32 , format using windows and nothing happends already... now I noticed apps that have FC is installed using titanium not market. So it seems apps needed their apk to exist to run, install and reinstall using market solves the problem.
[HD2 Android NAND Development] matmar:
SD data corruption

did 2 install yesterday (including ext re-formating of my SD) due to data corruption.

it seems that installing somme apps make crash the wifi (unable to get IP, wifi had work 5hrs before without any pb!)

in my case, i installed :

simi folder (market) (+ manually changed ntp for gps slow fix) ---> wifi crash

new market (manually)--->wifi crash

is it the reason, don't know.

It seems that formating tool should be developped in order to make more efficient the formating part. using CWR (unable to do ext4 as unable to burn the gparted CD) most of the time the SD card is not properly formatted...

Last question, what should be the swap value ? I have read 0 but using 32Mo is working in my case ?!

In any case, until the data corruption is solved it will be difficult to get stable ROM in general ! Is there any way to get vital data (wifi....) stored into NAND to avoid un-recoverable corruption ? Or at least a back up that can be re-loaded when pb occurs ?

thanks in advance

Using SD16Go Class 10, radio .15, SD ext? (I do not know which ext is making CWR) of 1024 MO with swap 32 Mo
[HD2 Android NAND Development] singcheng:
I also did three re-flash yesterday.

My solution was to re-partition my sdcard using MiniTool partition manager with one FAT32 and one ext3 partition (must be less than 2GB).

No swap size required for android rom.

Now my v1.0a works like a charm :D

p/s: I suggest an immediate reboot after the Market is being updated in your first boot.
[HD2 Android NAND Development] lms1407:
Maybe you don't get it!

You can't unmount the card, because part of the card is used as internal storage - ROM, where moset of the programs are installed, some of these programs ere essential and this is the reason for your problems.
[HD2 Android NAND Development] simon1219:
Running 1.0a, Android Market is not able to update to latest version. Anyone managed to update to the new version through the market?
[HD2 Android NAND Development] lfotiou:
I have the same problem
[HD2 Android NAND Development] CR5N:
Market will auto update. Just be patient.

If you have problems when it does, go into app settings and clear cache and data for market.
[HD2 Android NAND Development] simon1219:
Ok, worked. Thanks
[HD2 Android NAND Development] totalcmdext:
Enable Adhoc Networks

Please could you include the Enables Adhoc networking option in this build....?
[HD2 Android NAND Development] bountygiver:
you don't get my problem at the first place, I was using my phone and suddenly the phone remove the card itself, not unmount.

The message came up with "SD Card removed unexpectedly"

While my back cover is still on so it is not possible for me to remove the card, also the card is still being held tight on the slot.

Btw, I have fixed it by formatting the FAT32 partition with windows (was format with linux when creating ext4 partition)

Now, another problem came up, seems like the data of circular battery indicator and 3g watchdog wasn't saved between each reboots, their settings are restored to the state before the problem occured(Circular battery and ES explorer just act like it's first run) everytime I reboot, other apps DOES NOT lose settings. It's a big problem for me... trying to re-install them to see if it fixes that.
[HD2 Android NAND Development] khanisrar:
Fastest desire hd nand rom till date ***** 5 stars

Hi All,

First of all I would like to thank andrewf403 for developing such a gr8 ROM for us. I assure you guys this is the fastest android NAND ROM I have came across for HD2.

As discussed in different forums regarding partition & installation, I believe the steps given in this forum is much easier.

After installation I was shocked to see 0:96 GB as phone memory and the speed was awesome.

I have already installed more than 50 apps and lots of stuff. But I still see the same speed as I installed earlier today.

I confirm that this is stock ROM of Desire HD with lightening speed.

Thankyou again to everyone who made this happen for all of us.

I am attaching screenshot for your reference. ;)

Regards,

Israr
[HD2 Android NAND Development] khanisrar:
I forgot to mention ... I have changed the default clock widget also Market has been updated to new one automatically.

Thanks,

Israr
[HD2 Android NAND Development] jpl69:
Did you notice that speed from the begining? Because i've waited about 20 mins, the device turned itself off a dozen times i woke him up and after the unlock i got the htc logo until i restarted and waited more 5 mins. This was yesterday and after configuring everything (long and painful task due to lags) today seems more stable and fast but i don't trust.
[HD2 Android NAND Development] khanisrar:
Like I said earlier, speed is awesome for me since beginning and also Internal memory is still showing 0.96 GB. I had restarted my phone just once because I want to show my startup screen to friends. Else all gud for me.

Also to add here, I have charged my phone just once yesterday and still it is gud enough today.

Happy overall with this ROM. :)

Regards,

Israr
[HD2 Android NAND Development] bountygiver:
After reinstall all, problems solved!!
[HD2 Android NAND Development] lms1407:
Well, i'm glad you fixed the problems by reinstalling.

It was the same for me, the build was slow, had lags all over, but in a day everything settled.

This is normal and is explaind in the OP.
[HD2 Android NAND Development] yksudha:
No space to install this application

Hi

It may strange but i have a 2 GB ext4 partition and it does showup in sdcard & storage section of settings but for some reason when ever i try to install any applicaiton it says i don't have enough space !

I am using version 1.0

any help is greatly appreciated.
[HD2 Android NAND Development] lms1407:
How did you format the card - please explain in detail?

under windows or linux? with what program?

how did you format it - Fat32 - 2Gb and ext4 - 2Gb? this is just an example.
[HD2 Android NAND Development] nobnut:
Are you sure you only have the FAT32 and EXT partitions?

I think you might have created another (smaller) partition by accident, which is now full.

Have a look at the SDcard again in Gparted or whichever program you used. Make sure that you only have these two.

Also make sure that the EXT partition is set as 'primary' and is located after the FAT32 patition.
[HD2 Android NAND Development] aftermath666:
is sound enhancer working?or its only not working for me?no sound change srs dolby mobile or equalizer???
[HD2 Android NAND Development] firegun:
Thanks Downloading.......:)
[HD2 Android NAND Development] AvRS:
How do I uninstall apps like Soundhound as I use Shazam Encore? When I go into settings - Applications - Manage Applications the option to force stop and uninstall is greyed out.

Also I'm having problems with speed, it takes over a minute (no exaggeration) to open an email or app like facebook, sometimes the screen timesout by the time the app opens all I get is blank white or black screen for ages, is this a limitation of using the ext partition I'm using ext3? Or is it just this ROM on my phone that is the problem?

Thanks
[HD2 Android NAND Development] nobnut:
To uninstall items in the ROM use Titanium Backup.

As for the lag, you must have done something wrong. Use Gparted to create an EXT4 partition and reflash the ROM. It should be buttery smooth, mine is.
[HD2 Android NAND Development] nobnut:
Are you using it with or without headphones? It doesn't work with both, it's not meant to. Unplug your headphones and try.
[HD2 Android NAND Development] ei05035:
Weirdly, the ROM gets stuck in a bootloop after the first boot. After I set all my stuff and sync and reboot, it keeps rebooting, not even getting to MAGLDR. Tried with 1GB ext3 and 1GB ext4. They are identified, both of them, as the ROM presents itself with 1GB internal mem. Any thoughts on this guys? Seems like most people here solved this issue through persistence alone...
[HD2 Android NAND Development] nobnut:
@wi05035

All I can suggest is trying to reflash MAGLDR... the latest version.
[HD2 Android NAND Development] ei05035:
Thanks for the quick support ^^. Actually, the version I have is the 1.12 . But i'll keep trying different things. Will prolly flash a stock WinMo Rom and restart from there!

Pretty nice and fast build you got here. Even during the first boot!
[HD2 Android NAND Development] nobnut:
Best of luck.

Sorry I couldn't suggest anything else. I can't think what could be causing your problems.
[HD2 Android NAND Development] CR5N:
Power off. Pull battery. After battery back in, press and hold power button until magldr menu appears. Select boot NAND Android (can't remember which option). Worth trying before flashing all over again
[HD2 Android NAND Development] matmar:
2 SD ?

can we use 2 differents SD with the same NAND ROM installed ?

In case of data corruption it would be great to have a back up...
[HD2 Android NAND Development] kir1994:
Hello! After flashing this build I had a problem with phone calls on my LEO512.

If I try to call somebody I have message 'Process Phone is not responding'. Can you help me?

Sorry for my English
[HD2 Android NAND Development] ClydeB1:
@andrewf403, dandiest claims to have found a solution to the ext4 performance issues some are experiencing and will be in his next release coming out soon. Will be interesting to see if this works out.
[HD2 Android NAND Development] ozkaya:
As a previous user stated this build got much smoother when auto-rotate is disabled. After I upgraded to mdj 10.4 kernel, it got amazingly smooth for me, there was no need to disable auto-rotate. (scroll lags and swipe lags on home screen are gone).
[HD2 Android NAND Development] ei05035:
@CR5N

Dammit, wish I had read that earlier. Did a Task29, installed MAGLDR 1.12, formated my sd card and partioned it into 7GB of Fat32 and 1GB of Ext3. Now flashing the ROM. Maybe it's a bit of an overkill, but whatever it takes to get this awesome build up and running ^^! Thanks to all!
[HD2 Android NAND Development] CR5N:
Having problem with some video playback from embedded web pages. Get an egg timer symbol on video frame then the screen goes black and browser drops out. Tried 0.9 and 1.0a with no success. Tried upgrading and downgrading flash. Also beeb player plays audio but black screen (with backlight on) with built in video player and stock video player.

Otherwise perfect!
[HD2 Android NAND Development] mick1475:
Got the same flash issue here. Both for the stock browser and for Skyfire.

Sent from my HTC Desire HD2
[HD2 Android NAND Development] Ghostrider:
maybe lag problem sloved ??

I played an little with the flash.cfg ( you can edit it with the Editor of youre PC )

I put in some changes befor the Flash:

system ya|boot|ro filesize+2M system.bin

cache ya 10M

userdata ya|asize allsize

this changes got me absolutly no lag.

After Flash let the LEO do its thing till to the Provider Settings, then do the settings. Do not Setup any Acconts ( Google,Facebook... etc. ) you can do it Later.

After this set all your settings in the setupmenu.

Then let it go for some time ( I used 2-5 min.)

Now Turn it Off wait an moment then Turn it ON again.

Now you can setup your acconts and how you Like.

Hope this Helps you all also.:)

Ghostrider

Edit 1: forgot to say I use an EXT4 parted with Ubuntu 10.10 on an Boot_USB_Stick

Edit 2: I use the 10.3 MDJ Kernel
[HD2 Android NAND Development] AvRS:
I've also made changes to the flash.cfg file but did it to get it working with CWM recovery but experienced lots of lag and long processing times just to open anything. I've reformatted and starting from scratch now to try again. I've made a few changes so this time it looks more like you've listed and hoping it improves. I don't have Ubuntu I use Windows 7 so have been using partition managers to set the ext3 (ext4 not available) partition as don't really want to use GParted as seems a lot of hassle.

Can I ask how you upgraded to 10.3 I've tried both 10.3 and 10.4 and on both data and wifi wouldn't work? I used the install.bat scripts included.

Thanks
[HD2 Android NAND Development] Ghostrider:
1. Plug in USB, then set to Charge Only

2. In Win Vista/7 run the Install without Admin ( With Admin it Crashs )

Make sure you have Unknown sources and USB Debugging Active !

Ghostrider
[HD2 Android NAND Development] despy1989:
Had a weird problem today

My battery ran out today and the phone shut itself down. After boot up with fully charged battery i had lost quite a few of my apps and settins, Facebook app has gone back to 1.4 version which i had previously upgraded, Market went back to being old version..is this something that has happened before to anyone?
[HD2 Android NAND Development] DHARQAXIAN:
I know what you mean but once its loaded its quick on what it does :)

Plus, I am usin EXT4 with NO hassles or issues as well as MDJ s10.3, my fone runs sssooo sweet its almost too good a fone
[HD2 Android NAND Development] LiFE1688:
This is what happens when you do not have EXT3 or EXT4 partition in your SD card.
[HD2 Android NAND Development] AvRS:
Thanks, I didn't have Unknown sources active so will give that a try once the phones booted.

Thanks, I've just finished re-installing the ROM and CWM recovery so now I have a backup I'll give setting it to EXT4 a go in the week when I get a chance as tired now lol
[HD2 Android NAND Development] LiFE1688:
The reason data and wifi won't work is because the zimage and modules version are mismatched.

You cannot use the install.bat to update, because ADB.exe will mount the wrong partition. The zImage file is not updated, but the modules are. Check your kernel information in About Phone->Software, you will see your kernel is still the same not MDJ 10.3

This command is wrong.

adb shell mount -t yaffs2 -orw,nosuid,nodev /dev/block/mtdblock0 /data/boot

You will have to post your flash.cfg for me to tell you what to change in the install.bat.

Here's a simple explaination, maybe you can figure it out on your own.

adb shell mount -t yaffs2 -orw,nosuid,nodev /dev/block/mtdblock0 /data/boot <--- This will work

system ya|boot|ro filesize+2M system.bin
cache ya 10M
userdata ya|asize allsize

adb shell mount -t yaffs2 -orw,nosuid,nodev /dev/block/mtdblock2 /data/boot <-- this will work

misc ya 1M
recovery ya|ro 5M
boot ya|boot|ro 5M
system ya 350M
cache ya 10M
userdata ya|asize|hr allsize

adb shell mount -t yaffs2 -orw,nosuid,nodev /dev/block/mtdblock3 /data/boot <-- this will work

misc ya 1M
recovery ya|ro 5M
boot ya|ro 5M
system ya|boot 350M
cache ya 10M
userdata ya|asize|hr allsize

When you want to restore, the partition size must be the same.

That includes: misc, boot, system, cache, userdata, sd-ext
[HD2 Android NAND Development] Ghostrider:
This is the Install.bat I used, and it worked without any Problem.

Is the Orginal.

@echo off

echo Creating directory and mounting /boot...

adb shell mkdir /data/boot

adb shell mount -t yaffs2 -orw,nosuid,nodev /dev/block/mtdblock0 /data/boot

echo Pushing zImage...

adb push zImage /data/boot/zImage

echo Re-mounting system and pushing modules...

adb remount

adb push bcm4329.ko /system/lib/modules/bcm4329.ko

adb push tun.ko /system/lib/modules/tun.ko

adb push cifs.ko /system/lib/modules/cifs.ko

adb push fuse.ko /system/lib/modules/fuse.ko

adb push msm_rmnet.ko /system/lib/modules/msm_rmnet.ko

adb push nls_utf8.ko /system/lib/modules/nls_utf8.ko

echo Cleanups...

adb shell umount /data/boot

adb shell rmdir /data/boot

echo All done! Thanks for using MDJ's kernel! :)

pause

Ghostrider
[HD2 Android NAND Development] AvRS:
This is my flash.cfg file:

misc ya 1M
recovery ya|ro 3M
boot ya|ro filesize+2M
system ya|boot|ro filesize+2M system.bin
cache ya 3M
userdata ya|asize|hr allsize

I used the CWM/NAND tutorial files with a small modification to get it to work. Hopefully this is correct, so would I use the last example that you gave?

Thanks
[HD2 Android NAND Development] andrewf403:
Actually, you do not need swap partition with this build. It does not use one.
[HD2 Android NAND Development] swordfish2009:
There can be many reasons like SD card speed, partitions, some specific app etc..
[HD2 Android NAND Development] hg3atintin:
Question: Does the camera force close if you take a picture and go to preview screen and press upload. Please check :) Thanks!
[HD2 Android NAND Development] Mikenif:
Ahh well im still a bit new at android/linux:p.

Didnt feel like burning that formatdisc so i used clockwork. The clockwork sd format wizard automaticly asks what i want for swap so greedy me ofcourse picked the biggest one. Anyhoe this build close to perfect. No lag so far. ive been running al desire builds and this is definitely one of the fastest out there.
[HD2 Android NAND Development] Mikenif:
Yeah it does. But viewing the pic via album and uploading it from there works fine
[HD2 Android NAND Development] BobaFeTT_NL:
Hmm well I for sure have one of the first EU HD2's, had it 1 day after release in the Netherlands. Any way to find out a hardware rev number?
[HD2 Android NAND Development] andrewf403:
Yep, it does. Strange. For now you can upload photos from Gallery.

I'm not sure that this is a cause, and that there are really different revisions. Just wild guesses.
[HD2 Android NAND Development] Sloeber94:
Is it possible to use the overclocking possibilty like in MDJ's builds?
[HD2 Android NAND Development] iamcxa:
root

sorry for my bad eng.

i tried z4root , but still doesn't work,it can't get root permissions. So how should i fix this problem? or may wait for new version?:confused:
[HD2 Android NAND Development] andrewf403:
It uses MDJ's kernel. But some users report problems with root. So SetCPU may no work. Investigating.

Yet looking for solution
[HD2 Android NAND Development] AndHD2:
If I partition my SD card, one for fat32 and the other ext4, can I still use fat32 partition for music, photos etc or does everything have to be on the ext4 partition?
[HD2 Android NAND Development] iamcxa:
OK, hope you can fix it soon and thank u

and i must say your this version have fastest booting speed! good job!
[HD2 Android NAND Development] chrisjasper:
Fat32 is for your music and photos and other files, ext4 is purely for apps copied from the device by the system.
[HD2 Android NAND Development] andrewf403:
Yes. Fat32 partition would be recognized like regular SD card on android. It is ofr photos, video, music and everything you use your card for
[HD2 Android NAND Development] AndHD2:
Thanks for letting me know. I tried this method on another build but no music, photos or anything else was recognised. This is what has put me off but will give this one a try.
[HD2 Android NAND Development] clio94:
maybe visionary works instead of z4root that it didnt work;

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

http://android.modaco.com/content/software/320350/19-nov-r14-visionary-one-click-root/

http://www.mediafire.com/?xhwc5m7f273l7b2

can you please try it;
[HD2 Android NAND Development] DutchDanny:
EXT4 format

I already used the ext4 partition, and installed this rom.

I did not format my ext4, and guess what.. all apps are in place.

Testing starts now.

TNX for de HD rom
[HD2 Android NAND Development] iamcxa:
i have tried it. but visionary is cash, it has no response like z4root.
[HD2 Android NAND Development] jemaho:
Testing now as I was already a fan of Gauner's build, so far so good. Thanks for this!
[HD2 Android NAND Development] DutchDanny:
z4root dit the trick for me, I have root access
[HD2 Android NAND Development] Ghostrider:
OK. Sorry my bad, I don't use the Recovery:o

Ghostrider