yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] OlliWi:
That´s what i believe too.

Can confirm the short boot time with the "feb3" kernel.
[Nexus 7 Android Development] daradan:
Hi.

Thank you for your best rom for nexus 2012 and update it.

What is the difference?

aosp_tilapia-7.1.2-ota-eng-20180608.ds.zip

and

aosp_tilapia-7.1.2-ota-eng-20180608-ok.ds.zip

on aosp_tilapia-7.1.2-ota-eng-20180518.ds.zip have very long starting, 5-10 min every restart.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5109503]daradan[/MENTION] the aosp_tilapia-7.1.2-ota-eng-20180608-ok.ds.zip has a different kernel build in, i.e. the kernel based on the version released in January. It missed some festures introduced within the last six months, but boots fast on the Tilapia while the aosp_tilapia-7.1.2-ota-eng-20180608.ds.zip is based on the latest kernel changes but has a very long boot time on Tilapia.
[Nexus 7 Android Development] brewer75:
[MENTION=8559165]OlliWi[/MENTION], your detective work seems to have solved the problem I was having on my grouper. As I've posted several times here, I have not had success with these builds since the January issue and would experience random reboots that could only be eliminated by disabling my wifi or staying with the January build. Today, I disabled IPv6 on my router and then flashed the 20180608 grouper build per the OP and I am pleased to report that everything is humming along as it should be...no wifi issues, no random reboots, and no problem waking my tablet with the power button! I assume this may be why there have been reports of issues with certain hotspots and not others...some use IPv6 and others use IPv4.
[Nexus 7 Android Development] AndDiSa:
[MENTION=8559165]OlliWi[/MENTION] I've prepared another boot image for Tilapia which contains another bunch of changes related to the rw semaphores which might provocate the long boot. May I ask you to test this version, too? Thank you!
[Nexus 7 Android Development] lkjsoiuew:
this boot image makes the google screen take about 10 seconds.

But my google play store login still isn't saved.
[Nexus 7 Android Development] OlliWi:
[MENTION=2188693]AndDiSa[/MENTION]: still short boot time (~19 s for the google logo), no issues found so far.... further tests ongoing .....

offtopic

Some funny message in the dmesg:

[ 53.026734] No, NVIDIA, in fact you CANNOT read from userspace filesystems in the kernel - dmitrygr!
[Nexus 7 Android Development] AndDiSa:
[MENTION=8559165]OlliWi[/MENTION] that's a message from Dmitry Grinberg who ported the Nexus 7 from 5.1 to Marshmallow and as there were changes for the graphics drivers he wrote a wrapper for the original NVIDIA ones ... and wrote out his greeting message into the log ;)

