[Q] Restore symlink to external SD after update to 4.1.2 / V20B? - LG Optimus 4X HD

Hi guys, I updated my P880 to V20B and now have problems with using the external SD properly. I found it being mountend to storage/external_SD and I can read/write there. BUT: I can't set a folder on it as the backup location in Super Backup (as I could before), my LG notes aren't backed up automatically to the external SD location (as it was before), and I expect many similar problems to arise with time.
Formerly, the external SD was mounted to mnt/sdcard/external_sd, if I remember correctly. Now this symbolic link (?) is missing. When I performed the update and then first booted the updated device, I had the external SD removed to make sure my backups were safe. Might that be the reason for the missing link? My questions are:
1. Should I flash the kdz again with the SD card inserted? Or at least perform a factory reset?
2. Or could the link be created afterwards, preferrably without rooting my device? Would that solve the problem, at all?
Any suggestions would be greatly appreciated!

Nothing?

How about formatting SD card ? Did you tryed that ? On 20a my card is read as storage/external_SD just fine.

dimi89 said:
How about formatting SD card ? Did you tryed that ? On 20a my card is read as storage/external_SD just fine.
Click to expand...
Click to collapse
Hey dimi, thanks for the suggestion! However, I am afraid you didn't read my post very carefully. I wrote that I actually CAN read/write to my external SD. But I cannot set the path in applications like Super Backup (when I navigate to some folder on storage/external_SD, the button "Select this folder" is inactive). And I suspected it is because it is no subpath of mnt/sdcard anymore. Also, some apps like LG notes don't write/backup to the external SD by default any more, and some of them unfortunately are not configurable.
That's the reason why I thought creating a simbolic link for mnt/sdcard/external_sd (as it was before) might solve the problem. However, I am absolutely not sure of this (plus: how to achive it) and would be happy about an expert's opinion.

pegnose said:
Hey dimi, thanks for the suggestion! However, I am afraid you didn't read my post very carefully. I wrote that I actually CAN read/write to my external SD. But I cannot set the path in applications like Super Backup (when I navigate to some folder on storage/external_SD, the button "Select this folder" is inactive). And I suspected it is because it is no subpath of mnt/sdcard anymore. Also, some apps like LG notes don't write/backup to the external SD by default any more, and some of them unfortunately are not configurable.
That's the reason why I thought creating a simbolic link for mnt/sdcard/external_sd (as it was before) might solve the problem. However, I am absolutely not sure of this (plus: how to achive it) and would be happy about an expert's opinion.
Click to expand...
Click to collapse
In super backup i couldnt set path since first day i downloaded it and today i tryed again with new version of app and it is the same.SMS backup is working fine so i suppoust it is problem with app (maybe in pro version it will work).

dimi89 said:
In super backup i couldnt set path since first day i downloaded it and today i tryed again with new version of app and it is the same.SMS backup is working fine so i suppoust it is problem with app (maybe in pro version it will work).
Click to expand...
Click to collapse
I can set path anywhere on storage/sdcard, but not on storage/external_SD. Also the Notes application doesn't back up to external SD, as it did before. Coincidence? Maybe. I will find out with time using other applications.
Am I right that creating symbolic links without root access is not possible?

pegnose said:
I can set path anywhere on storage/sdcard, but not on storage/external_SD. Also the Notes application doesn't back up to external SD, as it did before. Coincidence? Maybe. I will find out with time using other applications.
Am I right that creating symbolic links without root access is not possible?
Click to expand...
Click to collapse
Idk about creating links but it is not coincidence that you and me cant select any folder on external_SD i guess it is app bug or maybe as i sad premium version requirement.

dimi89 said:
Idk about creating links but it is not coincidence that you and me cant select any folder on external_SD i guess it is app bug or maybe as i sad premium version requirement.
Click to expand...
Click to collapse
It worked on 4.0.3.

