[Q] How to partition a EXT-4 to sd-card? - XPERIA X8 Q&A, Help & Troubleshooting

How to partition My SDHC 8GB card to EXT4?

for exemple with a partitionprogram like this http://www.partitionwizard.com

But you dont need to format whole card, just create another partition and format it....
Sent from my Shakira using XDA App

I've also done this and is now partition thanks to This Tutorial Here
My question though is: "How can i tell that the apps are being installed in the EXT? that I partition since I have an 8GB SDcard and i left the rest for the games and apps, can anyone tell that part?"
Thanks in advance for the help.
Sent from my Ever Wondering Doubtful Thoughts.

First you need to root your phone and install from market link2sd....or install one custom roms and change in settings installation place,but for custom rom you dont need ext parition coz app can be installed directly to sd
Sent from my Shakira using XDA App

I followed the tutorial linked by istreva, and I also succeded in formatting and/or creating ext partition directly with the phone plugged via USB (mounted as a mass memory), without physically removing the SD from the phone and thus removing the cover (annoying for me).
Custom ROMs usually autodetect your ext partition and install your apps directly there, without changing any setting.
Moreover, I prefer to keep my apps in an ext partition rather than directly on the FAT, because I can plug in the phone as a mass memory without letting apps stop functioning

Related

[Q] difference between apps2sd and apps2ext

