yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] white-energy:
Can anyone port daeken's sense eclipse to work with NativeSD (or atleast share the initrd because i have some issues booting)
[HD2 Android SD Development] Xylograph:
Good idea ;)

I think the same could be archieved for cLK if the app could flash the files to the cLK sboot partition..

Have you cLK guys tried if this is possible from within android using a script with the flash_image command?

Maybe the app could even check what bootloader is running using the same 'trick' with kernel flashing..

Lots of work for datagr again ;)
[HD2 Android SD Development] HypoTurtle:
I'd agree with Xylo, it's far to risky having a 2/3 button press to remove a ROM, just leave this to being done in recovery.

For cLK, rick I believe already pointed out the procedure, have attached some files if you can test, don't have cLK running so can't check myself, permissions/location of install may need to be changed, but if you have anything other than PA in sboot, unzip the folder to /sdcard (creating /sdcard/cLK) and try running the script and see if it switches sboot to booting PA.
[HD2 Android SD Development] JeremyGuan:
Im sorry please don get upset.

What im trying to explain is that the comparison for me flash between NAND and SD-EXT, NAND seems to be more fluid than 4EXT on my crap little Class 4 MicroSD card... :(

so I should ask is there anyone here successfully get fluid responses when install on CLASS 4 (or below) SD-EXT?
[HD2 Android SD Development] seaman2k:
I got what u r talking about and i know the script will work with out problem ..but that mean we need to make many scripts for all roms we will have...but i think with kokotas update he will surprise us with at least 5 boot roms i hope :)
[HD2 Android SD Development] Dhruna:
Thank you Xolygraph.
[HD2 Android SD Development] HypoTurtle:
Not sure personally if the script will work without a problem, may need to force overwrite if there is a boot.img already present in /sdcard/cLK i.e flashing back again. The purpose of this script was more to lie the ground work for a cLK multiboot app, should work similar to the Magldr one (scanning NativeSD for folders containing ramdisk and kernel and having folder name replace . I think the point (as rick was trying to point out) with multiple boot partitions is that you still have to switch which one gets booted (or have I misunderstood), having cLK boot the same partition and just change it's contents would make the process quicker/simplier.
[HD2 Android SD Development] securecrt:
infact current ROM name is already in somewhere:

# cat /proc/self/mountinfo

cat /proc/self/mountinfo

1 1 0:1 / / rw - rootfs rootfs rw

10 1 0:3 / /proc rw,relatime - proc proc rw

11 1 0:0 / /sys rw,relatime - sysfs sys rw

12 1 179:2 / /NativeSD rw,noatime,nodiratime - ext4 /dev/block/mmcblk0p2 rw,barrier=0,stripe=512,data=writeback

13 1 179:2 /NexusHD2/system /system rw,noatime,nodiratime - ext4 /dev/block/mmcblk0p2 rw,barrier=0,stripe=512,data=writeback

14 1 179:2 /NexusHD2/data /data rw,noatime,nodiratime - ext4 /dev/block/mmcblk0p2 rw,barrier=0,stripe=512,data=writeback

15 14 179:2 /app /data/app rw,noatime,nodiratime - ext4 /dev/block/mmcblk0p2 rw,barrier=0,stripe=512,data=writeback

16 1 0:10 / /dev rw,relatime - tmpfs tmpfs rw,mode=755

17 16 0:9 / /dev/pts rw,relatime - devpts devpts rw,mode=600

18 1 0:11 / /acct rw,relatime - cgroup none rw,cpuacct

19 1 0:12 / /mnt/asec rw,relatime - tmpfs tmpfs rw,mode=755,gid=1000

20 1 0:13 / /mnt/obb rw,relatime - tmpfs tmpfs rw,mode=755,gid=1000

21 16 0:14 / /dev/cpuctl rw,relatime - cgroup none rw,cpu

22 1 179:1 / /mnt/sdcard rw,nosuid,nodev,noexec,relatime - vfat /dev/block/vold/179:1 rw,dirsync,uid=1000,gid=1015,fmask=0702,dmask=

0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro

23 1 179:1 /.android_secure /mnt/secure/asec rw,nosuid,nodev,noexec,relatime - vfat /dev/block/vold/179:1 rw,dirsync,uid=1000,gid=10

15,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro

24 22 0:15 / /mnt/sdcard/.android_secure ro,relatime - tmpfs tmpfs ro,size=0k,mode=000

I think there must have some script to get the ROM name.

I am not very good at using grep sed awk tools I hope someone can help to make a script to find the ROM name from /proc/self/mountinfo
[HD2 Android SD Development] ravi.bhan007:
I am using native SD pa 2.00 running from sd-ext4 from when that released by xylo, no any performance issue I have seen in native SD rom, BTW it's running more smoothly then nand rom.

I have sandisk 32gb class 4 SD card with 1gb sd-ext4 partition.
[HD2 Android SD Development] gazzacbr:
"More smoothly than nand rom"

hmmm, now that is interesting.

Tell us more...

Sent from my HD2 using the power of Jelly Bean
[HD2 Android SD Development] strikelight:
Not the most elegant, but:

sed -n 's/.* \/\(.*\)\/system \/system.*mmcblk0p.*/\1/p' /proc/self/mountinfo
[HD2 Android SD Development] Robbie P:
texasice has had similar idea for N1 users http://xdaforums.com/showpost.php?p=31356612&postcount=720

This thread needs to be on front page, to let other devs know.

Submit this thread as news tip button is top right of screen.
[HD2 Android SD Development] Xylograph:
I've seen that comment earlier today and was thinking by myself this would be cool for other legacy devices as well..

Anyway the thing texacise is doing is more like the Phoenix method I think ;)
[HD2 Android SD Development] timmymarsh:
Mm, very good point, the only benefit of a shared app folder would therefore be not having to redownload each app.

