[FIX] Ext-SD Write Support for 2.0 (Lollipop) - Shield Tablet General

Note this has only been tested on the US WiFi version (Should work for all WiFi Only versions.)
I am not responsible if anything goes wrong.
Pre-Requisites: (Unlocked bootloader)
Custom Recovery (Tested with CWM)
Running 2.0 (Lollipop)
Instructions (Unlocked bootloader)
Download SDFix.zip below to tablet
Flash via Custom Recovery
Profit
Pre-Requisites: (Locked bootloader)
Root
Running 2.0 (Lollipop)
Access to terminal (either adb shell or app).
Instructions (Locked bootloader)
Download platform.xml.zip below and unzip
Copy platform.xml to internal storage
Run:
Code:
su
mount -o rw,remount /system
mv /sdcard/platform.xml /system/etc/permissions/platform.xml
chmod 0644 /system/etc/permissions/platform.xml
Reboot
Profit

diff from stock?
edit: nevermind - it appears to be the same as the kitkat fix. (adding media_rw to WRITE_EXTERNAL_STORAGE)

garyd9 said:
diff from stock?
edit: nevermind - it appears to be the same as the kitkat fix. (adding media_rw to WRITE_EXTERNAL_STORAGE)
Click to expand...
Click to collapse
That's exactly what it is. I just thought it might not be a bad idea to zip it for convenience.

another way if already rooted, install Folder Mount (https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en) which is very useful in it's own right. When ran for the first time it'll detect that the SD Card is not writeable, it'll offer to fix it. Choose to do so, reboot, and presto!!
Carlos

Chaleman said:
another way if already rooted, install Folder Mount (https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en) which is very useful in it's own right. When ran for the first time it'll detect that the SD Card is not writeable, it'll offer to fix it. Choose to do so, reboot, and presto!!
Carlos
Click to expand...
Click to collapse
Confirmed that this works on my LTE US. :good:

Chaleman said:
another way if already rooted, install Folder Mount (https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en) which is very useful in it's own right. When ran for the first time it'll detect that the SD Card is not writeable, it'll offer to fix it. Choose to do so, reboot, and presto!!
Carlos
Click to expand...
Click to collapse
I was coming here just to say that. I installed one of the KitKat SD fix apps that do the same thing and it said it was already fixed. I'm glad since before I used the xposed module to fix SD support.

guys,
does it fix TitaniumBackup backups protection?
Read here, probably the PIE is the reson:
http://www.reddit.com/r/Nexus5/comments/2jpalf/for_those_facing_troubles_with_root_apps_in/
EDIT: I found 1) each time I exit the CWM I'm asked to fix SuperUser, 2) Can't mount sdcard1/install zip from sdcard1
Is it normal?

eSbek said:
guys,
does it fix TitaniumBackup backups protection?
Read here, probably the PIE is the reson:
http://www.reddit.com/r/Nexus5/comments/2jpalf/for_those_facing_troubles_with_root_apps_in/
EDIT: I found 1) each time I exit the CWM I'm asked to fix SuperUser, 2) Can't mount sdcard1/install zip from sdcard1
Is it normal?
Click to expand...
Click to collapse
Make sure the external SDCard is formatted in Fat32...
Carlos

Before I start copying all these GB's that I have o my 128GB card, what about the FAT32 limitations - cards above 32GB cannot be format with windows, but it's still possible with a dedicated software. I wonder if I can use FAT32 in this case

eSbek said:
Before I start copying all these GB's that I have o my 128GB card, what about the FAT32 limitations - cards above 32GB cannot be format with windows, but it's still possible with a dedicated software. I wonder if I can use FAT32 in this case
Click to expand...
Click to collapse
The only limitation that I know of is that you can't file a single file more than 4GB in size...
Carlos

did this (both methods). Both didn't work. So rebooted.
Now I am sitting with a tablet that fc's at least 15 apps.
Even TB backup fc's.
Damned!!!!!!!
Edit have continuous fc's of nearly all apps.
Factory reset.....

I was thinking that I've messed up something with my tab and then founded this fix! Ohgod I'm breathing again.
Thanks man

After factory reset all went ok.
2 hours later I was up and running again and now the foldermount app did it's work correctly.
TB can write so problems are solved.

Snah001 said:
After factory reset all went ok.
2 hours later I was up and running again and now the foldermount app did it's work correctly.
TB can write so problems are solved.
Click to expand...
Click to collapse
I formatted the card to FAT32, now can see it in CWM, but still can't protect the backups (although I can write to card by TB like before when I was on exFat).
Is it normal that CWM asks to fix the root on each exit?

Yes, CWM will do that always.
When you don't choose it it will not loose root.

alguna respuesta para el galaxy s5 con 5.0 lollipop?
Ya probé con la sd fix card y me sigue mandando error. Ayuda porfavor