... as the kernel still boots fast, I'll go another step forward.
[Nexus 7 Android Development] AndDiSa:
[MENTION=8559165]OlliWi[/MENTION] the last one for today: Tilapia boot image (March version)
[Nexus 7 Android Development] OlliWi:
That one is broken -> long boot time :(

/edit: still staring at the google logo...... after 3 minutes

dmesg and logcat attached.

dmesg output starting at 300 seconds?
[Nexus 7 Android Development] AndDiSa:
[MENTION=8559165]OlliWi[/MENTION] thank you very much! That's what I was looking for. I'll need t analyze the commits in between, but at least we could limit the range of commits. The commits it doubt are almost all related to USB ...
[Nexus 7 Android Development] Swanee123:
Confirming we are back to long boot with this one

7 minutes in my case comprising

45 seconds of Google screen

Then 5 minutes of another Google screen

Then 70 seconds of Android screen

Thanks for all your efforts!
[Nexus 7 Android Development] OlliWi:
It seems that the device simply does nothing during the first 300 seconds.

I rooted it and rebooted again -> same result. logcat attached. First entry there (beginning of main) is

after

the 5 minutes "google" logo.
[Nexus 7 Android Development] AndDiSa:
I suppose the device is trying to access a resource and it's not possible until a timeout occurs and the boot continues normally.
[Nexus 7 Android Development] saraomani:
I cannot thank you enough for this ROM. It gave life back to my old N7. This is the best ROM ever tried for N7.
[Nexus 7 Android Development] GianniDPC:
This is the best ROM I tried so far! This brought new life to my Nexus 7, before it would always lag like hell or just crash.. I couldn't even properly browse the internet without it giving up on me. On top of that this ROM seems to have widevine support so I can watch Netflix on my device!
[Nexus 7 Android Development] Behinime:
Hi guys, i couldn't find anything about how to overclock GPU and CPU. It exist a kernel that let me do some overclock compatibile with this rom?
[Nexus 7 Android Development] AndDiSa:
[MENTION=8559165]OlliWi[/MENTION] Now I've prepared a Tialpia boot image having all the commits included until the beginning of June beside the commits we identified as problematic for Tilapia. It would be glad if you can test the boot image and report whether the long boot time is fixed. Thank you very much!
[Nexus 7 Android Development] OlliWi:
Long boot time is fixed with this image. :good: :good:

/edit: logcat and dmesg attached.

Note that i had some unexpected reboots of the kernel with the "march" kernel image.

I only detected this by using the kernel adiutor app which leaves a message in the status bar when it has applied its settings. Otherwise you won´t notice a kernel reboot during the night.

We need to observe the new kernel for this behaviour.
[Nexus 7 Android Development] AndDiSa:
[MENTION=8559165]OlliWi[/MENTION] that's good news ... even if I have most likely reverted now too many commits, but at least we've gotten a basis from where we can continue.

At the reboots we should keep an eye but I am not much scared as the kernel and the power management (which is defined in the device tree) ist not 100% aligned in these builds. Some of those incompatibilites are causing some error messages in the logs you provided, too. As I know now what to keep out I can start to prepare a final build.
[Nexus 7 Android Development] OlliWi:
Can you show me where to find these commits?
[Nexus 7 Android Development] AndDiSa:
Currently I've reverted all the commits added on the 23rd of February, i.e. from align with Linux 3.4 to ALSA: usb-audio: Fix NULL dereference in create_fixed_stream_quirk(). Most likely it's only one or two which provocate the long boot, but I wanted to be sure for now.
[Nexus 7 Android Development] jolinnard:
I can confirm too that this new kernel doesn't have long boot. Good work!
[Nexus 7 Android Development] HerrT:
well done!

Although I don't have a Tilapia ("just" a Grouper), I would like to thank [MENTION=1716630]OlliW[/MENTION] and [MENTION=5078210]Swanee123[/MENTION] (and of course [MENTION=2188693]AndDiSa[/MENTION] :highfive:) for their effort!

THAT'S THE SPIRIT OF XDA-DEVS (which is unfortunately hard to find these days)!
[Nexus 7 Android Development] indexftw:
Same. 16gb grouper. Have no idea what caused it.
[Nexus 7 Android Development] Fallyx:
It looks like the newest Grouper Version broke SafetyNet on my device.

I did a clean install of the new version, reboot to install opengapps pico, reboot to install magisk.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5369446]Fallyx[/MENTION] you need to install the ROM *and* gapps *and* Magisk before rebooting into the system otherwise your gapps permissions will be reset and you will run into issues.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5486909]indexftw[/MENTION] what issues do you have with bluetooth? I didn't notice any yet ...
[Nexus 7 Android Development] indexftw:
Last month I installed microsoft launcher. I tried it's built in bluetooth toggle. Now it gets stuck at turning on and I can't turn it off from that state.

It might have been a coincidence since I haven't used bluetooth in a while. Just wanted to get a pair of bluetooth headphones and turns out it's bugged out on nexus not sure if I should get it now.

Cheers.
[Nexus 7 Android Development] OlliWi:
I think he is talking about booting into recovery after each step.

---------- Post added at 01:01 AM ---------- Previous post was at 12:58 AM ----------

No bluetooth issues on my tilapia, too.
[Nexus 7 Android Development] TitaniumCoder477:
Performance issues

Anyone besides me noticing a very long boot time on Tilapia device and some other symptoms?

0:00 I press the power button

0:00 - 5:15 "Google" w/ unlocked symbol

5:15 - 6:04 "Android" animated

6:04 - Finally the unlock screen

Additional symptoms:

The tablet lags a lot (almost like the GPU is overloaded) between switching apps and tapping around and such.

The tablet occasionally restarts itself

I use Cool Tool to monitor the cores and RAM, and the symptoms above remain even when those resources are hardly used.

Let me know if you have any suggestions for ascertaining the root of this problem / optimizing the ROM.

Thanks!
[Nexus 7 Android Development] AndDiSa:
[MENTION=9241647]TitaniumCoder477[/MENTION] ... did you ever had a look at this thread before posting your question?
[Nexus 7 Android Development] TitaniumCoder477:
Kindly move on...

