yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] frankusb:
Whether it's the proper place or not, adding the above line in device/asus/grouper/aosp_grouper.mk results in the OTA build.prop containing:

ro.wifi.channels=13
[Nexus 7 Android Development] Geko45:
[MENTION=2188693]AndDiSa[/MENTION], just wanted to let you know that I found a workaround for your 6.0 ROM and this IMEI issue. There is an Xposed module that will generate a random IMEI number and assign it to the device (Device ID Changer). This allows Play Movies to work even though there is no broadband hardware (my guess is the device ID is being generated correctly now). It by no means bypasses any DRM (you can't play movies you haven't bought), but it does allow the app to work as intended. There are also similar root apps in the Play Store that could probably work on 7.1 right now.

So, no need for a last 6.0 build anymore. Thanks for pointing me in the right direction! As soon as [MENTION=4419114]rovo89[/MENTION] gets Xposed working on Nougat, I'll be moving up to your 7.1 build. Was really impressed by how smooth it was on these old devices.

Thanks again!
[Nexus 7 Android Development] k ahangar:
Hi [MENTION=2188693]AndDiSa[/MENTION]

I installed latest version but camera isn't work
[Nexus 7 Android Development] Ahkah:
This has already been discussed here. Please search this thread for "camera".
[Nexus 7 Android Development] pm5k00pm5k00:
storage

Ii just flashed 7.1.1 on my 2012 wifi 32gb nexus 7, and everything seems to be working, however in storage it show that i have used 24GB in system with the fresh install and only 5GB free. I'm not sure what step I missed or how to fix. Any advice is appreciated.
[Nexus 7 Android Development] pm5k00pm5k00:
Ok nevermind, wiped all partitions and reinstalled, and its all good now.
[Nexus 7 Android Development] N7Tester:
Quick question: is there any way to install this ROM with Multirom? I tried it with the previous version but failed every time. I've seen that there is no updated version of MultiROM for about an year, but is there any alternative? Sorry if I'm off topic.
[Nexus 7 Android Development] spark001uk:
[MENTION=2188693]AndDiSa[/MENTION], I'm still on r19 at the moment, it's working great for me. (I don't use google play so the DRM isn't an issue for me). And I can also confirm everything else working fine, including wifi.

I was just wondering if you were any closer to a solution for the fast charging yet? Don't worry if not, it's not that big a deal for me (but would be handy in the event of needing a quick top up when short of time or something maybe).

Add: Battery life seems a little unsteady, but I've a feeling that's partly down to the battery itself. Don't think Asus make brand new genuine ones anymore either, and I'm not sure if the unbranded ones for sale on ebay etc are trustworthy? Anyone tried one?
[Nexus 7 Android Development] AndDiSa:
The OTG fastcharge patch us included in the last version, but it's related to enabling charging the tablet while using an otg device. Any other 'fast charging' patches are pretty useless unless you are using an AC charger which is not detected correctly. Charging current is fully controlled by the AICL and that chip is a bit sensitive to voltage changes which depend on the charger, the cable, the connections, ... (and which increase unfortunately with old batteries, too). I don't think that there is many we can do here ...
[Nexus 7 Android Development] hrand:
Hello there,

I managed to install 7.1 r_20 on my grouper. Thanks for the developers who made this. It seems smoother than my older stock rom 5.1.1, now I can browse on chrome app. I have a lot of things that aren't working, like i.e. home and recent app button ; calendar, contacts and play music don't sync ...

How to setup the adb debug? There is no developers option tab on settings.
[Nexus 7 Android Development] 239:
Sounds like not properly flashed, try a full clean wipe next time.

You have to unhide the developer options first, like on every device.
[Nexus 7 Android Development] :
Google Play Service crashing constantly

Hello AndDiSa,

great work! Thank you very much for providing this custom ROM. I was stuck on Android 5.1.1 for over a year now and had no joy anymore with my NEXUS 7 (2012) 3G (Tilapia). Thought of reverting to 4.4.4. Before it worked 1 week and longer with one battery charge, with 5.1.1 not longer then 2 days! And performing very bad, up to 30 sec untill responding. Now my NEXUS 7 will possibly render useable again.

This is my first attempt to flash a custom ROM. It took me a while to dive into this subject. Now I've got TWRP 3.0.2-0 on it and also 7.1.1_r20.

Without Gapps it's working like a charm again. But I'm not able to install working Gapps. Not the Mini_dynamic you suggestet nor the Open Gapps Nano. Google Play Services are crahing constantly. Also I'm not able to load Apps via PlayStore - Authentication missing although there is a Google Account configured.

