yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] JeremyGuan:
Im in the middle of frustration, i purposely bought myself a Sandisk Ultra Micro SD HC 16GB Class10 (UHS Speed Class 1) to test this NativeSD stuff due to my previous sdcard was only class4.

The rom that ive install does incorporates with NativeSD. No matter how hard i try, i still cant get the speed that everybody has, that is on the same rom as mine. Its laggy and i have no idea why. Even increase the ext-partition to 2gb doesnt helps.

Does anyone can identify my problem? Seriously i need help here...
[HD2 Android SD Development] NYLimited:
Nothing to do with NativeSD, per se.

Using an sd card by any app or OS reduces the life of the card. That is just the way it is.

An sd card should have a life span of roughly 10 years (which doesn't mean it always will). In theory, the more often you write/erase it the faster it will wear.

Having said that one could say that running an OS from the card will create more wear than just copying a small file to it once a month.

But please consider that replacing an sd card is a LOT less expensive than replacing NAND memory. :)

---

Turn on, tune in, drop out... (via Tapatalk)
[HD2 Android SD Development] wilfred888:
I can't find the "recovery" folder anywhere.. where do I find this file?
[HD2 Android SD Development] amateur_no1:
Download, extract to sd and you will find.
[HD2 Android SD Development] Caspertje19:
I'm using the NexusHD ICS nativeSD rom for a few days now.

I ordered a sandisk ultimate class 10 card.

As long as there are no write operations going, the rom is fast, just like nand. But it will lag when android write to SD (dalvik i Suppose?).

Google Chrome is almost useless for me: it's very slow.

Is there any possibility to have the dalvik cache on 1 big internal block? Because we don't need the system partition anymore, you will get antoher 150 mb+ for internal. Or are there any other smart combinations to make?

Just a thought
[HD2 Android SD Development] DarkLG:
Thanks for the great work using both ics and jelly now ! :D Just wish there was a way to incorporate this with wp roms so that we could NativeSD them :/
[HD2 Android SD Development] adell_:
Have you tried with your class 4 card?

---------- Post added at 03:03 PM ---------- Previous post was at 03:02 PM ----------

Have you tried using other class like class 4?
[HD2 Android SD Development] Caspertje19:
Yes I have benchmarked my SD cards in a cardreader and the class 10 Sandisk 8 GB came out best(4K IOPS wite about 250 and read about 650/750). Partitioned it right with 4EXT recovery.

It just feels fast, but after using it for a few days and with 131 apps installed, it will get lag sometimes. It's just for a 5 to 10 seconds moment and after that, it's speed is normal again.

I think it would be a nice idea to have the full internal NAND available for data/dalvik operations.

So the data/data and dalvik are on NAND and all the other partitions are on native SD.

Any thoughts about that?
[HD2 Android SD Development] denseye:
So does this method finally work or not ?

Envoyé depuis mon HTC HD2 avec Tapatalk
[HD2 Android SD Development] adell_:
Is that random read/write? If your class 4 card has better scores for random read/write, you can try to use it to see if it results in better performance.

Regarding NAND, I think the main idea is to use an SD card that is faster than NAND. Also, that might interfere with the ROM on NAND. I think in your case, it is easier to change the card.
[HD2 Android SD Development] c1cl0n:
I tested this steps to change internal ext4 folder name (and NativeSD port name), working perfectly

:D
[HD2 Android SD Development] JeremyGuan:
Does NAND partition (5/190/5 those kind of thing) still require if I want to install to SD-EXT?
[HD2 Android SD Development] adell_:
No.
[HD2 Android SD Development] JeremyGuan:
by all means, I just flash the 4EXTRecoveryNAND.zip (Run DAF without messing with the flash file) and install the whole ROM (with NativeSD) to SD-EXT ?! :laugh:
[HD2 Android SD Development] mperezm77:
Hi,

I want to delete my nand ROM but I was using a script to store data on my sd-ext partition.

Is it safe to remove all the files on the ext4 partition except the NATIVESD folder?

