yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] f23coupe:
AndDiSa, I just flashed your December build a day or two prior to you uploading this. The December flash was my first time flashing a non-stock ROM on a grouper, so pardon my ignorance. A few questions and comments for you.

1. How to update to the January build? Boot into TWRP and then install the January OTA? If so, does that erase the apps, settings and alike? Will this be necessary when installing updates? I too like clean installs to make the installation smooth, but re-installing apps (not the Google apps) again would be a major pain.

2. The link and reference to TWRP 3.2.0 is obsolete as TWRP has de-listed 3.2.0 and replaced it with 3.2.1.0. New users like myself can benefit from that TWRP link getting updated to 3.2.1.0.

3. The swipe gesture required during the lockscreen to bring up a pattern/PIN/password prompt is "longer" than with stock 5.1.2. I say "longer" because I literally now have to swipe the entire length of the screen to bring up a pattern/PIN/password prompt when attempting to unlock from a locked state. For that matter, even home screen app page scrolls (using Google Now launcher) require a "longer" swipe. Unsure where to change this setting or this is part of your ROM, but I thought I let you know of this difference.

4. The battery indicator doesn't indicate a charging status when awake. Only when I powered down did I see that it was indeed charging. I thought I had a bad cable or connection, but after powering it down did I see that I was able to charge without issue. Perhaps this is a bug? I'll continue to monitor this to see if I can replicate this as I only have a few days worth of operation time.

5. The performance of the December build over stock Android 5.1.2 is much improved, but not as quick as a factory wipe and install of 5.1.2. It may be because 7.1.2 is more resource-heavy, but I'm glad to have this over stock 5.1.2 when loaded with my set of apps.

Thanks for your work! The grouper is alive again thanks to you!
[Nexus 7 Android Development] Buratei:
does does anyone know if there is a fully compatible version of powereventmanager for nougat releases? the one I am on now only works half of the time (even less tbh)

also, I could use a kernel that allows me to turn mpdecision off. the one included in this rom doesn't seem to sport that option with kernel managers (ex kernel manager, kernel adiutor, etc)
[Nexus 7 Android Development] petrus764:
1. boot to twrp, flash rom and re-flash gapps. No apps or settings will be erased, but you need to re-flash gapps. If you want root, flash magisk too.

3. same for me, there's also a similar bug on pixel 2 phones, that has a magisk fix but i haven't tried on the n7.

4. I do not have this issue, swipe down the notification tray and it should indicate that it's charging on the battery tile. Also, it should say charging on the lockscreen.

5. Mine's faster, but that may depend on how bad your nand is.
[Nexus 7 Android Development] DrCheesecake:
Latest tilapia build - spot on

Thank you again [MENTION=2188693]AndDiSa[/MENTION]! My tilapia is super smooth with your 20180112 build. Spot on!
[Nexus 7 Android Development] mafarric0:
I haven't updated since 3 or 4 months ago, and now I made a clean installation of the January version. It is faster overall, takind less time to load applications and to respond to screen input. Definitely the best of the bunch!

Unfortunately my tilapia speaker is ruined and the battery takes some time to charge, but probably there's nothing to do on those fronts.

Considering this is an almost 6 year device, it's amazing that such an old hardware can still run most of today's apps. Thank you [MENTION=2188693]AndDiSa[/MENTION] for your effort to reduce e-Waste!
[Nexus 7 Android Development] brewer75:
I just replaced the speaker in my grouper and it works like new. I bought mine on eBay and it was less than $6.00 so you might want to check it out. I imagine the speaker is that same in the tilapia as it is in the grouper but you can certainly research it a bit to make sure if you're interested.
[Nexus 7 Android Development] Charles IV:
I think I posted a fix here a while back, and I made a pr on [MENTION=3729448]aaopt[/MENTION]'s lineage builds, but I forgot about these.

I've create a pull request in [MENTION=2188693]AndDiSa[/MENTION]'s grouper builds, but I'm not entirely sure it will work as I haven't tested it on these builds.
[Nexus 7 Android Development] AndDiSa:
[MENTION=7211583]Charles IV[/MENTION] unfortunately this doesn't work out of the box on AOSP but I'll have a deeper look at it

Edit: Ok, I was able to integrate it into the ROM and unlocking works much better now. Will be integrated into the next release.
[Nexus 7 Android Development] cbkiyanda:
Hi,

