yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] Sib64:
Hi,

You need to format all partitions before to flash this rom.

That's why I've suggested you to make a nandroid backup with TWRP before to wipe all ( and all it's for me: Cache - Dalvik - System and Data)

We need to make a nand backup before to flash something, You don't know the result of your flash !

So you can go back and avoid being faced with a black screen or in front of a home screen that runs constantly... it's not really funny!!
[Nexus 7 (2013) Android Development] kioshi:
Regarding the guy who has problems with system ui message....

I didn't format the partitions or anything. I did a clean wipe off everything but the internal storage when I first using the rom as a Nougat build.

I'd suggest trying all things before blaming the rom. This Rom has been flawless compared to other rooms that bog down.
[Nexus 7 (2013) Android Development] followmsi:
Have a look here .. maybe it helps you :

https://github.com/followmsi/manifests/tree/flo-deb-aosp-nougat
[Nexus 7 (2013) Android Development] followmsi:
From the first page .. :)

- Please install Magisk.zip and/or SuperSu.zip yourself.

- Due to systemless rooting - if you have installed magisk and/or supersu before you need to install it again !

- If you install SuperSu.zip it will boot twice - no panic, it's normal !

- If you had gapps installed before you don't need to install gapps again - the installer will take care.

- If you face any strange issues, pls do a factory reset via TWRP first.

- If you have problems with SetupWizard from opengapps - pls install opengapps after first system boot.

- BeansGapps SetupWizard should have no problems at all !

- If you face any strange issues, pls do a factory reset via TWRP first.

This means wipping data, cache and dalvik.

Internal storage will be kept.

In certain cases, as some apps are installing stuff onto internal storage too, you may need to wipe it as well.

In case of strange issues like "system ui stopped" .. etc .. pls have a start with a normal "factory reset" via TWRP.

Hope this helps ..

Cheers
[Nexus 7 (2013) Android Development] diohi:
just started with compiling it's way more complicated than i thought :D

sticked to that and Makefile in the root directory was missing but i guess thats missing in the AOSP source.

Still trying to figure out how to add some features like advanced restart options and double tap statusbar to sleep but finding features in commits is pretty hard^^

Thanks anyway for your great work!
[Nexus 7 (2013) Android Development] m00head:
You can achieve both these things in a much easier way than modifying and recompiling the ROM. One of the ways is to use the Xposed framework:

[Xposed] NeoPowerMenu - Create your own Power Menu - XDA Forums

https://xdaforums.com/xposed/modules/mod-neopowermenu-t3324581

[MOD][XPOSED][4.0+] DoubleTapToSleep v1.0 - XDA Forums

https://xdaforums.com/xposed/modules/mod-doubletaptosleep-v1-0-t2667177

Another way would be to use an app such as this one:

Advanced Power Menu [ROOT] – Android Apps on Google Play

https://play.google.com/store/apps/details?id=com.noxx.apm
[Nexus 7 (2013) Android Development] followmsi:
Quick update ...

The new google sources did arrive a few days later this month .. Last night and not on Monday - unlike the previous months.

As I will leave for vacation very soon the time is short - too short for the new July ROM.

The July release will arrive a bit later this month .. approx. 3 weeks from now.

Sorry, but it's holiday season :D

Once back we may start to look into Android O as well :)

Happy holidays !
[Nexus 7 (2013) Android Development] yattodettaman:
Good Holydays
[Nexus 7 (2013) Android Development] dealpapa1:
enjoy your holiday. :)
[Nexus 7 (2013) Android Development] defim:
[MENTION=5480152]followmsi[/MENTION]: In case i want to try to build it myself .. which revision should be used? r18?

N2G48B	android-7.1.2_r19	Nougat	Nexus 6P, Nexus Player, Pixel C
N2G47Z	android-7.1.2_r18	Nougat	Nexus 5X

You used

N2G47W	android-7.1.2_r12	Nougat	Nexus 5X, Nexus 6P, Pixel C
and
N2G47O	android-7.1.2_r8	Nougat	Nexus 5X, Nexus 6P, Pixel XL, Pixel, Pixel C

