yashsingh1/xdaforums huggingface dataset:
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ziddey:
Wifi cannot be turned on after an intentional soft reboot.

lolcat shows "D/WifiService( 2031): setWifiEnabled: true pid=4592, uid=1000" and nothing else on each attempt.

no kmsg activity

A subsequent intentional soft reboot hangs on boot animation:

E/ServiceManager( 123): add_service('sensorservice',0xa) uid=1000 - ALREADY REGISTERED, OVERRI
DE
I/ServiceManager( 123): service 'sensorservice' died
D/SensorService( 5228): nuSensorService thread starting...
I/SystemServer( 5228): Waiting for installd to be ready.
I/Installer( 5228): connecting...
I/SystemServer( 5228): Enabled StrictMode logging for WM Looper

Not a big deal. Just don't soft reboot and all is fine.

As well, I've noticed that autobrightness has the min setting far too low, which results in the backlight going out. The manual brightness min setting is fine. After enabling GravityBox's brightness controls, I see that the minimum manual brightness is 20, whereas the minimum automatic brightness is 5. I tried bumping this to 10, but still ran into issues with the backlight going out, so I put it up to 20. Everything is fine now.

If I get some free time, I might look into adding F2FS support (see http://xdaforums.com/showthread.php?t=2634271 for N7 2012). It looks like the N7 2012 does benefit nicely from it
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
My main build server's down and I'm waiting for someone else to VirtualBox me one (he said he might have it up this/next weekend).

I've got some downtime so I'm going to attempt porting MIUI to the ROM like I said I'd do a month or two back. With the server down for a few more days, I can only do a "sloppy" port on my XP machine- aka taking files from a Grouper MIUI port and placing it in DoPa 2.1.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] mastershak:
will test the battery fix tonight. i asked earlier but maybe it was overlooked. is there a way to remove phab7 and gravitybox. i dont use them and was wondering if i can remove them to free up some extra space. also do i need the xposed to be installed as well? if not is there some way to remove it as well? just trying to gain as much spave as possible, the stock rom when flashed clean has almost 5.5gb free and this has around 4.8x (dont remember exactly) and this has many less programs install. does kitkat just take up more room?
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
Hmm...

GravityBox, Xposed and Phab7 shouldn't nearly use 700 megabytes of storage. I guess KitKat takes more space, but don't quote me on that.

Assuming you haven't enabled Xposed yet, it should be safe to remove the GravityBox, Xposed and Phab7 APK files from the system/app folder using a root explorer. Personally, I use the one from CyanogenMod 11 but any file manager that can access root directories should do the trick.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ziddey:
yes you just need to remount /system rw and delete the apks. However, it will not gain you any free space in /data...

Do also bear in mind that updates to system apps (really gapps) will be installed in /data.

As well, for those who want a more complete gapps, http://xdaforums.com/showthread.php?t=2397942 works well.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] richieroro:
Does anyone know if the standard version ROM lets you run DSLR Controller, or do I need the Nexus 7 spoof?
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
Sorry for thread hijacking, but I don't want to make a new thread for MIUI until I know it works.

I finished my sloppy MIUIv6 port. I have yet to test it and I won't be able to do so until Friday, but in the meantime I've uploaded the first test build to my Mediafire. If somebody could test it for me, I'd greatly appreciate it! Worst case scenario should just be a bootloop. :)

http://www.mediafire.com/download/motpg4wwj4wtca5/Sero7Pro-MIUI-TE-Test1.zip

Sorry about the thread hijack again :(
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
Soft-boot has always struck me as a waste of time. If it works, great; if not, you have to spend still more time doing a "real" reboot. I'm perfectly willing to budget the extra 22 seconds needed for the bootloader & kernel to do their things, knowing that the end result will be a fully functional system.

I'll definitely adjust this when I do another build now that you've provided some good numbers to plug in.

Ahhh... some grist for my mill. I've spent the last several days working on my build of the master branch (4.4.3.43.43.43), trying to get device-specific SEPolicy correct and cleaned up. Frankly, it's not very satisfying (though I'll probably be the first kid on my block who can set "selinux=enforcing" when the time comes). Implementing F2Fs sounds a lot more engaging.

As others have noted, the apps themselves are on the /system partition. When activated and configured, together they use about 2.75mb on the /data partition which is pretty miniscule. Before you get rid of them, you should explore what GravityBox has to offer - you may only enable a few tweaks but you'll quickly find them indispensable.

The real space-hogs are the Google apps. Initially, they're installed on the /system partition so they don't take away any space. But as ziddey mentioned, as soon as they're updated (which is often), the updates will go into /data and eat up space. For example, Google Search is now up to 40mb. Skip the crapola (80% of it) and stick to the basics.

The purpose of the spoof is to trick PlayStore into showing you more apps. I don't think it affects whether an app will run on your device.

Quite OK, but I'd post in the TakTik thread because it has a bigger following (though less activity these days).
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
I'm trying it, will let you know if I get any results.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] Gster09:
Thanks for this ROM, totally appreciate the effort you have put into this! It's crazy that we could be on 4.4.4 with this device. :)

I clean flashed it yesterday, but unfortunately had some issues. Perhaps it was just my case, but here is what I experienced:

1) Unrelated to the ROM - davepmer's TWRP 2.7.1.0 20140719 did NOT actually format /system and /data. Files remained in those partitions even after a 'successful' wipe. I didn't like that the formatting wasn't wiping the partitions clean, so I flashed an older version of TWRP (2.6.3.0) and that one worked fine. On this recovery, I also got the symlink error which was resolved by rebooting into recovery and flashing again.

2) In several instances, WiFi was disabled after a reboot and it was not possible to enable it. The ON/OFF toggle would simply not respond.

3) The tablet was definitely a little 'laggy', though I didn't try the overclocked kernel.