This is the first time I installed a custom recovery, first time I flashed a custom rom. I decided to finally try and to start with a grouper device I hadn't really used in quite a while. I think I followed all the instructions correctly, used twrp and the 20180112 build. Flashing went fine. I flashed the rom, rebooted to recovery and then flashed gapps. Setup seemed fine, but the "home" and "opened apps" (the circle and the square buttons) don't work. The back arrow works fine. These were working minutes before I did the flash, so I don't think it's a hardware issue.

I'll admit I haven't gone through the 220 pages of this threed, though I did read everything from the post announcing the latest build. I didn't see anyone with that problem. I'm wondering if that's something I did wrong.
[Nexus 7 Android Development] Ahkah:
These are great news! I will skip the January version (the previous one already was brilliant) and wait for the next one.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5917730]Ahkah[/MENTION] something even better is in the queue for February ... stay tuned ;)
[Nexus 7 Android Development] paasoares:
Android 8.1 Oreo with ANDROID GO ?
[Nexus 7 Android Development] AndDiSa:
... no, sorry, I didn't put my hands on Oreo yet.
[Nexus 7 Android Development] Portgas D. Ace:
How dare you! Give us free Oreo stuff, slave :p
[Nexus 7 Android Development] melkozerov:
Thank you very much for Your latest ROM, dear Andisa. First day. Antutu showed 21871 points. 3D 367, UX-9635, CPU-9239, RAM-2630. Tilapia Nexus 3G 2012
[Nexus 7 Android Development] danja95:
Feedback for tilapia

Bugs:

- Landscape mode if tablet is in 16:9 position, launcher will not rotate.

- gApps will not install, even with the speical config file

- 3G Module does not work, even a external huawei stick will not work
[Nexus 7 Android Development] Tinaut1986:
Hi to everyone!

First of all, congratulations and really thanks for the good job!

I installed this ROM (7.1 OTA-Package (Build 20161109)) last Saturday and everything seems to go faster than before, with some random crashes that i don't mind really, but the battery runs out very fast and nobody talks about it.

I have seen at battery log and found that:

"Varios" has consumed 27% of battery.

"Tablet inactivo" has 27%.

"Sistema Android" has 18%.

The only thing that I have done is listen music, so the next value (Google Play MÃºsica - 14%) is normal, but I think that previous values don't.

Are they?

Thanks again!
[Nexus 7 Android Development] AndDiSa:
Normally not, but you could probably check in the application list (you need to enable system processes, too) which process / application is taking how much cpu / energy.

For me there are two possibilities, why you have such big amount of energy used by the (inactive) system:

- either google play services is running wild. This happened to me, also on other android versions / devices, especially when there was recently an update

- the ART compiler is compiling / optimizing apps in the background. This happens especially when you have installed / updated apps, because now the ART compiler no longer compiles / optimizes on installation but asynchronously
[Nexus 7 Android Development] jolinnard:
OK, thanks. I will be glad to build and test. In fact, I'm trying myself, but if you already know the patches to apply should be really easier for me :)
[Nexus 7 Android Development] millosr:
[MENTION=2188693]AndDiSa[/MENTION] I'm really impressed by this rom performance, so I will take your optimizations to build the nAOSP. I will probably switch to your kernel.

I succeed to build your rom for Tilapia. I made a branch on my tilapia project:

https://github.com/millosr/device_asus_tilapia/tree/ads-7.0.1

to match the rest of your rom so you can use it for your builds.

I have used my own patches: https://github.com/millosr/device_asus_grouper/tree/nAOSP-7.1/patch for the aosp projects.

I copied BoardConfig optimizations from grouper, but they should be moved in BoardConfigCommon.

There is one patch for the hardware/ril, that should be applied, and for the ril vendor stuff I modified tilapia/device.mk to copy necessary stuff.

I didn't succeed to build kernel inline with, so I compiled it separately with arm-linux-androideabi-4.9 tool chain.

I can share my build if you want, but I didn't applied patch to frameworks/base so It will probably have some google play services FCs, if clean flashing.

I did dirty flash over nAOSP and it is working fine.

