[Q] How to swap internal and external sdcard? - Galaxy Tab 3 Q&A, Help & Troubleshooting

Is there any way to swap the tab 3 7.0 internal and external sd directory? (Not like folder mount or anything like that- complete swapping sdcard)
by modifying sdcard fuse tool?

Just A Post
Have to post 10 times before posting in developer threads, using old threads to make random posts.

swap storage
bensonhsu2008 said:
Is there any way to swap the tab 3 7.0 internal and external sd directory? (Not like folder mount or anything like that- complete swapping sdcard)
by modifying sdcard fuse tool?
Click to expand...
Click to collapse
b,
i tried editing mountpoints in init.*.rc files as experiment.
the short of it is backup your daily driver to your normal extSdCard then
install/flash a clean rom pref stock rooted, and insert new extSdCard then
flash your modified boot.img then
reboot and you'll see an error about data/sdcard encryption fail with a recommend for fix/repair.
at this point i stopped for lack of an extra/spare extsdcard to potentially ruin [or not]
but if your feeling adventurous you could try it. if i understand it after that process your new extsdcard
should be sorted.
alternately you could through adb dump your userdata block and dd write it to an extsdcard
then do the modified boot.img [with new card inserted] and see if it catches.
note- for adb shell on gt-p52xx you must #enable_houdini first as most bin-utils are arm.
m

Related

Development Idea

Well here is my idea. Could we possibly partition the FAT32 part of our phones into more then one partition.
Saying like we could have a few FAT32 based partition, A Primary, One for roms/patches, then etc.
That way when we format the primary, it doesn't delete the roms we could flash. So we didn't need to hook up the phone to the computer to copy roms back over.
I know Recover firmware would need to support this. But it's just a thought.
I'm not really an expert at this, but doing a full wipe and installing a new ROM doesn't wipe the contents of your SD Card. Are you saying partition the phone's internal storage? What's wrong with just storing the ROMs on your SD card?
BlueScreenOfTOM said:
I'm not really an expert at this, but doing a full wipe and installing a new ROM doesn't wipe the contents of your SD Card. Are you saying partition the phone's internal storage? What's wrong with just storing the ROMs on your SD card?
Click to expand...
Click to collapse
I meant like partition the SD Card into multiple partitions, So when you erase the SD:Ext and the FAT32, the ROM Partition doesn't go with it.
So example
SD:Ext - Partition 1
FAT32 - Partition 2 (Default SD Storage)
FAT32 - Partition 3 (ROM Storage, Backup Files)
So when you partition the SD Card though the Recovery it will only format Partition 1 and Partition 2, So if you left somewhere wtihout your computer and tweaking your phone, You could use partition 3 and access your ROM files and backups without going though loops for them.
What recovery are you using. I'm still not sure what you are talking about? I have no problems accessing my roms and kernels. You can do it plenty of ways and not do what you are talking about..
Use root explorer. Can transfer from download folder or if you made a certain folder on SD card for them you can copy paste them to the root directory on SD card if you use RA recovery. Clockwork you can go through every folder looking for the zip using clockwork unlike RA recovery which needs it to be in root of SD card. Your making it hard on yourself..
Why would you want to wipe fat32 and partion?
Sent from my PC36100 using XDA App

Dead Internal SD Solution Galaxy S

