yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] tytung:
NativeSD Touch Recovery

I have developed a powerful tool called NativeSD Touch Recovery.

If you are NativeSD fans, I think you will love it.

It works for all NativeSD ROM on HD2 while using the correct path /NativeSD/[ROM_NAME]/system.

Moreover, it works for all Android devices that use this wonderful NativeSD technique.

Main features:

Advanced Backup

Advanced Restore

ROM Deletion

Download:

NativeSD_Touch_Recovery_v1.0.zip

How to use it:

Enter CWM-based Recovery.

Flash NativeSD_Touch_Recovery_v1.0.zip

Touch the menu.

Please visit NativeSD Touch Recovery website for more screenshots.
[HD2 Android SD Development] marco.palumbi:
can you please attach the initrd.gz that works for you?

can you please provide the link to the original ROM thread and download?
[HD2 Android SD Development] gtbluesky:
OK！

QISS_ME original initrd & QISS_ME NSD's initrd with your method:View attachment QISS_ME.zip

download link:http://tw.qiss.mobi/download_software.php

This following initrd.gz that I cannot convert them to NSD's initrd.gz with your method,can you help me?

MIUI(GB) original initrd&SENSE3.5 original initrd:View attachment 1455835
[HD2 Android SD Development] o82239:
looks great... could you post some technical information about "how it works"? Like:

- where is the backupfile?

- what is the format of backupfile (tar.gz or .....?)

two ideas:

1) is it possible, that you build a mini-android (like CWM), which automaticaly starts your tool

2) could you integrate a point "install NativeSD from zip"?

thank you for your great work.
[HD2 Android SD Development] marco.palumbi:
could you succesfully convert the MIUI(GB) & SENSE3.5 using the old NativeSD method?

if yes, can please attach the working converted (NativeSD MIUI(GB) & SENSE3.5) initrd.gz?

--
[HD2 Android SD Development] gtbluesky:
MIUI is ok,sense can not.So I need your help.

MIUI' initrd with old method：View attachment initrd.gz
[HD2 Android SD Development] tytung:
Backup folder:

/sdcard/NativeSD/Backup/

Format: tar

Just try it or look at my screenshots carefully. Thank you.

I think the current flashable zip format is convenient enough.

At least, you don't need to waste your time and space to backup the whole sd-ext partition if you install too many NativeSD ROMs.

Instead, you can backup a single NativeSD ROM inside the sd-ext partition.
[HD2 Android SD Development] marco.palumbi:
can please give me the link to full ROM from which you get the initrd.gz ( SENSE3.5 ) ?

I need the kernel image

--
[HD2 Android SD Development] Szczepanik:
NativeSD Touch Recovery

TYTung this is a powerful tool and, as a NativeSD fan, I do love it! By the way, although your post refers to "CWM-based Recovery", it works perfectly for Windows Mobile WM6.5 users who boot 4EXT Recovery from SD using the 4EXT Recovery that Xylograph recommends in his Downloads in the 2nd post.

I have added it to the Wiki that I wrote for HTC HD2/NativeSD

http://xdaforums.com/wiki/HTC_HD2/NativeSD

I am curious as to which other Android devices do use this wonderful NativeSD technique. Can you point to which devices are using it?

Cheers

Tom
[HD2 Android SD Development] Bullet92:
Just one suggestion: Add back/reboot/whatever button on the first screen just in the case if you change your mind and don't want to do anything (backup,restore nor delete). Now you have to pull out the battery to do that.

Thank you for such a great tool.
[HD2 Android SD Development] gtbluesky:
You can download it here.http://115.com/file/aq5i54p0
[HD2 Android SD Development] tytung:
Press hardware menu key and then you can quit AROMA Installer.

It is a hidden feature for any flashable zip file using AROMA Installer. ;)
[HD2 Android SD Development] marco.palumbi:
unfortunately the site speaks only Chinese....

I cant understand how to download from there.
[HD2 Android SD Development] tytung:
Well, I think you can flash this zip file under any Recovery system.

