yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] tmihai20:
Do you even see the MAGLDR loading? To stay in MAGLDR you must keep the end call key pressed until you can see MAGLDR's menu. To minimize power button usage, I power the phone, I let it boot for a few seconds and then I keep the end call button pressed until I see MAGLDR menu.
[HD2 Android NAND Development] Yank555:
If I were you, I'd start all over again.

When you go into the 3 color screen, does it show the correct SPL version ? It has to be "2.08.HSPL".

If not, reflash the correct HSPL and then try to reflash MAGLDR.

From here you should get to MAGLDR automatically when rebooting as long as no ROM is installed.

Try this, if that doesn't work, please report in detail step by step what you did.

JP.
[HD2 Android NAND Development] corrsea:
Oops mistake. Just ignore if you read my post. :-)
[HD2 Android NAND Development] Tikras:
Hi.

It says:

SPL-3.03.HSPL XE

0X50

CotullaHSPL 0X50

I done HSPL which has gone through with no problems and I said we hacked it and smile. Then I did MAGLDR which has gone with no problems too. But after that I can't boot into MAGLDR menu. Then I repeated HSPL and MAGLDR but result is the same.

Regards

---------- Post added at 01:53 PM ---------- Previous post was at 01:46 PM ----------

I don't see any signs of MAGLDR, that's problem. I can keep pressed end call button as long as I want, but just white screen with HTC logo, that's all I can see.
[HD2 Android NAND Development] CR5N:
Flash hspl 2.08
[HD2 Android NAND Development] trex3300:
Please read the two guides by mskip below:

(1) Flashing your First GSM USA 1024LEO ONLY!! (For Noobs)

(2) Flashing Your First HD2 Clockwork Mod Android Rom [For Newbs]

Good luck.
[HD2 Android NAND Development] captainreynolds:
Hey everybody,

Dealing with a phone I don't have access to - my cousin's! She's got 3.2a NAND, and this is her problem:

I've told her to reboot, and if that doesn't clear it, uninstall and reinstall the app then restart.

However, I am a little worried that it might be the system. Any thoughts? Ran a search of this thread, didn't see anyone else with this issue, but did find some complaints around XDA about slowness with golauncher EX. Personally, I think the default launcher is fine!
[HD2 Android NAND Development] sblar:
Hi guys

You two seems to be at the very front of knowledge on this ROM and I always enjoy your posts, all the way from when you originally helped me made the switch to NAND. In this case I'm getting a little confused though; which combination of ROM and kernel are you recommending? Quote: "his modified kernel and this ROM"!

I'm still on r13 and would like to upgrade. In your oppinion, should I go r14 or dorimanix?

Thanks for all the effort you put into testing and helping others. :)
[HD2 Android NAND Development] Tikras:
Thank to all for support and good advises. I tried to flash right HSPL 2.08, but that isn't so easy. No one lower version on HSPL than HSPL 3.00 would not install in my phone now. All they saying wrong SPL version I need SPL 1.42. Then I reflashed phone with original WnMo 6.5 stock ROM expecting to get original SPL back, but no luck, on three color screen it still says HSPL 3.0.... vI need to get original stock SPL which seems is not included into stock ROM. No luck yet to find it...

Maybe someone knows where I could get it from?
[HD2 Android NAND Development] sblar:
It's been quite a while since I flashed hspl, but as I remember, I had to flash an old winmo stock first, since the latest stock (3.14) contained a spl that didn't allow flashing of hspl. Get an older winmo and try again. When you are flashing hspl, you will get a list of versions. Chose 2.08. As 3.03 is no good for nand.

Sent from XDA App, the one and only
[HD2 Android NAND Development] corrsea:
I would go to r14 first as it fixed some of the last remaining problems. (From memory the no sound bug and the colour banding issue.) Its also designed specifically for this ROM. In effect it is the most current version of the ROM.

Dominanx's kernels are based on tytungs r14 but have some added tweaks and some more recent fixes.

I'm guessing that tytungs time is pretty much consumed with developing ics and this ROM is almost perfect as is. I presume he will update when he has time or when there is enough change or benefits to make it worthwhile.

I'm definitely seeing some improvement with data and phone connection, and battery life is just as good with dorimanx's latest kernel but I certainly have not tested everything so I don't know what might be broken.

Personally I'm happy to experiment but I always keep a recent nandroid backup (on my computer as well as on the sd card).

This is just in case something goes wrong that I can't fix.

So in a nutshell I would recommend that everyone update to r14.

