yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] Scott:
Reboot often, use memory scrubbers like fast reboot.

Here is more reading...

Google Fixes Lollipop Memory Leak, Android 5.0.3 Incoming?

Android Open Source Project - Issue Tracker: Issue 79729:	Memory Leak on Lollipop crashing Apps
[Nexus 7 (2013) Android Development] onishchuk4:
Roger that.
[Nexus 7 (2013) Android Development] r_diaz13:
I stay Roger that as well lol
[Nexus 7 (2013) Android Development] Doomstang:
Droid Life verified

Android 5.0.2 LRX22G Factory Images Now Available for Nexus 10, Nexus 7 (2013) WiFi- goo.gl/khmgCC #android pic.twitter.com/dGOTyLcSCJ

2 minutes ago from TweetDeck
[Nexus 7 (2013) Android Development] Barthlon:
Big question: does that fix the memory bug? :)
[Nexus 7 (2013) Android Development] GROGG88:
Nope. Just means some of us get new binaries for aosp... :p
[Nexus 7 (2013) Android Development] Tarkus56:
5.02 (lrx22g)

Hi Scott,

Looks like 5.02 (LRX22G) has been published.

https://developers.google.com/android/nexus/images

Thanks for all that you do!

Tom
[Nexus 7 (2013) Android Development] L.F.B.:
Yep, just posted on Stock rooted thread aswell :)

Nice to have the most updated Nexus device ever! :D
[Nexus 7 (2013) Android Development] Scott:
OMG! Here we go again!
[Nexus 7 (2013) Android Development] Scott:
Done!

See here for latest build: [ROM][Flo][1/15/15] - Factory Stock Rooted ROM - LRX22G - Android 5.0.2! Lollipop!
[Nexus 7 (2013) Android Development] Scott:
52 minutes... I think that is a new record for me!
[Nexus 7 (2013) Android Development] mjc2251:
I'm impressed! Now let's see how long for CleanROM!
[Nexus 7 (2013) Android Development] Scott:
Nah... Not till this weekend.

I always like to see how things shake out on the stock root build first :p
[Nexus 7 (2013) Android Development] dang69:
Dirty flashed over.01 and it seems fine so far after a quick run through. I'll post back if anything shows up.

Dan
[Nexus 7 (2013) Android Development] andyman_187:
So I've been having issues with sensors going offline randomly. The screenshots of CPU-Z below show this. Sometimes rebooting fixes it, sometimes not, and I just keep rebooting until it fixes itself. I was just wondering if a logcat would help determine what's causing the sensors to freeze up (rotation, compass, etc. as seen on the screens).

Before

After (stuck on landscape)
[Nexus 7 (2013) Android Development] averagedawg:
portrait view stuck

I seem to be stuck in portrait mode. I'm checking all of the auto rotate settings but it's stuck in portrait. I saw earlier where someone had a similar problem and it was due to an app. I booted in safe mode and still the same problem. I flashed the factory image, then clean room right over top of it as suggested.

Anyone have any ideas?
[Nexus 7 (2013) Android Development] dang69:
I think you're solid to build. I haven't been able to find anything bothersome.

Dan
[Nexus 7 (2013) Android Development] averagedawg:
portrait view stuck

I seem to be stuck in portrait mode. I'm checking all of the auto rotate settings and they are set to auto rotate, but it's stuck in portrait. It just won't auto rotate. I saw earlier where someone had a similar problem and it was due to an app. I booted in safe mode and still the same problem. I flashed the factory image, then clean room right over top of it as suggested.

Anyone have any ideas?
[Nexus 7 (2013) Android Development] Scott:
If you can get a logcat it might help.

In what app? The launcher, the web browser, etc?
[Nexus 7 (2013) Android Development] averagedawg:
All apps. From the home screen it won't rotate (when all settings are set to auto rotate). From the browser, from any app (including youtube) nothing will allow the screen to auto rotate to landscape. Even if I reboot, it is stuck in portrait.
[Nexus 7 (2013) Android Development] Scott:
At this point I would flash the stock google image from here: https://developers.google.com/android/nexus/images.

