yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Yank555:
Glad to read you're up & running ;)

If I can give you an advice, it would be this :

1) ideally use a class 6 card (don't go for class 10)

2) create 3 primary partitions :

---- xGb FAT32 (format using 32k blocks, Windows can do that)

Use whatever space you have left.

---- 2Gb etx4 (for your apps, that's the sd-ext)

I'd say if you use 2Gb as sd-ext that is far more than enough. I have 4Gb, that's way too much, I'll reduce it when I have time, as with way over 100 apps, I still have 3,4Gb free, so 2Gb is plenty already !

---- 256Mb swap

You can use Home Partition Magic (or any other tool) to partition the card.

CWM does it for you as well, but sd-ext partition will be ext3 instead of ext4, which as I read is not optimal in terms of performance (ext4 is supposedly better).

As for NAND, I use 250Mb as system partition size. This reduces the internal data partition size, by wasting space in system partition. But since I use DATA2SD, I don't need a big data partition, I'd rather have more space in system, allowing me to test any ROM without having to repartition NAND.

But that's for me, it's up to you to decide on this for your use ;-)

Happy new year to you, too, may you have a lot of fun with your new HD2 experience !

JP.
[HD2 Android NAND Development] sblar:
Sorry, missed that. Very strange that HSPL survived a stock flash, anyway, glad you've got it working ;)
[HD2 Android NAND Development] CR5N:
As you know, XDA is a good place to find out info. I am keeping up with your and other members data2sd posts as try to keep os in nand if possible (personal preference) but miss the space from GB3.2a when using Tytung ICS (betas)

Good to hear you sorted it - this is a cracking ROM all credit to Tytung, devs and testers
[HD2 Android NAND Development] corrsea:
latest dorimanx kernel

Dorimanx 3.3 for anyone who wants to test.

See his kernel thread for changes.

:-)

See previous posts by Yank55 and myself for how to instal or revert to tytungsr14 kernel if you run into difficulties with it.

I would also report that the previous 3.2 version works really well, very stable with good battery life + no data drops on clk for those who use it.
[HD2 Android NAND Development] Tikras:
Thanks for good words. Just I fout that most of apps are being installed into NAND instead of SD card. As I wrote before, I formated my SD card with CWM into such volumes; 1024 mb for apps, 150 mb system and 256 mb swap. Then flashed apps2sd taken from here. Despite all that I noticed that all apps are installed into NAND but only Astro file manager into SD card. What's wrong? I'm thinking, maybe I should install one of those Apps2SD from Android Market to make it working? But, will not it make collision with that Apps to SD from here which I flashed before? And can me someone explain, what difference is between that Apps2SD which is flashable and those Apps2SD on Android Market which are installable?

Regards
[HD2 Android NAND Development] Tikras:
Thanks for very usefull information. It really helps me, because I just getting into Android-Linux world.

So, situation is quite strange in my phone's memory. I checked all folders and files through Astro file manager and found no any apps on SD card. Then two levels up, in root of device noticed sd-ext folder. One level down into that folder, I found three folders, app, app-private and lost+found. In app folder I found all my installed apps, another two folders shown as empty. So, Does it mean that dtapps2sd-2.7.5.2-signed.zip for Apps2SD+ installed from here is working properly?Then why does free space in internal NAND is shrinking with every new installed app ?

Now another side; If I go to stock settings/manage apps/on sd card it shows only two apps, Astro file manager and Skype, alltogether 6.3 mb (I installed about 12 apps). In all apps I can see all rest installed apps but is says internal storage and 80 mb used, 193 mb free. Before I started installing apps it was 224 mb of freen NAND space! And I installed just 12 small apps. Free space on NAND is shrinking withevery new instaled app. Why it is like that if all apps supposed to be going into ext partintion on SD card and are shown in sd-ext in root of device??? Confused... :confused:
[HD2 Android NAND Development] Danny1911:
Seek Jesus Christ and He will find you !

He is the way, the truth and the life !
[HD2 Android NAND Development] general1977:
Sd-ext in root is the EXT partition on your SD card. So all files you can see in this 'folder' is in the EXT partition on your SD card. Most probably the space on your NAND partition is shrinking, because you haven't moved dalvik-cache oto SD-EXT. This is not enabled by default with Darktremors Apps2SD+. You can still enable this if you wish. However I'm not sure wether it works properly. I remember somebody having problems with this. But you can try. I suggest a Nandroid backup before trying.