What is there to tell, AFAIK any card class 4 or above should perform faster than NAND thereby smoother ;)

@data, I had a problem with the your app, using xylo's aokp rom from here: http://xdaforums.com/showthread.php?t=1817793 . The app wouldn't switch from that rom to the cm9 rom, nothing happened when hitting reboot which is strange, I had to manually delete files from the Nativesd folder to get to change.

I had a wifi issue with xylo's aokp rom too, wouldn't authenticate and obtain ip, but I suspect that was due to choosing ppp rather then rmnet :silly:

Cheers
[HD2 Android SD Development] Xylograph:
Wifi has nothing to do with PPP or RMNET.. I've seen a lot of reports with wifi issues ever since the first release of ICS.. I guess I am the 'lucky one' to never experience this WIFI issue myself..

I still hope a (kernel) dev will update the WIFI drivers to the newer ones our brother/sister devices are using....

---------- Post added at 08:04 PM ---------- Previous post was at 07:49 PM ----------

Ok guys, I have been testing most of the day and will have to get back on that 'feature' because this almost skrew up my whole sdcard...

That reminds me why I've putted the recovery in a 'recovery folder' to be placed on the root of your sdcard and not in the NativeSD folder..

Recovery is like a small 'OS' itself (contains a kernel and a ramdisk) so I had a lot of trouble overwriting the kernel in the NativeSD folder while using SDRecovery, because it's most likely in use :silly:

It finally corrupted my whole NativeSD folder trying to do so... another 'bad idea'

That said..

Please keep your SDRecovery outside the NativeSD folder because it can corrupt things if you don't !

Now I will probably get a lot of replies telling me otherwise, but a corrupted folder which is set to boot is not something people are waiting for I suppose !!

For now.. If you want to get out of recovery just boot into your nand and switch to your NativeSD ROM by using datagr app, haret, or copy stuff manually.. the 'flashable recovery option' is not a stable option..
[HD2 Android SD Development] timmymarsh:
Hi xylo, it wasn't Ics mate, it was your jb rom, but going to try another install; )