Btw, you remember how much GB needed to be downloaded?
[Nexus 7 (2013) Android Development] followmsi:
Once I am back I will use android-7.1.2_r19 .. but there is no difference anyway.

Approx. 40GB for a complete build tree.

Good luck !
[Nexus 7 (2013) Android Development] defim:
[MENTION=5480152]followmsi[/MENTION]: Thx! I'll try. Happy holidays!
[Nexus 7 (2013) Android Development] dealpapa1:
oh yeah we can have [KERNEL] [July 2] ElementalX-N7 6.10(Universal)
[Nexus 7 (2013) Android Development] aristofeles:
Any way to enable sms on this (Deb) ROM?

PS: just found that hangouts 17 seems to work
[Nexus 7 (2013) Android Development] Kenni:
Has anyone successfully managed to get the latest version of Netflix (v5.2.0) running on this rom? If so, how?

My observations:

Leaving out SuperSU allows the application to be installed from Google Play Store, but the application playback keeps failing.

Renaming /system/lib/liboemcrypto.so gets the Widevine security level up to L3 according to the "DRM Info" app, which apparently fixes the issue on some other Android tablets/ROMs, but doesn't on this one (tested with both Netflix v4.16 and v5.2.0)

Installing drmblobs.zip works when side-loading the legacy v4.16 version of Netflix, but doesn't work with later versions of the Netflix app.

I've also tested two other drmblob collections, with no further success: "android 7.1.1 widevine.zip" and "drmblobs_datafreak.zip".

Anyone? Thanks.. :)
[Nexus 7 (2013) Android Development] defim:
[MENTION=5480152]followmsi[/MENTION]: Was not able to build image, fails early as no proper Makefile is found. I'm alsoconfused why lunch has a razor and a flo item .. should be the same.

But the good thing: Building LOS worked - so i could update from cm without cleanung data partition :D (but i had to export _JAVA_OPTIONS="-Xmx4096m", default was 2gb)

[MENTION=2022194]Kenni[/MENTION]: Maybe magisk with su + suhide instead of supersu? (i never used it by myself)
[Nexus 7 (2013) Android Development] grmcdorman:
Not the latest, no. An older version, 4.8.5 build 9781, runs perfectly, though. You can find it on apkmirror (www dot apkmirror dot com).
[Nexus 7 (2013) Android Development] Sindee75:
Hello, My nexus 7 2013 is stuck at the boot animation on marshmallow stock, 6.0.1, build mob30x.

If I install this custom Rom will it boot normally? I tried lineage but it also booted stuck in boot animation. I'm hoping a custom Rom will get me out of this stuck at boot animation. Btw, ALL stock images from 5.0.1 and up get stuck in boot animation. Only 4.4.4 and below does NOT get stuck at boot animation. This problem has been driving me nuts for way too long ? please advice. Thank you, Cindy
[Nexus 7 (2013) Android Development] dealpapa1:
Android 8.0 arriving in mid-August
[Nexus 7 (2013) Android Development] Sib64:
Yes, normally without any problems. I'm on this rom since the begining with DevSwift1.

I've tried the Lineage rom, and I had some problems and I came back on this version there that turns very well.

Don't forget to make a nand backup with your previous and stable rom.

And I will suggest you to format all (Cache - Dalvik - System and Data).

let's go and play with this release :good::cool:
[Nexus 7 (2013) Android Development] drewski_1:
do you have the latest Bootloader installed?
[Nexus 7 (2013) Android Development] Sindee75:
Yes, latest bootloader was installed. Just got it fixed with a custom kernel! Now boots ok! Thank you for your help!
[Nexus 7 (2013) Android Development] dealpapa1:
Stock/AOSP/LineageOS (Android 6.0.1/7.+)

ElementalX-N7-6.11
[Nexus 7 (2013) Android Development] followmsi:
Have a look here .. https://github.com/followmsi/manifests/tree/flo-deb-aosp-nougat

Finally to build:

. build/envsetup.sh
lunch razor-userdebug (flo)
lunch razorg-userdebug (deb)
make -j8 otapackage

Hope it works for you too ..

Cheers
[Nexus 7 (2013) Android Development] followmsi:
Back from vacation .. Finally the July 2017 release ..

