yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] NYLimited:
According to various tests ran on file systems ext2 did not fare significantly faster but is less secure. If you check the SD thread in my signature you will find a section on file systems that may be if interest to you.

---

If you have a 50% chance of being right, you will be wrong 90% of the time...
[HD2 Android SD Development] rin67630:
Thank you for the interessant reading on your sig.

Did I understand it right, that Android would run on ext2 as well?

I'd prefer to limit the wear and have WinMo as a primary OS anyhow.

IMHO Google did not have plain SD cards in focus. the NAND of modern smartphones might be closer to SSDs than to SD.
[HD2 Android SD Development] NYLimited:
Yes.

As an aside, the HD2 NAND runs roughly the same as a Class 4 card, albeit different memory type. SD cards are relatively inexpensive and easy to replace. NAND memory not so easy. :)

---

If you have a 50% chance of being right, you will be wrong 90% of the time...
[HD2 Android SD Development] srinivas2:
Help please! :)

Well I have a question that can I take the roms from the NAND thread that have a Native SD method and install it on my SD-EXT?? I wanna have it in the SD card alone and NO NO to any changes to the NAND! :confused:

The problem is that my HD2's usb port is dead! :( If the rom from NAND thread screws up my NAND then i cant even boot!! :crying:

I have an old 2.2 on my NAND and I run all SD roms only as i cannot access NAND.

Pls HELP!
[HD2 Android SD Development] rin67630:
Hmm I would than go for a good old SD method started from HaRet.

Its 100% safe, and fairly responsive as well.

But frankly if my USB were dead, i'd consider buying another phone.
[HD2 Android SD Development] Robbie P:
Yes you can use nativeSD install method without touching your nand.

You should also be able to change your nand android by flashing a zip from your sdcard without using usb port.
[HD2 Android SD Development] srinivas2:
Thank you very much! But the problem is that i dont have CWM installed :crying: Thats the problem! And since the Native SD method gives me the chance to enjoy NAND roms, still wasnt sure if it was safe, so i asked!
[HD2 Android SD Development] melando:
No need for CWM for Native SD, if you have MAGLDR
[HD2 Android SD Development] Kameirus:
deleted went back to dataonext
[HD2 Android SD Development] djsolidsnake86:
how boot 2 differents roms? i have installed one in sdext folder, if i install the second on sdext it overwrites the first

how do that please?
[HD2 Android SD Development] zain0300:
you can flash as many NativeSD roms as your ext4 memory permits and they do not over write each other unless two roms are using the same name
[HD2 Android SD Development] Robbie P:
I know we are already down the NativeSD road, but I was wondering whether any more thought has been given to sharing /data between NativeSD ROMs on the SD-ext partition.