I don't know if there are any other Android devices to use NativeSD technique.

I just point out the potential of the NativeSD Touch Recovery. :)
[HD2 Android SD Development] melando:
A point of feedback on usability - I discovered earlier that 4EXT as posted today wipes the entire sd-ext partition if you try to wipe data/factory reset in recovery, i.e. it wipes everything (system too) and you need to reinstall everything from scratch...

@Clio94 (below) yes, I can see why it does this but maybe it can be improved even if this simply means suggesting better alternatives to users
[HD2 Android SD Development] clio94:
This is normal to happen because now we have only one real partition.

Yes i posted the method i used to boot from clk here http://xdaforums.com/showpost.php?p=31130931&postcount=64

Now i can correct some things.First of all make sure you have a backup of nand installation

1.Make in sdcard a folder Nativesd and put a startup.txt file with the contents below and also copy in your sd the file flash_bootv2.zip from

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

set mtype 2524

set ramaddr 0x11800000

set ramsize 0x1e400000

set initrd_offset 0x00a00000

set KERNEL zImage

set initrd initrd.gz

set cmdline "rel_path=Nativesd"

boot

2.Boot into clk and make a sboot partition.Be aware that only clk from kokotas allows to make a sboot partition directly from device

3.Boot into recovery and install rom by choosing sd-ext method

4.After installation finishes,dont make reboot.Install flash_sbootv2.zip and then make reboot to clk

5.Choose from clk to boot from sboot and wait to boot

If it stucked to boot animation,try to wipe your ext partition and install again.Of course if in nand you have a rom that uses sd-ext partition,after wipe you`ll need to install again the nand rom

Also with the current rom you`ll not have ppp connection and you need to install manually the ppp files

Εdit