Hi again, I made some progress here!
I managed to create a symbolic link to my external SD (I am on a rooted CM10.1.3 now), but that didn't help. I could use it within the ES file explorer for navigation, but not within Super Backup (didn't see it). So I tried to MOUNT the external SD instead. Here is the command I finally used:
mount -t vfat -o rw,umask=000 /dev/block/mmcblk1p1 /data/media/0/extSD
No errors, I can access my SD via this mount point with ES file explorer, and I can navigate into this top folder now with Super Backup and select it as backup location. BUT I can't actually back up here, as Super Backup can't write, I guess ("backup failed").
I was hoping that this "umask" parameter would do the trick, but unfortunately not. Interestingly: when I navigate with Super Backup to this new backup location, all the subfolders of my external SD card appear as files, not folders.
I am pretty sure, it is nearly done and only has to do with setting the right permissions.
Does anyone have an idea what I could try now?
EDIT: I just unmounted, applied "chmod 777 /data/media/0/extSD" and remounted again (this time with "rwx" parameter). No changes.

Ok, I am back to 4.0.3 ICS and everything is fine.

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.

Unable to install app. Delete some items and try again. Out of space

Hey guys,
I recently rooted my s3 mini to JB 4.1.2 by faria and i was wondering why i cant install any more apps as my ram is used up by all my apps. is there a way to clear/wipe all this data and start from scratch installations or any way i can move this huge game files in android/obb to another location in my sdcard to save space for app installations on my phone memory.
also, i have tried directory bind,app2sd, lind2sd and gl to sd(root) none of them seems to be installing or working for me as i still face the prob with installation of the same app.
kindly help.
SinisterGrey said:
Hey guys,
I recently rooted my s3 mini to JB 4.1.2 by faria and i was wondering why i cant install any more apps as my ram is used up by all my apps. is there a way to clear/wipe all this data and start from scratch installations or any way i can move this huge game files in android/obb to another location in my sdcard to save space for app installations on my phone memory.
also, i have tried directory bind,app2sd, lind2sd and gl to sd(root) none of them seems to be installing or working for me as i still face the prob with installation of the same app.
kindly help.
Click to expand...
Click to collapse
Had this issue before. Try to reflash and reboot the phone.
Sent from my GT-I8190 using xda app-developers app
bOkz said:
Had this issue before. Try to reflash and reboot the phone.
Sent from my GT-I8190 using xda app-developers app
Click to expand...
Click to collapse
Tried that, didnt work thanks for your quick reply tho. its been happening even before the 4.1.2 update. even when i had the 4.1.1 XXJL by avicohh rooted. any other suggestions?
Go into recovery maybe, and wipe cache from there, either that or factory reset your phone
Sent from my GT-I8190 using Xparent Blue Tapatalk 2
Drop this script into /data, chmod it to 777, and run it through SManager (thank everybody in this thread, not me).
Sent from Spaceball One.
blackknightavalon said:
Drop this script into /data, chmod it to 777, and run it through SManager (thank everybody in this thread, not me).
Sent from Spaceball One.
Click to expand...
Click to collapse
Everything from ur last post was tried except for the downloading of the busy box. it wont even allow me to download it. it says insufficient storage. i cant proceed from there. i got the rest of it. i ran a chmod to 777 and instlled smanager . any help ?
Had the same error.
Simply wipe dalvik-cache and everything will work fine.
Cheers.
I used titanium backup and wiped dalvik cache. Still no use. Same error. Is there any way I can install busy box in linux.
Sent from my GT-I8190 using xda app-developers app
Remove a LOT of your apps. That should fix the storage problem until you get the script into /data.
you could
SinisterGrey said:
I used titanium backup and wiped dalvik cache. Still no use. Same error. Is there any way I can install busy box in linux.
Sent from my GT-I8190 using xda app-developers app
Click to expand...
Click to collapse
try changing default install location. possible with normal device options, dont remember where. or else use app2sd to change it.
although i have the same error, when trying to install anything on extsdcard (with enough room on it), with faria rom v5.1.
with leatherface v2 i didnt have the problem if i remember correct.
update:
i still have the problem too.
wiped dalvik, factory reset multiple times, cleaned odin files, although faria rom is also using odex?
phone works fine, but i only have 4,5gb max internal (fused internal and sdcard).
and i cant install anything to external. i selected the options *install to: autoselect by android, internal, or external.
i tried it with more then one app, like rom toolbox pro.
i also noticed that chaning it it one app, correctly alters it in another.
i asked this in q&a, and i read what i can searching the whole forum. still i wuold really like to know:
-is 4,5 gb max combined/fused is normal for s3 mini +faria rom)?
-is it normal to have .obb partition completely empty, even having installed multipple apps?
its 402mb, totally free.
And i have other partitions also 402 mb, totally free.
-/cache partitions remains at 14mb, whatever happends, even after changing usage of cache heavier and lighter.
-cant install anything on extsdcard.
-/mnt/sdcard shows in that directory, with root explorer, as linked to sdcard0.
same in root:/sdcard (not sdcard0!) linked to -> sdcard0
but it has no apps in it. and only some folders.
?i dont know if i am correct in assuming that "->" symbol in root explorer means: linked to.
pushquares said:
try changing default install location. possible with normal device options, dont remember where. or else use app2sd to change it.
although i have the same error, when trying to install anything on extsdcard (with enough room on it), with faria rom v5.1.
with leatherface v2 i didnt have the problem if i remember correct.
update:
i still have the problem too.
wiped dalvik, factory reset multiple times, cleaned odin files, although faria rom is also using odex?
phone works fine, but i only have 4,5gb max internal (fused internal and sdcard).
and i cant install anything to external. i selected the options *install to: autoselect by android, internal, or external.
i tried it with more then one app, like rom toolbox pro.
i also noticed that chaning it it one app, correctly alters it in another.
i asked this in q&a, and i read what i can searching the whole forum. still i wuold really like to know:
-is 4,5 gb max combined/fused is normal for s3 mini +faria rom)?
-is it normal to have .obb partition completely empty, even having installed multipple apps?
its 402mb, totally free.
And i have other partitions also 402 mb, totally free.
-/cache partitions remains at 14mb, whatever happends, even after changing usage of cache heavier and lighter.
-cant install anything on extsdcard.
-/mnt/sdcard shows in that directory, with root explorer, as linked to sdcard0.
same in root:/sdcard (not sdcard0!) linked to -> sdcard0
but it has no apps in it. and only some folders.
?i dont know if i am correct in assuming that "->" symbol in root explorer means: linked to.
Click to expand...
Click to collapse
did u used linked to sd?if yes you have to select default instal location to automatic...that solved my problem...the setting in link 2 sd....before this i select install to ext sd card and every time theres error insufficient memory...
thx for yuor reply
nazri5363 said:
did u used linked to sd?if yes you have to select default instal location to automatic...that solved my problem...the setting in link 2 sd....before this i select install to ext sd card and every time theres error insufficient memory...
Click to expand...
Click to collapse
thx for yuor reply.
no that is not what i mean exactly.
i do use link2sd now, to use my extsd 2nd partition. but it gives an error: installl_failed_insufficent storage.
even when i put it on auto.
when pressing create link, i get: i/o error.
what do you have selected to auto move to 2nd partition?
my primary question, has to do with the fused internal+sdcard phone memory (so not extsdcard), of faria firmware.
Phone sees the fused internal as,... internal memory.
and the phone sees my extsdcard as external sdcard.
i presumed the reason for this is to be able to install apps on ext sd too, by default. (so without link2sd or others).
because the problem as i see it is:
now i have less phone storage.
i still cannot install to external sd card.
i would really like to know
- what should be the benefits of this fused memory? why did faria do this?
- beacause now i have less or same memory, and no benefits.
-what i have to change in system mount, or fuse, to get back original non-fused.
- And/Or, how i can enable extsdcard to install to it too.
thanks
Have you tried with an ext4 partition on your external sd, for link2sd? I've read somewhere that it worked.
Otherwise Directorybind do work. I've binded the whole Android folder without any problems at all :good:
hey
SinisterGrey said:
Hey guys,
I recently rooted my s3 mini to JB 4.1.2 by faria and i was wondering why i cant install any more apps as my ram is used up by all my apps. is there a way to clear/wipe all this data and start from scratch installations or any way i can move this huge game files in android/obb to another location in my sdcard to save space for app installations on my phone memory.
also, i have tried directory bind,app2sd, lind2sd and gl to sd(root) none of them seems to be installing or working for me as i still face the prob with installation of the same app.
kindly help.
Click to expand...
Click to collapse
hi,
actually i do also had a the same problem with my cell phone as of yours... so i just wanna know if we had comeout with those problem.... please suggest me a solution too if you had solved those problem.
please do help...
found a solution (maybe?)
I personally had the same problem right after flashing a new rom on my i9100. I read through the script amd it was quite literally just unmounting and mounting the sd card again. I wasn't sure how it could possibly be a simple matter of mounting the sd card but it worked so I'm okay with that.
If you're on 4.1.2 then you can probably manually unmount and mount the sd card by going into system settings, storage and scroll down to sd card for unmount. It'll take a short while to unmount and another to mount again and check for errors. Not sure if you have to do this will ever boot but it beats not ever installing anything, right?
SinisterGrey said:
Hey guys,
I recently rooted my s3 mini to JB 4.1.2 by faria and i was wondering why i cant install any more apps as my ram is used up by all my apps. is there a way to clear/wipe all this data and start from scratch installations or any way i can move this huge game files in android/obb to another location in my sdcard to save space for app installations on my phone memory.
also, i have tried directory bind,app2sd, lind2sd and gl to sd(root) none of them seems to be installing or working for me as i still face the prob with installation of the same app.
kindly help.
Click to expand...
Click to collapse
if u used lucky patcher remove previous patches and stuff like that

