[TOOL][SCRIPT] SD2Internal - Swap your real SD card and Internal memory - Sony Xperia Miro, Tipo (Dual), J, E

[Internal2SD] for Rooted Xperia E (STOCK JELLYBEAN)
Run this batch file to swap SD card (ext_card - Real SD card) and Internal memory (sdcard - Internal 4 GB SD card) storage locations.
How to use this?
I assume you have already set 'adb' in path and rooted the phone.
1. Download the Attached File!
2. Extract the zip file.
3. Click on SD2Internal.bat script
4. Move apps if you need to move existing apps to the new location (Real SD card).
With MTP set as transfer mode you will be able to use both storage locations from PC.
Why I made this?
I have lots of data (maps, games and apps) on my 8 GB SD card which will not fit on the internal SD card. Using my real SD card is essential for me so that I can make real use of my phone.
Installing prerequisites
1. Install 'adb' using instructions from here. You only need to install 'adb' and not the whole Android SDK if you are not an Android developer.
2. If you are sure you have proper root access then check if a latest version of busybox (now v1.21.1) is installed. Create links for 'mount', 'umount' commands in the advanced install section.
Install Busybox using Busybox Installer by JRummy Apps.
3. If you face any errors with 'choice' command on your Windows machine please download it from here. Place this file in '\Windows\System32' folder.
What are the limitations?
- No known limitations as of now
Hope some of you will find this useful.
Enjoy!
****READ FOR PEOPLE WHO WANT THIS FOR OTHER DEVICES*****
IF YOU WANT THIS MOD ON YOUR DEVICE PLEASE SEND ME YOUR VOLD.FSTAB FOUND IN /system.etc VIA A PM - PLEASE MAKE SURE YOU ARE ON LATEST STOCK ROM BEFORE YOU DO SO!
29-11-2013 #UPDATE NO NEED TO DO STEP ON (GET ADB PATH) DOWNLOAD SD2INTERNALV2.ZIP AND JUST RUN THE BAT FILE.

Related

Gone Wrong Somewhere

Hi, I followed the instructions to install cynagen Mod, I used a new micro sd card
installed to the root , along with the google apps file , when I go to install zip from zipcard what shows up on my screen is
- Android/
- DCIM/
- LOST.DIR/
none of these dir have anything in them ,
where could the files be , where did i go wrong
thanks a bunch in advance
Hello Jazzygaz. It sounds like you have put the installation files (cyanogenmod7.zip and gapps.zip or whatever) on your external sdcard, but when you are trying to install them (through Clockworkmod I assume?) it is looking at your internal sdcard.
Try copying the files over to your internal sdcard's root directory (where the directories you mentioned showed up) and install from there instead. Use a root file explorer to copy the install files over, or remove the sdcard before putting it into mass storage and copy them from your PC. Remove your external sdcard before you power up the tablet to enter Clockwork.

[TWEAK] Modified Vold.fstab for Eken T02a

