TWRP ERROR 1 "storage space is full" even after fresh format of data - General Questions and Answers

Trying to flashh Gapps to my Moto Edge S via TWRP. when I attempted to flash NikGapps and BiTGApps, I get the following error messages:
NikGapps: "Installation Failed! Looks like Storage space is full"
"Updater process ended with ERROR: 1
Error installing zip file '[file]'"
BiTGApps: "Updater process ended with ERROR: 1
Error installing zip file '[file]'"
I definitely have over 100GB free in storage, and in the "Select Storage" option it recognizes over 105000MB on internal storage. So...why isn't it working?

Do a Google search for "TWRP error 1": dozens results.

HopelesRomantc91 said:
Trying to flashh Gapps to my Moto Edge S via TWRP. when I attempted to flash NikGapps and BiTGApps, I get the following error messages:
NikGapps: "Installation Failed! Looks like Storage space is full"
"Updater process ended with ERROR: 1
Error installing zip file '[file]'"
BiTGApps: "Updater process ended with ERROR: 1
Error installing zip file '[file]'"
I definitely have over 100GB free in storage, and in the "Select Storage" option it recognizes over 105000MB on internal storage. So...why isn't it working?
Click to expand...
Click to collapse
Modern phones have a separate 'system' partition and Gapps as well as ROM will be installed there. You can't choose to install it elsewhere.
Check the space available in 'system' partition. If it is not enough, either you have to choose a smaller Gapps package or repartition the storage. If you choose a smaller package and succeed in installing it, the rest of the Google apps can be installed from the Play Store. They will install outside the 'system' partition so you will not have any issue.

jwoegerbauer said:
Do a Google search for "TWRP error 1": dozens results.
Click to expand...
Click to collapse
I tried that, none of them worked.
TNSMANI said:
Modern phones have a separate 'system' partition and Gapps as well as ROM will be installed there. You can't choose to install it elsewhere.
Check the space available in 'system' partition. If it is not enough, either you have to choose a smaller Gapps package or repartition the storage. If you choose a smaller package and succeed in installing it, the rest of the Google apps can be installed from the Play Store. They will install outside the 'system' partition so you will not have any issue.
Click to expand...
Click to collapse
TWRP shows "System" and "system_ext." Both seem to mount fine in TWRP, but when flashing I get the same error. The gapps files I'm using are less than 90MB. It says "Current space: 0" so it seems to think that there's fully zero extra space on System. NikGApps says, "/system available size: 0 KB"

HopelesRomantc91 said:
I tried that, none of them worked.
TWRP shows "System" and "system_ext." Both seem to mount fine in TWRP, but when flashing I get the same error. The gapps files I'm using are less than 90MB. It says "Current space: 0" so it seems to think that there's fully zero extra space on System. NikGApps says, "/system available size: 0 KB"
Click to expand...
Click to collapse
Very late to the party, but I'm facing this exact issue right now. Have you found a way to flash gapps eventually? I tried resizing the file system but to no avail.

So far I've tried using different twrp versions, none worked, I would've tried orangefox but there's no version of that recovery for honor 6x and the p8 lite version, unlike twrp won't run.

Related

[Q] Why am I the error message: "There is insufficient space on the device"

Why am I receiving the error message: "There is insufficient space on the device"
This occurs when I try to downloAd and install any new apps from Android Market
Mod version
Clockwork Recovery Mod
WeaponG2x-2.5
Total space
5.44GB
Availavle space
3.66GB
Internal phone storage
1.24GB
I followed all of the instructions when installing the MOD such as factory reset and format /system
desertshark said:
Why am I receiving the error message: "There is insufficient space on the device"
This occurs when I try to downloAd and install any new apps from Android Market
Mod version
Clockwork Recovery Mod
WeaponG2x-2.5
Total space
5.44GB
Availavle space
3.66GB
Internal phone storage
1.24GB
I followed all of the instructions when installing the MOD such as factory reset and format /system
Click to expand...
Click to collapse
Clear the cache for the Market app.
I love the search feature.
Sent from my LG-P999 using XDA App
Memnoch30 said:
Clear the cache for the Market app.
Click to expand...
Click to collapse
Under applications there wasn't a way to clear the Market cache. But when I cleared the Dalvik Cache I was then able to manually load all of the apps.
Clearing the Dalvik was probably overkill hehe.
I kept getting this error last night. Cleared the cache which didn't help but then I rebooted and it was fine. Reboots are usually the easiest fix
The market has its own cache for downloading files. It then installs them from the cache and then deletes the downloaded file. If you are trying to update or install many programs at the same time, the cache can get full and you will get this error. If some of the programs are large apks just download or update them individually and you should not get the error. This has nothing to do with device memory, just the limited size of the market's download cache.
desertshark said:
Why am I receiving the error message: "There is insufficient space on the device"
This occurs when I try to downloAd and install any new apps from Android Market
Mod version
Clockwork Recovery Mod
WeaponG2x-2.5
Total space
5.44GB
Availavle space
3.66GB
Internal phone storage
1.24GB
I followed all of the instructions when installing the MOD such as factory reset and format /system
Click to expand...
Click to collapse
settings-> manage apps-> click all apps-> scroll to market-> click market->erase data and or cache= prob fixed.
I was having the same problem with all the nightlies until I flash a different gapps file and now it works the way it's supposed to.
Sent from my LG-P999 using XDA App