I don't want to mess my nativesd ROM...

thanks!

Enviado desde mi NexusHD2 usando Tapatalk 2
[HD2 Android SD Development] onlinegames:
c1clon,

I'm glad you were able to change the names of the folder and NativeSD port with the mentioned steps.. But, were you able to convert a NAND ROM to NativeSD by following the steps?

denseye - I am unable to convert the NAND ROM to NativeSD with the steps. I suspect the ramdisk modifications to be the culprit but shall wait for the experts to point out the flaw in my steps.
[HD2 Android SD Development] Dhruna:
Does anyone has made Xolygraph's PA1.5b ROM for native SD

OR

Has made initrd.tz ?

Please share it?

Thanks,
[HD2 Android SD Development] c1cl0n:
Tonight will try to port CM7 NIGHTLY Unofficial

... I may be lucky, then I'll publish detailed instructions at my experience

:o
[HD2 Android SD Development] mootmetal:
i boot to recovery (5.0.2.6) and flash the rom to sd ext... but when i try to set ad sd dir to nativesd i cant do it ...i always go back to magldr menu when i select ad sd dir... and i used root explorer to see inside sd ext folder but i found it empty ... any idea?
[HD2 Android SD Development] nonomeds:
hi Securecrt , i have a question please. is the nativesd methode compatible with an INT2SD script on nand. I explain my situation i have PA v2.13b on nand and hyperdroid 6.01 native sd rom on sd ext (ext4 of course) , i wonder if i install an app from the nand rom with int2sd script, will it mess with hyperdroid rom? or the two things or separate? and if i install an app from hyperdroid will it appear in the nand rom?

I hope i was clear and thanks for the answer.

HTC leo 512 mo

Clk 1.5.1.1

CWM 5.2.0.6 touch b8

Nand rom: PA v2.13b

Native sd rom: hyperdroid CM7 6.0.1 sandy scorpion
[HD2 Android SD Development] gujiangjiang:
这个真是太厉害了!!!支持!!!!

it's so good!!!!!!!:good::good::good::good::good:
[HD2 Android SD Development] sugi6666:
Bought a new microSD card, but it doesn't seem to improve the System (Speed was already OK).

I can write with ~18 mb/s and read ~ 24 mb/s on PC on my Phone only 5/10 r/w.

Gonna keep NativeSD anyway to prevent bad blacks.

Rom is tytung's NexusHD2-ICS-CM9-HWA_V2.7
[HD2 Android SD Development] c1cl0n:
Deleted
[HD2 Android SD Development] denseye:
Great :)

Can you share your step-by-step method ? :D
[HD2 Android SD Development] c1cl0n:
Of course, but I don't know where post this guide

:D
[HD2 Android SD Development] adityameena26:
you can share it here..in this Native sd discussion..coz its all about nativesd..:)

please share it here as I am also working on a rom to make it compatible for nativesd..but got stuck on kernel bootscreen..dont know what is wrong..:(

please share it here..:)
[HD2 Android SD Development] c1cl0n:
Please, do not push my thanks button in post #922

All credits for this to SecureCRT, Xylo, Tytung, of course my masters wis1152 and Robbie P, my RC nominazer Szczepanik and all@xda-developers who I missed

:o
[HD2 Android SD Development] datagr:
Are you trying to port a sense rom?

If yes then I think it is not possible.
[HD2 Android SD Development] adityameena26:
naah..I m on miui..:)
[HD2 Android SD Development] AKRRKA:
1) Installed to SD (EXT4) rom NexusHD2-ICS-4.0.4-CM9-HWA V2.7 (NativSD);

2) Now tytung update kernel HTCLEO-Kernel_2.6.32-ics_tytung_HWA_r3.5-update.zip.

Question:

How now update the kernel in NativSD ROM?

Please step by step manual.

Thanks.
[HD2 Android SD Development] datagr:
Did you modify the initrd.gz with notepad++ (or linux if you have)?

Did you modify install.sh with notepad++ (or linux if you have)?