Cheers :)
[Nexus 7 Android Development] AndDiSa:
[MENTION=6754437]millosr[/MENTION] Thank you for providing a tilapia device tree. I'll add yours to the manifest and I'll try to consolidate / refactor the device trees for grouper and tilapia so that building for the different versions will be more easy.
[Nexus 7 Android Development] abhifx:
best news.. nAOSP with this level of performance will be awesome. good to see two devs working and sharing in the spirit of open source
[Nexus 7 Android Development] AndDiSa:
I've updated the manifest in my Github repo and pushed the patches for the projects I didn't fork yet. Currently I am trying to build a tilapia version ... wish me luck ;)
[Nexus 7 Android Development] AndDiSa:
Tilapia build finished without errors, so the device tree from [MENTION=6754437]millosr[/MENTION] is compatible and does not create compile errors. Next step will be the consolidation of the two devices ...
[Nexus 7 Android Development] DutchMan_1990:
everything is smooth so far.
[Nexus 7 Android Development] adstraylight:
To report:

After a couple of days running with the surface flinger setting, and the storage related apps taken out of doze, I've not had any crashes, and the device wakes up promptly.
[Nexus 7 Android Development] DutchMan_1990:
How about a small wakelock blocker tweak? PAC commits are here.

1

2
[Nexus 7 Android Development] AndDiSa:
[MENTION=5366135]DutchMan_1990[/MENTION] Does not seem to be compatible to AOSP, looks as a CM derivate to me ...
[Nexus 7 Android Development] tpuserhp:
Any thoughts of using mount option journal_async_commit for cache and data? Thanks.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5333182]tpuserhp[/MENTION] Do you know, whether the bug is fixed? I read that this option was experimental and for developers only, but probably I missed some information ...
[Nexus 7 Android Development] tpuserhp:
I am not even aware of this bug. It seems it only impacted one user on pc linux using local and nfs together.

All the users, including myself, who flashed parrotmod successfully before android 7 will use this mount option for ext4 file systems. I was not getting any file system corruption before. Other rom like Carbonrom also uses this mount option.

But if there is any slight risks on android, it is better not to implement it.

Thanks.
[Nexus 7 Android Development] jolinnard:
Thanks again for the new sources. I've build myself but it seems that something is missing/wrong... SIM is not detected. I haven't time now, only can get a radio logcat. Hope it helps:

https://www.zerobin.net/?24f8791eec22ebbe#9D8EDpPffChOWknDtqsqapOHClK1vuffPgYhgYWbAFs=
[Nexus 7 Android Development] n3kf:
This ROM runs great! It's the first 7.1 ROM that does not get tons of FCs on my grouper. Thanks AndDiSa. Very appreciated!!!
[Nexus 7 Android Development] AndDiSa:
[MENTION=2002216]jolinnard[/MENTION] that's exactly the reason, why I need support from people having a tilapia device and a working tilapia device tree. Probably [MENTION=6754437]millosr[/MENTION] can have a look at it, I suppose the JNI interface is incompatible to some libs includes into the ROM. We'll see ...
[Nexus 7 Android Development] abhifx:
Hi [MENTION=2188693]AndDiSa[/MENTION]

As a request can you please enable navbar tuner? Cant wait for camera fixed aosp

---------- Post added at 11:59 AM ---------- Previous post was at 11:59 AM ----------

Hi [MENTION=2188693]AndDiSa[/MENTION]

As a request can you please enable navbar tuner? Cant wait for camera fixed aosp
[Nexus 7 Android Development] millosr:
I think that you need to apply this patch

https://github.com/millosr/device_asus_grouper/blob/nAOSP-7.1/patch/hardware_ril.patch

I wrote that in this post
[Nexus 7 Android Development] AndDiSa:
[MENTION=8800954]danja95[/MENTION] probably you should follow the installation instructions from the OP and if you have still problems a detailed issue description and a logcat would be appreciated
[Nexus 7 Android Development] Stickes:
which build do you have installed?

I'm currently on Tilapia Build 20171208 and I'm facing none of the mentioned bugs.

I used open gapps pico, but flashed them after the initial configuration of the ROM.
[Nexus 7 Android Development] abhifx:
The suspense is just killing me. I guess it will make our devise respond faster or...

MTP error is fixed?
[Nexus 7 Android Development] danja95:
i have still my bugs.

can someone tell me how i can make a log of my system?
[Nexus 7 Android Development] adstraylight:
https://xdaforums.com/showthread.php?t=1520508

Or you can install Kernel Auditor, and look in the settings menu where you can find options for copying the logs to the internal storage.
[Nexus 7 Android Development] danja95:
i the attachment you can find my logfile.

i hope someone can help me.