AOSP_7.1.2_r19_N2G48B_flo-ota-eng.followmsi.zip

AOSP_7.1.2_r19_N2G48B_deb-ota-eng.followmsi.zip

Changes:

- Google July Security updates -> 7.1.2_r19_N2G48B

- ElementalX kernel 6.11 sources ( https://github.com/followmsi/flo_elementalx/tree/followmsi-6.11 )

- Still the same installer .. will keep your gapps installation.

- As we overwrite the complete boot.img you need to install Magisk and/or SuperSU again.

- Not sure about the current state of SetupWizard from opengapps. (If you face problems, pls use beans gapps version.)

Just FYI .. I have tested Magisk v13.3 .. the installation went fine but inside system several apps are going crazy.

Went back to Magisk v12.0 and all is fine again .. except for broken Saftey-Net stuff.

Pls reinstall always fresh boot.img via TWRP before you install any new Magisk/SuperSU version for testing - otherwise you may bootloop.

Enjoy .. :)
[Nexus 7 (2013) Android Development] dealpapa1:
welcome back. Thank you so much. I will test this new version tonight. It is time to move to 8.0. lol :good:
[Nexus 7 (2013) Android Development] defim:
[MENTION=5480152]followmsi[/MENTION]: Thanks! Yes i saw the steps in README.md, but the last "make" did not find a Makefile. I'm not very experienced with compiling, so its possible i did a stupid mistake :o
[Nexus 7 (2013) Android Development] espionage724:
I believe you can do a shallow clone instead (if you don't need past commits and stuff) and download about 10GB.

On another note, have you tried using the AOSP master branch by some chance? I'm wondering it it'll work?
[Nexus 7 (2013) Android Development] followmsi:
No .. did not try to build in master branch .. would expect tons of build errors.

When Android O arrives in AOSP we can start playing again ;)
[Nexus 7 (2013) Android Development] followmsi:
Quick update on Magisk v13.3 ..

If you disable Magisk Hide and reboot all works fine - like on Magisk v12 too.

If you enable Magisk Hide (and reboot) the "webview implementation" (developer options) is gone - a lot of webview related apps are force closing.

If you install Chrome BETA the webview apps will work again.

On different device running LineageOS I don't have this problem using Magisk 13.3.

There is a source-code patch for webview signatures existing .. the patch is already included in this ROM.

Will check the issue again .. to hopefully fix the "webview implementation".

Maybe it's a Magisk bug .. have seen a lot of webview issues on github and xda.

Or maybe it's related to my old and dirty data partition :)

Cheers
[Nexus 7 (2013) Android Development] rajsris:
How do we get Netflix to work on this rom with root enabled?
[Nexus 7 (2013) Android Development] dealpapa1:
cancel netflix and save some money :p
[Nexus 7 (2013) Android Development] dealpapa1:
Google Pixel: NJH47F (factory image, OTA)

Verizon: NHG47Q (factory image, OTA)

T-Mobile, Fi carriers, and Rogers: NKG47S (factory image, OTA)

Deutsche Telekom: NZH54D (factory image, OTA)

Google Pixel XL: NJH47F (factory image, OTA)

Verizon: NHG47Q (factory image, OTA)

T-Mobile, Fi carriers, and Rogers: NKG47S (factory image, OTA)

Deutsche Telekom: NZH54D (factory image, OTA)

Pixel C: N2G48C (factory image, OTA)

Nexus 6P: N2G48C (factory image, OTA)

Nexus 5X: N2G48C (factory image, OTA)

Nexus 6: N6F27I (factory image, OTA) / N8I11B (factory image, OTA)

Nexus Player: N2G48C (factory image, OTA)

Nexus 9 (LTE): N4F27K (factory image, OTA)

Nexus 9 (Wi-Fi): N9F27H (factory image, OTA)
[Nexus 7 (2013) Android Development] Ch3vr0n:
Your point is? That entire post has zero to do with this specific topic for a custom ROM for the N7 2013.

Sent from my Nexus 6P with Tapatalk
[Nexus 7 (2013) Android Development] followmsi:
2017 August ...

