yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Yank555:
Hi,

Well I just described the procedure I used to a fellow xda member yesterday evening via PM, here's a transcript (slightly put in shape, though ;)) :

Source for the procedure is including needed flashable files :

http://xdaforums.com/showpost.php?p=12328033&postcount=2938

I found the link to this post at the bottom of tytung's first post of tytung's NexusHD2 Gingerbread ROM.

Important note :

You need to create a

second

primary

partiton on your SD card, the first needs to be FAT32 (for Windows to still access it) and the second ext2/ext3/ext4 (I recommend ext4, I read somewhere it was better performing).

For a first installation of DATA2SD :

- boot into recovery

- if not yet flashed, flash the ROM

- flash APP2SD Killer (maybe not needed for ICS, didn't harm, though) (don't do this, it will cause problems in market application, so it did harm !!)

- restart the HD2 and let Android start once completely

- turn off HD2

- boot into recovery

- flash Data2SD installer (not

RE

installer)

And that's about it.

I haven't tested this on beta 6, it worked for 4 & 5, so I'm confident it will work on 6 as well.

Once you have used Data2SD, if you reflash the ROM, or an update of the ROM, the procedure is slightly different :

- boot into recovery

- flash the ROM

- flash APP2SD Killer (maybe not needed for ICS, didn't harm, though) (don't do this, it will cause problems in market application, so it did harm !!)

- flash immediately, don't reboot, Data2SD

RE

installer

And you're back on track again, apps will still be there.

Hope this helps ;)

JP.

PS: By the way, DATA2SD is different to dtapp2sd !!

-----

You actually answered your question already ;)

If you format sd-ext (or wipe everything in CWM), your data is gone, since sd-ext is exactly where DATA2SD puts "/data" (you APPs).

In other words :

If you format sd-ext :

You need to use "installer" and run ROM first before you do so (in order to install apps to NAND /data first) which the installer will then copy to sd-ext to have a starting point.

If you don't format sd-ext :

For example you install NexudsHD2 3.2 over an existing 3.0 and you want to keep your config, you don't wipe anything, you just flash the new ROM version. Then all your apps are still on sd-ext which was left untouched by flashing a ROM to NAND. Then you need to use

re

installer, which will only link /data to the existing sd-ext partition without touching anything. All your apps will still be there after booting the new ROM the first time.

Hope I'm not too confusing ;)

JP.

-----

About the performance issue, you might consider using SD speed increase (I use the recommended 2048k cache size). I've been using it for quite some time now (was suggested because of the video filming issue, didn't help but speeded up sd-card performance), so maybe that is why I find it to be just as fast as NAND ?

----- Edit :

See screenshot, DATA2SD works on a clean beta 6 install ! (2Gb ext4 sd-ext partition)
[HD2 Android NAND Development] jellenl:
Seems like you copied the link wrong ;) I think this is the good one: http://xdaforums.com/showpost.php?p=12328033&postcount=2938
[HD2 Android NAND Development] Lambert Verner:
I'm using it daily. It reboots once every two-three days, but besides that my experience is very positive.

But be aware that you might get in trouble with space for your apps.
[HD2 Android NAND Development] hybride:
Thanks to Yank555 for his tip how to use DATA2SD with ICS. Very recommended to use the SD-card memory as internal memory. I have now 800mb free internal space :D

Thanks tytung for making this great ROM!
[HD2 Android NAND Development] deibit:
Sounds like a challenging task considering HD2 does not have a front camera :)
[HD2 Android NAND Development] FELON1908:
what kind of partition do you have ext3 ext4???
[HD2 Android NAND Development] erick3000:
simply the best android yet!

tytung if u install launcher pro it goes as fast as gingerbread.

I love the stock launcher. Can we expect better performance? or is just hardware limites?
[HD2 Android NAND Development] legolas93:
Great Rom TY!

