Unable to install/update apps to internal storage - OnePlus 6 Questions & Answers

Hi all,
In my quest to breathe more life into my OP6, I've decided to install TWRP and Magisk. Once doing so, it seems that I cannot install apps or update some already preloaded apps - I get an error message saying that the app can't be downloaded and I need to install to a SD card or external USB storage.
The exact error reads: App requires external storage. (insert app name) can't be downloaded. Insert an SD card or USB storage with sufficient storage, and try again.
I tried to Google a solution but didn't really find anything. I've already tried to do a wipe with TWRP and reflashed the recovery and Magisk but am still getting the same error. Maybe I'm doing something wrong or missing a setting.
Any help would be appreciated. I'd like to stick to OOS but am not opposed to another ROM.
Currently on OOS 10.3.4, TWRP 3.4.0, and Magisk 20.4. Thanks.

Same here.

semdoc said:
Same here.
Click to expand...
Click to collapse
Finally got it to fix itself after several system and dalvik wipes. Hope that works for you too. Also had to re-flash Magisk after every wipe.

Well... Here is the solution:
Download stock ROM ( 10.3.2 or higher). Download latest TWRP.zip from @mauronofrio - Link HERE
Then.
1. Boot to TWRP recovery
2. Format data.. (say yes when it's asked)
3. reboot to recovery
4. Move Stock ROM and downloaded TWRP to your internal sdcard.
5. Flash Stock ROM.zip + TWRP.zip -> reboot to recovery -> Flash Stock ROM.
6. Boot to Stock recovery
7. erase everything in your internal SD card. (Trivial part)
8. Boot to System and set your device.
Voila.
After this... You can flash TWRP and Magisk as it's recommended in several guides for enchilada....
That worked for me.
Cheerz

xeks said:
Hi all,
In my quest to breathe more life into my OP6, I've decided to install TWRP and Magisk. Once doing so, it seems that I cannot install apps or update some already preloaded apps - I get an error message saying that the app can't be downloaded and I need to install to a SD card or external USB storage.
The exact error reads: App requires external storage. (insert app name) can't be downloaded. Insert an SD card or USB storage with sufficient storage, and try again.
I tried to Google a solution but didn't really find anything. I've already tried to do a wipe with TWRP and reflashed the recovery and Magisk but am still getting the same error. Maybe I'm doing something wrong or missing a setting.
Any help would be appreciated. I'd like to stick to OOS but am not opposed to another ROM.
Currently on OOS 10.3.4, TWRP 3.4.0, and Magisk 20.4. Thanks.
Click to expand...
Click to collapse
same problem in my one plus 5 and i did these simple steps and the problem was fixed
1 open settings
2 about phone
3 tap 5/6 times until you are a developer message pop up
4 go back from about phone and go to system
5 you see developer option then open it
6 scroll down until you see (force allow apps on external) and turn on
hope these steps fixed your problem too...

Related

Unable to mount storage in freshly installed TWRP

I have the TX1541 model, 16GB ROM. I just got the device a few hours ago so here's a quick rundown of exactly what I have done with it so far.
1. Boot
2. Go through google setup
3. Install marshmallow update
4. Format Sandisk 32GB SDCard as internal storage
5. Enable Developer options, allow OEM unlock, enable USB Debugging
6. Move latest CM13 nightly and OpenGApps to internal storage using MTP
7. Boot into fastboot
8. Unlock bootloader successfully
9. Flash latest TWRP build (twrp-osprey-3.0.2-r1) successfully
10. Reboot into recovery
11. Swipe to allow TWRP to allow modifications
Now, I can't install any of the zips I moved on the device earlier because according to the log neither "storage" nor "/data" can be mounted. So obviously, if I go to Install -> Select Storage everything has "0MB" and wiping doesn't work. . Oh yeah and MTP doesn't work either so I can't really get any files on the device ATM, maybe using push in fastbooot...
I'd appreciate any help on this...
Don't wipe anything yet... Once you boot into TWRP once and allow changes to system, go to Reboot menu and reboot to Recovery again. Test to see if you can see storage now...
Encrypted?
When you format your SD card as internal, it encrypts it so that you can't use it with other phones, and it protects your data.
If you encrypted it and then installed TRWP you've essentially changed the phone, you won't be able to access it without booting into the android OS that you encrypted it on.
Hope that it wasn't what you did. Otherwise the only way in is to load it into android, connect to the computer, and get the files from there.
RylenWolf said:
When you format your SD card as internal, it encrypts it so that you can't use it with other phones, and it protects your data.
If you encrypted it and then installed TRWP you've essentially changed the phone, you won't be able to access it without booting into the android OS that you encrypted it on.
Hope that it wasn't what you did. Otherwise the only way in is to load it into android, connect to the computer, and get the files from there.
Click to expand...
Click to collapse
how do you fix it on the computer?
mjf042 said:
how do you fix it on the computer?
Click to expand...
Click to collapse
@Jisifus You need to go in twrp ans change the filesystem to ext4
mjf042 said:
how do you fix it on the computer?
Click to expand...
Click to collapse
@Jisifus You need to go in twrp ans change the filesystem to ext4
Hi
You found solution to this problem :C??
I have the same problem :crying:
This is a known issue in the official version... @Alberto97 has submitted the fixes, we just need to wait until it's merged into official build.
An unofficial build with the fixes applied is available here: https://forum.xda-developers.com//2...t/twrp-twrp-moto-g-2015-t3170537/post71386235

[Fixed]Need some help

Alright, I've tried everything I could, looked online(/in the forums) for solutions or help, but I just can't figure this out... After struggling a great deal installing the 5.2 update on my K1, I decided to simply flash the 5.2 recovery os image and start from there.
That went fine, so I went to install Magisk to root my tablet, but that didn't go as well. I ran into the same issue I was running into trying to update to 5.2 which is that my storage doesn't properly mount in TWRP (it works normally when using a file manager on the tablet itself and gets detected as it should by the storage manager in settings). I formatted the SD-card I'm using as partially Internal/adaptable storage and partially external, which is probably what causes the problem as TWRP shows the external SD card perfectly, but of the internal storage it only shows the contents of a folder named "InternalStorage' (presumable /sdcard/internal storage, however I can't actually see this to confirm) which is present on the root of the internal SD card. Any files that are in for example my Downloads folder on the internal storage aren't shown in TWRP. I thought installing a factory image would fix this issue, but it hasn't.
In either case, to get around this issue I sideloaded the Magisk zip file to root and it wen't as expected, didn't get any errors. But after booting my tablet, the Magisk Manager app wouldn't finish loading, it's stuck on the flash screen with the Magisk logo. Used the uninstaller and reinstalled through TWRP by placing the zip files on the external SD card and the app still won't load properly. I figure it has something to do with the way I have my SD card setup/partitioned, but I'm at my wits end as to how to fix this atm...
Any help will be appreciated! Preferably something that doesn't include re-partitioning the SD card :angel:
PS: The tablet was rooted with SuperSU before the factory reset, but I'm wanting to make the switch to Magisk because I want to install the Sony Framework to use Remote Play. If there is any other way to install the Sony Framework, using Xposed for example, I can maybe try rooting with SuperSU again.
EDIT: I fixed the issue, turned out the app was installed on the external sd card, moved it to internal storage and it worked!

No access to internal SD - TWRP Root Format SD Card etc... plz read

Hi!
I was on Oreo on the S8+ F (Exynos) I got this update OTA.
I wanted to have the "normal" root and TWRP again. I decided to install the TWRP, the no-verity-opt-encrypt-6.0 and the Car HD Rom latest CRAP oreo version.
The steps I did:
I hit the buildnumber button enough times.
I chose USB Debugging.
I powered OFF my phone and started to the download mode.
I flashed the latest TWRP file.
I quickly put my fingers to the right buttons and the device rebooted to TWRP RECOVERY.
I swiped right although it said the "...can't modify... read only.."
I chose advanced wipe and chose format with typing "yes"
I had the no-verity-opt-encrypt file on the SD Card and the CARHD Rom on the SD Card, too.
After formatting I installed first the CAR HD Rom and then before Reboot the no-verity-opt-encrypt file.
I tried also to install 2 .zip files 1st the CAR HD Rom and then automatic the no-verity-opt-encrypt file.
Both times the CAR HD ROM was installed and everything looked fine, but both versions, when I rebooted to recovery the internal SD was missing. I can't even choose the internal SD only the external SD.
What am I doing wrong? Any ideas? It was never a problem, it seems to be a problem since the oreo update.
Everything is working fine, but root without using the SD card is senseless. No backups, many other things that are not good.
If someone can help, please do so :good:
CU
lienot
I had this issue. It only fixed when I used soldiers 9321's ROM. Been flawless since.
I can't find the ROM, but there must be a solution for all other ROM's too??
Can you give me a link, I never heard anything about it.
Thanks,
lienot
https://forum.xda-developers.com/ga...xf-fd-n-oreo-beta-2-soldier9312-zqk4-t3703183
There you go.
FactualGnome said:
I had this issue. It only fixed when I used soldiers 9321's ROM. Been flawless since.
Click to expand...
Click to collapse
Moved here, out of the Development Sections.
Did you make sure in Settings/Developer you had OEM set to unlock?
I did not see that in your instruction set. Gotta have it set . . .

TWRP Shows Encrypted SD Card

I am rooted and I tried Android Pie Open beta 2 for a few days and decided to go back to 5.1.11.
I installed the full rom of 5.1.11 and then installed twrp 3.2.2 then reboot to recovery.
It did not ask for my pin and shows a encrypted SD card.
I tried several ways, like load twrp.img from adb, twrp decrypt passwword, but it does not help.
I am wondering if anyone knows how to decrypt the SD card. Otherwise I have to format the SD card and start from scratch.
Thanks a lot
starfq said:
I am rooted and I tried Android Pie Open beta 2 for a few days and decided to go back to 5.1.11.
I installed the full rom of 5.1.11 and then installed twrp 3.2.2 then reboot to recovery.
It did not ask for my pin and shows a encrypted SD card.
I tried several ways, like load twrp.img from adb, twrp decrypt passwword, but it does not help.
I am wondering if anyone knows how to decrypt the SD card. Otherwise I have to format the SD card and start from scratch.
Thanks a lot
Click to expand...
Click to collapse
Ye format is the only way now that you have gone back. There is about 5 threads about this specific topic with more info if you feel you need it

Insufficient storage error after installing GAPPS

Hey.....so i have twrp and after installing my lineage of choice i go to flash gapps
it flashes successfully (i install immediately after lineage)
But upon setup and boot up....i cant download even a single app from the PLAY STORE as it displays an error.
Its quite random as i find that the error disappears when i flash again but also it might not and so am confused on what to do and what am doing right to skip that error
Summary: I have just done a clean install of lineage and gapps but when i want to download an app it shows an insufficient storage error....when i still have like the whole phone storage to use. (no restore from backup was done so phone is empty)
Help....
Thanks
Edit: i made it clear its an issue in playstore not in twrp...as i can handle up until stock gapps.
The error gets triggered if not enough free storage space in partition /system and/or /vendor. Just try with micro version of GApps.
jwoegerbauer said:
The error gets triggered if not enough free storage space in partition /system and/or /vendor. Just use micro version of Gapps.
Click to expand...
Click to collapse
Or use pico gapps
jwoegerbauer said:
The error gets triggered if not enough free storage space in partition /system and/or /vendor. Just try with micro version of GApps.
Click to expand...
Click to collapse
i use gapps
Droidriven said:
Or use pico gapps
Click to expand...
Click to collapse
i use pico and i can even use stock if i want, device is quite capable ...im saying that i cant download an app in play store as it shows an insufficient storage error hence am confused as i have storage cause i just finished a clean install of lineage
Then storage space in /data and/or /cache partition isn't sufficient. Take note that when downloading an app from Google Play Store in addition to APK's download-size extra ~500MB are needed.
monsiu said:
i use pico and i can even use stock if i want, device is quite capable ...im saying that i cant download an app in play store as it shows an insufficient storage error hence am confused as i have storage cause i just finished a clean install of lineage
Click to expand...
Click to collapse
Have you tried going to system settings>applications then finding and selecting the Playstore on the list of apps then tap "storage" then wiping cache and storage for the Playstore app, then reboot the device?
Or
Have you tried booting into recovery and wiping cache and dalvik cache then reboot the device?
jwoegerbauer said:
Then storage space in /data and/or /cache partition isn't sufficient. Take note that when downloading an app from Google Play Store in addition to APK's download-size extra ~500MB are needed.
Click to expand...
Click to collapse
i have my whole phone storage as i just flashed lineage and gapps successfully....granted its not a lot of storage (its 16gb) i should at least be able to download a 6.1 mb app in playstore....right?
Droidriven said:
Have you tried going to system settings>applications then finding and selecting the Playstore on the list of apps then tap "storage" then wiping cache and storage for the Playstore app, then reboot the device?
Or
Have you tried booting into recovery and wiping cache and dalvik cache then reboot the device
Click to expand...
Click to collapse
ye i tried the second one and the first one( i didnt restart though) but its not a playstore issue as even in the device file explorer it does not show the internal storage hence the files are not even accessible but the storage size is still seen in settings but i just cant access them....its weird
When in Android's Settings menu tap Storage, tap Advanced, wait for seconds the internal storage gets loaded, tap on internal storage: you'll be shown all the categories in your phone's internal storage. From this you can attain which storage folder or category is taking up huge amount of space in your phone internal storage.
monsiu said:
ye i tried the second one and the first one( i didnt restart though) but its not a playstore issue as even in the device file explorer it does not show the internal storage hence the files are not even accessible but the storage size is still seen in settings but i just cant access them....its weird
Click to expand...
Click to collapse
Try another clean install of your ROM and a different gapps package, there may be something wrong with your gapps file, it has been known to happen.
Or, try a clean install of your ROM but do not install gapps, then, reboot into system but do not sign in yet, then power off and boot back into recovery and flash your gapps then reboot. This has been known to fix many issues with flashing ROMs and gapps.
monsiu said:
Hey.....so i have twrp and after installing my lineage of choice i go to flash gapps
it flashes successfully (i install immediately after lineage)
But upon setup and boot up....i cant download even a single app from the PLAY STORE as it displays an error.
Its quite random as i find that the error disappears when i flash again but also it might not and so am confused on what to do and what am doing right to skip that error
Summary: I have just done a clean install of lineage and gapps but when i want to download an app it shows an insufficient storage error....when i still have like the whole phone storage to use. (no restore from backup was done so phone is empty)
Help....
Thanks
Edit: i made it clear its an issue in playstore not in twrp...as i can handle up until stock gapps.
Click to expand...
Click to collapse
Simplest way to fix your problem is too head back into Twrp recovery and perform a Factory Reset.
Droidriven said:
Try another clean install of your ROM and a different gapps package, there may be something wrong with your gapps file, it has been known to happen.
Or, try a clean install of your ROM but do not install gapps, then, reboot into system but do not sign in yet, then power off and boot back into recovery and flash your gapps then reboot. This has been known to fix many issues with flashing ROMs and gapps.
Click to expand...
Click to collapse
your solution seems as the most likely to work so i have marked it as the solution but what i did was just flash stock rom and mounted system in the stock recovery and cleared cache and did a factory reset and boot into the stock rom then i reflashed twrp and flashed the lineage and gapps
that worked
On second thought... im marking this as the solution cause i feel its assured to work cause you are going back to the stock rom and its default system partition and i never had issues flashing when i came from the stock rom.
i even flashed the aroma gapps
Thanks for the help guys...i appreciate it
jays note 2 said:
Simplest way to fix your problem is too head back into Twrp recovery and perform a Factory Reset.
Click to expand...
Click to collapse
this did not work....i cleared everything and even formatted data
I don’t know if you found the solution but if didn’t format data clean your phone
Download the version you want make sure both the lineage and gaps are the same in my case I got lineage-18.1 and mindTheGapps 11
Because lineage 18.1 is 11 I tried other gapps but most didn’t work
Then after copy the both files directly in phone internal storage or if your phone supports SDcard put them in there
1st install the gapps.zip then the lineage.zip then reboot system and vwala Insufficient storage gone everything should work including all google apps if chrome or Gmail is missing download in playstore or use browser to download The apk
On mine, I just wiped cache and dalvik cache, then did a dirty flash of opengapps (which was what I'd already been using prior to the TWRP restore), and that fixed it, so that might be a less destructive option for some people.
monsiu said:
Hey.....so i have twrp and after installing my lineage of choice i go to flash gapps
it flashes successfully (i install immediately after lineage)
But upon setup and boot up....i cant download even a single app from the PLAY STORE as it displays an error.
Its quite random as i find that the error disappears when i flash again but also it might not and so am confused on what to do and what am doing right to skip that error
Summary: I have just done a clean install of lineage and gapps but when i want to download an app it shows an insufficient storage error....when i still have like the whole phone storage to use. (no restore from backup was done so phone is empty)
Help....
Thanks
Edit: i made it clear its an issue in playstore not in twrp...as i can handle up until stock gapps.
Click to expand...
Click to collapse
The problem is lack of space in the system.
The gapps is not supported in many LineageOSes:
Google apps | LineageOS Wiki
wiki.lineageos.org
This worked for me on two One Plus One phones:
Further down in the page they recommend MindTheGapps (not gapps) with Lineage 18.1 (Android 11) .
-
This one I have not tried - resizing system:
How to Fix Error 70 While Installing Gapps in TWRP
How to Fix Error 70 While Installing Gapps in TWRP | TechLatest
Got error 70 while installing Gapps in TWRP? This error prompts up when your partition storage size is lesser than the size of the respective Gapps package.
tech-latest.com
Important:
Quote from comments: "...
Tom Tobblestop August 13, 2021 At 10:00 pm
...
The ‘resize’ action should really be called something else since it doesn’t do anything unless there’s unallocated partitions lying around....
If you actually want to resize, you’ll have to download a version of TWRP that has hh_repart. A version that worked for me is described here: https://forum.xda-developers.com/t/...h-for-nexus-5-hammerhead-discontinued.4047653 .. I used this custom TWRP: https://sourceforge.net/projects/hammerhead-twrp/ which successfully bumped my Nexus 5 from a 1GB to 1.44GB, enough to put on Lineage 18.1 and OpenGapps Arm 11.0 Pico.
..."

Categories

Resources