4) A couple of my kids' games just wouldn't open. Specifically Plants vs. Zombies 2... It would just go to a black screen with no NAV bar and just sit there indefinitely. The other was a Uplay game of some sort.

5) Spoofing a Nexus 7 made it so that the Play Store did not show the latest Google Camera (makes sense since the N7 has none).

Ultimately, I decided to go back to the DoPa 6.02.20 (4.2.1) build. In doing so, I encountered a couple of other issues with the recovery I was using. On this ROM it completely failed on the first attempt, and on the second one it gave me the symlink error. So, I switched to randomblame's CWM 6.0.4.5 and had no issues wiping/formatting or flashing.

One thing that vexes me is where the bootanimation.zip file went? I really liked the ANDROID boot animation of the 4.4.4 ROM and when I returned to 4.2.1 I planned on pulling the zip file from the system/media folder. It's not there! :-o Does KitKat handle the animation differently, so it's not possible to pull it from a flashable zip and use it elsewhere?

Thanks again, I hope my observations help in some way.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
That's a known bug, and it typically happens after a soft reboot. If that's what you're doing then take the extra ~30 seconds for the full reboot.

The ANDROID boot animation that's included in this ROM is a fallback used for when A) there's no boot animation in system/media or B) the boot animation in system/media is corrupted. In this case, it's the former. Try renaming the boot animation in 4.2.1 from "bootanimation.zip" to "bootanimation.bak". You should see the fallback ANDROID animation.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] Gster09:
Thanks for the info on the animation! As for the soft-reboot, I saw that but I don't normally use soft reboots for anything. My only thought now is that perhaps the Advanced reboot menu that GravityBox enables might have the call mixed up. Maybe in does a soft-reboot when normal reboot it selected? Or it's entirely possible that my fat fingers missed, but since it happened several times I doubt that. :)
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
You can tell that what you're doing is a soft reboot if the Hisense logo doesn't show up when you reboot, or only shows up for half a second. Technically speaking a soft reboot's not even a reboot. To my knowledge, a soft reboot just kills all of the processes and starts them again, emulating a reboot. If the Hisense logo appears for over 20 seconds and you're still getting the WiFi issue, what does a logcat have to say about it?
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] Gster09:
I supposed I should have also mentioned some app glitches that I encountered.

a) Using Dolphin browser and the corresponding patched Flash for 4.4 apk, I was unable to get Amazon video to play. The message from the server was to download Flash. :(

b) Llama - Location Profiles was devouring my battery. The reason was that it would not release the GPS. I had all of the settings in Llama set to Not use GPS except for Android location polling every 30 minutes. However, the GPS icon was on all the time and the battery level was dropping like the water level at Hoover Dam! Obviously this is not the typical behavior of the app. It does not do that on my LG D800 running 4.4.2 or on my wife's LG E970 running PA 4.44, nor on any previous ROMs for this device.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
I'm not sure about your Llama issue but as for Amazon videos, try the browser FlashFox. It's got Flash 11.2 built in and you don't have to mess around with modded APK files or any of that- plus it fully supports Android 4.4.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] Gster09:
Yes, in retrospect I should have spent more time with the ROM and pulled logcats every time I ran into these things. Time permitting (ie. kids) I'll give it another go this weekend and see if I can recreate the issues.

P.S. Thanks for the tip on FlashFox. I'll try that as well.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
I was browsing Sero7forum and found this:

PurePerformances X Golden Edition

Apparently it makes Android SUPER optimized and renders apps like Clean Master obsolete.

Has anybody tried this on their Sero? It might make the Sero just that much better of a device.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] johnb380:
Did u flash the mod yet I bet its just bloat... I wouldn't believe everything written in the OP... Usually from my experience on XDA if it sounds to good to be true it is to good to be true! Lol
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] nccruz:
Just installed battery patch and will report later....

Is it normal at hard reboot to always get android upgrading and optimizing 56 apps?

Update.... 30% used in 2 hours with battery patch so full charge good for 7 hours? That any better?
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
My Sero is getting the same results with the battery patch. Don't think it's making much of a difference.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] johnb380:
Wow this ROM and Kernel combo are amazing on my Sero7Pro... Thank you so much [MENTION=5094650]dolorespark[/MENTION] you are one hell of a guy! At first i had noticable lag but now I have tuned the interactive governor to allow for no lag… my S7P is a monster now!

Hopefully you will keep Deving for our device!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
Please do try again - with any luck you won't be able to recreate those issues. If you browse this thread, you'll see your experience is way out of line compared to others. Lacking other evidence, I'd chalk it up to TWRP - you should get more reliable results with CWM. When wiping data, be sure to use "format /data and /data/media (sdcard)". That will do an actual format - using just "format /data" doesn't format anything, it just erases files. Also, there's no need for you to format /cache or /system: the DoPa v2.1 installer will do that for you.

Absolutely not! That should only happen if dalvik-cache has been wiped. You would get that the first time you reboot after installing DoPa 2.1 but not again. Have you installed any "performance enhancers" (of the software variety, not the late night TV ad sort)?

I've been doing a lot of development on the "next version" of Android where a lot more info seems to get written to the system logs. From what I'm seeing, I'm starting to think that NvCPLSvc.apk is aimed more at enhancing video performance than extending battery life. It gets called every time the 2D/3D graphics drivers get loaded by an app. It appears to have built-in profiles for specific apps - including every benchmark program out there. I'm going to try running Antutu with and without it installed to see if there's any difference.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] vettejock99:
Can you tell me what you tuned and what you used to tune it? As stated earlier in the thread I love this ROM, but it's been very, very laggy for me since v2.

Thanks!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] gotshores:
Hey guys, can anyone tell me if gps in dopa 2.1 locks on as fast as omnirom or cm11?
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] gotshores:
Dolorespark, I noticed that u got OK Google hotwire to work. Is this an easy fix that can be applied to other ROMs? Thanks
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] stevenc88:
NFC?