The apps that have been moved to SD-EXT with Darktremors Apps2SD won't show up as 'moved to SD' within the settings. Darktremors script is transparent to the system. The system won't notice that the apps have been moved. The two apps that show up as moved to SD reside in the FAT partition of the SD card which overall is not as compatible as Darktremors way to move the apps. Titanium Backup for example shows the correct numbers for space usage. If you get the choice, install all apps to internal memory. The App2SDExt script will move them to the SD card for you automatically.

Regards

Achim
[HD2 Android NAND Development] Yank555:
Be carefull, "/sd-ext" is not always the sd-ext partition, since these xxx2SD scripts / tools modify these things. AMARULLZ way will in fact mount the NAND data partition to /sd-ext, and use symlinks to point towards the real sd-ext partition on the sd-card, which it mounts to /data. Follow the link in my previous post, it is explained on AMARULLZ post.

You need to read and understand the code of these different scripts to fully understand what these really do, there are no real rules on how to get /data, or parts of it, to your second partition on the sd-card ;)

JP.
[HD2 Android NAND Development] corrsea:
Tested this out for a day. I had a kernel wakelock overnight which obviously gave increased battery drain. I think the culprit was google talk. I have had issues with it in the past so I usually uninstall it - just forgot this time.

However I also experienced a reboot with bootloop so I'm reverting to v 3.2 for now.

Anybody else who tested it experiencing problems?
[HD2 Android NAND Development] Yank555:
Hi,

I'm on 3.3 since I saw your post, works great for at the moment :cool:

I've been using my HD2 above averge, all is fine on my end, no reboot, no wakelock, excellent battery life.

JP.
[HD2 Android NAND Development] corrsea:
I guess different setups on different phones will produce different results.

Now that I'm back on 3.2 it also seems faster so no complaints. at the rate dorimanx releases these a will be up to 4.0 by the end of January. :-)

Edit.

I take it back. Nothing to do with the kernel as I'm getting exactly the same on 3.2. Can't blame it on google talk either. Gotta be something I've done over the last few days (which has been quite a lot because of the holidays).