I read the hint, that this might result from missing permissions. I already tried several times to reflash + flash Gapps in one step. No success. In that case there are no Gapps after reboot to system.

Flashing the ROM and directly rebooting to recovery does not work, cause the Power / Vol+ / Vol- method does not work. I never see TWRG this way. The NEXUS is simply hard powered off after a while and rebooting. Access to bootloader and recovery mode exists only through adb or NRT and the NEXUS plugged via USB to the PC. But I didn't find a way to flash the Gapps this way to a working configuration.

What can I do? Any options?

Bowen5
[Nexus 7 Android Development] AndDiSa:
[MENTION=8100492]Bowen5[/MENTION] if you boot the system without having gapps flashed, you need to adjust the app permissions afterwards otherwise you will get crashes. That's the reason why I suggest to wipe and to flash the ROM and gapps in one step without booting into the system in between.
[Nexus 7 Android Development] spark001uk:
[MENTION=8100492]Bowen5[/MENTION] I had exact same problem first time I flashed, I mistakenly thought I should boot into android before restarting and flashing gapps. It caused the same issue.
[Nexus 7 Android Development] :
Thank you for reply and support on this.

[MENTION=2188693]AndDiSa[/MENTION]

How can I do this?

I did so but than I don't see gapps later when booting to system.

This is how I proceed: Booting the NEXUS to system, plug it via USB to PC, launch NRT, choose Reboot to Recovery, TRWP Recovery appears, Wipe > Advanded Wipe > Dalvik/ART Cache / System / Cache / Data, (only Internal Storage not), Install aosp_tilapia-7.1.1-ota-eng-20170207.ds.zip, Return to main menue, 2nd time to Install e.g. Mini_Dynamic_GApps-7.1.x-20170121.zip, Reboot, that takes a while, meanwhile I see the "Google" on the screen, than a long time the shading and lighting "android", than 7.1.1 Screen appears with wipe to unlock screen - but no gapps.

[MENTION=2288749]spark001uk[/MENTION]

Yes, I got the point, but I don't know how to perform that without having the Power / Vol+ / Vol- working while power on. And doing it in one step as described does not solve my problem.

It is not a problem with the buttons. They are working well, e.g. when I boot to Boatloader I can easily use the Vol+ and Vol- to select "Recoverey Mode" and select that with Power. But that does not work while Boot Process.

Bowen5
[Nexus 7 Android Development] AndDiSa:
[MENTION=8100492]Bowen5[/MENTION] instead of 'reboot' you should be able to choose 'reboot to recovery' after flashing the ROM. Beeing then again in recovery you can flash gapps.

Btw. I wouldn't use a toolkit, but fastboot and TWRP directly ... just a hint.
[Nexus 7 Android Development] :
Yeah. Great, now it's working!

I missed the option "Boot to Recovery" in TWRP main menue. There is also a Reboot Button after flashing a ROM, but that one does not provide any options and reboots into system. This time I got also the first start wizzard back for setting up the system. This assistent did not show up all the times before. Play Store is working. Super. I'm happy.

For all with the same issue: It is required to reboot into recovery mode directly after flashing the custom ROM and before flashing gapps. Just to have this reported again ;) My problem was, how to perform this.

