[BOUNTY] Fix my int. Sdcard - Galaxy S II Q&A, Help & Troubleshooting

When i woke up this morning i had to hold powerbutton for, is it 10 seconds, to restart the phone. When it booted up again i got a message that said somethings wrong with the sdcard, and it asked if i wanted to format. Hell no! I got things there i really want to keep (yea stupid of me not to have it backed up!).
I went in to recovery and if i enter the "install zip from internal sdcard" i can see the card and all it's files.
If this would have happened to my external sdcard i'd just put it in my laptop doing a scandisc and all would be cool.
Now it isn't. So how do i solve this?
Sent with love from my GT-I9100 using Tapatalk

Have you tried to mount the internal SD to the PC over USB from from recovery mode, using the "mounts and storage" menu?
Considering you have CWM recovery running, if not flash a kernel with CWM and try it then.

HellcatDroid said:
Have you tried to mount the internal SD to the PC over USB from from recovery mode, using the "mounts and storage" menu?
Considering you have CWM recovery running, if not flash a kernel with CWM and try it then.
Click to expand...
Click to collapse
Hi and thanks for answer!
Yes i have CWM, just forgot to mention it.
I just tried to mount usb storage from cwm and both cards shows up, but only external can get accessed. Nothing(!) happends when i pick the scandisc option and clicks start. Just doesnt start.
Edit: still can SEE the files in cwm, just need to know how to copy them to a safe place so i can format the sd. :/
Sent from my GT-I9100 using Tapatalk

