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.
Related
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.
I have downloaded Gapps pico. When I try to install error: Not enough space in System partition. Any remedy other than deleting apps?
John
technodino said:
I have downloaded Gapps pico. When I try to install error: Not enough space in System partition. Any remedy other than deleting apps?
John
Click to expand...
Click to collapse
Are you doing a full TWRP wipe before flashing the ZIPs?
Start Page TWRP> [WIPE]> [FORMAT DATA]> type YES press Blue CHECK in bottom right. - NP
No. I will format data & see what happens.
Thanks
John
I formatted Data and then changed to f2fs format. I received the same error: Insufficient storage space in System partition. I used TWRP 2.8.6.0. to format and to try to flash.
When I format Data should all my Apps get removed? All my apps are still present after format and changing to f2fs.
Anyway still stumped and would appreciate any help.
Thanks
John
technodino said:
I formatted Data and then changed to f2fs format. I received the same error: Insufficient storage space in System partition. I used TWRP 2.8.6.0. to format and to try to flash.
When I format Data should all my Apps get removed? All my apps are still present after format and changing to f2fs.
Anyway still stumped and would appreciate any help.
Thanks
John
Click to expand...
Click to collapse
Update the TWRP to 2.8.7.4 found here;
https://androidfilehost.com/?fid=24352994023705510
And yes all you apps should be gone you might also try a factory reset before you format data, circled int the pic. - NP
Thanks for your help.
All is working. Reflashed TWRP (latest 3.2 version and the TWRP app). Factory wipe, formatted data and then changed to f2fs format (all with TWRP). Installed KitKass 7.2.1 and gapps pico. Configured network and browser. Setup app did not work; kept shutting down so I installed system from my nandroid.
:highfive:
John
Nektopoli said:
Update the TWRP to 2.8.7.4 found here;
https://androidfilehost.com/?fid=24352994023705510
And yes all you apps should be gone you might also try a factory reset before you format data, circled int the pic. - NP
Click to expand...
Click to collapse
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!
After installing a ROM & Gapps, my Samsung Galaxy Note 10.1 3G & WiFi (N8000) boots into the initial setup but Clock, Calendar, Google Services Framework keeps stopping, can't complete the setup or do anything else.
Initially flashed Resurrection Remix Nougat v.5.8.5 ROM on the GT-N8000 with same steps as below without any issues, the initial setup and all google apps worked flawlessly but a day or so later was greeted with "Encryption unsuccessful" error upon booting. Went into TWRP, wiped everything, changed File system for Cache, System and Data from EXT4 to FAT, flashed ROM again with steps below, restarted and got stuck in the ROM's loading logo, loads/loops infinitely (waited over half an hour). Went back and changed back FAT to EXT4, flashed ROM again and this time it successfully got past the logo but started getting the Google framework stopping error.. someone please tell me there's something that can be done..
Steps I take
Boot into recovery TWRP 3.4.0-0
Wipe > Format Data & Factory Reset
Advanced Wipe > Wipe everything
Install ROM
Wipe Cache & Dalvik
Install Gapps
Wipe Cache & Dalvik
No errors during either of the installations, click Reboot into system
Loads into setup wizard, Google Services Framework keeps stopping continuously
Installing from Internal memory, no sd card. Installation process: https://imgur.com/a/zibaMTw
Have tried Current & Older releases of gapps (ARM-7.1-pico/nano) with multiple different downloads, same result
Cache - EXT4
System - EXT4
Data - EXT4
Micro SD card (N/A) - VFAT
USB OTG - VFAT
Have tried these ROMs with multiple downloads, same result
Resurrection Remix Nougat v.5.8.5
Slimroms Slim7
LineageOS 14.1 Nougat
Have no idea what to do at this point, anyone has a solution?
Thank you
SOLVED, read below
Solved
For those who may experience similar issue..
Downloaded Stock ROM N8000XXUDNE5_N8000OLBDNE3_XXV , Flashed with ODIN, rebooted and successfully got through with no google errors and worked without any issues.
Then started everything from beginning, Installed TWRP 3.4.0 with Odin, booted into Odin recovery, did all the format data, advanced wiped everything
Downloaded Slimroms Slim7 and latest Gapps ARM > 7.1 > pico put it on internal storage, Installed Slim7 ROM > Wipe Cache & Dalvik > Installed Gapps > Wipe Cache & Dalvik, rebooted back into system and got to setup wizard with no errors, was able to set it up and it's working perfectly now..
In short just had to flash back to stock rom and start the custom rom install from the beginning.
Here's to hoping I don't get another "Encryption unsuccessful" error in a day or so..
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.