If working, this can be done by pressing Power and Vol down on power up, select "Recovery mode" with Vol up/down and push Power once. If that does not work (like with my NEXUS), and given TWRP is already active, you could use platform-tools (sorry, I'm not allowed to post outside links yet [developer.android.com/studio/releases/platform-tools.html]) and further on with the command

adb reboot recovery

to go there. Once there in TWRP after flashing the custom ROM, return to main menue and choose "Reboot" / "Reboot Recovery", than flash gapps and not till then boot to system.

NRT was my choice because I couldn't get TWRP flashed

and

booted into TWRP. All the attempts endet with the standard fastboot returning. Or with the android figure with a red triangle on the belly and the option with Power / Vol+ again in the more or less standard situation. Or selecting "Recovery Mode" in the Bootloader finding me immediately back on the choice "Recovery Mode" in the Bootloader. No chance because I could not intercept the boot process with the hardware buttons after flashing TWRP to enter recovery mode and make TWRP persistent.

Bowen5
[Nexus 7 Android Development] hrand:
So I clicked many times the build number on setting but I can't see any developer options appearing [emoji53]

---------- Post added at 14:42 ---------- Previous post was at 14:12 ----------

Finally, it's ok now, I reflashed again the rom. I did a full wipe in twrp, did a reboot to recovery after flashing the rom, then installed the mini gapps ; rebooted again now into system. Everything seems working.
[Nexus 7 Android Development] andreyeurope:
Many thanks

Hi [MENTION=2188693]AndDiSa[/MENTION], I would like to thank you very much for your work.

I bought my Nexus (tilapia version) right when it launched on the market in 2012.

I was using CyanogenMod 12 until some days ago, when I flashed your modified ROM. And I must say it is amazing.

Some points that I love:

+ Performance optimization for a non 64 bit processor

+ Battery life ( a lot better than Lollipop at least)

+ Charging speed

Thank you again for your work and keep going on. :good:
[Nexus 7 Android Development] MikZa:
Has anyone upgraded to this and can confirm if it is faster than CM13 rom? (https://xdaforums.com/nexus-7/development/rom-cyanogenmod-13-nexus-7-t3279938)

Thanks.
[Nexus 7 Android Development] Geko45:
Yes, I had it loaded and it is definitely faster than CM13 on our aging devices. Even AndDisa's 6.0 ROM (which I'm on right now because there is no Xposed support for 7.x yet) performs better than CM13.
[Nexus 7 Android Development] MikZa:
Thanks, probably worth mentioning in the OP, but I had to reboot the TWRP recovery in-between installing the ROM and GApps, it didn't work correctly for me otherwise.
[Nexus 7 Android Development] k ahangar:
Hi [MENTION=2188693]AndDiSa[/MENTION]

I instaled this rom for more time like your steps but I have fc & fc & fc &...

For example what are true permissions for Tapatalk?
[Nexus 7 Android Development] AndDiSa:
Then you either booted into the system before you flashed the gapps or you restored settings / apps / ... from a previous ROM by using e.g. Titanium. Both will lead to force closes. For Tapatak e.g. you don't need to adjust the permissions if you install the app from the app store.
[Nexus 7 Android Development] k ahangar:
Thank you

I flashed rom and reboot to recovery and flashed gapps and flashed SuperSU and... Like your all steps.

And i didn't use any backup...

But I have more force closes every time!!!

---------- Post added at 11:07 AM ---------- Previous post was at 11:01 AM ----------

Tnx

My steps:

Factory reset...

Flash ROM and reboot to recovery

Flash gapps ( I tested with and without reboot to recovery)

Flash SuperSU

Wipe...

And boot to system

But I have force closes every time!!!
[Nexus 7 Android Development] AndDiSa:
Did you use the gapps linked in the OP? Did you flash SuperSU in systemless mode? What happens if you do not flash SuperSU at all?
[Nexus 7 Android Development] k ahangar:
yes i used gapps that you linked in first post

I doubt about it, please Explain me Simply:(
[Nexus 7 Android Development] AndDiSa:
As written in the second post of this thread, SuperSU needs to be flashed in systemless mode because there is too few memory on /system otherwise there is a risk that you get FCs.

Btw. the same is valid for using SuperSU and f2fs file systems ... there is a bug in SuperSU that might lead to problems.
[Nexus 7 Android Development] akillenb:
DRM seems to still be an issue, with Google Play Movies - always gets a license error when trying to play anything.
[Nexus 7 Android Development] AndDiSa:
This was already discussed here and will be fixed in the next version.
[Nexus 7 Android Development] :
Hello AndDiSa,

just want to say thank you very much again. :) :good: Great work.

A little feedback. Last Sunday I could finally manage to flash my NEXUS7 (see previous posts), charged it up to 100% and configured some things. So here is the first discharge period:

Run-time before 1 to maximum 2 days, now 5 days again. Wow! What a success.

The two noticeable steps in this discharge graph result from longer usage while configuring and while constant use of the web browser, both each about 2 hours. The display brightness is fixed at about 60%. NFC and Bluetooth off, usually no SIM Card inserted, only WLAN. Meanwhile the usage was intermittent for short mail checks or a quick looks on to some websites.

A full charge period from 6% to 100% took 160 Minutes. Ok to me.

I had a few "force closes" (less than 5 times while this period Sun to Fri) with no other recognizeable problems. Also ok to me.

Now I was trying to install Whatsapp on the device. Via PlayStore: device not supported >> tablet. So I allowed installation from third party source but then I received a download deny message while trying to download the apk package with Chrome because it can not find the SDCard storage. Did not dig further into this yet.

Alorotom
[Nexus 7 Android Development] AndDiSa:
[MENTION=8100492]Bowen5[/MENTION] thank you very much for your feedback. I am also getting 3 to 4 days of usage. During sleep I have current usage of around 0.3 %/h ...:)

