yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] somecro:
Do you lose all your data while doing this? I'm currently on 6.0 but I don't see any reason to upgrade to 6.0.1,unless it's as straightforward as your great tutorial above.
[X Style (Pure) Android Development] dirtyhank:
No, you shouldn't lose data. Make a backup before to play it safe though ;)
[X Style (Pure) Android Development] hbar98:
What SuperSU version do you use? Last time I installed SuperSU I had to install two different versions to get it to work.
[X Style (Pure) Android Development] dirtyhank:
This is the one that works best for me: BETA-SuperSU-v2.62-3-20151211162651.zip
[X Style (Pure) Android Development] ximmox:
Yeah, use this one for initial rooting.

After you fully booted and checked if SuperSU is working you can update to every later SuperSU version, either by updating it from the Play Store (currently 2.65 afaik) or by flashing a Beta in Recovery. I'm running 2.71 beta without problems.
[X Style (Pure) Android Development] hbar98:
Haha, wellll.... after I flashed the 6.01 image the phone became unusable. Upon bootup every app crashed constantly over and over. Flashing 6.0 stock did not seem to help the issue. I've got a backup of all my data, so I'm about ready to do a wipe and reinstall.

I've already tried wiping cache and dalvik/art. Webview is up to date. Can't really change anything if I wanted to at this point.
[X Style (Pure) Android Development] HikingMoose:
Well, shoot. Even the EU version doesn't work for US Cellular. No signal. Restored EFS, and still no signal. I guess I'm stuck waiting until the official release.
[X Style (Pure) Android Development] dirtyhank:
I'm curious about the install options people are selecting. If you don't mind I'd appreciate if you guys could take a minute to answer this poll:

http://goo.gl/forms/afjjmnxFAe

Thank you!
[X Style (Pure) Android Development] HikingMoose:
I filled it out for you. I really like the aroma installer so far. I like that I can change the vibration and apply scripts in a matter of seconds.

I just started using ghostpepper for the first time. I am pretty pleased with it.
[X Style (Pure) Android Development] Bungee-Spider:
Hey Guys,

I just played with the screen settings and now I can't get them back to normal.

My Profiles unfortunately didn't save the screen settings, even though I selected the section while saving the profile.

Do I have to select the "Apply on boot" feature for them to be saved in a profile?

And more to the point... could someone maybe post their original or default screen setting values?

I'm using Kernel Adiutor, if that makes a difference^^

That would be really helpful. Thanks :)

Looks a little weird now^^
[X Style (Pure) Android Development] countryfolk07:
Minus the auto high brightness.
[X Style (Pure) Android Development] screech:
I too installed ghost pepper and 11.1 .. In general it looks good, but I see one very interesting thing. Wifi never turns off, even though I have the wifi off during sleep set. The battery meter is saying wifi is always on. BBS as well confirms that.
[X Style (Pure) Android Development] dirtyhank:
I think it might be some stats SNAFU as I've just checked and the WiFi module is loading and unloading just fine when it's toggled:

root@clark:/ # lsmod
wlan 4894255 0 - Live 0x0000000000000000 (O)
root@clark:/ # lsmod
root@clark:/ # lsmod
wlan 4894255 0 - Live 0x0000000000000000 (O)
root@clark:/ #

I'll keep an eye on it today and report.
[X Style (Pure) Android Development] elite001mm:
Someone before has said that the wifi thing was a bug in marshmallow (just visual)
[X Style (Pure) Android Development] somecro:
I'm still having the occasional non-responsive touch screen issue after unlocking the phone. Happened to me twice today and it seems to happen if I'm opening an app from the lock screen (but not always obviously). Is it also related to ZRAM?
[X Style (Pure) Android Development] jason2678:
Check in Settings -> Location -> three dot menu -> scanning. If wifi scanning is set to on there the BBS will show it always on. I think it was defaulted to on in the stock ROM.

I'm pretty sure that setting used to be in wifi -> advanced before marshmallow; kind of easy to overlook now.
[X Style (Pure) Android Development] screech:
I have that and on during sleep both turned off.
[X Style (Pure) Android Development] dirtyhank:
I've been testing and WiFi turns off after 20 minutes with screen off. Apparently this is the default behavior on Marshmallow.

Pretty much the same setup as yours, v0.11.1 with ghostpepper.
[X Style (Pure) Android Development] screech:
Aah .. At work I can see why that would never turn off.

