yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] noobhero:
very unfortunate because I just replaced the battery when it was retrieved from the cold storage.. :(
[Nexus 7 Android Development] mkoyskip:
So sorry for the late reply. Not sure if I mentioned this previously but have been outta the 'game' for a long while, didn't want to PM you because of this. Do you have a preference concerning log cat app? I'll install it and then retry. It's better for me Mon-Wed but I'll do my best to recreate the issue. Let me know if it's ok to PM you or just reply. As always to you devs, thanks much!

Actually if cool w/you just PM me, I work weird hours and most of the time no signal in my environment. Later. May also be super busy this week.

Edit: I can redo/reinstall next Mon also... so sorry for the last minute EDITS.... only trying to assist at any time..
[Nexus 7 Android Development] AndDiSa:
[MENTION=3798831]mkoyskip[/MENTION] you can also PM me and I do not have preferences regarding the tool you are using. Most easiest way would be a

cat /proc/last_kmsg > /sdcard/kmsg.xxx

A logcat containing the crash would be even better, but it's more difficult to get.
[Nexus 7 Android Development] mkoyskip:
Duh, however I have NO idea how to do this when/using my device while charging from my car. I don't understand how to use/when to unplug my device/phone from the charger to provide exact/quality results!! Should I disable bbs/gravity/greenify/etc? Sorry perhaps I forgot to include pertinent info.

Gotta crash, however I'm still super interested! Have like 80+ hours coming up in a super cold environment. Later.

Next week, again thanks.
[Nexus 7 Android Development] AndDiSa:
[MENTION=3798831]mkoyskip[/MENTION] it's sufficient to open a terminal window on the device and to enter the command above, no need to remove the device from the car installation
[Nexus 7 Android Development] mkoyskip:
Brought my Nexus with me this morning but didn't realize no terminal installed (or couldn't find it). I'll install one tonight (and/or also a logcat app) and try again tomorrow.

Hmmm... never mind, not going to happen...

Seems that I've lost root

Magisk appears to have become a SUPER crap app as it won't allow me to access settings & also only shows ads. Tried re-installing the manager but no luck

Also cannot re-install TWRP

Whew... gonna reboot recovery and try rooting again using OTG and/or computer. Either Magisk or SuperSu. Later & g'night.

EDIT: I have root again after manually rebooting recovery/re-installing Magisk. Took the 'hard' way by resetting [powering down/etc] and finding out that TWRP was still my recovery option. Saved a bunch of time tell the truth because I thought I'd need to re-install/flash everything... whew...

Now when time just need to provide the logs to this Master Dev so perhaps we figure out why my Nexus doesn't work using a car charger. BTW left the unit powered [AC/home electricity] until now - so perhaps well over 36 hours and it never rebooted. The only issue was when I realized that I'd lost root so the OS seems to be working AOK 100% AWESOME. Except when I use it in my car...

So sorry that I slacked off concerning the logs/etc - I'll do my best tomorrow.

PS: Hoping I already installed the terminal app/etc so I don't give you some BS excuse manana.

EDIT: just installed some app called Termux - better idea let me know before early AM. Doesn't seem that you installed one. Take care.
[Nexus 7 Android Development] Sam Nakamura:
I personally prefer this for it's simplicity and for "copy & paste" ability :)

https://play.google.com/store/apps/details?id=jackpal.androidterm

-----------

Those are handy for logging different stuff:

https://play.google.com/store/apps/details?id=com.tortel.syslog

&

https://play.google.com/store/apps/details?id=com.pluscubed.matlog

Sure, it's a question of preferences but you should at least check them out...
[Nexus 7 Android Development] mkoyskip:
Completely forgot about "Terminal Emulator" - first one I ever used because it was generally installed on most ROMS I ever used. My first real device was the OptimusV. Hah:laugh:

Anyway was in a hurry today so installed catlog on the fly, didn't make time to type using terminal. So used catlog record.

Either way didn't matter because my nexus didn't reboot at all. It wasn't charged fully so when I departed from my destination made sure it was fully charged before leaving. And it still didn't reboot on its own.. Was thinking that the reboot might have been because it stays fully charged while using my [several] car chargers but this didn't occur. I'm extremely happy but at the same time I'll attempt to recreate my issue tomorrow.

Mentioned previously that my device had lost root. Solved by reinstalling magisk (new to magisk myself but happy it was fairly easy fix).

Also think I mentioned that I'd installed xposed but this was incorrect, have not installed xposed on this device. So not an issue.