Does NFC work for this ROM? I rooted my Sero 7 pro right away after I got it, so I never verified NFC works with the stock ROM.

I have a Galaxy S2 with which I can read and write NFC tags using this program: https://play.google.com/store/apps/details?id=com.wakdev.wdnfc

Here is what I am seeing with the Sera 7 Pro: It can detect the NFC tag, (using the same program), but it can't read any of the programmed data. It detects the tag type and tag s/n, but that's it. The Galaxy S2 has no problems reading and/or writing the tag.

Any ideas?

Thanks,

-- Steven
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] johnb380:
Um basically I just enabled force GPU rendering and disabled HW overlays... and changed animations and such to .5 as in screenshot.

And I tweaked the interactive governor to...

with tricksterMod donate version and changed min CPU freq. to 102000...

Also I have flashed the navcpl zip (spelling?) that [MENTION=5094650]dolorespark[/MENTION] has given us recently!

Try the numbers I've input into the interactive governor settings in tricksterMod and other changes and you will definitely see a big improvement in performance!

Boom no lag for you whatsoever! Smooth as babies butt!

If I helped hit thanks button!

Edit: Also I backed everthing up and cleaned everything good full wipe of system data and cache and dalvik cache and flashed Phil's recovery 6.50.6 7/20/14 by [MENTION=282573]davepmer[/MENTION] from this thread

http://xdaforums.com/showthread.php?p=51450438

then rebooted recovery then flashed dopa 2.1 AOSP 4.4.4 then PA Gapps 4.4.4 7/25/14 then flashed SuperSU 2.01 to start out with!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] paratwa53:
I installed this latest build last Sunday, and I have to say it was one of the easiest, smoothest builds I have ever installed. And it has been working flawlessly!

Thank you for continuing the work for this device!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] nccruz:
Only thing I added is link2sd
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] johnb380:
Maybe that adds an init.d script to zip align every boot. That would be the only reason it would do that every boot is if u added something that does that or maybe an optimization app or script somewhere!

The ROM that [MENTION=5094650]dolorespark[/MENTION] put out for us does not have this natively so if yours continues to zip align every boot then maybe you should backup and wipe everything and start clean with just Dopa 2.1 4.4.4 r2 Gapps and SuperSu 2.01 without adding anything else and I'll bet you it doesn't do it anymore!
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] davepmer:
The TWRP issues might be your tablet. I have not been so lucky as for it not to actually erase the partitions. Course maybe it is that law, if you want a partition erased it won't, if you accidentally clicked erase and forgot to make a backup it will.

I will check it again, but I use it nearly daily and have never had where it failed to erase, using the newest.

Might try the other recovery I posted as well.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] Gster09:
Yes. Based on the number of odd issues with such a variety of settings and apps, I too am inclined to chalk it up to a bad flash. As to how that happened, I'm not really sure! Please don't mistake my observations with complaints or rants of any kind. I totally appreciate the work all of you put into this and just hope my notes can help in some way.

As I mentioned, I'll try to give it another go this weekend. Thanks again.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] datboy143:
Got around to flashing last night coming from Dopa v 1.1. Did a regular wipe data factory reset and wiped caches. Everything seems to be running fine thus far. Thanks for the updates.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
Dang! My Sero FLIES now! I'm using the OC kernel so I bumped from 1.3 to 1.4, and I didn't change the animation speed as it wouldn't exactly help the placebo effect.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] johnb380:
Ya I knew them tweaks to interactive would do it I do the same thing to my Nexus 4 and can run it under clocked at 1.242 GHz and its smooth too.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] amoot329:
Have just applied the battery tweak and changed those interactive governor settings. So far so good. Haven't really had much lag but every little bit helps. The only noticeable lag is when my Swype keyboard first opens up but that may be due to the app itself.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] stevenc88:
FYI I also have the same situation - black screen. I can get the NAV bar if I swipe down from the top of the screen, so I can hit HOME to get back home. But the game doesn't play (the music for the game plays, though).

