[Q] SD Card Write Fix - T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting

SD Card Write Fix
Just edit etc/permissions/platform.xml (using root explorer) as shown below...and reboot...
add line:
<group gid="media_rw" />
Now all apps will be able to write to external SD Card... This is a temporary manual fix until we have a working custom recovery).
I am rooted. I followed the direction and it keeps telling that it cannot save the file. I am puzzled.

pressagny27 said:
SD Card Write Fix
Just edit etc/permissions/platform.xml (using root explorer) as shown below...and reboot...
add line:
<group gid="media_rw" />
Now all apps will be able to write to external SD Card... This is a temporary manual fix until we have a working custom recovery).
I am rooted. I followed the direction and it keeps telling that it cannot save the file. I am puzzled.
Click to expand...
Click to collapse
Does Root Explorer have root access? Also make sure you are using the editor to make changes.

pressagny27 said:
SD Card Write Fix
Just edit etc/permissions/platform.xml (using root explorer) as shown below...and reboot...
add line:
<group gid="media_rw" />
Now all apps will be able to write to external SD Card... This is a temporary manual fix until we have a working custom recovery).
I am rooted. I followed the direction and it keeps telling that it cannot save the file. I am puzzled.
Click to expand...
Click to collapse
Make sure you are doing it in the external storage section.

Glad I found this. I just brought my brand new baby home from the store this afternoon. As soon as I tried to delete some photos from folders on the SD card using Quickpic (photo app), I got the error. I understand the problem, but quite frankly, I don't understand why this issue exists only with the ext card, and not the internal storage. The skeptic/conspiracy-theorist part of me sees it as Google's way of making ext cards so uncomfortable and impractical to use (without root), that more people will start using internal storage exclusively - primping them for the Nexus (no ext SD) devices.
In any case, I didn't want to root on day 1. I'm frustrated enough about this that I'm really just about ready to return it and stick with my faithful Note 2.
Can these permission workarounds be performed without rooting?
ETA - Never mind - I'm able to manipulate the permissions file, but cannot save w/o root.

owlensteed said:
Does Root Explorer have root access? Also make sure you are using the editor to make changes.
Click to expand...
Click to collapse
Thanks I found the editor to make the change. Now all the apps I am downloading are saved to the SD. Is that normal? .

Related

Solved! How to swap the internal sd storage with the external one