If it doesnt work then you have a hardware issue.
[Nexus 7 (2013) Android Development] averagedawg:
QUOTE=scrosler;58224420]At this point I would flash the stock google image from here: https://developers.google.com/android/nexus/images.

If it doesnt work then you have a hardware issue.[/QUOTE]

That is what I flashed before cleanrom. It was a fresh ADB install, THen added the latest TWRP through through ADB. Immediately downloaded cleanrom 4 and flashed it....

It is wierd. 3.8 was flawless. I will wipe cache etc and see if that fixes it.
[Nexus 7 (2013) Android Development] Scott:
You mean fast boot? I would still try it again to see what happens.
[Nexus 7 (2013) Android Development] x3dnd3x:
This might sound stupid but where do I change the battery icon to % instead of just icon? I'm still on 4.4.4. :confused:
[Nexus 7 (2013) Android Development] Captain_FSU:
Odd freezing during prompts?

I have been getting odd freezing during and only during on screen prompts such as when an app is asking to be given access to superuser support, during install screen for sideloaded apps and when certain apps from the amazon app store try to install. The onsecreen prompts just freeze and do not allow me to press 'grant' or 'install', I press install/grant and nothing happens.

This happens whenever a superuser prompt occurs but only to some app installs, could it be that some of those apps aren't compatible with art? Is this a lollipop bug or a Clean Rom bug?

Also having video issues but I'm pretty sure thats all lollipop's fault. Will there be an update to Lollipop 5.0.2 or 5.0.3?
[Nexus 7 (2013) Android Development] mindmajick:
The answers to your screen freezing are in the SuperSU thread.

-> Sent from my mind to your screen
[Nexus 7 (2013) Android Development] andyman_187:
I've obtained a log from catlog, and there seems to be errors regarding qcom_sensors. I can't attach it here since it's a 600+ kb txt file. Can I send it via email or something?
[Nexus 7 (2013) Android Development] frenkowski:
is it for Nexus 7 2013 only wifi?
[Nexus 7 (2013) Android Development] SP_Kenny:
Yes - for the WIFI version only

The mobile version still only has an official release of 4.4.4

https://developers.google.com/android/nexus/images <-- Look about half way down the list for the N7 2013
[Nexus 7 (2013) Android Development] Scott:
Im so glad I didint get the LTE version. I was so tempted too!

Also, this would work on LTE version... You just wouldnt have LTE.
[Nexus 7 (2013) Android Development] SP_Kenny:
Good to know. If I run across someone that doesn't care too loose the LTE I will send them this way

Just sitting here spamming refresh to see if you have posted the new N7 CR :P

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

And now I have to leave the house - probably moments before Scott posts the new build :P
[Nexus 7 (2013) Android Development] Scott:
Im working on Nexus 6 stuff right now.
[Nexus 7 (2013) Android Development] dark2099:
5.0.2 was initially released only for the N7 2012, so I'm not sure that the fixes really apply to the N7 2013, but my guess is Google just updated all the stock images for good measure. So where as an updated CleanROM would be nice, I wouldn't be surprised if the only improvements would be by Scott.
[Nexus 7 (2013) Android Development] fly4awhtgye:
I got the notification that the stock 5.0.2 download finished. How to I delete it to be sure it never gets installed? I have a 9-10 mb file in system/cache but expected a bigger update than that. Was that it?
[Nexus 7 (2013) Android Development] Scott:
I made a zip file and its attacfhed to this thread "somewhere" and it will stop it from happening...

Maybe someone can help you find it. I need to put it in the op.
[Nexus 7 (2013) Android Development] Tarkus56:
The answer is on this page...