After testing it's my favourite! :D
[HD2 Android NAND Development] hybride:
EXT4 made with Gparted. Made the fat32 partition smaller and created a new ext4 partition right after the first one. (so without losing or need to copy existing data on fat32) EXT3 didn't work with the scripts....
[HD2 Android NAND Development] FELON1908:
I have also a ext 4 partition but when i do this

- boot into recovery

- if not yet flashed, flash the ROM

- flash APP2SD Killer (maybe not needed for ICS, didn't harm, though)

- restart the HD2 and let Android start once completely

- turn off HD2

- boot into recovery

- flash Data2SD installer (not REinstaller)

The ROM goes very slow and allot of FC i get :(
[HD2 Android NAND Development] illgodson:
Netflix updated this afternoon with ICS compatibility, does it work on this rom now by any chance? I'm at work can't reflash the rom and check myself sorry just wondering if anyone tried it yet
[HD2 Android NAND Development] Yank555:
Oops, you're right ;) I've updated my post.

Thanx for pointing that out !
[HD2 Android NAND Development] jasons1004:
no video or audio in netflix on beta6 stock

the app works well and it plays but...no audio or video
[HD2 Android NAND Development] Yank555:
Depends on what tool you use to partition. If you use CWM, it will be ext3, I've used "MiniTool Partition Wizard Home Edition 7.0" to create an ext4 partition.

I've read somewhere, ext4 would bring more performance...

JP.

---------- Post added at 09:00 PM ---------- Previous post was at 08:54 PM ----------

Strange, never had that problem :confused:

What card speed do you have, mine's only a Transcend class 4 ? I don't know if it make a big difference, I also use "SD Speed Increase" APP with 2048k cache.

What size is you sd-ext partition ?

JP.
[HD2 Android NAND Development] bWorks:
Hey guys ... sorry for the off-topic!

is here anyone here from Germany and used the rom daily?

Falls ja, könntest du dich bitte per PM bei mir melden? Danke

Thx

Tom
[HD2 Android NAND Development] ChaosBoy:
I'm from German... you can mail me, if you have a question... i use the rom since beta3 for daily use...

Forum rules says english only!

sending from my HD2 running ICS by using XDAapp
[HD2 Android NAND Development] bWorks:
Thx you have a pm ;)
[HD2 Android NAND Development] 10507:
If you post the updated apk, I can test is out. I can not download this from market due to incompatibility.
[HD2 Android NAND Development] fx.dcny:
Netflix is working 100%, go for it!
[HD2 Android NAND Development] Yank555:
Hi,

just to let you know, DATA2SD works on beta 6, see screenshot ;)

Instructions how to install can be found here :

http://xdaforums.com/showpost.php?p=20329543&postcount=2116

JP.
[HD2 Android NAND Development] illgodson:
Sorry still at work and don't know if I can do it from the phone anyway, but when I get home if someone else hasn't already I will. Also thanks to the guy who confirmed it working that was the only app issue holding me up from running this full-time
[HD2 Android NAND Development] 10507:
Thank, what LCD setting dis you use to trick the market.
[HD2 Android NAND Development] fabiogrotte85:
hello

this is the apk for ics keyboard with softkey.

works 100%
[HD2 Android NAND Development] caubecari:
What size is your ext4 partition? Thanks
[HD2 Android NAND Development] stex_80:
Hello, i updated a beta5 to beta6 + data2ext and now i can't use market, when download ay apps have a generic error.

Someone can hel me? Thx
[HD2 Android NAND Development] fabiogrotte85:
reinstall beta 6
[HD2 Android NAND Development] stex_80:
Yes working but if try to install data2sd problem exist?!
[HD2 Android NAND Development] techartgt3:
Is there going to be support for scrollable wallpapers in future builds?
[HD2 Android NAND Development] arif-ali:
@tytung

USB Mass Storage can be fixed using the method described in the post below; I believe this is only a temporary fix for the time being

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