Gonna bring both tablets to work tomorrow, keep an eye on my nexus. Reboots or not I'll get back. Hopefully none. If so I'll do my best concerning logcats.

Y'all rock...
[Nexus 7 Android Development] ptptaylor:
Following on from my previous note about battery drain with the screen off - I think I found that it was CMWAKELOCK which was essentially stopping the CPU going into a deep sleep. With that wakelock disabled it seems to be sleeping deeply once more.
[Nexus 7 Android Development] Nexus7_tilapia:
Hi all!

Dear [MENTION=2188693]AndDiSa[/MENTION] and all here; i need help [PLEASE] :fingers-crossed:

i have rooted my nexus 7 tilapia with Magisk; Is it possible to disable rooting temporarily? [just for seconds]

or is there any way to hide root from specific app?

cuz i've installed an app which alert me "Your device is rooted, this app is not available for you!"

i've installed latest [MENTION=2188693]AndDiSa[/MENTION] 's ROM for tilapia.

thanks a lot

pardon me if this post is not related to the topic here.
[Nexus 7 Android Development] iamelton:
have you tried to hide the app from root in Magisk Hide?

[edit] you may pm me for further discussion, as it is not related to this thread..
[Nexus 7 Android Development] Nexus7_tilapia:
deleted
[Nexus 7 Android Development] AndDiSa:
Version with July security fixes (2018/07/05) available

Hi guys,

I've just updated the OP to reference the lastest version of the ROM for Grouper and Tilapia. Mainly it's only a security update with the patches for July 2018. Unfortunately the patch for CVE-2018-9433 is still not out yet so I'll add them to the next release.

For those of you who have had random reboots and who are connected via IPv6 it might be worth updating to the new version. Once again [MENTION=8559165]OlliWi[/MENTION] helped me much to identify the reason for the misterious watchdog exception which caused a sig kill 3 and finally a system reboot. This bug is fixed in this version, too.

The links for downloading you can find in the OP
[Nexus 7 Android Development] 239:
Can confirm, it's fixed and I'm glad about having the latest security updates again!

It's quite impressive when you think about it since the Nexus 7 is almost 6 years old.

So thank you and OlliWi for your effort and persistence! :good: :good:
[Nexus 7 Android Development] Kullooa:
It seems like whatever part of the operating system detects when the charging cable is plugged in crashes after a while on the 6/18/2018 & 7/14/2018 versions. If I swipe down and tap on the battery icon, it shows AC charging when I plug the cable in, but after a few plug/unplug cycles, the tablet no longer recognizes that it should be charging. It just looks like no cable is plugged in, and it lists the time remaining on battery. I thought maybe it was my Nexus 7 2012 (grouper) hardware going bad, but it happens on my Dad's tablet that I updated too.

Thanks for the efforts with this ROM, AndDiSa!
[Nexus 7 Android Development] mafarric0:
[MENTION=8244184]Kullooa[/MENTION], that also happens with me and I also assumed it was my tablet's fault.
[Nexus 7 Android Development] Nexus7_tilapia:
Here is the same!
[Nexus 7 Android Development] Nexus7_tilapia:
Hi all!

3.5 mm jack does NOT work on latest release (Build 20180714)!!!!

i dont know its hardware fault or not;

while i connect my headset to the tablet via 3.5 mm jack , the sound is already played through the speaker!

is this same for you?

regards

-------

Edit: i restored my latest backup (Build 20180618), and now it works properly!
[Nexus 7 Android Development] AndDiSa:
[MENTION=8618734]Nexus7_tilapia[/MENTION] you are right, I changed that configuration in the kernel as I had some issues with the sound beeing blocked sometimes for some amount of time. I did some test with several configuration settings and I forgot to revert this settting in the kernel.
[Nexus 7 Android Development] Nexus7_tilapia:
Hi again, pardon me if i bother u by asking too many questions...

Dear [MENTION=2188693]AndDiSa[/MENTION] ;

More than a year ago while CyanogenMod ROM was installed on my tilapia device, while i connect my tablet via OTG cable to the USB output of my modem router, the Internet was available there on my tablet and i could surf on the net and etc.

Is it possible for you to bring this feature to your ROM?

thanks a lot.

