Google Music Offline storage location - Samsung Infuse 4G

Can anyone tell me where the music is stored on my device whenever I select a file to be available offline in Google Music?
Sent from my SAMSUNG-SGH-I997 using XDA App

Good question. I searched my internal and external SD, but didn't see it...
In for answer

/sdcard/external_sd/Android/data/com.google.android.music/cache/music/

So I'm assuming that sd_card/external_sd/ is my 2gb external card. Is that correct? If so I wonder why it saves to the external sd. I haven't bought a bigger card yet. I can't find a way to change where the files are saved.
Sent from my SAMSUNG-SGH-I997 using XDA App

Kmo78 said:
So I'm assuming that sd_card/external_sd/ is my 2gb external card. Is that correct? If so I wonder why it saves to the external sd. I haven't bought a bigger card yet. I can't find a way to change where the files are saved.
Sent from my SAMSUNG-SGH-I997 using XDA App
Click to expand...
Click to collapse
Doesn't look like there is a way to change the cache location. Time to get a bigger SD card!

I decided to do a little experimenting with this. I removed my sd card and when I turned my phone on google music began downloading the 15 songs I had selected to be available offline. I went to the /sdcard/external_sd/ directory and the files were there without an external card installed. So is this path just a shortcut to the external card? It's kinda weird. I'd prefer to have the songs saved to the phone. Hopefully google will give us an option in an updated version of the application.
Sent from my SAMSUNG-SGH-I997 using XDA App

I was kind of surprised by this thread as I have the opposite problem, my music is synced to sdcard/data, instead of external_SD where I want it.
Guessing since you posted this you don't know how you got it synced to external?

Mixy said:
I was kind of surprised by this thread as I have the opposite problem, my music is synced to sdcard/data, instead of external_SD where I want it.
Guessing since you posted this you don't know how you got it synced to external?
Click to expand...
Click to collapse
Same thing here!

I'm having the same problem here on my transformer. Maybe someone wants to look at what I've been trying so far and join in solving this: http://forum.xda-developers.com/showthread.php?t=1476972