I am a noob and have recently discovered android and wanted to know that what is the difference between apps2sd and apps2ext????
mahroze said:
I am a noob and have recently discovered android and wanted to know that what is the difference between apps2sd and apps2ext????
Click to expand...
Click to collapse
I think your talking about the difference between apps to ext or froyo's built in apps to fat?
if so:
apps to ext tricks the os into thinking that a special ext partition on your sd card is your data partition. this way all app data goes to the sd card and saves your data partition completely.
pros:
all apps are compatible
no data space used on the data partition
the phone thinks its saving apps internally
Apps are very accessible for backup
cons:
you have to format and partition your sd card (this really isent hard and can be done in recovery)
if the sd card is pulled, mounted to the computer, or dies, you cannot access your apps.
you have to specify an exact amount of space on the sd card dedicated to apps that can no longer be used as storage space(unless you use linux I suppose... but it would be pointless to save stuff there besides apps)
apps rely on the speed of the sd (this usually isn't a problem though)
not all roms support it. (there are usually work arounds though)
Froyo apps to sd puts the bulk of the app onto the regular partition of your sd card (no special formatting required) but still saves data to the data partition.
pros:
saves space on the data partition
no special formatting is needed
is more secure for app developers
because you dont need the extra partition, you'll have more free sd card space.
cons:
still uses some space internally which isn't bad unless you have a crazy amount of apps or some very large data hogs.
if the sd card is pulled, mounted to the computer, or dies, you cannot access your apps.
apps rely on the speed of the sd (this usually isn't a problem though)
only Froyo roms support it
the internal memory is the fastest best place for apps, but if you need more space then by all means try one of the above methods
they both get the job done in their own way.
firefly6240 said:
I think your talking about the difference between apps to ext or froyo's built in apps to fat?
if so:
apps to ext tricks the os into thinking that a special ext partition on your sd card is your data partition. this way all app data goes to the sd card and saves your data partition completely.
pros:
all apps are compatible
no data space used on the data partition
the phone thinks its saving apps internally
Apps are very accessible for backup
cons:
you have to format and partition your sd card (this really isent hard and can be done in recovery)
if the sd card is pulled, mounted to the computer, or dies, you cannot access your apps.
you have to specify an exact amount of space on the sd card dedicated to apps that can no longer be used as storage space(unless you use linux I suppose... but it would be pointless to save stuff there besides apps)
apps rely on the speed of the sd (this usually isn't a problem though)
not all roms support it. (there are usually work arounds though)
Froyo apps to sd puts the bulk of the app onto the regular partition of your sd card (no special formatting required) but still saves data to the data partition.
pros:
saves space on the data partition
no special formatting is needed
is more secure for app developers
because you dont need the extra partition, you'll have more free sd card space.
cons:
still uses some space internally which isn't bad unless you have a crazy amount of apps or some very large data hogs.
if the sd card is pulled, mounted to the computer, or dies, you cannot access your apps.
apps rely on the speed of the sd (this usually isn't a problem though)
only Froyo roms support it
the internal memory is the fastest best place for apps, but if you need more space then by all means try one of the above methods
they both get the job done in their own way.
Click to expand...
Click to collapse
thanx for the info but how do i partition my sd card so that apps can be transfered
There is an option in recovery to partition sdcard. U will lose everything on it though so save what u want to the computer. Backup your apps with titanium backup or equivalent. And as always do a nandroid backup in recovery and save to your computer as well with titanium backup u made before u repartition. If u need ext 3 or for there are options for that in recovery too.
Edit: put backups back on SD after partitioning so u have your nandroid just in case and can restore apps in titanium
Sent from my HTC Magic SparksMod using XDA App
johnson8cyl said:
There is an option in recovery to partition sdcard. U will lose everything on it though so save what u want to the computer. Backup your apps with titanium backup or equivalent. And as always do a nandroid backup in recovery and save to your computer as well with titanium backup u made before u repartition. If u need ext 3 or for there are options for that in recovery too.
Edit: put backups back on SD after partitioning so u have your nandroid just in case and can restore apps in titanium
Sent from my HTC Magic SparksMod using XDA App
Click to expand...
Click to collapse
could guide me through a step by step process on how to partition the sdcard through recovery and then to transfer apps to the sdcard....thanx in advance
mahroze said:
could guide me through a step by step process on how to partition the sdcard through recovery and then to transfer apps to the sdcard....thanx in advance
Click to expand...
Click to collapse
What recovery do u have?
Sent from my HTC Magic SparksMod using XDA App
johnson8cyl said:
What recovery do u have?
Sent from my HTC Magic SparksMod using XDA App
Click to expand...
Click to collapse
Build : RA-dream-v.1.5.2
U should get 1.7.0. Just my opinion. U should have an option to partition your SD. Once u start its self explanatory really. Just make sure u do everything I told u before about the backups and saving to your computer so u don't lose anything important as it will completely wipe your card clean. What Tom are u trying to flash afterwards?
Sent from my HTC Magic SparksMod using XDA App
johnson8cyl said:
U should get 1.7.0. Just my opinion. U should have an option to partition your SD. Once u start its self explanatory really. Just make sure u do everything I told u before about the backups and saving to your computer so u don't lose anything important as it will completely wipe your card clean. What Tom are u trying to flash afterwards?
Sent from my HTC Magic SparksMod using XDA App
Click to expand...
Click to collapse
maybe CM 6.1 or the Froyo for trout
U will have to check the first page of the rom and see if u need an ext 3 or 4 partition. Apps to SD should be automatic if u set it up the way they tell u as far as partitioning. Just do everything I told u and u should be good
Sent from my HTC Magic SparksMod using XDA App
johnson8cyl said:
U will have to check the first page of the rom and see if u need an ext 3 or 4 partition. Apps to SD should be automatic if u set it up the way they tell u as far as partitioning. Just do everything I told u and u should be good
Sent from my HTC Magic SparksMod using XDA App
Click to expand...
Click to collapse
hey man thanx for all the help but i have one problem though I have the firerats patch file but i cant seem to run it via adb but it says cannot open could you guide me through
What are u trying to do with the patch? U should have it on your sdcard and be running commands in the terminal not adb.
Sent from my T-Mobile myTouch 3G using XDA App
johnson8cyl said:
What are u trying to do with the patch? U should have it on your sdcard and be running commands in the terminal not adb.
Sent from my T-Mobile myTouch 3G using XDA App
Click to expand...
Click to collapse
thanx man i realized that i was entering the name of the patch file wrong

How do I convert my SD card to SD-EXT & swap file WITHOUT losing apps?

Hi,
I have the N1 with SD card in FAT32, and most apps were moved to SD using App2SD, and I am rooted.
I hear that EXT3 or 4 gives me advantages.
How can I convert my current SD card to a partitioned, swapped, EXT3 or 4 card, and keep all my apps working?
Can I just copy the SD contents to my Mac, then use Amon, then restore the SD and it'll all magically work, or will I lose all my apps by copying the SD contents to Mac?
Also please advise the ideal swap size and other sizes when partitioning in Amon.
Can I suggest you titanium backup for prevent losing app's preferences?
Make a full backup of all apps with tb then copy all your sd on computer and you're ready to partition or wipe and flashing all u want!
For me 0mb of swap and 1024mb of ext3/4 works great!! I'm with cg7 so I'm able to use s2e, it's really a greate app, search it on market !
Sent from my Nexus One using XDA Premium App
nekobus said:
Can I suggest you titanium backup for prevent losing app's preferences?
Make a full backup of all apps with tb then copy all your sd on computer and you're ready to partition or wipe and flashing all u want!
For me 0mb of swap and 1024mb of ext3/4 works great!! I'm with cg7 so I'm able to use s2e, it's really a greate app, search it on market !
Sent from my Nexus One using XDA Premium App
Click to expand...
Click to collapse
You can definitely copy all of the files on are SD to another computer. I would always backup those up from time to time.
My personal preference is to boot my laptop using a USB drive with Ubuntu on it. Then I can use gpartd to repartition without recopying the data (BACKUP ANYWAY!).
gpartd allows resizing and creating partitions while maintaining the data.
I created a 512MB partition (no swap) and used S2E to move all my apps from the FAT32 partition. Worked great.
Thanks, I tried as you both suggested and succeeded with relatively few problems.
How do I actually click 'Go' in S2E. I have checked the box 'Applications', but I can't see how to actually make it 'Start' moving them. Or does it just happen automagically on reboot?
One added thought--
I prefer sdformatter to format card. I find after redoing sdcard from time to time with this flashing mania, that the phone does not format as cleanly and remnants are left behind--can cause issues
Ken
CJSnet said:
Thanks, I tried as you both suggested and succeeded with relatively few problems.
How do I actually click 'Go' in S2E. I have checked the box 'Applications', but I can't see how to actually make it 'Start' moving them. Or does it just happen automagically on reboot?
Click to expand...
Click to collapse
Check the box, then reboot.
And you're good to go.
Remember to move back apps from SD to internal (internal is now your SD-ext)
And don't forget to set install location to internal in CMsettings
Sent from my Nexus One using Tapatalk
If you got a computer with a Linux distribution, you may use gparted and resize your partition without any need to format it entirely ;-)

Noob question but isnt in the forums

Hi everyone,
first sorry about my bad english
I just bought a n1 brand new and upgraded to 2.3.4 (dont need cooked roms) my question is about the sd card, i know i can move certain apps to the sd card, but the phone its running out of space to install apps, im thinking about to partition the sd card to ext3/fat32 (its 8gb btw)
If i do this, i would be able to move/install apps on the sd card?
I will only use the stock tool to move apps and going to partition with another phone which has clockworkmod installed, or if you know any better app for android or windows please tell me,
Thanks for your time and patience
Ps. Sorry for my bad english again
Enviado desde mi Nexus One usando XDA Premium App
You need to run a rom that support a2sd (s2e or dark tremor's a2sd script).
Sent from my Transformer TF101 using Tapatalk
Using Froyo's app2sd method (which is what you would be using on a stock ROM), it won't ever utilize the sd-ext partition. You need to have a ROM that supports sd-ext and then enable it in that ROM (if app2sdext is built-in) or add it into the ROM with something like DarkTremor's a2sd or S2E.
using the system built-in app2sd function doesn't require your re-formatting the sdcard at all. it's just in some .android_secure folder and mounted onto the system in some way.
phoeagon said:
using the system built-in app2sd function doesn't require your re-formatting the sdcard at all. it's just in some .android_secure folder and mounted onto the system in some way.
Click to expand...
Click to collapse
The built in app2sd only move the app itself to the FAT32 portion of the sd card.
All data associate with the app still reside internally.
With S2E or DT's script it trick the phone into thinking the EXT section is part of the internal storage, hence all app with widgets and password work like normal.
Another plus is being able to move dalvik cache to sd-ext which free upa a huge amount of space.

(Q) Ext4 on latest CM7 Kang Milestone

I finally decide to have a partion on my 8GB SD other than FAT32. So i used the FuFu Minimod to split my SD. First to Ext2 then to Ext3 and then to Ext4.
It all went fine. I have moved some basic apps like Facebook and Igo to the Ext4 partion.
The weird thing that drove me to create this thread is the fact that my phone became a bit slow... unresponsive... and just because the Ext4 with basic apps on it?
Did i miss something or this is normal?
Appreciate all feedbacks.
WF
Sent from my Milestone using xda premium
Try wipe both Cache and Dalvik-Cache
Thanks... but is not the case... and yes i already did that before creating the thead.
Tks
Well then, manually move the app to the sdcard, then move back to the phone.
It should move into the ext4 partition.
They are all in ext4...
Sent from my Milestone using xda premium
wisefreakz said:
They are all in ext4...
Sent from my Milestone using xda premium
Click to expand...
Click to collapse
I know it is inside ext4. Please try to move to the sdcard and back to the phone again.
I did face this b4
I have done that before you mention... and it looks like its a bit more stable.
One doubt... i notice that all sd-ext\app files are alson in data\app.
Why is that?
Sent from my Milestone using xda premium
Why
Is ext4 faster or what ?
Im kinda noob on this android and stuff things, so i donno.
I can put my apps on SDcard without formatting to ext2, 3 or 4.
Well, now after billions of testing, formating, reflashing... all looks pretty nice now.
@ivanotera: moving apps to sdcard is not the same as moving apps to a second partition where this second partition is journaled - case of ext4.
It means that when you boot your phone, this partition is ready to use and does not need to be "prepared" as the usual fat32 - thats why we see the message after boot up that sd card is being prepared (in fact the OS is checking if the partion is corrupted or not.
Also when moving apps directly to sd card like you are doing, is not good as phone becomes slow, widgets, shortcuts dissapear while booting phone and while phone is connected to pc via usb with sd mounted for access.
With ext4 (using ext4.ko module) OS will think that this second partition is part of the internal storage and all of the above mentioned will not be a problem anymore and you will not get that anoying message that you have not enough space just because you added a couple apps.
Hope this can clarify some important things.
Cya
Sent from my Milestone using xda premium
Yeah, got it.
But another question, is ext4 "viewable" by windows ?
Because i have a 32gb card, so i use it as a "pen drive", have some apps so when i format a pc, not at home, i have some apps already, and dont have to download it.
Or in the case of creating a ext4, i partition the sdcard, so i have the "apps" partition and the "windows" partition ?

[Q] move file to the REAL EXTERNAL SD

peple, i can't believe is so hard to find information about this big problem.
HOW CAN I MOVE INSTALLED APPS TO MY EXTERNAL SD??
I tried all "App2SD" in google play, but looks like Optimus 2x mount its SD in a different way, so what these apps does is move apps to/from internal memory (it is not the same as internal sd??? why 2?) and internal sd.
So i boght a 32GB sd for just videos and mp3???
I googled and found a link talking about "Mod Install Location".
Well, this "Mod Install" doesn't work too. I can't install news apps in external sd nor can i move installed apps.
No one bottered with this situation too???? Is impossible to move installed files in Optimus 2x do the external SD?
install CM7 Custom ROM
siibel said:
install CM7 Custom ROM
Click to expand...
Click to collapse
What exactly that does?
But i want to try another ROMs. There is not another way?
Another question about this SD problem: looks like that after flash roms and firwares the internal sd will be totally wiped. Well, so Titanium Backup is useless for Optimus 2x, as it doens't let choose directory for backups. Solution?
presuntinho said:
What exactly that does?
But i want to try another ROMs. There is not another way?
Another question about this SD problem: looks like that after flash roms and firwares the internal sd will be totally wiped. Well, so Titanium Backup is useless for Optimus 2x, as it doens't let choose directory for backups. Solution?
Click to expand...
Click to collapse
+1 on CM7. That ROM will render your internal SD useless as EVERYTHING can be thrown to the external SD.
I have Titanium Backup Pro and there's an option to choose the backup location in preferences. I'm pretty sure it's also present in the free version.
(TB is very useful for me. Enough for me to purchase it.)
If you are using app2sd from market to move your application to sdcard, meaning you can do it manually from your application manager, each and every app you click will have a button to move to sd. App2sd market app just simplifies this process. Please note that this method only moves some app files to the sdcard not all of it, it will still leave app dalvik and app user data on the internal memory.
The real app2sd/app2sd+/data2sd that creates a link from your internal phone data partition and relocate your data folder to external sd are script based, and you have to make a ext3/4 partition on your external sdcard in addition to your fat32 partition. This is what you need If you want to totally move all data to external sdcard.
I have not seen ppl making tutorials using this script in o2x forum, because the 1.5gb app space is good for most people, unless if you have alot of games in your phone. For what I know the app2sd+ script is universal for all phones, you may just need to make some modifications to the script to make it work on every specific phone type/model.
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
TB doesn't let you change the backup folder like that. You have to copy the "TitaniumBackup" folder with a few backup files to where ever you want and then the app scans for folders with backups.
salisbury_steak said:
+1 on CM7. That ROM will render your internal SD useless as EVERYTHING can be thrown to the external SD.
Click to expand...
Click to collapse
But i will lost the 8 GB of this "internal SD" or i can still use it?
You have games installed in the external SD? They run as faster as in the internal?
Thanks
Chris4evernoob said:
TB doesn't let you change the backup folder like that. You have to copy the "TitaniumBackup" folder with a few backup files to where ever you want and then the app scans for folders with backups.
Click to expand...
Click to collapse
After flashing a ROM or firware i just open TB and it will recognize the old backups? I just install TB and then overwrite with the old folder?
Thanks
tablighs said:
If you are using app2sd from market to move your application to sdcard, meaning you can do it manually from your application manager, each and every app you click will have a button to move to sd. App2sd market app just simplifies this process. Please note that this method only moves some app files to the sdcard not all of it, it will still leave app dalvik and app user data on the internal memory.
The real app2sd/app2sd+/data2sd that creates a link from your internal phone data partition and relocate your data folder to external sd are script based, and you have to make a ext3/4 partition on your external sdcard in addition to your fat32 partition. This is what you need If you want to totally move all data to external sdcard.
I have not seen ppl making tutorials using this script in o2x forum, because the 1.5gb app space is good for most people, unless if you have alot of games in your phone. For what I know the app2sd+ script is universal for all phones, you may just need to make some modifications to the script to make it work on every specific phone type/model.
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
Click to expand...
Click to collapse
If i use the external sd with ext3/4 using the entire space, i will able to send file using usb, bluetooth, etc? I mean, there is any colateral?
Moving all data to MicroSD make the apps run slowly?
2 big games are enough to almost fill the entire internal memory.
tablighs said:
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
Click to expand...
Click to collapse
Well, maybe is my enlglish that is horrible, but that is what i understand reading this:
http://forum.xda-developers.com/showpost.php?p=26191714&postcount=3
"Installing this file WILL fully wipe your device, including the Internal SD. Back up!"
So:
1 Changing the ROm will wipe the internal sd?
2 Changing the firware (firmware and baseband are the same thing, correct) will?
presuntinho said:
If i use the external sd with ext3/4 using the entire space, i will able to send file using usb, bluetooth, etc? I mean, there is any colateral?
Moving all data to MicroSD make the apps run slowly?
2 big games are enough to almost fill the entire internal memory.
Click to expand...
Click to collapse
If you use app2sd+ script method, everything will function normally. A class 6 or 10 sdcard can perform as fast as your internal phone storage. You may wear your sdcard faster though since it is being regularly used and accessed.
The only problem is to fine the script itself that is specifically customised for o2x, I myself do not know how to do it, although I used it before for my HTC Desire phone, but that was long time ago and the script was integrated in custom roms since htc desire only has 150mb app space.
presuntinho said:
Well, maybe is my enlglish that is horrible, but that is what i understand reading this:
http://forum.xda-developers.com/showpost.php?p=26191714&postcount=3
"Installing this file WILL fully wipe your device, including the Internal SD. Back up!"
So:
1 Changing the ROm will wipe the internal sd?
2 Changing the firware (firmware and baseband are the same thing, correct) will?
Click to expand...
Click to collapse
Yes, all threads will say that, its just cautionary purposes. I just recently reflashed my baseband to v20c a a month ago using smartflash, it did wipe my rom data, but not my internal sd. But just incase, make a backup of everything, it doesn't hurt to do that.
tablighs said:
If you use app2sd+ script method, everything will function normally..
Click to expand...
Click to collapse
but to use apps2sd +script i need to have a partition ext3 or ext4, right? This partition in ext3 will work with usb, bluetooth, etc?
It is a good option to have the enitre microsd in ext3 instead 1 partition in ext3 and 1 in fat32?
Thanks
presuntinho said:
but to use apps2sd +script i need to have a partition ext3 or ext4, right? This partition in ext3 will work with usb, bluetooth, etc?
It is a good option to have the enitre microsd in ext3 instead 1 partition in ext3 and 1 in fat32?
Thanks
Click to expand...
Click to collapse
The ext partition will always be mounted for android system, so you cannot access via pc. You need a fat32+ext3/4 partitions combo.
First you need to know how much storage do you need for apps, please note that I think the internal 1.5gb app storage will be left unused if you decide to link your data (which will fool android system thinking it is phone memory) folder to your external sd.
We have talk too much on this topic but I myself is unsure whether you can find the script to run on o2x. Maybe its time for you to take some time on how to actually find and modify one so it works for o2x. I cannot help you on that at all. Keep us posted if you have any progress.
tablighs said:
The ext partition will always be mounted for android system, so you cannot access via pc. You need a fat32+ext3/4 partitions combo.
First you need to know how much storage do you need for apps, please note that I think the internal 1.5gb app storage will be left unused if you decide to link your data (which will fool android system thinking it is phone memory) folder to your external sd.
We have talk too much on this topic but I myself is unsure whether you can find the script to run on o2x. Maybe its time for you to take some time on how to actually find and modify one so it works for o2x. I cannot help you on that at all. Keep us posted if you have any progress.
Click to expand...
Click to collapse
But can i alternatively make a backup of big games in the sd so i don't need to download 700 MB every time i want to install it again? As already said Titanium Backup will not do that. I could cut and paste only the backup of the game i want to sd, but Titanium show the name of backups in a way wich is dificult to read among many files. Plus i am not sure TB will backup all data of the game.

Categories

Resources