I managed to install and boot rom 100% with wm in nand.Very easy procedure.Guys i cant believe what you have done in this phone.It`s 3 years old and still gives reasons to have it.Thank you very much to all devs
[HD2 Android SD Development] geopa:
Give us instructions :):):):beer::beer:

from THE hd2
[HD2 Android SD Development] clio94:
First you need to make a ext4 partition in your sd card.You can do this with mini partition tool manager.At least 1gb but better i think is 2gb

Download rom from second post and put zip file in sdcard

Make a folder in your sdcard and name it Nativesd.Inside this folder copy haret.exe,clrcad.exe and a startup.txt file with rel_path=Nativesd

Then download 4extrecovery from xylograph post http://xdaforums.com/showpost.php?p=31133220&postcount=65

Copy it in your sdcard in a folder recovery and also copy in this folder a haret.exe file and a startup.txt file with rel_path=recovery

Then boot haret.exe from recovery folder and wait recovery to start.If it doesnt start the first time,make reboot and try again.

After it starts it will drop some messages for not mounting "cache" but you can ignore them.Go to install from sd card,pick the AOKP_N2408se_dual_installer.zip file to install.Choose install in sd-ext and wait to install.After the installation finishes,boot to wm and boot clrcad.exe and haret.exe from Nativesd folder
[HD2 Android SD Development] Dhruna:
Xoly, Can I aspect native SD version of PA 1.5b? As JB is still under development and most of us are using your PA1.5b for daily use.

Thanks for your great JOB.
[HD2 Android SD Development] geopa:
@clio 94 we are talking for wm without clk or magldr ?

from THE hd2
[HD2 Android SD Development] clio94:
Yes.without magldr or clk.a new life for hd2 has started thanks to our devs
[HD2 Android SD Development] wis1152:
Removed......

...
[HD2 Android SD Development] seaman2k:
this is one of the greatest thread ever for hd2 ..amazing how it develop every post

@Xylograph @securecrt i woudent think i will say that to anyone after darkstone but really u r the best now ;)

@cileo 94 u did a great job here:good:

about me u make me thinking how we can get one and only one multi boot for all wp7 w6.5 nand and sd ..Woooooooooow:fingers-crossed: if that happen it will be the best boom in whole xda :) i still try to figure how we could do it and i think Xylograph talk about something will help
[HD2 Android SD Development] datagr:
I just wanted to give feedback from my experience:

I have wp7 in NAND.

I have just created an ext4 partition with partition wizard minitool and installed the AOKP rom.

Android is running much faster with this method because NAND is slower than my class 8 sd card!

So now Jelly bean is working PERFECTLY smooth with the NativeSD method!

This is just amazing idea!

Great work Xylograph and securecrt!

You have just put HD2 to the next level!

Thank you for your brilliant idea!
[HD2 Android SD Development] Xylograph:
Thanks for the kind words,

Not sure what you mean with 'only one multi boot for all' , But I've just finalised the installer + special edition of PA which should make it possible to use this method with every OS available ;)

I hope this won't give any confusion when I will upload PA myself..
[HD2 Android SD Development] wis1152:
Sorry Xylo i will remove it:o
[HD2 Android SD Development] seaman2k:
- u deserve more than that ...

about my idea ihope i still thinking well hahhahahahah... can we do more than ex4 and every one of them have it is own os :p which we can boot it from clk directly sure that with the main nand os in this way we can have all os together in one sd ...so what u think in that does i lose my mind:confused:
[HD2 Android SD Development] c1cl0n:
Hi dear master wis1152

Can you teach me HowTo make dual installer for SD/MAGLDR/Native in PM

And HowTo use it... I'm a beginner of NativeSD users

:D
[HD2 Android SD Development] Xylograph:
Nah, you can leave it for download m8.. Maybe it's better if you remove it when I am finally done and uploaded it though..

That said.. maybe you can start porting other cool roms which would be nice to have.. Take a 'non Xylograph ROM' for example :D

Ehm.. maybe give cotulla a call and ask for the release date of Magldr2 ? :laugh:
[HD2 Android SD Development] ivica86:
Can I install Chainfire3D on this rom, can't install some games( NFS Hot Pursuit, Asphalt 6...) and after searching someone wrote that Chainfire3D need's to be installed ... Anyway this rom kick a** :D
[HD2 Android SD Development] aldai2:
I've made a 4GB ext4 partition.

I think there's something missing in your explanation. Everything went as described, , except in the last step, I get the message: "Failed to load file \ Storage Card \ nativesd \ zimage".

Any idea?
[HD2 Android SD Development] datagr:
Did you create an ext4 partition in the windows?

Did you set it to primary?

Try to format/wipe through SDrecovery your sd-ext partition, after you create it in windows(use a partition tool app for that) and try a clean install.

:)
[HD2 Android SD Development] Xylograph:
Update

New stuff @ 2nd post... Please check, download and try !!

I need reports :)
[HD2 Android SD Development] michael-jb:
Finally got it working :victory: however rmnet still doesn't work (im using magldr) ill try ppp next, and wifi still not working. Speed is improved over the old style of sd builds but still not as fast as nand for me, could be do with that i only have a class 4 card. Still it is a very good improvement and i look forward to more builds using this method.

Well done guys and thx for your continued hard work.
[HD2 Android SD Development] gtbluesky:
Do you need the zimage without libs?
[HD2 Android SD Development] marco.palumbi:
yes please attach the zImage.

isn't there a xda thread for that ROM?
[HD2 Android SD Development] HypoTurtle:
Probably one of these 3:

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

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

http://xdaforums.com/showthread.php?t=1326217
[HD2 Android SD Development] marco.palumbi:
ok thank you.

I asked also to attach the zImage that you have for the ROM

(plase alway answer to all questions/requsts I made in order to speed up)
[HD2 Android SD Development] gtbluesky:
I uploaded it.View attachment boot.zip
[HD2 Android SD Development] 4rjan:
i had v1.1 how can i update to 1.2?
[HD2 Android SD Development] marco.palumbi:
the attached initrd.gz is working for me using MAGLDR

it boots and mounts:

/dev/block/mmcblk0p2 on /NativeSD

/NativeSD/Sense3.5/system bind on /system

/NativeSD/Sense3.5/data bind on /data

I used "Sense3.5" for the ROM NativeSD directory.

one question: which loader are you using? MAGLDR CLK or HaRET?

this is 2.6.35.14-marc1706s_desire_0.1.5+ kernel.

I think that it can't be booted from WM/HaRET......

---
[HD2 Android SD Development] Szczepanik:
Resize EXT4 Partition

The answer to your question "What can resize the Ext4" can be found by searching this thread for the word "resize" as I think you discovered.However Xylograph's solution uses Linux.

Tytung's post immediately below yours gives a solution for us mere mortals who cannot get Gparted to work:

1) Backup all of your NativeSD ROMS to FAT32 using Tytung's NativeSD Touch Recovery

2) Use MiniTool Partition Wizard Home Edition 7.6 to

a) Delete 4EXT Partition

b) Extend FAT32 to take up the "free" space

c) Create a new 4EXT partiton with the size you want
​

3) Restore your NativeSD ROMS to EXT4 using Tytung's NativeSD Touch Recovery

Let us know how this works as I will be adding it to my Wiki:

http://xdaforums.com/wiki/HTC_HD2/NativeSD

Cheers

Tom
[HD2 Android SD Development] Robbie P:
Hope this helps
[HD2 Android SD Development] gtbluesky:
I use MAGLDR.My original method is the same with yours but woithout system/bin/sh.

But it(yours&mine) has a serious problem is that phone will reboot when you are installing apps.

In addition,can you attach MIUI(or other GB roms)'s NSD initrd.gz with your method?

I used your method to make it but cannot boot.
[HD2 Android SD Development] fatballj:
Hi, Xylograph

I would like to flash clk with your 4ext recovery. Would you recommend the most suitable clk version which could work best with your recovery? How about the flash method? Flash clk first and then flash 4ext within the touch cwm bundled with clk? Thanks a lot.
[HD2 Android SD Development] o82239:
Hi

@ all WindowsMobile-User: I've updated the NativeSD-Version...

Changelog:

NativSD-V3:

third Release for NativeSD-Methode

new:

- Help-text on the top

- Last booted Version displayed on the top

- Reads file rom_name.txt in the same directory and displays it on the top

- Writes the last booted ROM in the rom_name.txt (like the great datagr-android-tool :) )

- all program-errors are loged in a textfile "winandroid_error.txt"

Download and screenshot, see first post of http://xdaforums.com/showthread.php?p=33174747

Thanks for all feedbacks.

Cheers

Klaus
[HD2 Android SD Development] duhhh:
Can I share app and data between JB & JB , ICS & ICS and JB ( NexusHD2-JellyBean-4.1.2-CM10 V1.2) & ICS ( NexusHD2-ICS-4.0.4-CM9-HWA V2.7 )
[HD2 Android SD Development] Szczepanik:
Datagr thanks v10 looking good except first time I select Switch / Delete / Backup the first screen shows all the ROM names on top of one another - see screen shot.

Appreciate the great job you are doing on this for us.

Cheers

Tom
[HD2 Android SD Development] zain0300:
i do not know if I'm doing anything wrong but I get this error message when trying to backup any rom.
[HD2 Android SD Development] datagr:
Sorry for the bugs.

Please download again version 10 with fixed bugs. :)
[HD2 Android SD Development] omek07:
HELLO datagr

i have a problem .

I delete the CM9ight from my phone and i want to delete and the QSEA_JBbut when i bush the button on this rom i have force close .

The other thing that i want to tell you is that could you please add the install flash able files (.zip) files ???

if i have a .zip file like android camera 4.2 can i flash it through the update kernel or not ??? Can i rename it to update and flash it ???

Thank you
[HD2 Android SD Development] zain0300:
thanks datagr new version 10 is working alright, thanks a bunch
[HD2 Android SD Development] Robbie P:
NativeSD system file installer

This uses aroma to install system files to rom

1. Extract the folder

2. (Optional for other NativeSD ROMs) Edit install.sh using notepad++ by changing

ROM_NAME=NexusHD2-JellyBean

to

ROM_NAME=Whatever-the-folder-in-sdcard/NativeSD-is-named-by-the-rom-you-wish-to-add-system-files-to;)

3. Put your system files into the system folder, remembering to put them into correct folders first (eg .apks go into app folder in system folder, so you need to create that)

4. Re-zip the contents of the installer.zip (Don't zip the folder else you may create a folder within a folder and it won't work)

5. Flash via 4ext recovery.

Should work

If you aren't sure of what you are doing, don't try it. But if you do come unstuck, you can re-flash the original rom .zip.

Edit; You may need to fix permissions after installing, or use a root browser to set the correct permissions for the files you install.

Edit2; Thanks to aroma people, Xylograph, securecrt, tytung etc. I only fiddled around with it a tiny bit.
[HD2 Android SD Development] datagr:
Did you mess with the folders of QSEA_JB?

Did you change anything in nativeSD folder or in sdcard/nativeSD? Can you post a logcat so I can explain you what you are doing wrong?

As for the request it is possible and it is added to todo list? :)
[HD2 Android SD Development] omek07:
Hello again

I havent touch the nativesd folder or any folder.

Can you please tell me how i can export the log please?

Στάλθηκε από το NexusHD2 μου χρησιμοποιώντας Tapatalk 2
[HD2 Android SD Development] datagr:
There are various guides to do that. I am sure you will find one to do this. There is also a tool for get logcat (debug log). ;)
[HD2 Android SD Development] Szczepanik:
Version 10 download again has fixed first screen - thank you very much for this. You may want to give more room for ROM name in the last screen. Any chance you can sort ROM names in alphabetical order please. Thanks again for this great app.

Cheers

Tom
[HD2 Android SD Development] marco.palumbi:
@gtbluesky

I got some time to play with MIUI GB.

It works for me.

here are the tips:

1) always start from a NAND ROM. I used http://xdaforums.com/showpost.php?p=25764570&postcount=1 by Aternus downloaded from myMIUI_v15_b3_zipA.zip

2) I changed some files in myMIUI_v15_b3_zipA.zip to make it install in NativeSD mode

3) I modified initrd.gz with my method.

attached are the changed files.

I used "Pippo" as NativeSD directory.

please download the original myMIUI_v15_b3_zipA.zip and place my files in place of the original ones.

install using CWR. (ignore the low system memory warnig if you get it)

--
[HD2 Android SD Development] gtbluesky:
I have tested original MIUI's initrd.gz with your method,but it cannot be booted.

I compared tytung's newest GB(3.3)'s initrd.gz which also used your method with offical MIUI's initrd.gz.

Can you attach offical MIUI's NSD initrd.gz with your method?THX!

Here is download link:http://bigota.d.miui.com/2.4.13/miui_HD2_2.4.13_ivf708swpn_2.3.zip
[HD2 Android SD Development] marco.palumbi:
Did you test what I say in previous post?

NativeSD rom have already been heavily modified by the rom maker.

You cannot start from there.

---
[HD2 Android SD Development] datagr:
Ok I will give 2 lines of text.

I will add alphabetical order on next release. :)

---------- Post added at 11:05 AM ---------- Previous post was at 10:59 AM ----------

I would like to inform you all that the new kernel R16 by tytung (froyo & Gingerbread) can be flashed normally through the update function of the app.
[HD2 Android SD Development] Dunc001:
@datagr - Is there any way you could employ a check for bootloader as already used in ROM/kernel flashing to do away with the need for a seperate cLK button when changing ROM using the app? I mean add in to the ROM change script a check for bootloader, and if cLK detected then implement the ROM switch and the sboot creation all in one action?
[HD2 Android SD Development] datagr:
I found the bug...

It was in the button1 that had a link in class that didn't exist.(my mistake)

Please download again version 10, it is fixed now. :)

---------- Post added at 06:21 PM ---------- Previous post was at 06:18 PM ----------

Hm...Smart idea! Added to the todo list for next release.

Thank you Dunc! :)
[HD2 Android SD Development] Robbie P:
Would this mean that clk users would not be able to boot into any nativeSD ROMs they may also have?
[HD2 Android SD Development] Dunc001:
Not at all. All I was suggesting was to make the operation to switch ROM a one click operation regardless of whether you are running magldr or clk :

Run a getprop check to ascertain which bootloader is present then

If bootloader == clk then

Switch ROM

Create sboot

Else

Switch ROM

End

Nothing different to what is being done at the moment, just done with one click :D
[HD2 Android SD Development] Robbie P:
Should that be

Select ROM

Is that rom on clk or nativeSD?

If clk....what you said

else switch to nativeSD rom

I might be wrong, don't use clk:o

Edit; Nevermind, I understand what the clk button is/was for.
[HD2 Android SD Development] poyensa:
Love that lang :)

Best regards dunc

sent from my time-machine-HD2 JB-PACman-nativeSD rom
[HD2 Android SD Development] 0719andy:
what's the true speed of sdcard

I have three roms,they have different speed of sdcard ,but which is the true&right data? :confused:

1.MIUI 2.3.7c

View attachment 1472721

2.MIUI 4.0_2.11.9

View attachment 1472722

3.NexusHD2-Gingerbread_V3.3a
[HD2 Android SD Development] marco.palumbi:
@gtbluesky

I gave a look to miui_HD2_2.4.13_ivf708swpn_2.3. In effect it has some problems. What I see is that init provided by the original initrd.gz seems have buggy support for exec. I gave a look to old sources of init from cyanogen git. There are some commits to fix the exec command dated about two years ago.

unfortunately I dont know if the sorces for init from miui are available.

the only workaround that I can figure is to replace the original init binary with init from another GB rom that supports exec like CM7.

---
[HD2 Android SD Development] datagr:
This is the kernel update for Dorimanx kernel 7.3

Put this in sdcard/NativeSD folder and use the app to update kernel.

I have tested this on Hyperdroid nativeSD and it is working perfectly. :)
[HD2 Android SD Development] cieslakpawel1:
Works!!!!!!! Great!! Used MultiBoot ver.10 You're great datagr and your application, too. Thanks!!!:) :)
[HD2 Android SD Development] o82239:
Hi

@ all WindowsMobile-User: I've updated the ... NativeSD-Version of the "Multiple Android Starter" with the new version 4.

Why: Last sunday I've updated my pacman-rom (great thanks to Xylograph) and backuped the old rom with tytungs new tool NativeSD Touch Recovery (also great thanks to tytung). After that, my tool version 3 listed the backup-directory, witch is not a NativeSD-Android.

:(

But now: Native-SD version 4 ignores the backup-directory and the list contains only NativeSD-roms.

:) :)
[HD2 Android SD Development] lawrenceglue:
Thank you and bojanbl

Yes i format the sdcard and just put the flash_sboot-v2.zip and rom.zip in the card with my private files putting backing to it,it all works~
[HD2 Android SD Development] Dac-os:
Hi, please help

If I am using NativeSD do I need to have

system partition set to 170 MB for example this rom

NexusHD2-ICS-4.0.4-CM9-HWA V2.8 [NativeSD]

Thanks
[HD2 Android SD Development] duhhh:
no you need exe4 1 GB min.
[HD2 Android SD Development] Dac-os:
Of course, i have 8gb card and have 1gb ex4 partition, but i was wondering do i

need like before also the system partition?
[HD2 Android SD Development] duhhh:
for NativeSD you don't need system partition
[HD2 Android SD Development] Dac-os:
Hi

When u test the cards or ROMs to see which one is better,

with what app do u backup installed apps.

Because i use Titanium Backup and i think when

restoring all system data and app data it affects the speed.

Thanks
[HD2 Android SD Development] OrsoNerOne:
Hi, i think that is great to decide the destination folder of backup rom