Chaleman said:
another way if already rooted, install Folder Mount (https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en) which is very useful in it's own right. When ran for the first time it'll detect that the SD Card is not writeable, it'll offer to fix it. Choose to do so, reboot, and presto!!
Carlos
Click to expand...
Click to collapse
This worked for me! Excellent thank you ☺

Manually Edited Permissions
I actually found this thread after I solved things, but....
I have a 64GB Micros-SD formatted FAT32. Ran into the problem that Android won't let apps modify files on an external card. (All I wanted to do was to keep my Moon + Reader library there....lots of books!)
Instead of using an app, I modified the permissions file according to this article: http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
Rebooted and all is well.
I am one of those people that tends to be very minimalist about the apps/games that I install, but heavy on the data. One reader, but lots of books.
Just wanted to put this out there as an alternative.

koop1955 said:
I actually found this thread after I solved things, but....
I have a 64GB Micros-SD formatted FAT32. Ran into the problem that Android won't let apps modify files on an external card. (All I wanted to do was to keep my Moon + Reader library there....lots of books!)
Instead of using an app, I modified the permissions file according to this article: http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
Rebooted and all is well.
I am one of those people that tends to be very minimalist about the apps/games that I install, but heavy on the data. One reader, but lots of books.
Just wanted to put this out there as an alternative.
Click to expand...
Click to collapse
The apps mentioned do not need to remain on the device. The apps (or the routine in folder mount) make the change you linked to automatically. Once run the change is made and you can uninstall.
With the apps you don't have to worry about a typo or other issue.

HELP!
i tried this fix and its picking up my Ext-SD card and everything alright, but now Recovery is unable to mount /data
EDIT: i fixed the ext-sd support with the Folder Mount App if thats any help

Related

[Q] Upgrading to CM 7.1 Stable