Sent from my HD2 using nativesd JB & xda premium ;)
[HD2 Android SD Development] melando:
sorry to hear of problems.

Those of us with WP7 in NAND cannot copy manually in the FAT partition, hence suggestion of this approach... it seems more invention is needed...

Eg Is it possible to have MAGLDR run boot the NativeSD folder but the script there runs recovery from the Recovery folder?
[HD2 Android SD Development] Xylograph:
You can still set your sd boot folder in Magldr I suppose ;)
[HD2 Android SD Development] melando:
yes but more tricky especially if set to boot automatically all the way into Android. Have suggested another thought above, but over to the expert as usual... Thanks for your dedication to this
[HD2 Android SD Development] datagr:
Hello all!

So do I add the delete option in the app? Can I have a direct description on how you want this feature to work?
[HD2 Android SD Development] timmymarsh:
If it was me, I would say yes, with the usual 'are you sure I wanna delete' option lol, obviously with any programme that can delete anything runs a user error risk, but its hardly life or death if someone accidentally deleted the wrong rom ;)

sent from my HD2 using nativesd JB and xda prem app; )
[HD2 Android SD Development] clio94:
I believe that this feature must delete the folder of the rom that it is inside the sd-ext\NativeSD folder and also the folder of the rom that is in fat32 partition in Nativesd folder.Also maybe if possible will be a option that will warn and prevent the user to delete the folder rom of the current running rom.

For the implementing styl i believe that we can press menu button and then an option delete will appear and after pressing it,it will give the user the abillity to choose what rom to delete.Or by hold and press in the button of a rom and then choose delete
[HD2 Android SD Development] ioy:
However HOW exactly to make it clk friendly? I've got virtually no idea what to begin with...
[HD2 Android SD Development] idos601:
Hello all,

What different on the speed of the class4 and class10 while use the nativesd rom boot script?

thanks.
[HD2 Android SD Development] Szczepanik:
WM mscr NativeSD Recovery

For those using Windows Mobile with MortScript I attach 2 mscr files that should run NativeSD or Recovery

Cheers

Tom
[HD2 Android SD Development] KINGMANI:
I have BareBoneCM7 installed.

Is there a way that i can install these theme? http://xdaforums.com/showthread.php?t=1274374

I says i have to install it through recovery. But i have also a Nand android so it will **** up my system xD
[HD2 Android SD Development] jully3881:
now i do not know how to use your this rom, can you give some image to teach
[HD2 Android SD Development] Xylograph:
I think the idea of clio94 is indeed a good one..

It would be great if the 'delete rom' stuff would be in a seperate window/menu and the current running (NativeSD) ROM should always be excluded from that..

A 'Warning Box' when removing/deleting a ROM is essential !

Removal should delete the /NativeSD/$romname folder and the sdcard/NativeSD/$romname folder...

Though the difficult part will most likely be the 'location' of the sd-ext/$romname folder which is different when running the rom from NAND..
[HD2 Android SD Development] securecrt:
This thread is for DEVs and advanced users now, if you can't understand the whole story you can just wait for a while.:laugh:
[HD2 Android SD Development] jully3881:
oh , ok i use my nand rom for a while
[HD2 Android SD Development] mperezm77:
Hi Xylograph,

I'm trying to convert this ROM (NexusHD2 V2.7) to NativeSD version, using the ramdisk you converted and your dual_installer_v2_example, but when the instalation start, y get the next message:

Installing to SD-EXT

Checking & Mounting EXT Partition

file_getprop: failed to stat "/tmp/nfo.prop": No such file or directory

Edit: Thats the installation log

AROMA INSTALLER version 1.62

(c) 2012 by amarullz xda-developers

ROM Name : NEXUSHD2

ROM Version : v2.7

ROM Author : Tytung

Device : HTC HD2

Start at : Tue Sep 11 07:57:00 2012

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

INSTALLING ROM

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

