[TUTORIAL] How to Use Multiple Partition in FROYO - XPERIA X10 Android Development

Hi All,
I have asked this question a few days back and now i got a solution for this so posting the details here.
So here are tips and tricks on how to partition your SDCARD and still get it detected by the Phone.
Ohk so first off all credits
this method is not my own i have got tips from here
http://forum.xda-developers.com/showpost.php?p=11687387&postcount=6
http://forum.xda-developers.com/showthread.php?t=811548 <- check the first post right after the quoted portion. That also suggest that last partition is used by froyo.
Based on this i started on the experiments and this is what i found.
Note : I have 3 partition right now.
500 MB = vfat first partition
1.5 GB = ext2 - kept for linux dualbooting experiments
5.4 GB = vfat second partition.
Based on my experiments this is what i can see.
first and last partition should be vfat.
first partition is available in recovery mode.
last partition is detected by froyo.
So if you want to use multiple partition then you need to make sure of keeping the following things in mind..
Note to MOD : Mod i thought this is related to DEV hence posted in this if this sounds more like a Q&A or other forum material please move the post to correct forum.

And why would I need it or what's the advantage of doing this?

FabricioGS said:
And why would I need it or what's the advantage of doing this?
Click to expand...
Click to collapse
as of now u wont...
but this brings up possibilities to have multiple OSes on SDCARD (without need of loop mounting)...
something like on mult OS ibooting HDDs...

FabricioGS said:
And why would I need it or what's the advantage of doing this?
Click to expand...
Click to collapse
Right now nothing of use to normal user.
however as dev's are working on custom kernel and DooMLorD working on custom kernel manager and ROM manager scripts.
I thought having mutiple partitions can also help. So did an experiment .
However explicitly for me its basic usage is for Experiments on Linux dual booting on X10i

Nice find!
But we still can't use Link2SD, right?

My_Immortal said:
Nice find!
But we still can't use Link2SD, right?
Click to expand...
Click to collapse
Didn't tried but we can i suppose after getting our partittions to properly mount.
also why Link2SD when you already have app2sd in froyo.

anantshri said:
Didn't tried but we can i suppose after getting our partittions to properly mount.
also why Link2SD when you already have app2sd in froyo.
Click to expand...
Click to collapse
Links2SD moves much more data to SD than native Froyo.
And also, I can use the SD as storage without the apps becoming unavailable.
And I can move any app whether it supports it or not!

My_Immortal said:
Links2SD moves much more data to SD than native Froyo.
And also, I can use the SD as storage without the apps becoming unavailable.
And I can move any app whether it supports it or not!
Click to expand...
Click to collapse
Alright so you added one more task for my testing.
1) check how to automount other partitions
2) check Link2SD working
give me some time and i will check and report back that.

This is good info mate. Good news (hopefully) for those of use that prefer Link2SD.

Just what I'm looking for for Dec my next rom
Thanks
Does it work for ext4 partitions
Sent from my X10project using XDA App

rdannar said:
Just what I'm looking for for Dec my next rom
Thanks
Does it work for ext4 partitions
Sent from my X10project using XDA App
Click to expand...
Click to collapse
Should work... we were also checking if we can have 3 to 4 logical partitions inside an extended partition...
Anantshri told me that the only requirement is that the last partition needs to be vfat
sent from FreeX10_beta4+CM6 settings

DooMLoRD said:
Should work... we were also checking if we can have 3 to 4 logical partitions inside an extended partition...
Anantshri told me that the only requirement is that the last partition needs to be vfat
sent from FreeX10_beta4+CM6 settings
Click to expand...
Click to collapse
It should work with ext4 also however not tested yet
also i am a bit skeptical coz read a lot about journaling have bad effect on SD CARD's life.
hey BTW can somebuddy point me to a place where i can purchase good SDCARD say for 16GB or more size. I am currently stuck with 8GB stock card by SE.
and you can guess it gets preety small for testing these stuff.

anantshri said:
Alright so you added one more task for my testing.
1) check how to automount other partitions
2) check Link2SD working
give me some time and i will check and report back that.
Click to expand...
Click to collapse
Link2SD i tried installing however it seems to have some issues detecting my partition.
I have
following layout right now
800MB - vfat - part1
1.6 GB - ext2 - part2
5 GB - vfat - part3
so we might need to look at the source code of the application