Thanks to Bexton
[HD2 Android NAND Development] kane159:
thank you sir, it works grate :D

I pack it in the default zip :D
[HD2 Android NAND Development] jayr415:
For those who don't know yet, Adobe Flash is out for ICS
[HD2 Android NAND Development] + Que PPC:
anybody thinks that Ankuch in his SD version has the answer to fix the camera? or kernel are quite diferent?
[HD2 Android NAND Development] hitman818:
It doesnt really work. It doesnt show anything. Just blank. If you go into flash player settings nothing will show.
[HD2 Android NAND Development] pascalsg:
If you read his thread you will see we are faraway of a working solution at the time being.
[HD2 Android NAND Development] jasons1004:
youtube APP works for me (not the website)
[HD2 Android NAND Development] heigell:
Hi guys, I have met a problem after flashed the Beta6, The system become unstable and after a self reboot, the system show the UID insistent information, and tell me to wipe the data partition, but after I wiped the partition, the problem still there, and the system became useless, is there anybody else met the problem?:confused:
[HD2 Android NAND Development] Yank555:
Hi,

On my daily use HD2 (NexusHD2 GB) I have 4Gb, but that's really huge, with far over 100 apps I've barely used 800Mb... if you can spare that much (I have a 32Gb card) fine, but 2Gb should be plenty already.

On my testing HD2 I have a 2Gb partition, since that card is only 8Gb.

JP.
[HD2 Android NAND Development] FELON1908:
Hi i have a Kingston 8 GB class 4 and ext4 size is 1 GB.

Made it with Gparted.
[HD2 Android NAND Development] tytung:
Those patch files are for old wpa_supplicant.

I used those patch files to patch the official wpa_supplicant v0.6.10 and built a v0.6.10ah version.

The general WiFi works on GB and ICS. (I don't test Ad hoc.)

So you can try wpa_supplicant v0.6.10ah.

Maybe someone has already modified the above patch to match wpa_supplicant v0.8.x.

However I don't have time to do the research.
[HD2 Android NAND Development] tytung:
Please provide your configurations.

Radio? cLK? MAGLDR?

Charging via the USB cable? via wall charger?
[HD2 Android NAND Development] riaan0010:
Hi tytung.

How can I activate volume buttons to wake up screen, please ?
[HD2 Android NAND Development] tytung:
Of course. However it's hard to have a working and updated kernel for HD2.

If you ever looked at the developing history of the 2.6.35 HD2 kernel, you will know that building a whole new kernel is not easy. And you may still get some problems even the new kernel is bootable.
[HD2 Android NAND Development] prulleman:
usb mass storage

Is this usefull to fix usb mass storage?

http://xdaforums.com/showthread.php?t=1389375
[HD2 Android NAND Development] kdmehra:
Thank you T Y Tung for making my HD2 a AAWWWSOME phone ..

Confirmation Number: 6LU49423ST010911N
[HD2 Android NAND Development] FELON1908:
This apk works!!!!
[HD2 Android NAND Development] MarkAtHome:
This has happened to me, too.

In my case, when this occurred, I noticed that the battery icon had a USB icon superimposed on the battery, rather than the usual charging icon.

So, I have gotten into the habit of glancing at the battery icon when I plug in the phone to charge...

If I note USB, I unplug the cable and then reattach it until the charging icon is there.

----

Sent from my ICS HD2 with XDA Premium
[HD2 Android NAND Development] stex_80:
Nothing !!!

i follow this step for reinstall beta 6.

1) Format sd card ( fat32 + 2gb ext4 + swap )

2) Flash rom + reboot --> all working good )

3) Flash app2sd killer + reboot

4) Flash data2sd + reboot

5) working good but I CAN'T DOWNLOAD FROM MARKET !

What is the problem ?