Did you modify updater-script with notepad++ (or linux if you have)?
[HD2 Android SD Development] adityameena26:
yeahh..used install.sh from first page..that is same in all native sd roms..

replaced aroma folder(in which everything is included..updater script and all) from one of the other native sd miui rom..but it is of jellybean..mine is basically gingerbread..but I dont think that would create any difference..because my modified rom installed successfully..but after boot starting..from kernel bootscreen..it is taklng restarts..:(

in initrd.gz..I replaced init file from jellybean native sd ported rom..replaced init.rc file and htcleo.rc file..and deleted a2sd scripts from system/etc/init.d folder..:(
[HD2 Android SD Development] datagr:
You have to edit the initrd.gz file from the new kernel.

Read more info on 2nd post of securecrt on how to do that.

Then put zimage + modified initrd.gz in the sdcard/nativeSD folder(also in the folder sdcard/nativeSD/NexusHD2). :)

---------- Post added at 06:11 PM ---------- Previous post was at 06:05 PM ----------

Those are not in the instructions that securecrt gave.I think this is the problem.

Also you can't use a modified from another rom .sh or aroma folder because those ones are exclusive rom (There are strings and maybe parameters that you should edit).

You will have to modify the existing files with notepad++ or in linux with the correct parameters.

DO NOT modify them with normal notepad or wordpad!!! :)
[HD2 Android SD Development] onlinegames:
Hi Datagr,