[MENTION=2188693]AndDiSa[/MENTION] - Did you read 278 pages x approx. 8 posts per page = 2224 posts? Probably not. Neither did I read every post. If you don't have something helpful, such as a specific post in mind, please move onto "helping" the next person. Thanks!
[Nexus 7 Android Development] AndDiSa:
[MENTION=9241647]TitaniumCoder477[/MENTION] ... only one page back: Long boot time is fixed with this image.
[Nexus 7 Android Development] OlliWi:
No need to link to my profile ;), the correct link is:

https://xdaforums.com/showpost.php?p=76806580&postcount=2774

---------- Post added at 08:48 PM ---------- Previous post was at 08:46 PM ----------

For the latest ROM release you have to read just a few of the last pages. No one needs to read the entire thread.
[Nexus 7 Android Development] majorfigjam:
You're too polite! I wonder if the halfwitted TitaniumCoder477 now realises that you probably have read every post on every page, and that without you, none of this would be possible on our 6 year old Tilapias?

Some people just don't deserve to be helped.
[Nexus 7 Android Development] TitaniumCoder477:
[MENTION=2188693]AndDiSa[/MENTION] [MENTION=8559165]OlliWi[/MENTION] Thank you for the help. I was at a park earlier this evening being the "chef" over a grill of burgers and hot dogs for about 30 friends and a couple family. I saw the thread notifications come to my phone at one point, and it was amazing to observe how I was affected. Because I pretty much expected how the responses would go, I dared not read the posts lest my spirit be in angst once again. So I waited until a few hours later when I got home and sat down at my computer. But I was surprised this time by your responses, both of which were kind and helpful. The puzzling thing about all of this is the exercise in introspection it has granted me. Earlier this evening on the drive home I thought about an ancient king who ruled the known world from his throne in Babylon. I recalled his words when he was at last restored to his sanity and to his throne after a terrible humbling experience, "At the end of the days I, Nebuchadnezzar, lifted my eyes to heaven, and my reason returned to me, and I blessed the Most High, and praised and honored him who lives forever, for his dominion is an everlasting dominion, and his kingdom endures from generation to generation; all the inhabitants of the earth are accounted as nothing, and he does according to his will among the host of heaven and among the inhabitants of the earth; and none can stay his hand or say to him, 'What have you done?'" As I thought about these words, my own spirit breathed hope that I too should rise again one day. And now here at the computer, reading your words and appreciating the help and recalling my snarky earlier post born of frustration and impatience and pride... I think it will be merciful if the God of Heaven should raise me up again at all. Anyway, thank you again for the help. I will install the ROM update and call it a day and another lesson that money can't buy.
[Nexus 7 Android Development] apocalypsenzn:
I need to install this image or can I just flash the new flashable zip to fix the error?
[Nexus 7 Android Development] Letitride:
Just a quick update/feedback on the latest June 2018 build, excellent & thank you, for the N7 2012 tablet (grouper - WiFi only, 32GB storage) - that's six (6) years old now (although, a DIY battery gave it a new lease on Android life)

Dirty flashed/upgrade from April's build, pico Gapps, Magisk systemless root - using the N7 nowadays mostly for Youtube, MV Player/VLP Player for mp4 playback, and basics like web browsing, emails, FB/Messenger - no issues whatsoever ... so far, paired somethings with a BT compact keyboard and/or Big Blue speaker for better sound. Just easily paired up with a Jabra BT2045 headset, something that I used for smartphone calling - no problems to report.
[Nexus 7 Android Development] OlliWi:
Which error are you talking about?

Long boot time issue on tilapia?

In this case you need to restart the device into bootloader (adb reboot bootloader) and flash the new kernel with fastboot (fastboot flash boot <name of kernel>).
[Nexus 7 Android Development] apocalypsenzn:
Not needed xD

I flashed the boot image from twrp and it works. Thx a lot.

I downloaded the boot.img and go to recovery and flashed the image.
[Nexus 7 Android Development] Sam Nakamura:
Please don't get this wrong but literally the first and most important rule on our forum is "search before you post", using the thread search (little search box related to this very thread) with key words "long boot time" would have shown plenty of results in chronological order.

The standard behavior should be to use search, this way you don't have to read hundreds of pages but are able filter relevant posts...

There's also no need to be extra sensitive when someone "reminds" you to stick with the rules you have agreed upon when signing up for your account, those rules are important especially for everyone who is using this forum on a regular basis, as it would otherwise be incredibly challenging to work effectively, furthermore it's just impolite to demand answers when there wasn't any effort to investigate the problem on your side, not to mention missing logs - we are all here to learn and no one needs to perfect from the start but we all should at least show the attitude and willingness to learn instead of feeling attacked (generally speaking)
[Nexus 7 Android Development] apocalypsenzn:
is there plans for Oreo builds?
[Nexus 7 Android Development] pincher65:
del
[Nexus 7 Android Development] mkoyskip:
Found this thread recently, a bit out of practice. But decided to see what I can do with my Nexus 7 2012 3G to improve stuff. After reading a crapload thought I'd try this. We'll see if it works:D