anantshri said:
Link2SD i tried installing however it seems to have some issues detecting my partition.
I have
following layout right now
800MB - vfat - part1
1.6 GB - ext2 - part2
5 GB - vfat - part3
so we might need to look at the source code of the application
Click to expand...
Click to collapse
Yeah, Link2SD detects the second primary partition only,
so maybe we can talk to the developer to implement a workaround
for issues like ours!

My_Immortal said:
Yeah, Link2SD detects the second primary partition only,
so maybe we can talk to the developer to implement a workaround
for issues like ours!
Click to expand...
Click to collapse
All 3 of my partitions are made primary i did took care on that part.....
there is still some kinkyness left .
I have PM'ed the dev to seek his guidence on that lets see what we can get as response from him.

anantshri said:
All 3 of my partitions are made primary i did took care on that part.....
there is still some kinkyness left .
I have PM'ed the dev to seek his guidence on that lets see what we can get as response from him.
Click to expand...
Click to collapse
Thanks for all your efforts!
So, if I partition my SD like that to experiment,
will there be a problem with Froyo apps2SD and the vfat partition?

DooMLoRD said:
Should work... we were also checking if we can have 3 to 4 logical partitions inside an extended partition...
Anantshri told me that the only requirement is that the last partition needs to be vfat
sent from FreeX10_beta4+CM6 settings
Click to expand...
Click to collapse
cool will try it with my class 10 sd card

zabihjan said:
cool will try it with my class 10 sd card
Click to expand...
Click to collapse
Hey buddy just my thought out loud....Please don't flame me if that doesn't work for you. its working for me and that's why i posted. I think this a common rule for dev threads however just stating it again here.

My_Immortal said:
Thanks for all your efforts!
So, if I partition my SD like that to experiment,
will there be a problem with Froyo apps2SD and the vfat partition?
Click to expand...
Click to collapse
(from wht i gather) froyo+ android versions use /sdcard/.android_secure for native app2sd
there is a A2SD implementation which uses ext2/4 filesystem on sdcard to move apps to

Related

[Q] Questions with apps and external memory.