I assume ambient display resets the timers
[X Style (Pure) Android Development] gokart2:
Quick thread hack question...... can these scripts like "ghostpepper" be ran on a stock kernel via the kernel manager? Essentially these scripts act just like a normal gov, just without having to compile it in the kernel?
[X Style (Pure) Android Development] dirtyhank:
The scripts are pretty generic so they should work on any kernel, provided you're rooted. For some settings you might need to disable SELinux.
[X Style (Pure) Android Development] zohar_ml:
V11 solved a big focus problem that I had for long time (kept getting in and out of focus).

In about half of my calls the screen will not wake. I must press the power button twice to get the screen turn on. Is there any log I can send you?

Found a nice bug that causes the touch screen not to work

I'm using this tasker code:

Plug a headphone into the phone.

Receive a call. Turn the screen off. The caller ends the call.

Now the screen can be turned on but the touch screen will not work. A hard reboot is needed.

This also happens when the phone is connected to a Bluetooth headset.

I'm using stock ROM, 100, s2w

Is it possible to allow S2W to work from both directions? I find it too hard to swipe open the phone while using only my left hand.

Thanks,

Zohar
[X Style (Pure) Android Development] countryfolk07:
[MENTION=2400758]dirtyhank[/MENTION], just wondering if you have had any time to look into the impulse governor? I hear it's profile "bluejay" by [MENTION=4752299]Alcolawl[/MENTION] is still very good. I know you have other bugs to squash, was just wondering.
[X Style (Pure) Android Development] note3userr:
Which profile gives the best battery life? I'm really struggling to reach 3 hours of screen on time and usually when I get out of work I'm at 5% or less
[X Style (Pure) Android Development] EarthboundHero:
I'm using 100Hz, rehpyc, ghostpepper and zram. I've been getting 4-5 hours SOC. More than enough to make it a full day with medium usage.
[X Style (Pure) Android Development] note3userr:
Very noob question but how are u using 3 profiles
[X Style (Pure) Android Development] EarthboundHero:
When you install you just select the ones you want. All 3 of those change something different, I think. Make sure you have the latest version of the installer, otherwise you won't have all those options.
[X Style (Pure) Android Development] dirtyhank:
Unfortunately the impulse governor is not a "plug&play" port so some recoding needs to be done. I'll try sometime but can't say when, sorry.
[X Style (Pure) Android Development] dirtyhank:
I'll try to replicate the issue and see what I can do. But your Tasker profile is probably hitting a by-design issue with this DT2W/S2W implementation that might be hard to overcome. The thing is you're not supposed to disable DT2W/S2W when the screen is off and your profile might be triggering early right before the screen had time to turn on.

Can you add a "screen on" condition to your profile and let me know if you notice any difference?
[X Style (Pure) Android Development] kamykowsky:
How I can remove the .sh scripts added during instalation?

edit: nvm, got it.
[X Style (Pure) Android Development] EarthboundHero:
Could you edit it and say what you did for people of the future?
[X Style (Pure) Android Development] dirtyhank:
It's mentioned in the installer, all scripts are deployed to /sdcard/frankenclark/scripts. Just go there and do what you want with the scripts.
[X Style (Pure) Android Development] countryfolk07:
I understand, and it's no big deal. I was just curious. Thank you again though for your efforts.
[X Style (Pure) Android Development] kamykowsky:
I did what [MENTION=2400758]dirtyhank[/MENTION] said. I had to remove them because since I started using rephyc and gostpepper scripts ppl weren't able to call to me. Signal was going but my phone wasn't ringing and after removing it everything went back to normal.
[X Style (Pure) Android Development] zohar_ml:
I've added 2 sec wait before and after the echo in the enter task and it solved the broken touch screen problem.

First time after the call the S2W will not work, but it will work after turning the screen on with the power button.

Is it possible that the kernel will auto stop S2W and DT2W when the screen is off in call due to the proximity sensor?

Zohar
[X Style (Pure) Android Development] kevev:
Dirtyhank: Can you please build a stock kernel with only the adjustable vibration? I am having issues with the charging led and I think it may have something to do with a customization. Thank You
[X Style (Pure) Android Development] lafester:
Sweet, dh is now building custom kernels for everyone?
[X Style (Pure) Android Development] MrMeeseeks:
I want one! ?
[X Style (Pure) Android Development] ffonegod:
The requests are bananas lol
[X Style (Pure) Android Development] kevev:
Har Har! Happy Friday! :p
[X Style (Pure) Android Development] dirtyhank:
Sorry, this is already quite a lot of work. If you want a custom kernel you have the source code available, build your own ;)
[X Style (Pure) Android Development] dirtyhank:
It's not working the first time because Tasker is running the "echo 1" when the screen is off and so S2W won't be effectively enabled until you turn the screen on again and it has the chance to tell the digitizer to be active until further notice.

I'll try to add in-call awareness to the DT2W/S2W code for next release ;)
[X Style (Pure) Android Development] kevev:
Understood. Thank You for the hard work!
[X Style (Pure) Android Development] htcslic:
Hey I am getting 3hrs+ screen on time with just ghost pepper and zram. I get average 5+ with rehcyp script but I was experiencing some performance issue on that script, such as screen turning on with incoming call, so i reflashed with just ghost pepper and zram. Also running mid Hz on little and Max on big. In love so far. 24hrs+ battery life and 3hrs+ screen on time. With light game usage and a torrent or two downloaded. Also have Moto display running.
[X Style (Pure) Android Development] rehpyc:
For those having issues with the phone being a little unresponsive with waking up from dozing on my script, try setting your little core min to 384.

I actually have an update to my settings that I'm finishing up testing and will provide to test out tonight/tomorrow. It should be better on battery w/o sacrificing smoothness. Also will be splitting my script up into two, with one controlling the interactive governor settings and the second with other kernel settings.
[X Style (Pure) Android Development] rehpyc:
Interactive gov settings: Download

GPU / IO / VM settings: Download

These settings run really smooth on my phone with better battery than the first version, but each phone will run settings differently based on how one uses their phone and the types of apps they use. I don't play games, so feel free to PM me to let me know how these settings work out with playing games. If you have scripts in the init.d folder or automatically applied with EX Kernel Manager/Kernel Adiutor, they'll overwrite these settings with a reboot. If people are happy with these settings, I'll create a zip to flash that'll add them to the init.d folder to automatically apply on reboot.

Can apply the script either via terminal emulator (make sure to run it with root access) or an app that runs scripts. I personally like ROM Toolbox (Download), especially since it stores any scripts you import in case you want to run it later. If you find that your cores aren't hotplugging or sticking at the highest freq, flash the script(s) again.

Note: With the governor script, both cores are underclocked by one level each. If you find any stutters, feel free to use a kernel editor to put each to their stock levels (1.8 big, 1.4 small).
[X Style (Pure) Android Development] Th3DaRk_Vampire:
Offtopic: how a can convert .sh scripts into auto execute scripts and place in init.d folder?
[X Style (Pure) Android Development] kevev:
Change permissions to 777 and move it there. Use a file explorer with root access.
[X Style (Pure) Android Development] dirtyhank:
The scripts at /sdcard/frankenclark/scripts are not standalone, they are explicitly called as a parameter to a shell binary. If you want to deploy them to /etc/init.d you need to:

Insert this line at the top

#!/system/bin/sh

Copy the file to /etc/init.d

Change permissions to make the file executable
[X Style (Pure) Android Development] screech:
I like these .. Applied both and battery life, SOT specifically seems to be better.

I would love to have this as your script option on the next v0.11 update ?
[X Style (Pure) Android Development] rowlers:
How are you guys running these scripts? Manually [e.g. scriptrunner] after boot? Or can it be applied automatically?

thanks
[X Style (Pure) Android Development] dirtyhank:
You can copy the scripts to /sdcard/frankenclark/scripts and they should be executed on next reboot.
[X Style (Pure) Android Development] ffonegod:
11hrs off charge and 5hr 45mins SOT not bad at all.. Using whatsapp/Instagram and a Lil browsing.. With the new scripts implemented. That miscellaneous on battery though :confused:
[X Style (Pure) Android Development] rehpyc:
Some ROMs have weird "battery drain" stat labels that pop up, such as Miscellaneous or Over-counted. I wouldn't worry much over it, unless you use Better Battery Stats and see something showing up there with excessive drain.
[X Style (Pure) Android Development] EarthboundHero:
So, I ran those and now my phone is rebooting into TWRP. 'Running OpenScriptRecovery'

What did I do wrong?

Update: Took forever to fix. Had to use "fastboot -w" TWRP wouldn't mount /data. Couldn't format it or anything. Everything seems fine now.
[X Style (Pure) Android Development] ffonegod:
Thanks for that info.. My only worries is the android system with so many alarms waking the device.. It get so many up to 3k..Other than that everything running smoothly
[X Style (Pure) Android Development] hbar98:
I'm having some battery drain/bluetooth issues with 11.1. Using Ghostpepper and rehpyc. 300hz, stock speeds.

