Install apps on SD Card on Note 8.0 *root

melvill

Senior Member
May 2, 2013
52
23
0
Durban
www.facebook.com
Thank you for the step by step instructions . I do have a couple questions before I dig into this method.

1 - You mean to copy all the internal sd card to the external one?

2 - the script was written for a Galaxy note II, would it work for the Galaxy Note 8?

3 - When you mention to download and save the script do SD card, do you mean the internal one?

4 - Did you write this script?

Thanks for your help. The lack of internal memory is my biggest issue with the note 8.

Yours,

Alex
1. Yes
2. Yup I did this for the note 8. working 100% all on my N5100
3. Doesn't really matter but u need this script on your device at ask times for this to work
4. Nope I'm a noob at all this

Hope this helps :)

Sent from my GT-I9500 using xda premium
 

xd2009

Member
Apr 12, 2009
25
2
0
1. Yes
2. Yup I did this for the note 8. working 100% all on my N5100
3. Doesn't really matter but u need this script on your device at ask times for this to work
4. Nope I'm a noob at all this

Hope this helps :)

Sent from my GT-I9500 using xda premium
Melvill,

Thanks a lot for your help. I have a question for you and for all. Since you didn't write the script, how can you be sure that it doesn't contain any malware? I am sorry if I offend any person, I just don't know exactly how these things go. Is there a chance of having malware in a script?

Thanks

Alex

---------- Post added at 10:17 AM ---------- Previous post was at 09:40 AM ----------

I wrote the hard to understand version of what's very much this process.

The gui is helpful, but you do need to know what the script is doing and what the script is to troubleshoot problems. It's not actually swapping all of your Android system onto the sdcard, to start with.

Your OS stays internal, and installer files for most of your apps stay on the internal memory. Applications write their data to the sdcard.

Gotchas with this approach include:

-your script needs to be executable by the process which runs it. When I first set this up there were issues around who owned the script and who could run it. If that's broken, you'll get the 'this script could not run' error.

- if you use one of the alternate roms, you will need a different script. Civato's kernel, for example, requires a different version of this script.

- I have heard rumors that 4.2 and above break this approach. Unknown by me.
Sorry to ask you this, but did you write the script being mentioned here to swap the internal to external memory cards on the note 8? A question in general, is it possible for a script to have malware? How can we find out if that's the case?

Sorry to asl these questions and please understand that I don't mean to offend any one here. Just feel unsure about how safe it is to run script considering that the tablet has many passwords stored in there.

Thanks for your help

Alex
 

kable

Senior Member
Nov 17, 2007
538
64
0
Silicon Valley
Search to find out who wrote the script if you are concerned. If it's a recognized development then you are safe. Otherwise the choice is yours. Common sense usually prevails with stuff like this. If people that have been here for years and using it without issues or brining up concerns then odds are pretty good that you are safe. You could always wear a tin foil hat when installing for extra protection.

Sent from my GT-N5100 using XDA Premium HD app
 

roustabout