Fully working Samsung Galaxy S - Using 16GB External Micro SD to run OS and function as External SD!!
Ok so to set the scene I will quickly explain the issue I had with my Samasung Galaxy S.
One day it worked....
Next day it didn't...from then on it would only boot to first screen then continually repeat this step.....
After day two of having no luck at fixing the issue I got an S3...great phone!
BUT DONT GIVE UP JUST YET! It can be fixed!!!
Overall I think I would have spent somewhere in the ballpark of about 40 hours trying to fix the Galaxy S...stubborn? Yes....and my Galaxy S was such a good phone I hated the idea of binning it.
I wont waste your time listing the hundreds of methods I tried or posts I read, but in the end all things pointed to a dead internal SD.
I should be able to run the OS off an external SD... shouldn't I? The answer is Yes!
Many hours were spent on this stage and for about a week I had a working pone with OS running on External SD, but no access to the camera or anything which required an external SD.
I now have a perfectly working phone, using a 16gb External SD to run the OS and remaining space on it recognised as the external SD.
I can't promise this will work for everyone but here is the last of WAY TO MANY methods I used which completely solved this problem for me.
Let me know if this works for you & GOOD LUCK!
Step 1:
Your phone must be rooted!
The best, easiest and only way I was able to do it is with the following guide, big thank you to the person who put it up. As my Internal SD was dead! my external SD was to be my new internal SD...so the standard add to zip method for rooting on external SD... would obviously not work for me! yes I worded that perfectly!
BIG IMPORTANT NOTE IN CAPITAL LETTERS! - Make sure you have your external SD inserted during the below process!
http://forum.xda-developers.com/showthread.php?t=1852546
NOW! You should have your phone booting as it used to back in the good old days! However.....some of you wont...if this is the case please follow Step 1B.
Step 1B:
If the above did not work for you then you need a way to connect your Micro SD to your PC (I did this using a USB adaptor).
1. Download and install EaseUS partition master
2. Insert Micro SD in PC
3. EaseUS partition master
4. Wipe all partitions/data.
5. Create EXT4 partition approx 2gb
6. Create FAT32 partition with remaining space.
7. Remove battery from phone
8. Insert SD, Battery back in.
9. Turn on, you should have your phone booting as it used to back in the good old days!
IF NOT THEN.....Start with Step 1B then do Step1 then if all looking as it should move to step 2. If not...sorry...I have failed you!
Step 2:
You phone should now have booted like the good old days....but if you go into SD/Storage on android OS, you will notice it does not recognise the remaining space on the External SD as an external SD...it must be very confusing for the green robot!
So next steps as follows!
1. Install script manager app and mount r/w app from Google Play (market)
2. Use mount r/w to Mount the system partition in r/w mode.
3. Browse using script manager app as root (change setting in config).
4. Go to /system/etc folder and change file permission for vold.fstab to rwxrwxrwx (This means tick all the 9 boxes on the left not the 3 on the right.....such a technical explanation)
5. Then edit the vold.fstab file as text and change the following
Change:
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
to
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
Change:
s3c-sdhci.0
to
s3c-sdhci.2
Change:
mmc0
to
mmc2
Save the file and reboot the phone!
If all has gone well then your sdcard partition will be mounted and old faithful is ready to ride once again!
I hope this worked for you, if it didn't...gutted and I guess you have moved onto the next post...good hunting!
Please note this solution was created from a pile of posts I trawled through to get a solution. The above vold.fstab solution was taken from the following post. Unfortunately this posts overall solution didn't work for me, but I would not have been able to mount remaining External SD Space as well...you know THE EXTERNAL SD! without his post, which is the best part!
http://forum.xda-developers.com/show....php?t=1193010
Thanks for this, I'm going to try this again. Finally a good explanation of what to do.
I posted a thread yesterday with, I think, the same problem. Could you take a look and see if I have the same problem as you did?
Thread: http://forum.xda-developers.com/showthread.php?t=1905284
EDIT
Does the EXT4 partition has to be the first and the FAT32 the second?
If so, isn't it a problem that windows can't read the FAT32 partition. In case I need to drop files on it? (because it only reads the first)
EDIT
Thanks in advance!
Good Luck!
Pindagus said:
Thanks for this, I'm going to try this again. Finally a good explanation of what to do.
I posted a thread yesterday with, I think, the same problem. Could you take a look and see if I have the same problem as you did?
Thread: http://forum.xda-developers.com/showthread.php?t=1905284
EDIT
Does the EXT4 partition has to be the first and the FAT32 the second?
If so, isn't it a problem that windows can't read the FAT32 partition. In case I need to drop files on it? (because it only reads the first)
EDIT
Thanks in advance!
Click to expand...
Click to collapse
Does the EXT4 partition has to be the first and the FAT32 the second?
do EXT4 first, make both as primary partitions (NOT logical..probably obvious but just spelling it out )
If so, isn't it a problem that windows can't read the FAT32 partition. In case I need to drop files on it? (because it only reads the first)
with the method I used above you shouldnt need to drop any files on, let me know.
Quite similar except I couldnt acces my internal SD at all, let me know how you go!
Same issue ?
Hi,
My friend has Galaxy S, And he has similar issue. For him phone boots till splash screen and then reboots on its own.
He was able to go to recovery mode/wipe data/cache partitions etc. He was also able to go to download mode.
But he didn't try flashing custom ROM or anything instead he gave it to Samsung service center where they told him that his Motherboard has gone for toss and need to replace complete MOBO which would cost $110 (6K INR).
Though i didnt get time to check his cell myself i guess it is because of internal SD card has gone. Because he was telling in recovery page it was showing some mount error (not sure if it was internal or external SD card). If that is the case i can try this method to run OS from external SD card .
I have two questions here.
1] If MOBO was gone (like samsung service guy told) would it still boot at first place ? or even if it boots would it go to recovery or download mode ?
2] Where exactly Recovery image is stored ? internal SD or in some other memory ?
Thanks
Exactly the same issue! MOBO i doubt it!
happy20b said:
Hi,
My friend has Galaxy S, And he has similar issue. For him phone boots till splash screen and then reboots on its own.
He was able to go to recovery mode/wipe data/cache partitions etc. He was also able to go to download mode.
But he didn't try flashing custom ROM or anything instead he gave it to Samsung service center where they told him that his Motherboard has gone for toss and need to replace complete MOBO which would cost $110 (6K INR).
Though i didnt get time to check his cell myself i guess it is because of internal SD card has gone. Because he was telling in recovery page it was showing some mount error (not sure if it was internal or external SD card). If that is the case i can try this method to run OS from external SD card .
I have two questions here.
1] If MOBO was gone (like samsung service guy told) would it still boot at first place ? or even if it boots would it go to recovery or download mode ?
2] Where exactly Recovery image is stored ? internal SD or in some other memory ?
Thanks
Click to expand...
Click to collapse
That is exactly the same situation my phone was in, exactly.
I highly doubt there was any issue with the motherboard, as I understand it the internal SD is hard wired on the MOBO which is probably why they said to replace it as one piece.
1] If MOBO was gone (like samsung service guy told) would it still boot at first place ? or even if it boots would it go to recovery or download mode ?
As above! As i understand it it would not go into either mode if MOBO was fried, doubt you would get any response at all.
2] Where exactly Recovery image is stored ? internal SD or in some other memory ?
Il get back to you on this one
Same issue ?
--- deleted double post ------
Dead Internal SD Solution Galaxy S - HELP
reganstott,
First of all thank you for the hope.
1 - Your step 1, the link provided doesn't work (http://forum.xda-developers.com/show....php?t=1852546)
is there another link available?
In what step I ACTUALLY install the OS on the EXTERNAL SD, just asking to get the whole pic.
Is it possible, in order to just test it, use a 2GB SD card?
thanks
It seems to work, I only have to do a mount switch now.
The only thing is; I had the EXT4 (2GB) as first partition and FAT32 (5GB) as second, but now if I connect to my PC it sees only 2GB storage of FAT32. So I guess I have to switch them?
I'm going to try again and then do the mount switch.
EDIT
Confirmed this is working, running on CyanogenMod 9.1.0 right now.
I thank you really reaally much! I almost gave up, but luckily I saw your post in time.
Thanks!
help please
Hello,
I guess I have the same problem and wanted to know if you have to CORRECT links to the files
needed to do this.
thanks
p.s.
maybe a short EXTRA explanation on how you did it may help.
DannyBrazil said:
Hello,
I guess I have the same problem and wanted to know if you have to CORRECT links to the files
needed to do this.
thanks
p.s.
maybe a short EXTRA explanation on how you did it may help.
Click to expand...
Click to collapse
Just follow the steps, in case it is still unclear here exactly what I did;
Needed
microSDcard
Step 1
1. Wipe your external SD card and create 2 partitions; first one FAT32, second one EXT4 (about 2GB). Both has to be primary (not local)
I did this with Minitool Partition Wizard
2. Insert the SD card into your phone and install firmware from point 2: http://forum.xda-developers.com/showthread.php?t=1852546
3. Install CF-Root link is also here: http://forum.xda-developers.com/showthread.php?t=1852546
4. Check if phone boots right (this goes slower than normal, so just wait)
5. If phone works right do Step 2 from first post
Step 2
My phone happened to have no Play Store after the root. If so, follow this step 2
1. Install this zip: will upload this file in a minute -> I can't post outside links yet -.-
This will to the mount swap (for firmware above)
OR
2. Install a root explorer APK through ADB and edit vold.fstab like Step 2 in first post
Now your phone has to be working. If not, check the steps and try again.
Otherwise your problem is others than ours.
p.s.
If you do flash another ROM don't forget to swap mounts! (edit /system/etc/vold.fstab in zip file from ROM)
Currently on Slimbean 2.5
Thank you
Hello,
First I want to thank you for the effort and time. I believe that my SGS has a very similar problem.
I try to flash it with many ROMS, uninstall the apps, but after reboot they always come back and I get TONS os FORCE CLOSES.
Can't Install new apps, so I guess the internal SD is the problem.
The thing is that my SGS is a Brazilian model I9000b (with TV) just wanted to make sure if it changes anything from the
instructions you gave me.
(I don't need a working TV, so I don't care for another firmware)
thanks
---------- Post added at 09:49 AM ---------- Previous post was at 09:31 AM ----------
Just a question:
1 - I created 2 partitions on the EXTERNAL SD
2 - inserted the EXTERNAL SD into phone.
3 - on ODIN, how he knows to install the new firmware ON THE EXTERNAL SD rather that on the INTERNAL SD??
---------- Post added at 10:15 AM ---------- Previous post was at 09:49 AM ----------
when I try to apply the new ZIP from sd it doesn't recofnize the SD
actually it never did.
it is showing me the INTERNAL SD with all the folder of the apps I had, which I can't delete anymore.
3 - on ODIN, how he knows to install the new firmware ON THE EXTERNAL SD rather that on the INTERNAL SD??
I don't know how it works, but it does work.
when I try to apply the new ZIP from sd it doesn't recofnize the SD
Which ZIP do you mean? You only have to flash firmware and root through ODIN.
Great
Pindagus said:
It seems to work, I only have to do a mount switch now.
The only thing is; I had the EXT4 (2GB) as first partition and FAT32 (5GB) as second, but now if I connect to my PC it sees only 2GB storage of FAT32. So I guess I have to switch them?
I'm going to try again and then do the mount switch.
EDIT
Confirmed this is working, running on CyanogenMod 9.1.0 right now.
I thank you really reaally much! I almost gave up, but luckily I saw your post in time.
Thanks!
Click to expand...
Click to collapse
Not a problem, glad it worked for you too. Not sure why the step 1 link isn't working anymore. Anyone else reading this.... I will post soon with the method for step one rooting exercise. (to put a up a brief its just using the odin way of rooting to avoid the issue of not being able to use external sd add zip method)
Info
Hey there,
2 important questions:
1 - My SGS is the Brazilian model I9000B, does it make any difference?
2 - Can I use a 2GB EXTERNAL SD, or it MUST be more than this?
3 - Do I need to have any knowledge in LINUX?
thanks again.,
I have managed to get it all done, modded .fstab file before applying new rom but after applying the new rom and booting in, I get encryption unsuccessful. (CM9.1.0)
Is this unfortunately the end of what can be done?
Nope..
KiDCady said:
I have managed to get it all done, modded .fstab file before applying new rom but after applying the new rom and booting in, I get encryption unsuccessful. (CM9.1.0)
Is this unfortunately the end of what can be done?
Click to expand...
Click to collapse
If you use this method and then do a new rom...u have to do the whole process again...each time you put a new rom on you will need to change .fstab etc..
reganstott said:
If you use this method and then do a new rom...u have to do the whole process again...each time you put a new rom on you will need to change .fstab etc..
Click to expand...
Click to collapse
Thanks for getting back to me. I modded the rom to have the fstab use the correct settings but I still get the issue. I've tried with Darky and with CM.
Seems I will need to stay with jw4 and the app crashes until I get a new phone at the end of the year.
Pindagus said:
3 - on ODIN, how he knows to install the new firmware ON THE EXTERNAL SD rather that on the INTERNAL SD??
I don't know how it works, but it does work.
when I try to apply the new ZIP from sd it doesn't recofnize the SD
Which ZIP do you mean? You only have to flash firmware and root through ODIN.
Click to expand...
Click to collapse
Hello,
Does my phone have a dead Internal Storage ?
after i install any (stock) rom by odin , it shows up in recovery 3e:
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:Can't mount /sdcard
your storage not prepared yet, please UI menu for format and reboot actions
E:format_volume: rfs format failed on /dev/block/mmcblk0pk2
and i try to flash new rom in External SDcard following http://forum.xda-developers.com/showthread.php?t=1852546,
odin don't know what i want , it puts new rom in internal sd which was broken so above error display.
I have formated my external sd by MiniTool Partition Wizard Home Edition with 2gb ext4 and 5.592 gb fat32.
but same errors.
What should i do to flash rom in external sd.
sorry about my English , i'm not native speaker.
reganstott said:
If you use this method and then do a new rom...u have to do the whole process again...each time you put a new rom on you will need to change .fstab etc..
Click to expand...
Click to collapse
Do you mean that after the new rom is applied and I get encryption unsuccessful, i need to access the root of the phone somehow (presumably android commander or something similar) and change the fstab that way while it is powered on and stuck on the error message?
Or do I need to modify the zip file I want to apply before I apply it and then deploy it? If so, then I have already done this with no success.
Also, is there a way to ensure that messages and contacts don't get lost everytime the phone loses power?
vietanhnc said:
Hello,
Does my phone have a dead Internal Storage ?
after i install any (stock) rom by odin , it shows up in recovery 3e:
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:Can't mount /sdcard
your storage not prepared yet, please UI menu for format and reboot actions
E:format_volume: rfs format failed on /dev/block/mmcblk0pk2
and i try to flash new rom in External SDcard following http://forum.xda-developers.com/showthread.php?t=1852546,
odin don't know what i want , it puts new rom in internal sd which was broken so above error display.
I have formated my external sd by MiniTool Partition Wizard Home Edition with 2gb ext4 and 5.592 gb fat32.
but same errors.
What should i do to flash rom in external sd.
sorry about my English , i'm not native speaker.
Click to expand...
Click to collapse
Yes, means your internal storage is dead. My advice - if you can get it replaced thru warranty do that, otherwise buy one on Ebay with broken screen (or/and any other parts) but with working motherboard and swap it. Last option - sell your phone for parts and get a new one...

