yashsingh1/xdaforums huggingface dataset:
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
Absolutely. You've got a bad case of the problem that's been driving me nuts for the last 5 weeks. I've gotten downright O/C about it...

Basically, something is gumming up the works during startup causing nearly every core process to experience ANRs. When this happens in SystemUI the system kills and restarts it, causing the status bar, nav bar, and lock screen, to disappear then reappear. On my lightly loaded tablet, one or two of the core Google apps also get killed and restarted. Chances are that you're seeing the same thing, only worse.

I've tried everything I could think of - with one exception - and nothing has fixed the problem. However, I've found one very curious workaround: if I install my favorite live wallpaper (Koi Pond), all the ANRs disappear and startup is problem-free (though still a bit long). Looking at the logs, I see that it does a lot of prep work, so I can only guess that this is a timing issue. By taking its sweet time, it delays other things from starting and prevents the logjam that results in ANRs. Dunno...

Anyway, just before I started this reply, I decided to try my last, best hope: a pure, unadulterated build of AOSP v5.1.1_r5 without any of my changes. I doubt this will build successfully, and if it does, I doubt it will run properly, so I'll probably have to restore a few of the patches to make it compatible with the S7P. I can only hope that the final, minimally-modified product is free of this problem, because if it lies within Android itself, I don't know how to fix it.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jachol:
OK, I've been running the latest beta a little under a week, and so far no real problems, I intended a clean install, but omitted the necessary wipes, so have left it as is with the dirty install.

Boot time is seconds under 2 minutes, and I haven't seen anything of the widget problem mentioned above.

Use has been just general browsing and intermittent casting to TV. I am finding two casting apps ( Localcast and Allcast) that previously didn't work are now running with no problems, strangely Solid Explorer (+ it's casting add-on) which worked fine previously is now less reliable. I haven't been able to cast to TV when browsing as yet, but havent been able to check either of the latter problems further, it's been a busy week with family ... which must take priority. ... Jack.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] CanuckinPA:
I'm OC about my tech products too! I can imagine how it's driving you nutty! ;)

Thanks for the info Jack. I think that I'm going to flash the beta after I get home from work tonight. We'll see if that improves/removes the problems.

Family definitely takes priority!

Cheers

Steve

SATURDAY MORNING UPDATE: I flashed the beta and micro-GApps and I'm still getting long boot times and ANRs.

I might go by the "If it ain't broke don't fix it" maxim and go back to the tried-and-true KK version. :good:
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jachol:
Hi Steve,

Sorry to hear no joy for you, and strange how different people meet differing problems.

I must admit KK was very good (liked it very much), but lollipop does seem to be improving,

especially when it comes to casting ( which I use a lot), I'll stick with it for now.

Best of luck, hope you solve your problems. ... Jack
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
Boot Issues Solved

I regret to report that the cause of Lollipop's slow, ANR-filled startup has been identified: the DoPa bootanimation. :crying:

Remove or rename it, then reboot and you'll find you have a whole new machine - startup takes half as long. Apparently, the thing consumes a gi-normous amount of memory and starves all the other startup processes. Once it ends, it releases all that memory and things are back to normal.

To see for yourself, rename '/system/media/bootanimation.zip' (I just add a '-hide' to the end of the name). If you use ADB, you'll have to issue the "adb remount" command to make the '/system' partition writable - a file manager like ES File Explorer should take care of that for you. Be aware that this will likely only fix startup problems, not other errors you encounter later - unless those happened to be triggered by startup issues.

I'm building a new beta right now that relies on the default bootanimation and has a few other changes. With any luck, this will be the last one...
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] faheyd:
Sometimes it's the thing staring you in the face... Good detective work !
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] Pow_2k:
I'm assuming the startup animation is a zip of PNG images? Any chance it could be converted to a smaller video file? I'm using what is in this thread on my Moto XT926 phone, don't know if it would work for the S7P. Maybe wishful thinking, but figured worth a pointer.

http://xdaforums.com/showthread.php?t=2915445
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] williamfold:
Here's the DoPa bootani converted to jpg from png...its now 1.4MB from 11MB....might help
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] mikembley:
I'll take blame for this one! :crying:

Haven't had chance to play with my sero except work on my game, although i quickly checked to see if the USB fix helped with DSLR, and it did in fact work!

Thank you very much Dopa!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
You'll be receiving my bill very shortly for the 100+ hours I spent trying to fix this problem! However, since you are a starving artist, I will consider taking payment in kind :D

All kidding aside, I had been thinking of asking whether you'd consider creating a custom wallpaper for this ROM - the stock one is __sooo__ dreary. If you have the time and inclination, I think we'd all appreciate it.

