Adoptable Storage went wrong, issues trying to revert - Android Q&A, Help & Troubleshooting

Greetings and Salutations,
I have a Samsung Galaxy J7 running the stock ROM and bootloader, Android 6.0.1, Kernel 3.10.49-9058927, with 16GB internal storage, and a 128GB U3 microSD card (not 100% sure of SD card speed, its above class 10), the phone is the 2016 version (subtle changes from the 2015 apparently) and has not yet been rooted.
I tried to enable adoptable storage to get a couple of apps to run better, but I want to revert back and seek a different solution, namely rooting and using Link2SD.
I tried the standard method of adoptable storage, and the option was not present in the storage screen on my phone. I tried using adb, and got timeout messages on the sm partition disk:179,64 private command. (Enabled USB debugging, accepted connections, installed samsung drivers, adb server daemon and shell all started successfully). Eventually it showed the sd card as corrupt. I popped it out of the phone, and deleted the partition on my computer, leaving raw, unformatted space on the card. I reinstalled the sd card in the phone, and the format as internal option was now present. I hit that, let it run and tried to migrate data afterward. Migrating always failed between 30 and 45%, and it showed me at 15.92GB or more out of 16GB used. I decided to revert back. I reformatted the sd card as portable in the phone, and it corrupted again. I did the same process, but elected to format as fat32 on my computer. Reinserting the sd card, it asked to format, so I did, as portable. The sd card appears to be back to normal, but I'm still at almost 16GB used on the phone. I tried to delete some music files that I have on the SD card as well, and they won't delete from the internal memory. It always says "could not delete" or "Delete operation failed". I have used the built in file manager, ES file explorer, and I believe I tried on my computer last night (it was getting late, but I remember at least trying). All fail to delete the files. I'm down to very few apps, none can be moved to the SD card, and I can't move much data otherwise. I harbor a suspicion that some hidden files are present on the internal memory, but I could be paranoid. I'm hoping to avoid a factory reset, but I fear that's the only option. I have a backup of the sd card, but not the phone's internals beyond what google saves in the cloud. I'm open to suggestions, and thanks in advance.
~Nick

Related

SD Card unexpectingly stopped working.

Was using my wifi tether while phone was plugged in and when I checked my phone, I seen the white sd card with the exclimation point and when I pulled down my notification bar, it said "Removed SD Card, Insert a new one." I put it in another phone, said same thing. I put it in my laptop, and Windows didn't even recognize it in any way. When I put it back in my phone, it said "Damaged SD Card, Reformat needed" or whatever. When I tried to reformat it, it said it couldn't be reformatted. When I rebooted into 4ext to reformat it, it kept giving me errors that it couldn't be reformatted.
I'm running Dastin's WILD FOR THE NIGHT 2/15 4.2.2 rom. My SD card is a Lexar High-Speed Class 10 32GB.
All I'm trying to do is recover everything that is/was on it. I have a feeling that that isn't possible. I had 4GBs of music, about 10GBs of downloads, custom roms, etc.
If anyone knows how to recover my files or format the sd card without errors please tell me. Thank you.
I had the exact same problem once. no card reader was recognizing it. what i did was go to recovery and format the card from there. I remember i had to choose 4ext partition option or something like that to get it to format
Whenever I go into 4ext, it says sd card can't be mounted. The only way I got it to do anything was I used a friends desktop computer and it recognized it in My Computer, yet when I click Open, it says it's not accessible. I right clicked on it, did the full format, and at the end it said it couldn't be formatted. I went to properties and the disk is blue and it says 0kbs in all sections. I tried data recovery software, partition wizards, etc and no go. Can I send it to Lexar and have them do something about it?
Sent from my WILD FOR THE NIGHT'd Fr3vo that makes iPhags Jellybean.
Go into recovery and then select make sd-ext4 partition option. It should format the card. then afterwards you can remove the ext partition by reformatting
What if the sd card isn't recognized by any computer? And I have data recovery software that "claims" it can restore your data even after a format. Is that even possible?
Sent from my WILD FOR THE NIGHT'd Fr3vo that makes iPhags Jellybean.
I was once able to restore around 90 percent of my images on a corrupted card but i have never seen a card restore all the data on a card. It's all your luck
I had app backups, game data, videos, and about 4gbs of music. Will it restore them or images only?
Sent from my WILD FOR THE NIGHT'd Fr3vo that makes iPhags Jellybean.
Re:
Due to corruption your memory card stopped working and need to repair corruption issue, go for Kernel for windows data recovery software for the recovery of your data from the corrupted sd memory card.
Well i put the sd card in an action replay sd card adapter (the one that you take the bottom off and it turns into a usb drive) and I was able to bring up everything that was on it. I backed it up and formatted it with win7 partition wizard or something, and I put it in a regular sd adapter and I got nothing. For some reason it only works with the AR USB adapter. How can I get the sd card to work in my phone now? I'm thinking I can just buy another 32GB (or 64) since I was able to get everything off of it, I'm just trying to avoid that so I can try and save this one still.
Sent from my WILD FOR THE NIGHT'd Fr3vo that makes iPhags Jellybean.