If you're adventurous and want to experiment with the latest governors etc then try out the dominanx kernel.
[HD2 Android NAND Development] Yank555:
Thanx ;) And sorry for creating this little confusion :o

The best mix we've found so far is :

- Tytung's NexusHD2 GB v3.2a (this ROM)

- Dorimanx's kernel v3.2, corsea did a flashable ZIP for this ROM which you can find here

You just download the zip-file corsea attached, reboot into recovery, and flash the zip.

You'll be asked several questions during flash, these are my answers (hope I'm not forgetting one, and they are in the correct order as I'm doing this from memory :o) :

- no 2 way call rec (except if you need 2-way call recording)

- non-sense ROM (CM7 - MIUI)

- keep previous (so not MIUI)

- MAGLDR or cLK (depends on what you're using, MAGLDR if I remember correctly)

- no install busybox (we have it already in the ROM)

- install or not VPN patch (if VPN is no issue to you, don't install)

- don't install zram (it's real-time compressed RAM access, will give you more free ram, but use more CPU as it will do real-time compress-decompress, and dunno if it'd even work on this ROM)

If you feel unsure, I can post a more clear and precise step by step procedure (not from memory this time :D).

Once it's installed, it's usefull to install a tool like setcpu, or System Tuner (which I use) so you can overclock the kernel when phone is on and save battery in standby by underclocking it in standby. It will also allow you to set the sd-card cache size (so sd speed increase isn't needed anymore in case you use it).

Just as well, if you want, I can post screenshots of my config.

JP.

-------------- Edit :

I saw, corsea also just replied ;)

I agree if you want to go the no-fuzz way, just go with r14 kernel, it's the safer and easier way. And it's incredibly stable and fast !

The one thing Dorimanx's kernel will bring for sure, is full length HD video recording, so if that matters to you, I'd recommend going that path, and as corsea wrote, if you like to experiment, then definately go there :D
[HD2 Android NAND Development] Tikras:
Thanks. I'm hunting for older one now but can't find it... Does someone know directions or maybe got it in PC?
[HD2 Android NAND Development] CR5N:
http://xdaforums.com/showthread.php?t=966228

I used hspl4 to reflash my repaired phone. Not near a pc so the link above might work :)
[HD2 Android NAND Development] Yank555:
I believe I found at the time I went NAND a single flash setup that only changed to the older SPL, will search if I find it, I'll post a link, but it's definately on xda somewhere :D

JP.

--------------- Edit :

Oops no, was the other way around, the setup was to upgrade the Radio, not downgrade the SPL :(

I flashed the oldest ROM I could find on HTC's support site if I remember well.

The small setup would only upgrade to the correct radio version 2.15.50.14.

This is the order how I did it :

1) Back to basics

Flash old htc stock WinMo 6.5 ROM (this is the filename I used "_HTC HD2_RUU_Leo_HTC_WWE_1.48.405.2_Radio_Signed_15.28.50.07U_2.05.51.05_2_Ship.exe", 194666Kb)

This gave Radio Version - 2.05.51.05_2 and SPL Version - 1.42.0000

--> I had to flash it because of the SPL version

2) Flash HSPL 2.08

3) Update Radio to 2.15.50.14 (search in xda, you should find the post to download the installer)

4) Install MAGLDR 1.13

5) Flash ClockworkMod Recovery 3.2.0.0

6) Download and flash whatever ROM you like, you're good to go !

JP.
[HD2 Android NAND Development] ryan1990:
So, I've had a unresponsive screen for the past 17 hours now. I don't know what to do. It works when it wants to for 4 minutes, but other than that, it doesn't work? I would flash to the WinMo ROM to see if its a hardware issue, but I want to back everything up first. Any ideas?

Edit: Ok, so I know my screens completely dead, how can I back up my messages, thats all I really care about
[HD2 Android NAND Development] sblar:
http://www.4shared.com/dir/22189940/b8552fa0/Shipped_Leo_ROMs.html#dir=29066463

If this is not working for you, let me know and I will upload one.

---------- Post added at 10:51 PM ---------- Previous post was at 10:45 PM ----------

Thanks both. I'll try r14 and then maybe later, after a safe backup, experiment a little ;)

BTW, I am having data issues and hopes that it will be stable with the upgrade. I haven't seen anyone referring directly to better stability and speed though, except corsea which is on cLK. Are data stability and speed in general better on cLK - with this ROM, do you know?