Ok im still new with Android. I rooted my att aria. this is my rom version below. Ive been reading up a bit on how to use an SD card to install apps to instead of internal memory. I dont want to use it all up i hear that your phone can crash etc.
But not sure if my rom supports Using an external SD instead of internal memory. I have the app: "Rom Manager" which has those options to do with the external.
Just wondering what Roms for the aria support this . Ive seen alot of tutorials and not one of them are the same as the other. so wondering where the best spot for a tutorial would be for the "Aria"
Thanks
Rom Version: Liberated Aria Fr008 (FRF91)
pcrat said:
Ok im still new with Android. I rooted my att aria. this is my rom version below. Ive been reading up a bit on how to use an SD card to install apps to instead of internal memory. I dont want to use it all up i hear that your phone can crash etc.
But not sure if my rom supports Using an external SD instead of internal memory. I have the app: "Rom Manager" which has those options to do with the external.
Just wondering what Roms for the aria support this . Ive seen alot of tutorials and not one of them are the same as the other. so wondering where the best spot for a tutorial would be for the "Aria"
Thanks
Rom Version: Liberated Aria Fr008 (FRF91)
Click to expand...
Click to collapse
That ROM has DT A2SD support, so all that you need to do is create an EXT partition on the SD card using ROM Manager and you should be good to do.
Great thanks. I hear talk that ext 2 is better than 3, an others say it the otherway around... so does it REALLY matter?
pcrat said:
Great thanks. I hear talk that ext 2 is better than 3, an others say it the otherway around... so does it REALLY matter?
Click to expand...
Click to collapse
I used whatever the default in ROM Manager is.
pcrat said:
Great thanks. I hear talk that ext 2 is better than 3, an others say it the otherway around... so does it REALLY matter?
Click to expand...
Click to collapse
ext2 is supposed to be easier on your SD card. ext3 uses journaling, which is said to wear down your sd card faster than normal. Not sure how much faster, or if it even has any affect on todays SD cards.
What the journaling does is it writes to the sd card on the fly so if the phone has an unexpected crash/shutdown, you have a better chance of everything on the ext being saved and less chance of any data loss/corruption. Ext2 doesnt have this protection. When I was running ext2 i never once had any problem with data loss/corruption. Rom Manager now does ext3 by default so I upgraded to ext3. If i could get ext4 support on cm7 I would upgrade to ext4.
Performance wise, there is no difference between ext2 and ext3. Ext4 however supposedly offers a performance increase. Ive not used ext4 on an sd card so I cant speak to that.
CallMeAria said:
ext2 is supposed to be easier on your SD card. ext3 uses journaling, which is said to wear down your sd card faster than normal. Not sure how much faster, or if it even has any affect on todays SD cards.
What the journaling does is it writes to the sd card on the fly so if the phone has an unexpected crash/shutdown, you have a better chance of everything on the ext being saved and less chance of any data loss/corruption. Ext2 doesnt have this protection. When I was running ext2 i never once had any problem with data loss/corruption. Rom Manager now does ext3 by default so I upgraded to ext3. If i could get ext4 support on cm7 I would upgrade to ext4.
Performance wise, there is no difference between ext2 and ext3. Ext4 however supposedly offers a performance increase. Ive not used ext4 on an sd card so I cant speak to that.
Click to expand...
Click to collapse
cm7 has ext4 support in even the stock kernel
or are you talking about s2e?
drowningchild said:
cm7 has ext4 support in even the stock kernel
or are you talking about s2e?
Click to expand...
Click to collapse
maybe its s2e then. I know s2e can mount my ext3 as ext4, but if I actually format to ext4 it wont mount. I thought the problem was with cm7, but I guess it must be s2e just doesnt support it.
CallMeAria said:
maybe its s2e then. I know s2e can mount my ext3 as ext4, but if I actually format to ext4 it wont mount. I thought the problem was with cm7, but I guess it must be s2e just doesnt support it.
Click to expand...
Click to collapse
s2e says it has support for ext4 without journaling in the latest update
havent tried but i used DT with ext4 and it worked fine but i didnt like DT, as it caused random issues too much
drowningchild said:
s2e says it has support for ext4 without journaling in the latest update
havent tried but i used DT with ext4 and it worked fine but i didnt like DT, as it caused random issues too much
Click to expand...
Click to collapse
I think that's the mount as ext4 option, which mounts the ext3 as ext4 without journaling. I just started using it a couple days ago and I haven't noticed any concernable diffrence though. Maybe ill try formatting to ext4 again and see if s2e takes it now.
Sent from my cm7 Aria.
ok well, i tried the rom manager and it dont work. so i did it manually. use a partition editor. First Partition is Fat32 approx 1.6 GIGS second partition is ext2 approx. 250 MB so how do i know if the apps will install or not to the ext2?
Thanks
pcrat said:
ok well, i tried the rom manager and it dont work. so i did it manually. use a partition editor. First Partition is Fat32 approx 1.6 GIGS second partition is ext2 approx. 250 MB so how do i know if the apps will install or not to the ext2?
Thanks
Click to expand...
Click to collapse
Open up the Terminal Emulator program. Grant it root access when the Super User prompt comes up.
At the # prompt, enter:
a2sd status
It will then print out the status of the a2sd application.
Ok i got it working.. but now alot of my apps dont work. and also neither does the Android market...
1.5GB Fat32 | 250MB Ext3 | 32MB Linux Swap
Try a2sd repair.it will reinstall everything again.been using dt since november and never had problems with it.
Sent from my Liberty using XDA App
ok i tried that that didnt work. I even did it before i put the Sdcard back in.
If I misunderstood you Im sorry.but you can't remove your SD card at all when running dta2sd.if you do it will mess up.
Sent from my Liberty using XDA App
Also if your using the included version of dt you might try the latest stable one 2.7.5.2 there are betas but they've always give me problems.
Sent from my Liberty using XDA App
ok i see. i did the a2sd while i had my sd in the laptop. its ok i backed up the rom first. just reflash and try again...
I was wondering about that..
Thanks will let ya know....
I download dtapps2sd-2.7.5.2-signed but cant find it.. sorry a bit new to this still.
once i flash it in recovery mod how do ya access the dtapps2sd then?
That was the problem,, all is transfered now.
Thanks a bunch.
If you downloaded with the xda app it will be in tapatalk downloads. If you downloaded through your browser its in the plain download folder.fr008 comes with astro you can use it to move the file to your SD root if you like but you can browse folders while in recovery also
Sent from my Liberty using XDA App