I think I'll have a play with ics and come back to a stable backup rather than try to ferret out the cause.
[HD2 Android NAND Development] oschwin:
Exactly at 0:00 am on sylvester, my rom collabsed. Try to bring in my backup but it doesn`t work as before. Had to make a hardware reset. Anyone else with this issue?
[HD2 Android NAND Development] Tikras:
So, how can I know is that "sd-ext" actually in SD card of still in phone's memory? Because free NAND space is dangerously shrinkink and I will be running out of space very soon, despite enabling dapps2SD. Strange thing, I’m losing space on NAND straight after installing app, haven’t even launched it, so I assume cache should not be used yet?

Dalvik cache I found there: /mnt/cache/dalvik-cache. On Astro file manager it is shown as empty even with enablet show hidden items. In xxx/ sd-ext and xxx/SD directories no such dir.

Ok, now, general1977 advised that Titanium Backup app will show correct amount of free and used spaces in memory. I installed it and checked, results below:

System ROM: 141 mb (3.69 mb free)

Internal: 286 mb (149 mb free)

SD card: 14.6 gb (14.6 gb free)

SD card (a2sd): 959 mb (873 mb free)

Results I can see on ROM->Settings->Applications->Manage applications below:

Internal Storage: 123 MB used, 150 mb free.

On SD cards: 43 mb used, 14 gb free.

I installed just 24 apps. Not very big ones, no games and etc yet.

Does it give you an idea about point of this my post, where is this my sd-ext actually located? If this is in SD card, why my fspace NAND is so rapidly shrinking (most of installed apps have not been launched yet)?

If I go for AMARULLZ DATA TO SD-EXT what do I have to do, because I flashed dapps2sd already, can be collision? Should I reflash whole ROM or there is easier way?

---------- Post added at 03:37 PM ---------- Previous post was at 03:10 PM ----------

Just want to share my experience with my first android ROM on HTC HD2. I could not compare it with another builds because as I said this is my first android on this phone designed for WinMo 6.5, so, I will be comparing with WinMo. First, I noticed higher battery drain than on WinMo. Stand by time with screen off is not too bad, but if I'm doing something with phone, charge is going down very rapidly. Sometimes battery last only 3 hours with average phone use (not too much of talking, mostly downloading and trying different apps, but not all this time). And worst of all, performance of radio "Leo_2.15.50.14" is very poor. Not catching signal in places when I had it with WinMo. With data is difficult to use both, WiFi (very strong signal, next to router) and HSDPA. Data connection is being dropped all the time. Even in places where is very strong and stable signal, data signal gauge on phone is going up and down to zero most of the time for no reason.Interesting, that when data connection has no load there is shown strong data signal, but if started to download something or make IP call on skype, ir drops to zero straight away and interrupts data connection. Situation with voice signal is better, but sometimes it drops it too.

Othervise this is great ROM, nice, clean, stable, not overloaded. If I switch Radio completelly off, battery lasts much longer.

Anybody else has experienced any problems with this radio? MAybe I should try another radio? Can I be advised which radio is the best one for this rom?

Regards
[HD2 Android NAND Development] corrsea:
@tikras

Re:- battery drain. You should be able to get about 6 hours with constant use, not the 3 you are experiencing at the moment. With light use this can be pushed out to about 30 - 40 hours.

This is a problem many people experience when first switching to Android. Its caused by the battery being incorrectly calibrated. This trends to happen for many reasons, but the must common is not having it fully charged when making the original switch. Luckily with a bit of work its possible to sort it out.

Full charge should be 4201 or 4199 mha. This is what you are aiming for.

There are a number of ways of calibrating your battery and there is a thread dedicated to it.

The easiest method is use a tool like battery monitor widget or batterycalibration to achieve this. It involves doing a number of charge / discharge cycles.

You can speed up the process if you have an external charger or if you are on Clk and can charge while switched off.

Don't be tempted to use any of the apps such as juice defender as in my experience they can actually make battery use worse. Its much better to learn how to manage your individual setup to get the best performance. You can start to do this once you have the battery calibrated correctly.

Re:- connection, are you using magdlr or Clk? You are already on the right radio.
[HD2 Android NAND Development] Tikras:
Hi. I'm using MAGLDR. Ok, I'm going to search for that thread about battery issues. Thanks for advise. :)

I have got external charger as well and tried to charge battery with it, but did not notice difference.

Update: Installed setcpu and applied recommended settings. I will see if it helps.

btw; Ringer volume is quite low, about half lower than on WinMo.Sometimes it makes difficult to hear it. Any Ideas why?
[HD2 Android NAND Development] corrsea:
I you have an external charger its pretty easy.

Download batterycalibration from market.

Fully charge your battery.

reboot your phone and connect it to the charger.

Let it charge to full again but leave it on charge for another hour or so.

Use batterycallibration to calibrate it. Basically it just deletes the battery stats file.

Leave on charge for another half an hour or so.

Then use the phone until it runs out.

Reboot without charging and let it run out again x 2 to fully discharge.

Connect to charger and reboot. Let it charge to 100%

While still connected to the charger dial *#*#4636#*#*

Under battery information your voltage should read 4199 or 4201 mha.

Job done.

If you repeat the charge / discharge cycle a few times it should continue to improve.
[HD2 Android NAND Development] CR5N:
CWR has a delete battery stats built-in to the menu, saves an app download :)
[HD2 Android NAND Development] corrsea:
Yes, or you can just find the file and delete it with a file explorer. It will automatically repair itself.
[HD2 Android NAND Development] corrsea:
Just noticed you question about volume. Download the volume + app. There is a market link on page one. After a bit of experimentation you should be able to get the best setup for your own needs. I can post my settings if you want.
[HD2 Android NAND Development] vallentin:
One thing I don't like to this ROM: when i answer to the phone, the slide bar freeze 1 second when I slide it. Otherwise, is perfect!
[HD2 Android NAND Development] Yank555:
To know where what partition is mounted, you will need to use a terminal emulator to open a shell.

Get SuperUser rights in order to see everything by typing "su".

In there you type "mount", you will get a bunch of output lines looking like this :

/dev/block/mtdblock3 /system yaffs2 ro,realtime 0 0

First part (/dev/block/mtdblock3) says what partition it is, second part (/system) where it is mounted to.

mtdblock are NAND partitions

Mmcblk0p are SD card partitions.

This is step one, with it you will know what partition is used where in the system.

But on top of that, scripts may use symlinks (symbolic links), which are a kind of pointer, which could for instance say :

/data/app -> /sd-ext/app

Which means, that whenever you access files in /data/app in fact you are working with files in /sd-ext/app.

To see symlinks, you need to type "ls -l" in the terminal, after having switched to the right directory.

All of this gives kind of a spaghetti plate stuff, where everything is mixed and you need to follow the one spaghetti you're trying to find ;)

This actually is basic UNIX system stuff... easy, if you know your way, but very hard if you don't :(

You need to have root access (superuser access), don't know if Astra file manager can do that ... check in the settings. In UNIX there'x more than just hidden files, you have user / group / other rights on files / folders.

This should be correct, but again, if symlinks are involved, you don't know what is in fact installed where :( In my above example, files jn /data/app will use space in /sd-ext/app, so wil, use space on sd-ext, even if it looks like it was using space in /data.

This is less accurate, as settings will show free space of /data, but if symlinks are involved, it will be wrong :(

Hard to tell, I'd need to have your HD2 at hand ;)

Best is a fresh install, then at least one boot with just the ROM flashed to finish installation. Then make a NANDROID backup (as to have a clean starting point to retest quickly).

Then follow the instructions on Amarullz's post.

JP.
[HD2 Android NAND Development] Yank555:
Hi,

@corrsea :

I had my first wakelock this morning (steady ~60mA in standby), after taking 2 pictures with MIUI camera v17 fixe 2.

I had to reboot, it's all good again...

Dorimanx kernel v3.3 ??

JP.
[HD2 Android NAND Development] r-style:
After using your ICS build for a couple of weeks my vacation is over so i needed a stable ROM for my daily use. so i irremediably wanted to use another rom of you. thank you for the great work in both ICS and this GB rom, even my wake up lag is almost completely gone.
[HD2 Android NAND Development] crashtua:
Hello. Sorry for writing to you, but i dond know where to ask this question. I want to build my own rom for HTC HD2 from sources (AOSP Gingerbread for Passion), but with some improvements. I builded it for Passion, it works fine. But i dont know, what modules, *.so libs or others to modify, to make that rom working on HD2. Can you help me(with flist of files to modify or in other way)?

(sorry for my Engish, I am from Ukraine)
[HD2 Android NAND Development] corrsea:
I'll check out out in V.3.2. When I first tested the various kernels kefir.net was the only one without freezes but it did have the 60mA drain. Perhaps dorimanx used his fix? I can live with that as long as I'm aware of it and know to reboot after using the camera.

On a +ve note I've had no more reboots or overnight Wakelocks (getting 0.7% per hour drain in standby with wifi on) :-)

If we can confirm the drain after using the camera as a bug it might be worthwhile reporting it on the kernel thread to see if dorimanx can come up with a fix.

Completely of topic. Have you seen this.

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

This guy had developed a recovery with soft keys - its still a beta but from my limited testing so far its brilliant. Will see how well it goes today when I check out the ics beta again :-)
[HD2 Android NAND Development] Geicco:
Help?

Noob here guys. Any help would be much appreciated.

Now to the problem at hand. I follow´d the magldr installation guide and got to the very last point where i should use the ClockMod Recovery to somehow install the gingerbreadmod. Only problem is that my SD card is empty so how to i start the flashing of the gingerbread? I thought i could transfer the zip i downloaded to my Phone´s sd but now i cant boot windows anymore because Magldr keeps opening everytime i reboot regardless of wherther im holding the boot button or not. When i press "boot WPH" it gives me the message "WPH not installed". How do i continue the installation and how to i boot windows mobile again?

Help me out here guys? :S
[HD2 Android NAND Development] Timmzy89:
You do not need to reinstall windows to put the android ROM onto the SD card.

When your phone boots up In Magldr, Select option 4. USB MassStg. you can connect your phone as MassUSBStorage to your computer. Do this and copy it across. it will appear in "My Computer" as "USBMassStorage" It will then be available in CWM -->Install Zip from SDcard --> Choose zip from SDcard --> Select NexusHD2....zip .

---------- Post added at 06:04 PM ---------- Previous post was at 06:02 PM ----------

As above, but make sure you DO NOT EXTRACT the ROM.

Simply copy the downloaded file (Still zipped) onto the root of the SD card. (not inside any folders)

If you should need to put windows back onto your phone, boot the phone into the 3 colour screen (Holding volume down whilst turning the phone on) and flash an official stock Windows Mobile 6.5 ROM onto the phone.
[HD2 Android NAND Development] Geicco:
I did what you said and i actually tried this myself, yet i get the message no files found... Why is Windows gone? How can i get it back if i cant get this resolved? Thank you for answering anyway.
[HD2 Android NAND Development] corrsea:
If you have a card reader transfer the ROM zip directly to the sd card.
[HD2 Android NAND Development] Timmzy89:
As corrsea says, that is another option you have.

For the method I mentioned, you may need to reflash CWM for it to pick it up, but it should work perfectly fine that way - I did it that way last night when I was installing Tytungs Icecream Sandwich Beta 10.

You "Could" go back onto windows simply by:

1. downloading a Stock HD2 WinMo 6.5 ROM from here: http://www.htc.com/uk/help/htc-hd2/#download

2. Once downloaded, Turn your phone off.

3. Turn the phone on WHILST holding down the Volume down hardkey.

4. This will boot the phone into the phones bootloader (3 colour screen)

5. When on this screen, Plug your phone in and wait for "Serial" in the white bar at the bottom to change to "USB"

6. When this happens, on your computer open the file that you downloaded from the HTC website and go though the options.

That should reinstall WinMo 6.5 onto your device and allow you to copy the file onto your SDcard from there BUT BUT BUT that would require you to start the WHOLE install process again from scratch.
[HD2 Android NAND Development] Geicco:
The zip is actually on the sd card however clockworkmod cannot find it. It is telling me that no files is found.

Can anyone link me to the site where they explain how to flash me back to windows 6.5?

If this does **** up my phone like it seem to have done by now i would like to at least be capable of taking a call even though windows mobile is ****. I might try the other method if i manage to get myself out of this ****. I im such a noob that i assumed that windows would stay beside this working as a dual operating system.

What would be even better is if i could make this work right away but something is seriussly wrong with this program fellas. Unless i am doing something really wrong.
[HD2 Android NAND Development] Timmzy89:
Up 2 posts I wrote you a guide for WinMo.
[HD2 Android NAND Development] CR5N:
@Geicco

http://xdaforums.com/showthread.php?p=13088308

Read all of the first post in the link and read it again.
[HD2 Android NAND Development] Geicco:
Thank you for a great answer my friend. So i tried to create my own zip-file using winrar (naming it the same as the 7zip i downloaded) and doing so made it find the file. However the following error appears when i start installing:

-- Installing: /sdcard/NexusHD2-Gingerbread_V3.2a_SD_(Android-2.3.7).zip

Finding update package...

Opening update package...

Installing update...

Installation aborted.

Which means i am stuck.. again. Should i try to redownload incase something went wrong during the download.
[HD2 Android NAND Development] corrsea:
I would not give up yet. As other posters have said you can always flash back to stock winmo but you would be missing out on a much superior experience. I think we've all been in panic mode at some stage when things have gone wrong. Don't give up you will get plenty of advice here.

It sounds as if there are 2 possible issues.

1. problem with sd card. If you have a card reader download the Panasonic sd formatter tool to your computer and format your card (fat 32). Then copy the ROM zip to the card and give it another shot.

2. You have a problem with recovery. Either it is not flashed properly or you need to flash another version. Could you describe exactly what you see when you enter recovery?
[HD2 Android NAND Development] Timmzy89:
You are trying to flash the SD version using the NAND method. You will need to redownload the Android ROM (making sure you download the NAND ROM rather than the SD ROM) This can be found in the first post.

---------- Post added at 07:21 PM ---------- Previous post was at 07:19 PM ----------

The one at that the start of this post should already be in the .zip format by the way so there is no need for you to re-zip it.

Regards,

Mike
[HD2 Android NAND Development] Geicco:
oh wow i downloaded the 7zip file... wtf i guess that is why it could not find it. will try the zip download and report back (asuming it would work thanks for all help) The guide on CWM was a little bit above my lvl of competance. SO lets see if i have understood this right. Will i have to make a external app2sd partition? And if so how large would you guys recomend that to be on this particular rom?