about to run program [/sbin/mkdir] with 2 args

mkdir: can't create directory '/tmp': File exists

run_program: child exited with status 1

Installing to SD-EXT

Checking & Mounting EXT Partition

about to run program [/tmp/install.sh] with 1 args

run_program: execv failed: No such file or directory

run_program: child exited with status 1

script aborted: file_getprop: failed to stat "/tmp/nfo.prop": No such file or directory

file_getprop: failed to stat "/tmp/nfo.prop": No such file or directory

Installer Error (Status 7)

End at : Tue Sep 11 07:57:00 2012

What am I missing? I copied the system files, the kernel files, and edited the install.sh, aroma-config files

Thanks!!
[HD2 Android SD Development] Robbie P:
Did you change the rom_name in init script in initrd.gz using linux or kitchen? Use one from Xylograph's ics rom

I had problems too and am still a bit unsure as to where the edited initrd should go.

There are two folders in kernel folder, boot and bootsd, I put the edited initrd.gz into boot folder, but it seems it also needs to go into bootsd:confused:

I would have thought the boot folder contained the ROM's original initrd.gz and zimage and the bootsd folder the edited initrd and securecrt-modified zimage.

Edit; I have posted ThdDude's uCM10 v1.2 Native SD ROM here http://xdaforums.com/showthread.php?t=1792680
[HD2 Android SD Development] Magic2010:
Just to let you guys know, kokotas updated his cLK yesterday.

http://xdaforums.com/showpost.php?p=31396258&postcount=1202

Now we can have 12 roms at the same time on Ext4.
[HD2 Android SD Development] seaman2k:
it works with clk no need to do anything more than securecrt changes and extract update-clk from rick thread and just use sboot or tboot zip as u like and reboot to clk and choose your boot it is working with me without any problem i test that for u cause i always use it for nand cause it is light rom:p
[HD2 Android SD Development] HypoTurtle:
I take it the only way to see the other installations while running a NativeSD build is to mount the ext4 somewhere?

Had a try at symlinking data folders between builds, mounted the ext4 to a folder o the sdcard but the data folders were empty; any suggestions why? The system folders were fine.
[HD2 Android SD Development] ric69:
Hi,

This method is not working for me ... 2 days I spend to try, but after ext4-partition (with Gparted, because EaseUs creates only ext-3) wp7 is getting alzheimer of my sdcard :rolleyes:

Thanks BTW
[HD2 Android SD Development] white-energy:
I finally got daeken's sense of eclipse to boot after 3 days of terror.

If someone is interested, i will share the whole build later.
[HD2 Android SD Development] bojanbl:
I would like to try ;)
[HD2 Android SD Development] securecrt:
Thanks, sounds good!

Can you just post the different files with the NAND version , I can put the link to 1st post and info other sense users to test it.
[HD2 Android SD Development] seaman2k:
+1
[HD2 Android SD Development] BornToSowDeath:
kokotas cLK recovery

Where can I get kokotas cLK recovery ?
[HD2 Android SD Development] bojanbl:
CLK bootloader from Kokotas :D (black_lk_20120911)

Latest version is uploaded few moments ago ;)

http://xdaforums.com/showpost.php?p=31419146&postcount=1210
[HD2 Android SD Development] BornToSowDeath:
4EXT recovery needed too, thanks for a fast reply ;)

How to install this ext4 recovery for cLK ? I'm in cLK now, sboot:: ON. What's next ?
[HD2 Android SD Development] ioy:
Yet about BareBoneCM7 NativeSD...

So, what to do in the correct order:

1. extract the BareBoneCM7_NativeSD_installer_Diff_Nand.zip all files into cm7-v2a_NativeSD.zip

2. extract the whole content of update-clk from rick thread (into cm7-v2a_NativeSD.zip)

3. just install and so on?