white-energy mentions porting of a Sense ROM here (http://xdaforums.com/showpost.php?p=31418514&postcount=470) but he hasn't yet shared the diff files despite couple of reminders.. :p
[HD2 Android SD Development] NYLimited:
The new kernel does not include / have the initrd.gz file. :cool:
[HD2 Android SD Development] bojanbl:
@datagr:

Your app works great but have one question... How to setup/select NAND rom? Actually, is it needed? I mean, when I start this app in NAND it asks me to select currently running rom, and I don't know how to do this when it is not in list :confused:
[HD2 Android SD Development] adityameena26:
yes..I am using notepad++..and dsixda kitchen..

install.sh is same for every native sd rom..and aroma folder and updater script is only responsible for rom installation..my rom is installed successfully that means there is no problem in aroma and updater script..I think problem is with initrd.gz file..by dsixda kitchen we can see contents of this initrd.gz file..

init

init.htcleo.rc

init.htcleo.usb.rc

init.rc

logo.rle

uneventd.htcleo.rc

uneventd.rc

files are there in initrd.gz..

most probably..changes in (init, init.htcleo.rc, init.rc) should be made for nativesd compatibility..securecrt said that init change is necessary for nativesd..i changed init as shown on first page and changed init.rc in such a way that it doesnt mount the partition same as nand on boot time..dont know what is going wrong..any member/developer who ported rom to native sd can help me out..please..help..:(
[HD2 Android SD Development] Robbie P:
install.sh must also be edited by changing rom_name for each rom

Edit; use Xylograph's initrd.gz from relevent ROM type eg GB,ICS and just edit the init file changing rom_name again
[HD2 Android SD Development] iandy1:
Hi datagr.

First, thanks for your very useful app. Those are really bad news.

Been hoping for a Sense port to NativeSD since read this post by Xylograph(#796)

Had been browsing the NAND Sense threads, most of them have several requests for NativeSD ports, but for now OP's look more interested on the ph03n!x method.

There is an unconfirmed claim of a NativeSD port on Daekin's Sense of Eclipse thread by user White-Energy, but he had not responded to requests or posted anything else on the thread after that.

Sense can be ported to regular SD builds, off course accepting some lag that can be partially reduced with overclocking.

Please, can you discuss a little on the reasons/issues for a NativeSD Sense port not being possible?

Thanks.
[HD2 Android SD Development] adityameena26:
no luck..:(

still..rebooting again and again after kernel bootscreen..:(
[HD2 Android SD Development] c1cl0n:
@adityameena26

I'm now writing STEP-BY-STEP guide "Howto port NAND to NativeSD"

Please wait some times, I hope to have time to write for 1-2 hours

:D
[HD2 Android SD Development] Xylograph:
Just a small tip for debugging NativeSD roms:

If the splash screen loads followed by a black screen and reboot there is most likely something wrong in the ramdisk..

If the splash screen loads and stays on the white htc screen forever there is most likely something wrong in the updater-script..

Make sure the name in the init script is exactly the same as in the install.sh script..

It is case sensitive !!

Like robbie suggested.. try booting the rom first using the already made NativeSD ramdisks with only the rom name changed in the ramdisks init script and install.sh script.. It should at least boot that way.. if there is really important stuff missing from the ramdisk you can always add that later..
[HD2 Android SD Development] adityameena26:
thanks buddy..thank you so much..we all are waiting..:)
[HD2 Android SD Development] seaman2k:
Thx. I need to know one thing how i pack intird.gz after edit it on ubunto :)
[HD2 Android SD Development] c1cl0n:
How I can reserv next 2-3 single posts?

... my guide is very begger because it is step-by-step with comments

:confused:
[HD2 Android SD Development] bojanbl:
Create new thread and post link here ;)
[HD2 Android SD Development] adityameena26:
after using other gingerbread native sd ramdisks..the screen stucks on kernel bootscreen(white htc screen)..and doesnt reboot..

can i take updater script directly from other native sd rom..??
[HD2 Android SD Development] Xylograph:
You should copy the whole 'symlink' and 'permission' section from the original updater-script into the NativeSD Rom updater-script..
[HD2 Android SD Development] c1cl0n:
HOWTO port NAND ROM to NATIVESD | STEP-BY-STEP

Done!

:o
[HD2 Android SD Development] datagr:
find ./ | cpio -H newc -o > /tmp/new-initrd.cpio

to create cpio and then

gzip < new-initrd.cpio > initrd.gz

to create the initrd.gz :)

---------- Post added at 10:23 PM ---------- Previous post was at 10:17 PM ----------

I don't believe that he actually ported this rom following the guide of securecrt because I have done exactly those steps and I ended up in bootloops. :)

Maybe he just said that little lie to create rumors for the subject... :P

I would really like to see the performance of sense 3.5 with the nativeSD method.

But I think this is not possible. :(

---------- Post added at 10:26 PM ---------- Previous post was at 10:23 PM ----------

The nativeSDmultiboot app is reading inside the sdcard.

It doesn't work with NAND roms.

To switch to a NAND rom you have to use Magldr option. :)
[HD2 Android SD Development] seaman2k:
thx to u & c1cl0n i manged now to convert my first nand rom to sdnative my love slim rom ics cm9 rc1 yesssss
[HD2 Android SD Development] datagr:
I am glad I helped!

I remember you from mwakious rom.

Could you talk to him converting his sense 3.5 rom to nativeSD? :)
[HD2 Android SD Development] bojanbl:
OK just wanted to be sure because app keeps asking me to select currently running ROM ;)
[HD2 Android SD Development] wis1152:
The biggest problem with sense ROMs from nand thread, is that most of them if not all are using marcs .35 kernel which will not boot from SD card:o
[HD2 Android SD Development] waldinio:
hi,

I would like to know if it is possible to install this combination

1. CLK 1.4.0.1

2. 4EXT Recovery 2.2.7

3. Dual_Installer_v2

4. WM 6.5 in NAND

5. NexusHD2-ICS-CM9-HWA_V2.7_NativeSD on the SD card on ext4 partition