Edit: One more question: what's with the wipe of cache and Dalvik, everyone is talking about. Is it necessary or just a good thing to do? Do I loose anything by doing so?
[HD2 Android NAND Development] Tikras:
Many thanks to Yand555 and all other people helping me. I found this ROM exactly as on your post filename there: http://www.filesonic.com/file/19420...dio_Signed_15.28.50.07U_2.05.51.05_2_Ship.exe

http://www.onlyfreshfiles.com/item/3e4f4551h1fi0

In Total Commander it's size shown as: 194.665 kb

Flashed it successfully, but on three color boot screen I still got the same persisting SPL-3.03HSPL By CotullaHSPL 0x50. I don't know how to get rid of it anymore.... Seems withoud your further help it could not be resolved. :confused:

Regards
[HD2 Android NAND Development] Yank555:
As far as I know, data is most stable on MAGLDR, but can't tell for sure, never had data issues, and never tested clk :(

As to caches, I never wipe them, never had a problem. Some ROMs, like Dorimanx's will wipe dalvik cache when you flash it, don't now for NexusHD2, though.

JP.
[HD2 Android NAND Development] Yank555:
If it says Cotulla, then you're custom HSPL, but not the version I see everywhere. Try flashing 2.08 HSPL from there, should work.

JP.

PS: I'll attach the one I used, give me a few minutes to get the file...
[HD2 Android NAND Development] corrsea:
@sblar

In theory data is more stable on magdlr but speed better with clk. Personally I believe its mostly to do with your carrier.

I've used both.

I have settled on clk for a number of reasons and only ever experienced minor data dropouts - others have had major problems. The Dorimanx kernel fixes these minor dropouts for me.

As to wiping the cache and Dalvik cache its certainly recommended in the kernel threads when flashing different kernels (eg kefir.net, hieros) but is not necessary when just upgrading. As far as I can see Dorimanx's kernel is basically an 'upgrade' of tytungs at the moment so cleaning the caches is probably not necessary. On the other hand it can do no harm. Don't ever wipe data though ie factory reset as you will lose everything :-0.

Sometimes if you run into problems FC's etc that you have not experienced previously wiping the caches and fixing permissions can sort them out. Thats what recovery is for :-).

If you are having data and connection issues the first thing that I would check is the basics ie that you have the correct APN's for your provider and that you have not checked the box for 2g networks only. If these are ok and the problems persist try both r14 and dorimanx kernels on magdlr. If you still have problems then switch to clk. Tytungs guide on page one is what I followed. Just be aware that when you flash the rom under clk you always have to flash the clk kernel immediately after it before rebooting.

Good luck
[HD2 Android NAND Development] cwwjr1681:
Someone please help..... Does anyone know of a Wifi android app that will let you connect to a wifi signal using the WPS (wifi protected setup) button on the top of the router? (skipping using the password) Like you can do nativly on the galaxy S? Or know of a ported version of the galaxy S rom on this site? It would be nice to be able to just hit the wps button on top of my router to use wifi considering where I work noone but IT know the router password.
[HD2 Android NAND Development] Macelangelo77:
I did a clean install (Task29 etc), installed 3.2a, applied r14 for cLK and Dorimanx 3.2 before first boot. Cleaned cache partition and dalvik cache, prior to first boot. Booted, went through setup, but unfortunately, my data wasn't working. 3G icon was showing up, but no data went through. APN settings were correct. I rebooted into CWM, reverted to r14, clean cache partition and dalvik again, booted and checked whether data worked. It did.

Rebooted into CWM again, flashed Dorimanx 3.2 again, cleaned, and data worked. Don't know why, but it does... Strange. Will report my findings after testing for the upcoming days.

Sincerely,

Mac
[HD2 Android NAND Development] dwali:
prevent some background apps from getting killed by android

Hi Guys,

I need some help here..

I'm using this great rom (3.2a NAND) on a Leo EU, when driving my car I use some apps simultaniously:

- Copilot (navigation)

- FlitsNav (a program that warns for mobile speedlimit controls)

- Speed Gadgets (displays gps speed in not. bar)

- bluetooth connected to carkit

The 2nd and 3rd should stay alive in the background, but sometimes get killed by android (especially after making a call)