mrBira said:
Edit: still can SEE the files in cwm, just need to know how to copy them to a safe place so i can format the sd. :/
Click to expand...
Click to collapse
Hm, in that case you could copy them via an adb shell over to the external card.
adb is a command line tool that's part of the Android SDK.
Invoke a shell via
Code:
adb shell
when the phone is in CWM recovery and connected via USB.
Make sure internal and external SD are mounted (mounts and storage menu) and use the "cp" (=copy) command to copy the important files over, like
Code:
cp /sdcard/afile.dat /path/to/external/sd
(sorry don't remember where CWM mounts the external SD at the moment, IIRC it's something like /mnt/emmc, but I'm not sure right now)
The cp command can also use wildcards like "*" for all files in the given directory.
Hope that gets you closer to saving your data.

I know this may sound cliche.. Have you tried turning off your phone ans remove the sd card and re insert it back in... And boot back up?
Sent from my SHW-M250K using XDA App

HellcatDroid said:
Hm, in that case you could copy them via an adb shell over to the external card.
adb is a command line tool that's part of the Android SDK.
Invoke a shell via
Code:
adb shell
when the phone is in CWM recovery and connected via USB.
Make sure internal and external SD are mounted (mounts and storage menu) and use the "cp" (=copy) command to copy the important files over, like
Code:
cp /sdcard/afile.dat /path/to/external/sd
(sorry don't remember where CWM mounts the external SD at the moment, IIRC it's something like /mnt/emmc, but I'm not sure right now)
The cp command can also use wildcards like "*" for all files in the given directory.
Hope that gets you closer to saving your data.
Click to expand...
Click to collapse
Thanks! Will try that in a few hours when i get home. Is there any chance i could do a "cp /mnt/sdcard/" to copy the whole sd at once? But perhaps something could go wrong since the ext sd is mounted in /mnt/sdcard/external_sd
Bah i dont know.... Any command genious here who can help me further?
Sent from my GT-I9100 using Tapatalk

charon420 said:
I know this may sound cliche.. Have you tried turning off your phone ans remove the sd card and re insert it back in... And boot back up?
Sent from my SHW-M250K using XDA App
Click to expand...
Click to collapse
Yes i have tried that also, but thanks anyways!
Sent from my GT-I9100 using Tapatalk

mrBira said:
Is there any chance i could do a "cp /mnt/sdcard/" to copy the whole sd at once? But perhaps something could go wrong since the ext sd is mounted in /mnt/sdcard/external_sd
Click to expand...
Click to collapse
Yeah, with the external mounted in a path inside the internal - that will somehow get you some troubles.
Let's consider for a moment it's at /mnt/emmc, then you could do:
Code:
cp -r /mnt/sdcard/* /mnt/emmc/maybesomesubdirifyouwant/
If the external SD is mounted somewhere you can't use it (like inside the internal - but IIRC CWM doesn't do that) you can just unmount it with something like this:
Code:
umount /mnt/sdcard/external_sd
then mount it somewhere else with
Code:
mount /dev/block/mmcblk1p1 /mnt/ext_sd
.
If you want/need to create a subfolder in /mnt (or wherever) you have to remount / as read-write first:
Code:
mount -o rw,remount /
mkdir /mnt/ext_sd

HellcatDroid said:
Yeah, with the external mounted in a path inside the internal - that will somehow get you some troubles.
Let's consider for a moment it's at /mnt/emmc, then you could do:
Code:
cp -r /mnt/sdcard/* /mnt/emmc/maybesomesubdirifyouwant/
If the external SD is mounted somewhere you can't use it (like inside the internal - but IIRC CWM doesn't do that) you can just unmount it with something like this:
Code:
umount /mnt/sdcard/external_sd
then mount it somewhere else with
Code:
mount /dev/block/mmcblk1p1 /mnt/ext_sd
.
If you want/need to create a subfolder in /mnt (or wherever) you have to remount / as read-write first:
Code:
mount -o rw,remount /
mkdir /mnt/ext_sd
Click to expand...
Click to collapse
Cool, thanks! 4 hours til i get home cant wait to try this! Seems very logical and actually got some hope :-D
Sent from my GT-I9100 using Tapatalk

Solved it by formating. ;(

Related

[Q] Tablet possibly bricked - how to get data

Hello, fellow gTablet users!
I'm kinda newbie here, so first of all my apologies to everyone if that was already asked, 'cause I did some research on the matter and couldn't find all the necessary info for solving my particular issue.
Ok, so here's the deal. I was using my gTab for about half-year now. When I received it, I installed VeganTab-7 Ginger Edition on it (thanks for the devs - very nice ROM!) and it worked flawlessly until yesterday. But then something not good happened and the tablet stopped booting. Now it starts from birds screen, goes on to G-Tabdevs screen, after which VeganTab GingerEd boot screen appears, it has flashing letters for a couple of seconds and then tablet goes black and tries to boot again. I guess it's a boot loop so it's kinda soft brick and I'll have to do wipe data/factory reset through CWM to solve the issue. So this isn't the biggest problem - I've already found all the instructions.
The real problem is that I didn't make backup of my data (guilty!), but I don't want to lose some of it, especially the browser data. I was using Opera Mobile, so I guess that its data should be on /data partition. So I'll need an advice on how I can dump the necessary data before doing factory reset!
I've already tried connecting to desktop, using guide from this (http://forum.xda-developers.com/showthread.php?t=1010943) thread (third method from it), but it didn't work, at least on my Win7 Pro x64 SP1: the tablet shows as removable disk, but I can't access it. I tried to mount /data or /sdcard partitions through CWM recovery menu, but it tells me that it can't find /dev/block/... - I guess that's block device, associated with those partitions. So what are my best options of backuping data?
And the last question: I'll probably install some other ROM just to try something different, but unfortunately I don't remember what loader I have. I'm nearly sure that I installed VeganTab for 1.1, 'cause I did it back in May 2011 and there wasn't one available for 1.2 yet. But just to make sure: how can I find my loader version before I do reset? Or maybe I just have to do the reset and look for it when back on stock ROM?
Seriously, guys, doesn't anybody know how to solve these problems?
Boot into CWM first, then try mounting both /data and /sdcard using the CWM menu. Note down the exact error message displayed in each case. Then connect the USB cable and run these ADB commands on your PC:
Code:
C:\> [B]adb shell dmesg >dmesg.txt[/B]
C:\> [B]adb shell fdisk -l /dev/block/mmcblk3 > fdisk.txt[/B]
C:\> [B]adb shell fdisk -l /dev/block/mmcblk2 >> fdisk.txt[/B]
Post the error messages and those 2 .txt files here.
Thank you for reply, rajeevvp.
When I'm trying to mount /data and /sdcard it says respectively:
Code:
E:Can't mount /dev/block/mmcblk3p2
(No such file or directory)
Error mounting DATA:!
E:Can't mount /dev/block/mmcblk3p1 (or /dev/block/mmcblk2p1)
(No such file or directory)
Error mounting SDCARD:!
Unfortunately I didn't have ADB installed. Now I'm trying to use the guide from here: http://forum.xda-developers.com/showthread.php?t=902860, but fail on step 4, cause there is nothing like "Nvidia harmony" appearing under other devices in my dev manager, just "Nvidia Tegra 2 USB Device" under Disk Drives and "USB Mass Storage Device" under Universal Serial Bus Controllers. I guess these devices are gTablet's internal memory presented as disk drive...
I'll try to install ADB and then write back how it worked.
Interesting error messages. Now I really have to see those text files.
If you're having problems installing ADB on Windows, try using Linux.
Ok, thanks you very much! I'll try that, but unfortunately tomorrow, as it's already too late here.
Btw, I read your post about linux - you're suggesting Knoppix Live CD there. Is it mandatory to use it? I mean I already have PartedMagic live CD burned, maybe I could use it instead...
anary said:
I mean I already have PartedMagic live CD burned, maybe I could use it instead...
Click to expand...
Click to collapse
If sudo and adb work, then no problem.
rajeevvp said:
Boot into CWM first, then try mounting both /data and /sdcard using the CWM menu. Note down the exact error message displayed in each case. Then connect the USB cable and run these ADB commands on your PC:
Code:
C:\> [B]adb shell dmesg >dmesg.txt[/B]
C:\> [B]adb shell fdisk -l /dev/block/mmcblk3 > fdisk.txt[/B]
C:\> [B]adb shell fdisk -l /dev/block/mmcblk2 >> fdisk.txt[/B]
Post the error messages and those 2 .txt files here.
Click to expand...
Click to collapse
Ok, I finally managed to do it. Sorry for the delay.
The files are attached. Did everything how you told me.
Actually I don't think that I understand too much in Android inner mechanics But having looked through these files, I thought that inner sdcard device (mmcblk3) doesn't seem to produce any strange behavior...
Btw, thanks a lot for your advice about using Knoppix - it's really very easy and handy!
anary said:
But having looked through these files, I thought that inner sdcard device (mmcblk3) doesn't seem to produce any strange behavior...
Click to expand...
Click to collapse
You have lost your /data partition altogether. You are supposed to have 2 partitions on that internal SD card: a 14GB FAT32 partition and a 2GB ext3 partition. You only have a single FAT32 partition spanning the entire SD card now.
I may be able to help you get both partitions back if you give me these details:
1. How and when did this happen?
2. Current ROM.
3. Current version of CWM.
4. Did you try to repartition the (internal) SD card recently?
5. Have you ever repartitioned the internal SD card? If yes, then using which version of CWM?
6. After you noticed the problem what steps did you take to fix the problem?
Yeah, I remember I was curious where it stores OS's kernel if all it has is FAT32 partition - now I get it...
Ok, here are the details:
1. I don't really know what has happened, but I guess that it happened when I tried to use tablet like cardreader for microsd card. During that I sort of formatted external sd - maybe that actually was internal memory? I checked through file manager though, and all the files seemed intact...
2. VeganTab GingerEd from this thread: http://forum.xda-developers.com/showthread.php?t=1031250. I'm pretty sure that I didn't install anything except for it.
3. Don't know. But it says ClockworkMod Recovery v2.5.1.1-bekit-0.8 in recovery menu, so I guess its version is maybe 0.8.
4. No I didn't, at least intentionally.
5. I think I did it just once, when installing the ROM. I'm pretty much sure that I used this instructions for repartitioning: http://viewsonic-gtablet-for-dummies.webs.com/repartition.htm (not exactly this, but I did the same as it's written there). To install the ROM I used the instructions from the ROM thread, mentioned above. I didn't whant to do a lot of modding, just wanted the device to work at least better than with stock ROM, so didn't try to change any other low-level things.
6. I just tried to mount partitions through CWM recovery and I tried wiping out cache partition and Dalvik cache. Nothing else.
anary said:
Yeah, I remember I was curious where it stores OS's kernel if all it has is FAT32 partition - now I get it...
Click to expand...
Click to collapse
The OS kernel is not stored on the SD cards. They're stored on a "boot" partition on the NAND flash. And, if the OS was messed up you would get hung up on the initial splash screen (the one with the 3 birds)--you wouldn't go into a boot loop.
1. I don't really know what has happened, but I guess that it happened when I tried to use tablet like cardreader for microsd card. During that I sort of formatted external sd - maybe that actually was internal memory?
Click to expand...
Click to collapse
That's what caused this problem. CWM-2.5.1.1-bekit-0.8 does not work on the external SD card (but, CWM-2.5.1.3 and CWM-4.0.1.5 do).
Did you format the internal SD card using CWM?
I checked through file manager though, and all the files seemed intact...
Click to expand...
Click to collapse
Files where? The internal SD card or the external one? And, how did you check this? After formatting the internal SD card, the very next boot into the ROM would've put you into a boot-loop because the /data partition is missing.
I think I may be able to get stuff from /data, but, everything on /sdcard is most likely gone. (Actually, the files are most likely all there, but, without direct access to the tablet, it's very difficult to get the retrieve any of them.) Just don't touch the tablet until I've figured out the commands you will have to use.
That's what caused this problem. CWM-2.5.1.1-bekit-0.8 does not work on the external SD card (but, CWM-2.5.1.3 and CWM-4.0.1.5 do).
Did you format the internal SD card using CWM?
Click to expand...
Click to collapse
No, I was going to format external SD card and I tried to do it through Android (or maybe VeganTab) menu. I think that doing this, I could accidentally format internal SD, but I'm not sure this could be done from within the OS. During the same logon session I checked files on internal SD with file manager and all of them were where they should have been. So I thought that all was ok. But when I rebooted next time, it wasn't booting... That's why I told you that maybe it was because of formatting.
And just to be clear: I didn't do anything using CWM after it stopped booting, apart from wiping system and Dalvik caches.
Do you have a large capacity micro SD card (anything larger than the maximum amount of data that's currently on the internal SD card) that you can use to save retrieved data into?
rajeevvp said:
Do you have a large capacity micro SD card (anything larger than the maximum amount of data that's currently on the internal SD card) that you can use to save retrieved data into?
Click to expand...
Click to collapse
Yep. Won't be any problem.
anary said:
Yep. Won't be any problem.
Click to expand...
Click to collapse
OK. Format that micro SD to contain a single DOS partition; then we'll proceed.
rajeevvp said:
OK. Format that micro SD to contain a single DOS partition; then we'll proceed.
Click to expand...
Click to collapse
Ok. That's done.
Boot into CWM, go into the "mounts and storage" menu, unmount all mounted partitions, connect the USB cable, and run these commands using ADB--do not back out of that "mounts and storage" menu while we're fixing this. We're trying to see if the data on the current /sdcard partition can be retrieved.
Code:
$ [B]adb shell[/B]
~ # [B]mount -r /dev/block/mmcblk3p1 /sdcard[/B]
~ # [B]ls -l /sdcard[/B]
If the ls listing looks OK, then we force a filesystem check before copying the data to the external micro SD card:
Code:
~ # [B]mount -r /system[/B]
~ # [B]umount /sdcard[/B]
~ # [B]/system/bin/fsck_msdos -f -y /dev/block/mmcblk3p1[/B]
If the listing doesn't look OK, then the data on /sdcard is lost.
Post the exact output of each command.
Ok, mount says this:
Code:
mount: mounting /dev/block/mmcblk3p1 on /sdcard failed: Invalid argument
and ls after that gives no output - I think it shouldn't give any, 'cause I didn't mount anything...
Does this mean I'm screwed?
Try this mount command:
Code:
~ # [B]mount -r -t vfat /dev/block/mmcblk3p1 /sdcard[/B]
The same result.

[SOLVED] [Q]Recovery Mount Issue

I've searched here, other device forums, as well as Google (not good at the Google skills though) and cannot find the answer to my issue.
I wanted to start with a blank formatted device and then install a clean recovery of a ROM from SDCARD. But my noob a** didn't read that TWRP and CWM both don't have the ability to mount the internal memory to the PC/MAC.
I either don't know what I'm doing (obvious answer) or don't know what setting to turn on/off to get the internal memory to mount to my Mac.
TF 201
TWRP 2.1.3
Bootloader Unlocked
Mac OS X Lion
Any help you guys can give me would be greatly appreciated!
--Chaz
lattera said:
Here's the blog entry. I hope this helps anyone who was in my same situation: http://0xfeedface.org/blog/lattera/2012-06-04/installing-cm9-encrypted-android-tablet
Sent from my Transformer Prime TF201 using XDA Premium HD app
Click to expand...
Click to collapse
The above xda post had the mount points needed to dab mount the microSD and then flash the ROM
Requirements
External microSD card
USB microSD card reader
ROM downloaded
adb installed properly
some shell knowledge
Click to expand...
Click to collapse
Steps (This is just how I did it. There are other ways once you've mounted the microSD)
Move your downloaded ROM to the microSD card via the reader plugged into your PC or Mac
Boot your device into the recovery of choice (I used TWRP since it was already installed before the mess up)
On your PC or Mac go into your terminal/cmd prompt
Type: adb shell
Type: cd /sdcard ....(this is the internal memory of the TF201)
Type: mkdir /microsd
Type: ls (you should see your newly created directory)
Type: mount /dev/block/mmcblk1p1 /sdcard/microsd (patience needed here)
Type: cd /sdcard/microsd
Type: ls (you should see the files you copied from your external card reader to the microSD card)
NOTE: I tried flashing in recovery from the external microSD but it failed so I had to copy the files to the /sdcard partition​
Type: cp /sdcard/microsd/name-of-rom.zip /sdcard/ (same command for other files for flash ie: Gapps)
Click to expand...
Click to collapse
After the copy I also performed a reboot back into recovery just to properly unmount/mount all the needed partitions for the flash.
Thanks
Again thanks to lattera for the mount point listed in his blog.
--Chaz
I tried the above but it says mounting /dev/block/mmcblk1p1 on /sdcard/microsd failed: No such file or Directory
karimooz said:
I tried the above but it says mounting /dev/block/mmcblk1p1 on /sdcard/microsd failed: No such file or Directory
Click to expand...
Click to collapse
It's better to use
Code:
mount /dev/block/mmcblk1p1 /data/media
to get into microsd then there is no error and you can flash without any risks of even harrder bricking.

Mount sd_ext from adb or terminal emulator

Ok long story but I'm trying to figure out how to mount the external sdcard from a shell script or terminal emulator. Nothing I've tried or can find works. One example that's not working (or any variations of this) :
mount -o remount,rw /dev/block/mmcblk1p2 /mnt/sdcard/ext_sd
Sent from my ADR6425LVW using Tapatalk 2
When you plug in just hit "use as external storage" or somehing like that when the window comes up in the phone.
Yeah I know how to mount ext_sd via USB I'm working on a script and need to know the command to use from a script, I'm not trying to mount the card on my computer.
Sorry I wasn't more specific.
Sent from my ADR6425LVW using Tapatalk 2
rsage said:
Yeah I know how to mount ext_sd via USB I'm working on a script and need to know the command to use from a script, I'm not trying to mount the card on my computer.
Sorry I wasn't more specific.
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
That's what you wrote.
So, you want to be able to push or retrieve a file from external SD through ADB?
No not really, though I guess that would be similar. I'm working on a script and in the script I need to mount the external sdcard if it's not already mounted.
Sent from my ADR6425LVW using Tapatalk 2

CM10 - external_sd mount location

I jumped from stock to CM10 and have found an issue I need resolved, but am not sure how to go about it.
On stock, I didn't have
/sdcard/ is the path for the internal memory
/sdcard/external_sd/ is the path for the actual add-in slot you buy yourself.
This is great because the file explorer apps don't need special access to get to, and things are at least somewhat logical on how they're laid out.
On CM10:
/storage/sdcard0/ is internal memory
/storage/sdcard1/ is external memory
There are symbolic links of /sdcard and /external_sd but to access the latter, I need to tell apps like ES file explorer to change their base path rather than just having a nested mount structure.
I've tried using terminal emulator to go in and create a symbolic link, but I get 'operation not permitted' messages. I've also tried editing /etc/vold.fstab to have it change the mount from /storage/sdcard1 to /storage/sdcard0/external_sd, but the filesystem is read-only and 'mount -o remount,rw /' doesn't have an effect even though it doesn't complain.
How can I change the mount structure back to how I want it and how it's easier to access/navigate it in my apps?
Run into some situation, hopefully someone can shed some light
Did you mount this files as r/w?
Sent from my SAMSUNG-SGH-I717 using xda premium
johnrippa said:
Did you mount this files as r/w?
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
In my original post I mention trying to get it remounted as r/w, the command doesn't complain but the filesystem stays read-only.
Try busybox mount -o remount,rw /system
If that fails, use an app to do it.
ChronoReverse said:
Try busybox mount -o remount,rw /system
If that fails, use an app to do it.
Click to expand...
Click to collapse
Any particular apps to recommend? I had tried issuing the remount command on / and not /system. I will give that another try.
ChronoReverse said:
Try busybox mount -o remount,rw /system
If that fails, use an app to do it.
Click to expand...
Click to collapse
I was able to modify the mount point to be /storage/sdcard0/external_sd/ for the external SD slot, but when I rebooted CM it got stuck and would buzz every 10 seconds or so and stayed that way indefinitely. Not sure why this breaks CM so bad but there you have it. Oh well.
Might be a better idea to just add links so you get your old /sdcard/external_sd
I'm not currently on a CM10 ROM or else I'd test.
ChronoReverse said:
Might be a better idea to just add links so you get your old /sdcard/external_sd
I'm not currently on a CM10 ROM or else I'd test.
Click to expand...
Click to collapse
Symbolic links don't work on a FAT based filesystem (which the SD card mounts are), unfortunately.

How to exchange memories

Hi, this is a tutorial that explain how to change the internal sd with the external.
It is an idea of danitab78, i decided to create this to shy away from talking in other threads.
I think it solves the main problem of our device that has only 2,3 gb as internal sd.
It works on this script:
ICS:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd
The only thing to do is create a "external_sd" folder in external_sd
At first, you must have a file managar that works on rooted phones like "Root Explorer" and also "Script Manager - SManager" so you can bring the attached file into your phone, i suggest you to paste it in system/etc. Now rename your .txt in .sh.
Open Script Manager with root permissions and find the .sh, tap on it, and if is asked how to open it, choos script/executable. In the next windows tap on "su", "boot","save" and finally "run".
If it doesnt give you any error it has worked!
Congratulations
All rights reserved to Danitab78
JELLYBEAN:
I copied kumas post, so thanks to him here and here
ROOT IS REQUIRED and Jelly Bean
I made/copied (lol) this script by combining Artas182x and Mateo1111 scripts
this is how you would save it as script (.sh file)
Code:
#!/system/bin/sh
SU
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
if busybox mount | busybox grep vold/179:61; then
busybox mount -o bind /data/media /storage/external_SD
busybox rm /storage/external_SD/external_sd
busybox chmod -R 777 /storage/external_SD
fi
Or just download the attachment and unzip to your sdcard and run with smanger or similar app (and set to boot at startup if you want)
Note:
1.When using the camera and video recorder, change settings storage to internal memory (if you don't, you will have to reboot the phone to see your pic/vid you just took)
2.This script will allow you to install large size games (ex. Asphalt 7) but you will still need link2sd (to move apps to your external_SD)
Now if you use the link2sd app, select the "create symbolic link"
lol one more thing, you will need to partition your sdcard to use link2sd.
3.If y'all have busybox installed properly this script should work fine. In addition, this script is all set for init.d (but i have problems using this method). You will get an error for SU, because it's set for init.d. However, the script still works fine through a terminal.
Warning, using Android Tuner app can mess up your L9 and I'm not responsible if you do!
Or if you don't want to use link2sd and partition your Sdcard, you can use Android Tuner However, this app is really advance and you should make a CWM backup (thanks to Artas182x) before messing with this app. It has a lot of options and you could mess the phone up.
I did it for a better english, i hope
Will it take the apps into it!?
Sent from my LG-P765 using xda premium
hkfree said:
Will it take the apps into it!?
Sent from my LG-P765 using xda premium
Click to expand...
Click to collapse
I did it and i installed NFS Most Wanted and Asphalt 7, so definetly yes
it works, my internal now states 16gb
but i still don`t understand " The only thing to do is create a "external_sd" folder in external_sd"
does it means i have make folder external_sd after all the process?
in process so should be like this
1. install script manager
2. load script
3. check internal sd now should be as big as our mmc
4. create a "external_sd" folder in external_sd
does it right?
Normally, in /mnt/sdcard there is a folder named "external_sd" that is your microsd card, you have to create a folder named "external_sd" in it.
It doesnt matter if you create it before or after the script, i did it after and it worked but i think it would have worked in any case
Perfect it worked!!!
Sent from my LG-P760 using xda app-developers app
it really is move data of the application..
but if you take a look on "/data/app/" the installed apps is still there and the "/sdcard/app" is empty
it seems move everything including data of application (OBB files), and default location of application like whatsapp media now is in the "/sdcard/whatsapp"
is that normal or there would be any possible way to move "/data/app" to such as "/sdcard/app" ??
Roker1 said:
Hi, this is a tutorial that explain how to change the internal sd with the external.
It is an idea of danitba87, i decided to create this to shy away from talking in other threads.
I think it solves the main problem of our device that has only 2,3 gb as internal sd.
It works on this script:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd
The only thing to do is create a "external_sd" folder in external_sd
At first, you must have a file managar that works on rooted phones like "Root Explorer" and also "Script Manager - SManager" so you can bring the attached file into your phone, i suggest you to paste it in sys/etc. Now rename your .txt in .sh.
Open Script Manager with root permissions and find the .sh, tap on it, and if is asked how to open it, choos script/executable. In the next windows tap on "su", "boot","save" and finally "run".
If it doesnt give you any error it has worked!
Congratulations
All rights reserved to Danitba87
I did it for a better english, i hope
Click to expand...
Click to collapse
Does this work without rooting your phone?
Sorry for being a noob here...just switched to android and got this phone... :silly:
sunnydsouza said:
Does this work without rooting your phone?
Sorry for being a noob here...just switched to android and got this phone... :silly:
Click to expand...
Click to collapse
nope, you must have access to /system by rooting ur phone
itoit said:
it really is move data of the application..
but if you take a look on "/data/app/" the installed apps is still there and the "/sdcard/app" is empty
it seems move everything including data of application (OBB files), and default location of application like whatsapp media now is in the "/sdcard/whatsapp"
is that normal or there would be any possible way to move "/data/app" to such as "/sdcard/app" ??
Click to expand...
Click to collapse
the script work only for swith internal sd card whit external.
No need move apk in sdcard
Roker1 said:
At first, you must have a file managar that works on rooted phones like "Root Explorer" and also "Script Manager - SManager" so you can bring the attached file into your phone, i suggest you to paste it in sys/etc. Now rename your .txt in .sh.
Open Script Manager with root permissions and find the .sh, tap on it, and if is asked how to open it, choos script/executable. In the next windows tap on "su", "boot","save" and finally "run".
If it doesnt give you any error it has worked!
Congratulations
All rights reserved to Danitab78
I did it for a better english, i hope
Click to expand...
Click to collapse
insted of script manager u could simplify this to make a script in rom toolbox lite via scripter
just put inside the script
Code:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd
\
name it as u wish, example "int2sd" and make it run on boot
sorry for asking this..
if i do this switching the memory, so the external sd will be the internal and the internal will be the external sd.. is it right?
bramprasetyo said:
sorry for asking this..
if i do this switching the memory, so the external sd will be the internal and the internal will be the external sd.. is it right?
Click to expand...
Click to collapse
Yes!
thanks for the script, it's working perfect
Roker1 said:
Yes!
Click to expand...
Click to collapse
thank you for quick reply...
and how to undo this script? just delete and reboot?
bramprasetyo said:
thank you for quick reply...
and how to undo this script? just delete and reboot?
Click to expand...
Click to collapse
yes
danitab78 said:
yes
Click to expand...
Click to collapse
thanks
let me try it now...
I ran the script and then went back into folder with root explorer and it looks like all the files from sd have been copied to sd_external
Sent from my LG-P769 using xda app-developers app
R: How to exchange memories
After following this guide should i See more space here? Cause i've done IT without errors but the space avaible is the Same.
Sent from my LG-P760 using xda app-developers app
it works. thanks

Categories

Resources