yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] schlurchz:
Same issue here trying to install the pico gapps with sysrepart_1280_120.zip:

Total System Size (KB) | 1291240
Used System Space (KB) | 1045280
Current Free Space (KB) | 245960
Additional Space Required (KB) | 57972 << See Calculations Below
# Begin GApps Size Calculations
------------------------------------------------------------------
TYPE | DESCRIPTION | SIZE | TOTAL
| Current Free Space | 245960 | 245960
Remove | Existing GApps | + 0 | 245960
Remove | Obsolete Files | + 0 | 245960
Remove | androidauto | + 0 | 245960
Remove | cmsetupwizard | + 0 | 245960
Remove | extservicesstock | + 0 | 245960
Remove | extsharedstock | + 52 | 246012
Remove | packageinstallerstock | + 3080 | 249092
Remove | provision | + 0 | 249092
Install | Core | - 259232 | -10140
Install | calsync | - 2548 | -12688
Install | gearheadstub | - 3172 | -15860
Install | googletts | - 29752 | -45612
Install | packageinstallergoogle | - 3144 | -48756
| Buffer Space | - 9216 | -57972
------------------------------------------------------------------
Additional Space Required | 57972
------------------------------------------------------------------

I'll check the "cross" package you've linked to.

Edit: I went with flo-deb_clamor_repartition.zip instead, which results in a system partition of 1.5GB, which was enough to install opengapps pico, as the open_gapps_log.txt shows:

Total System Size (KB) | 1512624
Used System Space (KB) | 1045312
Current Free Space (KB) | 467312
Post Install Free Space (KB) | 163380 << See Calculations Below
[Nexus 7 (2013) Android Development] TimTams:
Hey all, new to LOS here. Just thought I'd report my experience with 20201207.

Install was a breeze, thankyou for such concise instructions that actually worked. Rare in these parts.

Got a few black screen moments and a sudden reset the first time I opened Settings. Subsequent openings of settings worked fine.

The device runs very hot but I expect as much... it is after all Android 11.

I used BiTGapps... App store is installed but searching for an app crashes the play store and a later attempt reset the device. Will try another gapps I guess. I tried after leaving the device idle for an hour or so and it worked. Perhaps RAM limit?

I'm missing something - I thought it was possible to disable display animations? Perhaps I'm thinking of an older Android version. Performance is *almost* acceptable but as it is, just a bit too slow for the device to be useful for what I want it to do. Is there anything I can change / disable to improve performance?