I gave it a try, but sadly, the results were the same. The problem is not the size of the input image but the size of the final result. After some intensive processing, each frame becomes a 1280x800 32-bit bitmap that gets saved in memory so it doesn't have to be recreated on the next animation cycle. Given that this animation has 64 frames, that means that it uses a

minimum

of 262,144,000 bytes (i.e. 256mb). With it devouring over a quarter of all available memory, it's no wonder there were problems! To avoid this, Google recommends touching as few pixels as possible and using a low frame rate (I haven't checked, but I assume it will center a smaller image).

Motorola must have written their own bootanimation program because the stock version doesn't support video. Too bad...

I wish I could take credit for figuring this out on my own - but I can't. In an act of sheer desperation, with no hope of ever getting this resolved, I resorted to looking at the Nexus 7 forums for some sort of solution. There, on the third page of some thread about lagging-Lollipop fixes was a link to a thread about the problems boot animations can cause. Voila! Problem solved.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] CanuckinPA:
I renamed the zip as you suggested and on first look it seems to be running quicker. I'll keep an eye on it.

Thanks as always for a job well done! :good:
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] mikembley:
Heh, of course i will, you deserve a lot of praise for keeping S7P going for so long!

*tucks tail between legs* Does this make things any better? ;)

Quickedit: This post suggests that its a memory leak? Looks like they have a fix, if that is applicable here. Seems to be nothing apparently, and i'd rather trust a Google Dev
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] Pow_2k:
Bummer. Couldn't remember if it was in a Moto specific thread. If there is a way to use video I'm sure it would solve the memory problem as only the video itself (if even) would need to be stored in memory and not each full, uncompressed frame. The trade-off of using more CPU to handle the playback of the video vs. the 256MB of the current one would likely see faster boot.

Trying to remember what the stock boot animation was. I would assume it was on a black background, allowing the size of the image to only be the 2D space that had boundaries of the non-black areas. Bet if the current DoPa animation images were reduced to the size of not much more than the lettering we'd be set. This would be at the cost of that nice background, or maybe instead have the background only behind the lettering with a quick gradient to black not far out of that area reducing the overall dimensions of the image.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] sergiob1:
Hello all, i need one straight forward question answered. Can I install this ROM, on a Sero 7 lite?
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
No, the lite is a totally different device.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] TheLoonyRebel:
Sadly no as the Sero 7 Lite is a different device all together. Kind of shocked at the lack of development on that device in all honesty. I just picked up on a month ago at Walmart for all of $15 on clearance. If I knew how to do ROM dev work I would try to get CM12.1 on it at least but sadly I lack that kind of talent/skill. :crying:
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
AOSP 5.1.1_r8 - DoPa5 v1.2 beta4

This is it (finally): the first fully-functional, I'm-pleased-with-the-results version in quite a while. Give it a try and let me know what you think.

Startup problems caused by the DoPa bootanimation have been resolved - without getting rid of it. Startup time (as indicated by how long the bootanimation runs) has been reduced from 70+ seconds to 30 seconds on my tablet.

This version also offers improved media codec support, including support for HEVC video, a slimmed-down kernel, and (based on one test) Bluetooth tethering to a phone for internet connection sharing. Features seen in previous betas such as sound in WiFi display, USB Host support, and functional USB Audio support are also present.

Of course, no release is complete without a bug or two. Here are the two I know of:

* don't try to boot with a USB audio device attached - you'll end up in a bootloop

* don't use the tablet to end a WiFi display session, tell the television to disconnect - using the S7P will probably lock it up

Please don't report errors that occur on the initial bootup after installation. Instead, reboot, then see if the problem persists. It seldom does, but if so, please let me know. Also, if you have startup problems at any time, force the tablet off, disconnect any USB cable and remove any SDcard, then retry.

As always, installation is simple: from any DoPa5 release or beta version, just flash the ROM and Gapps - no wipe needed. If coming from an Android 4.x ROM, or any version of CM or its derivatives, a full wipe is mandatory.

sero7pro-aosp511-beta4-v1.2.zip the full ROM

sero7pro-nexus7spoof-beta4-v1.2.zip identify tablet as a Nexus7 to (possibly) show more apps in PlayStore

sero7pro-philz6.58.0-dopa-v2.7.zip a customized version of Philz Touch CWM-based Recovery v6.58.0 usable on all versions of the Sero 7 Pro

TK Gapps a link to the new "TK Gapps" thread here on xda-developers
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
I will finally give it a try this weekend. I am looking forward to some of the improvements you listed.

Thank you so much for all of your hard work! Without you this tablet would have been dead a year ago.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] meanoc:
Major props on your rom. My tablet has NEVER been so smooth and fast. Great Job :)
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] amoot329:
Updated to latest build, so far so good. Haven't noticed any lag but I don't much with it. Spend more time with my phone, more portable lol. Only use my tablet to watch movies and play certain games.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ceedj:
First time, long time, etc.

Upgraded from your Dopa KK rom (did a clean install), seems pretty good so far. Couldn't get the TK Gapps mini package to install, but micro went fine. Some things I've noticed so far:

- Google (or Sero) launcher quits somewhat often. Starts right back up, but noticeable.

- Keyboard input seems a bit sluggish.

- WiFi reconnects after turning it off, big improvement from KK rom, where I would have to reboot the tablet entirely to get it working again.

- Overall seems smooth, but not as snappy as the KK rom.

Very much appreciated, seems stable enough to use as my daily driver, will report some more as it gets used. Thanks for all your hard work!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
I installed the newest version and it is running very well. Thank you again for all your hard work!

One question though, I no longer have a percentage (in numbers) battery indicator at the top. Anyway to get that back? I messed with settings and could not find any options.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] faheyd:
I've got the latest loaded also, it works. (as above, only micro google apps would work)

I've got a request for the rom though. On my G2, in developer options, there is an item I really like:

"Advanced reboot" . It saves me from having another app just to boot into recovery.

Thanks for listening !

Dylan
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
The option is there, but it is under settings/performance.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] sinnedone:
I did a fresh install of sero7pro-aosp511-beta4-v1.2.

SO far this is the BEST lollipop has been on this tablet! I commend you dolorespark for all your hard work. It is by far the most responsive version of this rom so far. Not as responsive and fluid as your kitkat rom but pretty darn close.

SO I tried to use the "cast screen "feature with my chromecast and.....YEEES it works! I have acutally only tested about 5 times now for 3-5 minutes at a time but it works. Things I have noticed are a little lag on what is mirrored on the screen, sound seems to be 1/2 a second behind. Its also not as fluid as it is on my G3 but I think that's just older hardware of this tablet showing its age?

As far as disconnecting from the chromecast via "cast screen" option in the pulldown and hitting "disconnect", I have yet to have any issues. NO device lock ups or restarts, it just disconnects like normal and keep on using the tablet.

There still seems to be a sort of delay in responsiveness??? I turned off haptic feedback and sound for screen presses but there is still frequent delay in just normal day to day navigation in the device.

I will continue to report back with any issues or thoughts, but I found my new daily driver. ;) Might just update the rest of the tablets I have in my house(3 more) to this rom if it continues working this well. :D
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] faheyd:
I didn't look in there as I don't over/under clock. I did find it where you said, and checked the box, all is well on an easy way to get to recovery. I also checked off some overclocking, we'll see how that goes. THANK YOU !
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
After a day of using this I am quite pleased. It is running smoothly and I like some of the new features,

But....

I am having some trouble finding ways to get some features back from KK. I need some kind of animated battery, wifi widget that sits in the notification.

I am also not liking the way it is running through the battery. After an hour it is already down to 76%. I did not overclock. And this is just running wifi and doing some web searches. The screen brightness is set at medium with bluetooth and location services turned off. Any Ideas?
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ceedj:
Did another reinstall, must've forgotten to wipe something previously because it's much smoother now. Also chiming in on the battery issue, seems to be using more than usual. Still love it though, so thanks again!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
Hmm... I never use the bigger packages but I'll try it to see what the problem may be.

Did the reinstall fix this problem? I've never seen the stock launcher quit. When I install TK-Mini I'll see how the Google Now launcher performs.

The missing items you mention were all provided by add-ons (likely the Xposed module Gravity Box), not the ROM. Last time I looked, there was an experimental version of Xposed for 5.1.1. You may want to try installing it and the corresponding version of GB.

As to the battery... If you did a clean install, the numbers you're seeing are wildly inaccurate because the battery (or more nearly, the battery-monitoring function) hasn't been calibrated yet. The basic routine is to charge the battery fully, unplug it, then run it until it turns off. Charge it to 100% again and repeat if possible. The more it's used over a wide range of charge levels, the more accurate it will be.

FYI... if you expand the notification panel all the way so that the Quick Settings tiles are displayed, a numeric battery charge percentage is shown at the top of the panel. Not overly convenient but present if you need it.

Chromecast and WiFi Display aren't the same thing though they must share some code paths if sound now works for both of them. My impression is that Chromecast "packages" the audio and video data differently than WiFi Display before it gets sent out. When you end WFD from the tablet, it seems to abandon its efforts and leaves a bunch of things unresolved, leading to a hang. Apparently Chromecast does a better job of cleaning up after itself when it shuts down, so it doesn't have the problem.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ceedj:
Thanks for the reply. No launcher crash since the reinstall, keyboard is better, though still seems a bit laggy on some things. Might just be chrome, will try with another browser.