Regarding your download problems: have a look at the storage permissions granted to Chrome, most likely they are missing.
[Nexus 7 Android Development] miatawnt2b:
Download issues with chrome can be fixed with TWRP. Advanced->Fix Contexts

-J
[Nexus 7 Android Development] Cosmic_Commander:
Help needed. Not working for me.

Nothing like a true nougat.I did all that was mentioned and now i am really disappointed it didn't work for me. Was on CM 12 and after that was on krassmensch CM13 build for a long time tried to go with this one today but it didn't quite work for me even though i followed instructions and even installed gapps too.Terbuchet and Cyanogen Themes app were missing too along with AudioFX was it an installation problem or you didn't provide those ?
[Nexus 7 Android Development] AndDiSa:
[MENTION=8108413]Cosmic_Commander[/MENTION] probably you should read first the instructions before flashing a ROM and placing unqualified comments
[Nexus 7 Android Development] Cosmic_Commander:
Let me know what wrong did i do..

1. TWRP 3.0.2 Installed ?? Yes

2. Downloaded 7.1.1 OTA from your site and dynamic gapps from your link too ? Yes

3. Installed latest superuse systemless ? Yes

4. Wipe those things that's mentioned ?? Yes

5. Rebooted ? Yes

6. Device setup starts ?? No

7. Google play login?? No

8. Gapps showing after flashing via twrp from mini dynamic gapps provided by you ? No

I was really mad at that time and i am sorry for my behaviour. Please i really wanted to install and upgrade to Nougat and after reading all the positive comments on your thread i had my hopes high but it didn't worked out for me. Can you please help me ? A video depicting the whole process might be great maybe if you know someone who has made video of the process please let me know, thank you. I apologise for my behaviour that was really inappropriate and wrong. I hope you will help me. And also i want to know why wasn't there terbuchet or Audio FX and cyanoogen themes app when i first started the rom provided by you ?
[Nexus 7 Android Development] AndDiSa:
[MENTION=8108413]Cosmic_Commander[/MENTION] if you would like to use CM / LinageOS, so please install a CM based ROM and not an AOSP based one, you cannot expect features from CM / LinageOS if you do not install it. Probably the build from [MENTION=3729448]aaopt[/MENTION] will satisfy you.
[Nexus 7 Android Development] Cosmic_Commander:
Thank You..i saw it it looked more complicated to me. Will try it after a nandroid backup of current 6.0.1. And it's more unstable than yours..G-apps config and properties it's way too much.
[Nexus 7 Android Development] grantu1a:
Issues flashing AOSP rom using TWRP

Hello,

I'd really like to test out your custom rom for my 2012 32gb Nexus 7. I have flashed factory images to my Nexus devices in the past, but never a custom rom. Once I finally worked up enough courage to try a custom rom, I chose yours and followed the instructions very closely. I ran into issues while trying to install the zip files using TWRP. I kept getting the error, "Could not find 'META-INF/com/google/android/update-binary"

TECH SPECS:

Mac (OS Sierra)

2012 Nexus 7 (32GB) WIFI

Was running KitKat 4.4.4, but ran into the META issue

I flashed android 5.1.1. stock factory image

Tried everyone again and still got the META issue.

Please help me,

Thank you
[Nexus 7 Android Development] AndDiSa:
Did you update to TWRP 3.0.2 before? How did you try to flash?
[Nexus 7 Android Development] Danielmariuss:
Hi, I installed this ROM is interesting, just as I sense a problem, 3G does not work all the time, I have to do a reboot and after work, after a while I do not have 3G and have to do a restart.

Thank you
[Nexus 7 Android Development] mausbock:
[MENTION=5170262]Danielmariuss[/MENTION]

This issue has already been reported. See posts #801 to #808 for details. I hope, AndDiSa will fix it in one of the next releases.
[Nexus 7 Android Development] jbkingdon:
f2fs recommended?

Many thanks for this great work, it's fantastic to be able to use my nexus again after the mess that Google left it in.

I've tried to read through a good chunk of this thread, but there's a lot of it (!!), and I'm still confused about f2fs. Are there benefits to converting some or all of the partitions to use f2fs, or is that not recommended? I saw some mentions of an incompatibility with superSU, but at the moment I'm not using any su tool.

I also saw a recommendation to run fstrim regularly, how should this be done, and is it still required if using f2fs?

I have the 8Gb version of the nexus if that has an impact on the above questions.

Thanks again,

