Ext2 on SD card how to read and write to it - Android Q&A, Help & Troubleshooting

Dear Experts
I am using windows 7 and before partitioning my mobile's (Samsung Galaxy S7) SD card I did backup to all folders that were installed on it and those apps were moved by AppMgr III (App 2 SD) .
Then I partitioned the SD card using the utility called "Mini Tool Partition" as per the snapshot below (SD card named as Disk2 not 1 and size is 32 GB)
Code:
http://imgur.com/a/wbQ1B
I created 3 partitions as per some online recommendation and as below :
8 GB Fat32
16 GB Ext2
8 GB Swap
Using my laptop slot that is designated to SD card I wanted to copy the backup to the partition Ext2 which utility will let me do that ? because when I copied them back to the SD card Fat32 partition phone was not able to read those apps !!!
So far I tried ext2explore and Ext2Fsd-0.68 with no joy
Code:
http://imgur.com/a/oTLJW
Code:
http://imgur.com/a/GVGyt
Thanks

Related

[Q] [HELP] upgrading from 2GB sdcard to 4GB when a rom uses a part of it?

I am using openOptimus build 2.202.1 with 2 GB sdcard, which is partitioned as
MBR 1 block
FAT32 1.36GB
disk1s2 Linux Ext2FS 487.57 MB
and now i wish to upgrade to 4GB sdcard. How can i do it unambiguously?
From things i know, in Windows Mobile and Symbian systems, changing memory card does not make trouble. Also i think you should copy all your data to some folder on desktop, make Partition Copy of sdcard then start changing process (copying data).
I've changed 2GB card to 8GB card (soon to 16GB) and my android does not seem to notice that change. (just more free placoe)
You can also copy data from previous, insert new into android, let it meet your new sdcard, then put it out and copy rest of data..
This is what i did :
1. first partitioned the new sdcard from recovery
2. copied the contents by mounting usb storage.
up and going. thanks .
If you have a2sd ext partition you should make a nand backup on your 2gb card to backup ext partition, then you copy all contents to your 4gb card and restore nand.

Apps not recognized after sd card re-partition & format

I followed the steps on Addictive Tips on how to properly add an EXT4 partition on my 8gb sd card.
Now I have 6.xGB FAT32 as the primary partition, and a 1GB EXT4 logical partition. But my Samsung Galaxy Ace (running on CyanogenMod-7.2.0-C1-cooper, official nightly build) doesn't recognize the sd card anymore.
So I gave up and reformatted it back to a single FAT32 partition, copied my backup back into the sd card, but now the apps don't get recognized.
Please, please help me.
d4ryl3 said:
I followed the steps on Addictive Tips on how to properly add an EXT4 partition on my 8gb sd card.
Now I have 6.xGB FAT32 as the primary partition, and a 1GB EXT4 logical partition. But my Samsung Galaxy Ace (running on CyanogenMod-7.2.0-C1-cooper, official nightly build) doesn't recognize the sd card anymore.
So I gave up and reformatted it back to a single FAT32 partition, copied my backup back into the sd card, but now the apps don't get recognized.
Please, please help me.
Click to expand...
Click to collapse
Both the partitions should be primary. Your ex4 partition is Logical, that's why the phone is not recognizing it.

Use of app2sd