NEED HELP - data on SD card suddenly lost

I've seen other similiar thread about data on SD card suddenly loss in this forum. but apparently nothing that have similliar problems with mine. I have LG L70-D325 running stock KitKat 4.4.2 ROM with 16 GB SD card installed from V-Gen. before all the data is missing, I was accessing my SD card via USB cable to my PC. I was copying my pictures from Internal Storage to my External SD Card. suddenly, a dialog box pop up on my PC says that "system cannot bla bla bla" so I press cancel right away. after that, I check my data on my SD card via PC and it's still available. then I remove my device from PC by pull out the usb cable (I totally forgot to change the PC Connection from Media Exchange into Charge Only before pulling it out). when I open my gallery, there are no files in my SD card, so I check it via Root Explorer. what I found is all the data is gone, just a view folder from installed apps on my internal storage. before I lose my data, I was uninstalling an apps called Folder Mount. there are a picture folder that still mounted from Internal storage into External storage. the differences between my problems with other thread is that I still can access my SD card without a problem. I shutdown my phone and insert my SD card via card reader and my PC can access my SD card like usual, but all my data on it still missing. I've tried using GetDataBack for FAT for about 6 hours and still can't find my missing data. is there anyway to recover all my missing data since all important files is in there including my assignment paperwork. buying or replacing with a new one for me is unacceptable since all I need is the data on it.
I've had luck with this tool before:
http://download.cnet.com/MiniTool-Power-Data-Recovery-Free-Edition/3000-2094_4-10561431.html
I used the paid version and recovered 300 GBs from a 3 TB hard drive (twice - long story...). But, saved my behind. Hope it can help you...
If you can connect it to your PC, Disk Drill can scan it. Try any free data recovery tool
I thought I had lost a whole day worth of footage from a shoot I was at on 9-11-15. I had a drive go bad today that I didn't backup like I should have done and spent all day looking and searching for any kind of backup and recovery software. I accidentally found free tools: Recuva and Disk Drill on the web and figured, hey it's free...why not try them. Well, 20 minutes and 52 gigs later, I'm back in business.

LG Mobile Support Tool won't resotre my system

I wanted to install an app called "Root External 2 Internal SD" to see if I can extend internal space with some space from SD Card. But It moves all SD Card files in internal storage, and it keeps doing that for everything that goes in SD Card. I tried to hard reset my phone, but it still do the same thing as before. So I installed LG Mobile Support Tool to restore the stock system. After that long waiting time, when my phone starts, nothing happened. It was like I just restarted. My settings was the same and files and apps too. I tried that without SD Card too, but same result. Also from that point when I installed that app, scanning media storage takes too long, like 5 minutes, even without SD cars inserted.
I have Windows 7 x64.
Any ideas to restore my original system?
EDIT: I found LG Moblie Support Tool logs. There is the log: pastebin.com/dffcgNeE
P.S.: Sorry for my English.

Corrupted internal memory