and how to do it?
[HD2 Android SD Development] poyensa:
I would say CLK is not needed. Look at this guide: http://xdaforums.com/showpost.php?p=31247051&postcount=3463
[HD2 Android SD Development] JeremyGuan:
Did anyone tried this NativeSD on any Jellybean ROM? for mine perhaps JB was not as 100% stable as ICS. That would be the culprit on why the ROM was laggy after install ROM to SD-EXT.. :(
[HD2 Android SD Development] famewolf:
I have a paranoid android google apps package I normally flash to whatever rom I'm using because their version allows you to run whatever dpi you want but still reports 240 to google....what modifications would be required to install this to a nativesd rom?
[HD2 Android SD Development] Szczepanik:
Learning Never Ends team Jellybean ROM

The Learning Never Ends team has:

Native SD beta 3

http://d-h.st/eZD

Cheers

Tom
[HD2 Android SD Development] pakure:
You have not tried xylos aokp jb2 ??...if your rom is not smooth...then try slow format your sd on PC or use another sd card...
[HD2 Android SD Development] Xylograph:
Thanks for this :) nice work !

Something for securecrt to include in his post on the first page.. ;)

For users who don't want to install (virtual-machine) ubuntu to get things done there is always cygwin/dsixda kitchen..

Phoen!x also made a great guide for his Native Mount DataOnEXT which could also be used as a guideline for changing the ramdisk stuff regarding NativeSD..
[HD2 Android SD Development] boxmax:
Kernel marc need custom initrd.gz for Work Magldr/SD

& not work never for haret.exe/SD

Currently i working on a modified initrd.gz "for sense build" to comply with SD Native
[HD2 Android SD Development] wis1152:
Thanks buddy nice to see you back;)
[HD2 Android SD Development] datagr:
I am definitely going to try your sense rom! This is great news! :)
[HD2 Android SD Development] Spaqin:
Hey,

for a clean install do I have to format entire ext partition using a PC or can I do that with some other method?
[HD2 Android SD Development] melando:
Best to format partition with 4EXT recovery as that seems to be needed anyway.

I you just want to "clean install" one particular ROM you can switch to another ROM and then delete the old one with the MultiBoot apk - this should leave everything else on ext4 in place
[HD2 Android SD Development] banzatto:
Shared /data

In multiboot the folders are /pa/system and /pa/data, etc, etc

There are share the same partition ext4

But how do i share the /data in multiboot ? this is it possible ?
[HD2 Android SD Development] datagr:
Shared data function is not supported yet. :)
[HD2 Android SD Development] securecrt:
/data is almost impossible to share but /data/data is possible.

it is very hard to implement.

the different ROM will use different app_id for the same app on the sdcard after first boot up, so before doing the ROM switch we should keep the app_id in somewhere and next time after the ROM be switched back we should restore the app_id . otherwise the permission issue will happen you will get FC at each app after you use the same data for the different ROMs.
[HD2 Android SD Development] Gastozz:
I can't flash NativeSD roms anymore,installation always stuck at 0% and after 2 minutes says me reboot phone.
[HD2 Android SD Development] mstdzw:
How to clean dalvik in nativeSD rom, and fix permission?
[HD2 Android SD Development] securecrt:
@datagr

Maybe we need to add this feature to NativeSDMultiBoot app.
[HD2 Android SD Development] boxmax:
@ securecrt

suggestion : setting Speed card "2048" Best of "8192"

"8192" not stable & more error in write ...
[HD2 Android SD Development] LinChina:
How many ROM you installed already and how big is your EXT4 partition??

Did you try to re-install an existing ROM??

Cheers.....LinChina
[HD2 Android SD Development] c1cl0n:
Hi all developers

I'm have again one success an port from NAND to Native, now it is CM7 NIGHTLY Unofficial

:o

It is working mans, I'm happy like kid

:D
[HD2 Android SD Development] securecrt:
I use 3072 for my sdcard

8192 is set by Xylograph :D maybe his sdcard works great at that number.
[HD2 Android SD Development] securecrt:
thanks!

It is good to see more roms can be ported to NativeSD.
[HD2 Android SD Development] c1cl0n:
It is not finish dear securecrt...

...less than 20 minutes ago, I successfully ported TyphooN CyanogenMod 7.2.0.1 v3.8.8