regards daniel
[Nexus 7 Android Development] AndDiSa:
I am wondering how you can even open the device. Can you please describe the steps you have done when installing the ROM? The log is full of errors and exceptions party related to encryption (applications using an outdated mechanism to derive the keys) but also related to usbmanager and mtp service.

I suggest you to set up the device newly following the installation instructions in the OP. Do a full wipe and do *not* restore any app / data using e.g. Titanium or something else.
[Nexus 7 Android Development] danja95:
My Steps:

1. Boot into Recovery

2. Advanced Wipe -> Check everything

3. Select my OTG Device (where i have my ROMs)

4. Install the AOSP ROM

5. Reboot Again to Recovery in Recovery

6. Install BeansGAPPS

7. Install SuperSU latest

8. Wipe Cache/Dalvik

9. Reboot in System

10. Minimal Setup (WLAN, Google Login, Kernel Auditor App)

11. Logcat to SDCARD

12. Logfile zipped and uploaded here

btw. i'm using a USB HUB on OTP with: USB Flashdrive, Arduino Leonardo (act as HID Consumer) and a Huawei E1550 (3G)
[Nexus 7 Android Development] AndDiSa:
[MENTION=8800954]danja95[/MENTION] that's strange because in the log I saw initialization of several laucher applications. From where do they come if they are not installed? Did you wipe data, too? Otherwise you will keep the apps previously installed. Another thing which might cause the issues: if you install SuperSU not in systemless mode you run into issues. Try to skip the SuperSU installation or use Magisk 15.3 which always installs systemless and provides SuperSU functionality, too.

The USB-Hub could cause the issues with mtp and usb so probably it would be better to remove the hub , at least until everything is set up correctly.
[Nexus 7 Android Development] danja95:
I really sure i wipe

everything

. To make me sure i always wipe in advanced mode.

SuperSU must be systemless. I will try with Magisk. But back in few days i tried allready magisk, with same results.

My USB Hub is the main feature of my Build. In "nAOSProm-7.1.1-tilapia-b05" i have no issues with the hub, but another problem.

but ok. at GMT+1 6pm i will try it in this way: Only ROM and BeansGAPPS and i will provide you a log again.
[Nexus 7 Android Development] Ahkah:
landmarks, watermarks[,] and benchmarks

I am sorry, but without any other values for comparison these numbers are as interesting as the famous rice bag in China ;). What about the original OSs for this device (Android 4.0 / 4.1 / 4.4 / 5.1)? I could only find a specimen with hacked and modified Android 4.1 which showed just about 12000, but the 3D test had failed. Memory and CPU were a little bit faster than Android 7, but UX was about half of it. But I think that hacked OS version might be the culprit.

By the way: Antutu is an extremely "un-nice" app that starts automatically (cannot be prohibited in Android 7, for whatever reason?!?) and constantly shows a notification. There is only one solution: immediately uninstall.
[Nexus 7 Android Development] melkozerov:
Thank You. What a benchmark would suggest. Antutu was removed immediately.
[Nexus 7 Android Development] SGH-i200:
Landscape orientation in lockscreen and launcher?

I have installed the APEX Launcher to get the launcher to rotate to landscape.

But the lock screen is not rotating. How can I change that?
[Nexus 7 Android Development] danja95:
i have managed to get my 3g working again, i have no clue why but it is working.

but now i have this problem with google maps: https://www.youtube.com/watch?v=EL4wtNxocP0
[Nexus 7 Android Development] AndDiSa:
[MENTION=8800954]danja95[/MENTION] I tried to reproduce your issue on my device but I was not able. Can you provide with a logcat containing this situation?
[Nexus 7 Android Development] HeikoE:
I used this app https://play.google.com/store/apps/details?id=org.crape.rotationcontrol to get my launcher rotating. Maybe it helps for the lock screen, too.

Heiko
[Nexus 7 Android Development] danja95:
i have provided the logs in the attachment
[Nexus 7 Android Development] AndDiSa:
[MENTION=8800954]danja95[/MENTION] sorry, I can only see massive crashing / stopping of apps in the log., but I saw something in the last_kmsg.log:

Linux version 3.1.10-00127-g100eed4 (thoemy@thoemy) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Sat Feb 14 16:12:57 CET 2015