[Q] dual partition SDCARD not mounting

Hi All,
I am trying to have two partitions on my sdcard.
however on CM 6 based ROM's i am getting error which says
SDCARD blank or unsupported filesystem
Please suggest what could be the problem.
You have to delete the second partition. In other words delete the one that wasn't on ur SD card before. The reason it wont work is because froyo comes naturally with apps 2 sd
Sent from my X10i using XDA Premium App
well thats the point i want the partition.
I know removing it gives me back my card however i want to find out the problem and get a solution that's why pooling idea's here
Sent from my X10i using XDA App
anantshri said:
well thats the point i want the partition.
I know removing it gives me back my card however i want to find out the problem and get a solution that's why pooling idea's here
Sent from my X10i using XDA App
Click to expand...
Click to collapse
The problem is that custom ROMS mount the second partition
and that being in ext.. format, it is not recognised.
Why that is, only the devs know.
Probably they could not ensure stability with this feature implemented.
So, for now, there is no solution and you will have to live with native apps2SD and not apps2SD+.
My_Immortal said:
The problem is that custom ROMS mount the second partition
and that being in ext.. format, it is not recognised.
Why that is, only the devs know.
Probably they could not ensure stability with this feature implemented.
So, for now, there is no solution and you will have to live with native apps2SD and not apps2SD+.
Click to expand...
Click to collapse
Thanks for the explaination My_Immortal,
that stregthen's my idea.
i can assume that there is some code somwhere going like this
mount -t vfat /dev/block/mmcblk1p2 /<some_folder>
we need to change it to mount -t ext2
to get ext2 working.
ohk now let me check my custom ROM code base.
IF we could pin point the file that would be too good
Done
Hi All I got the solution
Please refer this thread
http://forum.xda-developers.com/showthread.php?t=1065348

How to format Internal SDCard to EXT4?