Any tips on how to keep them alive? (I made some tasker profiles to restart them at certain times, but that's not a pretty solution)

maybe create a swap partition on sd?

thanks in advance for any help!

regards,

dwali
[HD2 Android NAND Development] Yank555:
Hi,

If Android kills them, I suppose it's running out of RAM. You might look into setting up swap...

Best ist a swap partition, you'd have to repartition your SD-card :

FAT32 (for your files) - ext4 (to install apps to sd) - swap

Then you need to format the swap partition, add it to /etc/fstab and add a script to "init.d" to mount it at boot.

If you're willing to go there, let me know, I'll guide you through it.

You can also, if you already have an sd-ext partition, use my guide to create a swap-file (instead of a swap-partition), have a look here (haven't had the time to update this for a swap-partiton).

JP.
[HD2 Android NAND Development] ellisbodds:
Sense 3.5 and Ice Cream Sandwich both give you an option to connect using WPS - Sense makes it more obvious, with ICS you have to tick "show advanced options" after selecting the network you want to connect to. I'd have thought that the Galaxy S would have native support for it - try it and see.
[HD2 Android NAND Development] dwali:
Ok, thanks..

some questions:

- Can I just copy my files to a computer, reformat sd (smaller size, because of partition added), then copy files back? (or do I have to use a special backup app?)

- If I connect my Leo as USB mass storage, will it still be using the swap partition? (if not, how does android react to that?)

- What happens when I remove the SD with swap partition and try to boot android? Or when the sd gets corrupted? Will android still boot?

I'll look into it.. If I can figure out how to do it myself, I'll let you know..
[HD2 Android NAND Development] cwwjr1681:
It does but im on the hd2 I was just using that as an example.. is there way to do this on this current rom 3.2a?
[HD2 Android NAND Development] Yank555:
Hi,

Yes, that is what I did.

I would suggest the following steps :

1) Backup all the files on your sd-card to your PC (if you have a real card reader, I'd use that one rather than MAGLDR's USB mass storage)

2) Using a tool like "MiniTool Partition Wizard Home Edition" create the follwing partitions, in that order on the card (!) :

--- primary partition of type FAT32 (whatever is left)

--- primary partition of type ext4 (1, 2, 3 or 4Gb) *

--- primary partition of type swap (256Mb)

As you might have guessed, it is most important that all partitions are primary ;)

* If you don't want to use an sd-ext partition to store your apps, just create the first and last partition.

BTW, ignore the warning telling you that Windows will not see more than one partition, that's exactly how we want it.

Applying these modifications will take some time, the bigger your card, the longer.

3) Reformat the FAT32 partiton from within Windows using 32k block size (it gives better performance)

NB: It's the only partition you'll see in Windows anyway, so you can't format the wrong one here

4) Restore the files you backed up under 1) from your computer

5) Insert your card into the HD2 and boot Android, once booted, start a terminal

6) Type the following commands in the shell :

su -
mkswap /dev/block/mmcblk0p[COLOR="Red"][B]3[/B][/COLOR][COLOR="Gray"] (if you did create an ext4 partition)[/COLOR]
mkswap /dev/block/mmcblk0p[COLOR="Red"][B]2[/B][/COLOR][COLOR="Gray"] (if you haven't created an ext4 partition)[/COLOR]
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
echo "/dev/block/mmcblk0p[COLOR="Red"][B]3[/B][/COLOR] swap swap" >> /system/etc/fstab[COLOR="Gray"] (if you did create an ext4 partition)[/COLOR]
echo "/dev/block/mmcblk0p[COLOR="Red"][B]2[/B][/COLOR] swap swap" >> /system/etc/fstab[COLOR="Gray"] (if you haven't created an ext4 partition)[/COLOR]
echo "/system/xbin/swapon -a" > /system/etc/init.d/00_swap
echo "echo 50 > /proc/sys/vm/swappiness" >> /system/etc/init.d/00_swap
chmod 750 /system/etc/init.d/00_swap
chgrp shell /system/etc/init.d/00_swap
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
exit
exit

7) Power off your HD2

8) Power on you HD2

9) Start a terminal and type "free", you should see a little less than 250000 behind swap, instead of the 0 you have now

No, the swap partition is only used once Andoid has started booting, as long as you're in MAGLDR or CWM, no sd-partition will be in use, neither sd-ext nor swap.

If you have both a swap and a sd-ext partition, I'd not recommend booting your HD2 without the SD card inserted, since parts of the system would be missing.

If you only have swap on your SD, and no sd-ext partition to store your apps, it will most likely boot, and just no have an active swap, more or less what you have now in fact ;)

But I can't test it, since I have my apps in the sd-ext partition...

JP.
[HD2 Android NAND Development] Tikras:
Tried to flash HSPL 2.08 that you attached here, but all the same, no luck. I have got the same file version of HSPL which I tried to flash before.

