yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] AndDiSa:
[MENTION=2989194]Misterke[/MENTION] the concept of the smart cover I know but it's using a different interrupt/pin to wake up the tablet than using the power button. I suppose a similar issue as can be found using DT2W. This is also only working as long as the tablet is not in deep sleep. A log would be great, but there is also the chance that it will behave differently as the device is connected via cable to an usb port (power supply) and the device is not going into deep sleep mode.
[Nexus 7 Android Development] Misterke:
[MENTION=2188693]AndDiSa[/MENTION], sorry, no log yet. I'm having problems actually finding the trigger of the problem. I used the tablet several hours (most with the device asleep of course) without smartcover and had no problems. Then I reinstalled the cover, but also here several hours no problem and then there it was again. Once it hits, it is hard to get rid of (even when using the power button to toggle back into and out of sleep), so I had to reboot. I apparently had DT2W turned on in settings, so I turned that off. Again several hours without issue. Just now I think I hit it, but this time a single sleep/wake gave correct function back.

I'm trying to first figure out a decent way to trigger it without having things connected to USB for the logcat as that might make reproduction even more tricky ...

Is there some way to force the device into deep sleep? That might allow finding a more reliable repro method.

Thanks, K.
[Nexus 7 Android Development] psiphi:
You can just put a strong magnet on the screen edge to get the same effect as a smart cover for testing purposes if interested
[Nexus 7 Android Development] mayze1481:
running smoothly in my nexus 7 grouper but when i tried to install magisk manager the app stopped how to fix this?
[Nexus 7 Android Development] Portgas D. Ace:
Please provide a proper log file. It is hard to help you with so less provided information.
[Nexus 7 Android Development] pops106:
Dug my wife's old nexus 7 out which was running on 4.4.x something and blasted it and now running this ROM which is working well.

Just wondering what settings you guys tweak, I am guessing it is lack of RAM that effects this tablet the most.
[Nexus 7 Android Development] TNSMANI:
While that is true, I have not touched the default settings and it performs very well.
[Nexus 7 Android Development] ski522:
I find all new ROM installs perform very well early on, but as time goes on they tend to start dogging down as more and more apps are installed. Just started using this on my Nexus 7 so time will tell.
[Nexus 7 Android Development] Flounderist:
Hi [MENTION=2188693]AndDiSa[/MENTION], I clean flashed latest build on my Grouper using Pico Open Gapps.

On first boot set up crashed so I flashed setup fix zip.

I don't know if I made something wrong, but I have some issues:

- Camera app is not showing (third party app are working).

- Music app has a very poor graphic.

- Magisk does not survive to dirt flashes.

:confused:
[Nexus 7 Android Development] TNSMANI:
That is also true on some other ROMs that I tried even with minimal apps. But I don't find such an issue on this ROM. But you have to be careful what you install since the RAM is only 1 GB. I have installed only minimal number apps. If you install more, it will definitely start to lag.
[Nexus 7 Android Development] AndDiSa:
AOSP Camera app is broken for Nougat since the beginning (probably I should remove that app completely), but built-in usage (e.g. Hangouts, Skype, ...) and (most of) third party apps should work.

AOSP music app for Nougat is broken, too, I made it compile and working, but several glitches unfortunately remain.

I never tried whether Magisk is able to survive an ota update but I am always reflashing it as soon as I flash a new boot image / OTA update.
[Nexus 7 Android Development] Flounderist:
OK, not a big issue, I use the tablet primarily for video streaming and web browsing.

It looks like magisk cannot load the addon.d script after dirt flashing the ROM.
[Nexus 7 Android Development] pops106:
I played with a few different ROMs and it seems using f2fs instead of ext4 seems to have made a huge difference in the overall performance.

Much happier now, cheers
[Nexus 7 Android Development] heilbron:
For which file systems? Thanks
[Nexus 7 Android Development] TNSMANI:
On this ROM?
[Nexus 7 Android Development] AndDiSa:
I didn't notice much difference in performance and/or stability between ext4 and f2fs but probably it depends also on the applications you are using.
[Nexus 7 Android Development] schmatzler:
The AOSP music app is also available on F-Droid. The version on there doesn't have any glitches.

So you can probably remove it, since users have an alternative. Or include the F-Droid version. ;)
[Nexus 7 Android Development] Portgas D. Ace:
[MENTION=2188693]AndDiSa[/MENTION]