Senior Member
Feb 12, 2011
825
212
0
I modified an existing script and posted it here (there's a thread in note 8 general about it.)

With scripts, malware in the script is unlikely (though folks could post malicious scripts.) It would be possible to add a command in a script that fetched malware - a wget or similar command.

But they're scripts - you should download a copy and read it to see what it's doing. Most scripts are pretty short and this one contains three commands - sleep, mount and chown.
 

xd2009

Member
Apr 12, 2009
25
2
0
I modified an existing script and posted it here (there's a thread in note 8 general about it.)

With scripts, malware in the script is unlikely (though folks could post malicious scripts.) It would be possible to add a command in a script that fetched malware - a wget or similar command.

But they're scripts - you should download a copy and read it to see what it's doing. Most scripts are pretty short and this one contains three commands - sleep, mount and chown.
Thanks a lot for your attention. I've never dealt with scripts. Can you post a link to yours, so I can read it?

Yours,

Alex

---------- Post added at 09:59 PM ---------- Previous post was at 09:55 PM ----------

Search to find out who wrote the script if you are concerned. If it's a recognized development then you are safe. Otherwise the choice is yours. Common sense usually prevails with stuff like this. If people that have been here for years and using it without issues or brining up concerns then odds are pretty good that you are safe. You could always wear a tin foil hat when installing for extra protection.

Sent from my GT-N5100 using XDA Premium HD app
Thanks for your help. How can I find out who's written the script?

Alex
 

roustabout

Senior Member
Feb 12, 2011
825
212
0
The thread:

http://forum.xda-developers.com/showthread.php?t=2244428

the script:

-----------------------script starts next line
#!/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 gnote2 and note8
# All credits to Mattiadj of xda forum for the idea and script and to mike1986 for
# the cmw zip. xda thread url at
# http://forum.xda-developers.com/showthread.php?t=2036796:
sleep 10
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:17 /storage/sdcard0
sleep 30
mount -o bind /data/media /storage/extSdCard
chmod 777 /mnt/extSdCard
sleep 10
chown 1023:1023 /storage/extSdCard
chown 1000:1000 /storage/sdcard0

------------- end script on blank line above
 
  • Like
Reactions: sefrcoko

ekg5512

New member
May 29, 2013
2
1
0
Thanks ... have Note 8 the way I want it

Works great!

Followed these steps from original post and now have 64GB as internal storage!

Install script manager from play store
Open script manager, click on browse as root then ok
Choose the downoaded file and choose Script/Executable
Now tap on Su, Boot and Save
Reboot your phone and enjoy!
This has helped me get the Note 8 I want. 64GB internal storage; rooted; and still can do normal samsung updates with ota rootkeeper. This is great!
One note on the above: I had to make a choice between script and executable. I choose script. Not sure it makes a difference. I also had to uninstall and reinstall a few programs that "hung" up after this fix. Very minor. So far everything works great.
 
  • Like
Reactions: mikeeeyyy

ekg5512

New member
May 29, 2013
2
1
0
Help ... something is wrong

Works great!

Followed these steps from original post and now have 64GB as internal storage!

Install script manager from play store
Open script manager, click on browse as root then ok
Choose the downoaded file and choose Script/Executable
Now tap on Su, Boot and Save
Reboot your phone and enjoy!
After originally working great my device hung so I restarted. When I restarted the storage went back to original internal and external. So I went through the steps again. Internal storage is now 64GB and external is 64GB! I am sure that is not right. I went back to SManager and have not been able to locate a download folder anywhere! Note 8 N5110 still works but ...
any ideas on what to do?
Thanks
PS ... I am new at this ... first time to root etc.
 

sefrcoko

Senior Member
Feb 20, 2012
2,375
1,286
0
Has anyone else had trouble using TitaniumBackup since doing this?
Make sure you point to the new location of your backups in Titanium. Mine were on the external card, but once the script swapped storages i had to tell titanium to look in the internal card instead.
 

FaeMinx

Senior Member
May 9, 2009
163
55
0
Last edited:

sweatsbabys

New member
May 24, 2013
4
0
0
hi,help can u send me original files system/etc vold.fstab pls.....i lost my files

help .....who can send me original files system/etc vold.fstab pls.....i lost my files

note 8 n5100
android 4.1.2

just copy to me pls.......vold.fstab files at system/etc

thanks for help....urgent


pls.......help

thanks i get files d.......thanks for help
 
Last edited:

xd2009

Member
Apr 12, 2009
25
2
0
After originally working great my device hung so I restarted. When I restarted the storage went back to original internal and external. So I went through the steps again. Internal storage is now 64GB and external is 64GB! I am sure that is not right. I went back to SManager and have not been able to locate a download folder anywhere! Note 8 N5110 still works but ...
any ideas on what to do?
Thanks
PS ... I am new at this ... first time to root etc.
I am in a very similar situation here. I run the script, had the memories swapped and started setting everything else up. After updating the list of apps in the multi window and rebooting the tablet, it only sees the external SD card. It counts it twice, once as external card and once as internal card. The rel internal card isn't being seen by the device and I also cannot see the original script I had downloaded. same as you. I believe this is because that file was in the internal memory card which cannot be read anymore. The device works ok, but this is not what it's supposed to do. Have you found a solution?
Alex

---------- Post added at 01:33 PM ---------- Previous post was at 12:47 PM ----------

I modified an existing script and posted it here (there's a thread in note 8 general about it.)

With scripts, malware in the script is unlikely (though folks could post malicious scripts.) It would be possible to add a command in a script that fetched malware - a wget or similar command.

But they're scripts - you should download a copy and read it to see what it's doing. Most scripts are pretty short and this one contains three commands - sleep, mount and chown.
I decided to run the script to swap the internal by the external memory. It work perfectly for the first 3 days. I didn't report back to thank youi for your help because I was still finishing setting up the tablet. This morning, I was finishing the setup of all apps when I needed to reboot my Note, and the the issue started. My Note no longer sees the actual internal memory card. It only sees the external memory card and it reports it twice, once as internal and once as external. Other than this and the unpleasant fact that all my musics and pictures are listed twice, the device is working perfectly. I have already tried to load the script again and run it but it did not solve the issue. Do you have any word of advice?
Thanks for your attention.

Alex
 

sefrcoko

Senior Member
Feb 20, 2012
2,375
1,286
0
I am in a very similar situation here. I run the script, had the memories swapped and started setting everything else up. After updating the list of apps in the multi window and rebooting the tablet, it only sees the external SD card. It counts it twice, once as external card and once as internal card. The rel internal card isn't being seen by the device and I also cannot see the original script I had downloaded. same as you. I believe this is because that file was in the internal memory card which cannot be read anymore. The device works ok, but this is not what it's supposed to do. Have you found a solution?
Alex

---------- Post added at 01:33 PM ---------- Previous post was at 12:47 PM ----------



I decided to run the script to swap the internal by the external memory. It work perfectly for the first 3 days. I didn't report back to thank youi for your help because I was still finishing setting up the tablet. This morning, I was finishing the setup of all apps when I needed to reboot my Note, and the the issue started. My Note no longer sees the actual internal memory card. It only sees the external memory card and it reports it twice, once as internal and once as external. Other than this and the unpleasant fact that all my musics and pictures are listed twice, the device is working perfectly. I have already tried to load the script again and run it but it did not solve the issue. Do you have any word of advice?
Thanks for your attention.

Alex
Try fixing permissions in cwm recovery then report back if it works.
 
  • Like
Reactions: xd2009

xd2009

Member
Apr 12, 2009
25
2
0
Try fixing permissions in cwm recovery then report back if it works.
I first want to thank you for your help. This was the first time I ever rooted a device so I don't really now how to do what you have suggested. Can you give me further explanations? I rooted using the framaroot app, and I'm running the stock samsung note 8 rom. I don't think there is a custom rom out yet.
What exactly is the cwm recovery and how do i reach this?

Thanks again for your assistance.

Alex
 

sefrcoko

Senior Member
Feb 20, 2012
2,375
1,286
0
I first want to thank you for your help. This was the first time I ever rooted a device so I don't really now how to do what you have suggested. Can you give me further explanations? I rooted using the framaroot app, and I'm running the stock samsung note 8 rom. I don't think there is a custom rom out yet.
What exactly is the cwm recovery and how do i reach this?

Thanks again for your assistance.

Alex
Ok in some ways a recovery is kind of like a bios on a computer. When you boot to recovery, you don't load the operating system, you load only the recovery software. Here you can do things like install a new rom or kernel, reset to factory settings, wipe your cache, fix permissions, make backups, etc.

In my case, I flashed the custom recovery (version ex#6) from emwno's thread here: http://forum.xda-developers.com/showthread.php?p=40535777. That recovery is based on CWM, which stands for "clockwork mod". CWM is simply one type of recovery; another popular one is TWRP. Anyways, back to your situation... I find that fixing permissions solves the problem, at least for a few days, when it happens to me. I don't think it's worth flashing a custom recovery just to fix permissions though. Try installing "Fix Permissions" from the Play Store and try that instead, it's free and doesn't require a custom recovery. See if that helps your storage issue at all and report back. Try a reboot too if the app doesn't work right away. Good luck!
 
Last edited:
  • Like
Reactions: xd2009

xd2009

Member
Apr 12, 2009
25
2
0
Ok in some ways a recovery is kind of like a bios on a computer. When you boot to recovery, you don't load the operating system, you load only the recovery software. Here you can do things like install a new rom or kernel, reset to factory settings, wipe your cache, fix permissions, make backups, etc.

In my case, I flashed the custom recovery (version ex#6) from emwno's thread here: http://forum.xda-developers.com/showthread.php?p=40535777. That recovery is based on CWM, which stands for "clockwork mod". CWM is simply one type of recovery; another popular one is TWRP. Anyways, back to your situation... I find that fixing permissions solves the problem, at least for a few days, when it happens to me. I don't think it's worth flashing a custom recovery just to fix permissions though. Try installing "Fix Permissions" from the Play Store and try that instead, it's free and doesn't require a custom recovery. See if that helps your storage issue at all and report back. Try a reboot too if the app doesn't work right away. Good luck!
It worked!!! I installed Fix Permissions and run the app. As you expected, it did not show a fix at once. I just needed to reboot the device and manually mount the "external card" which is actually the internal card. I've just tested the fix by rebooting the tablet once more and it's working perfectly.

Thanks a lot for your help.

Alex
 

sefrcoko

Senior Member
Feb 20, 2012
2,375
1,286
0
It worked!!! I installed Fix Permissions and run the app. As you expected, it did not show a fix at once. I just needed to reboot the device and manually mount the "external card" which is actually the internal card. I've just tested the fix by rebooting the tablet once more and it's working perfectly.

Thanks a lot for your help.

Alex
Awesome, happy to help! :) I noticed that sometimes the issue comes back, maybe due to some new apps I install or whatever. If this happens then just repeat this process and it should get things sorted out again. I would love to a have a more permanent solution, but at least we have an easy workaround for now that seems to work. Cheers :beer::beer::D
 
  • Like
Reactions: xd2009

xd2009

Member
Apr 12, 2009
25
2
0
Awesome, happy to help! :) I noticed that sometimes the issue comes back, maybe due to some new apps I install or whatever. If this happens then just repeat this process and it should get things sorted out again. I would love to a have a more permanent solution, but at least we have an easy workaround for now that seems to work. Cheers :beer::beer::D
I agree that more permanent solution would be preferable, but this is a very simple workaround. I'm going to keep the fix permissions app installed just in case. I also agree, it's beer time. :)

Alex
 

roustabout

Senior Member
Feb 12, 2011
825
212
0
Something to keep an eye out for is Quickboot and other rapid restart tools. They shut the device down without necessarily giving it time to do its housekeeping on the filesystem.

A symptom of issues there is that when the device reboots, the media scanner is running (a notification appears in the taskbar, letting you know that either the card is being prepared or the card is being checked for errors.)

If the allocation looks bad and that scanner is running, my advice is to set the device aside for a few minutes, let it complete the scan, and when it is done power off using the power button and onscreen dialog, then power back on.

This has resolved issues I sometimes get with the memory allocation being out of whack.
 
  • Like
Reactions: sefrcoko