yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 Guides, News, & Discussion] Formhault:
Alright. In all seriousness, I need help. No, I'm not going to the psychiatrist.

I need someone who has extensive knowledge in this type of stuff to assist me in figuring out what dark lord is draining my phone's battery to hell. Someone that can interpret BBS logs like a boss, and can troubleshoot more than the Internet connection at home (at that, I'm good, lol).

Here, or via PM... Whichever way. Thanks in advance!
[OnePlus 3 Guides, News, & Discussion] Stupifier:
Go read the Battery thread by [MENTION=5867207]v7[/MENTION] . The guy got XDA Developer status through his expertise and willingness to help others related to battery drain. Just read his OP VERY carefully before posting any logs on his thread or asking for help. His Battery thread is ridiculously active and he owns a OP3 (or maybe a OP3T) as well......

https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884
[OnePlus 3 Guides, News, & Discussion] Formhault:
I did try his guide back in August I think, when I had the Nexus 6. Battery didn't improve much...

People have reported 6+ hours of SOT without tinkering with Amplify or Greenify, so... :eek:
[OnePlus 3 Guides, News, & Discussion] DiMatador:
Actually i have notice the same thing, i flash the file in twrp than i try right there on twrp but it does not work. Than i reboot and run the same su than AKT i get the file does not exist error.
[OnePlus 3 Guides, News, & Discussion] DiMatador:
Here is a creen shot.....im on bata 11, rooted [/IMG]
[OnePlus 3 Guides, News, & Discussion] Stupifier:
I wasn't asking you to follow the Battery guide......I was merely answering your question. You asked for someone who " has extensive knowledge in this type of stuff to assist me in figuring out what dark lord is draining my phone's battery to hell. Someone that can interpret BBS logs like a boss, and can troubleshoot more than the Internet connection at home".......And in the XDA forums..... [MENTION=5867207]v7[/MENTION] has such a reputation.....

Even if you don't follow his guide.....he will analyze your BBS logs "like a boss" as you say.
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
Did you get any (toast) Massage after Typing "su"?

Because in this Moment you grant your terminal app root access. Normally you should get any Massage or notification that it has root now.

Do you get any Massage?

PS

You tried to execute The Script in twrp??
[OnePlus 3 Guides, News, & Discussion] sriharshaarangi:
#Enable Input Boost for LITTLE cluster [MENTION=6403656]556[/MENTION]MHz and for BIG cluster @729MHz for 66ms

echo Lineage Based ROM detected

echo Applying appropriate values.

echo Enabling Input Boost at 556 MHz for the LITTLE cluster and at 729 MHz for the BIG Cluster

if [ -e "/sys/module/cpu_boost/parameters/input_boost_freq" ]; then

chmod 644 /sys/module/cpu_boost/parameters/input_boost_freq

echo 0:0 1:0 2:0 3:0 > /sys/module/cpu_boost/parameters/input_boost_freq

chmod 644 /sys/module/cpu_boost/parameters/input_boost_ms

echo 0 > /sys/module/cpu_boost/parameters/input_boost_ms

[MENTION=1515965]patalao[/MENTION] I find this in AKT 1.3 FusionP profile.

Also, in the comments it says GPU underclocking but the freq is 624MHz.

Can you please check this?
[OnePlus 3 Guides, News, & Discussion] Formhault:
Oh, I see. Lol. Will take it to his thread then. Not sure why I didn't think of this earlier.
[OnePlus 3 Guides, News, & Discussion] SREEPRAJAY:
[MENTION=5060769]Mostafa Wael[/MENTION] [MENTION=6187429]Asiier[/MENTION]

Is this screen off and screen on drain normal? Battery seems to be good... AOSIP with stock kernel and AKT1.3 Xana in place
[OnePlus 3 Guides, News, & Discussion] DiMatador:
Yes the the message pops and i do grant total permission and still. I flash the file with twrp first, than I downloaded the app(pay for it) and i this results....
[OnePlus 3 Guides, News, & Discussion] Galaxea:
EXKM or AKT

Noob question but if EXKM is going to set a govenor on bootup and so it AKT, which one will actually be set?

Do we have to not use EXKM in order for this app to do it's work? Thanks.
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
You dont need both (akt.zip for flashing

OR

apk-file(app)).

Just flash zip in recovery, restart phone, go into terminal app and type "su" ->enter, then type "AKT" ->enter (without " "). After that, the script should start and you can choose your profile.

If this won't work, try installing apk and use app.

You can use EXKM or any other kernel-manager-app, BUT I recommend to you to deselect all "set on boot"-buttons, than run the script and let AKT do its thing :P
[OnePlus 3 Guides, News, & Discussion] Mostafa Wael:
1.21%/hr for idle drain on such long period of calculation is alright. Not impressive but not worryingly bad imo. I have seen worse.

Active drain is a killer :good:
[OnePlus 3 Guides, News, & Discussion] Arstoien:
Don't know if it's normal but it's pretty damn good
[OnePlus 3 Guides, News, & Discussion] Asiier:
Well, the active drain is pretty good and the Idle drain, well is "quite" high but it's acceptable maybe check Wakelock and the Alarms that wakes your device. Having two SIMs also affects the idle drain.

Also judging for your Active drain the screen might went off at the right time lowering the Active drain and increasing the Idle drain.

But after all really good stats, good to see that they are working so good for you :good::D
[OnePlus 3 Guides, News, & Discussion] LittleJakub:
The newest version (1.3) used on a phone with the newest Magisk (with MagiskSU) does not prompt for root privileges, hence it does not work... Any fixes incoming?

Regards, Kuba :)
[OnePlus 3 Guides, News, & Discussion] DiMatador:
Actually i have tried it both ways and on the stock rom it only works with the app other than that i get error. I have tried it without the app on RR Rom and it worked just fine on the terminal. Ill delete the app, reboot to recovery flash again than try again to see what happens...
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
ok, report. That sounds strange :/
[OnePlus 3 Guides, News, & Discussion] patalao:
It sets input boost?

About the gpu underclock don't mind about that.

I'll change that next time.
[OnePlus 3 Guides, News, & Discussion] mrcigi:
I don't use Magisk so I have no idea tbh, I'll have a look into it.
[OnePlus 3 Guides, News, & Discussion] DiMatador:
Im back, yeah i tried both ways with app and no app, i tried on the terminal with in twrp and once booted and nothing, It does not work. Im on the latest twrp 3.0.4 i wonder if that has any effect?
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
I really Dont know.

Maybe [MENTION=6187429]Asiier[/MENTION] or [MENTION=5060769]Mostafa Wael[/MENTION] can say something about that :confused:

Im on twrp (blu spark Edition v15) and it works for me :/
[OnePlus 3 Guides, News, & Discussion] LittleJakub:
Because I doubt that the problem is something big... All other apps that need root show the prompt; root checker is also positive. The AKT Profiles app launches, it's just that it doesn't give a prompt for root privileges and therefore cannot apply the settings ;)

I hope it's nothing too big to deal with - I miss my ZHANA a lot :D
[OnePlus 3 Guides, News, & Discussion] JohnHorus:
Applying AKT through EX Kernel Manager

I want to try out the Advanced Kernel Tweaks profiles, but I'd rather just use EX Manager if possible and not flash any zips or use other scripts. I noticed EX Manager comes with some scripts already in "ElementalX/gov_profiles/", can I extract the governor profiles from "system/etc/AKT" in the v1.3 install zip and just place them in this directory, then apply them through the app?

And does anyone know if I still need to set everything on boot as shown in Asiier's video if I apply it through the CPU-> Governor options menu? That menu has its' own apply on boot option, but it seems to contain a whole different range of settings than what [MENTION=6187429]Asiier[/MENTION] is setting in that video (though I may be mistaken.)
[OnePlus 3 Guides, News, & Discussion] Funkameleon5:
Are you using terminal in TWRP? You need a terminal app and run from inside rom. If I'm reading what your saying right that's your problem.

---------- Post added at 02:49 AM ---------- Previous post was at 02:22 AM ----------

The app or script do apply more in depth settings then just applying the profiles in EXKM and you should therefore get better results from the profile. But yes, you would check the apply on boot like in the video. (Although I've never seen the video, I used the guide before there was a video)
[OnePlus 3 Guides, News, & Discussion] sriharshaarangi:
If I am not wrong, it is setting all the values to zero(means disabling input boost), but the comments as well as echo says it is enabled(@556MHz and for BIG cluster @729MHz for 66ms), which is not happening with the script, as all the values it is setting to are zero.
[OnePlus 3 Guides, News, & Discussion] patalao:
That's strange.

If the values are applied correctly don't worry about that.

Maybe some bad code on script.
[OnePlus 3 Guides, News, & Discussion] DiMatador:
We have tried to figure out why the terminal way would not work. But using the app did work.... I'll try bluespark see what happens.
[OnePlus 3 Guides, News, & Discussion] gretschpr:
hi, sorry if this has been asked before...can i use this mod on my lg v20 since it has a SD820 too?
[OnePlus 3 Guides, News, & Discussion] Arstoien:
I'm currently using (for personal use) a project in Tasker which doesn't require any flashing of zips and allows me to load/modify/save and compare profiles through a simple ui and also manage profiles though easily readable files on the sdcard (same format as the format used from EX manager). If there are people interested, I can adapt it and export it as Tasker project or an app and share it here, so others can use it. I just didn't want to overload the thread with similar work to what others have done (I'm talking about the app already used by many).

The reason I made my own is because I wanted to make modifications to some of the predefined profiles and save them, swich on the fly, load on boot with my customizations, and integrate with Tasker, so I can swich profiles on per-app basis. Let me know if anyone is interested. It's currently (I believe) only usable for my current setup (franco kenrnel), so I'll need to test with other kernels and see if there are any differences with file permisions or others.
[OnePlus 3 Guides, News, & Discussion] :
*Psst!* Hint: always read the first post first, the answer you seek is there.

If you can't find it, use the search function and search for other things than "lg v20". For example "work" or something similar. Just a tip! :fingers-crossed: ;)
[OnePlus 3 Guides, News, & Discussion] gretschpr:
Will look again, thanks
[OnePlus 3 Guides, News, & Discussion] pablo216:
I would totally love to see the tasker profile. At this moment I don't have enough time to make one big would use it! If this is considered as hijacking the thread then maybe through PM.

Thanks in advance!
[OnePlus 3 Guides, News, & Discussion] Donglip:
+1
[OnePlus 3 Guides, News, & Discussion] sriharshaarangi:
The values are not applied correctly. I am setting them manually in EXKM. Rest of the parameters are applied correctly.
[OnePlus 3 Guides, News, & Discussion] DiMatador:
I previously have mention that i did try the terminal within twrp and it did work on RR ROM. But i have gone back to stock bata 11 and it does not matter which way i use the terminal, iether within twrp or with in ROM it does not work unless if i use the app.
[OnePlus 3 Guides, News, & Discussion] iAbadia:
Voltages Project Zhana 4.2

[MENTION=6187429]Asiier[/MENTION] there you go, I decided to wait to have at least 24h stats before posting.

big Cluster - Uptime: 15:46:46

2150MHz 0:00:01
2073MHz 0:00:01
307MHz 0:00:04
Deep sleep 15:46:36

LITTLE Cluster - Uptime: 36:43:15

1593MHz 0:11:56
1478MHz 0:00:19
1401MHz 0:00:39
1324MHz 0:01:19
1228MHz 0:00:10
1190MHz 0:01:13
1113MHz 0:02:45
1036MHz 0:16:55
960MHz 0:11:52
844MHz 0:15:20
729MHz 0:26:15
652MHz 0:27:24
556MHz 0:59:38
480MHz 0:13:47
422MHz 1:20:14
307MHz 16:26:46
Deep sleep 15:46:36
[OnePlus 3 Guides, News, & Discussion] Asiier:
For me it's working....

[MENTION=4111465]LittleJakub[/MENTION] Make sure you have the app updates as the version 4.0 it's needed

That's really strange... Can you check if the files have been placed on the right directories??

And the app should work anyways...

EXKM uses a different format and therefore won't work copying the profile to the folder...

If you don't want to use the terminal script, you can use the AKT App

That's actually my bad, I changed a loot of things from Input Boost. So I basically copy and paste from one profile to the other... so my fault, I forgot to change it to the right values.

Yeah, it should work fine, not perfectly for the device ( CPU Load change) but good.

That looks interesting!

I doing it myself a while ago, but actually XANA works for me in all scenarios, but I think for people that are more undecided, it will help.

Can you provide more information?

But, for what I see, seems pretty okay. You have a little to much Awake time, and the BIG cluster recording didn't work.
[OnePlus 3 Guides, News, & Discussion] sriharshaarangi:
Thanks [MENTION=6187429]Asiier[/MENTION] for clarifying regarding input boost values. Will the corrected version release anytime soon?
[OnePlus 3 Guides, News, & Discussion] SREEPRAJAY:
+1 please...if it is not a pain
[OnePlus 3 Guides, News, & Discussion] Arstoien:
Ok, I'll work on that but I'll perhaps have time to adapt it over the wekend :]
[OnePlus 3 Guides, News, & Discussion] LittleJakub:
I tried - the profile doesn't stick, the app doesn't ask for root privileges... :(

I'm using the newest version of Magisk Manager 4.1, Magisk v11.1 with MagiskSU.

Maybe some other way to force root?

Regards,

Kuba
[OnePlus 3 Guides, News, & Discussion] Asiier:
I think I'll wait till 1.4, since it's a minor thing.

You can modify the file or change it yourself on EXKM

But on the Slack beta I have fixed already

If you could send it to me too, I want to see what you did :)

Weird...

For me is working, I'm on the version 11 Magisk and Manager 4.0

Look the screenshot
[OnePlus 3 Guides, News, & Discussion] LittleJakub:
So should I wait for a newer version, or try asking the developer of Magisk what the problem might be?

EDIT:

I've found something peculiar when viewing the *.APK file through Solid Explorer's "app viewer" feature. Now bare with me, as I have no idea how android development works, so I may be wrong :D

But!

When looking at Kernel Adiutor (I'm using this as an example of an app, that prompted my device for root privileges) *.APK through the "app viewer", we can see, that the permission requested by the app is seen as: "android.permission.ACCESS_SUPERUSER".

When looking at AKT Profiles *.APK the permission is simply seen as: "ACCESS_SUPERSUER", with no "android.permission" in front of it. Is it possible, that this could be the reason for the app not prompting for root privileges on my device, or am I paranoid? :p
[OnePlus 3 Guides, News, & Discussion] Mostafa Wael:
Same here, but i am adapting it for the old HTC One M9 to cure its thermals :)
[OnePlus 3 Guides, News, & Discussion] gabmarpin:
On my oneplus 3t using stock Oxygenos 4.0.2 works after installing either SuperSU app or phh's superuser app despite the fact that neither of them is used. Ignore messages that the su binary needs to to updated.
[OnePlus 3 Guides, News, & Discussion] LittleJakub:
Thank you sooooo much!

Worked like a charm :)

Although I must admit, that's a really funny workaround :laugh:
[OnePlus 3 Guides, News, & Discussion] Arstoien:
Btw some feedback on Burnout PR3: I've been running it with small modifications to make it slightly more conservative (I still maintain smoother ui than the balanced profiles) and I've been getting average battery life of 10–11% per hour while screen on. Mostly on 4G, some wifi usage. That's pretty good imo. If I'm running a bit lower brightness and wifi, I get 8–9% per hour, which is quite spectacular for me. I didn't see much improvement over this battery-wise when using the balanced profiles. Yet again, I tweaked a bit it for my usage, so I'm not sure about results with stock PR3 settings. For comparison, for me stock franco settings run about 2%/hr higher.

Just to emphasise that this is in no way scientific testing, by any means
[OnePlus 3 Guides, News, & Discussion] Asiier:
Oh true! I have phh Superuser's app installed
[OnePlus 3 Guides, News, & Discussion] LittleJakub:
Maybe we've just found a general "key" - because I neither had phh's superuser nor chainfire's superSU installed :p Only Magisk Manager with MagiskSU...
[OnePlus 3 Guides, News, & Discussion] JohnHorus:
LineageOS/CM support for init.d/su.d

Does anyone know if these tweaks will work by default on LineageOS (or CM if still using it)?

I've seen it said that CM dropped support for init.d and su.d a while back, but other people saying it does work. I know that SELinux isn't sorted out in LineageOS yet, so the scripts have to be run from /system, but now I'm curious if it will work at all.

I'm gonna try setting them up later today, can anyone say whether or not they should work by default on Lineage? Do the init and su scripts install to /system by default?
[OnePlus 3 Guides, News, & Discussion] JonatasSfredo:
My results with this combo:

Franco kernel + Burnout PR3 + Ob11 debloated

Very fast, very smooth and very great results.

Thanks devs, for this amazing work!!!
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
yes will work on any ROM/Kernel

What did you changed? You said, you tweaked (twerked? :laugh: ) a bit
[OnePlus 3 Guides, News, & Discussion] mikey1975:
Searched the tread, didn't find an answer. I'm on OB11, rooted, stock kernel. Selected the Ghostpepper profile. Does anyone know what this "miscellaneous" means which is draining battery a lot??
[OnePlus 3 Guides, News, & Discussion] BIGWORM:
I believe miscellaneous points towards usage for an app that you had previously uninstalled.
[OnePlus 3 Guides, News, & Discussion] humzaahmed155:
No, miscellaneous shows in battery usage because you haven't changed the build type to "user" from something like "userdebug" in the build.prop. Miscellaneous isn't a bad thing. It'll disappear if you set your build type to the correct one for an end user.
[OnePlus 3 Guides, News, & Discussion] joodii:
what font you are using?
[OnePlus 3 Guides, News, & Discussion] JonatasSfredo:
I use all Experience v10.5 font.
[OnePlus 3 Guides, News, & Discussion] DiMatador:
Well......im truly impressed at what a small change can make. I'm finally using the AKT apk to run Z.E.N.A Balance Extreme n the results are truly NUTS.... I was previously using EX Kernel Manager and i was having a hard time getting 8 hrs, it was good but not the talked about 13hrs was not even close!...Look at this !!!!!
[OnePlus 3 Guides, News, & Discussion] mikey1975:
Well, indeed. I did change build.type to userdebug in the build.prop. After changing it back to user and wiping cache/dalvik, miscellaneous disappeared from the list.

Thank you for your reply.
[OnePlus 3 Guides, News, & Discussion] JohnHorus:
Do we need to reflash the zip and/or reactivate through terminal after doing an OTA? (Lineage)

Also, in the video [MENTION=6187429]Asiier[/MENTION] uploaded showing EX Kernel settings, I see he loaded a profile called Zhana v2.0, do I need to apply a profile under "Governor Options" as well?

I was looking at the CPU times in EX Manager after installing and I don't see any records for the big cluster. It only shows the time it's spent in deep sleep, it has no speeds in the list at all. Little cluster seems fine. I never looked at this before, so I don't know if this is default or due to the AKT tweaks. Does anyone know why I don't see any data there?

Thanks for taking the time to put these together, looking forward to trying them out!
[OnePlus 3 Guides, News, & Discussion] Arstoien:
just try in terminal

su
AKT

and see for yourself
[OnePlus 3 Guides, News, & Discussion] profesy:
We must use .zip and apk or only one, for example .zip? Thanks
[OnePlus 3 Guides, News, & Discussion] Bob823:
Either. Not both.
[OnePlus 3 Guides, News, & Discussion] patalao:
Click on restore or reset on top right.

It will restore the last known values or reset those values and start over.
[OnePlus 3 Guides, News, & Discussion] ggkameleon:
Hi ! I had flash profile Zahna xana 3.3 for my Op3 with ElementalX kernel.

But I can install the AKT apk for if I want change profile ?

I had apply profile with terminal su/PXZ

If I disabled the profile them I can apply other with the app Akt ?

Or if I install the App and open it (no uninstall profile before) I see my profile install Zahna 3.3 ?

Another question ?

If I want to change kernel for eng_stk I restore my boot (stock kernel) wipe cache App EXM and uninstall it. But I don't loose my root ? Or I do to flash again SuperSu ?

Thanks a lot for your works.
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
It is really hard to answer the same question 2-5 times a day... Please read the 1st and 2nd Page from OT
[OnePlus 3 Guides, News, & Discussion] skeeter123:
Welp. I extracted the boot image from the full 4.0.2 ROM, and followed the steps (sans the kernel flash since I wanted the stock kernel back) and now:

1) I have the dm-verity warning at boot.

2) No wifi (or hotspot obviously)

3) Lost root. (rebooted to TWRP (3.0.4.0-1) and flashed supersu to get root back....still have 1 and 2 above...

I do have the stock kernel....except now I forgot WHY I wanted it....lol

I reckon I'll re-flash the full ROM now..

Thoughts?
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
What is if you dirty flash your Rom?
[OnePlus 3 Guides, News, & Discussion] skeeter123:
That's in the plan...but I did this:

fastboot oem disable_dm_verity

fastboot oem enable_dm_verity

to get rid of the dm-verity warning BS....seems to have worked....but, alas, still no wifi....reckon I'll dirty flash the ROM....but work beckons....

UPDATE: Reflashed OOS 4.0.2 ROM. Wifi works now.....(sorry for OT derail...)
[OnePlus 3 Guides, News, & Discussion] mutokenji:
I installed AKT and run it from terminal to setup the profile. After that i unroot my phone.

Is the profile still there?
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
If you had flashed the zip, Yes it is still there.

But without root you cannot execute /run the script. So actually it wont run on your phone
[OnePlus 3 Guides, News, & Discussion] mutokenji:
I see. Do we need to run the script on every device startup?
[OnePlus 3 Guides, News, & Discussion] 1+3_FA:
With the App, no.

With the script, Yes, recommend
[OnePlus 3 Guides, News, & Discussion] Arstoien:
Here's the changes. Looking at them now, really not very much is changed. I may post some battery stats after about a week of usage. Can't even say it's more conservative actually. Used to try more conservative ones but I guess that's what I settled on to.

cpu0 go_hispeed_load 87->90

cpu0 hispeed_freq 960->1325

cpu0 target_loads 40 844800:65 1324800:84 -> 40 800000:65 1300000:90

cpu2 go_hispeed_load 85->90

cpu2 hispeed_freq 2074->1632

cpu2 target loads 55 729600:65 1324800:75 -> 55 700000:65 1300000:75 1600000:90

input_boost_freq 0 for both -> 730 for both

input_boost_ms 0 -> 40

gpu_max_freq 624 -> 510

PS: edited to add cpu2 target loads. Also keep in mind I'm flashing over franco, which has slightly different hmp values that could make a difference.