I know that using certain apps over different platforms (gb, ics, jb, etc) can give problems, and I think that was the reason for not implementing it at the inception (http://xdaforums.com/showpost.php?p=31119834&postcount=22).

If, for example, all the /sdcard/nativeSD roms were ICS, it would be safe to share /data.

I also think that changing the file tree structure from /NativeSD/ROM_NAME to something like /NativeSD/ICS/ROM_NAME might cause too many problems.

If developers used the gb,ics,jb prefix when naming ROM_NAME, then a check can be performed in install.sh (?) and the /data folder could then be shared.

This still leaves the problem of possibly setting up an app.id table (http://xdaforums.com/showpost.php?p=31955931&postcount=968) for each ROM (but only those with a prefix in ROM_NAME), perhaps this can be done with datagr's app when switching roms? AFAIK it would mean re-signing the apks, including any newly included ones.

Or since many ppl change roms manually by replacing initrd.gz and zImage, it might be better to re-sign the apks using initrd.gz with a script such as https://code.google.com/p/apk-resigner/

Would this work? Sorry if this is just rambling but it would be good to get this feature running.
[HD2 Android SD Development] datagr:
I will start working on this feature from tomorrow. Good idea Robbie P!
[HD2 Android SD Development] melando:
Is there any way to have a nativeSD ROM which is NOT rooted i.e. will not cause errors with apps which refuse to run on rooted phones? Hide my Root app seems not to be enough for custom ROMs but presumably a ROM could be modified...
[HD2 Android SD Development] djsolidsnake86:
ok!

regarding kernels, how install dorimanx 7.3 on a nativesd rom?
[HD2 Android SD Development] Robbie P:
according to datagr post here http://xdaforums.com/showpost.php?p=35960348&postcount=1467 dorimanx kernels can be installed using the multiboot app. Rename the 7.3 zip to update.zip and put on sdcard first. I haven't tried this myself.

I usually put/merge the lib folder from kernel-libs into the extracted ROM's /system folder, then re-zip the ROM and flash. Then put the zImage from kernel folder into sdcard/NativeSD and sdcard/NativeSD/whatever_the_ROM-NAME_for_your_rom and then boot it.

Edit; after a little further searching, I found this post http://xdaforums.com/showpost.php?p=34003939&postcount=1417

---------- Post added at 05:28 PM ---------- Previous post was at 05:19 PM ----------

What happens if you uninstall superuser?
[HD2 Android SD Development] melando:
Yes I tried doing that (and hiding/deleting the binary), but these apps still detect the phone as rooted and refuse to run... only thing I really achieved was stopping the NativeSD Multiboot App from running (I needed to switch ROM by manually copying the files in the NativeSD directory)

Am hoping someone can share expert knowledge here on how to modify ROM or permissions to stop the phone being detected as "rooted"
[HD2 Android SD Development] Robbie P:
In the absence of an expert, try deleting /system/bin/su (if there) and /system/xbin/su as well as superuser. Might work.
[HD2 Android SD Development] melando:
Afraid no luck with this

It seems that system is mounted as rw (rather than ro) as standard, with ro.secure=0; is this something that needs a fix in the initrd.gz?
[HD2 Android SD Development] marco.palumbi:
because system is a bind mount of the same filesystem where data is bind mounted i think there is no way to have system ro in NativeSD.

I read about some kernel patches to allow to bind mount with ro attribute to a directory from a rw mounted filesystem..... but I never deepen the topic...
[HD2 Android SD Development] melando:
@datagr - can I also ask you also to think about enabling an option to mount system as read-only (hide root) - as this is required to get some apps working properly but I don't know how feasible it would be

Thanks for all your valuable input on this topic
[HD2 Android SD Development] Vladikox:
Last month I made a video clip running WP7.8 on NAND and 3 Androids on MicroSD to show how smoothly they are when using NativeSD method on a class 10 card (not a how-to video). Now I wanna share it here for those who don't know what NativeSD does.

http://www.youtube.com/watch?v=4pvJA6NMFMA
[HD2 Android SD Development] zenida:
Hello securecrt and Xylograph

what do you think about adding a new feature to NativeSD that creates separate folders for each ROM in the FAT32 partition and mount it as SD card?

I think sharing the FAT32 partition between ROMs it's not a really good thing, because they share the same folders with same files/data/configurations but on different ROMs of different Android versions. Maybe it could be a problem or am I wrong?
[HD2 Android SD Development] Robbie P:
Hi zenida, I have heard nand users saying that the folders "android" and ".android secure" should be deleted from the sdcard before flashing a new ROM. TBH I have never done this with nativeSD and i have a few different versions of android on same card. Have not noticed any problems, nor have heard of any. so not sure if what you suggest is necessary.
[HD2 Android SD Development] zenida:
Yes, you're right, but usually when I was on NAND I always totally formatted my SD, now I can't because I've other ROMs on it. That's why I'm asking if it could be a problem.

Otherwise we can just make a system to create inside SD different folders for different ROMs and mount them as external memory.

For example (Tree representation of memory):

FAT32 SD

ROM-1 - SD Folder

ROM-2 - SD Folder

ROM-3 - SD Folder

NativeSD - Haret Folder

EXT4 SD

ROM-1 - NativeSD Folder

ROM-2 - NativeSD Folder

ROM-3 - NativeSD Folder

This way, they shares the same FAT32 partition, but they don't see each others
[HD2 Android SD Development] melando:
Have seen elsewhere that some of the latest Android builds do something similar e.g. putting entire sd contents into folder "0" due to multi user support in 4.2

Maybe this is coming already...
[HD2 Android SD Development] zenida:
Umh that's interesting... it could be useful with older Android version too
[HD2 Android SD Development] securecrt:
when 3.0.16 kernel is ready for daily use, let's start to test f2fs for NativeSD :D
[HD2 Android SD Development] 0719andy:
Sounds great! Thans for your work!
[HD2 Android SD Development] mstdzw:
Is there a mod for nativeSD to share applications between all the roms on the card?

It is possible to copy the application folder without setting but the best would be somehow symbolically link the files using Linux, ln.

Or shared partition /data/app.

I can't wait for 3.x kernel ;)

- f2fs

- uhs-1 ?

- extended battery support?
[HD2 Android SD Development] securecrt:
1. share the app is possible, but I don't think it is the must have feature for the nativeSD ROMs becasue we can have very big data parition on the sdcard. :D

2. 3.x kernel is fancy , I am working on it. F2FS, UHS-1 will give big speed promotion

3. extanded battery has already been supported by the 2.6.32 kernel.
[HD2 Android SD Development] Saavik256:
Holy crap, ignore this post. Wrote in the wrong thread. xD

-T
[HD2 Android SD Development] Conrad-007:
Hello everybody,

I am currently having the HyperDroid-CM7-v6.0.0 (NAND) on my HD2 and I would like to "transfer it" to the SD card and use it as a nativesd ROM... is this possible, without losing the current settings and installed apps, I mean without having to wipe out the phone, make a new installation, etc.?

Thanks in advance for your answers.

Conrad
[HD2 Android SD Development] melando:
You might have to create a flashable zip with your NAND data in titanium and flash that to EXT?
[HD2 Android SD Development] Robbie P:
I am not sure about this since haven't tried it. But you can try flashing the v2 dataonext patcher, then flash the NativeSD rom. It might work, back up first though;)
[HD2 Android SD Development] Robbie P:
Hi datagr, hope you are keeping well.

I just had another idea;)

When using magldr, and you switch to a rom that for some reason doesn't boot, you are a bit stuck without access to a PC. You can boot up an sd build and change initrd.gz and zImage in NativeSD folder manually, but it is a bit fiddly.

Is there any way your app can be booted via ad sd in magldr? Such that it is in the format of a folder with only initrd.gz and zImage? I am thinking of what Xylograph did to 4ext sd recovery. Of course there would be no need in this version of the app to identify current running rom etc., it just needs the menu and the ability to load another NativeSD rom.

Does this all make sense?

Thanks again
[HD2 Android SD Development] aurion45:
Newbie Question,

Do you mean in the root part of Android folder, or on the SD CARD?

Cheers Drew
[HD2 Android SD Development] Robbie P:
Hi Drew

Not sure where that quote was from, but the path tytung mentioned is from the root of your running ROM. Use a root enabled file explorer to access it (such as the one in rom toolbox lite from market).

Edit; found the post here, excellent tool:good:
[HD2 Android SD Development] aurion45:
Hi Robbie,

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

Edit; found the post here, excellent tool

Once it is copied do I reboot? Where is it located as I've Magdlr and No AD recovery load, I try reading, but there so much to understand!!

I would appreciate you help please.
[HD2 Android SD Development] chaudhary9:
so is class 4 better?if so how can it perform better,because this was the sole reason i am thinking to get class 10 card
[HD2 Android SD Development] Robbie P:
See this thread
[HD2 Android SD Development] chaudhary9:
i did saw that thread once,there's alot of information some of it which i may even not understand

can u just tell if there's noticeable difference in performance in class 4 n class10 cards,not talking about transfer speeds also especially if using native sd,thanks.
[HD2 Android SD Development] Robbie P:
From line 4 of that thread.

Just ask yourself a question-"Do you feel lucky?";):D