I'm asking about the exact order because I have done it without any care of the order of these steps and now something's wrong. That is, the ROM boots well and works untill I try to install any application from SD card: after installing you have the options "Done" and "Run" so I choose "Run" and the screen goes dark, next after about a minute the phone comes into screen lock, when unlocking then there is no application installed (which is beeng tried to install).

And what about you, have you already tried to insBareBoneCM7tall any *.apk from SD card?

So why do you think light ROMs are more suitable for NAND than the "heavy" ones? In fact to my surprise BareBoneCM7 NativeSD has much more SD dependent lags and delays than e.g. PA... I wanted to install ROM Toolkit to increase SD card buffer, maybe this would alleviate the problem...
[HD2 Android SD Development] securecrt:
I think it is possible that we use the same ROM_NAME for different ROM.

So the ROM devs should be very careful to name your NativeSD ROM. :o
[HD2 Android SD Development] seaman2k:
now the order of u right and yes i test install apks from sd and works without problems
[HD2 Android SD Development] ad2003:
---- forget it --- works! ;)
[HD2 Android SD Development] drmodify:
not working

I followed the instructions however despite unzipping to root however my phone doesn't show up using "adb devices" command as well as using alternatives in detecting my device in adb mode.. what could be the problem? using PA v2.00 native-sd

also when checking the initrd.gz both rom vs uploaded zip files, they both contain "stop adbd" so I don't get how this fixed things, I hope other users comment on this
[HD2 Android SD Development] ioy:
And what is in folders /META-INF of the zips? Is it important? Note, you overwrite (substitude) the files from this folder with these ones from which zip you extract, so is it without any effect? (Other folders than /META-INF have no common files across joined zips) That's why my concern is about the exact order of merging these several zips...
[HD2 Android SD Development] 0719andy:
I find you guys have done a lot of work which Cotulla's doing.Good job!
[HD2 Android SD Development] Xylograph:
I think I've read somewhere that Rick's internet connection is causing the delay of Magldr2... :rolleyes:
[HD2 Android SD Development] ad2003:
really awesome work!!! Thank you!

Just loading Jellybean from NativeSD! :)

thx

ad
[HD2 Android SD Development] ppk.net:
kokotas clk come with CWM

However it can use

I very confuse first time :eek:

and spend 2 day for trying flash 4EXT recovery to kokotas clk

this is first reason make me confuse

and same time I got error during flash flash_sboot_v2.zip , this is secondly :eek:

And big thanks to bojanbl, who save my life :good:

Read here mate

http://xdaforums.com/showpost.php?p=31328349&postcount=335 :good:

and this

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

Now I on the newest of kokotas

default boot is NativeSD AOKP :D
[HD2 Android SD Development] _patryk:
Unfortunately, I don't think the delay of a new MAGLDR is caused by Rick's internet connection as he keeps updating his Barebones CM7 ROM... :crying:

Cotulla is silent on Twitter and here at xda.
[HD2 Android SD Development] ad2003:
Hello!

How could I just flash a file from recovery to a specific rom?

E.g: i have nativeSD/cm10 and I want to just install a modded market to this rom? Or how could I fix permissions if needed?

thank you!

AD
[HD2 Android SD Development] Xylograph:
Are you sure about that ? The latest Magldr news I've heard from a 'secret source' is that Rick even sabotaged the rmnet connection on his great ROM which resulted in cotulla not being able to download the latest Magldr sources... :D

He got Rick Roll'd...
[HD2 Android SD Development] timmymarsh:
Not true, the latest free version of Easeus mini does do ext4, I know because I use it; )

sent from my HD2 using nativesd JB and xda prem app; )
[HD2 Android SD Development] onlinegames:
Converting MIUI ROMs to NativeSD

Hi,

I am trying to convert Smokin901's JB MIUI ROM from http://xdaforums.com/showthread.php?t=1839194. Though I am not clear on the conversion process, I tried to follow as best as I could the instructions posted in the first page. However, when I start the installation, I get an installer screen (AROMA?) which is different from the other screens I got when I installed Xylograph's AOKP or PA ROMs.