Fix (no sdcard formatting needed)
This is a fix i figured out piecing together other peoples attempts.
Use this as a script
mount -o bind sdcard2/android/data/com.​google.android.music sdcard/android/data/com.​google.android.music
Alternately you can change the first location to the location of your choosing as long as it resides on the external as card.
Ex.
Mount - o bind sdcard2/music sdcard/Android/data/com.​google.Android.music
will bind:
sdcard/Android/data/com.​google.Android.music (google's forced save location)
to
sdcard2/music
Go to google music (play music now) settings and clear any music that is currently saved to your device.
this only applies to music made available offline. If you do not clear it before running the script the music will exist on your internal sdcard but not be accessible.
open script manager and find the script you made
Select it and make sure to click set on boot and superuser
Run Your script.
That is it now your default save location for google music is bound to the location on the external sdcard. the device will see the location as its default but really be saving to the external sdcard.
You can check this by going to google music. Selecting "make available offline" and look at the free space. It should shoe the space available on your external sdcard.
TLR Version (noob version)
I was getting a lot of questions about the preliminary steps here (i.e. rooting, writing script, etc) so i decided to attach the noob version in case anyone needs verification on how to accomplish these steps.
HOW DO I ROOT?
So, Rooting gives you full access and control over your phone. instructions for how to root are device specific. so i would start by searching XDA for "YOUR DEVICE one click root"
ex. samsung galaxy s2 one one click root
some devices are easier to root than others. i cannot provide steps for your particular device, but through XDA, and google you CAN find everything you need.
some devices have one click root tools, some do not, so the rooting process is more in depth for those devices.
rooting instructions are so device specific i could not find a generic set of instructions, and don't want to mislead anyone by linking them to a set of instructions not ​compatible with their device.
There is a risk of bricking your device (making it inoperable) while rooting, although the risk is minimal... almost non existent if you carefully follow instructions. I have rooted 5 seperate devices without bricking any, and, in most cases even if bricked the device can still be restored.
there are additional benefits to rooting, such as overclocking
for example my Galaxy S2 normally runs at 1.5 GHZ, i have increased the speed to 1.8GHZ
(NOTE** Without XDA DEVELOPERS i would have rooted 0 devices, and probably bricked at least one, so thank you to all of you out there who have helped me, I hope this method will help some of you in return.)
NOW THAT YOU ARE ROOTED...
INSTALL SCRIPT MANAGER..
First, to install script manager just go to google market (Play Store) and search for script manager
INSTALL ES FILE EXPLORER..
To make a script go to google market (Play Store) and find ES File Explorer
WRITE SCRIPT..
Open es file explorer when install completes.
in es file explorer click the menu button, and select "new"
when prompted select "File"
name your file something you'll remember
Ex.MusicScript
Click your new file
when prompted select "Text"
type this EXACTLY how you see it
Mount - o bind sdcard2/music sdcard/Android/data/com.​​google.Android.music
press back and when prompted to save click yes
MAKE DESTINATION FOLDER..
now on es file explorer click "Favorites" (the star)
a new menu will pop up, at the top you willsee a picture of a phone with "/" underneath it click the phone
this will take you to the root directory
click the folder Sdcard2
click the menu button, and select "new"
when prompted select "Folder"
Name the folder music
Your script and destination music location are created
EXECUTE SCRIPT..
now open script manager
find your script which should be located in the directory /mnt/sdcard and the file name you chose earlier
select the script
open as script/executable
make sure script is selected not executable
click the buttons for "Su" and "Boot"
click save
Go to google music (play music now) settings and clear any music that is currently saved to your device.
this only applies to music made available offline. If you do not clear it before running the script the music will exist on your internal Sdcard but not be accessible.
now reboot the script will run at boot a prompt will appear asking for superuser rights, click yes and remember this selection (it may say something different than remember this selection whichever option resembles remember needs to be selected.)
YOU'RE DONE!!!
your music should now save to sdcard2/music but the device will still think it is saving to the default sdcard/Android/data/​com.​google.Android.music
You can check this by going to google music. Selecting "make available offline" and look at the free space. It should shoe the space available on your external sdcard.
So try your hardest to figure out how to root using google, and if your not confident enough to attempt it this fix may not be for you.
if you have tried everything you can and are still stuck message me back, including what device you have, and i will see if i can find a link to the rooting instructions for your particular device.
I assume no responsibility if you damage your device... These steps do work, and if followed will fix your music issues as well as introducing you to a world of additional benefits of being a rooted user.

FuzzyMeep Two said:
This is a fix i figured out piecing together other peoples attempts.
Use this as a script
mount -o bind sdcard2/android/data/com.​google.android.music sdcard/android/data/com.​google.android.music
Alternately you can change the first location to the location of your choosing as long as it resides on the external as card.
Ex.
Mount - o bind sdcard2/music sdcard/Android/data/com.​google.Android.music
will bind:
sdcard/Android/data/com.​google.Android.music (google's forced save location)
to
sdcard2/music
Go to google music (play music now) settings and clear any music that is currently saved to your device.
this only applies to music made available offline. If you do not clear it before running the script the music will exist on your internal sdcard but not be accessible.
open script manager and find the script you made
Select it and make sure to click set on boot and superuser
Run Your script.
That is it now your default save location for google music is bound to the location on the external sdcard. the device will see the location as its default but really be saving to the external sdcard.
You can check this by going to google music. Selecting "make available offline" and look at the free space. It should shoe the space available on your external sdcard.
YOU'RE DONE!!!
your music should now save to sdcard2/music but the device will still think it is saving to the default sdcard/Android/data/​com.​google.Android.music
You can check this by going to google music. Selecting "make available offline" and look at the free space. It should shoe the space available on your external sdcard.
So try your hardest to figure out how to root using google, and if your not confident enough to attempt it this fix may not be for you.
if you have tried everything you can and are still stuck message me back, including what device you have, and i will see if i can find a link to the rooting instructions for your particular device.
I assume no responsibility if you damage your device... These steps do work, and if followed will fix your music issues as well as introducing you to a world of additional benefits of being a rooted user.
Click to expand...
Click to collapse
This method doesn't work on my Evo 4G LTE. Still shows the internal SD available space on "Make available offline" Does it matter if I'm using a 64GB card?

@GMtom1 are you sure that you got whatever your sd card is labed as right? I haven't tried this method yet, but that seems to be the biggest point of failure for us evo lte users that are bringing our cards from other devices

******
gmtom1 said:
This method doesn't work on my Evo 4G LTE. Still shows the internal SD available space on "Make available offline" Does it matter if I'm using a 64GB card?
Click to expand...
Click to collapse
I have been having problems too... After i re-flashed my device, it has not been just working the way it did before, the script wouldn't work, so i believe that me installing Busybox or BASH, or something like that well before i made the script, was allowing the script to work properly. But, in the mean time, find "Directory Bind" it works perfectly...
p.s make sure you clear any music of of your internal sdcard, or it will still exist, but be inaccessible.

gmtom1 said:
This method doesn't work on my Evo 4G LTE. Still shows the internal SD available space on "Make available offline" Does it matter if I'm using a 64GB card?
Click to expand...
Click to collapse
Same..I tried it, made sure busybox was installed and still didn't work on my Evo 4G LTE

Anyone gotten to work on (Verizon) Galaxy S3?
I just tried to do this via your method and using the DirectoryBind utility, and both versions don't seem to like the path of my external SD Card (extSdCard).
Screenshots attached.
My script was:
Code:
mount -o bind extSdCard/music sdcard/Android/data/com.data.google.android.music
also tried with
Code:
mount -o bind /mnt/extSdCard/music sdcard/Android/data/com.data.google.android.music
FWIW the directory extSdCard exists

sti3 said:
I just tried to do this via your method and using the DirectoryBind utility, and both versions don't seem to like the path of my external SD Card (extSdCard).
Screenshots attached.
My script was:
Code:
mount -o bind extSdCard/music sdcard/Android/data/com.data.google.android.music
also tried with
Code:
mount -o bind /mnt/extSdCard/music sdcard/Android/data/com.data.google.android.music
FWIW the directory extSdCard exists
Click to expand...
Click to collapse
was getting the same errors as you are until I added the mnt/ in both paths.
mount -o bind mnt/sdcard/external_sd/gmusic mnt/sdcard/Android/data/com.google.Android.muisic
and I am good to go, 30GB of storage just waiting to be filled with music.

esox23 said:
was getting the same errors as you are until I added the mnt/ in both paths.
mount -o bind mnt/sdcard/external_sd/gmusic mnt/sdcard/Android/data/com.google.Android.muisic
and I am good to go, 30GB of storage just waiting to be filled with music.
Click to expand...
Click to collapse
I apologize for the gravedig, but I've been struggling significantly getting this to work on my Galaxy S3.
As a previous poster above said, because my external SD card is mounted at /mnt/extSdCard there are problems.
My command is:
Code:
mount -o bind /mnt/extSdCard/MusicCache /mnt/sdcard/Android/data/com.google.android.music
and it doesn't work at all...
Any idea why?

Related

Problem with Internal SD Card and Google Music

So I've reached my whits end and I need help! I think the internal SD card on my VZW Galaxy S3 is corrupted somehow. Here is my issue:
When I go to the /sdcard/Android/data/com.google.android.music/cache/ directory, there is nothing in there. I have stored many albums for offline use, and finally purchased an external SD card to use for Google Music. I tried using Directory Bind and the Script Manager (SManager) method to create a sym link between my SD card and the Google Music directory and here is what happened: the symlink was created, if I created a test folder, it would show up on the external SD card. With Google Music, however, it would save all of it's files on my internal SD card. The only reason I know this is because my free space would go down on my internal. I have yet to find where it's saving those files, but they're not accessible (even with a search).
I have tried 2 types of factory resets and none of them have fixed the issue. The factory reset found under settings doesn't even erase the internal SD card. So I tried typing *2767*3855# (***WARNING: IT WILL NOT CONFIRM WITH YOU AFTER YOU TYPE THAT. IT WILL INSTANTLY DO A FACTORY RESET AFTER YOU PRESS THE #***).
I am using the stock rom and am rooted using GS3DebugFSRoot method. Let me know if you need any additional information.
So, does anyone know how I can fix my issue?
Mine is like that too, i think it's so you can't share your music illegally.. I may be wrong though, just a guess
I figured it out last night!
The cached/offline music for Google Play Music is now located in /data/data/com.google.android.music/. There was nothing wrong with my SD card or anything like that. Once I found the correct directory location, we were good to go. Most other guides say the offline/cached music is located in /sdcard/Android/data/com.google.android.music but it wasn't for me.
Hope this is helpful for everyone!
Hmmm, I just checked my device and it looks like I have music cache in /sdcard/Android/... and /data/data/... It does look like album art is only on /sdcard/Android.
Would like to try this so am curious did you mount -o bind both paths to get it working?
Sent from my Galaxy S3
Zion800 said:
I figured it out last night!
The cached/offline music for Google Play Music is now located in /data/data/com.google.android.music/. There was nothing wrong with my SD card or anything like that. Once I found the correct directory location, we were good to go. Most other guides say the offline/cached music is located in /sdcard/Android/data/com.google.android.music but it wasn't for me.
Hope this is helpful for everyone!
Click to expand...
Click to collapse
How did you find this location? Did you use a tool to do some sort of search, or just stumble on it?
I have a Motorola RAZR M and have the same issue you are having. I cache Goole Play Music and wanted to use Directory Bind to redirect it to my external SD card, but I can't find the local cache directory.
I have a question posted on the RAZR M forum, no responses though, except someone directing me to this post.
How did you ultimately link the directories, with Directory Bind or SM?
I was able to find the offline cache on my RAZR M using Storage Analyzer with root access. I found the files at /data/data/com.google.android.music.files/ which was a directory I could not find using other tools.
I was then successful setting up a link to my external SD card using directory bind.
WooHoo, 10+ GB of music on my phone.

[Q] safe app to sd movement for p5113

Is there a safe, proven method for moving apps out of internal storage and into an external SD on the Galaxy Tab 2 10.1 GT-P5113, or more generally for Android 4.2? I've seen a few scripts that look a bit dangerous. The closest I've gotten so far is the FolderMount app, but even on a rooted tab, this app only seems to have access to the `/storage/emulated/0/` internal path, and all the apps I install are going into `/data/app/`.
deesto-xda said:
Is there a safe, proven method for moving apps out of internal storage and into an external SD on the Galaxy Tab 2 10.1 GT-P5113, or more generally for Android 4.2? I've seen a few scripts that look a bit dangerous. The closest I've gotten so far is the FolderMount app, but even on a rooted tab, this app only seems to have access to the `/storage/emulated/0/` internal path, and all the apps I install are going into `/data/app/`.
Click to expand...
Click to collapse
You can use FolderMount to access the root file system. I have /data/media/ bound with it as we speak.:laugh:
When you are on the screen to select the Source directory tap the menu button in the top right corner, select "/ Path" from the menu, and say OK to the warning. You should be able to select any folder on your device now.
Caldair said:
You can use FolderMount to access the root file system. I have /data/media/ bound with it as we speak.:laugh:
When you are on the screen to select the Source directory tap the menu button in the top right corner, select "/ Path" from the menu, and say OK to the warning. You should be able to select any folder on your device now.
Click to expand...
Click to collapse
Doh! Thanks! Yep, that works! But then I got the prompt: "source isn't empty. want me to move the contents?" (paraphrase), I answered "yes", and ended with "Unfortunately, FolderMount has stopped." Does the dir have to be empty before you can do this? Or do you have to move apps one at a time, with a unique mount pair for each? I was trying to "move" /data/app/ dir itself to SD; maybe that's a bad idea.
deesto-xda said:
Doh! Thanks! Yep, that works! But then I got the prompt: "source isn't empty. want me to move the contents?" (paraphrase), I answered "yes", and ended with "Unfortunately, FolderMount has stopped." Does the dir have to be empty before you can do this? Or do you have to move apps one at a time, with a unique mount pair for each? I was trying to "move" /data/app/ dir itself to SD; maybe that's a bad idea.
Click to expand...
Click to collapse
Oh yeah! Sorry I should have said I moved everything to the destination manually, then i mounted the folder in FolderMount and do not let it move anything for you! Though to be completely honest I don't think I would recommend mounting /data/app/. I don't think foldermount mounts the directory early enough at boot for that to work. Many of the large files that applications use are stored on the emulated sd card, in /sdcard/Android/data/ & .../obb/. Moving these will free up a lot of space probably. But like I have, mounting /data/media/ will let you move all of the contents of what used to be your "real" internal sd to some folder on your external sd. Android settings/storage sees me with INTERNAL STORAGE:Total Space: 4.59GB, Available: 3.68GB, Apps (app data & media content): 4.19GB, Music,Downloads,Pictures,etc.:~12GB! In system tuner my internal storage, /storage/emulated/0/ shows 23GB used, 36GB free with my 64GB card.
After moving everything that was in /data/media/ to my external it is easy to format my internal sd partition in recovery to clear away the now redundant files, and free up that space for the rest of my data.

[Q] Super Mount app Question - how to?

Hello there, sorry for this noob question, but I am really eager to let my external SD card to work. I have checked out some of the methods like directory bind etc., although some of them do not work and even complicated for a noob like me; I saw this app called Super Mount in google play and also it was previously suggested as what i have read in the forum here in XDA regarding how to run your apps or games in your ext SD so you can save your phones' (in case my mine its tablet) internal memory, did some research, and so I have tried what I could but I cannot seem to make it work... here is the path that I have been using in the Super Mount....(the one listed below that is the example path in google play)
source path : /storage/extSdCard/Android/obb/jp.co.sega.vtc (my tablet)
mount path : /storage/emulated/0/Android/obb/jp.co.sega.vtc
vs.
source path : /storage/extSdCard/DioDict3B (the example on the supermounts screen shot in google play)
mount path : /storage/sdcard0/DioDict3B
So I was kind of trying to copy how the directory should be...and by the directory that I did, whenever I launch my game its not working....its virtua tennis by the way.....and it says i need to download the extrafile over the wifi connection, though it works fine if I install it in my internal SD and put the SD data in the OBB folder. So, I am assuming it has something to do with the mounting. I have successfuly installed Lidroid File Manager and its plug-in the Super Mount, I can mount and unmount successfuly via the plug-in, only that I cannot seem to make it work.
By the way, I have Folder Mount installed and I'm using it for some big games in the tablet. Would that affect the directory or something if I have it installed? I just noticed there's an "emulated" in the directory, would that do anything to make the lidroid not to work? I did not uninstalled it since I have games which I have already mounted via the Folder Mount and it might mess things up more, so just want to consult few experts here in the forum first. Thanks and more power
Galaxy Note 8 N5100 user.
h4ckneyed said:
Hello there, sorry for this noob question, but I am really eager to let my external SD card to work. I have checked out some of the methods like directory bind etc., although some of them do not work and even complicated for a noob like me; I saw this app called Super Mount in google play and also it was previously suggested as what i have read in the forum here in XDA regarding how to run your apps or games in your ext SD so you can save your phones' (in case my mine its tablet) internal memory, did some research, and so I have tried what I could but I cannot seem to make it work... here is the path that I have been using in the Super Mount....(the one listed below that is the example path in google play)
source path : /storage/extSdCard/Android/obb/jp.co.sega.vtc (my tablet)
mount path : /storage/emulated/0/Android/obb/jp.co.sega.vtc
vs.
source path : /storage/extSdCard/DioDict3B (the example on the supermounts screen shot in google play)
mount path : /storage/sdcard0/DioDict3B
So I was kind of trying to copy how the directory should be...and by the directory that I did, whenever I launch my game its not working....its virtua tennis by the way.....and it says i need to download the extrafile over the wifi connection, though it works fine if I install it in my internal SD and put the SD data in the OBB folder. So, I am assuming it has something to do with the mounting. I have successfuly installed Lidroid File Manager and its plug-in the Super Mount, I can mount and unmount successfuly via the plug-in, only that I cannot seem to make it work.
By the way, I have Folder Mount installed and I'm using it for some big games in the tablet. Would that affect the directory or something if I have it installed? I just noticed there's an "emulated" in the directory, would that do anything to make the lidroid not to work? I did not uninstalled it since I have games which I have already mounted via the Folder Mount and it might mess things up more, so just want to consult few experts here in the forum first. Thanks and more power
Galaxy Note 8 N5100 user.
Click to expand...
Click to collapse
I cant find this app anymore.

[GUIDE] Photo Recovery from Internal Memory

Hey guys, I've found a way to recover files from the INTERNAL Memory of the Samsung Galaxy S4.
A lot of people have said that it's not possible, but I'm here to prove them wrong.
You have to have rooted your phone before carrying out these steps. Don't post here asking for help rooting, there's plenty of other threads that can help you with that.
I hold zero liability in the event that you make a nice brick out of your phone. If you do not feel comfortable working with these commands, then please don't follow them.
You're going to need an SD Card that's at least the size of the internal memory on the phone. A smaller one would work, but keep in mind not all the files are going to be recovered.
If the SD Card is brand spanking new, you can skip step number 1.
Format the SDCard with a layer of 0's. This is done so that none of the old data will interfere with your recovery. This step is optional.
Root the Device
Install Terminal Emulator
Insert the SDCard
In Terminal Emulator run the command to gain super user privileges
Code:
su
Grant Terminal Emulator super user privileges
Run this command,
Code:
dd if=/dev/block/mmcblk0p29 of=/storage/extSdCard/raw.dd
Wait. Leave your phone plugged into an AC Adapter, and go grab a can of pop. This command will take a looong time. Couple hours to a day.
Once the command is finished running, shutdown your phone.
Remove the SDCard, and connect it to a computer
Download TestDisk
Open PhotoRec
Select the SDCard and press enter
Use the first option of "Unknown"
Then press "Other"
Select the Directory to backup the files to
Profit
'
How it works:
By dd'ing the internal memory to a file on the SDCard, you're doing a raw copy of the data.
Once the data is copied onto the SDCard, PhotoRec will scan the SDCard for deleted data, doing so will scan the raw file for photos. Not just photos, all files can be recovered using this method.
This method works on all rootable phones, provided you can figure out where the dev block for the internal memory is.
Hope you guys get your files recovered. I know I did
Or just install a file recovery app from play store on a rooted phone and follow app instructions...
Worked a charm for me. lol
jamieridler said:
Or just install a file recovery app from play store on a rooted phone and follow app instructions...
Worked a charm for me. lol
Click to expand...
Click to collapse
Any app you recommend in particular?
Bingley said:
Any app you recommend in particular?
Click to expand...
Click to collapse
Tbh I just downloaded the first app I came across that was free and had half decent reviews, can't remember what one, it was a little while ago, but there are loads of them in the store.
jamieridler said:
Or just install a file recovery app from play store on a rooted phone and follow app instructions...
Worked a charm for me. lol
Click to expand...
Click to collapse
A lot of those apps are for the external SD Card, only support the FAT filesystem, and not as robust as PhotoRec from TestDisk.
Newer devices(Such as the S4) have an ext3 filesystem I believe, and a few paid apps claim to offer support for it.
... Not to mention TestDisk is Open Source :angel:
zzarzzur said:
A lot of those apps are for the external SD Card, only support the FAT filesystem, and not as robust as PhotoRec from TestDisk.
Newer devices(Such as the S4) have an ext3 filesystem I believe, and a few paid apps claim to offer support for it.
... Not to mention TestDisk is Open Source :angel:
Click to expand...
Click to collapse
Although some might well be limited to FAT filesystem, some are not, its up to the user to check before downloading and installing. After that rather simple search and install, I managed to recover every img file on my phone, current and deleted, and back it all up to external memory, all with a free app, which offers img file recovery for free and any other file type of your choice for a small, one off, cost, if you needed it. I recovered almost 1gb of img files in under 10 minutes.
Am I correct in assuming your method copies the entire contents of the internal memory, or a portion of it, to an SD card before starting the search for deleted files? I'm just an amateur with little knowledge trying to figure out how your method works. Sorry don't mean to bash your method of doing it either, just commenting on this as your post suggest no one has ever been able to do this before and your method is the one and only way it can be done.
But if the device is factory reset, will you be able to get files? If i sell my device i don't want anyone sneaking on my photos.
problems
zzarzzur said:
Hey guys, I've found a way to recover files from the INTERNAL Memory of the Samsung Galaxy S4.
A lot of people have said that it's not possible, but I'm here to prove them wrong.
You have to have rooted your phone before carrying out these steps. Don't post here asking for help rooting, there's plenty of other threads that can help you with that.
I hold zero liability in the event that you make a nice brick out of your phone. If you do not feel comfortable working with these commands, then please don't follow them.
You're going to need an SD Card that's at least the size of the internal memory on the phone. A smaller one would work, but keep in mind not all the files are going to be recovered.
If the SD Card is brand spanking new, you can skip step number 1.
Format the SDCard with a layer of 0's. This is done so that none of the old data will interfere with your recovery. This step is optional.
Root the Device
Install Terminal Emulator
Insert the SDCard
In Terminal Emulator run the command to gain super user privileges
Code:
su
Grant Terminal Emulator super user privileges
Run this command,
Code:
dd if=/dev/block/mmcblk0p29 of=/storage/extSdCard/raw.dd
Wait. Leave your phone plugged into an AC Adapter, and go grab a can of pop. This command will take a looong time. Couple hours to a day.
Once the command is finished running, shutdown your phone.
Remove the SDCard, and connect it to a computer
Download TestDisk
Open PhotoRec
Select the SDCard and press enter
Use the first option of "Unknown"
Then press "Other"
Select the Directory to backup the files to
Profit
'
How it works:
By dd'ing the internal memory to a file on the SDCard, you're doing a raw copy of the data.
Once the data is copied onto the SDCard, PhotoRec will scan the SDCard for deleted data, doing so will scan the raw file for photos. Not just photos, all files can be recovered using this method.
This method works on all rootable phones, provided you can figure out where the dev block for the internal memory is.
Hope you guys get your files recovered. I know I did
Click to expand...
Click to collapse
So i've followed your guidelines to a 'T' with a brand new 64g (huge, i know) Sd card, but the command line responds with, "writer error: file to large". Any advice as to how to proceed?
Really appreciate your efforts on this issue, btw!

[MOD][SWAP internal SD with external SD][SM-G355HN]

First why:
When I got this phone I was disappointed with fact that primary storage isn't switchable and free user data space is approximately 2.2 GB. Which means that all application data goes to internal storage so it is impossible to use apps like Need for Speed, Navigation app, ShowBox and others. I believe you all find that annoying.
After I saw @Dhruvit Pokharna topic I started to poke a little bit over XDA and I noticed that this was done before ( back in 2012 ) and with various Samsung phones. So I decided to change and adapt script for our phone. Original script was created by @mattiadj from whom I still waiting for permission to change script and to publish it. But I'am going to do it anyway.
What the script do:
It swipe internal sd (/storage/sdcard0) with external micro sd (/storage/extSdCard) 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"
required:
- root
- custom recovery
- kernel with init.d support
- BusyBox-v1.23.0-Stericson
- swap_intsd2extsdcard_SM-G355HN
How to and why:
Before installing swap if you moved some apps to sd move it back to phone to avoid conflict of course.
1. Root your phone first
2. Install custom recovery *(here or here)
3. Make a backup. Just in case of zombie attack *
4. Install kernel with init.d support *(here or here)
5. Install BusyBox-v1.23.0-Stericson.zip (flashable provided below )
6. Install swap_intsd2extsdcard_SM-G355HN.zip (flashable provided below)
7. Why * because you have choice
That's it. Your external sd is internal now and you can enjoy your big internal memory.
If you want to reverse it simply go to /system/etc/init.d delete 11extsd2internalsd and reboot your phone.
credits
@mattiadj and @mike1986.
Some screenshot just for you to see switch and mount points:
man help me.
i have some huge games, wild blood, modern combat 3.
i use the gl to sd to link the data,obb in sd.
and
what should i do to these data,obb in sd to flash the int2ext?
edit: can i use that in 355m?
Grindher said:
man help me.
i have some huge games, wild blood, modern combat 3.
i use the gl to sd to link the data,obb in sd.
and
what should i do to these data,obb in sd to flash the int2ext?
edit: can i use that in 355m?
Click to expand...
Click to collapse
Tutotial is simple. Step by step.
I don't see reason why you can't use this if your Phone has same spec as mine .
Check with root explorer following :
/storage/sdcard0
/storage/extSdCard
/dev/block/vold/179:129
If this is it you're good to go..
And for your existing game data just copy it after at proper place
Here is whole script:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:129 /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
Click to expand...
Click to collapse
please help my. I cant install any apk whith is not from play store. why.? when I try to instal any apk it shows just " not installed " and manage files trought any file mananger is almost impossible to understand where is right place for files which I looking for.
for example where it install games trought play store.?
I done all step by step without any issue. all things instals, flashes very well.
and without these problems all worked good..
thanks for helping and sory for my very bad english..
rihards23 said:
please help my. I cant install any apk whith is not from play store. why.? afret I try to instal any apk it shows just " not installed " and manage files trought any file mananger is almost impossible to understand where is right place for files which I looking for.
for example where it install games trought play store.?
I done all step by step without any issue. all things instals, flashes very well.
and without these problems all worked good..
thanks for helping and sory for my very bad english..
Click to expand...
Click to collapse
Install applications from play store goes to default internal memory without problem.
When you have downloaded apk from some other site only way for now is to copy it to /data/app than change permission and owner and install it from there. I still didn't figured it out why is that only way for download and backuped apks.
Regarding data app I think you mean what was asked in second post. If you used link2sd or some similar app after swaping just check are data and obb are stored under folder /Android in your external SD so that you could use your saved apps resources.
Y300-0100 said:
Install applications from play store goes to default internal memory without problem.
When you have downloaded apk from some other site only way for now is to copy it to /data/app than change permission and owner and install it from there. I still didn't figured it out why is that only way for download and backuped apks.
Regarding data app I think you mean what was asked in second post. If you used link2sd or some similar app after swaping just check are data and obb are stored under folder /Android in your external SD so that you could use your saved apps resources.
Click to expand...
Click to collapse
Maybe this video will clarify procedure because my English terminology is not good.
http://youtu.be/TrlEz-R6uMA
Y300-0100 said:
Install applications from play store goes to default internal memory without problem.
When you have downloaded apk from some other site only way for now is to copy it to /data/app than change permission and owner and install it from there. I still didn't figured it out why is that only way for download and backuped apks.
Regarding data app I think you mean what was asked in second post. If you used link2sd or some similar app after swaping just check are data and obb are stored under folder /Android in your external SD so that you could use your saved apps resources.
Click to expand...
Click to collapse
thanks alot man..:victory:
now I instal apk withot problem.
Thanks bro for your awesome work.:good:
Hi!
File Commander shows the swap (a lot of memory as device memory) and a little amount (the internal, as sd card memory), but when I get into app administration it only shows the small amount of memory as the avaible for applications, I've tried downloading some apps after the process just to see if that amount was static but it keeps going down with every app, so I guess it isn't working, or only games and apps which use large amounts of memory are saved at the external storage?
Edit: I can't neither nstall apps directl from the storage, just from the play store.
Thanks! :good:
Korelev said:
Hi!
File Commander shows the swap (a lot of memory as device memory) and a little amount (the internal, as sd card memory), but when I get into app administration it only shows the small amount of memory as the avaible for applications, I've tried downloading some apps after the process just to see if that amount was static but it keeps going down with every app, so I guess it isn't working, or only games and apps which use large amounts of memory are saved at the external storage?
Edit: I can't neither nstall apps directl from the storage, just from the play store.
Thanks! :good:
Click to expand...
Click to collapse
Aps must be install in real internal sd card. U got 2.2 GB.
All aplication data ( data and obb ) goes to micro SD card.
Procedure how to install non play store app 2 post up and video tutorial is also up.
Y300-0100 said:
Aps must be install in real internal sd card. U got 2.2 GB.
All aplication data ( data and obb ) goes to micro SD card.
Procedure how to install non play store app 2 post up and video tutorial is also up.
Click to expand...
Click to collapse
I see, just installed a game and it's working, thanks!
I found something, I don't know if it is a bug or me doing something wrong, any app that messes with the identity of the phone doesn't seems to work. I've tried with "Tablet Metrics" module with the xposed framework and Rom toolbox lite, also doesn't work changing the device id.
Thanks alot. I love this
I have a trouble
I have 32GB card. Made all as it says in instruction.
But the problem is now when i connect phone via usb to pc its says - Card 2,18GB, Phone - 29.3GB.
But in phone its show's like phone memory 4GB, card - 2,18GB.
Isnt phone memory should be 29.3GB or something like that?
Help please!
artb91 said:
I have a trouble
I have 32GB card. Made all as it says in instruction.
But the problem is now when i connect phone via usb to pc its says - Card 2,18GB, Phone - 29.3GB.
But in phone its show's like phone memory 4GB, card - 2,18GB.
Isnt phone memory should be 29.3GB or something like that?
Help please!
Click to expand...
Click to collapse
Answer to the trouble is in title. If you want to revert it go to /system/etc/init.d and delete 11ext2int.
Y300-0100 said:
Answer to the trouble is in title. If you want to revert it go to /system/etc/init.d and delete 11ext2int.
Click to expand...
Click to collapse
Well, i already did it, ty Revert works very good
But i wanted to know what i can make wrong. I mean i did everything as it wrote in title. But maybe such fail was already corrected by some user.
And also free space was the same for card and phone memory. i mean if free memory on phone is 200mb, then on sd card its also 200mb.
artb91 said:
Well, i already did it, ty Revert works very good
But i wanted to know what i can make wrong. I mean i did everything as it wrote in title. But maybe such fail was already corrected by some user.
And also free space was the same for card and phone memory. i mean if free memory on phone is 200mb, then on sd card its also 200mb.
Click to expand...
Click to collapse
If you looking in settings storage you will see that. It's the way it is because I couldn't swap whole data partition. I only swap extSdCard with legacy sdcard0 or internal memory. Swapping mmcblk0p22 with mmcblk1p1 wouldn't work because p22 is fst ext4 and p1 is vfat.
Can I use this mod to my Samsung galaxy Core 2 SM-G355H??
harold1603 said:
Can I use this mod to my Samsung galaxy Core 2 SM-G355H??
Click to expand...
Click to collapse
Check with root explorer following :
/storage/sdcard0
/storage/extSdCard
/dev/block/vold/179:129
If this is it you're good to go..
Y300-0100 said:
Check with root explorer following :
/storage/sdcard0
/storage/extSdCard
/dev/block/vold/179:129
If this is it you're good to go..
Click to expand...
Click to collapse
thanks for the reply sir
I dont have 179:129 on the vold folder or maybe i cant see this because im not rooted
but yes I have the following only the 179:129 dosent show on the /dev/block/vold
is this a file or folder? the 179:129
Thanks Y300-0100
:good::good::good:
how can use it on core i8262 please??
app installisation error
Y300-0100 said:
First why:
When I got this phone I was disappointed with fact that primary storage isn't switchable and free user data space is approximately 2.2 GB. Which means that all application data goes to internal storage so it is impossible to use apps like Need for Speed, Navigation app, ShowBox and others. I believe you all find that annoying.
After I saw @Dhruvit Pokharna topic I started to poke a little bit over XDA and I noticed that this was done before ( back in 2012 ) and with various Samsung phones. So I decided to change and adapt script for our phone. Original script was created by @mattiadj from whom I still waiting for permission to change script and to publish it. But I'am going to do it anyway.
What the script do:
It swipe internal sd (/storage/sdcard0) with external micro sd (/storage/extSdCard) 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"
required:
- root
- custom recovery
- kernel with init.d support
- BusyBox-v1.23.0-Stericson
- swap_intsd2extsdcard_SM-G355HN
How to and why:
Before installing swap if you moved some apps to sd move it back to phone to avoid conflict of course.
1. Root your phone first
2. Install custom recovery *(here or here)
3. Make a backup. Just in case of zombie attack *
4. Install kernel with init.d support *(here or here)
5. Install BusyBox-v1.23.0-Stericson.zip (flashable provided below )
6. Install swap_intsd2extsdcard_SM-G355HN.zip (flashable provided below)
7. Why * because you have choice
That's it. Your external sd is internal now and you can enjoy your big internal memory.
If you want to reverse it simply go to /system/etc/init.d delete 11extsd2internalsd and reboot your phone.
credits
@mattiadj and @mike1986.
Some screenshot just for you to see switch and mount points:
Click to expand...
Click to collapse
I followed the whole procedure, and internal is swiped to external sd bt when i tried to install any app it says app not installed will ypu plz fix the script to directly install any app so we dont hav to put apk into ./data/app .. thanks

Categories

Resources