AOSP_7.1.2_r28_N2G48C_flo-ota-eng.followmsi.zip

AOSP_7.1.2_r28_N2G48C_deb-ota-eng.followmsi.zip

Changes:

- Google August Security updates -> 7.1.2_r28_N2G48C

- ElementalX kernel 6.11 sources ( https://github.com/followmsi/flo_elementalx/tree/followmsi-6.11 )

- Replaced "old" AOSP webview prebuilt sources by latest prebuilt sources (LineageOS)

- Maybe there are still some webview implementation issues with activated Magisk Hide on fresh boot. (13.3)

- Still the same installer .. will keep your gapps installation.

- As we overwrite the complete boot.img you may need to install Magisk and/or SuperSU again.

- The ROM installer did detect my Magisk 13.3 installation too - and did automatically reinstall Magsik.

Enjoy .. :)
[Nexus 7 (2013) Android Development] dealpapa1:
You are the best. I will upgrade tonight and report back if I have any issues. Can't wait to get 8.0. :highfive:
[Nexus 7 (2013) Android Development] followmsi:
HotFix release ... to finally fix the webview issue.

AOSP_7.1.2_r28_N2G48C_flo-ota-eng.followmsi-v1.zip

AOSP_7.1.2_r28_N2G48C_deb-ota-eng.followmsi-v1.zip

Changes:

- Fix for webview -> broken signatures due to additional and wrong config file.

https://github.com/followmsi/android_device_asus_flo/commit/515940b22980e90a95a54bfbb5173371dbdb7d9a

Enjoy .. :)
[Nexus 7 (2013) Android Development] RazGame:
It means magisk now works fine ?
[Nexus 7 (2013) Android Development] followmsi:
Yes .. Now "Magisk hide" seems to work fine as well .. reboot persistent :)
[Nexus 7 (2013) Android Development] dichton:
cant wait for android 8. keep up the good work OP
[Nexus 7 (2013) Android Development] dealpapa1:
SuperSU developer releases suhide lite, an app that hides root status on Android phones (for now)

08/09/2017 at 6:05 PM by Brad Linder 2 Comments

Rooting an Android phone lets you customize the behavior of your device, access protected files and folders, and generally muck around with the operating system. But it also makes your phone more vulnerable to malware, because if you can alter system files, then so can third-party software. So it’s not surprising that some Android apps won’t work on a rooted device, including many banking apps, Android Pay, and a number of streaming video apps (which probably has to do more with fending off piracy than protecting your personal data).

But if you want to get around those restrictions, there are a few apps that can hide the root status of your device from Google’s SafetyNet… for now. One is Magisk, a tool that also provides a bunch of other features. And now here’s another option for folks looking for a simpler solution. It’s called suhide lite, and it’s developed by Chainfire, the developer of the SuperSU utility for rooted devices.

If you’re already using Magisk, there’s probably not much reason to switch. But if you’ve rooted an Android 6.0 or later device with SuperSU 2.82 SR2 or later, Chainfire says suhide lite should do the trick.

This is actually an update to an older app called suhide, which no longer works. And Chainfire notes that at some point,, suhide lite could stop working as well — because right now developers are playing a game of cat and mouse with Google. Developers find a way to trick Google’s SafetyNet so that it doesn’t notice that a device is rooted, and Google updates SafetyNet so that it does notice. Rinse and repeat.

Eventually though, it’s possible that Google could change the way SafetyNet works to make it significantly more difficult for developers to hide root status.

While Chainfire’s pessimistic of the future of utilities that hide root, and also describes hiding root as a “bad idea,” he knows that it’s something people want to be able to do, so he released an updated version of the tool, giving users an alternative to Magisk.

You know, until they both stop working.

Note that in addition to a rooted device with SuperSU, you’ll need TWRP 3.0.2 recovery installed on your device in order to flash suhide lite.
[Nexus 7 (2013) Android Development] followmsi:
Thanks for the info .. I do like all the Chainfire development projects. ;)

We had to fix the webview issue anyway - independent of the systemless rooting tool.

In this case Magisk Hide was "helping" to find the root cause ;)

Cheers
[Nexus 7 (2013) Android Development] dealpapa1:
https://xdaforums.com/apps/supersu/suhide-lite-t3653855