http://xdaforums.com/showthread.php?p=56834956&highlight=ota+notification#post56834956
[Nexus 7 (2013) Android Development] fly4awhtgye:
[MENTION=426561]scrosler[/MENTION] Was this it?
[Nexus 7 (2013) Android Development] Scott:
Zip it.

Yes, that is the fix... Andmyman showed the manual method then I made that zip to do it automagically here: http://xdaforums.com/showpost.php?p=57556260&postcount=5178

However its never been attempted after the file has been downloaded. I would prolly just manually delete the file, run that zip, then check for ota and you should be find.
[Nexus 7 (2013) Android Development] andyman_187:
O herp derp....hehe. Here it is.
[Nexus 7 (2013) Android Development] frenkowski:
hi guys, i noticed that in background with Greenify there are 2 processes called "phone" and "mobile data", why even if Nexus 7 is only wifi?
[Nexus 7 (2013) Android Development] Alczas:
Unfortunately it's not... I flashed it by TWRP and nothing happend. OTA update still shows on screen with no possibility to erase/delete...
[Nexus 7 (2013) Android Development] fly4awhtgye:
The file I saw in system/cache was the update as I suspected. I notice that the zip is not there anymore even though system update in settings says that the 5.0.2 update is downloaded and verified. My notification is gone also after flashing the zip referred to on the previous page.
[Nexus 7 (2013) Android Development] Scott:
You need to manuall delete the OTA like the guy below you did.

I cant script that because I dont know the OTA name.
[Nexus 7 (2013) Android Development] mbamberg:
My Nexus 7 also just stopped rotating. doesn't matter what the settings are. I downloaded a sensor tester and none of the sensors are registering. I'll try the full reset and return to factory.

Mike:(
[Nexus 7 (2013) Android Development] Scott:
What happened after you return to factory???
[Nexus 7 (2013) Android Development] 13druber:
I flashed another Rom now my screen rotates again. I flashed back to this Rom and it works great but then the screen quits rotating again. I am running a different Rom for the time being.
[Nexus 7 (2013) Android Development] Alczas:
[MENTION=5219495]fly4awhtgye[/MENTION] [MENTION=426561]scrosler[/MENTION] There is a simple way to do this. Long tap on OTA notification and disable notifications from Google Services. It worked for me as well. :)
[Nexus 7 (2013) Android Development] php5_developer:
I had an awkward moment this morning. When I first unlocked it it was performing slow like 15 fps or so. So I monitored my ram usage and it was normal. Closed all apps used fast reboot, still slow. Finally rebooted and it stuck in google logo!

Sent from N7 2013
[Nexus 7 (2013) Android Development] Scott:
Because even though its a non-phone device those are still core elements of android. They just dont show up. One time I tried to remove the phone... That didint work out to well :o

Sadly this is not something new to me. I have heard of this before. Even had it happen on my own device once or twice. Are you back up and running now? You may have to reboot to recovery and try clearing caches.
[Nexus 7 (2013) Android Development] php5_developer:
I had a backup from 2days ago I restored it on the way to my workplace. Do you know what causes this? Is it a lollipop bug or CR?

Sent from N7 2013
[Nexus 7 (2013) Android Development] Scott:
I beleive its an actual hardware issue. The Nand gets corrupted somehow.

I have read various posts on it and Asus acknowledged that it does happen. I will see if I can dig up the posts I read in a bit.
[Nexus 7 (2013) Android Development] Titchener17:
I'm damn skippy you went wifi - CleanRom is the deal !
[Nexus 7 (2013) Android Development] sonicmixmaster:
Can anyone help me in explaining how to upgrade the bootloader. I have the stock one or whatever the one I had with cleanrom 3.8 I would like to have lollipop cleanrom. Thank you.
[Nexus 7 (2013) Android Development] Scott:
Word!

