"App requires external storage" - OnePlus 6T Questions & Answers

I've got a t mobile 6T and I just installed twrp/unlocked bootloader and installed magisk. doing so wiped the phone, which is fine. My problem is now my phone says "app requires external storage" when I try to install or update any apps, including default google apps. I can't install any web browsers, I can't use the browser it came with because it's too outdated, I can't even take screenshots. yet the phone is completely empty and just wiped, it has 113GB of free space.
I'm on the normal stock rom, why am I having these issues? I hear that uninstalling some system apps can help but I can't download a root app to uninstall said system apps because my phone claims it is full so the browser refuses to download anything and I can't download anything through the play store and I can't move anything from my PC to my phone to fix this. I feel stuck, please help

I'd follow the instructions very carefully to go back to stock and then once the phone was stable, follow the instructions again for unlocking, installing twrp, etc.

the same....
Hi, have the same - after installing ROM on Xiaomi Mi A2 (Paranoid Android)
Did you get anywhere with this?

Your storage is likely encrypted because you screwed something up somewhere. Boot into twrp and factory reset. Should clear the problem, you will loose any data you may have though.

bladestonez said:
Your storage is likely encrypted because you screwed something up somewhere. Boot into twrp and factory reset. Should clear the problem, you will loose any data you may have though.
Click to expand...
Click to collapse
managed to revert back to bootable device with the Xiaomi default ROM - things are working now again.
Will read more into the topic - indeed possibly encrypted.
Thank you for your reply!

I'm using OnePlus 5 same problem I have already format reset wipe cache and everything but the problem is still there :crying:

100% done
ay453sfad said:
I've got a t mobile 6T and I just installed twrp/unlocked bootloader and installed magisk. doing so wiped the phone, which is fine. My problem is now my phone says "app requires external storage" when I try to install or update any apps, including default google apps. I can't install any web browsers, I can't use the browser it came with because it's too outdated, I can't even take screenshots. yet the phone is completely empty and just wiped, it has 113GB of free space.
I'm on the normal stock rom, why am I having these issues? I hear that uninstalling some system apps can help but I can't download a root app to uninstall said system apps because my phone claims it is full so the browser refuses to download anything and I can't download anything through the play store and I can't move anything from my PC to my phone to fix this. I feel stuck, please help
Click to expand...
Click to collapse
install terminal emulator from play store
open type su
will ask to grant root , grant it
then type this command
restorecon -FR /data/media/0
and done. remember space between restorecon and -FR

Is this brand-specific, or will the restorecon command work on a moto g7 with exactly this issue?

saifee87 said:
install terminal emulator from play store
open type su
will ask to grant root , grant it
then type this command
restorecon -FR /data/media/0
and done. remember space between restorecon and -FR
Click to expand...
Click to collapse
Your solution fixed my Galaxy Note 5 on Lanc-city's Project L rom. I appreciate your taking the time, and admire your expertise. Thank you

saifee87 said:
install terminal emulator from play store
open type su
will ask to grant root , grant it
then type this command
restorecon -FR /data/media/0
and done. remember space between restorecon and -FR
Click to expand...
Click to collapse
when i type 'su' it comes up as inaccessible or not found. any help?

saifee87 said:
install terminal emulator from play store
open type su
will ask to grant root , grant it
then type this command
restorecon -FR /data/media/0
and done. remember space between restorecon and -FR
Click to expand...
Click to collapse
Tested on OnePlus 6T, the issue is now gone.
+1 Thanks!

titanwold said:
when i type 'su' it comes up as inaccessible or not found. any help?
Click to expand...
Click to collapse
Try connecting your phone to a pc with adb installed.
When your are connected to the pc, first type "adb root" and press "Enter",
then type "adb shell restorecon -FR /data/media/0"

Thank you thank you thank you _/\_ Your steps saved me a ton on effort including formatting and all that shebang.

