URGENT HELP needed - Oneplus 6 lost access to internal storage - OnePlus 6 Questions & Answers

I will try to make it short. While trying to install edxposed, I messed up. It went into startloop. Then I flashed the custom ROM, twrp, base rom, formatted internal storage etc. But now I lost the access to internal storage.
So, current scenario is
1. TWRP can access internal sdcard. It's not even showing any encrypted folders, only 2 folders showing - TWRP & Obb
2. Google play can install apps, but no apps can write anything to internal storage I.e. Camera cannot save Photos, cannot save screenshot, Chrome cannot download anything etc.
3. Settings app showing 0b/0b. Es explorer showing 100% filled. Storage showing 12gb used of 56gb.
4. PC can see my phone storage but cannot paste anything in it.
So it seems to me that somehow my internal storage has become RO or something. So if anyone can help me solve this problem, I will be highly grateful. TIA
UPDATE:
problem not solved yet, but what I found is, the main problem is the root directory for the internal storage has changed somehow. By default, it resides in root/storage/emulated/0, but now it has changed to root/storage/emulated, so the apps cannot access it. Now how can I turn it back to default?

Android_Attitude said:
I will try to make it short. While trying to install edxposed, I messed up. It went into startloop. Then I flashed the custom ROM, twrp, base rom, formatted internal storage etc. But now I lost the access to internal storage.
So, current scenario is
1. TWRP can access internal sdcard. It's not even showing any encrypted folders, only 2 folders showing - TWRP & Obb
2. Google play can install apps, but no apps can write anything to internal storage I.e. Camera cannot save Photos, cannot save screenshot, Chrome cannot download anything etc.
3. Settings app showing 0b/0b. Es explorer showing 100% filled. Storage showing 12gb used of 56gb.
4. PC can see my phone storage but cannot paste anything in it.
So it seems to me that somehow my internal storage has become RO or something. So if anyone can help me solve this problem, I will be highly grateful. TIA
Click to expand...
Click to collapse
It sounds like to me you have corrupted your internal SD card you will have to format SD card instead of normal wipe and then reflash rom via Computer

SAMSUNG_MANIX_64 said:
It sounds like to me you have corrupted your internal SD card you will have to format SD card instead of normal wipe and then reflash rom via Computer
Click to expand...
Click to collapse
I have formatted it already. And what's the difference between flashing a ROM via computer & via USB?

Android_Attitude said:
I have formatted it already. And what's the difference between flashing a ROM via computer & via USB?
Click to expand...
Click to collapse
Wipe vs format. Wipe is just removing files from partition without destroying the partition. Format is rebuilding the partition fresh. You did not format phone because that would fix this problem. Format data partition and this will be fixed.

I also had the same issue so i flashed stock through pc. Now its fine. Only issue is on Twrp data shows encrypted, i think i have to flash dm verity zip to decrypt it

Related

[Q] How do I safely clean the internal sd card?