THX in advance.
[HD2 Android NAND Development] FELON1908:
I have it working also and i can't also download anything from the market :(
[HD2 Android NAND Development] kdmehra:
http://nexus-hd2.googlecode.com/files/framework-res.apk_v401_with_softkeys.zip try flashing this.. issue might be because of lcd density..
[HD2 Android NAND Development] Bazzz66:
Mini Tool Partition Wizard 7 also supports Ext4, but a small question as I am new to ext4.

When you format a part of your SD, does it matter if the partitioned SD card starts with a partition 1= FAT32 and partition 2 = Ext4 or vice versa???
[HD2 Android NAND Development] FELON1908:
How can you remove the softkeys??

Because it still don't work!!
[HD2 Android NAND Development] fabiogrotte85:
same for me, download start after 5 minuts and very slow,

i thing this is the sd card.

can not install app2sd in the rom?
[HD2 Android NAND Development] Takashuri:
Yes, this one works great. The one posted in the opening post is the one i cant seem to get working. This one works great though!
[HD2 Android NAND Development] leaskovski:
Hi,

Ive never used App2SD or any of the similar method like the one you have posted. Do you have a link to a good resource on how to follow this?

Im assuming I need to repartition my SD Card to give me an Ext 3 or Ext 4 formated partition (size of my choice)? Is this something I can do from CWM, or by using GParted or something?

Many Thanks
[HD2 Android NAND Development] myself11:
I flashed data2sd, I can download from market but it's very very slow and apps open very slowly too (with other ROM's I've never had this problem).

@felon: Checkout 1st post to flash zip to remove softkeys. With ICS keyboard that someone provided here, I don't even have to change dpi to get all working nicely.
[HD2 Android NAND Development] Bazzz66:
I have my 8gb SD Partitioned, 7GB FAT32 and 1 GB Ext4 (in this order).

I can see all my data when I put the SD in windows, but when the SD is in my phone I can't access the SD card.

I do see the sd-ext folder in the filemanager, any ideas how to navigate to my SD?
[HD2 Android NAND Development] daedric:
That's a rom fault.

The first partition must be the FAT32 one, as windows will only use the first partition of a sdcard. So, if the first one is SD-Ext (EXTx), windows will ignore the sdcard.
[HD2 Android NAND Development] Yank555:
That should be totally fine as config :confused:
[HD2 Android NAND Development] Yank555:
It does matter, the FAT partition must be the first, sd-ext must be the second and must be a primary partition. I've only tested formating sd-ext in ext4, but ext3 should work fine, too.

JP.
[HD2 Android NAND Development] Yank555:
CWM can do it for you, but mind you, all data on the card will be lost ! Also CWM will format the sd-ext partition in ext3, not ext4.

JP.
[HD2 Android NAND Development] Yank555:
Is you sd-ext partition a primary partition ? It needs to be for it to work as far as I know.

JP.
[HD2 Android NAND Development] kane159:
hello every ppl here is the new google music, version 4.1.511

I use adb push to put it in /system/app

then set chmod 644

v4.1.511:

Google Music is now out of beta and is open to all users without an invitation. Upload up to 20,000 songs from your personal music collection to Google Music and listen instantly on all your devices.

Seamless integration with the Android Market music store. All your purchases automatically appear in the Google Music app.

Bug Fixes

[screen shot]
[HD2 Android NAND Development] Yank555:
Hi,

For those having problems with market and DATA2SD, did you change the dpi ? I have never had an issue with the market and I've been using DATA2SD from day 1 ?!

JP.
[HD2 Android NAND Development] leipy:
Working whith ics for a week now, did a lot off roaming( spain belguim, germany,), works fine.

only poweramp does not work(paid) and sygic 11.01 does not work.

love the work. it is very smooth and fast.
[HD2 Android NAND Development] Bazzz66:
Tnx, that did the trick. Forgot to set it to primary.
[HD2 Android NAND Development] FELON1908:
I don't now how to change the dpi!!!!
[HD2 Android NAND Development] michie:
Usb mass storage fix from Bexton seems to work well :)
[HD2 Android NAND Development] gofiro:
Hey There,