saifee87 said:
100% done
install terminal emulator from play store
open type su
will ask to grant root , grant it
then type this command
restorecon -FR /data/media/0
and done. remember space between restorecon and -FR
Click to expand...
Click to collapse
I don't know what that is but it worked! -dont forget the spaces

100% WORKİNG hi ı had same problems but ı fixed it just go to twrp and and check install you gonna see something encryptioned and just go to wipe then press advanced wipe only select the internal storage and swipe right then reboot and thats it

mr_bricker said:
Try connecting your phone to a pc with adb installed.
When your are connected to the pc, first type "adb root" and press "Enter",
then type "adb shell restorecon -FR /data/media/0"
Click to expand...
Click to collapse
This worked like a charm on my galaxy s5! thanks!

mr_bricker said:
Try connecting your phone to a pc with adb installed.
When your are connected to the pc, first type "adb root" and press "Enter",
then type "adb shell restorecon -FR /data/media/0"
Click to expand...
Click to collapse
Thank you! I searched a lot to find this nice solution! Works on S5 Neo with Lineage 17.1 after I tried reinstalling 3 times )

mr_bricker said:
Try connecting your phone to a pc with adb installed.
When your are connected to the pc, first type "adb root" and press "Enter",
then type "adb shell restorecon -FR /data/media/0"
Click to expand...
Click to collapse
Thanks a lot! Worked like a charm!

kalkanali said:
100% WORKİNG hi ı had same problems but ı fixed it just go to twrp and and check install you gonna see something encryptioned and just go to wipe then press advanced wipe only select the internal storage and swipe right then reboot and thats it
Click to expand...
Click to collapse
wow bro this worked

saifee87 said:
100% done
install terminal emulator from play store
open type su
will ask to grant root , grant it
then type this command
restorecon -FR /data/media/0
and done. remember space between restorecon and -FR
Click to expand...
Click to collapse
This helped me fix this issue on my OnePlus 6, Thankyou very much

Related

How do I get adb shell to work in recovery after root?

I rooted following the 10 minute root video, however forgot to remove a lot of those junk system apps, like CityID. I cannot get back into SU while in recovery, no matter what I do. How do I get back into the shell in recovery so I can remove all the bloatware?
I can get the error message:
- exec '/system/bin/sh' failed: No such file or directory
however i cannot seem to get back into the shell where I can access SU and remove the bloatware, anyone have any ideas on what im missing?
areghas said:
I can get the error message:
- exec '/system/bin/sh' failed: No such file or directory
however i cannot seem to get back into the shell where I can access SU and remove the bloatware, anyone have any ideas on what im missing?
Click to expand...
Click to collapse
I'm in the exact same boat as you. I don't know where to go from here.
run update.zip and let it fail again then you caN adb shell su
hmm doesnt seem to work for me
in order to get the back to adb shell in recovery, you have to go through the whole root process again. Then once you have snuck in the payload-update.zip and it has successfully installed it, you are able to do adb shell.
i had to run do the hole process over again to get su so i could remove cityid after root.
i used the 1.bat file as in the utube video for noobs.
ejlax said:
in order to get the back to adb shell in recovery, you have to go through the whole root process again. Then once you have snuck in the payload-update.zip and it has successfully installed it, you are able to do adb shell.
Click to expand...
Click to collapse
not cool lol, took me 3 hours to get the things to work with my sd card haha not worth it.
that is the only way
They are correct, you must do it all again, but look for a PNY 4gig class 4 sd. I tried hundreds of times over a 3 day period to do it and it worked first time and every time with this card.
when I run terminal emulator in the OS on the phone, and type su, the super user app grants it permission. Would we be able to delete system apps from there?
There is also another terminal app in the market for 1.99, listed as being for that purpose, so, has anyone tried it?
I don't have anything else I want to delete at the moment, since I got rid of cityid at the recovery adb prompt.
qwho said:
when I run terminal emulator in the OS on the phone, and type su, the super user app grants it permission. Would we be able to delete system apps from there?
There is also another terminal app in the market for 1.99, listed as being for that purpose, so, has anyone tried it?
I don't have anything else I want to delete at the moment, since I got rid of cityid at the recovery adb prompt.
Click to expand...
Click to collapse
The nand is locked down when you are in the main OS, so no, it would not work. You would need to do the re-root to gain access to /system/ as recovery is the only place where we are able to access it right now.
qwho said:
when I run terminal emulator in the OS on the phone, and type su, the super user app grants it permission. Would we be able to delete system apps from there?
Click to expand...
Click to collapse
E30kid said:
The nand is locked down when you are in the main OS, so no, it would not work. You would need to do the re-root to gain access to /system/ as recovery is the only place where we are able to access it right now.
Click to expand...
Click to collapse
I can get su access while in the OS. No problem on that. And I tried to delete teeter.apk, but got the "read only" message. So, I mounted it as read-write with
Code:
/system/bin/mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
that went fine too, but when I tried to delete teeter.apk, i got "rm failed, directory not empty"... but I'm not trying to delete a directory...
I guess the "nand is locked" and that's why, but... "the nand is locked" doesn't mean much to me, as I have no clue what that means