So a while ago I noticed that when I do a factory reset on my phone, the apps that I HAVE INSTALLED remain installed. Even if I delete them I don't have access to the rest of the memory, I have about 2,4GB free of 4GB. (Note: The phone has and 8GB internal storage, and before I encountered this problem I had access to the 4GB)
Now for the other part. When I connect my phone to my PC, it should show 2 drives well mine doesn't show the second one anymore (which is the internal storage) just the SD one. If I remove the SD and plug my phone back into my PC, it shows the Partition of the internal memory, called G:, but I get this error message, G:/ Is not accessible. Incorrect function. .
I've tried to format it but it doesn't work. Any other ideas would be appreciated.

[Q] How to Format SD Card as Internal Storage?

I'm running low on internal storage, and also want to enable full-device encryption. The obvious solution is to format the SD Card as "Internal Storage" which in theory lets you move some apps and their data to a partition on the SD Card, while also allowing that partition to be encrypted.
That all sounds great, so I read a half-dozen blogs on how to do this. They all start with "insert the SD Card and choose Set Up." But even if I reformat the card or wipe the partition table completely, the only option I get is "format as portable storage" and never see any set up screen or option to pick internal storage. Am I missing something? Do I need to format the sd card on my desktop as a specific partition type? Do I need to run some adb incantation to enable the option? Is it just not an option in OOS 3.1.4 and I need to install a different ROM?
Eventually answered my own question. Basically, OnePlus disabled the feature, probably because the system is extremely fragile and confusing to users. However, it is possible to enable the feature via adb, using
Code:
adb shell sm set-force-adoptable true
Even then, while the option appeared, phone phone itself had all sorts of problems trying to format the SD Card:
- I could wipe the SD Card, insert it into the phone, format it (as external storage), and then be unable to format it a second time. Buh? Apparently android's external sdcard formatter is capable of screwing up the GPT/MBR distinction in such a way that it can't cope with formatting a card that it formatted itself?
- If I wiped the SD Card, inserted it into the phone and selected to format it as internal storage, it would format to 20%, stop, wait 180 seconds, and then time out, leaving me with a corrupted SD Card that required re-wiping. This is probably related to the first problem - the timeout is because the 'format internal' happens in a second thread, which ran into a similar error about GPT/MBR problems and then the parent thread didn't capture the error or do anything useful with it.
Finally, I tried doing the whole thing in adb, following instructions here: http://blog.sam.liddicott.com/2016/02/android-6-semi-adopted-storage.html
But even then, I ran into the timeout problem when trying to format mixed (50%), until I popped the card out, nuked all existing partitions, inserted the card and immediately started the adb process. Basically, if android's formatted ever touches the SD Card, it is screwed up until it is wiped again.
In the end, this process worked:
- Pop the card out of the phone, put it into a card reader, use MiniTool Partition Wizard Free to delete all partitions, wipe the partition table and set the card to GPT. Don't convert from MBR to GPT, wipe it until you get an option to put a completely fresh GPT table on.
- Pop the card into the phone. Do not touch any of the phone's menus - they are there to temp you into screwing the card up again.
- Connect the phone to computer via usb.
- Run:
Code:
adb shell sm list-disks adoptable
to get the sd card name. It'll be something like disk:179:128 but it will change every time you wipe it.
- Once you have the disk name, run
Code:
adb shell sm partition $DISKNAME mixed 50
but substitute your own disk name and what percentage of the sd card you want to use for external. If you don't want to use any, I think you do something like
Code:
adb shell sm partition $DISKNAME private
but I'm not sure.
So yeah, this is a complete mess and I understand why OnePlus didn't want to subject their users to it.
I recommend don't use adoptable storage, it's not worthed. Better use foldermount apps to move apps data from internal to ext. storage.
I want to do full-device encryption, including (most) of the apps data. Is there a better way to accomplish this without accepting the 16GB internal storage limit?
I wouldn't recommend ever using adoptable storage on the OPX. OnePlus used an incredibly slow microSD reader and it shows.

Categories

Resources