I had to restore the phone due to a botched 6.0.1 update. Used the 6.0 image from moto and restored the phone. Installed TWRP/rooted/installed kernel.

Phone reboots, usually at night (will try to grab a logcat next time I notice the phone has rebooted), but with 11.1 I've been having some bad bluetooth issues. Connection to my car's head unit is spotty, and it frequently cuts out. If I toggle bt on the phone, it'll usually work fine again for about 30 mins or so, then it cuts in and out again.

Also I've been noticing that bt is draining the battery faster than normal, and I've been having a lot of wakelocks and the phone won't go into doze/deep sleep.

I've included a link to screenshots. I charged phone up to 100%, took the phone off the charger and let it set for a while. Used the phone, and within 15 mins the battery dropped over 10%.

Let me know what other info you need and I'll get it to you as soon as I can.

Screenshots: https://goo.gl/photos/QuVPFYU5mCDspvnv9

(EDIT) So, turning BT completely off allows the phone to doze/deep sleep, and stops the majority of the wakelocks. (/EDIT)
[X Style (Pure) Android Development] HikingMoose:
I don't quite understand why people are running two scripts. The second one will overwrite the first one right? You can't have two of each setting.
[X Style (Pure) Android Development] rehpyc:
Dirtyhank has the confusion resolved in an update lol. It was my fault for combining everything in one script initially.
[X Style (Pure) Android Development] hbar98:
Heh, well the reason I did was because the way it was presented was that rehpyc's script was "global" tweaks with the others being more specific "governor" tweaks. Yeah, you can't have two settings at once, but I was under the impression (maybe mistakenly), that rehpyc's script fine tuned the system as a whole, while the other scripts did some more fine tuning to a smaller set of settings.

Regardless, after reading the last couple of replies I removed the scripts and reinstalled 11.1 and I only selected Ghostpepper.

We'll see if that does anything for my BT issue.
[X Style (Pure) Android Development] dribr:
Are running stock ROM? How did you set dark theme?

Enviado de meu XT1572 usando Tapatalk
[X Style (Pure) Android Development] dirtyhank:
You're right, original rehpyc's script tunes governor, boost, hotplug, GPU and I/O. If you also selected a governor script only the governor and boost settings will be overwritten, the rest will remain as set by rehpyc's script.
[X Style (Pure) Android Development] ffonegod:
Running trupurexmm rom with dark stock theme layers.. You can install different layers by installing the layers manager and showcase form the playstore and download the layers from there as well
[X Style (Pure) Android Development] rehpyc:
Just wanted to update you guys on the gains with using the governor profile linked in this post, which is a battery friendly profile (still smooth, tho). 7hr 7m SOT with 2d 2hr off the charger. That should be an easy 8-9hr SOT off only one day's charge, but who needs to be on their phone that much in done day? D:
[X Style (Pure) Android Development] aaronpw0621:
Are these able to run with your script in the aroma installer or need to be ran on there own?
[X Style (Pure) Android Development] rehpyc:
For now, since they are for testing to get a gauge how people like them, they need to be ran on their own. If people like the settings and want them included, I'm sure dirtyhank will include them.
[X Style (Pure) Android Development] aaronpw0621:
I used a Script Runner app to install the Governor script from the above link you mentioned. If I want to delete those where do I look? I have tried looking in system/etc/init but I am not finding /init using Rom Toolbox Pro
[X Style (Pure) Android Development] rehpyc:
Rebooting will revert back to the settings you chose when installing the kernel
[X Style (Pure) Android Development] screech:
I am also seeing wakelocks

PowerManagerService.WakeLocks 96%

And on overall usage

Awake (Screen Off) 84%

If anyone has things I can comb through adb logs .. Let me know.
[X Style (Pure) Android Development] rehpyc:
Two great apps to see what's draining your battery quickly:

OS Monitor - can monitor which processes are using a lot of CPU power as well as how much your CPU freq is jumping around (with my script, you should see both cores at 384 pretty consistently while idle)

Better Battery Stats (BBS) - see how long your phone is awake while the screen is off as well as what alarms are being fired. If you export a log dump, feel free to pm me it and I can review what is probably draining your battery. I have my phone heavily optimized and typically only have 1-1.25 hrs of awake time when the screen is off over a 48hr period, so I'll be generous and say that your phone shouldn't be awake for more than 1.5 hrs over just a 24hr period, unless you've been streaming music.