CWM "Fix Permissions" issue

ok so i was trying to wipe the dalvik cache and not paying attention, and i accidently hit the fix permissions option, ever since then the contacts pictures in my sms's arnt showing. after a bit of googling i found a thread with a simlar problem, it seems CWM has put the wrong chmod (771) on the contacts folder. obviously the thread i read was for a diffrent device and the path to the contacts folder is diffrent from our device (/datadata/com.android.providers.contacts) so does anyone know the location of this folder on our devices so i can change the chmod?
thanks
Launch terminal emulator, and type:
su
chmod 666 /data/data/com.android.providers.contacts/files/*
Reboot.
Done.
Sentenza1591 said:
Launch terminal emulator, and type:
su
chmod 666 /data/data/com.android.providers.contacts/files/*
Reboot.
Done.
Click to expand...
Click to collapse
thanks worked a treat i must be blind, thats the first folder i looked for using adb but i swear it wasnt there lol

Xposed Framework causing soft brick...

Anyone else try Xposedon the S4? I gave it a go and went into a freeze at the ATT boot animation.
Can anyone help me out? Is there any other option besides a factory restore through Kies?
I don't think I can ADB at this point...
ZPaul2Fresh8 said:
Anyone else try Xposedon the S4? I gave it a go and went into a freeze at the ATT boot animation.
Can anyone help me out? Is there any other option besides a factory restore through Kies?
I don't think I can ADB at this point...
Click to expand...
Click to collapse
The xposed framework in this post works fine on mine.
http://forum.xda-developers.com/showthread.php?p=41159454
And ya, you can use the odin that adamoutler posted in this post to return to stock.
http://forum.xda-developers.com/showthread.php?t=2261573
PS, search is your friend..
sulpher said:
The xposed framework in this post works fine on mine.
http://forum.xda-developers.com/showthread.php?p=41159454
And ya, you can use the odin that adamoutler posted in this post to return to stock.
http://forum.xda-developers.com/showthread.php?t=2261573
PS, search is your friend..
Click to expand...
Click to collapse
Yes I am currently unzipping the firmware (I will keep this in a safe place) to restore.
And I was using the 2.1.3 version, so I will try again with the 2.1.4. Rovo should have updated his OP to show this newer version.
ZPaul2Fresh8 said:
Yes I am currently unzipping the firmware (I will keep this in a safe place) to restore.
And I was using the 2.1.3 version, so I will try again with the 2.1.4. Rovo should have updated his OP to show this newer version.
Click to expand...
Click to collapse
Ya i think it was just a test version, he said he would update the OP after he had some confirms that it works. Which he's had now... prolly just hasn't gotten to it yet.
to get out of a soft brick, this is what I did:
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
cd system/xbin
rm /system/bin/app_process
mv /system/bin/app_process.orig /system/bin/app_process
reboot
mcmb03 said:
to get out of a soft brick, this is what I did:
Code:
adb shell
mount -o rw,remount /dev/block/mmcblk0p1 /system
cd system/xbin
rm /system/bin/app_process
mv /system/bin/app_process.orig /system/bin/app_process
reboot
Click to expand...
Click to collapse
Thanks that's what I was looking for. I already restored with Odin though and the best part is that no data was lost whatsoever. :beer:
Sent from my SAMSUNG-SGH-I337 using xda premium
ZPaul2Fresh8 said:
Thanks that's what I was looking for. I already restored with Odin though and the best part is that no data was lost whatsoever. :beer:
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
No worries glad you got it sorted out :good: Thought it may be useful to someone.
Sent from my SAMSUNG-SGH-I337 using xda premium
adb shell error closed
mcmb03 said:
to get out of a soft brick, this is what I did:
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
cd system/xbin
rm /system/bin/app_process
mv /system/bin/app_process.orig /system/bin/app_process
reboot
Click to expand...
Click to collapse
after typing in adb shell and hitting enter im getting an error:closed tried multiple times and restarted my phone and pc
ramw24 said:
after typing in adb shell and hitting enter im getting an error:closed tried multiple times and restarted my phone and pc
Click to expand...
Click to collapse
Make sure your phone is at the at&t logo. Try typing
adb devices
to be sure it's recognized by the computer
I was softbricking until I installed the newest xposed version. Works great
perfect!!! BTW dont use icon themer it caused soft brick, but this fixed it wonderfully
ericos123 said:
perfect!!! BTW dont use icon themer it caused soft brick, but this fixed it wonderfully
Click to expand...
Click to collapse
the dev just released an update for S4's and you should no longer softbrick. I tested the beta for him before he pushed to the play store
mcmb03 said:
the dev just released an update for S4's and you should no longer softbrick. I tested the beta for him before he pushed to the play store
Click to expand...
Click to collapse
Do you have the apk file when trying install I get an error
ericos123 said:
Do you have the apk file when trying install I get an error
Click to expand...
Click to collapse
since it's a paid app, I can't give it to you sorry :angel:
mcmb03 said:
since it's a paid app, I can't give it to you sorry :angel:
Click to expand...
Click to collapse
What about the app from the xda thread its on 1.5
How to disable xposed framework via adb.
access adb and use the following. Helped me out a lot.
adb shell
su
mkdir /data/data/de.robv.android.xposed.installer/conf/disabled
How to run this command
mcmb03 said:
to get out of a soft brick, this is what I did:
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
cd system/xbin
rm /system/bin/app_process
mv /system/bin/app_process.orig /system/bin/app_process
reboot
Click to expand...
Click to collapse
Hi I softbricked my panasonic eluga icon while installing xposed framework. Now it is stuck on the screen with the name panasonic on it. I am able to get to the recovery screen but should i wipe the data for the phone to work again.
I tried running adb shell in adb command window only to get an error list of devices attached
0123456789abcdef device offline
then i choose "apply update from adb" on the recovery screen and when i try adb shell it says list of devices attached 0123456789abcdef sideload
I am completely dumb with mobile phone and android part. I am totally helpless and do not know what to do. Please help
If there is a video where you can point me to, it will be greatly appreciated sir.
---------- Post added at 08:22 AM ---------- Previous post was at 07:32 AM ----------
With all due respect for everyone, For panasonic eluga users I dont see much assistance available around. So let me tell you how i came out of the softbrick mode. I was continuously getting the panasonic screen beyond which I could not go. It was stuck on the word panasonic. Then what i did was I wiped the data whcih is factory reset by going to the recovery mode (recovery mode can be found by Pressing the power button and volume up button simultaneously).
All this time the mobile was connected to the PC via the usb cable. I then restarted the mobile twice with the device connected to the PC. Nothing happened. Went to ADB command window, searched for adb devices nothing found. Then I took the cable out of the mobile and tried to go into recovery mode again and it restarted with a message stating optimising app 1 of 35 and then it went right onto the startscreen asking me for foofle aco**** details.
I know this doesnt make much sense but this is how i got my phone going from soft brick mode.

Can't delete system apps with root

For some reason I cannot delete system apps. I know for sure that I am rooted and that the system is mounted. No matter what app I use it doesn't work. System app remover from the Play Store gives me a "failed uninstall" error, deleting the system app folders with root explorer does not work, and Titanium Backup doesn't work. I even tried changing the permissions to rw for each app to no avail. Does anyone have any idea what the problem is?
bkores said:
For some reason I cannot delete system apps. I know for sure that I am rooted and that the system is mounted. No matter what app I use it doesn't work. System app remover from the Play Store gives me a "failed uninstall" error, deleting the system app folders with root explorer does not work, and Titanium Backup doesn't work. I even tried changing the permissions to rw for each app to no avail. Does anyone have any idea what the problem is?
Click to expand...
Click to collapse
Probably system write protection (see here http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
running this will disable it
adb shell reboot disemmcwp
peramikic said:
Probably system write protection (see here http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
running this
adb shell reboot disemmcwp
Click to expand...
Click to collapse
Thanks. I'll try this when I get home and update with the results.
It worked! Thank you so much! @peramikic
I'm also trying to delete system apps. The link posted above is no longer working can someone post a new link or point me in the right direction
dunas2331 said:
I'm also trying to delete system apps. The link posted above is no longer working can someone post a new link or point me in the right direction
Click to expand...
Click to collapse
if you use adb:
adb shell reboot disemmcwp
if you use terminal emulator:
su
reboot disemmcwp
if you use TWRP terminal:
reboot disemmcwp
Thanks it worked I used twrp
chek my youtube video

Desperate Help - Can't Transfer Files To OP5

Guys I'm desperate.. Everything was worgin great, then I decided to decrypt the phone, so I went to TWRP, wiped everything (data, userdata, factory reset), then flashed latest ota 4.5.4 and supersu.. Now I cannot transfer anything from my PC (windows 10, which worked flawlessy before doing this) to my OP5, even from another PC the copy fails, but I can transfer things from TWRP.. What am I doing wrong? Why can't I transfer things when connected to the PC anymore? Please help me.. Tried reflashing the rom, wiping, but no luck..
Solved with restorecon -FR /data/media/0
Damn i was sweating lol..
carlese said:
Solved with restorecon -FR /data/media/0
Damn i was sweating lol..
Click to expand...
Click to collapse
i just flashed the carbon rom and now its recognizing the mob on the PC but when i change to transfer files nothing happens !
i tried the terminal way but it says restorecon: Unknown option/data/media
pls help
av.shashank said:
i just flashed the carbon rom and now its recognizing the mob on the PC but when i change to transfer files nothing happens !
i tried the terminal way but it says restorecon: Unknown option/data/media
pls help
Click to expand...
Click to collapse
You need to use the terminal on the phone, first of all remember to type su and press enter to grant superuser permissions..
carlese said:
You need to use the terminal on the phone, first of all remember to type su and press enter to grant superuser permissions..
Click to expand...
Click to collapse
yes i have the terminal on the phone ,gave it permission forever and still the same problem occurs !
but i went to the recovery mode and through that i can transfer files ...
You need to write exactly what I wrote, it works for sure.. Then reboot just to be safe..
carlese said:
Solved with restorecon -FR /data/media/0
Damn i was sweating lol..
Click to expand...
Click to collapse
Works like charm.
av.shashank said:
yes i have the terminal on the phone ,gave it permission forever and still the same problem occurs !
but i went to the recovery mode and through that i can transfer files ...
Click to expand...
Click to collapse
Boot inti TWRP. Go to Advanced and then Fix Contexts. This should do.

Categories

Resources