Question - Am I supposed to get the same screen as AOKP/PA or should I be getting the AROMA screen during installation? Does this mean my conversion has not been done properly?

Can someone (NLT perhaps?) try to convert the NAND ROM to NativeSD and post the DIFF here please?
[HD2 Android SD Development] ioy:
About Barebone CM7 NativeSD...

The order is definitely WRONG! The installer must be extracted after the cLK update. If the order is reversed then installer doesn't work and the ROM installs into NAND. I've just checked this few moments ago.

---------- Post added at 10:01 PM ---------- Previous post was at 09:58 PM ----------

However still I can't install anything from SD card. On any attempt phone hangs up for a while and then the quick "restart" arrives into welcome screen lock... What is going on?
[HD2 Android SD Development] seaman2k:
I think u r right i install it again as nativesd and i face install apk problem..i am out now i will do some testson it when i am at home soon and feed u back: )
[HD2 Android SD Development] ayysir:
I'll try when I get home in a hour
[HD2 Android SD Development] Szczepanik:
Make a big one for future use

OK so I did not make a big enough one for future use! Is there a way to increase the size of the ext4 partition after installing several ROMs? Having installed my 5th NativeSD Rom I now have no system space left on my 4GB ext4 partition. I am down to about 100mb free. MiniTool Partition Wizard does not seem to let me reduce my FAT32 partition to free space to then increase ext4. Is there another (easy) way to do it? As a Windows Mobile SD user, I cannot see the contents of the EXT4 partition. Can I just delete the last ROM by removing the folder /sdcard/NativeSD/LastROMname [EDIT: and deleting /NativeSD/LastROMnameor as well] do I need to do something else?

Cheers

Tom
[HD2 Android SD Development] clio94:
You can see the contents of sd-ext.Go while running a android rom with a root explorer in folder NativeSD and you will see there the folders of the roms that you have installed.You can delete any rom that you dont want,but it will take a lot of time to do it.

A more easy way is to boot in 4ext recovery and flash the script of the rom you want to delete from gtbluesky http://xdaforums.com/showpost.php?p=31373853&postcount=428

i tried it with paranoid and it worked perfect for deleting PA folder from sd-ext.It left PA folder in sdcard/NativeSD folder,so i deleted this manually.

Also even if you are in wm,you can take a full backup of your roms by using in 4ext recovery the advanced backup--->sd-ext option.This will make a backup of your sd-ext contents in sdcard/clockworkmod/advanced/sd-ext folder.

Then you can enlarge your ext partition and go to advanced restore--->sd-ext to restore your contents
[HD2 Android SD Development] ayysir:
Tried using the sd rom initrd.gz and i got to its splash screen but thats it.

initrd.gz need to be edited for native sd use. Xylo how can i go about doing this
[HD2 Android SD Development] datagr:
nativeSDMultiBoot Version4

Hello all,

Please download version 10 with latest updates. :)

Here is the link :

http://xdaforums.com/showpost.php?p=33815218&postcount=1392
[HD2 Android SD Development] Szczepanik:
4ext Recovery Advanced Backup sd-ext

clio94 -thanks for the tip on 4ext Recovery Advanced Backup sd-ext.

The ROMs I am trying are not in glbluesky list but I think I managed to delete both /sdcard/NativeSD/LastROMname & /NativeSD/LastROMnameor myself. Next time I will try datagr nativeSDMultiBoot Version4 where he added the delete function

Cheers

Tom
[HD2 Android SD Development] ictimai:
Thx a lot, but 2me its not exactly clear how2 use it :/ That is, after running this application it is still needed to apply (flash) flash_sboot_v2.zip - without it booting from sboot (via cLK 1.5.0.8) is stuck to the 'previously" set ROM... Is this as intended? If not then what to do to rely solely on nativeSDMultiBoot?
[HD2 Android SD Development] ayysir:
thats a good idea and all but i can just delete the rom in the nativesdmultiboot.apk v4, painless