Hi all,
How do I clean my internal sd card? I recently rerooted. I followed the steps where it is said to delete Dalvic cache 3 times etc etc before flashing the new rom.
I still have old apps/folders on my internal sd card before I rerooted. I backed up my stock rom before I rerooted.
I am now on this rom ([ROM][12-7]TPC v3 2.3.5 | Da_G OC Kernel | IMG Flash | ATT | Rogers |)...... I also backed this rom up and applications.
I have 9.1 GB with 2.2 GB free. I'm running a bit low in my opinion because I still do not have any music, movies, or pictures on my phone. I do however have about 100 apps, 10 of which are HD games. Is the 9.1 GB reasonable?
I do see some old apps on the sd card though. Is there a quick way to delete them all or do I need to go down 1 by 1 and check every crevice of my internal card?
I'm not that concerned about it, since I will eventually get a 32 gig external sd card, but I want my phone as clean and efficient as possible.
Once again,
thanks for everyone's help.
Vman7765 said:
Hi all,
How do I clean my internal sd card? I recently rerooted. I followed the steps where it is said to delete Dalvic cache 3 times etc etc before flashing the new rom.
I still have old apps/folders on my internal sd card before I rerooted. I backed up my stock rom before I rerooted.
I am now on this rom ([ROM][12-7]TPC v3 2.3.5 | Da_G OC Kernel | IMG Flash | ATT | Rogers |)...... I also backed this rom up and applications.
I have 9.1 GB with 2.2 GB free. I'm running a bit low in my opinion because I still do not have any music, movies, or pictures on my phone. I do however have about 100 apps, 10 of which are HD games. Is the 9.1 GB reasonable?
I do see some old apps on the sd card though. Is there a quick way to delete them all or do I need to go down 1 by 1 and check every crevice of my internal card?
I'm not that concerned about it, since I will eventually get a 32 gig external sd card, but I want my phone as clean and efficient as possible.
Once again,
thanks for everyone's help.
Click to expand...
Click to collapse
/data and /cache and /dalvik cache have nothing to do at all with the sdcard, internal or external.
Settings, mounts and storage (can't remember exact wording) unmount and format USB storage
That will wipe everything off the internal SD.
Sent from my SGH-I777
k so once i format the sd card storage, it will clean everything out and then I can just use rom toolbox and restore my latest backup with the apps I actually want on it?
thanks.
Once u format ur internal ur going to lose everything. Make sure to copy ur back up to ur external or a PC. That's if you have ur back up in internal. Do titanium back so you will have ur apps and system data.
Vman7765 said:
k so once i format the sd card storage, it will clean everything out and then I can just use rom toolbox and restore my latest backup with the apps I actually want on it?
thanks.
Click to expand...
Click to collapse
Rocketing on Sky Ics¡
appdroid said:
Once u format ur internal ur going to lose everything. Make sure to copy ur back up to ur external or a PC. That's if you have ur back up in internal. Do titanium back so you will have ur apps and system data.
Rocketing on Sky Ics¡
Click to expand...
Click to collapse
This! Titanium is the way to go.
Once you have your backup safely on a PC, you can also do it by going in to Settings/Privacy/Factory Data Reset, and if you check Format USB Storage it will clear everything off your phone (not sure if you're looking to do that--that would be all your pictures/videos/music--but these files can be large, especially video files)
I backed up my apps and settings, I do not have an external sd card though. When I connected my phone to the computer over wifi, using that aires application (forgot name). I copied the backup folder and pasted it on my computer. It stopped around 20% of the way through because I guess the phone was using some files.
Is there a way to copy to pc from internal sd card? Or should I just go out and buy the external sd card? thanks
I used rom toolbox pro to backup. Some reason I get errors with the lite version that came with the Da_g rom.
So my main goal should be copying that Backup_data folder that was created from the app and reloading that up after I delete the stuff in the internal storage.
Vman7765 said:
I backed up my apps and settings, I do not have an external sd card though. When I connected my phone to the computer over wifi, using that aires application (forgot name). I copied the backup folder and pasted it on my computer. It stopped around 20% of the way through because I guess the phone was using some files.
Is there a way to copy to pc from internal sd card? Or should I just go out and buy the external sd card? thanks
I used rom toolbox pro to backup. Some reason I get errors with the lite version that came with the Da_g rom.
So my main goal should be copying that Backup_data folder that was created from the app and reloading that up after I delete the stuff in the internal storage.
Click to expand...
Click to collapse
Kies is the name of the program (I haven't used it much personally).
I'm not familiar with Rom Toolbox, but assuming that it works the same as Titanium it should be placing your backup on your usb storage, which you can access just by plugging in to pc and opening the drive.
I just wiped my sd card and usb storage and restored everything with the Titanium and cwm folders that I placed on my mac (screen shot attached), and then brought back on to my phone when I was ready.
Yes, when I tried backing up the back up folder rom toolbox mde for me, my computer stopped copying the folder around 20% of the way and gave me an error message (The destination you have specified does not exist, It might be offline network location or an empty CD or DVD drive. Check the location and try again. .comgameloft.android.GAND.GLoftSD3H.apk, type: apk, size 4.13 mb, Date modified: 2/8/2012 11:20 pm.). It gave me the choice to try again, skip, or cancel (I just cancelled the entire thing).
Vman7765 said:
Yes, when I tried backing up the back up folder rom toolbox mde for me, my computer stopped copying the folder around 20% of the way and gave me an error message (The destination you have specified does not exist, It might be offline network location or an empty CD or DVD drive. Check the location and try again. .comgameloft.android.GAND.GLoftSD3H.apk, type: apk, size 4.13 mb, Date modified: 2/8/2012 11:20 pm.). It gave me the choice to try again, skip, or cancel (I just cancelled the entire thing).
Click to expand...
Click to collapse
Have you tried selecting the backup on your phone & then just copying it to a file on your p.c.? Just make a file on your desk top
If you use kies you can "see" the SD card on your phone from your p.c. Once you have an external card it comes in handy since you can see both
Sent from my SGH-I727R using xda premium
Vman7765 said:
Yes, when I tried backing up the back up folder rom toolbox mde for me, my computer stopped copying the folder around 20% of the way and gave me an error message. It gave me the choice to skip (but I was not going to do that).
Click to expand...
Click to collapse
EDIT: Oh, you're saying Kies froze up trying to back it up. I'm saying don't use Kies, just copy the folder to your desktop.
Yea for some reason I can't see the root files on my phone. I googled this android commander program that lets you connect your phone to your pc enabling you to see all the hidden files. That samsung program is more like just syncing contacts type of thing. I was even able to copy my backs to my pc in like 3 mins. Deleting my internal sd card now.

[Q] Galaxy S4 (rooted) - Out of Internal Storage (...but I am not)

OK...I have a rooted Sprint Galaxy S4, and keep getting "Storage Space Running Out" message !
The thing though is, that I should have tons of internal storage left. I have flashed 3 different ROMs, and after a few days I get the message again. I can erase some apps to free up space, and half a day later same problem. I can't even get my apps on the phone, due to space issues and I also can't put them on the external SD (not with a specific APP to do it for me, nor can I move them manually, because the button is simply not there in the Storage or APPs SETTINGS menu).
Every time I flash a new ROM I clear data, dalvic....full factory reset....but end up with the same result!
Could someone please help out with a fix or solution with this very annoying problem.
P.S.: ....yes, I have searched tons on this forum and others, but nothing has worked for me yet!
....ANYONE ????
Hello
Looking at images you included it looks like apps & data takes only 1 GB space . There must be some junk in internal storage (may be old .asec files , thumbnails etc). Attach the screenshot of sd storage also . I should see where the data is stored in your current rom .
4shreyas said:
Hello
Looking at images you included it looks like apps & data takes only 1 GB space . There must be some junk in internal storage (may be old .asec files , thumbnails etc). Attach the screenshot of sd storage also . I should see where the data is stored in your current rom .
Click to expand...
Click to collapse
I flashed old Nandroid of SACS ROM 4.3....so it would be a stock rom screenshot now, and all you would see is that there is 18Gig memory left on the SD card!!!
I had to reflash Nandroid because I traveled and I wasn't getting a signal on my previous rom! I do now...but the problem remains, or actually is worse, but at least my phone works to make calls (no txt or email, because storage space is too low).
In either case, the SD storage has plenty of room, but I don't think that this was ever an issue!....I think it is the phone itself, but maybe there is a fix and I would prefer that over taking it in for many reasons!
Thanks for getting back to me though, let me know.....
Hi
Copy all required data from internal storage to sd card and format internal storage from custom recovery (CWM/mount/format emmc or TWRP/wipe/advanced/emmc) and reboot.
Hope it works !
4shreyas said:
Hi
Copy all required data from internal storage to sd card and format internal storage from custom recovery (CWM/mount/format emmc or TWRP/wipe/advanced/emmc) and reboot.
Hope it works !
Click to expand...
Click to collapse
I will try that tomorrow and will let you know....thx again!
i want you to try stock rom for few days and check
OK...!
I wiped everything again and did factory reset...
copied everything from internal storage to a computer...
formatted data and system (twice)
wiped again, formatted data and system again....
flashed a sprint stock rom
same problem.... I have 860MB of 16GB unused space available!!!!
when I check though, my system data (bare essentials of what is left) is only 348MB....there is 647MB used for apps....the rest is clean!!!
I am still not sure where all the storage went! Could my internal storage be corrupt or broke???
Thanks for the ideas, I will try anything!!!
T-Boner said:
OK...!
I wiped everything again and did factory reset...
copied everything from internal storage to a computer...
formatted data and system (twice)
wiped again, formatted data and system again....
flashed a sprint stock rom
same problem.... I have 860MB of 16GB unused space available!!!!
when I check though, my system data (bare essentials of what is left) is only 348MB....there is 647MB used for apps....the rest is clean!!!
I am still not sure where all the storage went! Could my internal storage be corrupt or broke???
Thanks for the ideas, I will try anything!!!
Click to expand...
Click to collapse
Try flashing your stock rom again.
I told to format internal storage (emmc) and not data and system partitions. Try that
Sent from my iris458Q using XDA Premium 4 mobile app

[Q] Cannot get SD card to work using Blaze 4g with CyanogenMod 11

Hi all,
I recently upgraded my Blaze to CyanogenMod (v11 nightly), now my apps (Camera, Swiftkey, etc.) do not recognize my SD card. I was running stock before this.
In File Manager:
- I can view the external sd card at \storage\sdcard1.
- It appears there is an internal sd card as well at \storage\sdcard0
- There is a folder called \sdcard which appears to link to \storage\sdcard0
- There is a folder called \external_sd which links to \storage\sdcard1
- sdcard0 is empty
I believe this to be a mounting issue, but if it is I cannot figure out the correct mount command in terminal emulator. Thanks for your help in advance.
I know this is nearly a year later, but I ran into this exact same problem while trying to flash an old phone. I was fortunately able to figure out to fix it, and I'm posting this for the sake of anyone else who might have trouble with it as well.
I initially noticed the problem while attempting to download and open files, which kept giving me an error that the files couldn't be located. Using a file manager, I noticed the directories that the OP described above. I believe the internal storage for the Blaze is 4GB, which is partitioned into two parts: one for app data, and the other for user downloads, pictures, etc. I realized that I only saw one of the partitions being displayed on the storage settings screen. Connecting via USB to my computer didn't show any internal storage; I couldn't access any files from the phone besides the ones on my external microSD card.
I booted into my previously-installed ClockworkMod v6.0.4.8 (by holding the volume keys + power, letting go of power after the Samsung splash screen) and went into the 'mounts and storage 'menu, scrolled down, and clicked on the 'mount USB storage' option while connected to my computer. Surprisingly, the internal storage was recognized (specifically the partition containing user data) and I was able to pull all of my files from there that I thought I previously wiped when I went to flash Cyanogenmod 10.2. Somehow, those files were still retained. Now, I'm not exactly sure what happened, but I think all this previous data, which didn't get wiped, prevented the new ROM from mounting this partition (sdcard0), and perhaps led to a path/directory issue when I went to download and open things from it. For some reason, as the OP noted, the sdcard0 storage showed up as empty when I used a file manager app to look inside.
I deleted the files from this mounted storage via my computer, then went back to the 'mounts and storage menu' and formatted the /storage/sdcard0 storage with the 'default' setting to wipe that partition. Then, I wiped user data, cache, and dalvik cache, and let my phone reboot. I did not reflash Cyanogenmod 10.2 after, and I was able to boot into my phone and setup my phone. (I'm not sure if you have to reflash your ROM, but I was able to boot up to a fresh setup without it). I am now able to see both internal storage partitions displayed on my storage setting, use a file manager to see the files in sdcard0, and download and open files.
Hope this helps.

TWRP

Next time I go to flash a new custom rom I'm thinking of wiping internal storage just to really clean things out. Since I use my external SD card for TWRP to store backups etc... There's still the required TWRP directory on the internal storage which remains empty. If I wipe internal storage how will that effect that directory?
melp57 said:
Next time I go to flash a new custom rom I'm thinking of wiping internal storage just to really clean things out. Since I use my external SD card for TWRP to store backups etc... There's still the required TWRP directory on the internal storage which remains empty. If I wipe internal storage how will that effect that directory?
Click to expand...
Click to collapse
I don't know how that will affect the directory but I can tell you for sure it won't affect ROM installation. Every time I flash a new ROM, I always wipe internal storage and I haven't faced any problems​.
It won't really effect it, unless you use themes or changed the stock configuration... those are the only things stored in the twrp directory of internal storage. You will notice the next time you start TWRP it will likely give you the warning screen about an unmodified system partition and ask you to allow changes.

[SOLVED] TWRP can't mount internal storage - the problem is coming back...

I wanted to update my rooted Android Nougat to Oreo and also go from SuperSU to Magisk. During that process I discovered that TWRP recovery couldn't mount my internal storage.
I quickly saw on a lot of sites that it's a well-known issue, and I solved it by converting from ext4 to ext2 and back again. Now my phone is running perfect. All apps are installed, data and settings are restored with Titanium and root with Magisk is working fine. But then I remembered about the issue with TWRP and booted into recovery - just to discover the problem is back again. I can't mount my internal storage. So I can't flash zip files, I can't do a backup etc.
When I search xda or the web in general, I can't figure out why the problem has occured again. Also I can't find out how to fix it without losing all my data. Can anybody answer these two questions? Why is this happening again and how do I permanently fix it? And can it be with all my data on my phone - because I'm not able to do a backup.
Michael B.N. said:
I wanted to update my rooted Android Nougat to Oreo and also go from SuperSU to Magisk. During that process I discovered that TWRP recovery couldn't mount my internal storage.
I quickly saw on a lot of sites that it's a well-known issue, and I solved it by converting from ext4 to ext2 and back again. Now my phone is running perfect. All apps are installed, data and settings are restored with Titanium and root with Magisk is working fine. But then I remembered about the issue with TWRP and booted into recovery - just to discover the problem is back again. I can't mount my internal storage. So I can't flash zip files, I can't do a backup etc.
When I search xda or the web in general, I can't figure out why the problem has occured again. Also I can't find out how to fix it without losing all my data. Can anybody answer these two questions? Why is this happening again and how do I permanently fix it? And can it be with all my data on my phone - because I'm not able to do a backup.
Click to expand...
Click to collapse
The problem occurs when you use a ROM which encrypts the software or the ROM your flashing has an encrypted kernal. The only way out is to flash a ROM which doesn't encrypt. It is a known problem with TWRP and we have to wait for the TWRP team to update TWRP to handle quota allocation.
It seems the problem is solved for me. I flashed the TWRP version from this link: https://forum.xda-developers.com/showpost.php?p=77296102&postcount=1243
First I tried from Odin but it didn't work. Then I installed the TWRP app from Google Play and flashed the other file, rebooted to recovery, and it seems to work. I can mount my internal storage, make a backup etc. So this is the solution for me.
I had also similar problem of internal storage 0mb and i was not be able to mount my data
so when i flash color recovery by nobody
It's gone because it's allready patch by him
I think it's issue of encrypt data so just flash this recovery from nobody post
https://forum.xda-developers.com/galaxy-s7/themes/recovery-twrps-colored-t3859323
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
isgakbrfc said:
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
Click to expand...
Click to collapse
i think you must try with different file mngr, that one have no ability or permission to read system files
noniboyba said:
i think you must try with different file mngr, that one have no ability or permission to read system files
Click to expand...
Click to collapse
I'll re flash later and try a different file manager. Otherwise I'll install treble or re flash stock and start over
isgakbrfc said:
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
Click to expand...
Click to collapse
same problem, have you found solution ? please help me
TWRP sometimes can't mount the storage, the storage is encrypted, but don't worry. You can still flash your files and rewrite system partion. But in order to show the Storage, you have to use a different version of TWRP. Why am I saying this is mentioned following:
I installed the latest version of twrp, It didn't ask for any password patter to decrypt my storage. So , different XDA posts made me understand that , formatting everything, factory reset will decrypt my storage. And trust me, I have done it several time, several times my brother but it didn't decrypt my storage. I couldn't backup my ROM and without backing up my ROM, I didn't take the risk of flashing new ROM. I waited. This twrp couldn't even mount my system partion. So I seeked knowledge from different person. It took a lot of effort.
Then I learned that, I should change this version of TWRP. I changed to an older version and it didn't decrypt my internal storage after formatting, but it mounted my system partion. Since, it couldn't decrypt my internal storage, I couldn't take backup of my rom and save it to internal storage. so I inserted a pendrive in my phone, and saved the backup of my rom there.
Permanent Solution​
Flashing DM Verity Force Encryption Disabler will decrypt your storage instantly. But in my case, it aroused another problem, None of the security measures of my phone worked afterwards. FOD, pin, password, pattern none of them worked. I don't know the reason but I don't suggest it with my little knowledge. but almost every rom flasher use them, so I thing I have to study about them to know how they work.​
second and best option: start trying older version of TWRP, the good one will be the one to ask the password the recovery in the beginning. It will decrypt your internal storage.​
I was brief here, if anyone doesn't understand these things, let me know, I will explain them step by step because I know the pain of being NEWB.

Categories

Resources