Can you explain me, what kernel / recovery you have installed? As far as I know thoemy provides only twrp-cmf2fs-2.8.5.0-grouper.img recovery which is outdated and *not* compatible to Nougat ROMs. Please follow the installation instructions from the OP!
[Nexus 7 Android Development] danja95:
I had the latest TWRP Version! https://eu.dl.twrp.me/tilapia/twrp-3.2.1-0-tilapia.img.html
[Nexus 7 Android Development] AndDiSa:
[MENTION=8800954]danja95[/MENTION] Probably last_kmsg is missleading, I don't know, because the really insteresting part is missing in the logs. I see massing SIGABORT -6 all over the logfile which means the memory footprint is too high and applications are killed automatically by android due to memory shortage. But this is I can see all over the log ... so I am still wondering, what is the content of your current installation, what apps do you have installed, etc.

I from my side cannot reproduce this behaviour so something with your installation / configuration must be very special and I am trying to find out what this might be ...
[Nexus 7 Android Development] abhifx:
/OT

Charging is already an issue and i have switched over to a make shift pogo pins charger (taped with the tablet). Still, yesterday my tablet went completely blank and nothing i could do to make it revive. But in a last ditched effort, i removed battery wires and reinserted again, and it worked! I am surprised and cant see the depth of pathetic build quality ASUS has put in. /End OT

It seems battery drain is so fast that with screen on i cant get the tablet charged. Anyone else has this problem? I cant keep the GPS on and charge the thing.
[Nexus 7 Android Development] AndDiSa:
[MENTION=3692487]abhifx[/MENTION] I had this behaviour already on Lollipop ... connected to the power and having the screen on at most the battery kept its charge.
[Nexus 7 Android Development] abhifx:
Drat! There goes my hope for Car HU via nexus 7
[Nexus 7 Android Development] lkjsoiuew:
Updated from half a year old aosp. Now

1. Google Search Bar is back. Why and how do I remove it?

2. The "Night Screen" app does not work anymore (dims the screen by overlay)

3. I have the battery drain problem, too, also in the december version

4. Where is adb over network?
[Nexus 7 Android Development] DragonTome:
Random 'DTMF' sounds

Has anyone experienced, seemingly, random DTMF type sounds? This week, after being on the lastest Jan ROM for weeks, I began having a single tone shortly after boot which sounds like a key press on a Phone dial pad (which the Nexus does NOT have). As usage goes on through the day (perhaps related to heat? battery life?), more tones sound though not the same as the post-boot one. They occur with regular frequently after some time, perhaps once per minute. I have not installed any new apps nor made any config changes since installing the Jan ROM. Any ideas? It's pretty annoying unless I set priority only sound mode. BTW, they are NOT Notifications as far as I can tell. There are none showing in the Notification Bar, at any rate.
[Nexus 7 Android Development] DumF0rGaming:
Where's boot animation stored at? Mine from /system/media with 0644 and even wihout comression just wasting space
[Nexus 7 Android Development] gregd72002:
Omg, this worked miracles on my old Nexus 7 with Lollipop. I was about to throw it out and now I use it almost every single day :P

Great job!

The only issue I see was MTP ocassionally crashing so I simply disabled it. Also decided not to use any more google play store but some free alternatives!
[Nexus 7 Android Development] f23coupe:
Thanks.

4. As for the battery charging, I've just experienced it again, but it's such an intermittent bug that I can live with it. The workaround has been to turn the tablet off, which then will charge. If the tablet is in the buggy state, even if I have it connected to the charger for several hours, the battery will have drained somewhat as if it wasn't being charged.

5. Is there a way to check the performance of my NAND? I've never filled the 32GB storage to max (or even half), so I'm hoping my NAND can benefit from the TRIM function that finds unused space for faster performance. But then again, I don't know how to check for this.

---------- Post added at 12:59 PM ---------- Previous post was at 12:57 PM ----------

AndDiSa, are you waiting for February patches to be released before issuing a February update? I can't wait for the bug fix for the long swipe to unlock. Thanks.

---------- Post added at 01:00 PM ---------- Previous post was at 12:59 PM ----------

No random DTMF sounds at all for me, though I'm on a December build.
[Nexus 7 Android Development] AndDiSa:
[MENTION=6400282]f23coupe[/MENTION] yes, I would like to wait until the February security patches pushed to AOSP and merge them into the new build. Hopefully this will be done within the next two or three days.
[Nexus 7 Android Development] HeikoE:
The charging issue - rather not charging - happened to me twice, always when charging from a high power battery pack with a thick cable. I thought it might be a tripped electronic fuse that resets on power down.

I never had that problem when using normal chargers.