Hi there,
I've tried to follow other "tutorials" (for another Android phones) to format my internal SD Card to ext4, but with no success.
My method was:
- Connect phone to Linux PC
- Enable USB Storage on Phone (the drive appears in Linux)
- dmesg | tail (to see new device and partition name, for example, /dev/sdb1)
- mkfs.ext4 /dev/sdb1
- Unmount partition in Linux
- Stop USB Storage on Phone
- Unplug Cable
And the result is.......... The phone formats the Internal SD again to vfat!!!
Why does this happen? Any ideas?
How can i surpass this? I have Latest stock rom (rooted).
Getting lost here... :\
Cheers,
Phk
1. Download Minitool Partition Wizard
2. Connect phone with USB mass storage
3. Open Minitool Partition en right click on the SD Card and choose format.
4. Choose file system EXT4 and 32KB cluster size
5. When you did all that, you click the "Apply" button in the top left corner.
6. Wait for it to finish and voila!
Hope this helps!
sorry for this question, but why do you want to do that? is it so that you can use the whole 16gb for apps and store media on your external SD only?
punshkin said:
sorry for this question, but why do you want to do that? is it so that you can use the whole 16gb for apps and store media on your external SD only?
Click to expand...
Click to collapse
Obviously to use HD-Video on the phone.
Files often exceed 4 Gigabyte, and for that filesystems like ntfs, exfat or ext4 are needed.
Going to give it a try soon, thanks nerotix!
nerotix said:
1. Download Minitool Partition Wizard
2. Connect phone with USB mass storage
3. Open Minitool Partition en right click on the SD Card and choose format.
4. Choose file system EXT4 and 32KB cluster size
5. When you did all that, you click the "Apply" button in the top left corner.
6. Wait for it to finish and voila!
Is there a way of doing this through windows? Also would it be worth doing it to my 16gb external SD. Thanx in advance
Hope this helps!
Click to expand...
Click to collapse
Sent from my GT-I9100 using XDA Premium App
You will need to patch some files for that to work. It's not bothered me enough that I want to fix it. If you restart your phone, it will reformat your internal SD-card to vfat, even if it's already ext4-formatted.
I'm also interested in this.
Really, it will change back to the original file system?
Which files would we have to patch to prevent this?
dyallo said:
I'm also interested in this.
Really, it will change back to the original file system?
Which files would we have to patch to prevent this?
Click to expand...
Click to collapse
It depends, I believe alot of ROMs are ext4 supported, for those that are ext4 supported you dont have to patch anything I believe.
Guys please post only after testing. This is important to avoid deadlocks.....
Facts:
#1 - Current SGS2 Stock roms have rootfs and datafs formatted in EXT4 so they do support it
#2 - they force sd format to vfat so that is probably what needs patching.
Question is :
A - WHICH system app do we need to patch
B - Does the SD mount correctly as ext4 ?
Cheers and thanks
Phk
Sent from my GT-I9100 using XDA App.... at 220km/h on a jet train
Phk said:
Guys please post only after testing. This is important to avoid deadlocks.....
Facts:
#1 - Current SGS2 Stock roms have rootfs and datafs formatted in EXT4 so they do support it
#2 - they force sd format to vfat so that is probably what needs patching.
Question is :
A - WHICH system app do we need to patch
Click to expand...
Click to collapse
That is the million dollar question indeed.
Phk said:
B - Does the SD mount correctly as ext4 ?
Click to expand...
Click to collapse
No, it does not.
Tried both a microSD inside and another SD external via USB-OTG.
The OS 'catches' the 'faulty' ext4 cards and prevents mounting, which should work perfectly allright seeing Fact #1.
PS: The minitool mentioned above does not allow cluster sizes of 32 KB, only 1, 2 and 4 (checked this with an 8 GB mSDHC and 16 GB SDHC).
As far as I can remember:
/init.rc:
Code:
exec apply_system_policy /dev/block/mmcblk0p11 vfat
and /init which only seems to support FAT mounted SD-cards.
So you can take a look here http://forum.xda-developers.com/showthread.php?p=14642927#post14642927
I think it will support NTFS soon when the devs are really interested in
sgstwo said:
As far as I can remember:
/init.rc:
Code:
exec apply_system_policy /dev/block/mmcblk0p11 vfat
and /init which only seems to support FAT mounted SD-cards.
Click to expand...
Click to collapse
THANKS.
I'm going to comment the init.rc line and try manual procedure again.
Stay tuned
Phk said:
THANKS.
I'm going to comment the init.rc line and try manual procedure again.
Stay tuned
Click to expand...
Click to collapse
Oh great.. Guess what.. /init.rc gets renewed at boot
rootfs is readonly, i've mounted it RW, edited init.rc, commented the vfat line, formatted the SD, and then reboot.
When the device booted, SD was clean and mounted with VFAT again
Suggestions?
MyrddinLXXIIX said:
That is the million dollar question indeed.
No, it does not.
Tried both a microSD inside and another SD external via USB-OTG.
The OS 'catches' the 'faulty' ext4 cards and prevents mounting, which should work perfectly allright seeing Fact #1.
PS: The minitool mentioned above does not allow cluster sizes of 32 KB, only 1, 2 and 4 (checked this with an 8 GB mSDHC and 16 GB SDHC).
Click to expand...
Click to collapse
yes it does allow 32KB and even 64KB, either u got an old version of the program or a crappy SD card
Phk said:
Oh great.. Guess what.. /init.rc gets renewed at boot
rootfs is readonly, i've mounted it RW, edited init.rc, commented the vfat line, formatted the SD, and then reboot.
When the device booted, SD was clean and mounted with VFAT again
Suggestions?
Click to expand...
Click to collapse
/init and /init.rc are part of zImage (the kernel). You must extract the initramfs, update the file, and write the changes back. You will probably get a yellow triangle (non-Samsung kernel message) if you manage to boot it.
sgstwo said:
/init and /init.rc are part of zImage (the kernel). You must extract the initramfs, update the file, and write the changes back. You will probably get a yellow triangle (non-Samsung kernel message) if you manage to boot it.
Click to expand...
Click to collapse
Are you sure about that?
If so, how can i extract initramfs?
Thanks
Phk said:
Are you sure about that?
If so, how can i extract initramfs?
Thanks
Click to expand...
Click to collapse
Did you get it working Phk? Keep us updated
Nope!
I PM'd Chainfire asking for help on rebuild initramfs, but he didn't care.
I saw on his CFRoot post that he built a toolchain for recompiling the initramfs, so his stuff would be pretty useful in this case....
.. come on chain, clear us out.. Or include this in your next kernel, whatever.. :\ SUCKS.
Phk said:
Nope!
I PM'd Chainfire asking for help on rebuild initramfs, but he didn't care.
I saw on his CFRoot post that he built a toolchain for recompiling the initramfs, so his stuff would be pretty useful in this case....
.. come on chain, clear us out.. Or include this in your next kernel, whatever.. :\ SUCKS.
Click to expand...
Click to collapse
http://bit.ly/jRSCxJ
Was that hard? You know how many projects he's carrying on? Why he'd have to waste his time for such a simple thing that a Google search can do?
Please if you think I've been too rude re-read the forum rules prior to answer this post... if you've ever done it...
Sent from my Galaxy SII
If you find this post usefull please press the "Thanks" button