regards
[Nexus 7 Android Development] laugeek57:
I have the same problem of sound with the headphones I believed in a material defect of my old nexus 7 because I am often obliged to press slightly on the back of it so that the sound comes back when I hear that the left :eek:
[Nexus 7 Android Development] AndDiSa:
[MENTION=6140286]laugeek57[/MENTION] my device is always switching the headset status from connected to disconnected and back ... even if there is no headset at all connected to it. That was the reson why I disabled the HEADSET in the kernel :(
[Nexus 7 Android Development] DragonTome:
Is there anyway to revert this behavior? I prefer wired headsets instead of BT ones.
[Nexus 7 Android Development] AndDiSa:
[MENTION=4222375]DragonTome[/MENTION] next build will have it enabled again.
[Nexus 7 Android Development] Sam Nakamura:
You just decided to skip the constructive criticism in his answer and feel outright offended...

Please read again the original answer and you'll find many valid points, there's no need for a "counter attack" as you haven't been attacked in first place.

XDA shouldn't be a place for drama, let's keep the good and productive vibes going :)
[Nexus 7 Android Development] bovirus:
[MENTION=2188693]AndDiSa[/MENTION]

Could you pelase add in the first post some suggestion for Goggle Apps package?

Have you any suggestion about "Open Gapps" package (Android 7.1 32 bit mini version?)
[Nexus 7 Android Development] OlliWi:
Install pico Gapps for 7.1.x

Can you see it now? ;)
[Nexus 7 Android Development] dabhand:
Dear [MENTION=2188693]AndDiSa[/MENTION], do you have /Magisk folder in the root directory? It disappeared on the new build and past build. I think Magisk cant link it to /sbin/.core/img/ Some apps rely on this folder. For example, Afwall stow his Anti Leak script only in this folder /Magisk/.core/service.d

Magisk 16.6, also 16.7. Tilapia. In logcat logs there is nothing about Magisk.

And thank you very much! The new build is faster than the past build.
[Nexus 7 Android Development] OlliWi:
The magisk folder is located in /data/adb. No folder in / or /root.
[Nexus 7 Android Development] mkoyskip:
Whew! Been outta town for a couple weeks and so much has changed.

Saved some logs but ended up using another logcat prog because (sorry) too much of a PITA to deal with terminal while driving.

RE: Random reboots while using car/vehicle charger.

However because of your update the [logs] are most likely deprecated.

I'm excited to install your latest update, will do this tomorrow whenever I decide to venture to my car [Nexus is only like 30 yards away]

however the torrential rain or

"monsoon" :) is much closer. Northern VA.

Again, thanks much :)
[Nexus 7 Android Development] mkoyskip:
New update of course worked, don't forget to reinstall magisk also if you use this. Hoping this will solve my reboot issue as I haven't had much time to peruse the thread.

Thanks much, later! ? Forgot to mention that you just "Rock!"
[Nexus 7 Android Development] deremtiu7:
hello, great rom,but can you enable please the headset audio in kernel? because i really need this,because i don't have bluetooth headphones
[Nexus 7 Android Development] AndDiSa:
[MENTION=8511696]deremtiu7[/MENTION] it will be added again in the next release
[Nexus 7 Android Development] dabhand:
/Magisk's broken on past and current build

Do you have another device with Magisk? This folder should be in the root directory according Magisk documentation. And this folder exists, if you flash February, January build. /Magisk folder exists on another devices with Magisk as well.

[MENTION=2188693]AndDiSa[/MENTION] broke something with latest patches on past and current build. So Magisk can't link /Magisk to /sbin/.core/img/

When I flashed old build, flashed Magisk, everything is okey. And this folder is just a link to /sbin/.core/img/

As I said some apps rely on this folder. For example, Afwall stow his Anti Data Leak script only in this folder /Magisk/.core/service.d Does noone use Afwall here?
[Nexus 7 Android Development] AndDiSa:
[MENTION=9319974]dabhand[/MENTION] Magisk is working fine also with the latest build and Magisk doesn't install anything into /root so something is broken with your installation. Best would be to wipe and start from beginning.
[Nexus 7 Android Development] Nexus7_tilapia:
I'm using AFWall+ v2.9.9 Donate Version, and everything works well here.
[Nexus 7 Android Development] :
Long shot this one; after updating my grouper it (location) thinks I'm in Hamburg. On the Braamheide to be exact. That's hundreds of km away and I've never been there in my life. Curious.

It's happened before (to the exact same location) but I don't remember the exact circumstances.
[Nexus 7 Android Development] dabhand:
I am also using the same donate version. Nice to meet you.

Could you please take a screenshot of the content of Afwall Preferences ---> Experimental ---> Startup directory path for script? I have had "/Magisk/.core/service.d" and when I selected this option Afwall crashed because this link doesn't exist on the current build. And after the crash "Startup directory path for script" has nothing, it is empty now. So if I enable "Fix startup data leak" script, Afwall keep stopping. Afwall doesn't allow to change this path for something else.