See post #2, it has the latest bootloader in a flashable format thanks to [MENTION=3667193]GROGG88[/MENTION]
[Nexus 7 (2013) Android Development] MrSnowball:
Willl there be an update to 5.0.2?
[Nexus 7 (2013) Android Development] r_diaz13:
Clean = mean = lean = my fave rom [emoji106] [emoji106] [emoji106] [emoji106] [emoji106] [emoji106] [emoji106] [emoji106]
[Nexus 7 (2013) Android Development] Tarkus56:
Update:

I just got my OTA notification and found the file OTACERTS.zip in the ./etc/security/* folder. I deleted the file and re-booted. I then cleared my cache (in Lollipop, not recovery) and the notification is gone.

Note: To clear cache go to settings > storage > press Cached data then OK.

Hope this helps someone.

Tom
[Nexus 7 (2013) Android Development] sonicmixmaster:
Thanks for your quick reply and info about post#2. I did read the first few posts many months ago but didn't think to go back there regarding my bootloader upgrade question so sorry for that. So if I flash this new bootloader now and I am using CleanRom 3.8 will I have any problems? For now I would like to get the Nexus ready for CleanRom 4 but will not flash 4 just yet. I still have some more backups to do before I get the 4 version.
[Nexus 7 (2013) Android Development] Scott:
No, the bootloader will not interfere with older versions.
[Nexus 7 (2013) Android Development] kindofabuzz:
I'm sure there will be eventually. He's giving his Nexus 6 love right now. :)
[Nexus 7 (2013) Android Development] Scott:
Exactly
[Nexus 7 (2013) Android Development] Divine_Madcat:
Alright guys, gotta step in here.

Scrosler will update to 5.02 when he is ready, on his own time. Please do not continue to pester him about when it will happen. If 5.02 is that critical of an upgrade, there are other ROMS. Any further begging for updates will be promptly dealt with.
[Nexus 7 (2013) Android Development] Windsor1959:
Well, Scott shouldn't bother with 5.0.2, IMHO. Most of the changes that Google put in there were meant for the 2012 Nexus 7, if my info is correct. He should just wait for the next Lollipop update.

Besides, Groundhog Day is coming. If Phil sees his shadow, we get six more weeks of Lollipop updates! Poor Scott! Hang in there!
[Nexus 7 (2013) Android Development] jamuso:
Really? I've seen like one or two questions about it. I dont think that classifies as pestering. I would think 99% of the people on this thread know what Scrosler is about and that he will get to things when he can. He is very clear about other piorities (i.e. work and his own life to live).
[Nexus 7 (2013) Android Development] kindofabuzz:
Little out of line there man. I've seen one person ask and they were nice about it. Chill.
[Nexus 7 (2013) Android Development] Divine_Madcat:
Frankly, 0 questions are too much (and per the XDA rules, ETA begging or other status pestering is against the rules anyway). Furthermore, keep in mind there is more than what you can currently see.

As it is, this isn't up for discussion, one person or 100 begging; there is no grounds for it, and people need to move on.
[Nexus 7 (2013) Android Development] Scott:
Not to carry this on but there have been multiple requests, not just one, at least 3. I just gloss over them and usually dont respond.

Mad cat is correct about the XDA rules.

With that said...

I will get it done soon. I can tell you that... I have a lot going on with my back / physical therapy. I have missed 1/2 of this month from work due to my back (which now makes bankrupt) so If I am missing that much work you can prolly rest assured I am in pain and just cannot carry on all the devices at the same intervals. Just please remember there is more to my life than this ROM.

IN the mean time I did put up the stock rooted 5.0.2 here:

[ROM][Flo][1/15/15] - Factory Stock Rooted ROM - LRX22G - Android 5.0.2! Lollipop!
[Nexus 7 (2013) Android Development] vuvuxela:
hi all

the stock 5.0.2 OTA update always stay in the notification bar, anyway I can stop that?

and also i'm very happy with clean rom 4.0, really no need to update....

so scrosler, no rush for that :)
[Nexus 7 (2013) Android Development] Scott:
Start reading here: http://xdaforums.com/showthread.php?p=58288349#post58288349
[Nexus 7 (2013) Android Development] Scott:
I would also like to point out that Ground Hog's day is also my birthday.

If phill sees his shadow I do not age 1 year! :p
[Nexus 7 (2013) Android Development] AidenM:
I think I speak for everyone when I say we'd like to thank you for your work. We all (at least I hope) understand that everyone has a life, and we are all quite thankful that you dedicate to time to helping out the community.

Thank you very much.
[Nexus 7 (2013) Android Development] Scott:
There is no doubt I feel respected in this community and your statements solidify that. Thats why Madcat Stepped in, before things went wild and I got dissed... I believe what he did was right and back him up 110% and thank him for doing it! TBH, I was getting agitasted with just 3 requests. But that is just me... I got a lot going on and XDA is about .01% of my life now. I know there used to be a time when I would be the first to have a new CleanROM out after stock was released but I am getting older and my back is not getting any better... But enough said...

Im a little disappointed in those that lashed out against him but also believe in free speech. Meh, you know what I am sayin?

Trust me... I got one little minor bug in my Nexus 6 ROM which I just fixed so I will be working on Nexus 7 tomorrow... Assuming I am not incapacitated with back pain :good:
[Nexus 7 (2013) Android Development] mbamberg:
After I returned to the Factory image, I still had problems. I found a thread about making some changes to the ribbon cables (added pressure onto the connector) and that fixed the problem. I haven't reloaded CleanROM yet.

Mike
[Nexus 7 (2013) Android Development] Scott:
Damn it! Sorry to hear man!

On the same note I am glad its not my ROM ;)
[Nexus 7 (2013) Android Development] wmuflyer:
It's a good birthday, mine too.
[Nexus 7 (2013) Android Development] Pandae:
This didn't work for me, but I remembered what I did long ago (maybe on a version of CleanROM for the original N7!). I found the update in /cache/fota and deleted the sizable zip. What do people do without root? :D

Android still thought it had downloaded the update and was ready to install. I cleared the notification by clearing cache and then data for Google Play Services. This necessitated deleting and recreating my Google account on the tablet, but no biggie, I'm no longer being bothered.
[Nexus 7 (2013) Android Development] Scott:
Here it is folks! Clean ROM 5.0.0 based on Android Lollipop 5.0.2!

This build was a pain in the a$$. Symlinks were all jacked up over stock so it took me a bit to fix them. Other than that... Looks good. Just like any x.0.0 release there could be the possibility of a bug. Please report them in a concise easy to understand manner and how to reproduce the bug. But before doing that do a clean install and dont restore any data.

Enjoy!
[Nexus 7 (2013) Android Development] Tarkus56:
Thank you very much Scott. I do hope you are feeling better. I've been there.

Tom
[Nexus 7 (2013) Android Development] Scott:
Today wasnt a bad day. I was able to remain seated the time it took me to get this done.

Now on to a couple beers and I am chillin out!
[Nexus 7 (2013) Android Development] fly4awhtgye:
That was quick. Too bad 4.0 is running so good for me. I'm in no hurry to flash.
[Nexus 7 (2013) Android Development] frenkowski:
wipe data is necessary?
[Nexus 7 (2013) Android Development] Scott:
I would make nandroid of your current set up first then dirty flash.

If it doesnt work out then you can with "Plan B"
[Nexus 7 (2013) Android Development] frenkowski:
thank you for the answer, I'll try and let you know...
[Nexus 7 (2013) Android Development] Scott:
It "should" work as this was just a minor x.x.1 to x.x.2 so I dont think a whole will be changed.
[Nexus 7 (2013) Android Development] HippoMan:
Thank you!

However, when flashing this new ROM via sideload after a clean wipe, I get this error:

symlink: some symlinks failed

E: Error executing updater binary in zip '/sideload/package.zip'

It seems to not complete the flash.

Am I doing something wrong?

.​
[Nexus 7 (2013) Android Development] kindofabuzz:
why don't you just flash the zip from recovery?
[Nexus 7 (2013) Android Development] Scott:
Make sure System is not mounted in TWRP. So reboot twrp then go to mount and make sure system is not mounted.

Also is it VERY FAST to get the error or does the ROM "seem" to install?

And what version of TWRP are you on?
[Nexus 7 (2013) Android Development] Scott:
Honestly, I like to fastboot format data then sideload.

That is the most pure install you can have.
[Nexus 7 (2013) Android Development] portezbie:
I'm having the issue where my internal storage isn't showing up. When I try and do the terminal fix I get "could not stat /data/media/0: permission denied".

How do I fix this? Thanks.
[Nexus 7 (2013) Android Development] Scott:
You did this: http://xdaforums.com/showpost.php?p=56533391&postcount=635

Make sure you "su" before the command to grant root.
[Nexus 7 (2013) Android Development] HippoMan:
The error occurs very quickly after the sideload gets to 100%.

I'm running TWRP version 2.8.4.

I'll try unmounting /system from within TWRP and try again. I'll post my results a little later.

Thank you.

.​

---------- Post added at 10:47 PM ---------- Previous post was at 10:45 PM ----------

I did flash the zip from recovery (TWRP) ... using sideload.

.​
[Nexus 7 (2013) Android Development] Scott:
Yes, I think that might be the issue. Let us know
[Nexus 7 (2013) Android Development] SHABBYLEA:
Christ almighty, still getting posts like this? You have the patients of a saint...

Actually, probably a bit harsh...we all have to start somewhere...
[Nexus 7 (2013) Android Development] Scott:
I have nothing better to do with my time.

I am here... More so to spread the knowledge... I will not live forever :p

I need the young guys to learn from me and carry on. That will be my little legacy to this world!
[Nexus 7 (2013) Android Development] HippoMan:
Yes, unmounting system before installing indeed fixed the problem.

Thank you!

I've installed countless ROMs on several different Android devices, and I've never had to unmount /system before any of those other ROM installations. But no big deal. It's easy to do, when necessary.

I just need to remember when to do it. :)

.​
[Nexus 7 (2013) Android Development] Scott:
I normally script it but I had such a ***** of a time with the updater script...

I would say 99% of the people will not have to worry about this... My next question is... Why is System mounted to begin with :confused:

But very happy to hear you have it going now!!!
[Nexus 7 (2013) Android Development] Scott:
Just an FYI: I need to update the stock launcher zip file in post #2. Its for 5.0.1 and I need to update to 5.0.2, however I dont think it will make any diff.
[Nexus 7 (2013) Android Development] HippoMan:
Not sure why /system is mounted. It seems to be a TWRP default for me.

But no big deal. If I ever forget to unmount it, the "symlink" error will remind me.

Anyway, good work!

... and thank you again.

.​
[Nexus 7 (2013) Android Development] Scott:
Thanks ;) (Im out of them for the day!)
[Nexus 7 (2013) Android Development] Scott:
I updated the stock Launcher to 5.0.2 for those looking for it...

It can be found in Post #2!
[Nexus 7 (2013) Android Development] SHABBYLEA:
Very laudable... Keep up the good work...?
[Nexus 7 (2013) Android Development] portezbie:
I mean I read the post, it didn't say anything about su. Apps usually ask for su permission when you open them. Shrug. Not sure if I should be criticized for not knowing terminal well.

Mock me if you want. I've got some more questions you will probably find equally stupid.

1. From what I understand xposed doesn't work with lollipop. What is the best way to get a battery percentage back?

2. Is there a way to disable the notification screen when the device is locked? I use a pattern lock, and I kind of don't like the extra step having the notification screen adds.

Thank you for your help Scrosler.
[Nexus 7 (2013) Android Development] Snap Shot:
it is not a rom related

but i post it here