Installed factory LMY47V

Rooted using CF

Installed TWRP 3.2.1-0

Wiped everything multiple times, did not yet format anything to F2FS [data/cache] because not sure if these partitions are correct, and again - outta practice. Haven't done much since I got my GS7 edge because I can't root it. It's awesome to be back BTW:fingers-crossed: :laugh: :crying: threw those smileys in for good/bad luck... Either way I'm excited to find out what occurs...

Installed the ROM, update, gapps-Pico (open gapps), magisk.. rebooted each time back to recovery. Also wiped Dalvik/cache before each reboot back to recovery. Probably not necessary but for some reason I did this anyway. Old habits?

H

After the last recovery reboot I allowed TWRP to install its apk upon system reboot. Perhaps shouldn't have allowed this as it may skew my results.. oh well, find out soon enough.

Thanks to AndDiSa for this opportunity to revive my tablet.

Thanks to you members also, keeping my fingers crossed, I'll let y'all know how it goes. If I'm a dumbass and/or missed something please let me know.

EDIT:

I don't have the energy to fully test this now but it's working. I only planned to use this for GPS, but I may rethink this.. The minimal installation is just awesome!!!

Newbies & such: read the threads first. I worked over MY weekend (77 hour work week) and still found time to figure this out. Took me a few hours reading. Request assistance when you need it, but do your research first. This install took me one (1) try. And it's working AOK.
[Nexus 7 Android Development] mkoyskip:
I apologize for chatting so much, but have additional questions... Yes still awake..

I only really want to use this for GPS, other stuff. There isn't much chatter concerning f2fs so not exactly sure whether or not this means only data/cache? Some say this & that.. think that some say NOT system, no matter what. Only searching for info. Thanks.

EDIT: boot, a few seconds.
[Nexus 7 Android Development] Nexus7_tilapia:
Dear [MENTION=2188693]AndDiSa[/MENTION] please insert ur new tilapia boot image link in ur first post of this thread. thanks
[Nexus 7 Android Development] AndDiSa:
[MENTION=8618734]Nexus7_tilapia[/MENTION] I'll upload today new builds for Tilapia and Grouper where I've fixed some other minor issues, too.
[Nexus 7 Android Development] AndDiSa:
New versions from 20180618 for Tilapia and Grouper are available

As I promissed earlier today I've uploaded the new builds for Grouper and Tilapia and I've updated the download links in the OP. The long boot time for Tilapia is fixed (many thanks go to [MENTION=8559165]OlliWi[/MENTION] for his support) and I've added a fix regarding the D2W initialization as well as some minor patches which I missed before.
[Nexus 7 Android Development] Swanee123:
Early testing on tilapia version shows very impressive performance. Testing continues!
[Nexus 7 Android Development] williamlaw:
How about wakelock of "baseband_XMM_xxxxx" ?

I remember this wakelock problem can't fix from Android 4 -5

Finally, flashed Tilapia to Grouper
[Nexus 7 Android Development] zard:
Great rom. First time using it.

I'm using the Tilapia version, and it's fast and like. Good enough for my navigation needs. Using Google Maps, Waze and Sygic.

Btw, when I plugged in my USB thumb drive, I will see this error:

MTP Host has stopped

X Close app

! Send feedback

Mute until device restarts

Which app should I be granting access so that I can solve the above error message.

Thanks in advance.

Sent using Tapatalk
[Nexus 7 Android Development] AndDiSa:
MTP host should be restarted immediately. It's an inconvenience which I couldn't solve yet.
[Nexus 7 Android Development] AndDiSa:
[MENTION=3887645]williamlaw[/MENTION] not sure about this issue, because for grouper it's not important, but I'll have a look at it.

Edit: kernel has the patch applied
[Nexus 7 Android Development] mafarric0:
I will just now install the new ROM using the same steps as post #265 from [MENTION=2113031]dooderooni[/MENTION].

In either case the wakelock problem is not solved. Yesterday I left the tablet charged 100% and today when I woke up is was about 50% battery! But it's not a problem from this ROM.

Does anyone has this problem our found a way to fix it?
[Nexus 7 Android Development] :
Ditto two times; indeed, a most excellent ROM and,