Suggestion from my side: people tend to install third-party apps from the Play Store and/or other app sources like F-Droid these days, so why include so many AOSP apps into the ROM?

I think some basic stuff like a file manager would be okay (to install apps from SD card after a clean flash), other things like Music, Calendar or Dialer are just bloatware in my opinion.

What are your thoughts on this?
[Nexus 7 Android Development] Misterke:
Hi all,

First of all: Happy New Year. Best wishes for all of you for 2019 (and beyond)!

I just wanted to come back to my post on having problems with touch not working after (presumably) deep sleep. As mentioned in my last post on the matter (before I became silent because I basically wanted to gather decent experience before making any statements), I had disabled DT2W and then hadn't hit it again - apart from something which looked like it, but I now consider to have been temporary high load after wake-up. Anyway, I've been using the ROM as such for a week now and I have to say that it's great! I have not hit the touch problem anymore (so I think it was somehow related to DT2W), battery life is great and the Nexus 7 is better than ever before! So, thanks to all who have contributed in any way to this superb ROM, especially AndDiSa of course!

Thanks, K.
[Nexus 7 Android Development] fp69:
Download Pending in Google Play Store

Hello,

This is a wonderful thing to keep the Asus Nexus 7 alive with this!

I managed to install TWRP and then the last Build of AOSP Grouper 7.1.2 (20181208) on my ASUS NExus 7 (2012).

However, I can't seem to download any Google Play apps, it keeps writing "Download pending..." when attempting to download. I tried to force stop, clear cache and data, and it doesn't change. I even created another gmail account to see if it works with a new account, but no. In TWRP, there is no "fix permissions" field in case there would be a file permission issue.

I installed F-droid, and installing apps from this platform works, so I assume there are no file permissions issues.

Can you help me to investigate how to fix this problem?

3 other minor things that bugs me:

- On the icons at the top of the screen, when I click on "Battery" for example, I see Battery usage with the percentage. I can't go back to the icons anymore (back doesn't work, double click idem, click on "no notifications" idem, etc...) -> is it a bug?

- The middle button that should take me "home" doesn't work, I have to push the back button several times to get to the home; is it normal?

- I can't activate the "System UI Tuner" to display the battery percentage: I suppose it is not implemented in this ROM?

Thanks in advance for your answers and happy new year!
[Nexus 7 Android Development] AndDiSa:
[MENTION=9656353]fp69[/MENTION] it looks to me as your installation was not really successful as all these issues reported by you should not be there. Did you wipe before you switched tho this ROM? It looks to me as if there are still some settings available not compatible with this ROM.

To be able to help you a bit more a logcat would be needed.
[Nexus 7 Android Development] fp69:
Yes!! I hadn't wiped correctly the data since I was confused in the steps because I had to reinstall again because TWRP wasn't installed correctly...

Anyway, after the wipe, I had the Setup which crashed, so I installed the patch you mentioned and then I works!

Thank you very much, I'm going to explore further to see if it works well!
[Nexus 7 Android Development] Veizi:
Anyone else having a trouble with video in twitch.tv app? Everytime when i switch quality to 'source' video starts freezing and then just stops, meanwhile audio is going well.

Switching to lower quality fixes the problem.

upd: Looks like problem appears only with '1080p60fps source' quality. So i guess it is not ROM related. Anyway, i would appreciate if someone has any idea how to fix this problem.
[Nexus 7 Android Development] Portgas D. Ace:
The question is: does our beloved Nexus 7 device support 1080p videos? I don't think so.
[Nexus 7 Android Development] lee.wp14:
[MENTION=2188693]AndDiSa[/MENTION] Hi, I'm trying to compile DotOS for grouper, but I have no idea why the graphics is not initializing :

https://del.dog/jireratiji

https://del.dog/pasoxeyoji.pl

Will be very glad if you could help me look into this :)

EDIT : It's booting now, thanks!
[Nexus 7 Android Development] FabianoT:
I think ..the Nexus 7 display resolution is 1280×800 .. :)
[Nexus 7 Android Development] Portgas D. Ace:
Exactly ;) Problem solved: there is no way to play 1080p videos on the Nexus 7 due to hardware limitations.
[Nexus 7 Android Development] FabianoT:
Mhh, I'll try later MXPlayer, to see if it is able to perform downscaling, but just for curiosity..

---------- Post added at 10:39 AM ---------- Previous post was at 10:34 AM ----------

I suppose the Camera app problem ma be related to the fact that devices with selfie-camera only and without main camera are quite rare. I think that AOSP Camera does not cover this single-camera case. Skype and Hangout video calls are working like a charm.
[Nexus 7 Android Development] lee.wp14:
Correct me if I'm wrong, but I seems able to play a local 1080p24 video...? It is hardware acceleration based playback tho.

For me 720p is maximum (barely) for software based playback on nexus 7
[Nexus 7 Android Development] Portgas D. Ace:
The last time I tried watching a 1080p video on my grouper, I got a lot of stutters - if video played at all. So I think it is safe to assume that watching 1080p videos isn't the best thing you can do with this device (whereas 720p videos are working fine).

You have to remember that the Nexus 7 is going to be 7 years old in 2019, which is like a century in tech age. My TV, which I bought 7 years ago, is able to play 1080p videos, but I don't expect my 7 year old handheld device being capable of playing such videos. Also 720p video is completely fine, you won't notice much of a difference on a 7" screen compared to 1080p anyway. 1080p or higher, that's what my TV is for.
[Nexus 7 Android Development] FabianoT:
Nexus 7 wins.

I got no stutters, no hiccups, I played HD movies smoothly! :eek:

I have used the MXPlayer app (with "Neon" hardware support) and tested three 1080p movies, h264 codec in mkv container. The video sizes are 4, 6 and 11 GB, and accessed them thru wifi from a network folder (file selection performed with X-plore file manager).

I suggest to try MXPlayer that looks very well optimized.

P.s: I also suggest to copy HD files on the tablet in case you have a slow WiFi.
[Nexus 7 Android Development] lee.wp14:
Ah, at least there's another person other than me to prove that now :3

I simply tested using the stock gallery app (ofc it's on nougat ROM), checked with logcat to make sure that it is using hardware based decoding.

I tested 1080p24, 720p60, no glitch or lags at all. I even repeated my tests many times. And for sure, we still need to stick with maximum 480p for software based decoding.

In respond to [MENTION=5901790]Portgas D. Ace[/MENTION]

Something like Nexus 7 is not an entry device, thus I think it is rather ok to expect these device to play HD movies well. Yes I do aware that our screen is 800x1280. There's no fault about playing full HD anyway, don't you feel great that Nexus 7 could play full HD - it means that the device itself is more capable than handling graphic processing works that is equivalent to 720p.

I use quite a number of old devices before. As a sharing, Samsung Note 1 produced in 2011 is also capable for 1080p playback, no lags, same as our Nexus 7. (PS : this is tested on nougat ROM!)
[Nexus 7 Android Development] ski522:
I never had a problem playing 1080p using VLC on the Nexus 7 from day I bought it 6 years ago. The only time I had stutter problems was on my old wi-fi as the AP didn't have the bandwidth, but if the video was local it was fine.

Even so if storing locally on the N7 makes no sense to keep a video in 1080p as you're sacrifice storage space, so I used to just re-encode the videos using Handbrake https://handbrake.fr/ which would encode to meet the Nexus 7 resolution.
[Nexus 7 Android Development] Portgas D. Ace:
Then I might actually have been wrong with my statement that playing 1080p videos is impossible. Last time I tried was on a Marshmallow ROM, so my experience might be somewhat outdated.

But as stated before: even if playing 1080p videos is possible, I don't see much advantages over 720p videos, as I don't see much of a difference between both solutions on a 7" screen at all.
[Nexus 7 Android Development] schmatzler:
1080p depends on the player you're using and the file formats.

I tried to play 1080p MKV files once and in MXPlayer or mpv there were just stuttering. They worked super smooth in VLC, though.

The Nexus 7 can generally handle almost every video you throw at it. Even 1080p in the official YouTube app works.
[Nexus 7 Android Development] Kid Stardust:
I´ve installed this rom for my sons Nexus 7 tilapia, works very smooth. The only problem is the flickering and weird behaviour. Has anybody else here installed brawl stars?
[Nexus 7 Android Development] AlfaM03:
Finally brought life to my nexus 7. However it's very laggy despite a clean install. Might probably the old device itself.

Do you guys have any suggestions to speed up?

Any suggested kernel?

Cheers
[Nexus 7 Android Development] Portgas D. Ace:
No lags for me (grouper, clean install, microG instead of GApps, Magisk 18.0). Might be related to your setup.
[Nexus 7 Android Development] Nexus7_tilapia:
Hi sir

May i ask u why u prefer microG to Pico GAPPS?

best wishes
[Nexus 7 Android Development] Portgas D. Ace:
Because of several reasons. One is the fact that microG is pretty lightweight compared to GApps, another reason is that Google Play Services tend to slow down devices unneccessarily, especially older devices.

And I don't really need anything Google-related on my grouper, only Play Store for my paid apps, thus I decided to go the microG way.
[Nexus 7 Android Development] Nexus7_tilapia:
Thanks a lot for your reply.
[Nexus 7 Android Development] mikefive:
..i suggest using fstrim (available in playstore) and run it on a regular basis (once a week or so)- as the nougat rom uses ext4 and the device tends to slow down if there is no trim of the ssd device from time to time. i also recommend to use microG as it gives you a lot more free ram- which generally speeds things up. another tweak for me was to use the "background restrictor" app (via fdroid) and prevent all the bloat-crap-apps like amazon, prime video etc etc. from running in background eating my system ressources. this also effectivly disables the message push service for this apps (and for the advertisment too ;)) -but with these things my nexus runs very smooth- you would not belive its already 7 years old now :)
[Nexus 7 Android Development] AlfaM03:
Interested with this microG idea. Visited the microg.org site, I didn't know what to download though. Is it a flashable zip? Thanks
[Nexus 7 Android Development] Portgas D. Ace:
Check this thread for more information about the Magisk module NanoDroid, which includes microG.

