yashsingh1/xdaforums huggingface dataset:
[Samsung Gear Live] DHILLEN:
To port newer version of Android Wear (Wear OS), I need to get more information about your device. Send screenshots from Device Info HW(Download it to your watch).

I think it takes about 3 days to complete a port.

---------- Post added at 10:54 AM ---------- Previous post was at 10:50 AM ----------

It's impossible to compile new kernel, as we don't have a source code of our one.

But, we can try to create a tree of it... But it would takes a lot of time... Also, write me.

---------- Post added at 10:59 AM ---------- Previous post was at 10:54 AM ----------

It should start, if you are use 6.0 as stock ROM to port a 7.0, as it has same SELinux level.

For example, LG G Watch, it has only 6.0 (1.6 wear), but they port from Watch R, which has many differences.
[Samsung Gear Live] :
I want to believe! Would test also
[Samsung Gear Live] alwaysdiff:
Update gear live got a.w. 2.0..

At least I believe it did
[Samsung Gear Live] :
Link?
[Galaxy Note 3 Q&A, Help & Troubleshooting] SWAT10101:
how i can deodex stock rom from samsung to install Xposed fremwrok ?

and what the file i but in JoelDroid Lollipop tool ?

sorry for my english.
[Galaxy Note 3 Q&A, Help & Troubleshooting] rayman95:
Use QS rom who is deodex and have xposed include with aroma....
[Galaxy Note 3 Q&A, Help & Troubleshooting] Sjant:
It's not required to deodex your rom if you're running tw stock 5.0. You can install xposed with no problems.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] MATABGR:
Hi, can I Install G935U firmware on my G935T, I do not have root is root requiered to install it ?
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] jpcdeux:
No root required. Just Odin
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] jiji.james:
Will I be able to go back to G935T without any issues?

Does it trip the knox counter? My work email kind of works only on an untouched software because of the mdm software they use
[OnePlus 3T Guides, News, & Discussion] dhuynh94:
Nice! So generally it would better to find out what is constantly using the CPU on a case-to-case basis, but going from your final results: SwiftKey and Textra were the culprits. I was reading the other thread about SoT and people were getting over 6+ hours and I was getting only.. 3-4 at most? I've had the same issue as you where the battery was draining and I could not really find the source (general suspicions such as G Services didn't really contribute).

Thanks for letting us all know! I'm running OOS 4.0.1 (fully stock, unrooted) and I've just uninstalled/disabled SwiftKey (didn't realise it came stock). Will see how it is in a few days..
[OnePlus 3T Guides, News, & Discussion] nhshah7:
Yup, I was getting 3-4 as well before I fixed this.
[OnePlus 3T Guides, News, & Discussion] Jerry911:
I was trying this out because I am in the same boat. The command is wrong though, it doesn't take an option "-s".

I am kind of stuck at this point, the entries keep on jumping all over the place and the package names are being cut off (I see com.google.android.g and have no clue what's coming after the g)
[OnePlus 3T Guides, News, & Discussion] nhshah7:
the -s command worked for me. See attachment. Though I think it may sort by CPU activity by default anyways. Not sure why it's cut off for you but it could be gms or gms persistent (don't think that's anything to worry about). Try to leave your phone with the screen off and idling for a while to see if you notice any patterns if you haven't already.
[OnePlus 3T Guides, News, & Discussion] supersomething:
Nice find. Really useful to the community. I had swiftkey disabled day 1 because did not like the layout. Battery is doing ok. But how do I go about uninstalling swiftkey entirely?
[OnePlus 3T Guides, News, & Discussion] nhshah7:
Unfortunately you can't if you are not rooted. Just disabling it is fine though. I'll clarify that in my post, I think I wrote it out wrong initially.
[OnePlus 3T Guides, News, & Discussion] azsde:
Man I'm a huge textra user and I really love their app, maybe we should let them know about this so that they can improve their app ?
[OnePlus 3T Guides, News, & Discussion] l0veysingh:
i just finish uninstalling my swftkey...will share results soon
[OnePlus 3T Guides, News, & Discussion] jemeljsh:
Well I also use Textra and my OP3T has no battery drain issues, but nonetheless thanks for sharing. I get about 6-8 hours of SOT regularly with both Oxygen OS 3.5.3. and Oxygen OS 4.0.1., so I guess its depends case by case. Swiftkey is uninstalled through Titanium Backup, since I use Gboard.
[OnePlus 3T Guides, News, & Discussion] noahvt:
The 2 apps that used the most CPU on my phone were Genius and OnePlus Launcher. I removed genius and installed nova launcher. Battery is much better now
[OnePlus 3T Guides, News, & Discussion] tim_h:
Thanks a lot for this! I have had mediocre battery life on OOS 3.5.3, then very good battery life on OOS 3.5.4, but unfortunately again mediocre battery life on OOS 4.0 and 4.01.

The difference in BetterBatteryStats was that awake time fraction was around 15-20% for mediocre battery life and well less than 10% for good battery life. I was not able to really find the culprit with BetterBatteryStats, but deactivated SwiftKey half an hour ago and it seems I am back to good battery life with less than 10% awake fraction. I think your method might be an extremely useful way to identify problematic apps.

By the way, another problem that appeared with the update to OOS 4.0 was that K-9 mail stopped synchronizing push messages and at the same time produced much increased wakelocks. What helped here (although it seems counterintuitive) was to switch on the "strict power management" feature in the battry settings and exclude K-9 mail from being optimized.
[OnePlus 3T Guides, News, & Discussion] nhshah7:
Interesting. I'm curious to see if it's using up as much CPU on your phone as it did on mine.
[OnePlus 3T Guides, News, & Discussion] terragady:
holy moly, I am a big fan of swiftkey from day1 and I have good battery life but not like the poeple here... I hope swiftkey will fix it soon. Maybe I can try to switching it to agressive doze so it will kill swiftkey process? Actually should it be killed anyhow if we are not using it?
[OnePlus 3T Guides, News, & Discussion] tim_h:
90 minutes after disabling SwiftKey I can definitely confirm that battery life has improved a lot!
[OnePlus 3T Guides, News, & Discussion] warzag:
For me it's com.google.android.gm (corresponding to gmail I believe) it could be the same for him. I'll try to hibernate both swiftkey and gmail with Greenify :)

Thanks for the tips !
[OnePlus 3T Guides, News, & Discussion] Isus <3:
I ran the command and it gave me error that it cant open proc/stat

"Cannot open /proc/stat"
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
Given that the OP has identified Swiftkey as a decent battery drainer (I am going to try this simply to see if I can squeeze any more battery out of what I feel is an already impressive performance), is there any keyboard anyone would recommend? Swype?
[OnePlus 3T Guides, News, & Discussion] terragady:
one from google is not that bad actually, they improved
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
Started to use it but it doesn't show the word you're typing, using swipe, in certain apps such as, ironically, Google browser. Any other suggestions from the forum
[OnePlus 3T Guides, News, & Discussion] nhshah7:
found the XDA thread. looks like it's gotten a lot of traffic on XDA at lesat.

https://xdaforums.com/android/software/wakeblock-blocking-drain-late-t3526313
[OnePlus 3T Guides, News, & Discussion] habylab:
Interesting, never seen that thread. So it's basically Amplify, but doesn't need Xposed?

Anyone tried it on our device?
[OnePlus 3T Guides, News, & Discussion] RASTAVIPER:
When you can use Amplify, which blocks/limits Wakelocks, Alarms and Services, why to use another app that blocks only wakelocks?

Unleashed by ONEPLUS 3T rooted
[OnePlus 3T Guides, News, & Discussion] habylab:
No need for Xposed.
[OnePlus 3T Guides, News, & Discussion] RASTAVIPER:
Still, I prefer to use Xposed and then enjoy Amplify plus all other modules that I need from Xposed.

Unleashed by ONEPLUS 3T rooted
[OnePlus 3T Guides, News, & Discussion] mumtahid:
Hello everyone.

Im on OOS 4.1.7 ROOTED

I was wondering what is this thing that keeps my device awake 24/7

(WifiConnectivityManager Schedule....) This is the culprit i guess.

Can anyone tell me what's the solution to this?
[OnePlus 3T Guides, News, & Discussion] RASTAVIPER:
I had the same problem.

I solved it by trying different kernels.

R u using a custom at the moment?

If yes change it to the stock or to another custom and check again if there is any improvement.

In my case it was reduced after trying Franco's kernel, but it's sti there.

Unleashed by ONEPLUS 3T rooted
[OnePlus 3T Guides, News, & Discussion] mumtahid:
No im using Stock Kernel at the moment.

I could try that.

Btw would flashing lineageOS help? because i didn't have this problem on that rom.
[OnePlus 3T Guides, News, & Discussion] RASTAVIPER:
Can't comment on that.

I still use stock 4.1.7

Unleashed by ONEPLUS 3T rooted
[OnePlus 3T Guides, News, & Discussion] nhshah7:
Try disabling the smart wifi switcher
[OnePlus 3T Guides, News, & Discussion] RASTAVIPER:
Hey,

Anyone with battery draining problems could have a look at this guide:

https://forums.oneplus.net/threads/guide-how-to-get-6-hours-of-screen-on-time-on-3t.625748/

There are many tips that can help reducing the battery problems.

Unleashed by ONEPLUS 3T rooted
[OnePlus 3T Guides, News, & Discussion] 954wrecker:
Use the keyboard you prefer and just charge the phone a little more often
[OnePlus 3T Guides, News, & Discussion] brmbjn:
is it work for rooted ???
[OnePlus 3T Guides, News, & Discussion] Isus <3:
Gboard
[OnePlus 3T Guides, News, & Discussion] nhshah7:
Yep, just no need for the first set of ADB Commands to Grant permissions as you can just grant root access.
[OnePlus 3T Guides, News, & Discussion] brmbjn:
so what command for it ?

adb -d shell pm com.gsamlabs.bbm android.permission.BATTERY_STATS

adb shell pm com.uzumapps.wakelockdetector.noroot android.permission.BATTERY_STATS

adb shell pm com.asksven.betterbatterystats android.permission.BATTERY_STATS

it correct ?

it for one time or for every reboot ?
[OnePlus 3T Guides, News, & Discussion] nhshah7:
Correct, you don't have to do those specific adb commands because you can grant root access to those apps and that gives them the specified permissions. I don't understand what you're asking about each reboot... if you grant root access once, it usually sticks until the app updates (and re-prompts you for root access) or you take away root permissions.
[OnePlus 3T Guides, News, & Discussion] rockmaster:
Disabled swiftkey at the moment I got the fone, installed G keyboard, use stock SMS (dark theme is there so no reason to install another). But still my batt is not that good. So what I did:

1) Wipe cache in Recovery (stock one, my fone is fully stock)

2) Wipe data for Google Services.

3) turn off data when not in use.

4) disabled screen off gesture + pocket mode

Now my drain overnight is about 2-3%. SOT is solid more than 5hrs with auto brightness. Not very good, but too good compared to first time I got the fone
[OnePlus 3T Guides, News, & Discussion] terragady:
while screen gesture can drain some amps, pocket mode is actually to prevent battery drain by touching fingerprint sensor in the pocket.
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
In a rather over-simplified response to the original poster (who deserves thanks for this) I can confirm that disabling Swiftkey really made a difference.

Now, I have ALL services running daily. I have WiFi on always, I have bluetooth on always, NFC on (used twice today and yesterday for android pay) and screen brightness up at around 15% (and adaptive display on with the light theme), I was seeing about a 8-10% drain overnight but reaching 24 hours without recharge. That also gave over 4 hours SOT. This to me is very good and what I want from a phone. I want it to do the stuff I need it to do, not to preserve battery life as if this was the sole purpose of the phone (good battery life).

Since disabling Swiftkey however (and turning adaptive brightness off were the only changes I made to the above profile), I had a 4% drain over night and 4 hours of SOT at 48% battery. That is a big big difference.

Unfortunately, I still can't get predictive words and autocorrect to work with Gboard in Google explorer (it works fine whilst texting and emailing, so if anyone knows a fix for this please let me know) thus I will either revert back to Swiftkey and take a hit on the battery OR I'll try Swype out tonight (to see if I get the same drain) and use that. Shame as I like Gboard in principal.
[OnePlus 3T Guides, News, & Discussion] Steven Hsu:
Thanks for your share:good:
[OnePlus 3T Guides, News, & Discussion] 954wrecker:
Google explorer?
[OnePlus 3T Guides, News, & Discussion] brmbjn:
Please give command for rooted please
[OnePlus 3T Guides, News, & Discussion] terragady:
I wrote to swiftkey and attached this thread, you should do this as wel. Maybe they will fix it so we can use it without any drawbacks for battery
[OnePlus 3T Guides, News, & Discussion] darkren:
it worked for me yday with around 6sot and today atm 59% 1hour and 20min.... really frustrating
[OnePlus 3T Guides, News, & Discussion] darkren:
btw froze swift and deleted facebook and installed metal
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
Ha! Sorry, I meant Chrome. Essentially, Gboard's predictive text doesn't work with Chrome (not google explorer - though I am sure you knew what I meant).
[OnePlus 3T Guides, News, & Discussion] Jerry911:
You need to run adb as root, run the following commands in this order:

1) adb root

2) adb shell

3) top -m 20 -s cpu

I wiped my phone and reinstalled my rom with pico google apps. At the point when all the accounts were configured all 4 cpu's went down to 307Mhz when idle. With all apps installed, all settings done and all wakelocks prevented with the privacy tool the big cpu idles at 2000Mhz...

I gave this tool another try, for me it was android.process.media that was using 8% cpu when all apps closed and phone doing nothing.

I figured it must have been es file explorer, I wiped the cache and settings and the 8% cpu went away.

Now all 4 CPU's idle at 307Mhz again, I hope this will improve the battery life, I will come again and post my findings.
[OnePlus 3T Guides, News, & Discussion] nhshah7:
Negative ghost rider. I am not rooted and it works. The command I posted in the OP should work. No need for multiple commands, just the ADB shell top... one.
[OnePlus 3T Guides, News, & Discussion] Jerry911:
You need to enter those 3 commands when you get the message "Cannot open /proc/stat". I got it as well and running adb root first fixed it. Command 2 and 3 could be combined into one as in the first post but that gave me problems as well because it did not like the option -s cpu.

I am running CM, not OOS, and rooted through developer options so I guess that's why I had to run adb as root. Other than that it's a fix for the error message "Cannot open /proc/stat" and not a correction to the original post in any way.
[OnePlus 3T Guides, News, & Discussion] nhshah7:
Ah I see, thanks for clarifying!
[OnePlus 3T Guides, News, & Discussion] sujay4138:
my simple fix:

I just uninstalled facebook app and fb messenger. It did wonders.
[OnePlus 3T Guides, News, & Discussion] Jerry911:
All 4 cpu's still go down to 307Mhz like they should, I noticed a significant difference in battery life by doing this. Thanks op :)
[OnePlus 3T Guides, News, & Discussion] NoLunchBox_:
I don't get this phone at all. Battery life has been sporadic ever since 3.5.4. Sometimes I get really good battery life, sometimes I get really crappy battery life.

Right now is one of the days where I'm getting really good battery life. Same applications, same configurations, same amount of usage. Normally my phone would've been at 10% - 20% with 2h screen on time, but today it's at 44% with almost 4h screen on time.

Usually on crappy days I've noticed that Android System and Android OS are at the top of the list. Don't know what it could be. I still have swift key enabled and I've been using Bluetooth plus GPS all day. Can't figure it out.
[OnePlus 3T Guides, News, & Discussion] rockmaster:
Same to me. Sometimes I have 4hrs SOT with 40% juice left. Sometimes it's all I get. The amount of usage is daily basis the same.
[OnePlus 3T Guides, News, & Discussion] terragady:
same here, and also Android System and Android OS on top of everything. When I am using a lot of chrome than chrome is high as well.
[OnePlus 3T Guides, News, & Discussion] chokzgaming:
Can I just come in and add, if you have facebook and messenger. Unless your a power user for these apps. Just get rid of them. Biggest culprits for battery I have had on any device. Switched to swipe pro and its a perfect replacement for the facebook app, and it allows you to use the basic messenger functions. Just my 2 cents.
[OnePlus 3T Guides, News, & Discussion] rockmaster:
The thing with swipe pro is message is painful to use. I kept my messenger and use swipe
[OnePlus 3T Guides, News, & Discussion] NoLunchBox_:
Yeah the FB app has always been the worse app ever made. I do not however have these apps install. I haven't had a FB account since like 2010.

The app I use the most is WhatsApp in which I have multiple chats open. Do not use SwiftKey. What I don't get is how some days I get really good battery life and other days I get crappy battery life, using the phone exactly the same.
[OnePlus 3T Guides, News, & Discussion] NoLunchBox_:
Here we go lol ****ty battery life again. Really don't understand why it happens...
[OnePlus 3T Guides, News, & Discussion] nhshah7:
hook up to ADB and run the top command again. Rogue app may need a data wipe. It's a pain in the ass but it might help you figure it out. That's how I figured out inbox was killing my battery one day.
[OnePlus 3T Guides, News, & Discussion] aosw73:
Thanks a lot. It does help. I wonder if there is any apps to monitor this instead of using adb shell
[OnePlus 3T Guides, News, & Discussion] nhshah7:
I thought about the practicality of writing one. It would have to run in the background as part of why this method works is because you can turn off the screen and let the phone idle. I suppose you could have an app gather this data in the background and collect stats too since you have an ADB process running in my method. The last roadblock so to speak is that you would still have to grant it permissions if root is not available, but I'm not sure which permissions it needs. I ran it on terminal emulator right now to see what it can do without root access and all I saw were the top command and /system. Long story short, it would need extra permissions to be granted from ADB and I personally don't know which permissions it would need. If we could get a more experienced app dev onboard, he or she could tell us more about the practicality of an app to do so.
[OnePlus 3T Guides, News, & Discussion] terragady:
I noticed that messenger is sometimes in the top processes even with screen off:

PID USER PR NI CPU% S #THR VSS RSS PCY Name
8878 u0_a134 16 -4 3% S 138 2012504K 188104K bg com.facebook.orca
583 system 12 -8 1% S 12 224460K 27268K fg /system/bin/surfaceflinger

together with something from touch surface. So it keeps phone active all the time? It consumed 3% of CPU and does not shut down. Only when I close it thatn the process is gone.

About others, I have swiftkey showing up every now and then but showing 0%, same as SJCAM app, Aliexpress app, dropbox. They show up every some time using 0% of CPU.

Chrome is keeping some processes as well and they show up pretty often, and there are few of them.

Is there any method to shut down those processes when screen is OFF? I do not need SJCAM and Aliexpress to run some processes etc and I turned OFF backgroud data for them, yet they are active.
[OnePlus 3T Guides, News, & Discussion] nhshah7:
messenger is your texting app. touch surface may be your screen off gestures (ie double tap to wake). Install greenify to force close apps after the screen is turned off, this will take care of stuff like sjcam and aliexpress. For chrome, is it sandbox something? That process runs if you have open tabs in chrome (so I started closing all tabs I don't need).

Lucky for you that swiftkey isn't taking up so much CPU power. I wonder if it has anything to do with having it set to sync vs not sync. I'll have to play around with it...
[OnePlus 3T Guides, News, & Discussion] terragady:
surfaceflinger I figured out is a drawing over the screen, over other apps, but this I have disabled in the messenger and also app settings. I do not have double tap to wake etc. I am closing sjcam and aliexpress manually and the process is still there, i think I need some app to close the processes not a greenify?

Yes for chrome it is sandbox something, i do not like to open all the time same tabs over and over again so I am leaving 1 or 2 open.

Swiftkey has sync on.

I turned ON "auto close high power usage apps" hope it will help with this messenger process which stays in the background sometimes.

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

ok something new popped up now:

PID USER PR NI CPU% S #THR VSS RSS PCY Name
6416 u0_a46 20 0 2% S 22 1749348K 100152K bg com.oneplus.deskclock
583 system 12 -8 1% S 12 233656K 27976K fg /system/bin/surfaceflinger

This was open Clock app in the background... This is frustrating... why those apps are taking CPU power when they are open in the background? Clock? Really? It is freaking system app from OnePlus, this should be optimized! :(

Maybe it is because I have aggressive doze and close high power apps ON?

---------- Post added at 02:58 PM ---------- Previous post was at 02:48 PM ----------

and again something new:

com.google.android.googlequicksearchbox:search

:D and i get more gms (gmail) processes, also swiftkey is more often visible
[OnePlus 3T Guides, News, & Discussion] nhshah7:
for clock, do you have a clock widget on your desktop? I do, so I figured that's why it's active. THe biggest caveat to this method is that you have to keep in mind that the phone is a computer with processes actively ongoing. The purpose of this is to find apps that shouldn't be running constantly but are. Google quicksearchbox for example, is google's now/search app. Clock must be set to run every so often. Autoclose high power usage apps is for apps that are running in the background that are sucking up a TON of processing power and is built I'm guessing for apps that malfunction and stay on in the background and actively drain your battery. I've only had a notification come up once for that. I think spotify was doing something and the phone warned me, so I closed it. Aside from that, I don't think it does what you're hoping it will. Try greenify for your apps you don't want open...without root, the method it uses is closing the process. It's exactly what you want...
[OnePlus 3T Guides, News, & Discussion] terragady:
Yes i will greenify this evening. About the clock I know that it has to be active but it wasn't before, i didnt close the window after morning alarm, and when I did the process from top20 dissapeared and never appeared again. I think it is quite important to close the apps?

I got warning about messenger quite often from high power usage thingy.

quick search box is fine if you have it as a widget or something turned on, I have all google now, search etc closed as I do not use it, that is why it confused me. After few days of playing with this I managed to get better battery results :) But yes I need greenify because apps which I am using once in a month are showing up sometimes, randomly, like boomerang, it was on constant 2nd place on top20 processes for quite a while, same aliexpress. Greenify should help, I hope it will be fine without root? Or can we use adb command to grant Greenify some permissions?
[OnePlus 3T Guides, News, & Discussion] nhshah7:
greenify without root is fine.