Moving CoPilot GPS maps to sdcard1

Update:
I made a tutorial how to get CoPilot save the maps on the external sd card.
For this method you don't need any root access so it should work for almost everyone.
Make sure you check check whether your sdcard path is /storage/sdcard0 or /mnt/sdcard
For me it worked fine without rooting the phone.
I have a samsung ace plus S7500
I made a copy of
/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/
to
/mnt/sdcard/external_sd/com.alk.copilot.eumarket.premiumeupan/
then (with KIES), i changed the
user.cfg situated in /mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/
then i erased the
/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/EU/
The adapted user.cfg would be changed like this
[Directories]
"AddonDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/EU/addon/"
"AudioDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/audio/"
"GlobalAddonDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/addon"
"GPSDemoDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/gpstracks/demo"
"LRGlobalSaveDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/save"
"LRGPSSaveDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/gpstracks"
"LRInfoDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/info"
"LRSaveDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/EU/save/"
"RegionDir"="EU"
"RootDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/"
"SkinDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/skin/"
"SpeechDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/speech"
"ThemesDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/themes/"
"UIConfigDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/uiconfig/"
"UpdateDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/save/update"
[Directories]
"AddonDir"="/mnt/sdcard/external_sd/com.alk.copilot.eumarket.premiumeupan/EU/addon/"
"AudioDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/audio/"
"GlobalAddonDir"="/mnt/sdcard/external_sd/com.alk.copilot.eumarket.premiumeupan/addon"
"GPSDemoDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/gpstracks/demo"
"LRGlobalSaveDir"="/mnt/sdcard/external_sd/com.alk.copilot.eumarket.premiumeupan/save"
"LRGPSSaveDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/gpstracks"
"LRInfoDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/info"
"LRSaveDir"="/mnt/sdcard/external_sd/com.alk.copilot.eumarket.premiumeupan/EU/save/"
"RegionDir"="EU"
"RootDir"="/mnt/sdcard/external_sd/com.alk.copilot.eumarket.premiumeupan/"
"SkinDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/skin/"
"SpeechDir"="/mnt/sdcard/external_sd/com.alk.copilot.eumarket.premiumeupan/speech"
"ThemesDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/themes/"
"UIConfigDir"="/mnt/sdcard/com.alk.copilot.eumarket.premiumeupan/uiconfig/"
"UpdateDir"="/mnt/sdcard/external_sd/com.alk.copilot.eumarket.premiumeupan/save/update"
Then it finally works
dagoban said:
Hi guys,
so this topic came up quite a few times for other phones, however I cannot get it working on my Razr I.
And I am talking about the Live version (that is the newest version which comes with all countries in 1app), not the Premium or Lite one.
So I want to move the maps folder to the external sdcard....
Basically what I did is this:
http://forum.xda-developers.com/showpost.php?p=42581577&postcount=2
But of course instead of /storage/extSdCard/ I used /storage/sdcard1/com.alk.copilot.mapviewer/
But after starting CoPilot Live it still overwrites the user.cfg file back to its normal settings (sdcard0)
Does anyone have a solution for that?
I also found out that there is a file called DeviceInfo.xml in the save folder that also has the sdcard0 included...
Click to expand...
Click to collapse
delete
dagoban said:
Update:
I made a tutorial how to get CoPilot save the maps on the external sd card.
For this method you don't need any root access so it should work for almost everyone.
Make sure you check check whether your sdcard path is /storage/sdcard0 or /mnt/sdcard
Click to expand...
Click to collapse
Outstanding! worked perfectly, thank you!
installing maps to SD card
dagoban said:
Update:
I made a tutorial how to get CoPilot save the maps on the external sd card.
For this method you don't need any root access so it should work for almost everyone.
Make sure you check check whether your sdcard path is /storage/sdcard0 or /mnt/sdcard
Click to expand...
Click to collapse
Dear Michael, your tutorial is fantastic, it is logical, clear and easy to follow, unfortunately the text of my “user.cfg” file is different, the text contained often the word “emulated” but there is nowhere the word “mapviewer “ I wonder if you could give me a push in the right direction. The device I am running is Samsung Galaxy S5 (SM-G900i) and the CoPilot version is 9.5.0.440 Europa and USA
Regards Erik
Hi Erik,
just look for the RootDir and SpeechDir tag in the config and change that from your internal card to your external card.
If you still need help, start at step 1 again and then copy the config file to your PC and upload its content to pastebin.com so I can have a look at it.
erikdeoude said:
Dear Michael, your tutorial is fantastic, it is logical, clear and easy to follow, unfortunately the text of my “user.cfg” file is different, the text contained often the word “emulated” but there is nowhere the word “mapviewer “ I wonder if you could give me a push in the right direction. The device I am running is Samsung Galaxy S5 (SM-G900i) and the CoPilot version is 9.5.0.440 Europa and USA
Regards Erik
Click to expand...
Click to collapse
If you are on KitKat it could be a problem with writing your maps to external SDcard.
Moving CoPilot Map to SD card
dagoban said:
Hi Erik,
just look for the RootDir and SpeechDir tag in the config and change that from your internal card to your external card.
If you still need help, start at step 1 again and then copy the config file to your PC and upload its content to pastebin.com so I can have a look at it.
Click to expand...
Click to collapse
Thanks for your help,it is obviously not possible to move the copilot maps, so I will search for another brand of GPS
dagoban said:
Update:
I made a tutorial how to get CoPilot save the maps on the external sd card.
For this method you don't need any root access so it should work for almost everyone.
Make sure you check check whether your sdcard path is /storage/sdcard0 or /mnt/sdcard
Click to expand...
Click to collapse
Thanks for the guide!
Do I need to repeat step 14 (copy folder) when / if the app gets updated?
dagoban said:
Update:
I made a tutorial how to get CoPilot save the maps on the external sd card.
For this method you don't need any root access so it should work for almost everyone.
Make sure you check check whether your sdcard path is /storage/sdcard0 or /mnt/sdcard
Click to expand...
Click to collapse
Hi Dagoban,
I followed your tutorial and it worked great. At least up to yesterday, where I updated CoPilot to version 9.6.0.634. Now the phone directory no longer says /storage/sdcard0 but /storage/emulated/0/.
Changing the Root and Speech directory (in my case to extSdCard) doesn't allow downloading of Maps on my SD card anymore.
Any thoughts or tips?
Thanks
Rob
Update: I have a Galaxy S4 (GT-I9505), running on Android 4.4.2 (Kitkat)
transfering large maps to extsd card
rdijkstra said:
Hi Dagoban,
I followed your tutorial and it worked great. At least up to yesterday, where I updated CoPilot to version 9.6.0.634. Now the phone directory no longer says /storage/sdcard0 but /storage/emulated/0/.
Changing the Root and Speech directory (in my case to extSdCard) doesn't allow downloading of Maps on my SD card anymore.
Any thoughts or tips?
Thanks
Rob
Update: I have a Galaxy S4 (GT-I9505), running on Android 4.4.2 (Kitkat)
Click to expand...
Click to collapse
Hi Rob,
I had a similar problem with Galaxy S5 (SM-G900i), and rooting the phone did not help, after receiving just silly answers from ‘CoPilot Technical Support’ I purchased the application from ‘Sygic’ it cost a few Dollars more but for this you get annual several map updates and the service is excellent. The maps are slightly larger in size but the whole application can be transferred to external SD card (by cut and paste) for me it was an easy solution.
Cheers Erik
Seems to work, basically
dagoban said:
Update:
I made a tutorial how to get CoPilot save the maps on the external sd card.
For this method you don't need any root access so it should work for almost everyone.
Make sure you check check whether your sdcard path is /storage/sdcard0 or /mnt/sdcard
Click to expand...
Click to collapse
I tried this on my Atrix HD with Cyanogen 10.2, and it seems to work. The Atrix uses an "emulated" sdcard0, so it had some issues, but I edited the user file & continued the install. When I ran copilot initially, it seemed to have some problems. I kept getting "Do you really want to quit" messages when I would try and move through menu options. I turned on GPS (which I had not done prior) and after a minute or so, I was able to browse the map, so maybe that was the issue. Now, when I fire up Copilot, it seems to behave. I tried an "goto" address in another state, and the route was correct, so I'm saying thanks very much for the process you developed. I really wish that ALK would just add this to their software.
KitKat “EACCES permission denied”
rdijkstra said:
Hi Dagoban,
I followed your tutorial and it worked great. At least up to yesterday, where I updated CoPilot to version 9.6.0.634. Now the phone directory no longer says /storage/sdcard0 but /storage/emulated/0/.
Changing the Root and Speech directory (in my case to extSdCard) doesn't allow downloading of Maps on my SD card anymore.
Any thoughts or tips?
Thanks
Rob
Update: I have a Galaxy S4 (GT-I9505), running on Android 4.4.2 (Kitkat)
Click to expand...
Click to collapse
It seems that android 4.4.2 has limited access permission of the external SD card. Have a look at howto-avoid-the-eacces-permission-denied-on-sdcard-with-kitkat-4-4-2-version on stackoverflow (I can't post the link!).
I tried to change the folder permission via chmod but no lock. What is the workaround?
sesemin said:
It seems that android 4.4.2 has limited access permission of the external SD card. Have a look at howto-avoid-the-eacces-permission-denied-on-sdcard-with-kitkat-4-4-2-version on stackoverflow (I can't post the link!).
I tried to change the folder permission via chmod but no lock. What is the workaround?
Click to expand...
Click to collapse
Michael previously published an instruction on how to move the maps to SD card, but his instruction does not work with the recent KitKat version of Android. People look for methods to root the device to obtain access to SD-cards. Still it is perfectly possible even with unrooted devices. Edit folder path for Rootdir and Speechdir so that it would point to a folder "Android/data/" at your SD card. For example, for Samsung Galaxy 5, it would be "storage/extSdCard/Android/data/...". Save the file user.cfg. If you have a different brand, your external SD card might be called differently, this is why copilot guys do not want to mess with external cards (shame on them, btw).
It worked for me with Kitkat. Have found somewhere that every application under Kitkat gets its own folder in Android/data with full writing rights. But the folder should be named strictly after the application name. If you copy the folder to any other place and adjust user.cfg accordingly, it might not work, since the application tries to write something into folders, too.
delete
Works on Low Storage KitKat
Shato said:
Michael previously published an instruction on how to move the maps to SD card, but his instruction does not work with the recent KitKat version of Android. People look for methods to root the device to obtain access to SD-cards. Still it is perfectly possible even with unrooted devices. Edit folder path for Rootdir and Speechdir so that it would point to a folder "Android/data/" at your SD card. For example, for Samsung Galaxy 5, it would be "storage/extSdCard/Android/data/...". Save the file user.cfg. If you have a different brand, your external SD card might be called differently, this is why copilot guys do not want to mess with external cards (shame on them, btw).
It worked for me with Kitkat. Have found somewhere that every application under Kitkat gets its own folder in Android/data with full writing rights. But the folder should be named strictly after the application name. If you copy the folder to any other place and adjust user.cfg accordingly, it might not work, since the application tries to write something into folders, too.
Click to expand...
Click to collapse
That worked great, Shato. Thanks. It even worked on my phone which doesn't have enough free internal memory for the maps. I downloaded the maps on my tablet and copied the folder to the SD. Then I put the SD in the phone and applied the config change.
An update the developer should do - detect extsd during app install/update
Seems like a lot of trouble. With Sygic's app, all you have to do is move the folder, launch the app, and clean up whatever old filder remains on internal sd.
[*ttp://help.sygic.com/hc/en-us[/*
Haven't tried a Sygic app upgrade since I moved it, but added maps all go to extsd.. I have noticed one small issue. If I shut my device off, it rediscovers the extsd and remounts it, and it can take a whie to finish indexing it (2 minutes with my 32GB U-1 cl 10 card) and until it does, apps using fies from the extsd seem to hang. on launch I say seem to. If allowed to wait, they eventually open unless they err after loading some of their files, but aren't able to access all of them..
The work around is not to shut completely down, but sleep or suspend after putting the device in Airplane mode to minimise drain.
Yeah, I know this doesn.t solve the CoPilot\Kitkat issue, but I had to stop using CoPilot because I ran out of space on internal SD. I'm not going to deal with an app that requires massaging after every revision, and this one has enough bugs that it needs revisions, not just map updates. When I see an announcement that either Google lifts the extSD restrictions (in L I hope), or Copilot fixes its code, I'll use Sygics free version with all its limitations- disable its app from updating, and manually update the few state maps I use periodically.
I was learning to live with CoPilots quirks untilI I ran out of space. Syngic isn't as nice to use, and has its own quirks, but at least it doesn't have to fill my internal SD with maps of states to which I'll never go., and it's too pricy for me to buy the full version, so I lose turn by turn.
BTW, both apps suffer from many inaccuracies suburban and low pop density maps, but Syngic's are slightly better, in that adddresses are more often correctly located on the right side of roadways and nearer to the correct ends of irregularlyoshaped "blocks"..
I am running an LG Optimus L70 (D321) with kitKat 4.4.2
After just installing copilot, and stopping at the point it wants to install the maps, I see that copilot is scattered all over the place
It has files in /data/app-lib/
/data/data
/data/media/0/
/data/user/0/
/mnt/sdcard/
/mnt/shell/emulated/0/
/pkg/
/storage/emulated/0/
Several have the user.cfg file in them.
Which one do I edit? Which one do I move to my external SD card.
On my phone the external is /storage/external_SD/Android/
This was way easy in ICS
OK, got things moved around so my maps go to my EXTERNAL SD card.
On my LG Optimus L70 (D321 Cricket) running kitkat 4.4.2 the external sd card is located:
/storage/external_SD/Android/data/
you must point to the "ANDROID/DATA" or it will not work.
I did find one short issue, Copilot still looks at the INTERNAL SD CARD for the amount of available storage. It may balk if you try to download the entire USA, 1.77 GB or all of North America 1.87 GB. I had to DL it in sections and all worked fine.
deleted

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

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