yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] ictimai:
Yes, indeed there is file "recovery_leo.img" in the 4EXTRecoveryNAND.zip and know where to place it in one of HD2 toolkit's folders. However never ve'known anything about fastboot or something so far...

So, what about the issues from the clio94's preceeding post of clk 1.5.0.7 not booting 4EXT-NAND and about charging closed phone?

---------- Post added at 12:40 AM ---------- Previous post was at 12:37 AM ----------

Are these issues confirmed? If so then replacing CWM with 4EXTRecoveryNAND doesn't seem any good idea...
[HD2 Android SD Development] clio94:
charging issue 100% confirmed.tested many times. also see here http://xdaforums.com/showthread.php?p=21810246&highlight=charging+binaries#post21810246 post 881 and 882

does anyone know if the 4ext touch recovery that Dunc001 says if it is out for use?

For clk 1.5.0.7 maybe i did any mistake.I`ll wait the new version from kokotas http://xdaforums.com/showthread.php?t=1114053&page=117 and i will check it again
[HD2 Android SD Development] melando:
This is a good idea to make it easy to use

Suggestion: Can we further improve this by including Recovery and Touch within NativeSD directory as well i.e. we can simply add a widget to boot into recovery? we could perhaps for example have dummy install zips eg "set boot to PA.zip" which then allow users to choose a ROM to boot before leaving recovery (maybe not even needed after an installation)...

You and Xylo can without doubt think of ways to improve this, if it works in principle...
[HD2 Android SD Development] HypoTurtle:
Haven't got round to using the SD version of recovery yet (I'll admit I thought that CWM/Recovery running for non NAND build was a myth although I recall detailing how it would work to someone a few months ago), I'll give it a try now, shouldn't be a problem.

Was looking earlier to making an app to switch ROMs, it should be easy enough to do but the coding is way over my head at the moment and couldn't find anything that could be easily adapted. Anyway it probably would be beneficial to at least add the script(s); at least a recovery one; to the power menu thus having the reboot => recovery option actually rebooting to recovery. Although after using recovery you'd still need to change what gets booted

On other notes, people have posted of not having GNow in AOKP, it is working for me but not in PA and selecting the search widget results in 'Unfortunately, Search has stopped.' but the widget is still placeable but non functional. Felt it worth mentioning here as this may be a sign of some data corruption occuring, also had the xda app dissapearing (don't recall uninstalling it and still had a shortcut) GNow isn't in gapps package, just need to install Google Search from market

Edit - installing AOKP via touch recovery (from #2) on top of working build seems to have broke it (either not booting, wifi or su/script issue); reflashing in other recoveries has allowed it to boot but wifi/scripts not working. This seems to echo some post earlier, at least in regard to there being no superuser. So i'd advise against using the touch recovery from #2, (was using old install zip) can the touch CWM be ported to SD? I believe CWM is closed source (correct?) so may prove difficult to adapt? it's been done and Xylo's added it (untested) to his recovery folder.

Also some of the system apps seem to be picked up as from an unknown source, thus the option to install unknowns needs to be enabled in settings, is this an issue/likely to cause any issues?

Finally a request any chance of a modified install zip that just removes any files in NativeSD (I think it currently does this) and copies in the initrd and zImage? It probably would've saved me from the issue above and would be useful if we use a script to boot to recovery to have a way back to a running ROM quickly without a computer. (Edit just seen melando saying the same in his post (must've skipped past the second half on first reading; apologies) It probably wouldn't be needed after an install but I had issues with the device not booting after reinstalling and had to recopy over the files, so it would be useful to have)

Have attached my scripts anyway, just put the Recovery and Touch folders in NativeSD
[HD2 Android SD Development] ayysir:
now would this kind of script work only for hd2 or other devices?
[HD2 Android SD Development] ayysir:
how do i run your scripts?
[HD2 Android SD Development] securecrt:
I will hep to make cm7 cm9 rom works for NativeSD
[HD2 Android SD Development] Xylograph:
[ICS] CM9ight featuring NativeSD is out now...

EDIT: Forgot to mention that the NativeSD ramdisk is based on the one from Tytung CM9.. I thought that would probably be the most compatible ICS ramdisk for other ICS roms..
[HD2 Android SD Development] gtbluesky:
Great!

securecrt ,can you supply us with the method of porting nand's initrd.gz to NativeSD's initrd.gz?
[HD2 Android SD Development] melando:
@Hypoturtle (won't copy thread!): this looks good... Thanks for your suggestion

I have no problems with installing multiple ROMs using Recovery on SD, maybe you need to try it...

@Xylo can we mod an update zip so it simply installs the files needed to boot PA or AOKP from NativeSD without affecting underlying system and data?
[HD2 Android SD Development] Xylograph:
I will update the SD recoverie package in 2nd post later and remove the touch recovery if it's giving problems... I recommended using 4EXT recovery enough times now I think..

Since there was a user who had broken keys it was the only reason for me to port the touch recovery..

I didn't test flashing a NativeSD ROM with it yet, but I believe you if it doesn't work well..

Can you give me a link to the other touch recovery you are talking about that does work well so I can port it to SD (assuming it's for the HD2?)

If the other device has a bootloader capable of booting from SD, yes...

If not.. it would still be possible, but you will have to use the Nand Boot Partition to archieve this kind of functionality..

You could do that, but it will get dirty...

It will only work if you don't change the ROMS name..

Better to modify the ROMS name in the ramdisk (init script) and installer so it gets a unique folder name on sd-ext..
[HD2 Android SD Development] mr-evil1:
Thank you man ! You are the best! I will give it a try! :good:

Edit ! It run very very very fast with my EvoHd2! I am so Happy
[HD2 Android SD Development] makuu:
I did the same like you, but if I do so my WP7 in nand doesn't recognize my WP7 partition.

It's like either WP7 in nand recognize my WP7 partition but then recovery doesn't recognize SD-ext

or recovery recognize SD-ext but than WP7 doesn't recognize the WP7 partition.

I cannot have both system OK with the same MicroSD card, it means I cannot do dual boot, I can only keep using the two OS using 2 different cards.

So if you are successfull with a real dual boot with WP7 and NativeSD, could you develop your method to properly partition the card to do so?
[HD2 Android SD Development] melando:
Apologies if this was unclear from the thread

We were looking for a way to choose which ROM to boot from within recovery (for example after doing backup but no install) if we put Recovery folder into NativeSD to use a HypoTurtle script to switch to boot Recovery...

I.e. after copying Recovery boot stuff into NativeSD how to copy in the files from PA or AOKP before rebooting?

obviously refinement welcomed...
[HD2 Android SD Development] g.andy:
Hello

2 questions

1 - Please tell me how to create the partition sboot with clk 1.5 by kokotas,

2 - how do you choose from clk boot from sboot

Thanks

Inviato dal mio HTC HD2 con Tapatalk 2
[HD2 Android SD Development] melando:
Like Robbie P WP7 is dual booting fine here using a single card, I already posted what I did in this thread

Did you set all partitions to primary?
[HD2 Android SD Development] HypoTurtle:
unzip to the sdcard, download gscript, add script, load file, select switch to AOKP/PA (ignore the others for now), save, go to widgets => gscript => add widget => select script

This is what I'm running on NAND

I thought I'd at least try the Touch recovery if I was going to post a script to boot it, currently still no wifi and no su, I'm thinking either system / dalvik isn't getting wiped or a permissions issue, but reflasing doesn't help

You can scratch all that, was using the original AOKP install,I'd leave touch recovery attached and only remove if someone else (who needs it) reports an issue. Was sure I'd copied the new one earlier, but anyway it running fine now.

Have attached my scripts again now with switch to cm9ight
[HD2 Android SD Development] warriorvibhu:
Opens up great possibilities for SD android .. and speed hell yeah huge difference .. completely Noticeable .. Easy to do.. any help required .. will be happy to contribute..
[HD2 Android SD Development] Xylograph:
Thanks,

Ported it to SD and can be found in the Recovery folder.. untested with flashing ROMS and unsupported, but at least it boots ;)
[HD2 Android SD Development] fantasyjqc:
I have fat32/ext4 first/ext4 second partition on the sd card.If I want the NativeSD rom use the ext4 second and the Nand AD with a2sd use the ext4 first.What can I do?Now if I flash the NativeSD rom it will case the ext4 first partition.
[HD2 Android SD Development] Xylograph:
Everything in the ramdisk and the installer will have to be changed from /dev/block/mmcblk0p2 to /dev/block/mmcblk0p3.

We choose not to do that, because some users will have a swap partition there..

It could perhaps also mess with WP7 partition setups.

Anyway, to many downsides for the users that way..
[HD2 Android SD Development] timmymarsh:
Polite Reminder - Please keep ON TOPIC

Hi Guys,

As Xylo as already stated, please keep the conversations in this thread on topic (Native SD related discussion only), all other chit chat

will be deleted

.

I will clean this thread up a little later on when i have some free time.

Thanks :cool:
[HD2 Android SD Development] clio94:
You dont need 2 sd-ext partitions.The Nativesd method creates a folder for each rom and every rom has files,only in this folder.So the same ext-partition can be used for both nand and nativesd installation
[HD2 Android SD Development] makuu:
OK, since I have problem to keep dual booting with WP7. Do you mean that I only need to modify the install.sh file so it install the rom in SD-ext2 instread of SD-ext?

(I'm not able to have WP7 partition coexisting with SD-ext, but only with SD-ext2)
[HD2 Android SD Development] onlinegames:
Hi,

An observation using NativeSD CM9ight ROM:

- Selecting "Security" in settings causes a crash due to which I am unable to restore apps using Titanium Backup.

I did not face this problem when I was trying the SD port of the CM9ight NAND ROM, so I am not sure if it's due to the ROM or running it in the NativeSD mode.
[HD2 Android SD Development] fantasyjqc:
I think you can do like this,when we flash the rom,Let us provide a select partition interface,Based on its we can select the ext4 first or ext4 second or ext4 three...Is this feasible?

---------- Post added at 03:45 PM ---------- Previous post was at 03:19 PM ----------

The EXT4 partition can not be a logical partition?I found revocery not recognize the logical partition EXT4.
[HD2 Android SD Development] Xylograph:
Again this is ROM releated and is already reported in the specific ROM thread..

I am looking into it and will try to fix it asap..

Read the first 3 posts and you would have known that all partitions need to be primary..

Also giving regular users a choise to install on sd-ext or sd-ext2 would only cause more confusion and reports of stuff not working.. no go..

Instead of changing everything we've made.. why don't you search this thread for a 'how to', since it's been reported to work fine with WP7..
[HD2 Android SD Development] white-energy:
Can anyone have me this initrd converted, thank you..

I'm having trouble configuring it, it's sense based.

I tried changing the init and init.android.. but rom still stucks at booting.
[HD2 Android SD Development] abima80:
Is it possible to run winmo 6.5 from this method?
[HD2 Android SD Development] Spaqin:
You mean install WinMo on SD-EXT? No, it's not possible. WM and WP can work only on NAND. This method is for Android only. But you can have WM on NAND and Android on SD-EXT.
[HD2 Android SD Development] Xylograph:
Well.. If anyone could help to create an app which scans the NativeSD folder, gives the user a list of the folders inside with an option to choose one.. the app copies the content to the root of the NativeSD folder and ask/do a reboot.. or something like that..

That would be great :)

Something like this only less advanced ;)
[HD2 Android SD Development] clio94:
How can we delete a rom that we dont want anymore,without wiping the whole partition? For now in order to make a clean install from cm9ight v1.1 to cm9ight v1.1a i went to terminal while i was in aokp rom and i deleted cm9ight contents from terminal by giving commands

su

cd /NativeSD/CM9ight

rm -r *

is there any other way to do this?
[HD2 Android SD Development] ictimai:
I try hardly but nothing is working :(

I already have PA on NativeSD set up Clio's way and the ROM works correctly but slowly. This slowness seems caused by SD's data rate so I suspect the alignment would help. That's why I needed EXT4 got running to align partitons and Ext4 filesystem...

As I've said I tried the method like to copy everything from /NativeSD/Touch/* to /NativeSD/ and then to reboot into cLK=>sBOOT

but after this still PA is booting to my amazement!

BTW, someone here mentioned about tBOOT - so couldn't we set there EXT4-SD boot?

It would be great idea because EXT4-NAND dosen't work well with cLK so far (keeping in mind charging closed phone is a must if someone needs a system for regular use)
[HD2 Android SD Development] zkun:
i'm successful dual boot with WP7.

at first,i flash wp7 ,then create the ext-partition,the ext4 partition is mmcblk0p3,

but at the second time , i did almost like before(except the sequence of creating fat and ext partition),the partition become mmcblk0p2
[HD2 Android SD Development] Xylograph:
We'll have to think of a easy way to do this..

For now I do it this way.

Go into recovery> mount ext> delete rom folder via QtADB.

That reminds me.. isn't there some kind of file explorer that you can boot before the rom is booted..

Will have to look into that..

Edit: btw you can just update CM9ight
[HD2 Android SD Development] ayysir:
Aroma filemanager
[HD2 Android SD Development] ad2003:
Aroma http://www.xda-developers.com/android/manage-your-files-from-recovery-with-aroma-file-manager/
[HD2 Android SD Development] clio94:
Ι tried aroma but it seems it doesnt able to handle the deleting of too many files.From terminal i deleted the files in some seconds and now aroma is stucked for 3 minutes in a message "preparing to delete" deleting 712 files (15.6) com.google.android.youtube_preferences.xml
[HD2 Android SD Development] ictimai:
HOW can I "set SD Boot to the Recovery folder" on the phone with cLK?

Still can not boot 4EXTRecoverySD from cLK and don't know how... :(

please HELP!
[HD2 Android SD Development] makuu:
Yes all partition are in primary

I did it first of course, but it was difficult to really understand if it was really reported working or not. However, I now understand my issue. The order of the partition is important, and in my case the WP7 partition was the second one, EXT4 the third one. That's why I could not create a SD-EXT partition but a SD-EXT2 only has the WP7 was taking the place of the SD-EXT. EXT4 must be the second one after the fat32 one. I'm posting my feedback it could help other being stuck by a similar issue.
[HD2 Android SD Development] g.andy:
+1

Inviato dal mio HTC HD2 con Tapatalk 2

---------- Post added at 07:47 PM ---------- Previous post was at 07:46 PM ----------

up

Inviato dal mio HTC HD2 con Tapatalk 2
[HD2 Android SD Development] clio94:
@g,andy

Start clk go to settings and you will see the option add sboot.After adding sboot,you will see the option add tboot.

also see here http://xdaforums.com/showpost.php?p=31256707&postcount=967

@ictimai

For clk 4ext recovery without losing the original one try this

Before you make the steps below,i assume that you allready flashed sboot partition

1.Make a tboot partition and resize it to 6mb

2.Put in sdcard the folder recovery that xylograph uploaded

3.Download flash_tboot v2 from bonjabl post http://xdaforums.com/showpost.php?p=31256707&postcount=967

4.Take startup.txt from NativeSD folder and put it in recovery folder.Change the rel_path= from NativeSD to recovery

5.Flash the file flash_tboot v2 and try if 4ext will start from tboot partition

or you can flash it via fastboot

But be aware that 4ext recovery is 5,47mb so it needs 6mb tboot partition
[HD2 Android SD Development] ictimai:
What is fastboot?

I've just tried to flash 4EXTrecoveryNAND with HD2toolkit but it failed. :(

I did it exactly as with touch version of CWM i.e.:

1.) renamed the file recovery-leo.img into recovery-raw.img and moved to the folder C:/Program Files (x86)/HD2Toolkit/Data/Ref

2.) in HD2toolkit clicked option "cLK install recovery" and clicked the button "Install"

3.) hit the PC keyboard several times as required thus restarting the phone and the flashing process started BUT it failed! The error message was about missing space on the phone's partiton (I can't quote now)

Then tried to repeat the same but first did "cLK Repartition". This didn't helped.

What's wrong?

---------- Post added at 08:47 PM ---------- Previous post was at 08:42 PM ----------

This your post in turn is nice answer for my previous question about 4EXTrecovery-SD but again still no idea what fastboot is?
[HD2 Android SD Development] Xylograph:
Seriously ?? Take a moment to look at the post above yours..
[HD2 Android SD Development] ictimai:
Plz, don't confuse the 2 posts, first was about 4EXT-SD and the latter about 4EXT-NAND (yes, I gave up with SD recovery and tried to flash NAND version, but the flashing with HD2 toolkit persistently fails...)
[HD2 Android SD Development] clio94:
Please try to read.Did you try the instructions i wrote and it didnt work?

For fastboot see here http://xdaforums.com/showthread.php?t=1114053

in clk thread what you need to take it work.Then you can try to flash 4ext recovery in tboot partition by giving the command

fastboot -c "rel_path=recovery nand_boot=0" -b 0x11800000 flash:raw tboot zImage initrd.gz

Sorry but i cant explain better.My english are bad.
[HD2 Android SD Development] Xylograph:
I do not confuse it..

You shouldn't give up on 4EXT-SD, because it works great.. You just need to know how to boot sd from cLK..

The NAND version is failing because as you said yourself.. you don't have enough recovery partition space on your nand for 4EXT NAND recovery..

As clio94 already said.. it's larger than 5mb (that's the default recovery partition size)

One of the beautiful things about cLK is the possibility to repartition NAND on the phone itself.. unlike Magldr...

So enlarge your recovery partition to 6mb and try again for NAND install

And.... please... if you really insist on using cLK visit the cLK thread and learn how to use it by following the large amount of tutorials found there...

I am really really really sure that all these things regarding sboot, tboot whatever can be found in that particular thread and since I do not want ROM specific bugreports and stuff here.. all these bootloader related question shouldn't be here either..

Thanks.
[HD2 Android SD Development] ictimai:
I don't doubt except this if it manages to repartition SD card while sitting on one of it's partitions...

Of course, my humble apologies!

However I need justify my questions with seeking for SD speed improvement and you've kindly informed how EXT4recovery takes good care of this damn alignment! ;)

Your great NativeSD concept seems closely related to the problem. Another thing I wanted to ask about was some tuning of cache for SD transfer - would you recommend to use some third party tools like "ROM toolbox"?
[HD2 Android SD Development] datagr:
Try the V3 version of NativeSDMultiBoot
[HD2 Android SD Development] ayysir:
wish xylo could edit and add booot to aokp, paranoid or cm9 option into the 4ext-sd recovery so i don't have to replace recovery initrd with paranoid's to get rom to boot [when wanting to use gscript scripts]
[HD2 Android SD Development] melando:
Agreed we just need a smart solution to this to complete the "NativeSD package"
[HD2 Android SD Development] ayysir:
app not working well for me, just seem to just reboot the same rom i had on before
[HD2 Android SD Development] datagr:
You must have inside the sdcard/NativeSD the folders of each rom.

It should be like this :

/sdcard/NativeSD/CM9ight/zImage

/sdcard/NativeSD/CM9ight/initrd.gz

/sdcard/NativeSD/PA/zImage

/sdcard/NativeSD/PA/initrd.gz

/sdcard/NativeSD/Recovery/zImage

/sdcard/NativeSD/Recovery/initrd.gz

/sdcard/NativeSD/zImage

/sdcard/NativeSD/initrd.gz

and of course accept the root request from the app... :)

I have just tested Paranoid along with Recovery and CM9ight and it is working.
[HD2 Android SD Development] ayysir:
yeap my files are setup that way... still a no go
[HD2 Android SD Development] c1cl0n:
[NIGHTLY] CyanogenMod 9 [tytung HWA R3.4] [SD/MAG/NativeSD]

:o
[HD2 Android SD Development] datagr:
Does the app request for root access?

Can you put to auto-allow mode the superuser setting so it will take automatic root access the app?

I have wp7 in NAND and in the sd-ext4 partition Paranoid JB and CM9ight roms, in case this setup matters...

For me it is working normally.
[HD2 Android SD Development] ayysir:
yeap super su has it granted permissions... i decompiled your apk and peep'd the smali file and its legit so idk what is my problem why its not working... ill uninstall and try again
[HD2 Android SD Development] idos601:
Would i flash the "Team Blue Droid SENSE 3.5,HTC One X MODS" on my HD2?

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

thanks!
[HD2 Android SD Development] datagr:
Try this app. Maybe it will work better for you.
[HD2 Android SD Development] ayysir:
works perfectly, now if it can do automatic reboot then it will be great

---------- Post added at 07:20 PM ---------- Previous post was at 07:11 PM ----------

how do you dev the app, maybe i can tinker and help with ui

---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------

how do you dev the app, maybe i can tinker and help with ui
[HD2 Android SD Development] datagr:
I think it is better to not execute automatic reboot because some sd-cards are slow, so we can't precalculate how many seconds the app needs to copy the required files in the NativeSD folder.

I am happy that it's working correctly now to your phone! :)
[HD2 Android SD Development] securecrt:
Thanks but I think if we can config the rom names should be better.
[HD2 Android SD Development] anhnq:
i don't understand the partition located in mmcblk0p2, please show me in the picture

and i ported success rom AOKP_39 to naviteSD but has unknow baseband and no signal, any one help me
[HD2 Android SD Development] securecrt:
My idea is :

1. after the app loaded , scan the /sdcard/NativeSD if find a sub dir and it has initrd.gz and zImage than add to the swichable ROM list

2. create the Switchable ROM buttons based on the list created by the first step

3. copy the subdir's initrd.gz zImage startup.txt(if has) to /sdcard/NativeSD after user press the ROM name button

4. create a button for user to select reboot (as you did)
[HD2 Android SD Development] seaman2k:
what about /sdcard/recovery also i use it with tboot from clk 1.5.07 we need it also
[HD2 Android SD Development] datagr:
Try the new version V3.