Do you have "Fix startup data leak" option enabled?
[Nexus 7 Android Development] AndDiSa:
[MENTION=5367514]LesGirauds[/MENTION] you know how Google location services are working? I was able to move my home location to Italy only because I took my mini wlan router with me ... ;)
[Nexus 7 Android Development] Nexus7_tilapia:
Hi guy

it does not crash here while '/Magisk/.core/services.d' is selected.

Device: tilapia

Build: 20180618
[Nexus 7 Android Development] dabhand:
Thanks a lot! My device is tilapia as well, but the build is 20180714. I will try formating and flashing everything again.
[Nexus 7 Android Development] :
Not specifically and in-depth, no, though I did look at the subject when this 'wrong location' thing happened to me before. From memory - and as you found/suggest - the router plays a role. I seem to recall the router's MAC address is used.

It's not a problem, I was just curious as to why I was being geolocated to the exact same place in Hamburg again. There must be some logical explanation.
[Nexus 7 Android Development] nexus7girl:
Hi, guys! I think I have the same issue as [MENTION=9319974]dabhand[/MENTION] I'd unselected and selected Fix startup data leak and Afwall stopped. [MENTION=8618734]Nexus7_tilapia[/MENTION], can you unselect and select that item? Nothing happens? There is no magisk folder in my root folder anymore. But I remember that it was on the February build.

Build 20180618, Tilapia 32 device
[Nexus 7 Android Development] Nexus7_tilapia:
One person with two different accounts!!:laugh:

Are u sure u r not [MENTION=9319974]dabhand[/MENTION]?

___

There is only one option and it is selected by default.
[Nexus 7 Android Development] kodacy:
testing 7.1.2 Tilapia OTA-Package (Build 20180714) everything looks smooth if you need me to try anything just tell me. Thank you.
[Nexus 7 Android Development] nexus7girl:
Why are you talking that rubbish?
[Nexus 7 Android Development] atlanelan:
No headphone audio

Installed on nexus7 tilapia.Everything but headphone audio works fine.Downgraded to one earlier version.If you mentioned this audio problem in OP I may have installed the earlier version first and wait for the update as you said in the replies.No problem in downgrading, every settings and apps preserved.This is a good ROM for tilapia.Waiting for your next kernel update to upgrade.I use nexus7 mainly for reading and streaming audio and video.So headphone audio is really important for me.Thankyou so much for your great work!:good:
[Nexus 7 Android Development] brewer75:
This rom is working great on my Grouper. You continue to do great work and are super responsive to your loyal followers. Special thanks for responding to the IPv6 issue which caused the constant rebooting problem for many users.
[Nexus 7 Android Development] AndDiSa:
New Version from 2018/07/30 uploaded

[MENTION=5125613]brewer75[/MENTION] thank you very much for your response. I am just uploading another version (20180730) which will fix the issue with the headset and will improve the responsiveness of the device in case of heavy load.

I've just updated the links in the OP. The new version fixes mainly two issues:

- headset support was re-added

- an issue with OOM / LMK was fixed

- zRAM inceased to 350MB and swappiness set to 100

[MENTION=8559165]OlliWi[/MENTION] noticed an issue with the OOM / LMK that after some time of using and switching between several applications the memory was quite full and was not freed at all. This lead to very slow reaction up to a complete reboot of the device.

As OOM is working now as it was intended, I was able to change the zRAM configuration a bit, too. Please report your experience.
[Nexus 7 Android Development] brewer75:
FYI, I just attempted to download your new Grouper build however when I proceeded to the download page, both builds you have updated were identified as Tilapia builds instead of one of them being designated Grouper.
[Nexus 7 Android Development] AndDiSa:
Thank you very much. It's corrected now.
[Nexus 7 Android Development] 9Lukas5:
Maybe I'm missing some information specific for this rom, but if not, what is the technical reason to set the swappiness to 100?

I always set mine to 10 as I want the device to use the ram as long as possible and only swap out to the disk if's not preventable anymore.

L
[Nexus 7 Android Development] AndDiSa:
[MENTION=3320665]9Lukas5[/MENTION] as zRAM has a compression ratio of about 1:2 to 1:3 we are kind of "gaining" some memory when we are using it. With swappiness set to 100 over the time the often / heavily used parts of the system can be kept in zRAM where access is much faster then loading it always from the flash memory. (this article is explaining it a bit). It's just a different strategy than not using swap space at all.