Overall the latest reinstall was much better, though in addition to the TK GApps mini or better install fail, all the zips fail the hash check using your custom recovery. There is also a outdated binary warning when installing TK GApps. Not sure if it's important: (all zips install fine), but seeing how this is custom, thought you'd like to know.

Edit: I usually charge the battery to full, then let it run out anyway, so maybe the calibration will help; will update in a few days. Thanks again, it really is great work!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
I just tried the xposed version for 5.1, it slowed my tablet down so bad I had to uninstall it. I do not recommend it.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
I have been running it now for a couple of days. I am really liking it! No real problems at all, it seems to be as smooth as synthetic silk. Great Job dolorespark!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
I have a question. I checked the box for always have screen on when charging, but it shuts off after 30 minutes even while charging. Is this a bug? Or am I missing a selection under settings, I use my tablet as a alarm clock, and it's kind of a pain to have to reach over and tap the screen to see what time it is.

It worked fine under 4.4.4
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] sinnedone:
Had a strange issue today on the latest beta.

While watching youtube a notification from the ebay app came through and lowered the youtube video volume to sound off the notification. After the notification tone finished the youtube video volume stayed at the lower volume instead of coming back to full volume.

Had to quit youtube app and restart the app to get correct audio level. First time for this and ill keeo an eye out for it.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
I should have known the answer when I first replied, but now I have the numbers to confirm it: TK Gapps Mini and above are just too big. Here's an excerpt from the Mini package's install log:

Total System Size (KB) | 774064
Used System Space (KB) | 444684
Current Free Space (KB) | 329380
Additional Space Required (KB) | 33196 << See Calculations Below

You can add a '.gapps-config' file to the directory containing the zip to tell it to exclude a couple of items. If you skip, say, FaceUnlock and Google Text To Speech (TTS), then the rest will fit. See the third posting in that thread for details.

FYI... beta 4 actually takes up 15mb less space than the previous versions. 5mb of that comes from omitting literally hundreds of files that were always included but were never used. The majority of the savings comes from shrinking the bootanimation from 10.7mb to .7mb. For that I want to thank [MENTION=1164313]williamfold[/MENTION] who reduced it to 1.4mb by converting its 64 png's into jpeg's. I then cut that in half by deleting every other frame. While the image format didn't matter using the old code, with the new on-the-fly method, using jpeg's reduces processing time by over 30% and lets it run full speed most of the time.

Are you saying the signature verification fails or the optional MD5 calculation? I've never seen a single a 3rd-party package signed with the standard test keys fail. As to the "outdated binary", that refers to the installer program that's always included in any of these zips. You should never see that with my stuff because I always use the one that just got built as part of the ROM.

Are you referring to the option under 'Developer Settings'? If so, it sounds like you really should be using 'DayDream'.

In Settings, turn off "always on", then go to Display and set the 'Sleep' option to something reasonable (2 or 5 minutes). Next, select 'DayDream', then select "Clock". Finally, tap on that item's gear-icon and uncheck "Night mode" on the following screen. After a few minutes, the screen will go dark and the time will appear in large numerals that are bright enough to be seen in (indoor) daylight.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ceedj:
It seems to when you select the zip in Philz, it does (what I thought was) a hash check, says verification failed, I think it had an E4 error. You are much wiser in the ways of ROMs than I, so maybe it's nothing. Just something I noticed through the 3 installs I did.

I also appreciate the explanation of the way TKs GApps install. I figured it had something to do with the way they allocate the total space; for all the searching of that thread, I couldn't find the numbers for each size. Funny how 30 mb is all the the difference. :D

Battery seems to be back to about where it should be, so calibration is good. Keyboard is definitely better than the initial install, and seems to be better than 4.4 on Disqus, so huzzah!

In regards to the sleep duration, I left mine plugged in just about an hour or so ago, and the screen was still lit, though dimmed when I returned. Just turned off the daydream, as this tablet gets the most use as my lyric book for the bands I work with, so I generally keep it on always on stage.

Thanks again for answering and doing such fine work sir!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] kirukirukiru:
Works Perfectly.

I've had several different roms and all of them did random reboots and poor performance overall.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
I have been using the Sero 7 Pro for over 2 years now. And I can only remember a couple of times that it randomly rebooted on it's own. The last ROM dolorespark made 4.4.4 never had a problem, and while I have been using 5.1.1 for about 4 days now, it has been working as close to perfect as I could ask for.

I wish I could afford to send him some bucks, but money is tight. ( just had to spend $1600 on some dental work today, OUCH) If any of the individuals on XDA deserve some credit/cash it's dolorespark.