Error updating CM13, and others.

Hi, i have the next versions:
CyanogenMod: 13.0-20161004-NIGHTLY-osprey
Kernel: 3.10.49-MPI24.107-56-g09ff0d1
And when trying to install the 1009-NIGHTLY update i get an error without a log in the cianogenmod recovery. When I try to "Apply update" and then "Choose from emulated", it shows the next message:
"E:failed to mount /data (Invalid argument)
Installation aborted"
Then, i go to see the recovery logs, but it blanks and shows the main menu again.
Why do I want to update to the latest version, having 5 days of difference with the installed version?
Because I'm having repeatedly bugs with the Firefox browser, can't update Telegram, can't connect via Bluetooth to the most of the devices, can't update the binaries of SuperSU, and other minor errors.
Which could be the cause of some of this problems?
Sorry for my poor english, Saludos!
Download the latest nightly and before installing wipe the /system /dalvik cache and /cache partition, just be aware that you will need to reflash your gaps package.
Henriquefeira said:
Download the latest nightly and before installing wipe the /system /dalvik cache and /cache partition, just be aware that you will need to reflash your gaps package.
Click to expand...
Click to collapse
Just did what you said, wiped /cache and /system partition, and when the phone reboots it stays in the Motorola logo. Seems that I can't load the installer using USB, because there is no ROM installed.
The good news are that I have access to emulated.
What am I doing wrong?
Gonzon said:
Just did what you said, wiped /cache and /system partition, and when the phone reboots it stays in the Motorola logo. Seems that I can't load the installer using USB, because there is no ROM installed.
The good news are that I have access to emulated.
What am I doing wrong?
Click to expand...
Click to collapse
You wiped your entire internal storage? If not then there is an issue with your internal storage. I once had a similar issue to this, where my phone would keep wiping it's internal storage and crash a lot, the solution was to reflash the stock ROM. Sorry for the inconvenience that I caused to you
Just as a side question, did anyone got AICP nightlies .zip stuck at extracting image to /system? I tried clean install (wipe /system, /data, /cache and dalvik) but its just stuck there. Tried multiple nightlies. Tried deleting Android and .android_secure folders in both external and internal storage. I haven't tried wiping internal storage yet (I will do it ASAP). Any tips will be great. Thanks
Broadcasted from Zeta Reticuli
Henriquefeira said:
You wiped your entire internal storage? If not then there is an issue with your internal storage. I once had a similar issue to this, where my phone would keep wiping it's internal storage and crash a lot, the solution was to reflash the stock ROM. Sorry for the inconvenience that I caused to you
Click to expand...
Click to collapse
I still don't know why cm installs a recovery that it is unstable and with less tools than TWRP. I believe that they should use at least the code of TWRP.
No problem Henriquefeira, everything has it's solution. Besize, your help was too much better than silence in this post. Now, I have to focus on try to enter to the internal storage and flash the update I have.
For that, I'm using fastboot in linux. But I don't know too much about using it. Next, I'll show you the messages that the terminal sent me:
Code:
[email protected]:~$ fastboot -p xxxxxxxxxx flash /data/media /home/imperial/Android2/cmupdater/cm-13.0-20161009-NIGHTLY-osprey.zip
target reported max download size of 268435456 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 91972855 is not a multiple of the block size 4096
fastboot: /build/android-tools-hIu7Bj/android-tools-4.2.2+git20130529/core/libsparse/sparse.c:143: write_all_blocks: Assertion `pad >= 0' failed.
Abortado
Do you know what it means?
Gonzon said:
I still don't know why cm installs a recovery that it is unstable and with less tools than TWRP. I believe that they should use at least the code of TWRP.
No problem Henriquefeira, everything has it's solution. Besize, your help was too much better than silence in this post. Now, I have to focus on try to enter to the internal storage and flash the update I have.
For that, I'm using fastboot in linux. But I don't know too much about using it. Next, I'll show you the messages that the terminal sent me:
Do you know what it means?
Click to expand...
Click to collapse
You can't flash the zip of a ROM via fastboot, follow this tutorial >goo.gl/JfRzZu and on the next time avoid installing the CM bundled recovery
Solved.
I flashed vĂ­a fastboot a stable twrp, then after a lot of errors and strange things i was able to flash the ROM.
Thanks a lot for your help.
I was seeing a bricked phone already jajaja.

How you can fix error 70 upon installing gapps over a custom rom

OK I'm sure some of you have at least run into this problem when installing gapps over a custom ROM and I can tell you how to fix it!
after flashing your custom ROM be in twrp and from the main screen select: mount>select system>press home button>wipe>advanced wipe>select system>click repair or change file system>resize file system>swipe to resize. After that you are almost done, go back to main screen and flash the gapps zip and congratulations you got gapps successfully installed, if any errors when booting or bootloops make sure you try this again EXACTLY how i said. If this helped you please hit the thanks button ?
error 70 = no enough storage
Storage is storage and full is full... In most cases /system is almost full. This partition contains your OS. The GApps installer.zip is not an image file! It installs single files and files need storage. If there is not enough free storage then you should delete some other apps.
Resizing doesn't make sense because for the additional new storage on /system you lost storage on another partition. In most cases userdata.
WoKoschekk said:
error 70 = no enough storage
Storage is storage and full is full... In most cases /system is almost full. This partition contains your OS. The GApps installer.zip is not an image file! It installs single files and files need storage. If there is not enough free storage then you should delete some other apps.
Resizing doesn't make sense because for the additional new storage on /system you lost storage on another partition. In most cases userdata.
Click to expand...
Click to collapse
When you install gapps it installs it to the os partition and as such makes sense as of why it's a system app. Besides this worked for me Everytime
Well, I tried it with my Nexus 5 and lineage 14.1, Gapps 7.1 Nano. Didn't work! Got the same old Error 70.
And the answer is .... use a gapps.config.txt file. You can include/exclude the packages you want in gapps. This reduces the size needed in the recovery partition so it will fit. If you want to know how much space you have to work with, open a terminal and as su, enter df -h and see what the system partition is using and how much free space you have.
Worked for me!

Question Can't flash gapps w/ TWRP

So I found TWRP, seems to be experimental. It's not mine and I don't have permission from the creator(s) to share it, otherwise I would. But when I attempted to flash NikGapps and BiTGApps, I get the following error messages:
NikGapps: "Installation Failed! Looks like Storage space is full"
"Updater process ended with ERROR: 1
Error installing zip file '[file]'"
BiTGApps: "Updater process ended with ERROR: 1
Error installing zip file '[file]'"
I definitely have over 100GB free in storage, and in the "Select Storage" option it recognizes over 105000MB on internal storage. So...why isn't it working?
HopelesRomantc91 said:
I definitely have over 100GB free in storage, and in the "Select Storage" option it recognizes over 105000MB on internal storage. So...why isn't it working?
Click to expand...
Click to collapse
Without your TWRP, no one can tell you why it doesn't work.

[HELP] Insufficient /system size to flash minimal GApps

Hello all.,
I have a OnePlus 8T with latest LOS 19.1 20221124 from today, and TWRP 3.6.2_12-27082022 in both slots A&B (firstly flashed LOS, then flashed TWRP on top of LOS recovery).
I had NikGApps-core-arm64-12.1-20220908 installed on both slots, and wanted to test BiTGApps-arm64-12.1.0-v1.7 due to its lower footprint and higher update frequency., so I completely uninstalled NikGApps on both slots (big mistake) by flashing the same GApps package I have installed, but renaming it to "UnInstall.zip" as their support page suggests.
NikGApps got completely uninstalled on boths slots with no errors.
But whenever I try to flash the smaller BiTGApps-arm64-12.1.0-v1.7 GApps package, I got an error for unsufficient space in the system partition.
Now I have a /system free space of 48.5MB, previous NikGApps package was 90.2 MB and got uninstalled, new BitGApps package is 66,5MB. How is it possible, if BitGApps is smaller than NikGApps?
I have tried to wipe dalvik & cache and reboot, on both slots, but system partition size does not change.
I remember before flashing NikGApps that /system was around 150MB free. It looks like all the NikGApps were there yet, despite the log showing they have been uninstalled.
Now I am in a bootloop on both slots as I do not have any possibility to flash a GApp package due to the system partition free size.
I am checking some tutorials about resizing system partition size on TWRP on the "Repair/resize file system" menu, but i got no "/system" partition to tick (the system partition is mounted under the "Mount" menu), so I am lost.
What could I do to free/resize the system partition to at least accomodate the BitGapps package (around 20MB)?
Thanks in advance.
Regards.
@jfromeo
It is packed size of BiTGApps package. Actual installation is 200MB's for 12.1; It varies for different Android Version.
Thank you.
I ended up factory resetting the phone, so I will start from scratch.
Sideloaded LineageOS ROM and got flashed correctly. Tried to sideload BitGApps and got insuficient space in system partition again (around 55MB this time)
Which command is used to restore the partition table to default? I do not mind losing any data as it is factory reset. I just want a default /system size to be able to install/update GApps eventually.
Thanks in advance.

Categories

Resources