ext4 on sdcard

hi everyone
sorry if this is a stupid question but is it possible to use the ext4 format on a sdcard on cm7.2?
btw: i have already used the searchengine and found nothing...
sorry for my bad englisch
emyaz said:
hi everyone
sorry if this is a stupid question but is it possible to use the ext4 format on a sdcard on cm7.2?
btw: i have already used the searchengine and found nothing...
sorry for my bad englisch
Click to expand...
Click to collapse
Its possible but not advisable to use a journalled file system on sdcards / usb sticks and their like.
pkfox said:
Its possible but not advisable to use a journalled file system on sdcards / usb sticks and their like.
Click to expand...
Click to collapse
Hmm.... could he mean creating an ext4 partition and if its compatible with CM7? That was my first interpretation of the question.
Sent from my MB508 using xda premium
gagdude said:
Hmm.... could he mean creating an ext4 partition and if its compatible with CM7? That was my first interpretation of the question.
Sent from my MB508 using xda premium
Click to expand...
Click to collapse
Oh, I didn't see him mention Cm7 ! But my reply still stands
yes its imposimble
No, its possible, you would need to write a script which automounts the ext4 partition at boot as vold won't do that and fixes permissions, as you would get lots of fcs without.
Gesendet von meinem HTC Vision mit Tapatalk 2
Yes it is possible. U need to install data2sd (flash from cwm/any custom recovery) or link2sd available in android market.
Search for link2sd and data2sd in google or here in xda.
finance.resat said:
Yes it is possible. U need to install data2sd (flash from cwm/any custom recovery) or link2sd available in android market.
Search for link2sd and data2sd in google or here in xda.
Click to expand...
Click to collapse
i think he talks about formatting the whole sdcard with ext4 and mount that partition as sdcard for performance purposes. Correct me if i'm wrong, but thats how i understood that post. I actually tried the same a few months ago, there really seems to be increased perfomance of the sdcard and using fat32 on a linux devices doesn't make too much sense for me anyways.
Matze5800 said:
i think he talks about formatting the whole sdcard with ext4 and mount that partition as sdcard for performance purposes. Correct me if i'm wrong, but thats how i understood that post. I actually tried the same a few months ago, there really seems to be increased perfomance of the sdcard and using fat32 on a linux devices doesn't make too much sense for me anyways.
Click to expand...
Click to collapse
yes thats my question...
I always try and use ext4 in my sd cards. Performance seems to be better. The only reason I ever use FAT32 is so that I can view content in Windows.
No sir. U have to use a partitioning tool to format your SD vard. I am a noob. Learned this technique in xda. It's called a "minitool partition wizard home edition". U can create different number of formats all primary though. I used ext4 for a long time. But now I use ext2. The computer only recognises the first primary partition. So the ext2/4 will not be recognised by the pc and with the help of link2sd or data2sd U'll be able to use it as your internal memory if your phone memory is really tiny. It's related to performance but first its related to expanding your internal memory.
Sent from my HTC Wildfire S A510e using xda premium
finance.resat said:
No sir. U have to use a partitioning tool to format your SD vard. I am a noob. Learned this technique in xda. It's called a "minitool partition wizard home edition". U can create different number of formats all primary though. I used ext4 for a long time. But now I use ext2. The computer only recognises the first primary partition. So the ext2/4 will not be recognised by the pc and with the help of link2sd or data2sd U'll be able to use it as your internal memory if your phone memory is really tiny. It's related to performance but first its related to expanding your internal memory.
Sent from my HTC Wildfire S A510e using xda premium
Click to expand...
Click to collapse
I know . I am using link2sd but i want to format the whole sd card with ext4 because ext4 is faster than fat32 but if its not possible then i let it...
Sorry for my bad englisch...