I might just give up on both of them. This is the first time I did not flash any zip for root and the battery consumption seems better. :good:
[Nexus 7 (2013) Android Development] followmsi:
HotFix release 2 ... the last one this month :p

To finally fix the opengapps SetupWizard issue on clean install.

AOSP_7.1.2_r28_N2G48C_flo-ota-eng.followmsi-v2.zip

AOSP_7.1.2_r28_N2G48C_deb-ota-eng.followmsi-v2.zip

Changes:

- Fix opengapps SetupWizard issue on clean install -> Enable WiFi by default on first boot

https://github.com/followmsi/android_device_asus_flo/commit/6f62a8c2f3a36851a38f16d81876e649bf636a75

https://github.com/followmsi/android_device_asus_deb/commit/e37cf2e63efc0ebba0ee3774f9d9e5afb40411f5

Enjoy .. :)
[Nexus 7 (2013) Android Development] Fenvarien:
Thanks for your awesome work and for keeping our Nexus 7 2013 up and running! :good:
[Nexus 7 (2013) Android Development] Ch3vr0n:
Just flashed this rom again after reverting to last stock one for game issues. Wiped /system / data and both caches. Followed by rom flash & bean gapps. Setup wizard started and it's now been just sitting there "checking for updates" for 5 minutes so far without ever progressing. This happens for both "new device" as "restore from backup" option

edit i think the problem is down to this when trying to boot into recovery?

Supported API: 3

E: Unknown fs_type "f2fs" for /cache

E: Can't mount /cache/recovery/last_locale

Edit 2: then tried flashing rom only. Worked and booted into rom.

Flashed bean gapps mini: setup wizard didn't start. Went to play store: added account "cannot connect to google servers"

and google also prompted me again if i was trying to login from a 2012 device
[Nexus 7 (2013) Android Development] milliman:
I can't find the files. Did you remove them for some reason?
[Nexus 7 (2013) Android Development] followmsi:
You will loose custom recovery if you do not install SuperSU or Magisk.

Or let TWRP manipulate the system partition.

Have tested clean install with opengapps (stock) from Aug. 12 ... No setupwizard force closing anymore.

2012 .. has been discussed in this forum here .. seems to be quite random.

Have seen reports it happens with Google stock ROM too.
[Nexus 7 (2013) Android Development] followmsi:
Which files ? ;)
[Nexus 7 (2013) Android Development] milliman:
The latest ROM files for Deb and Flo. They are not on your Google Drive.
[Nexus 7 (2013) Android Development] followmsi:
It seems they are inside the Google drive folder .. did you try in different browser ? .. etc.

https://drive.google.com/drive/folders/0By6p5AdQfavBUlhsLWFHZThGTnM

Cheers
[Nexus 7 (2013) Android Development] milliman:
Thanks for the link but it took me to the same place in the G-Drive app on my Nexus 7. I thought about what you said, and accessed the link from my desktop and the ROM files were there as expected. I wonder if the Google Drive app caches the directory or has some other funkiness going on. I've never had a problem downloading the files directly before.

In any case, I just transferred the files to the Nexus 7 and will start flashing now.

Thanks for your response.
[Nexus 7 (2013) Android Development] dealpapa1:
Google Drive app on nexus 7 sucks. :cyclops:
[Nexus 7 (2013) Android Development] followmsi:
Kernel change to "stock" Google MSM kernel !

I do love the ElementalX kernel .. but the battery drain in deep sleep mode is quite heavy.

At least for the compiled version which is integrated into this ROM.

Like the developer recommends you should install the EX kernel via "official" installer - to set all features and values correctly.

We don't set any features or values - we just use the compiled kernel binary inside boot.img.

Of course, you can use EX Kernel Manager .. etc. to change all the stuff.

But here we are talking about "default" values - without any changes.

For this reason I strongly recommend to use the "official" EX installer for flo/deb devices.

For all the next ROMs we will switch to "stock" google msm kernel.

We will use fresh LineageOS kernel sources which are the base for monthly EX kernel changes as well.

We should not start a big discussion about the kernel now :)