Thanks again for the excellent ROM.
[Nexus 7 (2013) Android Development] mlbl:
anyone have any idea how to fix installing games from play store that goes into the obb folder - ex: fruit ninja 2 or metal slug 3? It always fails, i even tried to delete the obb folder from TWRP to have it recreated, but the install still fails all the time from play store no matter what :(
[Nexus 7 (2013) Android Development] GeekyTanuj:
Try making use of X-plore file manager and move files if you happen to download the game from other sources apart from the playstore.
[Nexus 7 (2013) Android Development] mlbl:
I can't as i'm looking to install from play store - I have some paid games that i dont want to get from outside sources. For now i've downgraded to LineageOS 17.1 (Android 10) until this issue is resolved..its really annoying as many roms are based off Lineage and they're all impacted too :(
[Nexus 7 (2013) Android Development] passed_by:
hi! i changed sysrepart_1280_120.zip and now size partition system changed to 1350 Mb. after this opengapps pico installed fine. use it at your risk.
[Nexus 7 (2013) Android Development] Vi7eta:
After dirty flashing latest los 18.1 goot endless bootloop

dosent boot into recovery, dosent boot into fastboot as well..

Just endless bootloop, many times dosent even get switched off either

How to force boot into recovery/fasboot
[Nexus 7 (2013) Android Development] ipdev:
If stuck on the splash screen or boot animation.

Press and hold the power button, might take up to a minute but, it will turn off.

Then to boot into bootloader or recovery.

Bootloader (fastboot)

Press and hold Volume Down, then press and hold Power.​

Recovery

Press and hold Volume up, then press and hold Power.​

You might have to play with the key combinations a bit.

If you are in a bootloop, you might need to hold the Volume down (or up) and power during the bootloop.

Might bootloop once or twice before the key combination is recognized.

Once in fastboot or recovery you have the option to power off if you need to.

I have left mine powered off in a broken state a few times. ;)

Hope it helps more than confuse. 🙃

Cheers. :cowboy:
[Nexus 7 (2013) Android Development] Vi7eta:
It Must have took so much much time typing it.. thanks for replying, i have tried these already

Actually I was on august build and i flashed latest build over it without wiping system first.. everything went fine without any error untill i tried rebooting into system.. it just restarted once, got google logo screen then after 2 seconds screen went blank then after 1-2 second the screen again lit up automatically then after 2 seconds it goes blank again.

I can switch it off if i hold power button for long enough but when i try to reboot into recovery/fastboot with power+vol combination it just straight goes into the bootloop state.
[Nexus 7 (2013) Android Development] Marxy8:
HolaHello, I am new to this, I followed the steps indicated for but when I try to install the rom, it puts me error 1, I have looked in the forum but I do not understand the solutions. Have if someone with patience takes pity on me. Thanks in advance.
[Nexus 7 (2013) Android Development] St.Ungulant:
To all those trying to install this ROM and OpenGapps and ending up in Error 70, regardlessly of using the repartition tools provided here:

I tried to install "lineage-18.1-20211008-UNOFFICIAL-deb.zip" followed by OpenGapps AROMA on my device yesterday. After some trial&error and ending up with a device that wouldn't do anything but starting in fastboot mode, I finally succeeded with the following procedure:

Use Restock to go back to factory firmware. What you need ist "Restock2.zip". See that thread for instructions (it's easy, just download and start the script and follow the on-screen instructions).

Download CROSS (from the first post, take CROSS2.zip, the current cross-update-vx.x.zip and sysrepart-ultimate.zip). Unzip CROSS2.zip and, afterwards, unzip the Update Package to the same folder, replacing existing files. Finally, place sysrepart-ultimate.zip in the "data" sub folder of the folder you extracted CROSS to.

Download Magisk-v23.0.apk, place it in the "data" folder and change the ending from "apk" to "zip" (new name: Magisk-v23.0.zip)

Download open_gapps-arm-11.0-aroma-20211102.zip and put it in the "data" folder as well. You might want to use the most current version from https://opengapps.org/, you need "ARM" (not ARM64!), "Android 11.0", "Aroma". If you download a newer version you need to adjust the file name in the following.

In the CROSS folder, make a copy of "lineage-install-3.bat" (call it whatever you like). In that copy, you need to adjust 2 lines.

In line 50 replace:

set GAZN=open_gapps-arm-11.0-pico-20210130-UNOFFICIAL_TEST.zip

with:

set GAZN=open_gapps-arm-11.0-aroma-20211102.zip

In line 52 replace:

set RTZN=Magisk-v21.4.zip

with:

set RTZN=Magisk-v23.0.zip

Save the file you just modified.

Drag&Drop the ROM Zip File onto that modified batch file you just created an follow the on screen instructions. Pay attention to all the output. For example, when the script asks you to wait for the TWRP MAIN screen (not the startup screen!), do so - don't continue too early.

When the aroma installer starts, select the options/apps you want. There should be enough space for all of them.

Optionally, think about giving the touchscreen fix a try - this helped me a LOT!

Many thanks to

followmsi​

k23m​

sfhub​

You guys brought my old hardware to new life. It will now serve as a home automation and media center.
[Nexus 7 (2013) Android Development] Djeypi:
Well, well, well... So Nexus 7 lives again!

I would like to thank you very much, to all those who made This possible!

Flashed repartition, recovery and rom with nanogapps... Perfection! :D

Made it rooted with magisk 23... Works flawlessly! Loving This new life of my Nexus 7!

Thank you very much for This huge update! :D (brought from the dead)
[Nexus 7 (2013) Android Development] followmsi:
LineageOS 18.1 - November 2021

lineage-18.1-20211105-UNOFFICIAL-flo.zip

lineage-18.1-20211105-UNOFFICIAL-deb.zip

Changes:

- Google Security updates -> November 2021

- Patched frameworks/base & apps/PermissionController to support microG

- Latest LineageOS changes for Android 11

Pls check first page for installation instruction and known issues !

Tested flo build with opengapps (pico) and Magisk 23.0.

Installed with latest TWRP 3.5.2.

Enjoy Android 11 :p
[Nexus 7 (2013) Android Development] jhford:
The 18.1-20211105-UNOFFICIAL.deb ROM is installed on my deb. I have tried to install 3 different GAPPS files, ipdev's https://www.mediafire.com/folder/qxo023zef5chm/unofficial, BITGapps package for ARM, and opengapps.org ARM 11 pico and they all fail to install and throw the same error: "This GApps is for Android 11.0.x ONLY. Please download the correct version for your ROM: 6.0.1 (SDK 23). I've flashed this ROM and many others too many times to count, and this is new to me.

Any help will be appreciated
[Nexus 7 (2013) Android Development] ipdev:
For some reason the GApps installer script(s) is not finding the system (ROM) installed. :unsure:

The error is because the script is defaulting to (since it can not find the system) the Android version the TWRP build is based on.

TWRP is build using omni SDK23 (Android 6) as a base.

What version of TWRP are you using?

The newer official TWRP deb fail to build for some reason.

I can not build it currently. :(

One of my previous posts has links to my personal build of TWRP 3.5.2 for deb.

Post 84815923 - Link

If you are not using TWRP 3.5.2, I would highly recommend updating.​

Hope it helps. 🙃

Cheers. :cowboy:
[Nexus 7 (2013) Android Development] jhford:
I figured it out. I had previously installed followmsi's TWRP version. I flashed 3.4.0-0-deb.img and GAPPS installed perfectly. The issue is followmsi's version.
[Nexus 7 (2013) Android Development] ipdev:
That is odd. 🤨

When I tested followmsi's TWRP builds for deb they worked for me.

I am currently running TWRP 3.5.2-9 on both my flo and deb with no issues.

¯\_(ツ)_/¯

Happy to hear you got Lineage and GApps installed. :)

Cheers. :cowboy:
[Nexus 7 (2013) Android Development] hooutoo:
Is this rom working in 9008. System+vbmeta?
[Nexus 7 (2013) Android Development] Udonitron:
Bah getting a boot loop.

Did everything exact...maybe a bad DL of the OS?

When installing it goes smoothly but I am getting an error message:

"Failed to mount "/vendor" (invalid argument).

Sounds like my wife has infected my tablet.

EDIT

OK I disabled the reinstall of TWRP and it seems to have worked however I can no longer get into TWRP recovery and the gapps I installed must have not installed properly lol.
[Nexus 7 (2013) Android Development] Udonitron:
Every GAPPS I install tells me insufficient storage, even with PICO.

Any ideas?
[Nexus 7 (2013) Android Development] Udonitron:
OK I have now made a total F'ery of my tablet.

I have flashed so many images over the years but this one is driving me F'in NUTS!

All I wanted was to get G apps installed and now I have no OS and all sorts of issues, cannot boot now of course.

Any ideas?

Cheers

EDIT

OK managed to get that sorted but I am still stuck at the GAPPS (pico) not able to install due to insufficient space. :(

Read up a lot and tried all the tricks but no dice, still get an error 70.
[Nexus 7 (2013) Android Development] luckywang95:
I have the same issue if you use the opengapps downloaded from the opengapps page, even after repartition. Using the gapps (test) in the first post and can install without any issue.
[Nexus 7 (2013) Android Development] luckywang95:
This rom works pretty well compared to previous rom i used. Maybe it is still pretty "clean" now as I performed a clean install. The only issue i have now is with the laggy youtube 60fps. Playing 60fps offline video is fine though. I remember I have this issue with all previous roms too...
[Nexus 7 (2013) Android Development] Udonitron:
Ah OK, did you use pico from this folder?

MediaFire

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com
[Nexus 7 (2013) Android Development] luckywang95:
I use the "open_gapps-arm-11.0-pico-20210130-TEST.zip" in

flo - Google Drive

drive.google.com
[Nexus 7 (2013) Android Development] followmsi:
System repartitioning / Opengapps: Error 70 - Part 3

The build size is increasing .. and the required free space to install gapps is increasing too,

Stock flo / deb system partition size is 840MB (cache is 560MB) .. over the time we have changed this to 1280_120 .. and now we move on to 1380_20.

sysrepart_1380_20.zip

We have used the same script .. just different values.

Still based on the solution from @k23m

https://xdaforums.com/showpost.php?p=76278047&postcount=19

We are just changing system and cache partitions .. data and all other partitions stay untouched.

I have tested the script on flo device only, but should work on deb device like before.

Just installed latest open_gapps-arm-11.0-pico-20211125.zip without any issues .. still 139 MB free space on system. No idea about nano packages ... needs testing.

Hope this will help for the next time .. maybe for 19.x too ;)

All the credits to @k23m !

Cheers
[Nexus 7 (2013) Android Development] blaze2051:
Its awesome that the nexus 7 flo as a send life once again. I havent tried Os 17.1 because ranking android Os from #1-10 android oreo ended at #2 spot followed by android 10 as being the most official stable Os builds. Personally i just upgraded from 6.0.1 to 8.1 using AOSP extended and its pretty damn smooth and battery life its not bad at all. I feel if i were to upgrade again it would only be willing to go up-to OS 10 and stop there, due to aging hardware specs.
[Nexus 7 (2013) Android Development] theupboat:
Whats the difference between this build and the "offical" one from the Original Android Development subforum ? I'm trying to decide between the two.
[Nexus 7 (2013) Android Development] amem:
how can I upgrade to this I have lineage-18.1-20210721-UNOFFICIAL-deb installed on my nexus7?
[Nexus 7 (2013) Android Development] b1g_up:
Try install recovery from gdrive folder, make factory and system wipes then install rom.

Had the same error on old version of recovery.
[Nexus 7 (2013) Android Development] Ty07allstar:
How were you able to fix the errors? I am receiving the same errors as you did.
[Nexus 7 (2013) Android Development] Udonitron:
I haven't, yet lol.

I will give a try on what b1g_up suggested today and see what transpires.
[Nexus 7 (2013) Android Development] Udonitron:
Which gdrive folder are you referring to?
[Nexus 7 (2013) Android Development] followmsi:
LineageOS 19.0 - BETA

Let's go for Android 12 .. this is an early build of lineage-19.0.

Tons of lineage customizations / settings / bugfixes are still missing !

As Lineage SetupWizard is still missing I did made dirty upgrade from 18.1 and just wiped my system partition in TWRP.

Using sysrepart_1380_20.zip the system partition is still too small for opengapps beta packages for Android 12. But BiTGApps-arm-12.0.0-R44_signed.zip works well.

lineage-19.0-20211130-UNOFFICIAL-flo.zip

lineage-19.1-20211130-UNOFFICIAL-deb.zip

Known issues:

- Tons of lineage customizations / settings / bugfixes are still missing !

- SELinux is permissive

- RIL/LTE is not working yet (DEB device)

- Maybe more issues ..

Tested flo build with Magisk 23.0.

Again .. it's still a beta build.

Thanks to @ipdev for helping and testing !

Enjoy Android 12 :p
[Nexus 7 (2013) Android Development] Udonitron:
Nice...giving it a shot but getting this lol...ahhh.

You think it was just a fragmented download?
[Nexus 7 (2013) Android Development] Udonitron:
OK all good now.

After following the suggested wipes and getting those errors I just did a basic wipe in TWRP and rebooted into recovery and then installed the latest Android 12 ROM followed by the small GApps and all went perfectly.

Cannot believe how well this old tablet runs 12!

Nice job
[Nexus 7 (2013) Android Development] taw62:
It works surprisingly well! Seems faster and smoother than LOS 18. A big thank you to @followmsi !
[Nexus 7 (2013) Android Development] brewer75:
I followed the flashing instructions and successfully installed the new lineage-19-20211130 with absolutely no problems. I haven't had the opportunity to give it a thorough test yet but I can say so far it seems to be working very well. Magisk passed Safetynet and for a Beta, it is much better than expected at this point!
[Nexus 7 (2013) Android Development] followmsi:
ElementalX kernel for Android 12

It's some kind of tradition to build EX kernel for the latest Android version ..

For the new kernel version I have merged all the changes since last EX kernel build.

Actually quite a few changes ..

To make it boot on Android 12 it requires massive binder update and various other changes.

Also the latest lineage kernel changes are inlcuded.

Due to boot problems I had to remove EX thermal adjustments and kernel-based thermal control.

The new kernel should run on Android 11 as well.

But the older EX kernels will not run on Android 12.

Pls use latest TWRP to install the kernel.

ElementalX-N7-7.02-Twelve-20211202-AK3.zip (inside KERNEL subfolder)

In case you want to go back to "stock" kernel ..

flo-deb-followmsi-kernel-twelve-20211202-AK3.zip (inside KERNEL subfolder)

Changes:

- Merged latest kernel changes from lineage

- Updated Android binder for Android 12

- Removed EX thermal adjustments & kernel-based thermal control

- Various other changes

Sources:

https://github.com/followmsi/flo_elementalx/tree/ElementalX-7.02-Twelve

https://github.com/followmsi/android_kernel_google_msm/tree/followmsi-12

Big thanks to @osm0sis for AK3.

Enjoy :p
[Nexus 7 (2013) Android Development] Windsor1959:
I just wiped cache/dalvik on my flo. 12 installed fine and is running well, except that I lost Magisk along the way. I tried setting it up with the boot.img from Lineage 19.0. Magisk said that installation was a success, but no root. I can wait for that if need be. This beta is running well thus far!
[Nexus 7 (2013) Android Development] ipdev:
@Windsor1959

Magisk (23000) and Magisk canary (23010 -> 23015)) work fine on Lineage 19 flo.

Sounds like your Magisk install got borked when you updated.

Did you have the Magisk app repackaged (renamed) ?

If more than one Magisk app is installed, the two conflict and will cause Magisk to not work properly.

What modules did you have installed and active ?

If you are using a module that is not compatible with l19 (Android 12) you may have another issue once you get Magisk active again.

You can try uninstalling the Magisk app(s) and reboot.

Magisk will add the stub app.

Basically a placeholder app that downloads the full version when selected.

Open the Magisk stub app and download the full version.

If you patch the lineage 19 boot.img file using the Magisk app.

It is recommended to use adb pull to copy the magisk patched version back to the computer.

Then reboot into bootloader and use fastboot boot to boot the magisk patched image.

Open the Magisk app and if Magisk is active, use the Direct install option to install Magisk into the boot image on the device.

Hopefully that will help or give you an idea of what to try.

Cheers. :cowboy:
[Nexus 7 (2013) Android Development] Windsor1959:
@ipdev:

Something was borked, all right! I don't have my Magisk app repackaged. I haven't installed any modules. Here's a summary of what I did and how I got Magisk to install properly.

I found that the Magisk-patched version ended up in my downloads folder. Is that where it should have gone?

adb pull kept giving me stat and input/output errors.

I used Android File Transfer to copy the Magisk-patched version to my desktop. (I have a Mac.) I then used Terminal to reboot my floor into boot loader mode. I entered the fastboot boot command and then copied the Magisk-patched version into the proper line in Terminal, and hit enter. My flo booted up. I then used the Direct Install option which installed Magisk into the boot image on my device.

Thanks for all your help! As you see, I was able to MacGyver this using your suggestions!
[Nexus 7 (2013) Android Development] patria o muerte:
Hi,

does this kernel have dtap2wake working?

Thanks.
[Nexus 7 (2013) Android Development] Curtis7990:
Coming from LineageOS 18.1 (flox), flashed to latest TWRP from fastboot, dirty flashed 19 and BiTGAPP, rebooted and did a factory reset from Android settings. Everything perfect! Thanks @followmsi
[Nexus 7 (2013) Android Development] ipdev:
Both of followmsi's kernels support DT2W.

His regular one, used when building lineage, by default DT2W is disabled.

You just need to activate it.

Using a kernel manager to enable DT2W.

Post 2,159 - Link

I have not check these settings in a while so, I am not sure if this is still accurate.

I use a Magisk module to enable it.

Post 3,339 - Link

Post 3,438 - Link

---

His ElementalX kernel, by default DT2W is enabled.

Cheers. :cowboy:
[Nexus 7 (2013) Android Development] jhford:
I made a bone-headed error with my sister-in-laws N7 2013 FLO. I flashed the followmsi DEB TWRP, instead. Then, to fix it, I did an Android Recovery Factory Reset (dead Android), and flashed the followmsi FLO. But now stock Android 4.4 (I think) and fastboot boots, but followmis's FLO TWRP doesn't boot. The tablet just hangs on the Google Splash Screen. My sister-in-law will be grateful for any help. :)
[Nexus 7 (2013) Android Development] followmsi:
LineageOS 18.1 - December 2021 -> Final 18.1 builds

