[OFFICIAL] LineageOS 18.1 for the Nexus 7 2013 (Wi-Fi & LTE) - Repartition Only (flox/debx)

Search This thread

npjohnson

Recognized Developer
For those who don't have stock Android on this device anymore and want to switch to official LineageOS 18.1:

I had some problems installing official LineageOS 18.1 after I had tried out other unofficial ROMs. After several repartioning and wiping, I figured out a solution that worked for me. Strangely, only specific TWRP versions where able to work for this. For instance, I needed a custom TWRP version from user followmsi in order to run the repartition script from CROSS correctly, but needed another to be able to flash LineageOS (TWRP version must be compatible with the demand of "flox" from the LineageOS install script, in case you want to flash via updater).

So here are the steps:

- boot into bootloader (fastboot mode) by pressing Volume Down + Power button
- boot TWRP recovery via fastboot: "fastboot boot twrp-3.7.0_9-0-flo_followmsi.img"
- in TWRP: wipe all partitions + format data "yes"
- in TWRP: go to "Advanced" > "ADB sideload"
- on PC: "adb sideload sysrepart-ultimate.zip" (for 32GB version)*, wait until finished
*"adb sideload sysrepart-ultimate-2.zip" (for 16GB version)
- from TWRP, reboot to bootloader
- flash recovery: "fastboot flash recovery twrp-3.5.0_9-0-flox.img"
- boot recovery: choose "Recovery mode" via Volume Up/Down, confirm with Power button
- in TWRP > Wipe > Advanced Wipe > wipe all partitions (except Vendor), format data "yes"
(wipe several times to make sure partitions will be okay; I had some issues with this before)
- trim system: "adb sideload k23m-fstrim.zip" (optional)
- reboot into TWRP
- flash latest LineageOS: "adb sideload lineage-18.1-xxxxxxxx-nightly-flox-signed.zip"
- flash OpenGapps (optional): "adb sideload open_gapps-arm-11.0-pico-xxxxxxxx.zip"
- reboot into system

Magisk can be installed right after setting up LineageOS:
- in TWRP, flash Magisk.zip and reboot
- install Magisk.apk in LineageOS, start Magisk and follow instruction and reboot


File Sources:

twrp-3.7.0_9-0-flo_followmsi.img

sysrepart-ultimate.zip (for 32G device) / sysrepart-ultimate-2.zip (for 16GB device)

twrp-3.5.0_9-0-flox.img

k23m-fstrim.zip (extracted from CROSS zip)

LineageOS:

OpenGapps, size "Pico" (Android 11, ARM):
whyyyyy - the wiki works for this - you added so much stuff that doesn't need to be done lol.
 
  • Like
Reactions: BLewis4050

wyzzy

Member
Jan 14, 2009
9
1
I have this running perfectly on my Nexus. Can somebody please advise me on how I can overclock the CPU on this build? Previously I used ElementalX. Thanks
 

parrotgeek1

Senior Member
Feb 14, 2014
835
1,218
parrotgeek.com
@npjohnson I was unable to download the recommended repartitioning script. AFH says Oops! No mirrors found. I have noticed that this has been happening recently on files that have been there for years. Can you upload it elsewhere?

The other ones I tried didn't work and/or are dangerous.

I tried the one on Clamor's github and it didn't recognize my eMMC (16GB HAG2e). Then I tried sysrepart-ultimate.zip from another thread. It left me with a 13GB system partition and no data partition! I thankfully could manually fix this using parted, but it freaked me out and most people would not be able to fix it themselves.
 
Last edited:

npjohnson

Recognized Developer
@npjohnson I was unable to download the recommended repartitioning script. AFH says Oops! No mirrors found. I have noticed that this has been happening recently on files that have been there for years. Can you upload it elsewhere?

The other ones I tried didn't work and/or are dangerous.

I tried the one on Clamor's github and it didn't recognize my eMMC (16GB HAG2e). Then I tried sysrepart-ultimate.zip from another thread. It left me with a 13GB system partition and no data partition! I thankfully could manually fix this using parted, but it freaked me out and most people would not be able to fix it themselves.
lol on the 13 gb system partition - as for AFH - try now?
 

gnicolao

New member
Jan 18, 2010
4
0
Nexus 7
hi, I'm following the instructions to upgrade my nexus 7. after a fastboot the recovery image, I them enter recovery mode and now I have a broken android.

I can see the device in fastboot but not adb

C:\Users\georg\Downloads\nexus7>fastboot devices
015d262e33341603 fastboot

C:\Users\georg\Downloads\nexus7>adb shell
adb.exe: no devices/emulators found
 

npjohnson

Recognized Developer
hi, I'm following the instructions to upgrade my nexus 7. after a fastboot the recovery image, I them enter recovery mode and now I have a broken android.

I can see the device in fastboot but not adb

C:\Users\georg\Downloads\nexus7>fastboot devices
015d262e33341603 fastboot

C:\Users\georg\Downloads\nexus7>adb shell
adb.exe: no devices/emulators found
You are not following the guide. Your device is in fastboot, boot to recovery.
 

gnicolao

New member
Jan 18, 2010
4
0
Nexus 7
You are not following the guide. Your device is in fastboot, boot to recovery.
I've done the following