[SCRIPT] SDCARD Swap for CM 10.1

Hello all,
Note: This is safe and will not harm your data.
What this script does is change all the mount points for sdcard storage so that everything maps to your physical sdcard, and not the internal phone memory. The script will survive ROM flashes/updates provided you do not erase your entire /data partition. You can choose to manually copy the script or use the clockwork recovery installation. To revert, simply delete the script from /data/local. Internal sdcard storage is located at /emmc. External sdcard storage is located at /sdcard.
Instructions for manual copy:
Copy the script to /data/local
Change script permissions to 755
Change script owner/group to root/root (or 0/0)
Reboot
Instructions for zip:
Reboot into recovery
Choose the zip and install
Reboot
Will this work if you are running stock? I want this because I want everything in one place...on my 32gb Sdcard.
Sounds great, I'm just a little nervous to try I it out.
If you want to revert back to the previous setup, do you just erase the script?
Sent from my SAMSUNG-SGH-I747
There's no way to make an script to show Storage as on Jelly Bean 4.1 that on Solid Explorer or any file mananger you only see SD card and external sd card
So an script that delete the emulated and legacy folders. just asking..
Gordietm said:
Sounds great, I'm just a little nervous to try I it out.
If you want to revert back to the previous setup, do you just erase the script?
Sent from my SAMSUNG-SGH-I747
Click to expand...
Click to collapse
It is safe, and yes you can just erase it. Updated the OP.
navenedrob said:
It is safe, and yes you can just erase it. Updated the OP.
Click to expand...
Click to collapse
Would this work on CM10.1 on the i9000?
sgt 2 7.0
navenedrob said:
Hello all,
Note: This is safe and will not harm your data.
What this script does is change all the mount points for sdcard storage so that everything maps to your physical sdcard, and not the internal phone memory. The script will survive ROM flashes/updates provided you do not erase your entire /data partition. You can choose to manually copy the script or use the clockwork recovery installation. To revert, simply delete the script from /data/local. Internal sdcard storage is located at /emmc. External sdcard storage is located at /sdcard.
Instructions for manual copy:
Copy the script to /data/local
Change script permissions to 755
Change script owner/group to root/root (or 0/0)
Reboot
Instructions for zip:
Reboot into recovery
Choose the zip and install
Reboot
Click to expand...
Click to collapse
Would this method work with my p3110 too? I upgraded to cm 10.1 and gl 2 SD doesn't work anymore
This doesn't seem to work completely; it doesn't make the proper mount points to /storage/emulated/0 This is the main location for Android 4.2
I could be doing it incorrectly though. Thanks!
This does not work on the latest nightly. With 10.0 or 10.1. I get an error flashing from TWRP, too.

sd card storage doubled...no space left!

Well, almost no space left. After flashing a rom, using cwm, I found that my storage space is left to only 1 gb when it used to have 10 gb before. Searched xda for solutions but haven't found any ( I am a noob ). Any ways to fix this? Tried rebooting into recovery and wiping partition cache but no change. Also notice that there is now the sd card and a emulator folder. Can't tell if my contents are now in both and that is why space has reduced and if so, can I delete one of the folders? Or, if it is just a "shortcut" reading the same info...please assist. Thanks!
rehuxley said:
Well, almost no space left. After flashing a rom, using cwm, I found that my storage space is left to only 1 gb when it used to have 10 gb before. Searched xda for solutions but haven't found any ( I am a noob ). Any ways to fix this? Tried rebooting into recovery and wiping partition cache but no change. Also notice that there is now the sd card and a emulator folder. Can't tell if my contents are now in both and that is why space has reduced and if so, can I delete one of the folders? Or, if it is just a "shortcut" reading the same info...please assist. Thanks!
Click to expand...
Click to collapse
WRONG SECTION... You should post this in Q&A or related ROMs' thread.. For your problem i suggest you flash different ROM or go back to stock.
sdcard and emulator/0 are hard links. You cannot delete them. They are not duplicated files. Its the same files. If u delete files in one then its gone forever.
rehuxley said:
Well, almost no space left. After flashing a rom, using cwm, I found that my storage space is left to only 1 gb when it used to have 10 gb before. Searched xda for solutions but haven't found any ( I am a noob ). Any ways to fix this? Tried rebooting into recovery and wiping partition cache but no change. Also notice that there is now the sd card and a emulator folder. Can't tell if my contents are now in both and that is why space has reduced and if so, can I delete one of the folders? Or, if it is just a "shortcut" reading the same info...please assist. Thanks!
Click to expand...
Click to collapse
If you flashed the ROM coming from stock then your files will be duplicate, hence the lack of space, the stock ROM has all your files on the internal SD card, if you flash CM or any other ROM after android 4.2 due to the implementation of the multiuser feature, now your files are located within a folder named /0 and all those files are duplicated now, to solve your problem this is what I do, reboot to recovery as recovery can see all the files and connect your phone to the computer, move EVERYTHING from the internal SD card below the folder /0 to the folder /0, make sure that folder is empty if you just want to keep all your previous data. reboot when done and now check your internal sd space it should put a smile on your face.
Erik
request sent to have topic moved to Q&A.
StarkV5 said:
WRONG SECTION... You should post this in Q&A or related ROMs' thread.. For your problem i suggest you flash different ROM or go back to stock.
sdcard and emulator/0 are hard links. You cannot delete them. They are not duplicated files. Its the same files. If u delete files in one then its gone forever.
Click to expand...
Click to collapse
apologies for wrong section...
Could you post some help on how to "reboot to recovery and then move everything..." I know how to boot into recovery (using cwm) and I connected to computer but nothing shows up on computer to move anything.
ricco333 said:
If you flashed the ROM coming from stock then your files will be duplicate, hence the lack of space, the stock ROM has all your files on the internal SD card, if you flash CM or any other ROM after android 4.2 due to the implementation of the multiuser feature, now your files are located within a folder named /0 and all those files are duplicated now, to solve your problem this is what I do, reboot to recovery as recovery can see all the files and connect your phone to the computer, move EVERYTHING from the internal SD card below the folder /0 to the folder /0, make sure that folder is empty if you just want to keep all your previous data. reboot when done and now check your internal sd space it should put a smile on your face.
Erik
request sent to have topic moved to Q&A.
Click to expand...
Click to collapse