https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928

And the link to the original microG thread.

https://xdaforums.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
[Nexus 7 Android Development] AndDiSa:
New year ... new security fixes (2019/01/05)

Hi guys,

I've just uploaded a new version of the ROM for our beloved Nexus 7 (Grouper / Tilapia) having the January 2019 security fixed applied to it.

Beside that I found a bug causing bootloops on initial install / after wiping dalvik. This was caused by zygote not having enough memory available to create the boot.jar on the fly. To fix this issue, I am doing a dex-preopt for the boot image on compile time now which leads to a slightly larger image but improves initial boot time a bit, too.

To get more memory free on the /system partition, I debloated the ROM a bit, e.g. removed the Browser2, LegacyCamera, Music and Calendar apps as some of them even didn't work fully. There are several alternatives available in several stores which you can install if you need them. Probably most of you do not even notice that these apps were removed.

Most changes were applied to the kernel. I tested the changes in the last 4 weeks but as I have a Grouper device only and I cannot test each functionality I cannot exclude that something doesn't work as expected. So please file a bug report (best with logcat and a meaningful bug description) if you find some unexpected behaviour and I will have a look at it.

The most important fix here is probably the improved charging behaviour (many thanks to [MENTION=8559165]OlliWi[/MENTION] who provided with fruitful analysis and hints and pushed me to have a deeper look at this issue).

To get a faster charging of the device, do not boot with a USB cable connected as this prevents the device to charge with more than 500mA (or at least disconnect and re-connect the cable after the device booted).

I've updated the links in the OP, so you can download the latest version from there.

Happy new year to all of you!
[Nexus 7 Android Development] pauldrudd:
This is amazing, thank you!
[Nexus 7 Android Development] bagoes.s:
Thanks for update.

Is there someone have tips to make browsing more light and fast. Now I'm using Chrome for load the page takes a long time. ?
[Nexus 7 Android Development] AndDiSa:
[MENTION=4172334]bagoes.s[/MENTION] I am using chrome, too, without having big issues. Most likely your device is checking updates / optimizing applications in the backgound. Be patient and wait a bit ... the performance will improve.
[Nexus 7 Android Development] erdnuesse:
Hi, I was searching the complete thread, but it seems like I am the only one struggling to find the launcher settings... long tap on home screen only shows background settings. I'd like to remove multiple home screens for example.

Any hints for me?
[Nexus 7 Android Development] Ahkah:
The December version was by far the best one, yet, so actually I am hesitating to install a newer version. Many thanks to AndDiSa also from my daughter who is using not the same (dassselbe), but the same (das gleiche) device.
[Nexus 7 Android Development] mikefive:
as alternative you can use lightning (via fdroid) ..it uses the shipped webkit-engine. the gui is small and fast. very useable for me.

thanks AnDiSa for the new version! i'll try it- i hope the charging issues are gone now ;)
[Nexus 7 Android Development] AmatiSX:
One question:

This ROM updates itself by OTA, or I have to donwload every update manually?
[Nexus 7 Android Development] AndDiSa:
[MENTION=3481515]AmatiSX[/MENTION] you need up download manually, no OTA service available.
[Nexus 7 Android Development] dookie23:
Just installed the 201901 build. I have to say this is by far the best version. While it is not fast enough to run Fortnite (j/k), the performance is noticably better than 201812. Thanks very much [MENTION=2188693]AndDiSa[/MENTION]!
[Nexus 7 Android Development] dark0shark:
New 201901 build is fantastic in means of performance, thank you [MENTION=2188693]AndDiSa[/MENTION]! However I observe again *) the docking audio output problem, where Media Sound goes through the 3,5mm jack instead of the docking station pins, when Nexus 7 rests in its dock. The toggle for that option is not working and/or the dock is not recognized at all.

*)https://xdaforums.com/nexus-7/devel...sp-grouper-t3467514/post74116989#post74116989
[Nexus 7 Android Development] mikefive:
after using the new version for a while i had to say: the new 201901 build is very smooth and useable (yes, a tick better than the 201812 version, which already was fine)- thanks again for your work! :)

but still, charging issue persists:

* (often- esp. when tablet not used for a while) plug into 2A port, it only charges with 0.5A, when i switch 2 secs or so to a 1A port and then back to 2A: it charges with 0.8-0.9A

* when charging and left alone for a while on 2A port it drops *sometimes* to constant 0.2-0.3A (deep sleep mode perhaps?) - when switch ports as described above it sets to 0.8A again
[Nexus 7 Android Development] AndDiSa:
Well, charging current depends on much different factors, e.g.

- age of the battery

- quality of the cable

- quality of the charger

- charging state (how 'full' the battery is already charged)

- ...

Generally the device starts to charge always with 500mA and it allows charging current up to 1800mA after a short time (normally after 10 to 15 sec), but this depends also on the work load of the device. In addition you need to consider that you probably might never get 1800mA while the device is switched on, as you need to substract the current the device is using. Only the "remaining" current can be used for charging the battery. Generally you will also see a decreasing charging curve, i.e. if your battery is almost empty, you might see a higher charging current, but the more full the battery is already charged the lower the charging current will be.
[Nexus 7 Android Development] TureX:
Hi [MENTION=2188693]AndDiSa[/MENTION] , i flash your new update that works very good,but when i flash magisk i got bootloop(stuck on Google logo). I have install gapps.Sorry for my bad English
[Nexus 7 Android Development] AndDiSa:
No issues here with Magsik on my device. Do you have some special Magisk modules installed? Could you provide with last_kmsg?

(Hold down volume- while on the bootloop. You will get to to bootloader after a short time, choose recovery mode and do a cat /proc/last_kmsg)
[Nexus 7 Android Development] dycio:
Is this ROM suitable for the car I mean for simultaneous charging over the otg cable and will be in sleep mode after switching off the car?

p.s sorry for my english
[Nexus 7 Android Development] TureX:
Delet
[Nexus 7 Android Development] AndDiSa:
Yes, it should work.
[Nexus 7 Android Development] TureX:
Here last_kmsg ,no modules installed
[Nexus 7 Android Development] AndDiSa:
Hmm ... I do only see a user requested reboot, but no bootloop. Can you provide me with the logcat, too, probably one can see a bit more here.
[Nexus 7 Android Development] kozmo2k4:
Have look at Brave Browser, it's quite "liteweight", but doesn't support sync across platforms, yet. I use it on my Galaxy S4.

I'm using Firefox and Duckduckgo on the Nexus and TF300T, they run fine, even with multiple tabs opened, but no more than 10 at a time.
[Nexus 7 Android Development] TureX:
Log cat on bootloop? however that Is strange ... May Be Will boot but take more time? I Will do a clean install of latest update...
[Nexus 7 Android Development] dycio:
The ROM works great, but I can not cope with the Power Event Manager - do I have to install it and where to get it?
[Nexus 7 Android Development] AndDiSa:
@ TureX Google boot image may remain up to 30 / 40 seconds until the boot animation starts.
[Nexus 7 Android Development] AndDiSa:
[MENTION=9679597]dycio[/MENTION]

you can try top download from https://xdaforums.com/showpost.php?p=50265682
[Nexus 7 Android Development] TureX:
I'm stay many minutes,but i'm try again doing a clean install
[Nexus 7 Android Development] AndDiSa:
I saw a different thing in your logs which might cause your problems:

...
androidboot.bootloader=4.18
...

I guess your bootloader version needs to be updated to 4.23