C:\Users\georg\Downloads\nexus7>fastboot boot lineage-18.1-20230505-recovery-flox.img
Sending 'boot.img' (10962 KB) OKAY [ 1.418s]
Booting OKAY [ 0.016s]
Finished. Total time: 1.496s

The nexus 7 just sits there. I restart, select recover, then just get the Broken Android image.

I dont have an option to go into advanced, enable ADB.

so stuck at the EFS backup step :(
 

npjohnson

Recognized Developer
I've done the following

C:\Users\georg\Downloads\nexus7>fastboot boot lineage-18.1-20230505-recovery-flox.img
Sending 'boot.img' (10962 KB) OKAY [ 1.418s]
Booting OKAY [ 0.016s]
Finished. Total time: 1.496s

The nexus 7 just sits there. I restart, select recover, then just get the Broken Android image.

I dont have an option to go into advanced, enable ADB.

so stuck at the EFS backup step :(
You do have the nexus 7 2013 right?

The recovery provided definitely works so I'm not sure why you're having issues...

Not 2012?
 

Djeypi

Senior Member
Hello!
Fantastic ROM! My flo was ressurrected. :)
Just need a little help.
On top of the screen it has a black space, as if it had a camera sensor on the screen like the iphone...
Is there a way to disable it as the front camera sensor on the flo is out of the screen.
I have looked but did not find nothing related to it in settings.
I have made a screenshot but it doesnt show... I marked the spot... Top of the screen.
Thank you!
 

Attachments

  • Screenshot_20230603-114112_XDA_Developers.png
    Screenshot_20230603-114112_XDA_Developers.png
    431.1 KB · Views: 31
Last edited:

BenGast

New member
Jun 7, 2023
3
1
Hello Everyone,

On the documentation, step 4. of Repartition is supposed to take "up to 5 minutes".

It has been more than 20 minutes and this seems not be be done (see screenshot).

Any idea of what I should do?

Thanks in advance!

Screenshot 2023-06-07 at 16.11.54.png
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Running the Sept 01 build. Auto rotate to landscape isn't working for me. Does it work for others? Asking because I just resurrected my tablet for the first time in years, and I can't remember if it was busted in the past.
    You probably need to reseat the cable. See this video.
    2
    Installed Sep. 1 build - seems to be working well.
    2
    Running the Sept 01 build. Auto rotate to landscape isn't working for me. Does it work for others? Asking because I just resurrected my tablet for the first time in years, and I can't remember if it was busted in the past.

    You probably need to reseat the cable. See this video.
    I was about to comment this, that cable comes loose really often on this device and it sucks.
    1
    Can someone please confirm how is the performance on these builds?

    I am currently running the official build which was the last 6.0.1.

    I mainly use this device for YouTube and watching streaming stuff. The performance is pretty slow while browsing in chrome.

    Can I expect better performance then stock?
    I haven't tried it on Stock 6.0.1 but other users have reported strong performance on the latest builds. However you will lose split screen multitasking but I'm looking into that
    1
    Running the Sept 01 build. Auto rotate to landscape isn't working for me. Does it work for others? Asking because I just resurrected my tablet for the first time in years, and I can't remember if it was busted in the past.
    Let me concur that proper seating of the ribbon cable is critical. Replacing a broken screen can lead to this problem, but it's also quite possible for the ribbon cable to lose proper connection all on its own.


    has instructions for screen replacement.
  • 34
    lineage-os-logo.png

    Nexus 7 2013 (Wi-Fi & LTE)

    Code:
    - Your warranty is now void.
    - You have been warned.
    - Use at your own risk.

    Introduction:
    This is the Official Lineage OS 18.1 thread for the Nexus 7 (2013, Wi-Fi & LTE).

    Downloads:
    Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.

    Official Builds:
    Unofficial - built once a month by me, includes GApps and Pixel goodies:
    If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

    Known Bugs:
    • None.
    • Find any? Report them according to this guide.
    Notes:
    • The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps.
    • This device _must_ be repartitioned before installation, the only supported repartition package is the one listed in the Wiki linked above - please make sure you followed it before attempting to install!
    Kernel Source: https://github.com/LineageOS/android_kernel_google_msm
    4
    debx support with full LTE support is live! Next time 18.1 builds roll (for the month of June) official builds should be up!
    4
    Thank you to all those who keep this tablet going. I get so much pleasure from it! Cheers to @npjohnson et al.
    4
    Hi ! Anyone else having trouble installing some apps from Google Play? They download to 99% and after it should go to install the app, it fails. But that is not the case for other apps. I have attached 4 screenshots. I have tried force stop and clearing data and cache for Download Manager, Google Play, Google Play Services, Google Services Framework, Package Installer and removing my google account and rebooting my flo. I have tried to repartition back to stock and then go back to flox partition . I am on 09.09 build . I have tried flashing LineageOS 18.1 with twrp 3.5 for flox and with Lineage Recovery. I have tried combinations with MindTheGapps and latest OpenGapps ARM Nano. I can't seem to install some apps from the Google Play Store no matter what I do. I can successfully install and run the .apk of the problematic apps from a different source just fine. The device is not rooted. Can you guys help? Thanks in advance !
    You can search flox kernel on the androidfilehost,and flash the latest kernel with twrp.