First and foremost.. the scripts you apply, whether its my minor tweaks, governor profile, or some of the other governor profiles available, none should be causing excessive wakelocks, BT issues, etc.. just smoothness/battery life. Try previous versions of the kernel and see if the problems persist or not; knowing which version the problem(s) started could help dirtyhank with figuring out the culprit.

With all that said.. I'm personally going to say that using KSM isn't worth the benefits, if you care at all about battery life. With testing it out, I found that it was keeping the CPU from wanting to idle much, constantly utilizing higher frequencies. zRAM is worthwhile to use, however.
[X Style (Pure) Android Development] dirtyhank:
For those with wakelocks issues read this:

http://xdaforums.com/moto-x-style/development/kernel-frankenclark-t3289939/post66242699#post66242699
[X Style (Pure) Android Development] dirtyhank:
Makes sense as KSM keeps a process scanning for shared pages while ZRAM only needs to compress/decompress when memory blocks are requested.
[X Style (Pure) Android Development] HikingMoose:
Rehpyc, can you tell what's going on from these stats?
[X Style (Pure) Android Development] Gadox:
I ve been trying to fix this bug hope you guys can help me.

The things is that no matter what I do i cant make the autofocus work when the camera flash is on. Everything looks out of focus you can even tell before the pic is taken. You press to focus, looks good but once you press again to take the pic you can see how is taken before the autofocus is complete. Any advice? I am running TruPure 2.8

Enviado desde mi XT1575 mediante Tapatalk
[X Style (Pure) Android Development] rehpyc:
[MENTION=4141782]HikingMoose[/MENTION] able to send a log (share button in BBS)?
[X Style (Pure) Android Development] HikingMoose:
Crap. I plugged in already, it says no stats. I'll get you one tomorrow night. Thanks for looking into it in advance.
[X Style (Pure) Android Development] harshi1:
Hey thanks for creating the script [MENTION=3004396]rehpyc[/MENTION] it works great man. But the thing is im getting 4 hours of SOT rather than 5-5.5 hours of SOT, with my little changes. The changes giving me better stats. The big thing is considering im a medium-high gaming and youtube user, this will be the case. So for people like me can u guys please try this out, and if u dont want it is completely fine. Also, u can use the init.d support by renaming it to a .txt or .sh file, but the virtual memory and others settings u have to input manually, thanks..

https://www.dropbox.com/s/urb3scr1ni5lkho/Harshi.docx?dl=0
[X Style (Pure) Android Development] crazyng:
Only use the governor profile?Or both the scripts you mention in the post?thanks for replying.
[X Style (Pure) Android Development] tsadev:
[MENTION=2400758]dirtyhank[/MENTION] were you able to look into UnionFS support?
[X Style (Pure) Android Development] HikingMoose:
Here you go bud.
[X Style (Pure) Android Development] dirtyhank:
I did but unfortunately the patches I found didn't get along with the 3.10 kernel, tons of compile errors. Most of the kernels I've seen with some kind of UnionFS are >3.10 and a direct port is not possible (they made some changes to the FS workflow).

If you know of any 3.10 kernel with UnionFS support let me know and I'll revisit it.
[X Style (Pure) Android Development] rehpyc:
[MENTION=6984101]harshi1[/MENTION] do those settings actually work ok? I ask named due to you swapping the freq:load around for the little cores (you have it structured as load:freq). With your very minor edits, it'd be good to add credit in your script as a comment.

[MENTION=5371433]crazyng[/MENTION] feel free to test them both out. dirtyhank and I have something coming to help you guys easily load/switch profiles (aka [MENTION=2400758]dirtyhank[/MENTION] is having me refresh on scripting that I haven't done in years :highfive:)

[MENTION=4141782]HikingMoose[/MENTION] you sure do like to stream a lot of music, don't you? :p definitely have a lot of Google/widget/launcher/hangouts/evernote alarms that keep your phone awake. If possible, try charging your phone to 100% and then unplugging it before you go to sleep, then send a BBS log of how active your phone was overnight when it's suppose to be sleeping. Don't wanna take away from this thread, so feel free to PM me with the next log and I'll add in some apps to help you out.
[X Style (Pure) Android Development] crazyng:
thanks man. that's really great in my style 6.0.1.I get nearly 5hours sot.