Androwook/data2sd question

What happens to the crappy internal memory when you choose the data2sd option? Is it still accessible for storing files / movies / pictures etc. Or does the microsd card become the only storage option?
you will be able to access it under /data1/
Tempie007 said:
you will be able to access it under /data1/
Click to expand...
Click to collapse
It doesn't become data1, I made it become InternalSD.
There is a flashable file in post 2 of the androwook thread that will make that folder available from the sdcard.
flumpster said:
It doesn't become data1, I made it become InternalSD.
There is a flashable file in post 2 of the androwook thread that will make that folder available from the sdcard.
Click to expand...
Click to collapse
Thanks... I should learn to keep reading. Using that flash able file worked out well.
And I also learned a lesson about not ejecting the microsd card while the system is running. Curiosity got the best of me.
flumpster said:
It doesn't become data1, I made it become InternalSD.
There is a flashable file in post 2 of the androwook thread that will make that folder available from the sdcard.
Click to expand...
Click to collapse
Well, it still becomes /data1/ when you choose the data2sd option.
i didnt know about that zipfile , sounds good to have it mounted on a better accessible place. maybe include that in the rom itself?
thx !
Tempie007 said:
Well, it still becomes /data1/ when you choose the data2sd option.
i didnt know about that zipfile , sounds good to have it mounted on a better accessible place. maybe include that in the rom itself?
thx !
Click to expand...
Click to collapse
It really doesn't mate. I made the data2sd kernel and I should know what I named it lol
If it really did get renamed to data1 the script I also created in post 2 would not work
flumpster said:
It really doesn't mate. I made the data2sd kernel and I should know what I named it lol
If it really did get renamed to data1 the script I also created in post 2 would not work
Click to expand...
Click to collapse
Not in my case.
Hairybean 1.51, with the included stock kernel with data2sd
See attachments.
Tempie007 said:
Not in my case.
Hairybean 1.51, with the included stock kernel with data2sd
See attachments.
Click to expand...
Click to collapse
You know, that is the only option that I never tested. If that is showing data1 that is a very old one I made and should not have been included in 1.51. Wook must have added it by accident.
The script in post 2 to mount the folder into sdcard will definitely not work for you.
Any reason you're not using the clemsyns one with data2sd? Without that you are missing out on fsync, init.d and other speed improvements.
flumpster said:
You know, that is the only option that I never tested. If that is showing data1 that is a very old one I made and should not have been included in 1.51. Wook must have added it by accident.
The script in post 2 to mount the folder into sdcard will definitely not work for you.
Any reason you're not using the clemsyns one with data2sd? Without that you are missing out on fsync, init.d and other speed improvements.
Click to expand...
Click to collapse
Yea it used to be like this in the old versions too.
I choose the stock kernel because of stability, have seen weird things happening with older custom kernels on this device, i think mostly due to overclocking and undervolting.
Is clemsyns kernel stable? No SOD, no instant reboots etc?
Tempie007 said:
Yea it used to be like this in the old versions too.
I choose the stock kernel because of stability, have seen weird things happening with older custom kernels on this device, i think mostly due to overclocking and undervolting.
Is clemsyns kernel stable? No SOD, no instant reboots etc?
Click to expand...
Click to collapse
We all use Clems kernel. I use it now without data2sd but I also used it with data2sd for ages before while testing and I know 1 or 2 of the team members still do and we have never encountered any problems with it at all.
Sorry for doubting you earlier mate, glad you brought it up really so I will know to swap it out on the next release.
Weird how no one else has brought this up sooner but I guess everyone else who is using data2sd is using the clems version.
flumpster said:
We all use Clems kernel. I use it now without data2sd but I also used it with data2sd for ages before while testing and I know 1 or 2 of the team members still do and we have never encountered any problems with it at all.
Sorry for doubting you earlier mate, glad you brought it up really so I will know to swap it out on the next release.
Weird how no one else has brought this up sooner but I guess everyone else who is using data2sd is using the clems version.
Click to expand...
Click to collapse
Ok sounds very good, going to flash it tomorrow with the additional zip in post2.
No worries, your work is appreciated.
Really happy with this ROM! :thumbup:
flumpster said:
We all use Clems kernel. I use it now without data2sd but I also used it with data2sd for ages before while testing and I know 1 or 2 of the team members still do and we have never encountered any problems with it at all.
Sorry for doubting you earlier mate, glad you brought it up really so I will know to swap it out on the next release.
Weird how no one else has brought this up sooner but I guess everyone else who is using data2sd is using the clems version.
Click to expand...
Click to collapse
Does the clemsyn kernel make everything smooth even without data2sd? I was curious as to why you don't use data2sd still.
Thanks for your amazing work .
laggyprime said:
Does the clemsyn kernel make everything smooth even without data2sd? I was curious as to why you don't use data2sd still.
Thanks for your amazing work .
Click to expand...
Click to collapse
if you have never used data2sd with clemsyns kernel you will find the clemsyn kernel used with one of the two stock roms is the fastest your prime has ever been. with data2sd it is still slightly better. but not enough to warrant the purchase of an microsd card. In fact I will not even test non stock roms right now because this kernel is only available for stock roms and its way to big a performance hit to use another kernel.
noob question
hi this is my first post ever on xda, so i have some noob questions sorry, ive looked and havent been able to find anything concrete. i installed hairy bean 1.5 with clemsyn elite 1.7 kernel, but id like to try the clemsyn data2sd kernel instead because of the i/o issues, i havea 32gb class 10 micro sd, ive read that its a good idea to partition the majority of the card in etx4 is this true, im not sure how to properly partition for this rom, if someone could give me a recomendation that would be awesome, and from what ive understood so far if i install clemsyn data2sd kernel i would not have issues with accessing the internal storage of prime right?
gastonwalpole said:
hi this is my first post ever on xda, so i have some noob questions sorry, ive looked and havent been able to find anything concrete. i installed hairy bean 1.5 with clemsyn elite 1.7 kernel, but id like to try the clemsyn data2sd kernel instead because of the i/o issues, i havea 32gb class 10 micro sd, ive read that its a good idea to partition the majority of the card in etx4 is this true, im not sure how to properly partition for this rom, if someone could give me a recomendation that would be awesome, and from what ive understood so far if i install clemsyn data2sd kernel i would not have issues with accessing the internal storage of prime right?
Click to expand...
Click to collapse
You can use Gpart (linux) by running live cd or you can download minitool http://download.cnet.com/MiniTool-Partition-Wizard-Home-Edition/3000-2094_4-10962200.html you need a fat32 partiton first then the rest ext4. For the fat32 I suggest using a cluster size of 16k I have tried lower with poor results. Depending on what you plan on using the windows partition for will determine the size. You can go any where from 1 gb and up, just know that when you connect to the sdcard on a windows machine you will only se the fat32 part so if you plan on transfering files make the partition big enough to handle that.
And what is on the EXT4 partition ? System and other folders which is on internal storege??
thx
saifon said:
And what is on the EXT4 partition ? System and other folders which is on internal storege??
thx
Click to expand...
Click to collapse
The only thing on the ext4 partition is the entire contents of /data
So basically the FAT32 partition is for media (music, picts and movies) and the EXT4 for the system to install app and what it needs to work? Is that right?
TBagwell said:
So basically the FAT32 partition is for media (music, picts and movies) and the EXT4 for the system to install app and what it needs to work? Is that right?
Click to expand...
Click to collapse
The fat partition is the External SD space. The ext partition becomes the entire /data folder from android which also includes the Internal SD.

Categories

Resources