I prefer the longer route of reinstalling app from Play Store because I know they're installed 'properly' - I've not yet found a 'backup/restore apps' function that I can rely upon.
[Nexus 7 Android Development] 239:
Well to backup apps you just need to copy the apk files and nearly every backup solution is able to do so (even without root). It saves quite some time if you have many apps that you need to restore.

The real problem is the app data and there is indeed no perfect solution since even Titanium sometimes fails here. A Nandroid backup is pretty reliable, though.
[Nexus 7 Android Development] paasoares:
Again, thanks AndDiSa for this GREAT rom !!!

Everything is smooth as silk, not a single FC and battery is awesome - more than 2 days and still have 75% (keep wi-fi on during sleep = NEVER)

Great Job !

Keep up the good work
[Nexus 7 Android Development] kc8sbv:
AndDiSa, I backed up 6.1 and moved to 7.1, no issues at all. No errors yet, very pleased! Will give it a work out tonight! I expect 7.1 gets more of your time than 6.1, so 7.1 will stay on my N7, I hope.
[Nexus 7 Android Development] DutchMan_1990:
Just to be sure, this build doesn't allow to file transfer via MTP.
[Nexus 7 Android Development] cosmickamal:
it allows perfectly although MTP host FC but it starts working immediately so go ahead. This rom is pretty amazing. Thanks [MENTION=2188693]AndDiSa[/MENTION] .
[Nexus 7 Android Development] adstraylight:
Just one small thing, I have a listing for Mobile Signal in the battery stats on a grouper, obviously not a big deal....
[Nexus 7 Android Development] DutchMan_1990:
Sorry I couldn't find my device in the Windows 10's file explorer window.
[Nexus 7 Android Development] EternalSeekerX:
Hey so when I try to sideload Gapps 7.1 pico the sideload fails because its saying its uncompatible rom, it thinks im on 5.1.1 when clearly I flashed android 7.1 :/

Edit: Factory Reset fixed the issue! Now I am using f2fS and the rom seems to fly, haven't loaded apps yet! Is there any performance tweaking or aggresive ram management in the rom or should I look for third party apps? Which ones?
[Nexus 7 Android Development] adstraylight:
Tip for the future, if this happens again, try going into the Mount section of TWRP, and uncheck /system. It seems to be an artifact of all the new ROMs that the updater scripts don't do this after flashing, or it could be a bug in TWRP itself.
[Nexus 7 Android Development] Emandroid:
How can I use F2FS?

After installing this rom, google apps don't appear
[Nexus 7 Android Development] Emandroid:
Pls help me

I've wiped ALL

I've installed the rom, google apps (pico), and supersu

After booting the tablet hasn't got google apps

The keyboard isn't installed and I can't write my wi fi password

I'm on the last twrp
[Nexus 7 Android Development] paasoares:
See my post #256

there you have the instructions to format DATA & CACHE in F2FS (SYSTEM has to be formated in EXT4)

Also, regarding GAPPS follow what i wrote.

Cheers
[Nexus 7 Android Development] AndDiSa:
[MENTION=4387393]Emandroid[/MENTION] I guess something went wrong during the flashing process. What version of TWRP do you have installed? Did you notice some error messages during the installation? Did you try to wipe /system partition before flashing the ROM-zip? What version of SuperSU did you install? Did you install SuperSU in systemless mode? ...
[Nexus 7 Android Development] Emandroid:
I've solved this problem by installing rom and google apps with Nexus Media Toolkit

Now I'm restoring my apps

Now I want to see how to format in F2FS (I found your post)

Edit1: now I've formatted cache and data to F2FS and System to EXT4

Now I'm pushing and installing the rom with Nexus Media Toolkit (without wipes)
[Nexus 7 Android Development] 239:
Just tried newest build on Grouper, works fine while offline but crashes when it connects to Wi-Fi :( IPv6 is still an issue so I restored the backup again (January build).

Is there anything we can do to help finding the troublesome changes since then or do you have an idea what the problem might be?
[Nexus 7 Android Development] AndDiSa:
[MENTION=6076637]239[/MENTION] Unfortunately at the moment I don't have an idea what might be the root cause of the problem. I know that there was the KRACK vulnerability and there were some patches at the end of November/December against it. But I cannot believe that this is causing your issue. Does it crash directly when you switch on WiFi after it connects via ipv6 or does it take a while? Could you probably send another log documenting this issue? Probably I missed something in your old logs, even if I do not think so.
[Nexus 7 Android Development] Nexus7_tilapia:
:laugh: