yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] AndDiSa:
Please note:

the system partition is already quite full which leads to the problem that gapps probably will not install correctly and that may lead to weired problems (apps closing / not showing up correctly / ...). I suggest to use the dynamic gapps package linked above. In addition I suggest you to erase the system partition completely before applying the OTA package

If you get "Error 7" when trying to flash the ROM directly after upgrading to TWRP 3.5.2-9, wipe the Boot, System and Cache partition and clean dalvik-cache, then re-boot to Recovery and try again (you will not loose any data as long as you do not wipe the Data partition).

If you get "Error 70" when installing GApps copy the attached gapps-config files into the same directory where the gapps installation packages is copiedI.e. something like

/sdcard/open_gapps-arm-7.1-pico-20210922.zip

/sdcard/gapps-config-tilapia.txt

/sdcard/gapps-config-grouper.txt

and then try to start the installation again. Error 70 should be fixed.

Some additional hints

If you are in a bootloop which shows to Google logo again and again, it's sufficient to hold vol- while booting. The next bootloop will boot into bootloader.

If you are in a bootloop which shows the ANDROID splash screen continuusly, connect your device to your PC and enter

adb reboot bootloader

After a few seconds the device should show up the bootloader screen
[Nexus 7 Android Development] Nintonito:
Anyone have a list of issues? Does video playback in YouTube work correctly on this rom or is it broken like the other 7.0 roms? Have the UI glitches been fixed? Does NFC work?
[Nexus 7 Android Development] Nexive:
Why not figure it out by yourself?

If you flash this ROM you can create a list of what's working and what's not [emoji6]

Anyway, when I'm home, I gonna flash this ROM on my brother's Nexus 7 and give feedback. [emoji4]
[Nexus 7 Android Development] DSTear:
Wrong link in the post. Downloaded and flashed the last build on my device. After flashing ROM my device was getting cycle reboots and error with cache partition. Fixed that using ADB. ROM seems unstable and buggy. Getting error with Bluetooth share after booting. Navbar and top bar are always black. Old launcher isn't good. Replace it with any good launcher, please. I hope you'll keep work on it. Thank you, good job!

View attachment 3884176

View attachment 3884177

View attachment 3884178
[Nexus 7 Android Development] AndDiSa:
Thanks, I'll correct the link

Nevertheless your problems I cannot reproduce ... probably because I've done an update installation. I'll have a look at it.

What was the ROM you have had installed before? Did you wipe?
[Nexus 7 Android Development] adrman:
When i get a chance this weekend I'm going to try this with Phh Superuser and Magisk. That combo is/was working great on your MM rom.
[Nexus 7 Android Development] fred0r:
I flashed your ROM with TWRP 3.0.2-0 and after 'Patching system image uncondinionally' i get

Patching system image uncondinionally...
E:unknown command [log]
E:unknown command [log]
script succeeded: result was [1.000000]
Updating partition detail...
...done

I doublechecked the md5 of the file and reflashed but still no luck.

[Edit]

I rebooted and it seems to run....

[Edit2]

Flashing the plain ROM without the gapps seems to work - but after these gapps it doesnt start.
[Nexus 7 Android Development] tpuserhp:
I wiped caches, system and data. I installed Android 7 rom, falls and SuperSU. But went into bootloop. I then just installed rom and SuperSU. But keep getting Bluetooth Share keeps stopping messages after boot up. Thanks.

Trued to get into recovery. Now I am keep on getting the following error messages:

E:Unknown fs_type "f2fs" for cache

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

I cannot boot to Android or bootloader now. I removed battery and plugged it back in. But the same problem. It seems my device is bricked now.

Any suggestions to get out of this loop? Thx
[Nexus 7 Android Development] tpuserhp:
I can connect my grouper to my PC and enter adb reboot bootloader command. But I'm not sure what to do next to fix the cache error in recovery. Any suggestions? Thx

---------- Post added at 04:34 PM ---------- Previous post was at 04:18 PM ----------

Hi [MENTION=7571478]DSTear[/MENTION], I'm running into the same problem on the cache partition as you. I'd appreciate if you could share your method on fixing the cache error in advance. Thx

I was managed to restore the backup and install twrp again.

I think I will retire my grouper on MM now.
[Nexus 7 Android Development] AndDiSa:
As I can see, there are two main problems you ran into:

- you are using f2fs for cache and / or data and the version of twrp you are using is not supporting that file type

- you are flashing gapps / SuperSU /... but the space on /system is not sufficient

I'll update the OP to make aware of those possible issues and give some hints how to prevent them.
[Nexus 7 Android Development] tpuserhp:
I'm not using f2fs. I issued a mount command and did not find any f2fs hits. Not sure why I am getting those msgs. Odd.
[Nexus 7 Android Development] AndDiSa:
I've updated the installation instructions in the OP / second post

I've added some hints, too, how to get out of bootloops, if you encounter such situations.
[Nexus 7 Android Development] DSTear:
Hi. It's quite simple to fix that. Just connect your device to computer, then start bootloop. You will able to fix it using ADB:

adb reboot bootloader

And after that format your cache partition:

fastboot format cache

And reinstall TWRP just in case:

fastboot flash recovery [twrp img for your device]
[Nexus 7 Android Development] GuestD2048:
Bluetooth is not working.

Could Restart be added to the shut down menu please?
[Nexus 7 Android Development] AndDiSa:
Bluetooth will be fixed with the next release.
[Nexus 7 Android Development] hanschke:
difference to

http://xdaforums.com/nexus-7/development/rom-naosprom-nexus-7-2012-t3467335

:confused:
[Nexus 7 Android Development] fred0r:
Bluetooth isn't working.

*SCNR*
[Nexus 7 Android Development] GuestD2048:
I want Restart menu.

Next time

Please Support Restart menu.
[Nexus 7 Android Development] millosr:
I'm having the same bootloop issues when trying to go to recovery after my rom is installed. After adb reboot bootloader I have to flash twrp to fix that.

Do you maybe know what can cause this issue?

For the bluetooth I saw you already applied the fix to your source :)
[Nexus 7 Android Development] adstraylight:
Hmm, someone just posted that the surface flinger command seems to help with app crashes in the k3.4 development thread. Anecdotal evidence I know, but hopeful all the same....
[Nexus 7 Android Development] humano:
Just to report that the clock app crashes everytime you try to add more time zones. Just click the world button down and crash.
[Nexus 7 Android Development] adstraylight:
I've just found a way to get the service call to run, via an init.d emulator, so not a ROM issue after all. Most likely just my terminal emulator, will keep the forum of events.....no crashes so far though...

Edit: XDA app just crashed...lol
[Nexus 7 Android Development] tpuserhp:
I got Parcel(NULL) back from the command. I don't think it works. I'm using CarbonROM now due to oc.

After I started using zram, ksm, and scrolling caches, it seems no crashes yet for me. You might want to give it a try.
[Nexus 7 Android Development] adstraylight:
Actually I think that's the correct output, I'm also starting to suspect that the crashes have multiple causes. The only setup difference I have is KSM, which I may try later..

For now, the service call does seem to be making things smoother, possibly confirmation bias on my part, will see over time.
[Nexus 7 Android Development] tpuserhp:
Good to know that the service call seems to be making things smoother for you. I guess I will leave it in my script to run from my bootreceiver app. Im learning android programming and it is nice to see the notification from my app after boot :) init.d app would be much better.

Also, once you open the problem app, give it a few seconds to settle down might help too.
[Nexus 7 Android Development] adstraylight:
Yes, I find that too along with allowing the app to reside in background before use. For now I'm actively trying to cause crashes, interestingly so far none except the one with tapatalk....
[Nexus 7 Android Development] jolinnard:
Hi [MENTION=2188693]AndDiSa[/MENTION], I've tried this ROM at it's the best 7.x IMHO for gouper/tilapia. The rest of 7.x ROMs are laggy, and don't know why, because all of them seems very similar...

My problem is that I need 3G (I have tilapia) eventually. I compared the kernel and it's the same config for grouper and tilapia (in fact I'm running tilapia ROM nAOSP with your zImage, disabling PowerControl and using my own Kernel Adiutor MOD compilation. Feels better now, but nothing compared to your ROM.

Do you think it will be complicated to build a tilapia variant of this ROM?

I will try myself, but I don't know if I will achieve it.

Thank you!

PD: Maybe I'm missing some some ParrotMOD tweak that is integrated in your build? Will check again Parrot's zip and will apply all parameters manually and see if it helps with the lag.
[Nexus 7 Android Development] tpuserhp:
I have one app that crashes easily for me if I don't wait a bit after open. You might want to try it to cause crashes. Search for "apple daily" in play store. Once you open the app, then click on the first entry right away. I hope it crashes for you.

This app is in Chinese so might not be what you want. I hope u can get into the news entries screen.

I just clear the app data in settings and I'm not getting crashes now. Not sure this helps other apps that crashes.

Clearing app data does not help. It just crashes.
[Nexus 7 Android Development] humano:
What do I wrong when I connect the tablet with the computer and I cannot get it as usb drive to work and then send files to it?
[Nexus 7 Android Development] adstraylight:
Forgive me if this is stating the obvious, but you did enable file transfer by tapping on the charging notification?

---------- Post added at 09:05 AM ---------- Previous post was at 08:37 AM ----------

Sorry, I did look at it but couldn't work out how to use it!? It did seem like the app was struggling to start/load, so it might not be updated for Nougat yet. Play Newsstand got a lot better with the recent update.

I'm now using your config with KSM enabled, plus the surface flinger tweak, and it is so far so good for me. Occasional stuttering, I presume due to background RAM clearance, but overall felling snappier and smoother than before.

Google maps makes the whole tablet grind, if I don't clear all recents first, and swipe it away after using it. What I would give for an extra 1GB of RAM!?

I have to say though that for a four year old device, it's doing very well.
[Nexus 7 Android Development] tpuserhp:
Sorry you had problem using that app.

I only use about 200MB of zram. I tried google maps and it is with reasonable response.

For not resource intensive tasks, the tablet flies. I also oc to 1500 MHZ.

But battery uses quickly too. Charging cannot keep up with the battery uses.

I use greenify and I do not use facebook app. I use the lite version of facebook messenger.

I agree this old device performs very well. I use it to learn android and its programming. I have achieved my goaI to write simple android app before 65 next year. I have a Samsung tab s2 and I don't want to risk rooting it.

I also have a 5 years old hp touchpad running 7.1 too. Amazing.

A big thank you to all the rom developers!
[Nexus 7 Android Development] humano:
I tried that of course... File transfer, Camera and charging...... No diference in the computer. I just hear the ding dong, but no new unit is detected.

I tried deactivating the USB debugging but it's the same. It doesn't work. just the ding dong of windows.
[Nexus 7 Android Development] masterofmayhem:
Did you try installing (or reinstalling) the Nexus drivers?
[Nexus 7 Android Development] dooderooni:
I'd try the excellent Nexus Root Toolkit and use the Driver Installation Guide included in it. I was in the same situation, hearing the ding but not detecting the device.

http://xdaforums.com/showthread.php?t=1766475&page=544
[Nexus 7 Android Development] humano:
Oh ****... I forgot it. I have the windows N version of windows 10 that comes without such drivers.

Where can I download them?
[Nexus 7 Android Development] masterofmayhem:
https://developer.android.com/studio/run/oem-usb.html#InstallingDriver
[Nexus 7 Android Development] adstraylight:
Something else I've noticed is that the system feels like it takes a while to wake up from deep sleep, I guessed it might be storage related as pretty much most lag on the grouper is, so have taken the following out of 'battery optimisation':

Media Storage

MTP Host

Storage Manager

Early results seem promising, was wondering if someone else might give it a try to verify/deny? There doesn't seem to be any increase in battery use btw.

Had to turn off KSM as it was making the system jerky and inconsistent, I'm guessing due to the CPU overhead.
[Nexus 7 Android Development] abhifx:
ok this is new.. will have to try this
[Nexus 7 Android Development] AndDiSa:
[MENTION=2002216]jolinnard[/MENTION] I don't think it's too complicated to build a tilapia version, but I need a working N-device-tree and I am not able to test the builds, as I have only a grouper tablet. Probably someody else woudl like to volontier to build a tilapia version. The sources can be found on Github using the ads-7.1.0 branch. There are some minor modifications on system/core, frameworks/base, ... I didn't submit yet, but I can provide with a patch for it if needed.
[Nexus 7 Android Development] Tensor7:
Is it OK if i run fstrim once a day or it isn't necessary with this rom?
[Nexus 7 Android Development] AndDiSa:
[MENTION=7666836]Tensor7[/MENTION] it will not harm but it depends on how much storage you have still free
[Nexus 7 Android Development] DragonTome:
Any chance OTG support will come back?
[Nexus 7 Android Development] AndDiSa:
[MENTION=4222375]DragonTome[/MENTION] OTG support was never gone it was OTG-charging support ... but this is re-enabled again, even if I notice more problems with charging, again.
[Nexus 7 Android Development] DragonTome:
Hmmm...that's odd. My OTG (that I have used and worked before) is failing to be recognized. Using USB Media Explorer it is showing no device found.Perhaps I just forgot how to use my cable, apparently. I get it to function if I connect cable first then add the USB stick/drive. Sorry for the 'too quick' reply/question.
[Nexus 7 Android Development] skinniezinho:
Yesterday I installed this build. It seems snappier, and seems that the touch is better (I may have some kind of problem with mine).

ALthough it seems to me that it consumes more ram. Is it possible?

THanks for your roms, they are very stable.
[Nexus 7 Android Development] FirePsych:
What's the relationship between storage available and FStrim?
[Nexus 7 Android Development] AndDiSa:
[MENTION=4617886]FirePsych[/MENTION] FSTrim frees storage which is no longer used, e.g. if you delete a file the storage is not directly freed but is only marked as 'free' the real freeing process starts when there is no more free storage available of if you trim the storage. In that case the storage will be 'reorganized' and all blocks which are marked as free will become available for usage. The relationship is: the more storage is free the more storage can be used before a trim process is forced started to free the allocated blocks.
[Nexus 7 Android Development] Ahkah:
For whatever reason this version feels astonishingly swift, seems to react immediately on user input, and animations appear to run very smoothly (just to mention: I am traditionally using Trimmer/fstrim). Even the sound from the "loudspeaker" is on an acceptable niveau (at least what's physically possible with this lousy "loudspeaker" ;) ).

Apart fromthe seek-function-fails-with-FLAC-files-when-using-internal-media-player-problem, this OS seems to be nearly perfect so far. GPS and WLAN work fine, Bluetooth is not yet tested.

ßamms-app - or thumbs up!

Addendum:

- Bluetooth works perfectly

- While music volume is acceptable, Youtube is not loud enough. That's a pity.
[Nexus 7 Android Development] Alex_Lyt:
New build works good so far, thank you!

---------- Post added at 05:22 PM ---------- Previous post was at 05:18 PM ----------

How can i activate swype on a native rom keyboard? It is not working, though it turned on.

I had that problem on a phone, but there i could substitute Google swypelibs via .gapsconfig. Here I'm using recommended gaps so i can not fix it that way (
[Nexus 7 Android Development] thambikutty:
DELETE
[Nexus 7 Android Development] brigovin:
"The wizard setup has stopped" - help me

hello to everyone, I installed it as described in the initial post ROM NANO GAPPS and SUPERSU, but restart after embedding the chosen language you close the initial setup app. The wizard setup has stopped and starts again. Can not solve it can I help someone? thanks also for the great work done. You are exceptional.
[Nexus 7 Android Development] AndDiSa:
Pull down the navigation bar and enable WiFi, after WiFi is connected everything should work.
[Nexus 7 Android Development] brigovin:
"The wizard setup has stopped" - help me

I've tried but does not do anything, just choose the language then configure it from scratch or backup and it stops restarting from head
[Nexus 7 Android Development] andynroid:
I did a factory reset plus format data from an OTG USB drive flashed this ROM using the below method :

1st the ROM then reboot system

Then boot to recovery to flash SuperUser..wipe cache + dalvik and reboot to system

Final reboot to recovery to flash Pico GAPPS..system reboot and it's done....
[Nexus 7 Android Development] brigovin:
very good

big ..... thanks everything ok and it works great - nexus 7 3g
[Nexus 7 Android Development] umirza85:
Is it worth installing ParrotMod on this?
[Nexus 7 Android Development] andynroid:
Not needed.....ParrotMod is already obsolete...
[Nexus 7 Android Development] DumF0rGaming:
Some parts of it are already present in this build
[Nexus 7 Android Development] umirza85:
Thanks for the quick responses
[Nexus 7 Android Development] paasoares:
AWESOME !!!!

Latest version (20171111) is, till now, the Best rom for Tilapia.

Thanks AndDiSa, you did a great job...Well done !

- Fast

- Smooth

- Good Battery Lifetime (keep wifi on during sleep set to Never)

- Great Memory Optimization (with background process limit to at most 4 processes, no matter what apps i use, after killing them always have above 500MB of free ram. This didn´t happen on previous builds)
[Nexus 7 Android Development] macio76:
After updating to build 20171111 on Tilapia I have strange problem with charging. When I charge to full and use tablet entire day I can't charge it in the evening.

I plug in cable and nothing happens. When I unplug cable, reboot and plug again it starts charging. Strange thing is that when You leave tablet plugged in and reboot it won't charge. You need to unplug and plug again.

Does anyone have a similar problem?
[Nexus 7 Android Development] tpuserhp:
I use Android 7 OMS. Can you select a few items first, install select and see if they work. The older version can only install 5 items each time.

Under security-apps, my substratum is off. I purchased swift dark. Are you using the purchased version? Also what is your failure message?
[Nexus 7 Android Development] tpuserhp:
Screen image attached.
[Nexus 7 Android Development] Alex_Lyt:
[MENTION=2188693]AndDiSa[/MENTION], charging has normalised by itself. Now i have 800mah as well.
[Nexus 7 Android Development] dalanik:
Hello, I am using 20170608 build, how do I update to latest? Can I just flash over existing from recovery, then flash gapps, then SU? So I don';t have to reinstall/reconfigure all apps :)
[Nexus 7 Android Development] AndDiSa:
[MENTION=1665438]dalanik[/MENTION] yes, update should work without any problems.
[Nexus 7 Android Development] tevil:
any get battery get battery drain while the tablet is actually powered off?
[Nexus 7 Android Development] shaggyskunk:
If it's the original battery - You should expect the battery to drain - It's like 5 years old - Powered off or not ?

Sent from my SM-G955W ??
[Nexus 7 Android Development] tevil:
was kind of wondering that. This pretty substantial while being fully off. Maybe I can find a replacement battery for it online but its always plugged in when in use anyway, its my at work tablet now for listening to music and such
[Nexus 7 Android Development] shaggyskunk:
Yeah unfortunately always being plugged in isn't helping either - I know with Laptops that are always plugged in the battery eventually lasts a very short time off the charger... That's the issue with the current phones that don't have a removable battery.... planned obsolescence or Tech support or DIY if you're comfortable with it ?

Sent from my SM-G955W ??
[Nexus 7 Android Development] paasoares:
with keep wifi on during sleep set to Never, my tilapia lose 2% to 4% during the night (23:00 to 09:00).

Still using original battery...
[Nexus 7 Android Development] Ahkah:
I once got a specimen that indeed was affected by this phenomenon. Installed was Android 4.1. I think its battery is more or less dead.
[Nexus 7 Android Development] vetzki:
A question regarding the 7.1.2 security patches past august 2017:

is there a (github) repo somewhere, where I can download the patches? (I ask because I've a nexus4 which lacks the security updates since september)
[Nexus 7 Android Development] AndDiSa:
[MENTION=3445844]vetzki[/MENTION] the patches which are applied to the different projects can be found in the manifest repo, I did not set up my own repos on Github (yet ?). If you do a diff between the august version and the current version you see the patches related to the security patches fom Google.
[Nexus 7 Android Development] Ahkah:
Addendum: After having used this OS for some time I do not think that there is a problem with the speaker volume. It is not significantly lower than on the other devices of the same type, and in any case the sound soon gets distorted even at medium levels -- obviously just bad hardware design.

As a workaround for Youtube I installed some "speaker booster" app which allows to increase the volume to values more than 100%. One has to use it carefully, and a level of about 110% is already sufficient.

The only problem with this OS I noticed so far is that after having watched to some Youtube videos the screen got black, and after some time the launcher returned, but without background, i.e. just a black one. A reboot did not cure the symptom, so that I reasssigned the image.

Apart from that, the system seems to run a little bit more fluently, subjectively perceived, than Nougat-Beanstalk with Parrotmod, and I would urgently recommend it to anyone asking for a usable OS for this device (despite the FLAC problems).
[Nexus 7 Android Development] gmikhail:
Hello all! I have few problems with this ROM.

1. After a while (~ 1 day) grouper starts to slow down very much. But after reboot everything returns to normal. Nobody faced such a problem? Is it possible to somehow determine what is causing lags? The device does not heat up, so the problem seems to be related to writing / reading to the internal storage. Perhaps some internal process hangs in an endless loop.

2. For usb is always "charged by usb". Any set state with time (after a reboot?) is reset to usb charging (even if set in the developer section). I need MTP configuration for usb, but it is constantly reset to charging. Probably the problem is with the problem below. But nevertheless, when choosing MTP, everything works.

3. I tried this firmware from the first versions and still observe the error "MTP host has stopped" when opening the standard explorer. Can this be fixed somehow? I always just turned off the MTP host in the application list. I do not know if it's right or not.

PS: Thank you very much for the firmware! Most of the time everything works well. Even with a set of Google applications.