I am not sure how battery usage will be over long time, that's the reason why I was asking for feedback.
[Nexus 7 Android Development] SGH-i200:
I run into the reboot issue and just wanted to ask if there is a fix. Great to read there is already a fix! :good:
[Nexus 7 Android Development] OlliWi:
It´s not swapping out to the disk in our case, it´s swapping out to zram which uses physical RAM and compresses the data there.

Decreasing the swappiness is only recommended for systems with "more than adequate RAM".

https://en.wikipedia.org/wiki/Swappiness

Anyone here should try these new release.

You won´t believe you´re running the same Nexus device after this major bug in low memory/out of memory conditions has been fixed!
[MENTION=2188693]AndDiSa[/MENTION] provided me the new kernel one week ago and i´ve spent hours and hours in testing it with lots of heavy memory loads.

And i did not find any way to get the Nexus unresponsive to any input or in any application. It´s a miracle. :o
[Nexus 7 Android Development] Nexus7_tilapia:
#report

Hi guys

Dear Felix Preuß & [MENTION=8559165]OlliWi[/MENTION] thanks for your supports.

Unfortunately here i do not sense increasing in speed much more;

Does it relate to All-in-One Toolbox app (an app like Clean Master) installed in my device which releases RAM?

Does it clean the compressed data of zRAM that you mentioned above?

thanks a lot

best regards
[Nexus 7 Android Development] 9Lukas5:
I'm just wondering, to access the pages in the zram, don't they have to be transferred back to the normal ram first?

Or is the zram technique able to give access directly in the zram?

Thanks for the links [MENTION=2188693]AndDiSa[/MENTION] and [MENTION=8559165]OlliWi[/MENTION] :good:

L
[Nexus 7 Android Development] atlanelan:
Headset audio works again

Updated to tilapia 20180730 build.Headphone audio back.Thanks!Keep up your good work.:highfive:
[Nexus 7 Android Development] gmsalomao2:
Is there any way of using low brightness (lower than the available minimum) in the dark without enabling adaptive brightness?

I'm asking this because adaptive brightness gets the screen too dark to see all of a sudden.
[Nexus 7 Android Development] Nexus7_tilapia:
Hey guy;

by Lux Lite [Play Store]

Negative brightness is available there.

regards
[Nexus 7 Android Development] OlliWi:
Most RAM cleaner/RAM booster apps - or however they are called - just allocate a huge amount of memory. By doing this, they force the operating system to swap memory or kill processes.

After that, they will release their allocated RAM which will then be free RAM.

If the memory mamagement of the operating system works as it is intended to do, there is no need to use those cleaner/booster apps.

As far as i understood, there is only uncompressed ("normal") and compressed (zram) memory. Both use the physical RAM of your device.

Memory pages that are not often used will be compressed and assigned to the zram. If the data in there is needed again, it will be uncompressed (-> zram usage decreases, RAM usage increases).

As this compression/uncompression takes place in memory (using a few CPU cycles) there is no need to "move" data between RAM and ZRAM.
[Nexus 7 Android Development] Ahkah:
USB file transfer unstable

With the latest version from August I often cannot transfer long files (> 600 MB). The transfer stops after stome 100 MBs with the error message "libmtp error: Could not send object" (Ubuntu 16). This happens in about the half of all attempts, i.e. a retry may work. After each failure I have to reconnect the device and reenable file transfer (MTP). Maybe a timing problem (timeout time too short?).
[Nexus 7 Android Development] Ahkah:
Touchscreen always active?

I just noticed a behaviour that might be new: When swiping over the switched off screen the camera ("A Better Camera") starts. This is currently rather annoying for me. Is this a new functionality? As far as I know the touchscreen is usually switched off together with the display in order to save battery.
[Nexus 7 Android Development] OlliWi:
Could it be a broken USB cable or USB socket?

For now I cannot confirm interrupted down-/uploads during a short test consisting of

a) Copy a 1 GB file from windows 7 PC to Nexus (using windows explorer)

b) Copy another 1 GB file using "adb push" command

c) Download the first file using "adb pull" while the adb push upload was still running

d) Copy another 500 MB file to the Nexus (using windows explorer) while b) and c) where still running.

Everything worked fine.

There is a new feature called "double tap to wake" (dt2w) which enables you to wake up the device by a double tap on the touchscreen.

It may be enabled by default (not sure about this). But it should not start any camara or other application.

You can enable/disable dt2w from display settings menu.