:D
[HD2 Android SD Development] Gastozz:
Yes I did,I have 1gb ex4.
[HD2 Android SD Development] wis1152:
Someone ask me if I could port that to native SD, I did her permission to post that from tyween:) Drop him a PM
[HD2 Android SD Development] mperezm77:
How can we change that?

And what is the recommended value for a 16Gb sandisk ultra class 10?

Thanks!

Enviado desde mi NexusHD2 usando Tapatalk 2
[HD2 Android SD Development] Robbie P:
That would be yet another job for Xylograph I'm afraid:o
[HD2 Android SD Development] melando:
instructions in post 3?
[HD2 Android SD Development] Xylograph:
I will make the majority of my ROMS compatible with NativeSD eventually, but I won't 'port' other devs ROMS..

That's up to them or a porting team..

PA is already done...however, the PPP is not finished yet and I hope to work further on the dual installation method tonight ;)
[HD2 Android SD Development] melando:
Amazing - cannot wait to try it

Where can we find it? (@wis1152?)
[HD2 Android SD Development] wis1152:
I have just put JBParanoid_leo_beta_v1.992_dual_installer together it all seens to working fine:fingers-crossed: Thanks Xylo and securecrt:)
[HD2 Android SD Development] Xylograph:
It's obvious which sentence you did read and which you didn't...
[HD2 Android SD Development] wis1152:
Xylograph has not released it yet,i have put this together for my testing:)
[HD2 Android SD Development] melando:
Read it all of course, many thanks for all your work - a huge step forward I think
[HD2 Android SD Development] Xylograph:
Wis & Robbie,

Feel free to release stuff, but there will still be a lot of changes coming..

maybe I need your help later for some testing, since I have zero experience with haret booting and have no windows mobile on nand..

I suppose it just 'executes' the kernel and ramdisk ?

In that case it should be enough to get things going for Windows Mobile and other OS users.. I will PM you when I have something to test if that's ok..

I also ported TWRP recovery for you SD users (for the folks with broken keys) , but haven't tested installing a NativeSD rom with it yet...

Besides that I am also trying to port the latest 4EXT touch recovery to our device, but that will have to wait since I want to make NativeSD usable for all users no matter what main OS is on nand first !

That said.. first things first so don't expect a 'new/different/more' NativeSD roms from me very soon ;)

Maybe securecrt is kind enough to post his NexusHD2 ICS NativeSD 'port' for you guys to experiment with ?
[HD2 Android SD Development] melando:
Is data working?

I am running AOKP build off the first page with MAGLDR (WP7 in NAND) and I cannot get data (phone shows a signal and "H" but will not connect or turn on WiFi properly)... any ideas?
[HD2 Android SD Development] Robbie P:
Still trying to dual boot wp7 and nativesd ROM from the same sd card.

8Gb card is partitioned as mentioned before

First 2Gb FAT32 (32kb clusters, primary)

Second 1.39Gb EXT4 (primary)

last 4Gb WP7 (shows as unformatted,primary)

But nativeSD rom hangs on bootanim.

I have attached logcat

@Xylo for haret, i think you are right. Will check it next.
[HD2 Android SD Development] melando:
Odd - worked fine for me following Xylo's instructions and after flashing ROM with his recovery EXCEPT (see previous post) I had no data over phone or wifi...
[HD2 Android SD Development] Robbie P:
What is your partition setup?
[HD2 Android SD Development] Dhruna:
Can we say that all nand ROM developed by Xolygraph can be used with NativeSD ?

OR

We need to build a seperate ROM for NativeSD to flash in SD-EXT?

I am just confirming.
[HD2 Android SD Development] Xylograph:
No,

All future roms which I'll release will have the NativeSD (dual) installation included so every HD2 user can flash it and no extra porting is needed..

All current roms will need to be modified to use NativeSD method and I will do that for the majority of my ROMS..

when we have finished, finalised and optimised this method !!
[HD2 Android SD Development] Dhruna:
Thank you Xylograph your response, Now I got it.

Actually I am using your PA v1.5b(nand) and wanted to try it first, that's why asked.

Thanks.