yashsingh1/xdaforums huggingface dataset:
[Streak 5 General] TheManii:
Thinking the plan is to release it simply without the ability to mount sdcard + sdcard2.

Believe that to use it requires rom changes (not surprising), if this is the case it needs the rom to be recompiled(?), the last rom that was compiled was (latest version of) AOSP/ICS and the rom before that was CM7.2 rc0.

Ie kibuuka is the only active dev to be compiling actual roms, every other rom is essentially a hack on a pre-existing rom.

If we ever get a working JB rom, I assume this is pretty much required as 260mb is simply too little for a JB rom if you want gapps.

If we ever get a working MTP-enabled kernel, it would dramatically simplify things as we can just have /data take up the rest of the SD.

Repartitioning the innerSD should be done on a pc as if you do it incorrectly in a live rom, you'll need to dissassemble it to unbrick anyway.

innersd0p7 for /system seems to be working fine though under paranoidandroid. I expect that any rom that already has ext4 support can easily integrate it in.

My own plan is to use it as thus:

(for 8/16gb cards)

innersd0p5 /cache: 512mb <up from 244mb>

innersd0p6 /data: 4096mb <up from 1691mb>

innersd0p7 /system: 512mb <up from 260mb>

innersd0p8 /sdcard: <whatever is left> (unused)

4gb cards are simply too small to be worth the effort, 32/64gb cards I'd likely make p6 bigger (8gb?). If someone donated one I'd prob make a super-large-innerSD version. But we'll have to wait until I can get everything actually working.

Standardized sizes are important for the stability of CWM, if you use custom sizes and run into issues with CWM, dont expect help.

While it's somewhat wasteful to have p8 and not able to use it. It's ultimately going to make it easier in the future for if/when I can hack a rom to get it to work with dual sds.

There's also the silver lining of the fact that CWM will use p8 fine.

While I cant (currently) use p8 in android, CWM will easily accept it as a place to store nandroids on, as /system is no longer yaffs2, dedupe will make nandroids even smaller.

I'm going to continue hacking at the dual sd solution.
[Streak 5 General] deysmacro:
i see... it is quite hard without mtp support...

by the way... i would still suggest that since we are at min of 8gb card, we set the /cache and /system to 1gb each... thus we could have more than enough space inside ;)
[Streak 5 General] TheManii:
cache simply isnt used to the point that >512mb would be worthwile

system is 512 because most devices are that size, android 4.x is designed around it

Edit: wording

I dont have any hard evidience, but using the innerSD+ext4 for /system seems to make it an order of magnitude faster at least for rom flashing.

There's a good reason that no modern device uses yaffs2+MTD anymore, speed is likely one of the reasons.
[Streak 5 General] deysmacro:
i see... well.. will be waiting for the update then :)
[Streak 5 General] TheManii:
I cant really say if/when I'll also be able to get dual sd working, so I'm simply going to give /system to innerSD + ext4 mod a thorough testing and release that for the time being.

Worked on dual sd for a couple hours and made no headway. Having the externalSD mounted to /sdcard2 is trivial, having the innerSD mount to /sdcard isnt unfortunately.

Havnt had the chance to do any heavy testing with just that as far as stability is concerned. Simply going to use my S5 with that heavily for the day during my day trip tomorrow and see how well it works.

If it works well I'll make a guide for what I have already.

Plan (assuming there isnt any major issues with my S5 tomorrow):

Make miniguide for repartitioning the SD (assumes you know how to do this, will only detail the partition structure and not an actual guide)

Prepare varients of CWM/S5 for ext4mod and large innerSD mod (ie one version for each, also large innerSD assumes you are also using ext4)

Make a miniguide describing changes needed to be made in rom to use new partition (links on how to do it and the changes needed, not a direct guide)

An example rom (paranoidandroid) for reference

The guide will be highly technical, if you're not willing to learn all the steps you shouldnt be doing it essentially.

As both mods are entirely optional I'm not going to specify every little detail, the S5 works fine without it anyway.

Unmodified roms will be completely incompatable with it (obviously), I will be making a companion guide for proper use of CWM for rom makers (ie not for general users).

I have no idea if they'll listen, but I'm not going to force anyone. And yes, if anyone is asking: it will intentionally be incompatable without changes.

Mounting ext3 as an ext4 partition = works fine. Mounting ext4 as an ext3 partition = doesnt work/bootloop/brick.

I would rather users get errors stating that they didnt follow the instructions then have users brick because they didnt follow instructions.
[Streak 5 General] deysmacro:
its ok.. those guides are for advanced user by the way and therefore we should warn them beforehand... if they simply dont understand it.. they dont need to carry on at all... if they are being stubborn.. well.. its their call...

the purpose we do the sd hacking is that we can somehow utilize large inner sd in a better way rather leave it wasted untouched at all... so if dual mount is not possible at the moment.. its fine.. at least we get something out from it...
[Streak 5 General] TheManii:
reformatting the innersd is surprisingly easy, its not hard at all to make all to make your own custom layou, it simply wont be supported
[Streak 5 General] TheManii:
Began process of making guides, already rewrote guide for repartitioning the innerSD.

In process of writing the rest
[Streak 5 General] deysmacro:
nice... :D

so.. how was the experiment? was it a success during your day trip ?
[Streak 5 General] TheManii:
It seemed about as stable as paranoidandroid is otherwise.

I had one lockup that required a reboot today.

That's about the same as using paranoidandroid completely unmodified the other day.

It doesnt seem any faster or slower, but that could be due to me simply not knowing everything about handling ext4 partitions yet.

I'm making initial plans for streak5sd32 (see [REF]Streak 5 Partition layouts for an explaniation), but without an actual 32+gb card I will only make plans. I cant actually test it as microSDXC cards arent the same as microSDHC cards. If someone donated 1 (or more) microSDXC cards I could also build streak5sd32, but the main issue is that without dual sd support it's rather wasteful.

I still stand behind having the innerSD0p8 created for /sdcard, even if it isnt being used. If/when I do get dual-sd working it will mean you dont have to repartition your card yet again afterwards. (I strongly prefer avoiding having to reopen the device to modify the innerSD)
[Streak 5 General] deysmacro:
i see...

well... we will get to sdxc card once we manage to get dual mount works...

i believe since we had moved /system to innersd.. does the device dont complain since it is not using yaffs2? or is it dont care as long as it is working like it should?

and also i have been thinking...

why cant we use /mnt so that sdcard2 goes into there?
[Streak 5 General] TheManii:
I've modified the ramdisk so it mounts /system as ext4.

Some roms are already capable of using ext4 (roms such as paranoidandroid and dsc have been mounting /cache and /data as ext4)

The main issue is linking /mnt/sdcard to /dev/block/innerSD0p8, I've been able to get /mnt/sdcard2 working fine.

But without /sdcard it doesnt matter as /sdcard2 is secondary storage and only used when attached to a pc normally.

It's not as simple as directly mounting to /mnt/sdcard, otherwise I would already have it working
[Streak 5 General] deysmacro:
so.. are you saying that we get to have dual mount if it is just /mnt/sdcard2 by now? :confused:
[Streak 5 General] TheManii:
No, I mean moving the outerSD to become /sdcard2 is easy, but it leaves us with a broken /sdcard.
[Streak 5 General] deysmacro:
dont you think it is because of direct relationship with vold.fstab or something similar?
[Streak 5 General] TheManii:
It's due to vold definitely, it's even more complex on Android 3.0+ as there's a proper way of working with dual-sd's. But that requires a working MTP kernel which we dont have.

I might try going back to 407 and hackporting the SPro's vold as it's explicitly designed to handle dual sds, but I have no idea how that's going to help ICS roms. I still dont know if even that would work.

A 3gb (minimum) /sdcard does sound nice though. apps like titanium backup wont even run without something mounted to /sdcard, even though it does a lot more then simply backing up.
[Streak 5 General] deysmacro:
i see... well.. hope you manage to get it work... :good:

by the way.. you know link2sd right? it has this script to mount partition on boot.. how bout it? what do you say bout it?
[Streak 5 General] TheManii:
It sounds like you're using sd-ext + apps2sd + auto symlink generator, ie rather hackish.
[Streak 5 General] deysmacro:
yeah.. if you say something like that... well? cant we somehow utilize it? maybe how the script works?

but yeah.. link2sd is meant for reverse mounting.. that is only phone can see it and use for internal only...
[Streak 5 General] TheManii:
It wont allow you to use the partition as a normal /sdcard partition, that's the thing.

If it can mount the partition, the rest of it wont matter as you can mount it.
[Streak 5 General] elsaghir:
Question

-- 03 --

Q - Can we use this as sd storage as well?

A - Sorry. We cant because it is formated in ext3, so windows see it as unformatted medium.

So, if I am Connecting using Linux PC would there be a chance I can make sd storage as well...
[Streak 5 General] deysmacro:
you cant.. mounting as /sdcard2 is not possible at the moment...
[Streak 5 General] TheManii:
Until I complete the mod, I'll simply post updates here to keep it all in one location:

In process of building new recoveries for streak5ex/streak5sd8.

Next step is to build the update scripts needed for streak5ex/streak5sd8

Edit: I believe I have the install script working, going to be building my first unified rom soon.

Edit2: Built my first unified rom, in process of validating install

Edit3: Recoveries are built and ready for use, already prepared a unified version of paranoidandroid, will prepare other versions soon.

I expect that I'll be doing an initial beta-test in this thread, so any comments arnt being left in multiple threads

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

You should not flash roms with these unless the rom author has stated they specifically support your desired layout.

Not all roms currently check your device layout and may install, but if they do not support it it may cause unpredictable results.

If you wish to use streak5ex/streak5sd8 you should only use roms that specifically support it,

when I'm ready I'll try and assist rom makers into supporting it.

Currently unmodified DSC is able to work with streak5ex unmodified as it has no checks for which layout you use, it does not support streak5sd8 however.

It's obviously not going to be supported until I have my mods done and documented.

Plan is to modify the following roms into example roms (that will support streak5ex/streak5sd8):

AOSP/ICS

Paranoidandroid

Longhorn

DSC
[Streak 5 General] deysmacro:
if you are going to modify longhorn.. try longhorn 2.7 first ... longhorn 2.9.3 have a scripting done to optimized data on booting (when it is showing dell logo) ...
[Streak 5 General] TheManii:
We'll cross that bridge when we get to it, I'm planning on modifying AOSP/ICS next and then DSC, I will be doing longhorn last.

Unless LH 2.9.3 doesnt work with it, I will be doing that one.

I dont plan on making more then 1 version per rom as these are just example roms.

What I'm not going to do is make the rom changes myself in the future, if the rom makers wish to support it, it will be up to them.

Fortunately the majority of it is a "make the change once and reuse it in future", depending on how they modify their rom for future versions.

---------- Post added at 07:11 PM ---------- Previous post was at 06:57 PM ----------

Reposting PMs I've sent asking for permission for using respective roms

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

Added initial beta files:

Clockworkmod 6.0.1.2:

streak (included for completeness, common version)

streak5ex

streak5sd8

Roms:

update-S5-S5ex-S5sd-paranoidandroid-1.1-b1.zip

Supported layouts:

streak

streak5ex

streak5sd8

streak5sd32 (technically supported, but not actually tested)

Version: Latest(?)

Credit: Paranoidandroid by nom051205

Original version: [ROM][PORT] Paranoid Android

update-S5-S5ex-S5sd-AOSP_ICS-071112-b1.zip

Supported layouts:

streak

streak5ex

streak5sd8

streak5sd32 (technically supported, but not actually tested)

Version: 071112

Credit: AOSP/ICS by Kibuuka

Original version: [ROM][Early pre-alpha] AOSP ICS 4.0.4_r2.1 for DS5

DSC (link TBA)

update-S5-S5ex-S5sd-LongHorn-2.9.3-b1.zip

Supported layouts:

streak

streak5ex

streak5sd8

streak5sd32 (technically supported, but not actually tested)

Version: 2.9.3

Credit: LongHorn by tenorntex

Original version: [ROM] Longhorn 2.9.3 Updated 9-5-12

Roms need testing on being flashed on all layouts, including the stock streak one.

(This post will be updated with changes as they happen)
[Streak 5 General] elsaghir:
I upgraded my internal sd card to 16GB. But I have my DS running very slow since then. I used Ubuntu Linux dd and gparted.

The SD is class 10.

I used http://xdaforums.com/showthread.php?t=1716568 [ROM][Early pre-alpha] AOSP ICS 4.0.4_r2.1 for DS5

and http://xdaforums.com/showthread.php?t=1859955 [ROM][PORT][AOKP][AOKPA] Unofficial AOKP-AOKPA ICS for Streak

and they both seem to be getting very slow. WiFi is very slow sometimes too. I used them before with original 2GB Internal rom and they were OK speed wise...
[Streak 5 General] deysmacro:
if you say it is running slow, have you tried to use the previous innersd and can compare the speed?

i am using longhorn 2.9.3 with 16gb innersd by the way.. nothing noticeable slow for me..
[Streak 5 General] TheManii:
I have no idea, paranoidandroid seems either equal or slightly faster for me (compared to just streak), I'm using the streak5sd8 layout.

Also AOSP/ICS version is now ready
[Streak 5 General] deysmacro:
yeah.. it should be like that.. maybe he has done something to it...
[Streak 5 General] TheManii:
DSC apparently Doesn't use ext4, so I'm going to skip it until I get a response from n0p.

Longhorn 2.9.3 does however, so I am in the process of porting it.
[Streak 5 General] deysmacro:
dsc have been told that it is using ext4 driver.. but the fs is still ext3... that is what i have been following...

longhorn 2.9.3 does take that driver also and use it as default :)
[Streak 5 General] TheManii:
I dont keep up at all on any rom besides AOSP/ICS and ParanoidAndroid, so I dont know.

If it really is using ext4, it's in a way that I cant account for, I'll have to modify that one in a different manner (I think?, I simply skipped it for the moment as LH is in a manner that I can easily work with)
[Streak 5 General] deysmacro:
yeah.. just do what you think you can do.. its better that way :)
[Streak 5 General] TheManii:
LongHorn version is ready, only one left is DSC.

Edit: according to quad, i'm getting scores in the ~1000 range on streak5sd8, which is approx the same as on streak. There's plenty of things throwing it off. But it's close enough that: at the very worst, it's only a minor change in speed (up or down)
[Streak 5 General] deysmacro:
i see... well... the /system comes from ramdisk.. so it does have its significant impact when moved to innersd... thats to be expected i guess...

by the way... i have been thinking... what if we make external sd becomes ext3/4 fs too? would that help it mount? i mean.. we mount it inside /sdcard and create script so that it could be read/write too... ? well.. something similar in that matter...

---

on stock longhorn 2.9.3 .. quadrant advanced shows 19xx .. let see using streak5sd8 will show any different like yours...
[Streak 5 General] TheManii:
/system is a standard partition stored whereever it's stored.

It has nothing to do with the ramdisk.

There's a serious penalty for making mmcblk1p1 (ie the outerSD) into ext4: windows cant work with ext4 without additional software.

UMS (usb mass-storage) presents the entire partition, if the pc cant read it: android doesnt care.

MTP presents a media device: you can send orders but you dont directly modify the underlying file structure (same as FTP)

If you only ever used host pcs that can read ext4: you can go ahead and do that if you wish.
[Streak 5 General] deysmacro:
ah.. got mixed up /system with ramdisk.. lol :p

hmm... tried that already using ext4 for external sd... getting symlink to work is not a problem inside the phone but once connected to pc.. its broken... lol.. thats it from me :D
[Streak 5 General] elsaghir:
Update

That is my next step. I will have to test the original sd and see how it work.

Edit:

I know what I did, I imaged the new 16GB SD card from the original that was running longhorn 2.9.3. then I decided the flash the [ROM][PORT][AOKP][AOKPA] Unofficial AOKP-AOKPA ICS for Streak ROM, of course I did factory reset and clear data/cach/ but that did not work on the 16GB SD partition because when I started the new ROM I had a lot of the old apps. I will re install the original 2GB SD and flash ICS on it and make sure it is working and stable then I will re-image it to the 16GB

Edit:

I will be using TheManii new ROM update-S5-S5ex-S5sd-AOSP_ICS-071112-b1.zip to start with.

deysmacro, How do you get to test different ROMs on the 16GB SD? how do you get to clear Data
[Streak 5 General] deysmacro:
alright.. managed to complete the flashing of modified longhorn 2.9.3 using recovery S5sd8-6.0.1.2.img

so far so good... quadrant advanced score is around 19xx :D

no noticeable slow or lag :)
[Streak 5 General] deysmacro:
you hv to use recovery specifically made for it... for me i use S5sd8-6.0.1.2.img, properly partition the innersd to the desired layout and size and then flash update-S5-S5ex-S5sd-LongHorn-2.9.3-b1.zip

you dont need to wipe data / wipe cache etc... just reboot from recovery after flashing...

also when testing different rom... nope.. i dont.. i just use longhorn only :p
[Streak 5 General] elsaghir:
Thanks for the reply, I could not find the S5sd8-6.0.1.2.img where did you get it? it must be an updated recovery from TheManii's 6.0.1.2, but he does not have it on that thread.
[Streak 5 General] deysmacro:
i hope you know what are you doing...

http://xdaforums.com/showpost.php?p=31643924&postcount=98
[Streak 5 General] elsaghir:
Thanks, I over-looked it. I was searching for S5sd8-6.0.1.2.img...

I have the DS5 as my test/flashing phone now, I got a new update from AT&T Galaxy Note.

So, I am welling to try anything on it to learn and help testing.
[Streak 5 General] deysmacro:
Visual working example

If let say you are trying to use matching recovery of streak5sd8 that is large innerSD Layout (8-16gb), below is the visual working example for 16GB microSD card...

hopefully you guys can understand it a bit better now of those partition layout :)
[Streak 5 General] TheManii:
I had to remove that pic from the wiki page as it really wasnt the right place, hope you dont mind.

But this is the right place, you're welcome to write a beginner's level guide to repartitioning it if you want.

I wrote an advanced level one, and I dont plan on writing/modifying it to a lower level of difficulty.

Soon enough at least some of the topics will need to be spun off this thread as I'm nearly done and the beta test request page is buried under dozens of posts already.
[Streak 5 General] deysmacro:
yeah.. when i look at the wiki again... the pic really not at home there since that wiki was meant for advanced users and not for beginners .. lol .. silly me :p

---

yup.. some of it really need to be spunned already .. and the beta test page maybe can be made into its own thread.. :)

p/s: hehe .. 500th post :D
[Streak 5 General] TheManii:
I will be spinning off the new recs and sample roms into a new thread later.

I didnt realize I didnt have an actual thread to organize changing layouts.

Very least it'll make switching from streak <-> streak5ex easy,

as it's as simple as flashing CWM/S5ex and fac resetting.

But any talk that isnt rom/rec related will still remain on this thread.
[Streak 5 General] elsaghir:
Well Done

Great Job TheManii. I have the update-S5-S5ex-S5sd-LongHorn-2.9.3-b1.zip running very well.

New inner sd 16GB with four partitions cache/data/system ext4 and a fourth fat32 I am still trying to see what to do with it...

Thanks deysmacro for the help.

edit:

how do you access the FAT32 partiotion on the innersd? it is not mounted.

I was able to mount it to /mnt/innersd.
[Streak 5 General] TheManii:
Right now it's completely unused as I'm more focused on getting it out without it.

For the moment you can use it for storing nandroids and that's about it, if you're able to mount it to <whatever you named it>, you can use it manually too.
[Streak 5 General] elsaghir:
That is great, Canot ask for more than that :D
[Streak 5 General] elsaghir:
Mounting the FAT32 partition on the inner 16GB SD Card

Here is what I did to access the FAT32 partition on the inner 16GB SD card:

Using

sshDroid

from the market I am able to ssh to the phone while it is on my WiFi network

So, From my Ubuntu PC I Type

ssh root@phone_ip_address

In my case it is 192.168.15.100

Created "innersd" folder in /mnt/sdcard/

cd /mnt/sdcard
mkdir innersd

mount the innersd0p8 to the new folder

mount /dev/block/innersd0p8 /mnt/sdcard/innersd/

I am able to access this partition as if it is a folder in the regular sdcard.

Now, if I can do this automatically on boot then I can move stuff to this partition and free space on my ext-sdcard

I know I can do that in linux using the fstab
[Streak 5 General] TheManii:
I have essentially the equivilent in my init.rc, and I couldnt ever get it to mount the proper way.

The only correct way to dual mount sds on GB is to make innersd0p8: /sdcard and the outerSD a folder inside it.

Otherwise android cant take advantage of the innerSD fully.

It's likely due to the way it mounts the outerSD
[Streak 5 General] elsaghir:
First: Thank you for the fast reply :good:

Second: the way I have it now, mount manually, is working great, I am able to access the innersd0p8 as a folder inside the sdcard. So, do not worry about it for now, I can use it like this for now. I am going to see if there is a way to run a script file to do all this manual stuff at boot or just something I click on and run it.
[Streak 5 General] deysmacro:
nice :good: :D

now i just use root explorer to access the fat32 innersd... :D
[Streak 5 General] TheManii:
I might just make a ramdisk mod to mount it as /sdcard2 until I figure out the right way to do it.

It's not the right way, but having a drive you can only manually move files to/from > not being able to use it at all.
[Streak 5 General] deysmacro:
yeah.. at least we got something from this :D

---

i have found application that autorun script after boot... use that and it would mount the vfat once booted :)
[Streak 5 General] jitin02:
tried and succeded But then i did i restart and again tried these commands but got "no such file or directory"

!!!!!

and also, is to normal for the root explorer to force close when try to access /dev/block manually ?

Edit: btw, how to know if the innersd0p8 is mounted there and that folder "innersd" is not using anyother space except the innersd0p8?
[Streak 5 General] deysmacro:
you have to use script to make it mount on boot...

--

yeah... root explorer would force close since it is not designed to handle it...