One reboot into TWRP and you can install every kernel you like.

But the good "old" stock kernel seems to run very well - at least without any "configuration".

Pls have a test yourself ..

flo-kernel-aosp-20170810.zip

flo-kernel-aosp-20170810.zip.sha1

Installation:

1. Boot into TWRP

2. Install the Kernel Update.Zip file (the kernel works for flo and deb devices)

3. Reboot into system .. no need for SuperSU / Magisk !

Sources:

https://github.com/followmsi/android_kernel_google_msm/tree/followmsi-nougat_2017-08-10

Enjoy :)
[Nexus 7 (2013) Android Development] miki67:
It's true.... With stock Kernel now my battery drain in deep sleep mode is very limited...

I don't know if a new reinstall of ElementalX over this ROM solve battery drain, but at this moment the good "old" stock kernel run very well also for me... Thank you followmsi... [emoji6]

Inviato dal mio Nexus 7 2013 (AOSP Nougat 7.1.2_r28_N2G48C) con Tapatalk 6
[Nexus 7 (2013) Android Development] Steffen.e:
Downloadet it three Times !! From an open Hotspot, from my WiFi @ Home ..AND from my Mobile 4G Network !!

And everytime i wanna flsh it .. it says :

"ZIP file is corrupt!

Error installing zip file '/usb-otg/AOSP_7.1.2_r28__N2G48C_flo-ota-eng.follwmsi-v2.zip' "

WHY ??

and yes... I tried it from Internal Storage too .. with no luck -.-

Edit: SOLVED !!

I don't know Why^^

But it worked after i put the Files from my Phones Internal Store on my Laptop .. and from Laptop to a thumb Drive ... -.-
[Nexus 7 (2013) Android Development] dealpapa1:
did I say google drive sucks?
[Nexus 7 (2013) Android Development] rajsris:
Any way to enable double tap to wake on stock Google kernel?
[Nexus 7 (2013) Android Development] Rammv:
I tried to install your rom and am getting an error code 20 on gapp install. This is with a clean install wiping a everything. Never ran into this before. Thanks
[Nexus 7 (2013) Android Development] followmsi:
Did you take arm 7.1 version ?

Pls post more Infos.

THX
[Nexus 7 (2013) Android Development] Rammv:
Yes tried pico and nano.
[Nexus 7 (2013) Android Development] followmsi:
Gapps installation works normally without problems on this ROM.

At least for me.

Pls more Infos :) .. Pls send the gapps log file ..

Thx
[Nexus 7 (2013) Android Development] TheDigitalSlacker:
In my case it was the Settings -> Apps being set to no permissions. No idea how it got like that, never had it happen before.

thanks for the fix!

---------- Post added at 09:26 PM ---------- Previous post was at 09:23 PM ----------

I did run into odd gapp issues running F2FS on cache/data until I upgraded TWRP to followmsi's build.
[Nexus 7 (2013) Android Development] doringrecu:
Hi there every one so first i would like to say thanks to the develepor of such a good ROM and recovery, but when i try to flash the latest aosp for my clean device (Flo), i get a error: 7

In which i have no idea what it is, so if you can help dont hesitate, or if you need more information i'll be here.

Thank very much :)

PS: oh what i flashed was:

1- Update.ZIP_flo_resize2fs_system.zip

2- AOSP_7.1.1_r28_N6F26U_flo-ota-eng.followmsi.zip

3- Opengapps pico.zip

4- SuperSu.zip

But because number 2 never flashes, the rest wont too, as expected.
[Nexus 7 (2013) Android Development] followmsi:
Does it say you want to apply an older version onto newer version ?

Quick answer ..

Google add an automatic check into the install script when you compile the OTA.

You use 3.1.0. Recovery which is from March 8 - the ROM complains, as it's older.

I realized this today .. will upload a new version of the same rom without the check.

Now you can use older TWRP version or unzip the package and change yourself.

Or you wait 30 minutes and download the same rom again .. modified for smooth installation :)

Sorry .. very bad check in this script. :(
[Nexus 7 (2013) Android Development] doringrecu:
Wow that was fast, and yes you guessed it, what you have described is the symptom my device has.