I Flashed the Rom yesterday and got a Problem of too low internal memory,

Can Somebody tell me exactly what to do?

Is that the right way ?:

1) Full Wipe (Task 29)

2) Install Magldr

3) Formate sd card

4) make EXT4 with Mini Tool Partition Wizard

5) Flash this beta

would be happy if you could help me!

Firo
[HD2 Android NAND Development] michie:
You have to install apps2ext script now and then the rom will recognize your ext4 partition
[HD2 Android NAND Development] streetcore:
Search for DPI Changer in the Market or click here: https://market.android.com/details?...sMSwyLDEsImNvbS5pbm5vZHJvaWQuZHBpY2hhbmdlciJd
[HD2 Android NAND Development] gofiro:
can you tell me, where i could find this script?
[HD2 Android NAND Development] fx.dcny:
I maintained the original build.prop at lcd density 240 to download and install netflix, and it works 100%. No problems at all.

The same thing, however, did not work for swype.

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

1. Full Wipe

2. Install Magldr

3. Flash 2.15 radio

4. Flash CWM Recovery with partiton size of at least 200 MB for ICS

5. Create sd-ext partition using Mag+CWM

6. Copy Beta 6 zip file to MicroSD Card using sd card adapter and your pc

7. Copy softkeys res framework to microsd as above

8. Boot up and start cwm

9. Flash zip for ics beta 6

10. flash softkeys res framework

11. Reboot, give it about a minute, and you are done.
[HD2 Android NAND Development] tytung:
Most Android code is licensed under the Apache License Version 2.0.

Only the kernel is GPL'ed.

That's why HTC doesn't need to release the source code of the Sense ROM.
[HD2 Android NAND Development] erick3000:
First of all thank you tytung for your time and effors to develope this so we can enjoy it.

guys i have clk how do i know what size is my partition? or it does it automatically?

or how do i change that?

another question to install it is just flash those 2 clk files throught cwm?

thank u!!!!
[HD2 Android NAND Development] cuzzo94:
ok thanks, but where do you get the documentation where to loearn? i have some experience with c++ (but not with o.s.) . i don't know if it's enought.

:)
[HD2 Android NAND Development] mexicandroid:
You just have to hit the ground running, start somewhere. Me in the long run hope bee talented like Tytung. I just started moving around icons to create a little theme for myself. It's nothing like what Tytung is doing but a baby step but gets you familiar in working 7 zip and where certain apks and files and xml files are located. I like to navigate through the rooms just to see where things are so when certain devs talk about fixing things by replacing something in a rom you can do it yourself. You just work yourself up. Plus XDA is a wonderful community where everybody helps each other. I get help with theme questions from Mexdroidmod and they are from G2 forums lol.
[HD2 Android NAND Development] DannyBiker:
I've asked that many times and the answer was always : by trying and failing and trying again until it works. I gave up on that super secret tutorial "How to become an amazing Android dev and becoming incredibly popular on xda" a while ago. :D
[HD2 Android NAND Development] tytung:
I appreciate your help.

But I spent a lot of time on the ROM development.

So I decide to start earning some money from now on.

That's why I don't use mutliupload website (I don't earn any money from it.), and register three file hosting websites instead.

I know the ads in the webpage and the timer are indeed annoying, but you can help me if you wait about 20 seconds to 1 minute.

The time you wait is definitely shorter than my development time.

Doesn't it?

Thanks. :)
[HD2 Android NAND Development] tytung:
No documentation.

Get the keyword. Search the web to find the related info. See the source code...

Learning by doing.
[HD2 Android NAND Development] smokin901:
Hey Tytung R15 kernel in this build can it be used on any other rom says MIUI

------------------------

Got the answer my bad did not see it
[HD2 Android NAND Development] trex3300:
I dont know if you are aware of these:

http://www.xda-developers.com/android/announcing-the-opening-of-freeyourandroid/

http://freeyourandroid.com/

Hope it helps.
[HD2 Android NAND Development] oroo708:
yeah, google is our friend.use it..

try & error is one of the best way to gain some experience and doing it from something small first.:D:D
[HD2 Android NAND Development] M..N:
Hey I would extremely greatful if someone could provide me a logcat from boot to about five minutes in with ics booted
[HD2 Android NAND Development] tytung:
Thank you.

Added to the first post.
[HD2 Android NAND Development] Elmo108:
I guess it might make sense to start with basic Android app-development. After exploring the system (dalvik etc.) you can cook a rom and eventually do some kernel-stuff.
[HD2 Android NAND Development] trickhd2:
Help with echo

Have flashed most roms from sd and then NAND over the last year or so, but have always stuck to the basics!

Could someone help me with the steps involved for changing the file in the original post.

Thanks
[HD2 Android NAND Development] parker09:
Nice work, downloading now.
[HD2 Android NAND Development] Dr_Grip:
I stand corrected.

But to actually contribute something useful: Another minor issue I noticed is that K-9 mail crashes when trying to send mail. That most likely is app related but I thought I'd mention it anyways, maybe it will help in some way.

Additionally, haptic feedback for the keyboard stays on even when I disable haptic feedback in the settings. That's something that probably falls more into the category of "minor glitch", but worth noting anyways.
[HD2 Android NAND Development] strachg:
just flash it and seems good, call has a little echo but i see theres a fix for that. Well done tytung and thanks.

strachg
[HD2 Android NAND Development] mazzie66:
Wallpaper scrolling doesn't work.....

Otherwise this Rom rocks . Call is ok , WiFi ok , got Root. Use supercharger to speed up things .Very impressed Tytung !!

Mazzie
[HD2 Android NAND Development] SamStone:
Stuck at the HTC boot logo. I did a task 29 wipe, radio, MAGLDR, clk, and now my phone is stuck at the boot logo. Any suggestions?
[HD2 Android NAND Development] hardaysknight:
your partition layout is wrong. It's supposed to be 200mb for /System and 5mb for cache
[HD2 Android NAND Development] FELON1908:
The market works now only the downloads goes very slow.

Usb mass storage fix from Bexton works great!!!

GREAT ROM!!!!!!!
[HD2 Android NAND Development] fx.dcny:
Edit lcd density in phone/system/build.prop using es file explorer (Mount system rw with with root permissions in its settings)
[HD2 Android NAND Development] bobjbain:
Slow performance with Data2SD

OK, so the data2sd works but really slows the ROM down (16Gb class 2, 2Gb sd-ext)

Is this because of dalvik being on the SD card??

If so has anyone experience of Amarulz MOD with Beta6.

or any method of moving dalvik *BACK* into main memory?

Thanks
[HD2 Android NAND Development] erwinpiero:
ICS getting better on HD2, just need more time to perfection realization..
[HD2 Android NAND Development] walts:
I've been fooling around with different LCD Density settings, trying to find the best settings for the softkeys to work well.

I tried using Blade Runner, which worked OK on CM7, but found that every time I used it, the SD2 froze on the lock screen after reboot. I tried clearing the cache, Dalvik cache, Repair Permissions, battery pull - in short, every magical incantation that I konw, but could not get past the lock screen. Finally I re-flashed Beta6.

Next I went back to doing it the old fashioned way - editing build.prop. This time, on reboot, I was able to get past the lock screen but the home screen would not come up. A plain reboot with the reset button fixed that and all is OK.

FWIW I find 217 to work best for me. The softkeys display fine, the display is big enough for may ancient eyes, and the market works fine. the number, 217, is apparantly the "native" density of the screen, according to this writeup:

https://en.wikipedia.org/wiki/List_of_displays_by_pixel_density#HTC

Walt