But there are cards out there specifically designed for android and windows phone. Some have had good reports.

I think this is not the thread for discussion of "best" sd card though.
[HD2 Android SD Development] makind1:
Hi all.

I do have one question about NATIVESD. I do have HD2, USA version with 768MB RAM and 1GB storage. Recently i switched to NativeSD because of storage space. Im using NexusHD2-JellyBean-CM10.1.2 V2.6

Im running 10class 16Gb Transcendent card, on the beginning the speed was OK, but now after cca 2months the speed is very slow. Running games like Where is my water takes minutes and sometimes in unplayable slow.

Is there some think that i did wrong or is that the common issue?

Thank you very much for the reply.
[HD2 Android SD Development] sarathvenmony:
+1 >>>
[HD2 Android SD Development] manutd_afghan:
where download 4ext recovery?

where download 4ext recovery?
[HD2 Android SD Development] philipped346:
http://xdaforums.com/attachment.php?attachmentid=3304289&d=1431173448
[HD2 Android SD Development] rebgershon:
Is it possible to increase the size of the ext4 partition without loosing data and if yes how does one do it? I have about 1gb of a 16gb SD card used for the current ext4 boot partititon and I've run out of space for apps to update.

I have tried using mini tool but the partition seems locked.

TIA

Geoff.
[HD2 Android SD Development] Robbie P:
Hi Geoff, I wouldn't recommend trying to resize your ext partitition without backing up. You can backup using recovery, Titanium Backup, tytung has a tool for backing up nativeSD roms, if you have Linux on your PC you can copy both partitions to hard drive, you can use terminal to copy your sdext contents to the FAT32, or if windows you can use this software http://www.paragon-software.com/home/extfs-windows/screenshots.html to copy contents of sdext partition(s) to hard drive. Use a couple of the above methods, just in case.

Then resize by normal methods
[HD2 Android SD Development] rebgershon:
Thanks for your speedy reply.

I have some further questions though:

1. which 'recovery' do you mean and where will I find Titanium backup and tytung tool?

2. I have downloaded the paragon software to copy the sd card contents which I will try to do now. However, what are the 'normal' methods used to resize as I mentioned in my previous post that the ext4 partition seems fixed when using the mini tool partition software?

TIA,

Geoff.

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

Robbie,

I have put the sd card into the slot on my computer (which is a year old HP laptop) and also tried in a USB port but the Paragon software is not recognising the card at all, with only the c drive being shown. However, I am able to see the contents of the fat32 partition of the SD card through explorer as normal. Am I doing something wrong??
[HD2 Android SD Development] Robbie P:
I have posted a reply here http://xdaforums.com/showpost.php?p=64760125&postcount=3 to try and keep this dev thread a bit clearer.:)
[HD2 Android SD Development] Kevinreid1:
So how do you delete the files if you don't want them any more? just delete the folder containing them? Thanks for any help.
[HD2 Android SD Development] Robbie P:
You can delete the NativeSD folder from the FAT32 partition, but to use the whole card you will need to reformat it all to FAT32, or resize the existing FAT32 one. Thus removing the EXT4 partition where the ROM resides. This will almost certainly delete all your other files, so backup everything you need to keep onto your PC first.
[HD2 Android SD Development] Maramaris:
Hallo alle zusammen ich habe meine note 7 interne speicher beim um formatieren zerstört :( keine recovery modusmehr nur odin modus mit firmware flashen geht auch nicht eure thema schein genau für mich zu sein, das heisst von sd karte booten und dann interne speicher neu formatieren so ist mein gedanke. nun ich habe keinerlei linux oder progmierer kenntnisse kann mir jemand helfen bitte bitte :(
[HD2 Android SD Development] Robbie P:
Using google translate, I get;

This Forum only uses English. You can try posting your question here https://xdaforums.com/general/xda-assist and someone might be able to help you. good luck.

Google translate
[HD2 Android SD Development] datagr:
Downloading right now!

Don't forget to change the date of the topic so more people will see that new update is online for download! :P

Thank you for your great work Xylograph!
[HD2 Android SD Development] Xylograph:
Hmm that's something securecrt will have to do.. Haven't heard much of him today.. I wonder what's cooking :)
[HD2 Android SD Development] Robbie P:
booting from wm6.5 and finally have both wifi and (ppp)data working.:D

Since clean install i have not been able to get data to work again. (With wis1152's build wifi worked)

I think my earlier RMNET connection was possibly due to the sd card files being created from an original magldr boot, and I just booted into it with wm6.5.

Anyway, thanks again Xylograph and securecrt.
[HD2 Android SD Development] seaman2k:
my reports ..i use it from clk 1.5

- flash rom from recovery install sboot2 thx cilo97 reboot into clk sboot

- i working on ppp it works now great speed is :good: with LEXAR 16G i need to make some more test on it

ps if some one can help me how partition my sd for wp7 i saw one or more thread but it is not good for me thx
[HD2 Android SD Development] datagr:
WIFI working

SuperUser working

Rom is phenomenally smooth PA rom!

I feel like I am using a new device.

I am restoring my titanium backup and give more feedback.

This is a new era of HD2...
[HD2 Android SD Development] giovanne:
Thanks.

Just downloaded and installed to existing SD-EXT (ppp option) which is although used from NAND/Int2Ext4+.

Magldr.

Installation successful.

WLAN running.

Tomorrow I will configure the SD-EXT Rom same to my NAND Rom (both now PA 1.992) and see the behaviour in speed, battery drain, etc.

Currently using 32GB Class 4 Sandisk.
[HD2 Android SD Development] djxcee:
Can I use sd-ext with nand and sd builds? As long as I have room
[HD2 Android SD Development] Tester30:
A lot of thanks to you!!! Yer one of the best here.With the kernels and ROMs..

I really appreciate you guys To do impossible, possible again for the aging phone.

Yea....... HD2 never dies, if we want to install/restore our phone to original, just flash the RUU..... Isn't it right??

To mess with Android we need Magldr, 4EXT or CWM???? Could it be done through the RUU.

I'll ask the same question to other dev... Please do not be mad at me if I miss something..
[HD2 Android SD Development] datagr:
You need Magldr + the SD recovery that is in the 2nd post.

Then you need to create an ext4 partition in your sd card.

Then put the zip in the fat32 partition and load the recovery.

Then format the ext4 partition (very important!).

Then install the PA rom (or AOKP rom). :)

More information are in 1st and 2nd post.
[HD2 Android SD Development] drmodify:
YEY!

A new era indeed. Wonderful creativity. Good work to the dev's of this idea.

Nope as stated in play store only for GB and below builds. Installing it in JB will result in boot loops
[HD2 Android SD Development] 2alive:
Got it working from wm/haret.

Never seen the HD2 so fast & stable, in one word... awesome.

Thanks to you all, greatest leap ever for the HD2.
[HD2 Android SD Development] datagr:
I have installed it just to test it and, yes, I had a boot loop.So do not use chainfire in jelly bean guys.

It doesn't work in any jelly bean rom for now. :)
[HD2 Android SD Development] maneken25:
Guys, hope this isnt dumb question but have problem when wanted to test your work.

Using magldr and cwm 5.0.2.7, my card have two primary partition, first fat32 cluster size 32kb, second ext4 default cluster size.

Nand roms working fine, have nexus hd 2.7 installed by Phoenix ext method

Problem: in magldr when trying to navigate by option "ad sd dir" to folder in sd card it doesn't work, it just send me back to main magldr menu.

Its like i don't have sd card placed in phone.

Using nand roms for almost 2 years, never had sd failure or issue with my card.

Tried also repartition but nothing change, same issue.

Did i made some crucial mistake or missed some info on magldr forum topic?
[HD2 Android SD Development] datagr:
Can you try a low level format in the sd card?

Can you re-create the 2 partitions or you will lose the data in the ext4 partition?
[HD2 Android SD Development] HypoTurtle:
Have had that before, check to make sure all partitions are set to primary
[HD2 Android SD Development] ictimai:
It was said many times any SD's extra speed over class 4 wouldn't be utilized anyway since there was card-to-device interface's limitation - however still waiting for a solid verification of those rumours...

If it had been confirmed then still there would be room for Ext4 partition's improvement - just format it as Ext4 fs but without journalling! Really do we need journals on SD card (that cost significant data rate overhead)?

---------- Post added at 04:11 AM ---------- Previous post was at 03:55 AM ----------

Ah, maybe yet another source of SD rate improvement - what about partitions & filesystems alignment?
[HD2 Android SD Development] aldai2:
I just forgot that and now it works. Thank you datagr.

I installed aokp at first: the wifi was not working.

I then installed PA in the same ext4 : now I have two directories in Nativesd (AOKP and PA)

If I run haret, PA is launched (the wifi works I chosed PPP).

Can we move from one to the other at launch?

It' a really nice job : thank you all !!!! :good:
[HD2 Android SD Development] dcos:
SU

Hi,

Ok, so I've managed to install PA, however I have issues with root access. Apps cannot get root, SU says it needs to update binary then stops.

Any idea?

Nevermind, Format sdcard and repartition did it.
[HD2 Android SD Development] cameleon39:
Please help

Good day everybody!

Can any one help me to set the SD Bootfolder to the 'NativeSD'. I think misunderstand something!
[HD2 Android SD Development] HypoTurtle:
In magldr go to 8. services then 1. Boot Settings then 3. Add SD dir then select NativeSD. Or something like that.
[HD2 Android SD Development] aldai2:
To switch between different SD-EXT ROMS :

If I understand correctly, just copy initrd and zimage of the rom you want to load in the Nativesd directory ?

Is that correct?
[HD2 Android SD Development] Xylograph:
Yes sir
[HD2 Android SD Development] datagr:
Hello,

zram is disabled in the PA rom.

Is it safe to enable it or the rom becomes unstable?

By the way so far the rom is acting perfectly.

I am testing various apps, games and utilities. :)

Thanks again for the great work securecrt and xylograph!
[HD2 Android SD Development] Bib_x:
But why should i copy the rom into the root of the nativeSD-folder to change between roms?

If i make extra folders for each rom, isn´t this much better?

like:

nativesd/rom1

nativesd/rom2

...

So i can change the rom folder in mgdlr to this folder and easyly change between?! And i don´t have to copy the rom all the time?