-- Steven
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] x000x:
thanks for the info. I'll give those suggestions a try and report back. I just got back from vacation so I haven't been able to do anything about it just yet.

I did notice something else. I put my phone in tether mode, but i could not get the tablet connected. It would try to connect and say it was connected/authenticated, but then i would open the web browser and try to bring up a web page and would display this message: "net::ERR_NAME_NOT_RESOLVED"

then i would go back to settings to look at the wifi connection and it would display 'authentication problem'. I think I'll also give _r2 a try and see if I get the same result with the tethering as above.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
I get the same issue with certain routers, namely 2Wire ones. I have to use Connectify on my aunt's computer to get any Internet whatsoever when I'm at her house.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ziddey:
Funny thing. I applied [MENTION=4239374]ss2man44[/MENTION]'s gist (thanks a ton) for the N7 2012 kernel, http://xdaforums.com/showthread.php?t=2634271 and it went swimmingly. But then I ran into SELinux issues.

For what it's worth, if you decide to give it a go, this setting defaults to n and is required:

CONFIG_F2FS_FS_SECURITY=y

This thread ended up being helpful, https://www.mail-archive.com/linux-f2fs-devel@lists.sourceforge.net/msg01238.html

pointing me to https://android-review.googlesource.com/#/c/96593/

So I decided to steal sepolicy from [MENTION=282573]davepmer[/MENTION]'s twrp, which has f2fs support.

And we have liftoff:

/dev/block/platform/sdhci-tegra.3/by-name/UDA /data f2fs rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,inline_xattr,acl,errors=recover,active_logs=6 0 0

Unfortunately, I didn't think to do a bunch of file system benchmarks beforehand, and it looks like Antutu's IO numbers are about the same (676 storage, 615 database). So it may not be worthwhile for our devices. Nonetheless, it feels a lot snappier-- either placebo or because it's coming from a fresh wipe..
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ziddey:
With regards to brightness levels, I had been running autobrightness and figured I was being thrown into higher thresholds depending on what was on screen. Turns out:

So the lower brightness levels (<20) do work, but when PRISM kicks in, it can kill the backlight completely.

For disabling PRISM: http://xdaforums.com/showthread.php?t=1815414

sort of an annoying auto-contrast like all them new fancy tvs nowadays

As well, I got a high Antutu storage result (f2fs):
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] x000x:
i was trying to tether from a nexus 4, i've confirmed tether was working with my other non-hisense tablet, but some reason the hisense one isn't cooperating.
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] ziddey:
works fine here (Nexus 4 as well)
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] x000x:
hm. maybe its the rom i'm using on my nexus 4 that is the problem
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] jerbear294:
What ROM is this?
[Hisense Sero 7 Pro ROMs, Kernels, Recoveries, & Ot] dolorespark:
As I mentioned, I've been living in the SEPolicy directory so I probably would have caught the items you listed but thanks for the reminders - I'm sure I would have forgotten at least one of them. (The patch to add f2fs as a labelled filesystem has already been checked into the master branch.) I'm going to apply all the patches and give it a try shortly.

Whaddya know! Combining this info with my efforts to fix SEPolicy denials caused by installing NvCPLSvc.apk gives me a much better understanding of what it actually does. One of the kernel settings it messes with is '/sys/devices/tegradc.0/smartdimmer/aggressiveness' which was mentioned in the posting you cited. Seemingly, that app is what implements the PRISM smartdimmer, along with other tweaks that should save some battery life under specific circumstances. The question is whether it's worth the problems it may cause.

It would be helpful if users who installed NvCPLSvc.apk would check out the posting mentioned and report whether they're seeing any of the issues it describes. TIA...