James
[Nexus 7 Android Development] AndDiSa:
[MENTION=8119094]jbkingdon[/MENTION] f2fs is supported, but I do not use it. If you use trim (search for Trimmer in Play Store) regularly there is not really an advantage in using f2fs ...

f2fs has better support for ssd / flash memory and you do not need to run fstrim, but I am not sure whether it's really worth to change the filesystem on out device. Regarding the 8GB device you have, you might run into performance issues, it depends a bit on the flash memory built in, e.g. on my device I can notice a substancial performance decrease when ther is less than 4GB of free memory.
[Nexus 7 Android Development] grantu1a:
Yes, I flashed TWRP 3.0.2 onto the device. I would flash it from twrp using the install feature. I kept messing around with it last night and somehow resolved the issue.

It was either that I switched to a PC or that I did not do an advanced wipe (in twrp) prior to installing the ROM.

I'm not here to complain, but I am flashing back the KitKat 4.4.4 factory image as I came across many app crashes.

I'm not sure if it was normal, but encountered many freezes while going through the initial setup. It kept saying that settings was not responding.

Maybe I did something wrong, but the potential is here for this to be great.
[Nexus 7 Android Development] gouchouya:
hi

since xposed do not support nougat

i cant use gravity box to hide navigation bar on 7.1

so immersive mode is the best way for battery life

and aosp20161207 ROM work well but new release not

how can i fix it??
[Nexus 7 Android Development] mafarric0:
[MENTION=2188693]AndDiSa[/MENTION] I only rooted my tablet to be able to use trimmer once a week, but I also use F2FS. Are you saying that there is no need to trim if we use F2FS?

Thanks

---------- Post added at 17:10 ---------- Previous post was at 16:57 ----------

I spoke too soon. I googled and found this:

"F2FS is auto trimmed. One of the problems with EXT4 is it slows down over time because it needs trimming. You can manually trim EXT4 using fstrim but F2FS already does this for you."

This way there is no need to trim if one uses F2FS :D
[Nexus 7 Android Development] AndDiSa:
[MENTION=4336485]alezardstar[/MENTION] yes, I've read your posts and the docs. I've also tried to build a version, but there are some glitches and it's not stable yet. The next release definitely will *not* support substratum ... probably at a later time.
[Nexus 7 Android Development] Portgas D. Ace:
"immersive mode is the best way for battery life" - could you explain this? Why should battery life depend on immersive mode?

"and aosp20161207 ROM work well but new release not" - this is in no way a detailed issue report. If you report issues, please specify what does work and what not, which steps you performed to flash the ROM. Without those information, you won't receive any valuable reply.
[Nexus 7 Android Development] gouchouya:
well

i want to hide the navigation bar

so i must find a way to use "back" "home" "recent" button

and immersive mode better than other geusture app for battery life
[Nexus 7 Android Development] Portgas D. Ace:
If the navigation bar is hidden, how would you like to navigate? Pie control? Or swipe up to show navigation bar again? For both cases, there are apps available on the Play Store which don't require Xposed.

And you didn't specify what was your issue with the latest version of this ROM.
[Nexus 7 Android Development] AndDiSa:
new release based on 7.1.1_r25

Hi guys, I've just uploaded a new release of the ROM based on 7.1.1_r25, March 2017 security fixes.

Beside the security fixes and some minor bugfixes / optimizations, I've made several changes to the kernel and the boot image. The most important ones:

zRAM 200MB default enabled

optimizations for interactive governor

For me the this combination provides a good compromise between battery usage and performance, but I would like to get some feedback from you whether it matches your usage profile.

After updating to the new ROM, please do wipe cache/dalvik. The first boot will take some time and after booting up there will start some optimizations of ART. I noticed, that when an app is optimized and you are using the app in parallel the app might close unexpectedly (without force close message) but you can restart it immediately afterwards.

For changing zRAM settings / OTG-charging mode / ... currently there is no possibility to manage those from inside the ROM, but you can e.g. use Kernel Adiutor

I am thinking about integrating it a further release.
[Nexus 7 Android Development] Ahkah:
The Play Store does no longer work. The app starts with a white screen, and after some time it crashes ("Google Play-Dienste wurde beendet").
[Nexus 7 Android Development] AndDiSa:
[MENTION=5917730]Ahkah[/MENTION] did you flash Gapps?
[Nexus 7 Android Development] Ahkah:
Well, I did, or better: I had done. In fact I did not reflash today. Do I have to? In February I had installed Mini_Dynamic_GApps-7.1.x-20170121.zip, and I thought they should survive an OS update.