During flashing it pops up message; "critical error. Bad SPL version". It was like that before on my previous attemps and it's still the same now.

How can it go through if HSPL version on my phone is exactly the same as it was before flashing with old stock ROM. It is:

SPL-3.03.HSPL XE

0x05

CotullaHSPL 0x50

I can't believe there is no way to get rid of that HSPL 3.03
[HD2 Android NAND Development] Yank555:
Don't know that, but might be that the updater refuses to flash if the installed version is higher that the one you're trying to flash :confused:

Sorry, at this point I'm afraid, I don't know what to do, never happened to me :(

As a last resort, you might try to flash an old stock rom image from SD-Card ?

The file to put on the card is called "leoimg.nbh" and you need to keep volume down pressed while booting...

I've just kept the file and the info for reference in case something went wrong, read about this somewhere at the time. But I've never done that before, so can't tell if it works or how dangerous it is.

JP.
[HD2 Android NAND Development] CR5N:
@Tikras, my hd2 shipped with spl 3.03 and radio 2.15. I used hspl4 which I linked to a thread with a download. If you search for hspl4, this version can 'downgrade' your spl version and your hspl.
[HD2 Android NAND Development] Yank555:
Ah ! So the hspl4 is just to fool the updater into downgraging ? :rolleyes:

I always wondered why there was an HSPL3 and 4 :cool:

JP.
[HD2 Android NAND Development] dwali:
You've been a great help! Swap-partition is working, tomorrow I'll find out if it helps in "kepping alive" those background apps..

I'm still fighting with link2sd to see the 2gb ext4 partition I created (but I'll look into that in couple of days..)

For what it's worth:

If I boot without SD, android thinks it still has the swap available (settings>apps>running services). Shell>free says 0 swap.

thanks again,

dwali

ps. Happy NY everybody!
[HD2 Android NAND Development] Yank555:
Glad I could help ;) And hope it will work for your usage !

What exactly do you want to do, or see ? Let me know if I can be of assistance to you.

That is always shown this way, even when no swap was defined.

This is exactly how I expected it to behave, when swap is turned on, the partition cannot be found, so there's just no swap.

Happy new year to you, too, and to everybody here on xda ;)

JP.
[HD2 Android NAND Development] dwali:
I think I figured it out, link2sd gives wrong partition info if the ext4 size is bigger than 1gb (it said 1gb while the actual size was 2gb). I downsized it to below 1gb and it looks like its working correct now..

EDIT: not quite, it doesn't mount the ext4 at boot.. I have to do a "quick reboot" from the link2sd-app to access the apps I moved to etx4
[HD2 Android NAND Development] mike2nl:
Google Docs

Hi Yank555,

this is worth to write a doc and store it on Google-Docs, because i am shure there will be more users who need this advise again. And the most devs do this in the same way.

What do you think? If you won't write this doc i will do it and publish it public in google docs. So what's your answer ;)

BTW: it looks like my daily work with unix ;-)
[HD2 Android NAND Development] Yank555:
Hi Mike,

I'll have a look at it, don't know Google Docs yet, but sure sounds like it's worth a go ;)

But not today, I'll look into it in a couple of days (workload at work is going up these two weeks, I'll be migrating our ERP servers at work, that's priority one :cool: I'm upgrading our storage firmwares right now :rolleyes: ).

Thanx for the tip !

JP.
[HD2 Android NAND Development] sblar:
I suppose you've already read everything about HSPL here:

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

If you are unable to re-flash HSPL with your current setup, I strongly advice you to flash a stock ROM as suggested before. After that you will have SPL and not HSPL and then you can flash the correct HSPL.
[HD2 Android NAND Development] Tikras:
That's it! Sorted. :D It was straight to the point. Thanks CR5N ! I haven't realized that the same software (yes, i instaled HSPL using HSPL4 ! ) I used to install it can be used to downgrade it. I have got Android on my phone now! :)

Now I'm looking for information how better to format SD card and what size volumes to make are better for Apps2SD. Used MAGLDR to format it and made extended partition 1024 mb, system 150 mb, swap 256 just trying to guess sizes yesterday because did not have time for proper searching of info.

Happy New Year to everyone here!:)

---------- Post added at 05:22 PM ---------- Previous post was at 05:18 PM ----------

sblar, i did so as you saying here if you have read my earlier posts. I flashed with stock ROM from HTC but it did not help. Then I found old HTC stock rom but even that did not help, I still had Cotulla HSPL 3.03 !

The effective cure is different one, which is on my another post.