Here I give a modified vold.fstab for EKEN T02A which swap the internal storage with the external storage. By default in tablet`s firmware the internal storage is devided in two pieces. The first one is 504MB and is only for instaling applications. The second one is 2.59GB called (SD CARD) which contains data information for applications but if you install 2-3-4 gameloft games your 2.59 GB storage gets full and you can`t do anything more. Your External Storage is you real SD card and is called (EXTSD). But the big problem is that you can`t move apps from SD card to EXTSD card. So this is a tweak which swaps the storages and you real SD card became Internal storage and the fake one became external storage and you have a lot of space to install games and etc. This tweak is for EKEN T02A with ICS 4.0.3. But it may works with other tables with the same specifications.
The instalation is very simple:
1. Download the file http://www.mediafire.com/?j0nb38frzefn6c6
2. Copy it to your SD card. It doesn`t matter where.
3. Go to /system/etc and put the downloaded vold.fstab
4. Reboot your system to apply the changes
5. When it boots for a first time with the new file you may have problem (but may not have) that you can`t see the storages and everything is gone. But don`t worry. Go again in this directory /system/etc and there won`t have vold.fstab , it will have vold.fstab.bak . Rename it and just remove the .bak . Reboot again and be happy to have so much space now.
If you stuck at the boot logo of ANDROID you must just reflash your firmware again and post here the problem and we will solve it.
USE THIS TWEAK AT YOUR OWN RISK.
If I helped you it is not necessary to say it just PRESS THE THANKS BUTTON
OK dead thread but I'll try.
I have root access and it still blocks me from overwrite.

terminal emulator - install apps to sd?

word of note, i have busybox installed.
I have around 300 apps on my phone, as i have a nice, big SD card. due to several re-flashes i have the apps as .apk files
but the phone itself only has 2 gigs or so of space for apps.. not enough >.>
i tried to do :
busybox install *.apk /data/app
but that filled the phone memory very quickly.
I need to install them directly to SDcard.
Where? i moved an app to SD manually and i don't see it on the SD anywhere.
someone give me a hand?

How to make my SD Card my default install location ?

Hello,
I have SanDisk 8GB microsd card Class 2. My phone is Samsung Galaxy Core 2 (SM-G355).
My phone total storage is 4gb out of which 1.82 gb is used for phone and others for apps and my own files.
Currently my microsd is only 8gb drive in my phone ( only 1 partition now )
I want to install asphalt 8, modern combat 5, gta sa ( total about 4 or 5 GB). My sd card have 8 gb space so i want to install my apps in my sd card and not in my little phone memory. I am unable to do it myself and it is no use of sd card with 7.4 GB free of my sd card, i want it for apps.
I do not have a sd card reader for my pc so is there anyway i can do it via phone using twrp or cwm or link2d (free) ?
I have put some pics which tell about my phone and sd card in attachment (please see)
Thanks,
Pr0Ankit
install location
Pr0Ankit said:
Hello,
I have SanDisk 8GB microsd card Class 2. My phone is Samsung Galaxy Core 2 (SM-G355).
My phone total storage is 4gb out of which 1.82 gb is used for phone and others for apps and my own files.
Currently my microsd is only 8gb drive in my phone ( only 1 partition now )
I want to install asphalt 8, modern combat 5, gta sa ( total about 4 or 5 GB). My sd card have 8 gb space so i want to install my apps in my sd card and not in my little phone memory. I am unable to do it myself and it is no use of sd card with 7.4 GB free of my sd card, i want it for apps.
I do not have a sd card reader for my pc so is there anyway i can do it via phone using twrp or cwm or link2d (free) ?
I have put some pics which tell about my phone and sd card in attachment (please see)
Thanks,
Pr0Ankit
Click to expand...
Click to collapse
The best way is to do it in phone app manager.
You can move apps from downloaded section not allready on your SDCard ( internal ) to external (extSDCard).
Click on the app and use the enabled Move to the SdCard option button.
The second way is to use ADB shell command adb shell pm set-install-location 2.
Code:
pm get-install-location: returns the current install location.
0 [auto]: Let system decide the best location
1 [internal]: Install on internal device storage
2 [external]: Install on external media
pm set-install-location: changes the default install location.
NOTE: this is only intended for debugging; using this can cause
applications to break and other undersireable behavior.
0 [auto]: Let system decide the best location
1 [internal]: Install on internal device storage
2 [external]: Install on external media
Regards
Thank you Stratos for you help but actually when i move app from appmanager it moves only 36 mb out of 1.5 GB and the remaining 1 gb obb files are on my internal memory. I do not want to move them, I want to directly install them ONLY on sdcard and the google play / google chrome should not download anything to internal memory. I want my external sdcard to act as my internal memory. Is there any way I can fool my phone ?
Pr0Ankit said:
Thank you Stratos for you help but actually when i move app from appmanager it moves only 36 mb out of 1.5 GB and the remaining 1 gb obb files are on my internal memory. I do not want to move them, I want to directly install them ONLY on sdcard and the google play / google chrome should not download anything to internal memory. I want my external sdcard to act as my internal memory. Is there any way I can fool my phone ?
Click to expand...
Click to collapse
Try second options, If U don't know how to do it right, just ask or search xda/google.
Or swap internal with external :
http://forum.xda-developers.com/galaxy-core/general/mod-t3070988
StratOS_HTC said:
Try second options, If U don't know how to do it right, just ask or search xda/google.
Or swap internal with external :
http://forum.xda-developers.com/galaxy-core/general/mod-t3070988
Click to expand...
Click to collapse
Hi Again,
Thanks for your help. The second option which you provided worked for me to move my apps to sd card and play games but in that case i have to install my apps first in internal memory and then move it to external sd card using GL To SD and i have to mount it everytime i restart phone. I can play games now and install more apps but is there anyway i can install directly say 3gb or 4gb on external without moving ?
Thanks,
Pr0Ankit
Pr0Ankit said:
Hi Again,
Thanks for your help. The second option which you provided worked for me to move my apps to sd card and play games but in that case i have to install my apps first in internal memory and then move it to external sd card using GL To SD and i have to mount it everytime i restart phone. I can play games now and install more apps but is there anyway i can install directly say 3gb or 4gb on external without moving ?
Thanks,
Pr0Ankit
Click to expand...
Click to collapse
Uninstall games.
Use adb/terminal emulator :
pm set-install-location 2
All the instalation will be made from now on external card. Default is 0 (auto)
install game.
As told u can always swap location with @Y300-0100 init.d script if U want from previous post.
The set location does not works. Even when i do it using adb tool and it shows my current install location as external when i install N.O.V.A.3 it says insufficient storage space available ?
:/
Please help me. I do not want to go in much detail about swapping memories cuz it might result in corrupting my sd card/ phone memory or I would end up bricking / bootlooping my phone. Furthermore the link you gave me says that I need a kernel with init.d support . I dont know if i have the kernel with init.d support or not. And I installed Busybox from google play store and not from a script. Will it work ?
Thanks.

[How to Guide] Moving data files after Android 11 to the external sdcard

Many people install apps on the internal storage where those apps have large amounts of data that most people wish to store on the external sdcard, but on Android 11, Google changed the associated external sdcard storage access APIs available to app developers.
This change has caused problems for users of a variety of tools such as OsmAnd~, Total Commander, MapFactor Navigator, HereWeGo Maps, etc., where I just went through the process and want to document it so that others can follow the steps more easily than it took me to figure it out just now.
What I'll do below is document with detailed screenshots the steps I used to migrate the OsmAnd~ map data from non-rooted Android 12 internal storage (where map data is stored by default) to the external sdcard storage.
These are the basic steps as documented in the OsmAnd FAQ.
Go to Settings (on the start screen) --> OsmAnd Settings --> Data storage folder
Change the value to a path pointing to the external SD card, on many Android systems it may contain /storage/extSdCard or similar.
Please note that some versions of Android strictly limit your choice of which path will be write-accessible for apps.
You are then asked if the contents of the OsmAnd data folder should be moved from internal memory to the external SD card.
You may also perform this manually using a built-in file manager app on the device, or via connecting the device to a computer as external storage and performing the move from there.
Following _those_ directions, it seemed to work fine to move my OsmAnd~ 313.26MB of data storage from my internal sdcard to my external sdcard.
OLD: External storage 1
/storage/emulated/0/Android/data/net.osmand.plus/files
NEW: External storage 2
/storage/0000-0001/Android/data/net.osmand.plus/files
Here are the screenshots of that migration process:
First I updated OsmAnd~ to 4.1.11
Then I checked the OsmAnd~ Data storage folder settings
I then migrated the data using the OsmAnd~ Move to ext sdcard command
This moved the internal map data to the external sdcard
I doublechecked using the X-plore file manager
Which showed a path of /storage/0000-0001/Android/data/net.osmand.plus/files
Which were also mounted over Wi-Fi onto the Windows 10 PC as a drive letter
Showing that the files were successfully migrated to the external sdcard
And which Windows adb clearly shows over Wi-Fi using "shell" commands
The Windows drive letter which is the entire Android 12 sdcard, was mounted
over Wi-Fi using the native Windows 10 "NET USE" command, as follows:
C:\> net use Z: \\[email protected]\DavWWWRoot /USER:foobar snafu
Where "foobar" is an arbitrary username set up for read/write in the WebDav server running on Android, and "snafu" is the arbitrary password for it.​
Note: The Android 12 phone doesn't have any login account whatsoever & the Windows 10 PC has a username that is different, & which has no password.​
The Windows adb commands I just now used for that screenshot were these:
1. This shows the Android phone is connected over Wi-Fi via tcp.
C:\> adb devices
adb-serialnumber._adb-tls-connect._tcp. device​
2. This shows Windows adb can read the internal Android storage over Wi-Fi.
C:\> adb shell ls /storage/emulated/0/Android/data/net.osmand.plus
cache​
files​
C:\> adb shell ls /storage/emulated/0/Android/data/net.osmand.plus/files
tiles​
tracks​
3. This shows Windows adb can read the external Android storage over Wi-Fi.
C:\> adb shell ls /storage/0000-0001/Android/data/net.osmand.plus/files
Us_california_san-francisco_northamerica.obf​
World_basemap_mini.obf​
backup​
favourites.gpx​
fonts​
ind.cache​
itinerary.gpx​
regions.ocbf​
rendering​
roads​
routing​
sounds​
tiles​
tracks​
travel​
voice​
In summary, the screenshots I created show the process graphically that I followed just now with the FOSS OsmAnd~ app to recover from the changes Google made in Android 11 and up to the storage model for apps saving data onto the external sdcard. As far as I know, the recovery process for similar apps should use similar steps.
Please let me know if you need more information about how this was done as I'm trying to help others by documenting these steps.
Note:
The phone is an unrooted Android 12 Samsung Galaxy A32-5G with both an internal storage card /storage/emulated/0 and an external storage card /storage/0000-0001 (where the external sdcard was formatted with that easy-to-remember 0000-0001 identifier years ago using a Windows PC).

Categories

Resources