Hello everybody.
I'm searching for a way to swap between the internal sd storage and the external one on my Galaxy S3 Mini because the internal storage is not enough big to install games and other big apps. I've seen there is a way for the S3, but I don't know if it's possible for the Mini too...
So, please, if anyone can help me...
EDIT: I've found a way to do that, and it only needs to have a Galaxy S3 Mini i8190 rooted.
Okay let's go.
I took the method from this thread: http://forum.xda-developers.com/showthread.php?t=1886091
But it's not exactly the same on the Mini.
The following quote is the instructions taken from the thread with the improvements ( in red ) for the i8190.
NB: I can't answer to questions since I'm not expert at all, I got it working so I give you the solution, that's all I can do.
1. First, I'd recommend making a Nandroid backup of your phone.
2. Next, just to be extra safe, I would backup your internal SD card to your PC. While you are doing that, if you have data on the external SD card, back that up too.
3. Next, I would format your external SD card to fat 32. (You could probably use Ext format too, but I didn’t test that.)If you already have it in that format, and have content on it, this won't affect the content, but back it up just to be safe. It’s probably better to have the Ext SD blank to begin with, you can always copy back its content from your pc.
4. Next copy the contents of the internal SD to the External SD card. This is to avoid confusion about apps and such.
5. Next install script manager free from the play store:
https://play.google.com/store/apps/...anager&feature=nav_result#?t=W251bGwsMSwyLDNd
It will show up on your phone as S manager ads.
You MUST install BusyBox too!! https://play.google.com/store/apps/details?id=stericson.busybox
6. Download the mod from here: https://dl.dropbox.com/u/6305/SD Card Hack SG3/11extsd2internalsd
( save as ) And put it into the /data directory of your phone
7. You must edit this script for it to work on Mini. Change /mnt/sdcard to /storage/sdcard0 and /mnt/extSdCard to /storage/extSdCard
(This vary depending of your phone, so check where is located internal storage, it was /storage/sdcard0 for me, and the external SD, it was /storage/extSdCard for me.)
8. Open the script manager app, and select Browse as Root in the config screen. Tell it to remember this setting.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager browse as root and save.png
9. Using Script Manager, navigate to that file in the /data directory. Press and hold the file name until the menu pops up, and click on properties.
(Unix geeks set them to 777, and everyone else copy the picture below. Click OK.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permission settings 777.png
10. Click on the scipt now.. Click on the “Is script” button.
11. Now tap on the buttons that say Su, Boot, and Save. The file name will come up in yellow after the save.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager setting after save.png
12. Reboot your phone and you should see the swap working and be able to access both internal and external SD cards. The external card will show up as sdcard, and the internal card will show up as extSDCard. Your apps should now install to the external card, since your phone will think it's the internal card. Is that confusing? It was to me too!
Good luck and please share your experiences specifying which ROM you used, so that others can avoid frustration.
Thank you’s always appreciated.
Click to expand...
Click to collapse
Try this it might solve you're solution. http://forum.xda-developers.com/showthread.php?t=1410262
Sent from my GT-I8190 using xda premium
No, sorry, I've already seen that but it's not a way to swap the internal with the external sd storage..
Jalubyc said:
Hello everybody.
I'm searching for a way to swap between the internal sd storage and the external one on my Galaxy S3 Mini because the internal storage is not enough big to install games and other big apps. I've seen there is a way for the S3, but I don't know if it's possible for the Mini too...
So, please, if anyone can help me...
Click to expand...
Click to collapse
for big apps or games you need to put a additional "external" sdcard in your galaxy s3 mini..... for example i have installed the game "Need for Speed - Most Wanted" 1,8GB of the game is on my additinal "external" sdcard and the rest (40mb) are installed on device.....
enox.co said:
for big apps or games you need to put a additional "external" sdcard in your galaxy s3 mini..... for example i have installed the game "Need for Speed - Most Wanted" 1,8GB of the game is on my additinal "external" sdcard and the rest (40mb) are installed on device.....
Click to expand...
Click to collapse
I've an external sdcard, I bought one of 32GB, but I can't use it as I wanted to because there is no way to install apps into the sd card. So I'm searching for a way to let know the phone that the external sd is the internal storage and that the internal storage is the external sd card.
I've found a way!
Well what is it then.
Sent from my GT-I8190 using xda premium
kicker63 said:
Well what is it then.
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
Please take a look at my first post. I edited it with the solution.
Hi Jalubyc
I've just tried your solution above and my phone is showing under storage
Device memory Total space 4.54GB
Available 378Mb
SD Card Total Space 29.71GB
Available 27.12GB
So it looks like my first attempt didn't work
Problems I found were firstly at step 6, I couldn't download the mod on phone. I was using chrome and there is no (save as) option. I can only save the link. On PC I saved the page as a text doc and edited the sdcard and extsdcard bits before saving the script. Where is the /data directory? Am I supposed to create a "data" folder in the root of my internal sdcard or copy to the data folder in the android folder? I put it in the android/data/ folder and it didn't work.
Once this is working is it safe to delete the contents of sdcard0 to get my 4.54gb back. I also take it any ROM updates would revert everything back
jazzzy786 said:
Problems I found were firstly at step 6, I couldn't download the mod on phone. I was using chrome and there is no (save as) option. I can only save the link. On PC I saved the page as a text doc and edited the sdcard and extsdcard bits before saving the script. Where is the /data directory? Am I supposed to create a "data" folder in the root of my internal sdcard or copy to the data folder in the android folder? I put it in the android/data/ folder and it didn't work.
Once this is working is it safe to delete the contents of sdcard0 to get my 4.54gb back. I also take it any ROM updates would revert everything back
Click to expand...
Click to collapse
Oh no you're totally out of the solution. The /data directory is at root of the phone, so not in a sdcard. Use chrome from your PC to save as and put in into your sdcard before putting it into the /data directory with ES Explorer or another file explorer that's supporting root.
For the ROM updates I don't know because I've never tried.
I still cannot save the script using 'save as' as I don't have the option. I have 'save link as' which saves it as a text document. Edited it as stated.
I've found the data folder but ES explorer wouldn't allow me to copy my script to it and is showing the folder as blank.I got root browser lite from the play store which worked okay in allowing me to copy to the data folder. I used s manager lite to do its stuff and rebooted. No success - .
I'm using Android version 4.1.2/ Build number JZO54K.I8190DXALL3 .
Are you positive about the /storage/ change to the script as I remember when using directory bind it was /mnt/extSdCard/ and /sdcard/.
There is a /mnt/sdcard/ too which contains the same files as other location so possibly script can run unchanged. Getting a bit frustrated now as I have an old HTC Desire with over 300 apps (70+ games) with internal memory of 137Mb out of 148Mb and 10Gb free on sdcard out of 32gb
---------- Post added at 02:20 PM ---------- Previous post was at 01:42 PM ----------
Ok working now. Your script changes were correct. Device memory total space 29.71GB with 27.12GB free. Sd card total space 4.64gb with 800Mb free.
Now to get my full 4.64Gb back which folder contents do I delete? I think deleting the contents of extsdcard in my files. Thanks you've changed my phone from a very limited phone to something much better.
It is a bit strange way to solve free space problems.
I have 8GB version with 4.5GB free the box. When I installed all games and apps that I needed there was something about 800MB free.
My solution is simple:
1. install Directory Bind
2. Make link: mount="/sdcard/Android/", source="/storage/extSdCard/Android/" with "Transfer Files" option
3. Wait till the end of process (can take alot of time depends from your data)
4. Enjoy!
After this simple manipulations I got 3.6GB free in internal memory, installed 2 additional games (including Need for Speed Most Wanted with huge data) and it shows 3.4GB now.
You can make as much links as you want, of course. But moving "/sdcard/Android/" to external SD is enough
I tried directory bind and it just copied the contents of my internal sdcard to my external sdcard. It didn't move the contents as it was supposed to. I ended up with a copy of the files on both sdcards. If I tried to delete from my internal sdcard it also deleted the contents of my external sdcard. I couldn't for the life of me figure out what I had done wrong as I'd followed the instructions as far as I could tell. Now my phone is seeing a massive internal sd card and a 4Gb external sd card. I still can't get spiderman total mayhem to work though it throws up an error while downloading the game data
you should not bind root folders via directory bind. And it makes symlinks so it will looks like content does not deleted from internal SD but it shown from external SD already.
flashable zip
Hi!
Do you think that is possible to install the mod via a flashable zip?
Many thanks!
Yes it is possible. Take a look of the post for the galaxy s3, it is explained. But you must edit the script to make it working.
plvigo said:
Hi!
Do you think that is possible to install the mod via a flashable zip?
Many thanks!
Click to expand...
Click to collapse
Not possible, we do not have a unlocked kernel, therefore we cannot load unsigned zips.
dolar4ik said:
you should not bind root folders via directory bind. And it makes symlinks so it will looks like content does not deleted from internal SD but it shown from external SD already.
Click to expand...
Click to collapse
Sorry I don't understand what you've written. What do you mean do not use to bind root folders? What's a symlink?Are you saying the folders I'm seeing on sdcard0 are dummy folders and the contents have been moved to extsdcard? I've swapped my sdcards over using the script now so no longer using directory bind.
Jalubyc said:
You MUST install BusyBox too!! https://play.google.com/store/apps/d...ricson.busybox
6. Download the mod from here: https://dl.dropbox.com/u/6305/SD C...tsd2internalsd
( save as ) And put it into the /data directory of your phone
7. You must edit this script for it to work on Mini. Change /mnt/sdcard to /storage/sdcard0 and /mnt/extSdCard to /storage/extSdCard
Click to expand...
Click to collapse
i have two questions:
1: What do i have to do with this data:
#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on gs3
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at
#Script Modified for U.S. Galaxy S3s by Zedomax at GalaxyS3Root.com to be compatible when sdcard is not inserted.
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
if busybox mount | busybox grep vold/179:97; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
Click to expand...
Click to collapse
And 2: how do i edit what is on step 7?
jazzzy786 said:
Sorry I don't understand what you've written. What do you mean do not use to bind root folders? What's a symlink?Are you saying the folders I'm seeing on sdcard0 are dummy folders and the contents have been moved to extsdcard? I've swapped my sdcards over using the script now so no longer using directory bind.
Click to expand...
Click to collapse
Symlink
symlink in human words is just a folder redirect.
For example, you have symlink that links folder "/storage/mydata/" to folder "/sdcard/mynewdata/"
When some application, system or user will try to get data from folder "/storage/mydata/", the data data from "/sdcard/mynewdata/" will be shown but folder path will be not changed.
You should not link root folders such as "/sdcard/", "/" ... coz it may prevent problems.

Sony Xperia ZR – Mount ExternalSD2InternalSD

Hi,
This is my first android device, so am pretty much a newbie for android.
Have created this mod to mount external SD card partition as internal partition.
I took pointers from a lot of threads on xda forums to get this working, so I feel bound to share it.
Note: Have only tested it with Android 4.1.
(I'm not responsible for any Damage to your phone. Use at your own risk.)
Note: This will likely result in data loss. Backup!
Required :
1. Root Access
2. init.d support click here
3. Root Browser click here
4. SManager click here
5. An sd card (duh!) (with class 10 SD cards preferable)
6. Some way to partition your SD Card (like MiniTool Partition Manager)
Install instructions:
1. Create two ‘fat32’ partitions on SD card(EDIT: PS: both partitions should be Primary). Your first partition will be mounted as normal extSd card, and your second partition will be mounted as internal SD Card for your apps. (I partitioned my 64GB(10^9 bytes) sd card with ~16 GB 1st partition and ~42 GB 2nd partition)
2. Copy and paste “mountSd” to etc/init.d folder. (If you don’t have such a folder, means you lack init.d support. click here and follow instructions to enable it) This script creates another mount point called ‘sdcard2’ and mounts current internal sd card there. It also tries to mount second partition to ‘sdcard0’ location, but seems to fail some times (as fat32 is not natively supported linux partition it seems, but could be wrong), so step 3 is required.
3. Copy ‘mountSdFailSafe.txt’ to your phone’s ‘/data’ folder. Now with ‘SManager’, register this file as script with ‘su’ and ‘boot’ selected. (click and hold script -> in context menu click ‘Open As..’ -> ‘Script/Executable’ -> Is Script = true, select ‘su’ and ‘boot’ buttons)
4. Restart.
This should do it. Once restarted, second partition will be shown as internal memory.
Note:
You will lose all app data and other app related customizations. You may be able to restore it by simply copy pasting ‘Android’ folder from ‘/storage/sdcard2’ to ‘/storage/sdcard0’. This has not been tested by me but should work theoretically (as I started with a blank phone, and so did not need to back up my app data). Or you could use Titanium Backup.
Some Issues that occur due to this mod:
I have been using this mod since the past 2 weeks, and the phone is quite stable with this mod.
The only issue I have faced is that when connected to PC (Windows 8) through USB, ‘My Computer’ keeps crashing unless and until you disconnect the phone. Otherwise it seems to be working fine. To circumvent this issue I have been using Samba to share files between PC and my phone.
Please share how it works out for you guys.
Other Notes:
I tried to get this working with ext4 partition, which has a +ves that it will not require step ‘3’ of install instructions and supports file sizes >4GB, but there are loads of permission issues happening, which I could not solve.
(Thought of setting “set GID” bit and then finding and adding all users to root group but failed. Also tried to set owner group ‘sdcard_rw’ without much success. May be someone who knows linux better may know how to solve this, Could not find much help on the forums as it seems others are facing a similar problem see more)
Thanks to:
For basic idea (PS: do not use the given method exactly as you will end up in a boot loop. For some reason, ‘sdcard1’ mount point has to be mounted by system only and can’t be mounted any other way, it seems.)
http://forum.xda-developers.com/showthread.php?t=2180733
Edit:
Simplified installation if you do not care for easy accessibility to your orig internal memory:
Use this video tutorial by ashwin123:
The only exceptions are that, you need to partition your card,
and you have to use the file 'mountSdFailSafe.txt' instead of the file in the package mentioned by him.
Nice
Waiting for someone to test it n confirm it successfully works
Still here
N!geR -> E!ch0
NisJ said:
Hi,
This is my first android device, so am pretty much a newbie for android.
Have created this mod to mount external SD card partition as internal partition.
I took pointers from a lot of threads on xda forums to get this working, so I feel bound to share it.
Note: Have only tested it with Android 4.1.
(I'm not responsible for any Damage to your phone. Use at your own risk.)
Note: This will likely result in data loss. Backup!
Required :
1. Root Access
2. init.d support click here
3. Root Browser click here
4. SManager click here
5. An sd card (duh!) (with class 10 SD cards preferable)
6. Some way to partition your SD Card (like MiniTool Partition Manager)
Install instructions:
1. Create two ‘fat32’ partitions on SD card. Your first partition will be mounted as normal extSd card, and your second partition will be mounted as internal SD Card for your apps. (I partitioned my 64GB(10^9 bytes) sd card with ~16 GB 1st partition and ~42 GB 2nd partition)
2. Copy and paste “mountSd” to etc/init.d folder. (If you don’t have such a folder, means you lack init.d support. click here and follow instructions to enable it) This script creates another mount point called ‘sdcard2’ and mounts current internal sd card there. It also tries to mount second partition to ‘sdcard0’ location, but seems to fail some times (as fat32 is not natively supported linux partition it seems, but could be wrong), so step 3 is required.
3. Copy ‘mountSdFailSafe.txt’ to your phone’s ‘/data’ folder. Now with ‘SManager’, register this file as script with ‘su’ and ‘boot’ selected. (click and hold script -> in context menu click ‘Open As..’ -> ‘Script/Executable’ -> Is Script = true, select ‘su’ and ‘boot’ buttons)
4. Restart.
This should do it. Once restarted, second partition will be shown as internal memory.
Note:
You will lose all app data and other app related customizations. You may be able to restore it by simply copy pasting ‘Android’ folder from ‘/storage/sdcard2’ to ‘/storage/sdcard0’. This has not been tested by me but should work theoretically (as I started with a blank phone, and so did not need to back up my app data). Or you could use Titanium Backup.
Some Issues that occur due to this mod:
I have been using this mod since the past 2 weeks, and the phone is quite stable with this mod.
The only issue I have faced is that when connected to PC (Windows 8) through USB, ‘My Computer’ keeps crashing unless and until you disconnect the phone. Otherwise it seems to be working fine. To circumvent this issue I have been using Samba to share files between PC and my phone.
Please share how it works out for you guys.
Other Notes:
I tried to get this working with ext4 partition, which has a +ves that it will not require step ‘3’ of install instructions and supports file sizes >4GB, but there are loads of permission issues happening, which I could not solve.
(Thought of setting “set GID” bit and then finding and adding all users to root group but failed. Also tried to set owner group ‘sdcard_rw’ without much success. May be someone who knows linux better may know how to solve this, Could not find much help on the forums as it seems others are facing a similar problem see more)
Thanks to:
For basic idea (PS: do not use the given method exactly as you will end up in a boot loop. For some reason, ‘sdcard1’ mount point has to be mounted by system only and can’t be mounted any other way, it seems.)
http://forum.xda-developers.com/showthread.php?t=2180733
Click to expand...
Click to collapse
Am interested to try this but before I do, just wanted to check when you say data is lost, is it due to the lost of the original /data partition? Or just due to the sd card's partition?
What's the outcome when this is done, I mean do we have two data partitions one from the original phone's memory and another with the sdcard? And in the settings menu, will we get to choose to send apps over to sd? Thanks
grim_ripper said:
Am interested to try this but before I do, just wanted to check when you say data is lost, is it due to the lost of the original /data partition? Or just due to the sd card's partition?
What's the outcome when this is done, I mean do we have two data partitions one from the original phone's memory and another with the sdcard? And in the settings menu, will we get to choose to send apps over to sd? Thanks
Click to expand...
Click to collapse
Your application data will be lost in a way, as orig internal sd card will be mounted to 'sdcard2' mount point(newly created). All your app data will be installed to your memory card's second partition, which is now the new internal sdcard. To access your orig data, you will have to go to it through a file manager, and apps or media scanner will not be able to access this memory any more.
The scripts provided will not format your internal memory.
Still apk files, dalvik cache etc, will still take up your original internal memory's space.
Partitioning your sd card will probably format it as well unless you take special precaution (ie. through shrink volume).
Hope it makes sense...?
NisJ said:
Your application data will be lost in a way, as orig internal sd card will be mounted to 'sdcard2' mount point(newly created). All your app data will be installed to your memory card's second partition, which is now the new internal sdcard. To access your orig data, you will have to go to it through a file manager, and apps or media scanner will not be able to access this memory any more.
The scripts provided will not format your internal memory.
Still apk files, dalvik cache etc, will still take up your original internal memory's space.
Partitioning your sd card will probably format it as well unless you take special precaution (ie. through shrink volume).
Hope it makes sense...?
Click to expand...
Click to collapse
It makes sense, just am confused on how the system will still recognize the original storage when the sd card's storage is supposingly replacing it. Could you post a screen shot of your storage from settings?
grim_ripper said:
It makes sense, just am confused on how the system will still recognize the original storage when the sd card's storage is supposingly replacing it. Could you post a screen shot of your storage from settings?
Click to expand...
Click to collapse
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
NisJ said:
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
Click to expand...
Click to collapse
Can u do a tutorial video how to install this script bro?
Cuz the installation steps r bit complicated
Still here
N!geR -> E!ch0
NisJ said:
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
Click to expand...
Click to collapse
Phone keeps rebooting now, couldn't copy it to /etc/init.d
I think it has something to do with having data running in the background, now I don't know what to do with my phone
EDIT: Ok, manage to recover from the reboot state, had to deny root access to my file explorer. I think the reboot was caused when I set permission to write for /system. Anyway, everytime I keep trying to copy to /etc/init.d, I get a permission denied so am not sure what I should do now.
grim_ripper said:
Phone keeps rebooting now, couldn't copy it to /etc/init.d
I think it has something to do with having data running in the background, now I don't know what to do with my phone
EDIT: Ok, manage to recover from the reboot state, had to deny root access to my file explorer. I think the reboot was caused when I set permission to write for /system. Anyway, everytime I keep trying to copy to /etc/init.d, I get a permission denied so am not sure what I should do now.
Click to expand...
Click to collapse
When ever you copy something to init.d it will reboot, or does it go into boot loop?
To check if it worked correctly, see if new mount point storage/sdcard2 was created..
EDIT: If it worked correctly, then you could move to next step.
else you could also skip it, and goto the next step of SManager, but in that case you will lose access to your original internal storage as it wont be mounted to sdcard2.
E!ch0 said:
Can u do a tutorial video how to install this script bro?
Cuz the installation steps r bit complicated
Still here
N!geR -> E!ch0
Click to expand...
Click to collapse
Creating a video will take time at least til sat... prob more.
Will see if I can create a simplified install instructions once i reach home.
NisJ said:
When ever you copy something to init.d it will reboot, or does it go into boot loop?
To check if it worked correctly, see if new mount point storage/sdcard2 was created..
EDIT: If it worked correctly, then you could move to next step.
else you could also skip it, and goto the next step of SManager, but in that case you will lose access to your original internal storage as it wont be mounted to sdcard2.
Click to expand...
Click to collapse
What happens is that everytime I try to mount /system as writable, it reboots and hence I can't copy either files to their designated location
EDIT: Also, now everytime I reboot, there's a popup that says USB connectivity has stopped, and if I go under settings->storage, settings fc. I'm thinking this has something to do with two partitions on the sd card so I hope it all goes away when this works or I revert back to as it was.
EDIT 2: So I managed to get all the files to the appropriate place using terminal and managed to get the script to run at boot. Alas, the phone doesn't detect my sdcard at all now and still throws the USB connectivity error at boot. Once I removed the sdcard, everything works alright. Also, I figured the solution to the reboot (haven't tested it yet as I wanted to resolve my sdcard first):
http://forum.xda-developers.com/showthread.php?t=2317432
EDIT 3: Got the reboot solve, but the sdcard can't be read and I tried plugging it into my other phone, the first partition is only read. I can't get minitool to even find the 2nd partition. I am thinking I need to get a card reader to plug it into my laptop. Anyway, I went through your script and open the log file it used, says that there's an invalid argument for mount. Any idea?
Final Edit: Got it working! I had to re-partition my sdcard and made both partitions primary so maybe you might want to add that in OP as MiniTool by default selected the 2nd partition as logical
grim_ripper said:
What happens is that everytime I try to mount /system as writable, it reboots and hence I can't copy either files to their designated location
EDIT: Also, now everytime I reboot, there's a popup that says USB connectivity has stopped, and if I go under settings->storage, settings fc. I'm thinking this has something to do with two partitions on the sd card so I hope it all goes away when this works or I revert back to as it was.
EDIT 2: So I managed to get all the files to the appropriate place using terminal and managed to get the script to run at boot. Alas, the phone doesn't detect my sdcard at all now and still throws the USB connectivity error at boot. Once I removed the sdcard, everything works alright. Also, I figured the solution to the reboot (haven't tested it yet as I wanted to resolve my sdcard first):
http://forum.xda-developers.com/showthread.php?t=2317432
EDIT 3: Got the reboot solve, but the sdcard can't be read and I tried plugging it into my other phone, the first partition is only read. I can't get minitool to even find the 2nd partition. I am thinking I need to get a card reader to plug it into my laptop. Anyway, I went through your script and open the log file it used, says that there's an invalid argument for mount. Any idea?
Click to expand...
Click to collapse
Why are you trying to mount /system as rw?
for getting init.d support you just have to download the apk from mentioned thread and install it, and then fallow instruction in app.
you can mount root as rw with the foll command if you want, and that is exactly what is done in he scripts as well if you will check:
Code:
mount -o remount,rw /
also to check if partition is created on sd card, type the command:
Code:
blkid
and see if
Code:
/dev/block/vold/179:34
is listed
if not post the output and i'll see what i can do.
grim_ripper said:
Final Edit: Got it working! I had to re-partition my sdcard and made both partitions primary so maybe you might want to add that in OP as MiniTool by default selected the 2nd partition as logical
Click to expand...
Click to collapse
EDIT: Correct, you need both the partitions to be primary. got out of my mind when posting the tutorial.
NisJ said:
Why are you trying to mount /system as rw?
for getting init.d support you just have to download the apk from mentioned thread and install it, and then fallow instruction in app.
you can mount root as rw with the foll command if you want, and that is exactly what is done in he scripts as well if you will check:
Code:
mount -o remount,rw /
also to check if partition is created on sd card, type the command:
Code:
blkid
and see if
Code:
/dev/block/vold/179:34
is listed
if not post the output and i'll see what i can do.
EDIT: Correct, you need both the partitions to be primary. got out of my mind when posting the tutorial.
Click to expand...
Click to collapse
For whatever reason, my /etc folder is actually a link from /system/etc
Could you post a way to revert back? I think my apps are acting all funny now and just want to revert back to before. Thanks!
grim_ripper said:
Could you post a way to revert back? I think my apps are acting all funny now and just want to revert back to before. Thanks!
Click to expand...
Click to collapse
The apps are behaving funny because you have lost their data as I had warned in the original post.
To fix do either of the foll:
1. reinstall app, and start fresh.
or
2. restore from Titanium backup if you had created...
or
3. copy paste 'Android' folder from sdcard2 if it is created to 'sdcard0'
To remove and revert, just delete the files from int.d, and stop scheduling it in SManger.
Note: to un schedule it from smanager, you first have to remove memory card, un schedule and then put in your memory card (this is coz when phone boots up, it is in standard way, with 8gb internal but, after script is executed SManager looses its data too.
How complicated will it be to make this compatible with 4.2.2?
grim_ripper said:
How complicated will it be to make this compatible with 4.2.2?
Click to expand...
Click to collapse
Ideally should be possible, unless something has changed majorly, but I haven't tried it, as am waiting for OTA update. If it is not forth coming in 2-3 weeks, may be tempted to flash nordic rom and try.
NisJ said:
Ideally should be possible, unless something has changed majorly, but I haven't tried it, as am waiting for OTA update. If it is not forth coming in 2-3 weeks, may be tempted to flash nordic rom and try.
Click to expand...
Click to collapse
I did try but nothing happened, am guessing it has permission issues or something on those lines
grim_ripper said:
I did try but nothing happened, am guessing it has permission issues or something on those lines
Click to expand...
Click to collapse
Could you be more specific? Like system restarts etc...
Else in terminal try out what I Gave in post no 12 and give me what the output is for both the commands in the terminal.
Note: execute them with super user credentials.
Thanks
NisJ said:
Could you be more specific? Like system restarts etc...
Else in terminal try out what I Gave in post no 12 and give me what the output is for both the commands in the terminal.
Note: execute them with super user credentials.
Thanks
Click to expand...
Click to collapse
on the 4.2.2 update, it doesnt recognize the second partition even if it is formatted to primary and set to active. there r definitely some updates done in that field and plus i cant get the init.d rights on the phone as the test.log file is absent in the data folder..no matter what i do i just cant get it straight with the present procedure. please try it on 4.2 and there r more frequent updates on the nordiac then the local version. so i decided to flash it rather than waiting for ota update

Guide - how to increase internal memory without scripts

I had trouble myself trying to increase the internal memory of my galaxy ace s5830i, until i found this method which i believe is very simple and easey to follow and wanted to share with more people who might be facing same problem. It isnot my work, but since it is in spanish i took some time to translate it so you could use the same procedure.
******************************************************************************************************
Here a translation from a video in spanish. The author is hery reyes• I’m only translating the info, but I’ve tried it myself and worked for me.
http://www.youtube.com/watch?feature=player_embedded&v=rgq4cNvTMng
Requirements:
-Make a complete backup of your rom from CWM
- Have root access
- This procedure should work with any ROM (Stock or Custom) however in some ROMS you might need to have active the “init.d” folder
- Root explorer or Root Browser (links available in the video)
- Partitioned SD card (you can do it with CWM or using Mini Tool Partition wizard.. or others..)
- Link2SD
Procedure:
Open Link2sd and allow Root Access
It will ask you about the partition to be used, select ext2 and it will ask you to reboot your phone. Please ignore and go to the main menu. From there, reboot manually your device.
Once it starts again, open Linkd2sd and the message about partition should not appear again. (If it does, choose ext3 and repeat the process, try with ext4 or fat 32 if previous do not work).
Once inside Link2sd, go to settings and take the mark off all the options. Then close Link2sd and we will not use it again from this point on. We will not need it anymore.
Go to Root Browser and allow Root Access.
Go to "/data/sdext2" and delete any folder you find inside. Go to the path "/data" and copy the 4 following folders "app", "data", "app-private", y "dalvik-cache", then go inside "/data/sdext2" and paste them. This process will take a little while so be patient.
Once the 4 folders are copied, we go inside "/data/sdext2"
y will do the same process for each of the folders. Go to “app” and long press the button, for a menu to appear, go to the last one that says –create link- then, go back to the main */data” folder and clieck on create, you will see a message saying the folder exists and if you want to combine them, click YES. Do the same for the other 3 folders. NOTE: If your sd card is less low capacity (less than 4), then better do it only with 3 folders and DON’T do it for the data folder (just leave it copied without the linking)
Then go out of the root browser and restart your device. When you go to Application manager, you will see you are using only around 60 of the total available and will be able to download many apps.
Simple Method For Me
1.Make Partition of SD Card.
2.After flashing Rom with custom kernel say(Rafeal's).
3.Flash CronMod Unofficial-By Styrke.zip.
4.That's it No use of Link2sd and all .
Install as much app you want .
Nice Guide, but i wanna ask u something..
How to unlink the folders?? in case if i want to change my SD card
joeseph.haji said:
Nice Guide, but i wanna ask u something..
How to unlink the folders?? in case if i want to change my SD card
Click to expand...
Click to collapse
I have the same question..
Nice guide. Thanks.
joeseph.haji said:
Nice Guide, but i wanna ask u something..
How to unlink the folders?? in case if i want to change my SD card
Click to expand...
Click to collapse
why unlink!? you can take a dump of your SD-Ext and put it back like this:
1. dd if=/dev/block/mmcblk0p2 of=/sdcard/mmcblk0p2 (assuming that's your ext partition)
2. Buy new, bigger SD Card
3. Partition the same size you had for your SD-Ext (1GB for example)
4. Perform: dd if=/sdcard/mmcblk0p2 of=/dev/block/mmcblk0p2
5. Resize the partition!
So you don't have to work your way again to do all the work from scratch =P
I think the script is better then this (just my opinion)

Can't read/write even rooted!!!

Hi to all Devs,
Currently i have an issue with my evo5 rom installed and locked but "ROOTED" bootloader (Z1). The issue is that i cannot move any app to external sd card nor i am able to backup up with (GOBACKUP)!!! When i open gobackup it the pops up message window says
" READ/WRITE/SDCARD canot identify backups,
SD Card might damage!
1. Recommend to copy GOBackup folder to other SD Card to try again.
2: If it happened after flashing a new ROM, the ROM might deny to Read/Write SD Card, can try another ROM.
Please, i have uploaded already all my apps from my previous GB installed phone, and try to recover them so that i can get my contacts and all sms messages.
Appreciate for any help..
Apply the third party write to SD card fix from the general section.
gregbradley said:
Apply the third party write to SD card fix from the general section.
Click to expand...
Click to collapse
Firstly thanks for the answer mate. I've rooted my device by installing XZDualrecovery of "NUT". And afterwards flashed the JFXPERIAS's (EVO5) ROM for Z1 C6903.. I uploaded the screenpic of the popup window here. I've installed already third party apps like SDFIX and NextApp SDfix that supposed to to work, but they didn't, however it ought to be. Do you think the issue is because of that my device is bootloader locked or the ROM itself?
I don't think it's the ROM as no one else is reporting this issue. It could be your SD card?
If you still think it's the ROM, try a different one and see if the problem persists
Ahki767 said:
I don't think it's the ROM as no one else is reporting this issue. It could be your SD card?
If you still think it's the ROM, try a different one and see if the problem persists
Click to expand...
Click to collapse
I'am doing cloud backup and restore. So it doesnt suppose to be related to the sdcard though? What is the logic of it when i'am trying to restore from cloud to straight internal sdcard?
Tried different SDcard it failed again.
Hi , today i tried the 2 different External SDcards and it failed again, the issue is still there, and i dunno what to do!!! Is Aroma installer do the partitioning of the internal SDcard?
Jacker75 said:
Hi , today i tried the 2 different External SDcards and it failed again, the issue is still there, and i dunno what to do!!! Is Aroma installer do the partitioning of the internal SDcard?
Click to expand...
Click to collapse
I dont know if this helps, but if you really need your SD card, I suggest you make a nandroid backup, SD card backup, and flash back to Sony stock rom with root and the SD card fix. Format the SD card again through your phone Settings > Storage > Format SD card. Try again.
If that doesn't work, could be a faulty card or your SD card reader is bad (unlikely).
kentexcitebot said:
I dont know if this helps, but if you really need your SD card, I suggest you make a nandroid backup, SD card backup, and flash back to Sony stock rom with root and the SD card fix. Format the SD card again through your phone Settings > Storage > Format SD card. Try again.
If that doesn't work, could be a faulty card or your SD card reader is bad (unlikely).
Click to expand...
Click to collapse
I have tried a different SDcards too, but unfortunately it didn't do the trick too. But, i have installed the stock 534 firmware and dualrecovery then it worked fine. But, when i installed the EVO5 ROM the issue occured again and again... I think it's because of somehow the AROMA's partitioning or something related to it... I'am totally messed up...
Jacker75 said:
I have tried a different SDcards too, but unfortunately it didn't do the trick too. But, i have installed the stock 534 firmware and dualrecovery then it worked fine. But, when i installed the EVO5 ROM the issue occured again and again... I think it's because of somehow the AROMA's partitioning or something related to it... I'am totally messed up...
Click to expand...
Click to collapse
I will say it again, since android 4.3+ third party apps cannot write to SDcard.
gregbradley said:
Apply the third party write to SD card fix from the general section.
Click to expand...
Click to collapse
Try doing it manually as opposed to using apps.
gregbradley said:
I will say it again, since android 4.3+ third party apps cannot write to SDcard.
Try doing it manually as opposed to using apps.
Click to expand...
Click to collapse
Read the above posts please...
Jacker75 said:
Read the above posts please...
Click to expand...
Click to collapse
I have done, please read mine.
I say to try and do it manually by editing the file yourself instead of using apps.
If it works on a 534 FW (android 4.2) but not on later FW (Android 4.3+) then its not the phone, not the sdcard but the platform.xml file in system/etc/permissions
gregbradley said:
I have done, please read mine.
I say to try and do it manually by editing the file yourself instead of using apps.
If it works on a 534 FW (android 4.2) but not on later FW (Android 4.3+) then its not the phone, not the sdcard but the permissions file....
Click to expand...
Click to collapse
Now i got what you tried to mention. I've read about it, so i will have to edit the XML file? Well, that was the only way i didn't try. Would you paste the link of it to here please so i can easly go through it.
Thanks anyways mate.
http://bit.ly/1vvdkJG
It could also be that you have not disabled sony RIC so you are losing the ability to mount system after a reboot. The apps work by changing the file after each reboot, whereas if you do it manually it stocks because you are actually changing the file
gregbradley said:
http://bit.ly/1vvdkJG
It could also be that you have not disabled sony RIC so you are losing the ability to mount system after a reboot. The apps work by changing the file after each reboot, whereas if you do it manually it stocks because you are actually changing the file
Click to expand...
Click to collapse
Unfortunately mate, the permisson.xml settings didn't help either. You can check the permissions below. I edited in ROOT_explorer PRO.
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORA GE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>
Jacker75 said:
Unfortunately mate, the permisson.xml settings didn't help either. You can check the permissions below. I edited in ROOT_explorer PRO.
Click to expand...
Click to collapse
Since I've been struggling with this for a bit, I thought I'd post on how I finally got around it. It turns out that nothing was disabling the RIC, which protects /system from being written. I don't exactly understand how/why, but this was also preventing my modified permissions.xml from taking effect. I have XZ Dual Recovery installed, so all I had to do was enable the init.d functionality, which by default will disable the RIC during boot.
After that, everything's humming along nicely.
EDIT: I was wrong about this (but that above is still totally valid) - in my case, I ended up getting things working with a different SD card. My normal SD card, somehow, stopped being writable. It *acted* like it was writable, but changes were never committed. I couldn't even format it. I RMA'd it to Sandisk.
Backup you files to your PC, format sdcard with any formatter with FAT32 option. Now in your phone with sdcard and with the ROM you want running, see if you need to format it through android on Status Bar then do it. This helped me out when I switched phones (WT19 to C6903).

Titanium backup extSD access issues

Hi everyone,
I recently purchased my LG G4 after finding that root had finally been unveiled! I transferred over my microSD from my Galaxy S4, which was running a v4.4 ROM.
Now, Titanium backup can read the card and restore backups, but it states the external_SD cannot be written to! Specifically, "This folder is not writable." This is using the Filesystem storage provider. I can change the "filesystem" over to Documentprovider, which then makes the SD directory writable, but there is NO protect function available on specific backups. Of course, I believe this to be a Lollipop issue.
There should be a way to have both, right? I've tried changing permissions on directories but have not gotten Titanium to recognize the folder, through the standard filesystem, to be writable.
I'm having the same issue that you are. I haven't had time to try these suggestions yet but go to the link below, on the second page they start talking about a script that someone made that will run every time your phone boots that gives proper permissions. Another person said that they had luck with Xposed Module. Unfortunately I won't have time to try any fixes until the weekend:
http://forum.xda-developers.com/showthread.php?t=2349460
I used the SDFIX application by Nextapp and it seems to have worked.
Here's how I granted Titanium Backup permissions to access my sd card.
1) click on menu button
2) click on Preferences...
3) click on Backup folder location
4) click on "Storage provider: External Storage (click to change)"
5) click on DocumentProvider storage
At this point, you may have a menu saying Open from. If so, click on SD card. If you don't see anything, hide the Open from menu (swipe left), click on the menu button at the top right and click on show SD card. At this point, click on SD card and navigate to the folder you want to grant Titanium Backup permission to write to. The select button is at the bottom of the screen. Hope this helps.
--SN
Metalero9389 said:
I used the SDFIX application by Nextapp and it seems to have worked.
Click to expand...
Click to collapse
You are correct! Thanks!
I looked at that app, but was wary because it mentioned KitKat but not Lollipop by name.
Anyway, I ran the app, gave it root permission, and it did its magic. I rebooted. Success!
Now, in Titanium Backup, it will detect the external_sd card as writable now. However, you HAVE to use the "Filesystem" storage provider in order to get the 'protect' function open. The "filesystem storage - Ext SD card" will work (whereas before it would not write to the directory) but you still don't have "protect" functionality.
SuperNu said:
Here's how I granted Titanium Backup permissions to access my sd card.
1) click on menu button
2) click on Preferences...
3) click on Backup folder location
4) click on "Storage provider: External Storage (click to change)"
5) click on DocumentProvider storage
At this point, you may have a menu saying Open from. If so, click on SD card. If you don't see anything, hide the Open from menu (swipe left), click on the menu button at the top right and click on show SD card. At this point, click on SD card and navigate to the folder you want to grant Titanium Backup permission to write to. The select button is at the bottom of the screen. Hope this helps.
--SN
Click to expand...
Click to collapse
This gets it permission to access + write, but I did not see a 'protect' option on my backups when I selected them.
Nextapp worked for me.
Sent from my LG-H811 using Tapatalk
I did this guide some time back to fix the media write permissions when kitkat came out for the first time on CM11 and submitted the fix to cyanogen. This still works with just a line editting. Is you guys like me that prefer to fix the problem editing a file instead of isntalling an app to get it done then this will be the thread to go http://forum.xda-developers.com/showthread.php?t=2524277
TecknoFreak said:
I did this guide some time back to fix the media write permissions when kitkat came out for the first time on CM11 and submitted the fix to cyanogen. This still works with just a line editting. Is you guys like me that prefer to fix the problem editing a file instead of isntalling an app to get it done then this will be the thread to go http://forum.xda-developers.com/showthread.php?t=2524277
Click to expand...
Click to collapse
Thanks for the link. I haven't run stock ROMS in quite a long time, so having limited SD access was a new phenomenon for me despite having been on KitKat for a few years.
"FolderMount" from the play store also fixes this.
thanks

Categories

Resources