Can't find internal storage in TWRP once external SD card is merged with internal

I used the Marshmallow feature to merge the external SD card with the internal memory.
I decided to flash SuperSU but when I rebooted into TWRP I could only see the root directory and I'm not sure how to get to the internal storage. Looking at it in Solid Explorer it appears that the internal storage should be at:
/storage/emulated/0
but the storage folder doesn't seem to be in the root directory when I look at it in TWRP.
Any ideas?
Internal storage is mounted under /DATA and /SDCARD in TWRP.
ashyx said:
Internal storage is mounted under /DATA and /SDCARD in TWRP.
Click to expand...
Click to collapse
Tested this on Marshmallow with the external sdcard mounted as internal storage, but it isn't mounted there.
Same here.
How to mount Internal storage or SDCard formatted as Internal storage in TWRP ?
it may have something to do with the new way of handling sd cards in marshmallow
(I know this thread is old but have seen the question asked many times but not solved).
Have been using sideload for the last month - thought there must be an easier way. There is!!
Access /data via a file manager (as root) and copy the zip to /data . You can then access it via recovery.
ihartley said:
(I know this thread is old but have seen the question asked many times but not solved).
Have been using sideload for the last month - thought there must be an easier way. There is!!
Access /data via a file manager (as root) and copy the zip to /data . You can then access it via recovery.
Click to expand...
Click to collapse
Don't mean to be a jackass... But, what zip file should I move to /data?
---------- Post added at 03:32 PM ---------- Previous post was at 03:22 PM ----------
Wait, you mean whatever I wanna flash?
Yes, the CM rom zip, supersu zip or whatever it is you want to flash. Just remember to delete it after you've flashed it (or before you copy the next update there) so you don't fill up that partition.
Hey. If there is someone who can reply to this thread?
It seems there isn't any workaround yet to solve this problem
moving to /data works! thanks!
Wondering if TWRP will solve this file reading problem in the future. Also are there other folders that can be read in TWRP besides /data? Just wondering. Thanks.
hi guys,
i figured out this problem
1. reboot to your recovery (twrp)
2. click mount
3. enable mtp and click on usb (which is at the down left corner)
4. connect your device to your pc with a usb cable and load the files which you wanna flash .
ahmed rashid said:
hi guys,
i figured out this problem
1. reboot to your recovery (twrp)
2. click mount
3. enable mtp and click on usb (which is at the down left corner)
4. connect your device to your pc with a usb cable and load the files which you wanna flash .
Click to expand...
Click to collapse
that worked! thanks! after mounting the system and enabling MTP my computer could see both the internal storage and Micro SD as separate entities. I just put the zip file in the TWRP folder on my computer and I navigated into external_sd in TWRP on my phone to see the zip.
rytsit said:
that worked! thanks! after mounting the system and enabling MTP my computer could see both the internal storage and Micro SD as separate entities. I just put the zip file in the TWRP folder on my computer and I navigated into external_sd in TWRP on my phone to see the zip.
Click to expand...
Click to collapse
None of these solutions worked for me, I formatted sd as internal and cannot access it in recovery, and get error message using computer that file could not be copied.
padwas said:
None of these solutions worked for me, I formatted sd as internal and cannot access it in recovery, and get error message using computer that file could not be copied.
Click to expand...
Click to collapse
What directory are you looking at in TWRP?
ashyx said:
What directory are you looking at in TWRP?
Click to expand...
Click to collapse
Turns out in recovery my phone was ONLY able to access internal storage and not the sd card which was formatted as internal storage.
To fix this I simply re formatted the sd card as external, unfortunately losing the data on the sd card.
padwas said:
Turns out in recovery my phone was ONLY able to access internal storage and not the sd card which was formatted as internal storage.
To fix this I simply re formatted the sd card as external, unfortunately losing the data on the sd card.
Click to expand...
Click to collapse
What you described is normal.
When you activate adoptable storage the internal and external storage become combined. There is no separate external sd card as it's all treated as internal.
In recovery internal would have also been external storage.
ihartley said:
Yes, the CM rom zip, supersu zip or whatever it is you want to flash.
Click to expand...
Click to collapse
Ummm, if I had root there would be no need to flash supersu. And without root, I can't flash SuperSU. Wonderful.
@ahmed rashid, thanks for pointing out that the device can be mounted via MTP when in recovery! That saved the day.
If u have rooted device & Su then the path of internal storage in recovery must have, Select data/media/get into internal storage files & folder
I'm using OS 5.0.2 with twrp 3.0.2, this method working fine for me check it & thanks me later

Categories

Resources