This are my last builds for Android 11.

As always I move all my final builds to androidfilehost.com.

lineage-18.1-20211210-UNOFFICIAL-flo.zip

lineage-18.1-20211210-UNOFFICIAL-deb.zip

Changes:

- Google Security updates -> December 2021

- Various device and kernel changes !

- Patched frameworks/base & apps/PermissionController to support microG

- Latest LineageOS changes for Android 11

Pls check first page for installation instruction and known issues !

Enjoy Android 11 :p
[Nexus 7 (2013) Android Development] prsa01:
19/12 installed and seems to be running fine on my flo.

Somehow I lost the download files along with my latest 18 install file. The couple of months old copy of 18.1 I did have would install but would bootloop. OTG storage has always been hit/miss (mostly miss) on my n7. Luckily I could connect to my computer and booted to twrp could copy the install files to the n7 download folder and was then able to flash.

I did:

o resize partitions

o wipe system

o flash 19

o flash bitgapps

o flash magisk (not sure if that was necessary)

o wipe cache, etc

reboot to system, a couple of quick tweaks and all seemed well.

Thanks once again for continuing to do this. It IS appreciated!
[Nexus 7 (2013) Android Development] followmsi:
LineageOS 19.0 - Early builds

Some more early builds of lineage-19.0 ..

Still tons of lineage customizations / settings / bugfixes are missing.

lineage-19.0-20211212-UNOFFICIAL-flo.zip

lineage-19.1-20211212-UNOFFICIAL-deb.zip

Changes:

- AOSP December 2021 updates

- Latest LineageOS changes

- Fixed RIL/LTE connections (DEB device)

- A few device and kernel changes

Known issues:

- Plenty of lineage customizations / settings / bugfixes are still missing !

- SELinux is permissive

- Maybe more issues ..

Tested flo build with BiTGApps-arm-12.0.0-R44 and Magisk 23.0.

Thanks to @ipdev for helping and testing !

Enjoy Android 12 :p