Hi Friends, I just bought 32 gb class 10 micro sd card for my x10i....
Should I need to copy any files from my old sd card....
and how to use app2sd (what exactly it does)....Is that to increase the phone's internal memory.....
srinivas103 said:
Hi Friends, I just bought 32 gb class 10 micro sd card for my x10i....
Should I need to copy any files from my old sd card....
and how to use app2sd (what exactly it does)....Is that to increase the phone's internal memory.....
Click to expand...
Click to collapse
Cool. 32GB Class10 cards are the business.
No, you shouldn't need to copy any files from your old card. BUT.....
I'd check all applications and restore all data back to the phone (if you have the available internal storage available) before you insert the new card so you have no installed applications with sdcard storage. settings -> applications
Sometimes it's better to start a fresh and this way you're not copying over all your 'zombie' folders from apps you no longer have installed.
Export configuration/setup files for the likes of mail, contacts and etc, so you can import them again later if required.
I have a NAS and copy my old card(s) onto the NAS and thus I have access to the 'old' data via WiFi if and when I need it as the XPERIA X10i has no OTG microUSB access.
Apps2SD does NOT free up memory, it frees up space in your internal storage area and takes advantage of your high speed Classs10 miroSD card read/write I/O and 32GB disk space. Your XPERIA X10 has an internal data size as small as approx 400MB, with approx 2-3MB read/write I/O and that's what apps2sd is attempting to assist by freeing up space on your internal /data storage.
Apps2SD allows you to manage the applications which can be moved onto the microSD card. Apps2SD does leave some files (dex) in the /data partition on the phone internal memory, but even so you'll reduce the internal phone storage use.
The only real down side of Apps2SD is that you have to consider that all your SD card applications will NOT be accessible when your phone is mounted via USB on a PC as the 32GB microSD card is generally one FAT32 partition.
Link2SD FAQ
If you enabled root access, you could use Link2SD and a 32GB Class10 card is just the ticket for this kind of use.
This allows you to create a second ext4 formatted data partition on your SDcard(I use a 1GB partition) and have the applications themselves run from the SDcard as will as the data which is linked from the primary partition. This takes full advantage of your high speed Class10 MicroSD card and this partition is not 'unmounted' when your phone is connected to a PC via USB, so all your 'linked' applications continue to work.
If you remove or replace the SDcard after using apps2sd or link2sd your lose all your applications on the SDcard, so just be aware.
Link2SD is mucho cool as you can backup the second partition and then recreate it and re-run the Link2SD mount script and it'll relink and restore all your Link2SD applications as is stores all the app, library and data files.
Dr Goodvibes said:
Cool. 32GB Class10 cards are the business.
No, you shouldn't need to copy any files from your old card. BUT.....
I'd check all applications and restore all data back to the phone (if you have the available internal storage available) before you insert the new card so you have no installed applications with sdcard storage. settings -> applications
Sometimes it's better to start a fresh and this way you're not copying over all your 'zombie' folders from apps you no longer have installed.
Export configuration/setup files for the likes of mail, contacts and etc, so you can import them again later if required.
I have a NAS and copy my old card(s) onto the NAS and thus I have access to the 'old' data via WiFi if and when I need it as the XPERIA X10i has no OTG microUSB access.
Apps2SD does NOT free up memory, it frees up space in your internal storage area and takes advantage of your high speed Classs10 miroSD card read/write I/O and 32GB disk space. Your XPERIA X10 has an internal data size as small as approx 400MB, with approx 2-3MB read/write I/O and that's what apps2sd is attempting to assist by freeing up space on your internal /data storage.
Apps2SD allows you to manage the applications which can be moved onto the microSD card. Apps2SD does leave some files (dex) in the /data partition on the phone internal memory, but even so you'll reduce the internal phone storage use.
The only real down side of Apps2SD is that you have to consider that all your SD card applications will NOT be accessible when your phone is mounted via USB on a PC as the 32GB microSD card is generally one FAT32 partition.
Link2SD FAQ
If you enabled root access, you could use Link2SD and a 32GB Class10 card is just the ticket for this kind of use.
This allows you to create a second ext4 formatted data partition on your SDcard(I use a 1GB partition) and have the applications themselves run from the SDcard as will as the data which is linked from the primary partition. This takes full advantage of your high speed Class10 MicroSD card and this partition is not 'unmounted' when your phone is connected to a PC via USB, so all your 'linked' applications continue to work.
If you remove or replace the SDcard after using apps2sd or link2sd your lose all your applications on the SDcard, so just be aware.
Link2SD is mucho cool as you can backup the second partition and then recreate it and re-run the Link2SD mount script and it'll relink and restore all your Link2SD applications as is stores all the app, library and data files.
Click to expand...
Click to collapse
That was great.....
I am planning to put Fera's V 23 Voltage ROM....
When should I install Link2SD and how to create a second ext4 data partion...
srinivas103 said:
That was great.....
I am planning to put Fera's V 23 Voltage ROM....
When should I install Link2SD and how to create a second ext4 data partion...
Click to expand...
Click to collapse
You can leave your XPERIA X10i to format the 32GB card or you can format it on a PC using one of the following tools.
You can read up on formatted unit size and partition alignment and see if it is right for you.
I use Ridgecorp Consultants FAT32 formatter
Or you could use SD Association FAT32 formatter (I've not used it)
When the XPERIA X10i formats and mounts the SD card a few XML files are created as well.
I would install Link2SD as your first user application as then all following applications will be 'auto' linked after you setup Link2SD on your SD card.
Most 'new-ish' ROMs have support for additional partitions (ext3/ext4) and mount the FAT32 formatted partition first before any additional ext3/4 partitions.
GB 2.3.3 doesn't have this support and you'll need to install via xRecovery or CWM(if supported)
This information can be found here:
[DEV]Link2SD working on X10i
[DEV]Step by step instructions to load Link2SD on X10i
I have used MiniTool Partition Wizard on Win7 and created a 1GB partition and formatted it as ext3. You can try ext4 as some ROM/Link2SD combinations will work.
Oh and make both your FAT32 and you ext3/4 partitions as primary.
Dr Goodvibes said:
You can leave your XPERIA X10i to format the 32GB card or you can format it on a PC using one of the following tools.
You can read up on formatted unit size and partition alignment and see if it is right for you.
I use Ridgecorp Consultants FAT32 formatter
Or you could use SD Association FAT32 formatter (I've not used it)
When the XPERIA X10i formats and mounts the SD card a few XML files are created as well.
I would install Link2SD as your first user application as then all following applications will be 'auto' linked after you setup Link2SD on your SD card.
Most 'new-ish' ROMs have support for additional partitions (ext3/ext4) and mount the FAT32 formatted partition first before any additional ext3/4 partitions.
GB 2.3.3 doesn't have this support and you'll need to install via xRecovery or CWM(if supported)
This information can be found here:
[DEV]Link2SD working on X10i
[DEV]Step by step instructions to load Link2SD on X10i
I have used MiniTool Partition Wizard on Win7 and created a 1GB partition and formatted it as ext3. You can try ext4 as some ROM/Link2SD combinations will work.
Oh and make both your FAT32 and you ext3/4 partitions as primary.
Click to expand...
Click to collapse
Hi, I formatted the 32 gb sd card today using the minitool partion wizard (as it is given in the link you provided).
I partitioned 1 gb as fat32 and the remaining as ext2....
But now I can only see the 1 gb in my mobile(cant able to see remaining space), What should I do now.....
Shall I format the sd card completely to fat32 (back to its original form) . Is it possible to partion using link2sd...
If you followed the following step by step instructions, I would have thought you'd be OK.
[DEV]Step by step instructions to load Link2SD on X10i
Your first partition should be ~29GB FAT32 and then the ~1GB ext3/ext4 partition, both of which are primary.
I have no idea what Link2SD does on a FeraLab v23 ROM, maybe someone else has information on that.
It works fine on CM10 4.1.2 (Scritch007) or GB 2.3.3 with DoomKernel v6.
Did you install the following zip?
[DEV]Link2SD working on X10i
Dr Goodvibes said:
If you followed the following step by step instructions, I would have thought you'd be OK.
[DEV]Step by step instructions to load Link2SD on X10i
Your first partition should be ~29GB FAT32 and then the ~1GB ext3/ext4 partition, both of which are primary.
I have no idea what Link2SD does on a FeraLab v23 ROM, maybe someone else has information on that.
It works fine on CM10 4.1.2 (Scritch007) or GB 2.3.3 with DoomKernel v6.
Did you install the following zip?
[DEV]Link2SD working on X10i
Click to expand...
Click to collapse
No, I did not install the zip...
I formatted the sd in my pc, copied the rom in the sd card and then installed V23 ROM.......and then downloaded link2sd from play store...
I only did this....
Cool. And after successfully installing the FreaLab v23 ROM from the FAT32 partition of the card which may or may not be approximately 28GB which xRecovery/CWM can read without problems. You restarted your phone, logged in and proceeded through the startup wizard, probably rebooted if you followed the FeraLab V23 ROM install instructions and restarted the phone again.
You would then normally check to see if the MicroSD card is operational/mounted and/or go to settings->storage and check that you had a 28GB FAT32 partition mounted.
If the MicroSD card is not mounted or there is an operational error with the MicroSD card, then there is a fair chance you need to install the Link2SD mount correction zip to allow the Android phone to mount the FAT32 partition first.
I have to assume that because you were able to install the ROM from the MicroSD card that there is some sort of operational working formatted storage available on the MicroSD card that Android recognizes.
If this is successful and there was no MicroSD card mounting or operational errors you'd proceed to setup Google play with a user sign-in and installed Link2SD.
You'd then invoked Link2SD and assign the correct format to the partition. I chose ext4. You could choose any of ext2,ext3 or ext4 options.
If this is successful you will need to restart your phone or at least restart Link2SD.
Then you should be good to go.
Dr Goodvibes said:
Cool. And after successfully installing the FreaLab v23 ROM from the FAT32 partition of the card which may or may not be approximately 28GB which xRecovery/CWM can read without problems. You restarted your phone, logged in and proceeded through the startup wizard, probably rebooted if you followed the FeraLab V23 ROM install instructions and restarted the phone again.
You would then normally check to see if the MicroSD card is operational/mounted and/or go to settings->storage and check that you had a 28GB FAT32 partition mounted.
If the MicroSD card is not mounted or there is an operational error with the MicroSD card, then there is a fair chance you need to install the Link2SD mount correction zip to allow the Android phone to mount the FAT32 partition first.
I have to assume that because you were able to install the ROM from the MicroSD card that there is some sort of operational working formatted storage available on the MicroSD card that Android recognizes.
If this is successful and there was no MicroSD card mounting or operational errors you'd proceed to setup Google play with a user sign-in and installed Link2SD.
You'd then invoked Link2SD and assign the correct format to the partition. I chose ext4. You could choose any of ext2,ext3 or ext4 options.
If this is successful you will need to restart your phone or at least restart Link2SD.
Then you should be good to go.
Click to expand...
Click to collapse
This is not working, I tried with both the zip and without zip.....
It says
Mount Script error
Mount script cannot be created.
mount: mounting/dev/block/vold/179:2 on /data/sdext2
failed: Invalid argument
ext4 may not be supported on your device. Try FAT32 on the second partition
So, should I try FAT32 for both partitions....
In that case what will be the probability that it will choose exactly my 1gb partition...
Pls help...
Dr Goodvibes said:
You can leave your XPERIA X10i to format the 32GB card or you can format it on a PC using one of the following tools.
You can read up on formatted unit size and partition alignment and see if it is right for you.
I use Ridgecorp Consultants FAT32 formatter
Or you could use SD Association FAT32 formatter (I've not used it)
When the XPERIA X10i formats and mounts the SD card a few XML files are created as well.
I would install Link2SD as your first user application as then all following applications will be 'auto' linked after you setup Link2SD on your SD card.
Most 'new-ish' ROMs have support for additional partitions (ext3/ext4) and mount the FAT32 formatted partition first before any additional ext3/4 partitions.
GB 2.3.3 doesn't have this support and you'll need to install via xRecovery or CWM(if supported)
This information can be found here:
[DEV]Link2SD working on X10i
[DEV]Step by step instructions to load Link2SD on X10i
I have used MiniTool Partition Wizard on Win7 and created a 1GB partition and formatted it as ext3. You can try ext4 as some ROM/Link2SD combinations will work.
Oh and make both your FAT32 and you ext3/4 partitions as primary.
Click to expand...
Click to collapse
im using x10 stock rom and I cant mount partition like ext2,ext3,ext4. it showing SD CARD IS BLANK OR UNSUPPORTED FILE SYSTEM.
how can I slove my problem
im using doomkernal v6 1113mhz

[Q] SD Card Partition Problem

hi guys,
I partitioned sd card ext with 1GB with FAT32 using mini partion tool
when boot ON the Phone & using with LINK2SD Main sd card & ext sd card showing the same size of 1GB ....
is the problem with ROM ??
I tried with another sd card but the issue is same
i'm using stock rom & 16 GB Sandisk C10 sd card
Pls help me......
Link2SD
The XPERIA X10i running GB 2.3 is a bit problematic with partitions.
The OS only mounts the first partition it finds and that's normally the second partition. Doh!!
The following patch may be of some help to you
SE2.3.3-link2sd-patch.zip
It is assumed you have formatted both partitions as primary.
Everybody should use Link2SD if they have an XPERIA X10, just because most quality class6/class10 cards have better read/write speed than internal flash and with a 1-2GB sdext2 partition more space too.
Considerations
I'd format the second partition as ext3 and 2GB if Link2SD is to be used, especially if a gamer.
I would only use a class6/class10 'quality' 32GB microSD card or greater.
Copy the contents of the /data/sdext2 partition to a NAS/external server
(1) I'd format the partition to be used with Link2SD as ext3 ( I've found on my builds I can't use ext4, but would, if I could ), just because it'll give better performance. In a gaming environment 1GB can be used up pretty quickly if libraries and data are linked too.
(2) The cost of quality class6/class10 microSD cards has really dropped in price now that extreme and extreme pro cards (50MB+ write) are all the rage. It's just a pain having to rebuild a working Link2SD environment onto a larger card at a later date, when a lesser card, no longer meets needs.
But given I'm using a 64GB card, I would say that.
(3) If you copy the contents of the second partition to a linux system /folder it makes a great recovery, as you only have to restore the Link2SD second partition and you get all your apps back, data and all. I copy my /data/sdext2 partition onto my NAS every now and then and it has saved my bacon a few times when microSD/SD cards have gone belly up.

Extending phone memory

On my Samsung S5 dual SIM (G900FD) running Android 6.0.1, I have an external SD card (128 Gbytes) with a lot of files.
In order to increase the memory of the phone I have reduced the size of the fat32 partition of the external SD and I have created an ext3 partition (10 Gb) on it (using gparted on my PC).
My question:
Is there a way to extend the phone memory with the new ext3 partition on the SD card, WITHOUT erasing files on the phone or on the fat32 partition of the external SD card ?
Thanks you for your support.
Franck

Categories

Resources