Hi everyone,
I was interested in upgrading to the stable 7.1 release. I am currently using the 7.1 RC on my nook color. I read this on the cyanogen mod website:
"Upgrading from any previous CM-7 release or nightly build should be smooth and no wipe should be required."
Does this mean I can flash the rom over top of the current RC without having to wipe any of my data or apps? This would be great as I have customized my nook quite a bit since getting it. I don't mind if I lose settings or things of that nature, but it would be great if I could keep my home screen and such. Anyways, just wondering. Thanks.
Your assumption is correct, all you need to do (well advised) is wipe your cache, and yes, it will take a while to boot the 1st time... Just did it tonight myself
You just need to wipe dalvik cache when updating.
---------------------------------
Sent from my LG Optimus V using Tapatalk
If this post helped you don't forget to say thanks!
Updated from nightly 200 and just wiped cache. Alls well so far.
About to Update to 7.1 and a question...
I use CM7.03 off of the microSD - does anyone know if the installer from this post: [ROM][CM7] [v1.3] Size-agnostic SD Card image and CM7 installer for SD Cards <http://forum.xda-developers.com/showthread.php?t=1000957> will also work to install 7.1
There have been many changes (for the much better
docfreed said:
I use CM7.03 off of the microSD - does anyone know if the installer from this post: [ROM][CM7] [v1.3] Size-agnostic SD Card image and CM7 installer for SD Cards <http://forum.xda-developers.com/showthread.php?t=1000957> will also work to install 7.1
There have been many changes (for the much better
Click to expand...
Click to collapse
Yes, it upgrades fine with this method.
Thank you for your help everyone I will try it tonight.
docfreed said:
I use CM7.03 off of the microSD - does anyone know if the installer from this post: [ROM][CM7] [v1.3] Size-agnostic SD Card image and CM7 installer for SD Cards <http://forum.xda-developers.com/showthread.php?t=1000957> will also work to install 7.1
There have been many changes (for the much better
Click to expand...
Click to collapse
Just drop the new ROM .zip onto the root of the card and boot up.
Hi,
I'm also running off the SD card. Is there a way to copy the .zip into the boot partition of the SD card from the Nook itself, or do I need to remove it and do it from a computer? I'm using File Expert and don't see a /boot folder.
Thanks!
c0rndog said:
Hi,
I'm also running off the SD card. Is there a way to copy the .zip into the boot partition of the SD card from the Nook itself, or do I need to remove it and do it from a computer? I'm using File Expert and don't see a /boot folder.
Thanks!
Click to expand...
Click to collapse
Use your PC and a card reader.....
I know I can use a card reader, but I was just curious if it is possible to do it without removing the card or connecting the Nook to a computer.
I downloaded the .zip onto my nook, I just don't see where to copy the file.
c0rndog said:
Hi,
I'm also running off the SD card. Is there a way to copy the .zip into the boot partition of the SD card from the Nook itself, or do I need to remove it and do it from a computer? I'm using File Expert and don't see a /boot folder.
Thanks!
Click to expand...
Click to collapse
you can use adb (adb wireless works very well)
on a windows machine you can use windows explorer to get to the folder with your zip file in it...
open a command window (start/run cmd)
if adb wireless... adb connect IP address
adb shell busybox mkdir /sdcard/boot
adb shell busybox mount /dev/block/mmcblk1p1 /sdcar/boot
adb push (zip file... can drag from windows explorer) /sdcard/boot
you will then have the zip file on the boot partition of the sdcard and can boot to uSD recovery for updating.
DizzyDen said:
you can use adb (adb wireless works very well)
on a windows machine you can use windows explorer to get to the folder with your zip file in it...
open a command window (start/run cmd)
if adb wireless... adb connect IP address
adb shell busybox mkdir /sdcard/boot
adb shell busybox mount /dev/block/mmcblk1p1 /sdcar/boot
adb push (zip file... can drag from windows explorer) /sdcard/boot
you will then have the zip file on the boot partition of the sdcard and can boot to uSD recovery for updating.
Click to expand...
Click to collapse
And that my friend is why I said use a card reader. Do you really want to do all that?
Clearly using a card reader is easier than that
Maybe I'm missing something here (forgive me if this is a noobquestion), but why can't I access the /boot partition of the SD card directly from the NC using a file manager?
Upgraded to CM7.1.0 stable from CM7.1.0RC on uSD card
I upgraded to CM7.1.0 stable from CM7.1.0RC using ROM Manager on uSD card. One issue I noticed is the stable version run slower. The RC version had Quadrant scores between 2500 to 3060. Now the Quadrant scores are between 1800 and 2600. I only wiped Davlik cache. All app data and settings remained the same. I activated the emmc as SD for extra storage and OS swapped 5.9gb to internal emmc. I am using a Kinston 8 gb class 10 with Speed Booster cache set to 2048 (original setting on sd was 1024). Anyone else experiencing a slower OS after updating to CM7.1.0 stable?
Sorry if too simple, but how is the best way to "wipe davlik cache?"
yeroc40 said:
Sorry if too simple, but how is the best way to "wipe davlik cache?"
Click to expand...
Click to collapse
I suggest, next time, you should open a new thread, providing a basic system info along with question.
For now, "wipe dalvik cache" simply by entering CwM Recovery (ClockworkMode Recovery) then go to Advanced, you'll see Dalvik there, select it, perform wipe.
Note: this only for running CM7 from eMMC, not booting from uSD.
c0rndog said:
Clearly using a card reader is easier than that
Maybe I'm missing something here (forgive me if this is a noobquestion), but why can't I access the /boot partition of the SD card directly from the NC using a file manager?
Click to expand...
Click to collapse
It's a little like trying to write the boot sector on a Windows system after you've booted. Too much potential damage can result from accessing the boot partition while you're running the system.

Guide to partition SD card and use with Link2SD to store apps

I have been looking for something like this for a while. The flipout lacks internal memory and it soon becomes a problem if you want to have a good set of apps.
Here's what you'll need:
1. Rooted Flipout (I won't post instructions to this step, look for "Universal AndRoot")
2. Partitioned SD card (see below for instructions), depending on the method, you might need a phone with CWM to do this and ADB installed on your PC.
3. Download Link2SD from Market
So here are the steps:
1. Partition your SD card. There are many ways to do it. I will post two ways:
Use MiniTool Partition Wizard Home Edition
My PC didn't like this tool and I wasn't able to use it. However, it should be quite easy, you just need to put your card in a card reader and build two partitions with the following characteristic:
First partition will be your main card partition, should be of the whole card size minus the extended partition you want to create
Second partition should also be fat32 (link2sd didn't like ext2 nor ext3 on the flipout, it only worked with fat32)
Use CWM. I personally didn't want to install it on the Flipout, so I used a Samsung Epic 4G for the steps. You should be able to use any phone with CWM to do it, put your SD card in the phone with CWM and boot into recovery:
adb shell reboot recovery
parted /dev/block/mmcblk0 (open partition manager for SD card)
print (prints partition table)
Here you should have one partition table, starting at some point and ending at some point like 7969 if your card has 8GB. Take note of the End value as you'll need it.
rm 1 (deletes partition 1, this will erase all data on the SD card)
mkpartfs primary fat32 0 7425 (creates a new primary partition, the second number should be the value you took note of in the last step minus the size in MB of your desired extended partition).
mkpartfs primary fat32 7425 7937 (creates the new partition for applications, starting at the end of the last partition and ending on the max size of the card. In this case I used fat32 as I couldn't do it with ext3 nor ext2, link2sd didn't like this format on the flipout for some reason).
The partitions are created and you should be able to go to the next step.
3. Reboot your flipout with the partitioned SD card, make sure to have link2sd installed.
4. Open link2sd, it will take a while, ask for root permissions (always accept and make sure to have Remember checked).
5. It will ask for the partition type, select fat32. If you are asked to reboot your phone you have everything setup, otherway please post your problem.
6. Once rebooted, open link2sd again and go to settings and configure. I don't like having all applications automatically linked as widgets and this kind of apps can fail if they are on the SD, so I have this setting unchecked. However this is a personal decision.
7. To move an app to the card, hold your finger on it and when the menu appears, press link and confirm.
8. To move an app from the card to the phone, hold on it and press unlink, check everything and wait for the app to be returned.
Further Tips:
Avoid moving apps to the SD that are use widgets or that run all the time like: messenger apps, alarm clocks, climate widgets, etc. I tried one or two without any failure but I feel they could be less reliable this way.
Don't remove your SD card if the phone is turned on, now it has a partition that is used by the system, if you remove it you could have issues, I would only remove the card with the phone turned off completely and not boot without the card.
I made some tests connecting the USB cable to the PC and using the phone in storage mode, the PC could see the primary SD card partition and the phone could still work with apps on the second partition, so it seems to be stable in this sense.
If you need to switch to another card, you would have to setup the new card in the same way; I don't know yet if backing up the second partition and restoring it to the new card will work. If your data is critical use some SW like Titanium backup to back up the apps that are linked, remove them completely and restore when you have the new card setup.
So, this has worked for me like a charm, the phone really seems stable and I have so far like 150MB of apps on the SD card. No need to have a newer Android version, it seems very stable.
Disclaimer:
Any process that involves rooting your phone and partitioning can potentially cause data loss and/or bricking your phone. Do this only if you are 100% sure of what you're doing, I will take no responsibility for any data loss / damage caused by this process.
If you have any questions I will be glad to help.
Hi great post above
I rooted my phone and I partitioned my sd card into 2 partitions , both FAT32 primary 3.7GB and when i open link2sd and select either ext 2 or ext 3 I get an error message
"Mount scrip error
Mount scripe cannot be created.
mount: no such device
ext 2 may not be supported on your device. Try FAt32 on the second partition"
Has anyone come accross this problem before ?
Hi,
When you open link2sd,scroll down and select fat32. I tried formatting the second partition with ext2 and ext3 wit no luck. Fat32 is working just fine.
Regards
Hi Thanks a million that worked great
thanks
hi i tried wat u told but after some time link2sd is showing failure that "cannot link readonly" can u help me
Your guide works great. Finally I can have all apps I like to have installed at once.
mschmiedel said:
[*]If you need to switch to another card, you would have to setup the new card in the same way; I don't know yet if backing up the second partition and restoring it to the new card will work. If your data is critical use some SW like Titanium backup to back up the apps that are linked, remove them completely and restore when you have the new card setup.
[/list]
Click to expand...
Click to collapse
I can tell some experiences with backups.
Before I had blur stock rom with link2sd and changed to deblur central europe rom. After reinstalling link2sd all apps where still gone.
And even after restoring all user apps with titanium backup they were restored to phone memory. I had relink them with link2sd manually and to batch restore with titanium backup twice because it broke down in the middle because phone memory was full.
Unfortunately link2sd is no magically way to have them backed up apps and to be independent from the rom. Titanium backup is still needed but that is fine. Nothing seams broken after restore with TI and relink with link2sd.
lovdanie, it's strange, had no issues with the tested phone yet, I partitioned 500mb and it has already like 200-250MB of apps linked and is working great, no issues.
One thing that could have happened is that you removed the SD card. Are you sure the SD card hasn't been touched or formatted?
bagers, it's not really a magical solution, it's just a way to get more space on a phone that lacks internal memory...
Regards
Just for some info.. under windoze try the "MiniTool Partition Wizard Home Edition" makes partitions like charm..
Guys any one have links for disk partitioners? minitool is not a freeware as u have t buy it when you apply the partition. any one know a way roubnd this? please help
miniProBhashi,
That's why I always use CWM to partition the SD card. As I don't have it on the Bllur, I put the card on another phone I have with CWM and it always works... Maybe if you have a linux PC you could do the same thing...
Regards
Help
Hi, I just partitioned my SD card. When I open the Link2SD app, it did prompt me to select the file system of the SD card's second partion, however, after I select FAT32/FAT16, Link2SD could not gain root access, there's no pop-up of indicating me to select "Allow" on the Superuser Request. Now wot do I do. Please help, thank you...
Well, I would start checking the SuperUser app to see if there is some exception in there. If you don't have it, check out if your phone is rooted by installing some other app that requires root access.
If not, check the root method for your phone.
If it's the Motorola Flipout, download version 1.6.1 from this thread, install it and run it:
http://forum.xda-developers.com/showthread.php?t=747598
Regards
mschmiedel said:
Well, I would start checking the SuperUser app to see if there is some exception in there. If you don't have it, check out if your phone is rooted by installing some other app that requires root access.
If not, check the root method for your phone.
If it's the Motorola Flipout, download version 1.6.1 from this thread, install it and run it:
http://forum.xda-developers.com/showthread.php?t=747598
Regards
Click to expand...
Click to collapse
My phone is Galaxy ace, and superuser doesnt prompt anything on start-up.
Tried rooting manually, doesn't work as well
Hi,
I would try on a Galaxy Ace forum to check for the rooting process and validate if your phone is really rooted. When you are 100% sure you have root you can come back to this post and we can check if there's some other issue...
Regards
Flipout problem
Done all u told...
Then this problem came..
Mount script cannot be created.
mount: Invalid Argument
p0kjats said:
Done all u told...
Then this problem came..
Mount script cannot be created.
mount: Invalid Argument
Click to expand...
Click to collapse
Hi,
Have seen similar problems when using ext filesystems. Are you 100% sure that the secondary partition on the sd card is fat32? It really should work on the flipout without any issues.
Remember that you need:
* Rooted flipout
* Partitioned sd card (secondary partition must be fat32)
* Link2sd opened and allowed to use root permission
If you are sure you did everything stated above, we can look at it with more detail. What tool did you use to partition the sd card?
root permission
hi,
i have installed Link2SD from Market to my lg optimus p500 os,gingerbird2.3.3,when i stared to move app to sd it asks root permission.
so pls guid me to activate root permission in my device
drnags said:
hi,
i have installed Link2SD from Market to my lg optimus p500 os,gingerbird2.3.3,when i stared to move app to sd it asks root permission.
so pls guid me to activate root permission in my device
Click to expand...
Click to collapse
Hi,
It doesn't make much sense to use Link2SD if you're on Gingerbread as your OS natively can copy apps to the SD card (at least some of them). Just go to "Manage Applications", and select the app you want to copy, there should be an option to "Move to SD"...
If you still have some good reason to use Link2SD, you should first look in a forum for your specific device to find out how to obtain root (I cannot help because it varies for each device)... Once you have root access, I can help you out with this process.
Regards
miniProBhashi said:
Guys any one have links for disk partitioners? minitool is not a freeware as u have t buy it when you apply the partition. any one know a way roubnd this? please help
Click to expand...
Click to collapse
When I partitioned mine I used GParted Live. It's a Linux-based boot disk, but you don't really have to know anything about Linux to use it. Just download the .ISO and burn a CD, pop it in your PC and boot off it. Its free, graphical (not command line) and relatively easy to use. There is also an option there to set it up to boot live off a USB drive, but that's a bit more involved to set up.
gparted . sourceforge . net / livecd.php (sorry, it won't let me directly post links yet)
If you can burn a .ISO to a CD, you can probably figure it out. Just make sure you pay attention to which disk you are partitioning (look at the sizes) so you don't accidentally re-partition the hard drive in your PC.
EDIT: If there is anything you need to back up off the SD card, I would do that in Windows first, and then copy it back using Windows after. You CAN do this with GParted Live but there would be additional steps to mount / unmount the Windows partition on the PC that you want to copy to.
the bootstrapped recovery seems to be having a partitioning tool.
Maybe im wrong, haven't used it though

p-3113 Swap ExternalSDCard 2 Internal

Here's a script I modified originally its a script written by mattiadj so I gotta give him props
Here's his thread its for the Galaxy S III I think - http://forum.xda-developers.com/showthread.php?t=1772234
This will make your external SDcard as Internal and your Internal SDCard external
It mounts data/media to your extSdcard
Please make a backup before you do this, just in case.
Let me know if you have any problems
1. Anyway.. you will need to place this script in your /data folder (Yes you need to be rooted)
2. Next use ES file manager and give it 777 permission (For the non-linux users, that's full permission on it, Read, write, execute for just user)
-----------------to do this with ES file manager just press and hold down on the file and look at its properties. At the bottom you can see Permissions, hit the Change button and check-mark everything for user
3. Use Smamager (Download it if you dont have it, ... .its free) and goto the script file and open as script/execute, then when it opens choose "Is executable" and then click "Su" & "Boot". Click "Save".
4. Reboot and enjoy.
To go back to the normal setup just delete the script or open it back up in smanager and clear the SU & Boot options.
In order for some apps to function properly you will have to copy some folders from your old internal sdcard to your "New" one.
For example.. aptoide wouldnt work until the aptoide repos folder was copied over. If you want you can just copy over everything to be safe. I on the other hand just picked and chose what I needed
xalien8dx said:
2. Next use ES file manager and give it 777 permission (For the non-linux users, that's full permission on it, Read, write, execute for everyone)
-----------------to do this with ES file manager just press and hold down on the file and look at its properties. At the bottom you can see Permissions, hit the Change button and check-mark everything
Click to expand...
Click to collapse
IMO, this is terrible advice. The script is probably getting run as root, and you're opening it up to be written by anyone. Imagine if malware edited the script? Think of what malware could do if it had root access...
Sent from my Galaxy Tab 2
imnuts said:
IMO, this is terrible advice. The script is probably getting run as root, and you're opening it up to be written by anyone. Imagine if malware edited the script? Think of what malware could do if it had root access...
Sent from my Galaxy Tab 2
Click to expand...
Click to collapse
Changed it to just user read, write, execute..
thanks
So, after this what happens to the internal SdCard. Does it, or is it still being used, and if so for what...?
^ same ? and has anyone tested this and is it safe?
All this is is a modded script from mattiadj. It was written for the GS3, so I changed it to work on the 3113 tablet
Here is what it does quoted from mattiadj
My aim was to use the external sd as internal sd and the original internal sd ONLY for apps installation.
So now my 64gb external sd is used for all tasks which the internal sd was used and the original internal sd is only used for apps storage!! All extra files (resources, caches, etc etc) are stored in my external SD, which is now mounted as internal
Click to expand...
Click to collapse
The original internal sdcard is mounted by default from the system as /data/media as well as /sdcard and mnt/sdcard
so with this script it puts data/media as extSDCard and /sdcard and /mnt/sdcard are mounted to the original external SDcard
you can still access the internal SDcard from data/media or /extSDCard or mnt/extSDcard
my code
Code:
sleep 5
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:25 /mnt/sdcard
sleep 5
mount -o bind /data/media /mnt/extSdCard
this can be easily modified to work on other systems.
Hope this helps,
N8
Tried this out last night. For me it works only if run manually... After reboot, I get long "checking SD for errors" and when it actually mounts SD it gets mounted twice- as both internal sdcard and extSdCard.
Sent from my GT-P3100 using Tapatalk 2
I ran this with SCript Manager (Play Store) and it works great on my p3113. My External SD card was mounted as internal and my Internal Memory was mounted as ExternalSDcard. I am going to love having this script!
If your having problems with it mounting as your internal and external try unmounting/remounting your external card in settings under storage. Or if your skilled enough try changing the second sleep value in the script to a higher number like 10 that should fix it
Works famously. For the apps that have issues just clear data under settings and it seems to be golden.
Sent from my GT-P3113 using xda app-developers app
I haven't done anything quite like this before but I have a use in mind. My GPS program, Sygic, puts the mapset on the internal sd card. Just the Western USA states are 500 mb If I get this running, and have Sygic do it's normal install, will the mapset to to the 32 GB MicroSD card that I have?
king200 said:
I haven't done anything quite like this before but I have a use in mind. My GPS program, Sygic, puts the mapset on the internal sd card. Just the Western USA states are 500 mb If I get this running, and have Sygic do it's normal install, will the mapset to to the 32 GB MicroSD card that I have?
Click to expand...
Click to collapse
It should. For example, I use Amazon MP3 and when I downloaded a song before they went to the internal card. Now they are stored on the external. The device reads your external as though it is the internal.
Sent from my GT-P3113 using xda app-developers app
so is there Anyway on how to force this to start on boot?
Sent from my GT-P3113 using xda app-developers app
kdog48 said:
so is there Anyway on how to force this to start on boot?
Sent from my GT-P3113 using xda app-developers app
Click to expand...
Click to collapse
Yes
in script manager choose su and boot. If you follow the first post it will execute on boot. Or if you have a rom with init.d support place this script in your /etc/init.d folder, I dont have a rom with init.d support so I dont know if that would work but it should. If someone could test this and let me know I would appreciate it. Im not sure if you still have to set permissions to execute on it.
Well I've had problems downloading certain apps to SD it says insufficient memory delete 0mb of data so I actually will just manually use it haha
Sent from my GT-P3113 using xda app-developers app
Working 100% using a 32GB memory card! thanks for this!
hi guys
is applicable to 2 10.1 GalaxyTab P5100?
requires Android 4.1.1 or 4.0.4. ?
Thank you.
If this works, I will name my next born child after you!
Anyway, I would like to know if this will work on Cyangenmod 9.0.0? Or will it only work on the stock rom. I have my old stock rom of 4.0.4 saved if I need to go back... because I will if this works.
does root explorer have the 'su boot' option? never used it to run scripts...:silly:
I already used the thank link... but stilll thank you so, so much! I just recently got my 8gb 3113... needless to say, I REALLY needed some space. If any, it was a good lesson for me to definitely choose the 16GB Nexus 4.
MadDogE134 said:
does root explorer have the 'su boot' option? never used it to run scripts...:silly:
Click to expand...
Click to collapse
It's from SManager.

[HOWTO] Format and use SD card with ext4

WARNING
This will format your SD Card and you will lose all data on it! Make a backup first!
WHY
No limit of file size
Safer filesystem
IMPORTANT
If you use SuperSU, disable "Mount namespace separation"
You need to have busybox installed!
TWRP recovery will automatically detect the filesystem and work as before.
Everything works as before. That includes MTP, Stock File Manager, Storage settings.
HOWTO
Install SuperSU:
If you have root, just download from play store, select Normal Installation. Wait. Go to MIUI Security, Root permissions, and enable SuperSU. Go back to SuperSU, select Normal Installation again.
If you don't have root, you need to install from recovery, with twrp.
Install Busybox from Google Play, then start the app, and press install.
Install Redmi Note 2 Tool from Google Play.
Start the app, give root persmissions.
In MIUI security, enable Autostart and Root for Redmi Note 2 Tool.
If you only want to use the SD Card functions without the CPU tweaks make sure Set On Boot and modify touchboost is unticked.
Make sure you have a backup of every important data on your SD.
Select Other from the left menu, and press Format SD as ext4, if you haven't done it manually before.
Tick Mount SD as ext4 on boot.
Press Save&Apply, and you are good to go.
OP updated with own application and instructions.
Hi, is there a limitation to the sd card capacity? As I'm using 64 GB one with FAT32 and I want to increase the 4 GB file size limit. Thanks
No, it's not something you have to worry about today. (16TB)
Tapatalk-kal küldve az én Redmi Note 2-el
Hi,
I´m sorry to ask but watt´s the advantage of this.
Regards
micro SD card with FAT 32 limit max file size to store on it to 4GB.
There was an issue with mounting that could prevent writing to the card. Hopefully 1.3 will solve this.
I have managed to make it work without SuperSU and busybox from version 1.5, although some feedback would be nice.
I have a unmount error trying to formate
Pic
Frty&dr said:
I have a unmount error trying to formate
Pic
Click to expand...
Click to collapse
Try again a few times, or try to reboot. If the problem persists, you may have to format the card in a PC.
Also 1.8(.1) has a problem with auto-mount on boot, it is fixed in 1.8.2
Xmister said:
Try again a few times, or try to reboot. If the problem persists, you may have to format the card in a PC.
Also 1.8(.1) has a problem with auto-mount on boot, it is fixed in 1.8.2
Click to expand...
Click to collapse
Got it. It works. I dont use touchboost mode and if im using performance mode i cant open app. Yeah im switching but it is a small bug.
Is there a possibility to save aps on sd? I think by using apps2sd, make second swap partition? Dont know am i right...
Frty&dr said:
Got it. It works. I dont use touchboost mode and if im using performance mode i cant open app. Yeah im switching but it is a small bug.
Is there a possibility to save aps on sd? I think by using apps2sd, make second swap partition? Dont know am i right...
Click to expand...
Click to collapse
With 1.8.3 you can continue even when using other governors.
Apps2SD would be harder. Yes you need second partition, and you would need to mount that to data in the beginning of the boot. That's not possible without ramdisk tweaking. Which is extremely hard and dangerous to do with an application.
Is it possible to read a SD card formated with ext4 in Windows?
dablado said:
Is it possible to read a SD card formated with ext4 in Windows?
Click to expand...
Click to collapse
If the phone is connected to the PC, with MTP, you can read/write as before.
If you want to read the card itself, you need something like ext2fsd, or a total commander plugin, etc.
Sorry if I ask something silly. If I backup data with titanium before formatting sd card with ext4, can I just restore it after formatting the sd card ? Or I should do another thing first ?
Sent from my Redmi Note 2 using Tapatalk
Titanium backup is going to backup your applications to the sdcard, so it's not what you want.
You just have to copy everything from external sd to your pc or cloud or whatever, and after formatting, copy it back.
Tapatalk-kal küldve az én Redmi Note 2-el
Ha..ha..ha..how can I forget about that. I forget about system and aplications are installed in internal storage and backup to sd card. I'm going to try it. Thank you for you explanation..
Sent from my Redmi Note 2 using Tapatalk
With the past few versions, it was actually not possible to format the card.
This new version will not only format, but repartition it, to minimize the chance for an error.
I have used the Redmi Note 2 Tool for some time, but since Xiaomi removed Root from there Dev Roms and I have to use SuperSU for Root the mounting of my ext4 sd card doesn't work correctly anymore. I always get a Permission Denied error in Apps that don't have Root Rights.
Is there a way to make this work again or did I overlook some Setting?
Hard to understanding ex4 is OK if in case not wok I can mount again in ex4 tools. But miui file broser file manager can't use ext 4. Rootexpoler can use ex4. Is it need give permision for each program ? They don't ask for permision. Then how to solve it and run ex4 sdcard as normal in fat 32

SM-T580: Issue with Card Card setup (Link2SD and Titanium access)

Edit: Title should read "SD Card" (how to edit that?)
I have root and I am trying to get Link2SD to work. I have created the FAT32 (primary) and EXT4 (primary) partitions but I keep getting a mount script error ("unable to mount") (Also tried EXT2)
I am doing the same thing as I have done on several other devices and it is not working on the samsung.
Also, I am having issues with getting Titanium Backup to wrtie to the SD card too. I tried the Kitkit SD card patch but it failed.
I know the SD card works so I am thinking it is a wonky Samsung thing?
Thoughts or advice
Edit: Pulling SD card, re-inserting and rebooting and then Link2SD reports that the 2nd partition is not accessible during boot (and suggests quick boot to fix which it does not). Samsung says the FAT32 is fine but the EXT is "corrupt" but I have confirmed on two other devices it is fine.
So this seems to be some sort of access thing. Maybe related to the removal of encryption patch as part of the TWRP install?
Edit2: cat /sys/block/mmcblk2/device/type gives back "no such file or directory"; (whereas mmcblk1 gives SD)
Total commander shows sd-card (which is internal /storage/emulated/0), sd-card(2) "/data/sdext2"), and USB (SD FAT32 as /storage/BDB2-8960)
Got TB fixed anyway. Backup one file (on device internal location), move the directory to external SD card, then TB decided it is was OK to include that location under settings so select new location.
Now need Link2SD. Could this be a mount script write issue? Encryption issue (I removed it from internal via a scripted)?
Runings Mounts2SD, installed scripts, reboot but it says External is "not mounted". Link2SD still fails with those scripts installed.
chemie99 said:
Got TB fixed anyway. Backup one file (on device internal location), move the directory to external SD card, then TB decided it is was OK to include that location under settings so select new location.
Now need Link2SD. Could this be a mount script write issue? Encryption issue (I removed it from internal via a scripted)?
Runings Mounts2SD, installed scripts, reboot but it says External is "not mounted". Link2SD still fails with those scripts installed.
Click to expand...
Click to collapse
Link2SD never worked for me either no matter what I did. Apps2SD works flawlessly. Links data, apk, obb files and everything without any issues on ext4 format.
moxalis said:
Link2SD never worked for me either no matter what I did. Apps2SD works flawlessly. Links data, apk, obb files and everything without any issues on ext4 format.
Click to expand...
Click to collapse
I tried installed Apps2SD but it never asked for root and decided half the apps could not be moved. I figured it was just offering the usual stock "move apps" which moves marginal amount.
Samsung says that the EXT partition is corrupt but Aparted says it is fine. EXT2, and EXT4 created in either Minitool or Aparted are simply not read.
Mount2SD adds scripts to mount but the partition remains unmounted after reboots.
What format does Samsung want?
chemie99 said:
I tried installed Apps2SD but it never asked for root and decided half the apps could not be moved. I figured it was just offering the usual stock "move apps" which moves marginal amount.
Samsung says that the EXT partition is corrupt but Aparted says it is fine. EXT2, and EXT4 created in either Minitool or Aparted are simply not read.
Mount2SD adds scripts to mount but the partition remains unmounted after reboots.
What format does Samsung want?
Click to expand...
Click to collapse
Samsung reads the partition as corrupt but Apps2SD is using it just fine. You should delete any mount scripts and re-create them through the Apps2SD application.
moxalis said:
Samsung reads the partition as corrupt but Apps2SD is using it just fine. You should delete any mount scripts and re-create them through the Apps2SD application.
Click to expand...
Click to collapse
How do I manually delete the mount scripts?
chemie99 said:
How do I manually delete the mount scripts?
Click to expand...
Click to collapse
There is the option "Delete mount scripts" in the Apps2SD app. Check their FAQ page for any questions, it's pretty helpful.
Hello! I was having just the exact same problem with my T580.
I just loged in to say how I fixed it:
Open SuperSU app -> Settings.
Check "Enable su during boot"
Uncheck "Mount namespace separation".
After a reboot, Link2SD detected the 2nd partition!
EDIT: Now I fin another issue. If I try to link Obb, it says my device is using "sdcardfs". It offers to install fuse insted to fix it, but after rebooting I still getting the same message.
What could I do?
otamaglimmer said:
Hello! I was having just the exact same problem with my T580.
I just loged in to say how I fixed it:
Open SuperSU app -> Settings.
Check "Enable su during boot"
Uncheck "Mount namespace separation".
After a reboot, Link2SD detected the 2nd partition!
EDIT: Now I fin another issue. If I try to link Obb, it says my device is using "sdcardfs". It offers to install fuse insted to fix it, but after rebooting I still getting the same message.
What could I do?
Click to expand...
Click to collapse
Seems Link2SD does not like Marshmallow so I switched to Apps2SD (which also suggests what you did). It would not create the partition itself but took windows EXT4 and after a bunch of config, worked. The issue I now have is that Samsung still thinks the card is corrupt (which it isnt); any EXT partition and it says that. So on any reboot it greets me with a system notification of a corrupt card (which I want to get rid of but so far can't)..
I did try adoptable using a scripts from this site (didn't work) and the Apps2SD option. Seem to work on device but windows only saw the device memory so would not copy anything when it reported full.
took another kick at the cat today; installed Apps2SD, created mount scripts, but now, for reasons unknown, it no longer reports the SD as corrupt on boot (although it does say that partition is corrupt from the storage setting menu. Weird. No idea why it is no longer doing this. I will say the reinstall was funny. I had to delete and recreate the mount scripts several times (all said it worked) to actually get apps to move without disappearing. perhpas I ended up with a different mount script method in all the trying

Categories

Resources