Battery test, TWRP, Magisk, Smali patch - OPPO Find X2 Pro Questions & Answers

Hi there,
I got myself an OPPO find x2 pro, and was wondering; how can I test if the battery is still acceptable? (its a 2nd hand device)
I played around a bit with the settings, with the camera, a few videos and in those ±20 minutes, the battery went from 76% to 63%.
The screen was set to default (not specifically to 60 or 120 hz).
The only reference I found so far is that i should be able to make a 90 min call with 5% battery left (if i can believe the OPPO video)
Furthermore, I want to install TWRP, Magisk, AdAway, Smali patcher on this device. Has anyone succeeded in doing so? (i was thinkging about using this guide: https://www.getdroidtips.com/twrp-recovery-oppo-find-x2-pro-root/#Oppo-Find-X2-Pro-Device-Overview)
Best regards,
JBtje

Contacted OPPO Europe, they say that rooting will never be allowed due to "GDPR and privacy regulations".
Right... well... my OPPO is on its way back to the seller, and a OnePlus is incomming.

Related

Battery Problems

I'm using a Nexus 5, its my first Android device, and so my first time rooting.
I rooted yesterday using the Android SDK, and installed TWRP.
The root worked perfectly, and I have tested it. All I have done since rooting (unlocked boot loader at the same time, so I'm clean on stock), is install a few Play Apps like Twitter, WhatsApp and then BusyBox and dSploit.
I haven't added any customisations or anything, and my battery is now awful!
i.imgur/AkdAKjW.jpg (Can't post links yet)
My screen has been on for 50 minutes...
I have brightness on the lowest setting, have turned off vibrate on touch, turned off Wi-Fi, turned off Location, set to use 3G not 4G, set display to turn off after 15 seconds...
Im sure it can't be anything to do with the root, but I don't really know too much about it. Is there a problem with 4.4.2 and battery life?
What else can I do to improve it?
Ideally I'd like to be able to have a max of 3-4 hours screen time, and the device to last for 14-15 hours.
I was easily getting 14 hours before I rooted/updated, but now my battery life has just screwed up.
Why is the OS using up so much?
7ewis said:
I'm using a Nexus 5, its my first Android device, and so my first time rooting.
I rooted yesterday using the Android SDK, and installed TWRP.
The root worked perfectly, and I have tested it. All I have done since rooting (unlocked boot loader at the same time, so I'm clean on stock), is install a few Play Apps like Twitter, WhatsApp and then BusyBox and dSploit.
I haven't added any customisations or anything, and my battery is now awful!
i.imgur/AkdAKjW.jpg (Can't post links yet)
My screen has been on for 50 minutes...
I have brightness on the lowest setting, have turned off vibrate on touch, turned off Wi-Fi, turned off Location, set to use 3G not 4G, set display to turn off after 15 seconds...
Im sure it can't be anything to do with the root, but I don't really know too much about it. Is there a problem with 4.4.2 and battery life?
What else can I do to improve it?
Ideally I'd like to be able to have a max of 3-4 hours screen time, and the device to last for 14-15 hours.
I was easily getting 14 hours before I rooted/updated, but now my battery life has just screwed up.
Why is the OS using up so much?
Click to expand...
Click to collapse
Is this not the first charge since you first saw the problem? The Android OS bug occurs sometimes. I would reboot and see how it is on the next full cycle.
sreen may be turning in coz some apps might be asking for root access.
I think you try greenify app and hybernate useless apps, m sure this will help you.

Phone goes down when camera is in use (not camera flash)

Hi Guys
Recently I had a problem where my Nexus 5 used to die when using more demanding apps (for example: games).
When I was starting a game, phone was going off and when I was restarting it, it was usually showing that my battery is quite low (battery level on 5-10%).
I have ordered new battery, replaced it by myself and it was super fine for 3 weeks. Now phone still works, but each time I will start camera and try to take photo, the phone will go down (off). I can start it again, usually around 5-10% of battery will be drained because of the booting process, but even if I will try to take another photo - it will go down again. I was hoping to find some logs which (maybe) will show me what's going on?
Where can I look for it or what could be the reason of the issues?
I am using stock ROM from google (currently the newest is 6.0.1 MMB29S) with xposed and gravity and TWRP installed.
Thank you in advance for any help which may come

[Q] Need help making sense of battery optimization/endurance on a rooted phone

Greets lads,
For "TL/DR"s: Not gaining any battery improvements with root/xposed capable tools (Greenify/Amplify); losing important features like on-time notifications; need help on Greenify settings or alternatives for them.
I am facing an issue, in fact, i always did, when trying to follow battery tips people go for when they root their phones.
I've just recently rooted my Note 8 (Exynos), nevertheless, i always go for a self-controlled system on my phone rather than very modified Custom ROMs, either i modify my stock rom, or find a minimally touched one in the custom rom threads.
Usually, if i achieved massive battery improvements, i ended up with a lot of sacrifices. In previous phones (Note 3, Galaxy A3 2014, HTC M8), i managed to get twice the screen time and battery life when i set-up the usual procedures to , which are: De-bloat (what i dont need and is safe to get rid off), Xposed because of Greenify and Amplify (PowerNap too).
The issues that i would get at these times were delayed notifications i.e from messaging apps, delayed waking up from sleeps (my sleeping, not phone ones) cause the alarm would never make it on time. Now all these apps were white-listed from all the apps that are supposed to limit them.
Now with Samsung Oreo, things look way to weird. My alarm app (Timely) works flawlessly and wakes me up as supposed to, it's untouched by the Samsung Device Maintenance, it is not on the Greenify list, and on Amplify it's not even taken in to consideration as i use the only two features that it allows you in the non-donated version, to limit the wake-ups of Play Services.
However, many messaging apps (obviously white-listed), turned very strange. Many times im in front of my computer, talking on the same platforms already existent on my phone, and 20 minutes later, i open my phone, and i am bombarded by all the incoming communication that i already witnessed on the desktop. This doesnt make any sense.
First, i have already acknowledged them, i was texted on them, i replied, on the desktop. The fact that they show up on my phone means they probably make it in time on my phone, but my phone decides not to wake up. Sometimes it does this without opening the phone up, maybe after 20 to 30 minutes after.
My set-up is: Samsung Galaxy Note 8 (Exynos, SM-N950F), TWRP, rooted with Magisk v16.6, Xposed (Modules: Amplify, Greenify, MinMinGuard), Greenify is Donated version, Amplify is not (would love to, but impossible in my region due to racist google), and root permissive apps such as AdGuard (which is terrible), FX File Explorer (for obvious reasons), Trimmer fstab (not sure if i actually need it), Termux for root shell.
My questions is, WTH am i doing wrong.
BetterBatteryStats shows the usual output on root too, nothing major draining it, but no whatsoever gains of battery life compared to the unrooted past, i mean, 2h screen time with 24h battery life, pathetic, that was the default on my previous 4/5 year old phones, and when i set-up the usual rooted procedures, i would get 4/5h screen time in 48h of battery life.
Any tips on Greenify settings? Any tips for alternative/substitution apps for the ones i already use? (WakeBlock i.e never worked or made my phones unbootable)
Thanks in advance.
Totally feel you and I'm searching for an answer to this, too. I had Greenify installed via the discontinued Magisk module and Xposed, and it started getting REALLY wonky, freezing up and ****. After reading that a lot of people here don't think it's even necessary beginning with Oreo, I uninstalled it and now the lag on my OP3 is pretty horrible, even after freezing the bulk of my apps with TB.
I too would appreciate any advice that can be given... have a OP3 on OxygenOS Oreo 8.0, rooted with Magisk, have Xposed, have debloated everything I have found safe, and using Nova Launcher.

Interesting find? Native battery charge limit settings.

TL,DR:
/sys/class/power_supply/usb/device/razer_charge_limit_enable – 1 or 0. Enables or Disables the charge limit feature, respectively. 0 is default.
/sys/class/power_supply/usb/device/razer_charge_limit_max – The percentage at which charging stops and discharging begins. 70 is default.
/sys/class/power_supply/usb/device/razer_charge_limit_dropdown – The percentage at which charging begins again when the battery has discharged down to this level. 65 is default.
The values reset back to default after reboot.
(I'm pretty sure root is needed to access/modify these files.)
Background:
I recently procured a Razer Phone 1. Also, over the last year or so, I also heard about the “craze” of limiting your battery charge to prolong its life. I figure, new phone – why not start off on the right foot and set up a charge limit. I don’t know whether or not I’ll actually ever notice the difference, but I figure it can’t hurt to try.
I’m rooted on 8.1.0, July 5, 2018 patch. Using Magisk.
I tried three different apps:
Battery Life Extender – I couldn’t even get past the 'blex --configure' step. It would fail/error.
Magic Charging Switch – It looked like I was able to set the charge limits, but the Razer Phone simply ignored them. I wasn’t sure why so I just moved on.
Battery Charge Limit – It looked like I was able to set the charge limits, but the Razer Phone simply ignored them. At first, I thought this was working, because I saw the battery icon revert to a “discharge” icon when it hit the limit I set (80%), but to my surprise, when I woke up in the morning, I saw that the battery was up to 100%. I figured I didn’t set the app properly (though it’s a fairly simple app), but when I saw it go from 80% to 81% with the “discharge” icon, I realized the phone was somehow circumventing this app’s function. This is probably the same reason why Magic Charging Switch wasn’t working. This probably also has something to do with why Battery Life Extender couldn’t configure. This app was using /sys/class/power_supply/battery/input_suspend to automatically set the charging state. However, the change was purely cosmetic since the phone kept on charging. It was truly a strange thing to see.
True, I could’ve asked for support in these individual threads, but I didn’t see much/any chatter about the Razer Phone in any of those threads. Perhaps I would not get an answer any time soon. I know most development is only possible when the developers actually have the device in question.
I continued to search for other files that could be controlling the charging behavior, because input_suspend obviously was not it. I came upon another thread which lead me to “/sys/class/power_supply/usb/device/”, which contained these three files that were obviously Razer custom files and not Android stock files ( razer_charge_limit_enable, razer_charge_limit_max, razer_charge_limit_dropdown). I tried playing around with the values within these files and they do, indeed, control the charge limit.
I played around with these files for a couple weeks (before making this post) just to see if there were any issues; the only issue I found was that the values reset back to default after a reboot. I’m sure there’s a better way to go about it, but I used Tasker to enforce my desired values.
What’s curious is I could not find any mention of these specific files online anywhere, so I could not know if there was a better way to enforce my values. From the time I originally found these files a couple weeks ago to the time of this post, I could not find anything about these files. I could not find any mention of this feature in the Android/Razer settings or the Developer Options. Perhaps it’s a feature Razer hasn’t made official yet, but clearly, someone over at Razer has thought about it enough to build the backend for this feature. What’s interesting is that in Razer’s opinion, perhaps the best charge limit for their phone/battery is 70%.
Perhaps this isn’t/shouldn’t be that big of a deal, considering “/sys/class/power_supply/usb/device/” is a known path. That said, Googling this path only yields 16 results (for me), and three different apps, on the Razer Phone, failed to do what they were intended for, and did not aid in finding the correct file.
For those interested, I set my max to 80%, dropdown to 78%, and I’m using Tasker to automatically turn my phone off when it discharges down to 50%. With my normal daily charging habits, that’s more than enough. Also, it’s forced me to change my normal usage habits a little, so I’m using my phone more conservatively when it’s not charging. It’s also nice knowing that when my phone has “died,” I still technically have 50% battery for “emergencies” (my Tasker task allows me to cancel the shutdown, if necessary).
Anyway, since this forum has helped me so much, I figured I'd share. I hope this helps anyone else who’s looking to do the same. Maybe start additional related conversation, or find some other hidden features. Perhaps the Razer Phone 2 has the same feature.
Nice find. I suggest sending a message to the devs of those battery limit apps and telling them how to support the Razer Phone.

H.S. power control

I don't understand this feature at all. After reading this article http://www.xperiablog.net/2020/06/01/xperia-1-iis-hs-power-control-feature-bypasses-battery-charging-to-maximise-gaming-performance/ I thought it will allow me to play games for as long as I want without depleting the battery. I've tried charging with this feature turned on 2 times now, and both times the battery level was dropping., so where's that battery degradation reduction they write about?
Furthermore, H.S. power control supposedly prevents the battery from charging, but during both tests, Franko Kernel Manager was showing that the battery was charging, not in a usual way though. Speed was going back and forth between charging rapidly (as fast as 6000 mA) and charging slowly (as slow as 12 mA).
"Limits performance reduction and battery degradation caused by device overheating during charging. The battery doesn't get charged when this feature is on. Turn off this feature when charging". So you launch a game, go through the game enhancer's features, and see this confusing AF wording, which tells you the feature prevents overheating while charging and gaming, but at the same time tells you not to turn it on while charging and gaming.
I use this feature when navigating. I was happy that it's not only available for games. Worked well. At least battery level didn't changed after some hour drive. Didn't checked it with Franco kernel Manager.
You selected the App and the colored bar appeared when App was in use?
Undead_Son said:
I don't understand this feature at all. After reading this article http://www.xperiablog.net/2020/06/01/xperia-1-iis-hs-power-control-feature-bypasses-battery-charging-to-maximise-gaming-performance/ I thought it will allow me to play games for as long as I want without depleting the battery. I've tried charging with this feature turned on 2 times now, and both times the battery level was dropping., so where's that battery degradation reduction they write about?
Furthermore, H.S. power control supposedly prevents the battery from charging, but during both tests, Franko Kernel Manager was showing that the battery was charging, not in a usual way though. Speed was going back and forth between charging rapidly (as fast as 6000 mA) and charging slowly (as slow as 12 mA).
"Limits performance reduction and battery degradation caused by device overheating during charging. The battery doesn't get charged when this feature is on. Turn off this feature when charging". So you launch a game, go through the game enhancer's features, and see this confusing AF wording, which tells you the feature prevents overheating while charging and gaming, but at the same time tells you not to turn it on while charging and gaming.
Click to expand...
Click to collapse
Must be a bug, works fine on my phone though....try resetting the phone perhaps?
Phoost said:
I use this feature when navigating. I was happy that it's not only available for games. Worked well. At least battery level didn't changed after some hour drive. Didn't checked it with Franco kernel Manager.
You selected the App and the colored bar appeared when App was in use?
Click to expand...
Click to collapse
Yes, the enhancer works, just not exactly as advertised.
yekollu said:
Must be a bug, works fine on my phone though....try resetting the phone perhaps?
Click to expand...
Click to collapse
I've spent quite some time on customizing the phone, installing apps etc. so I'd rather not start all over again. Unless there won't be any custom ROMs for a very long time...
it is a bug. if you still have problem. or other people have a problem there a way to fix it without factory reset. if your phone running android 12 or android 11. BUT not lasted firmware(of the android version.). try to download lasted version of Game enhancer(i recommended version 7.x.x instead version 8.x.x, because it more stable on 7, but if you rooted or can install subsystem apk, you can go with lasted version and i more recommended to do so to get more feature), subsystem and monitor apk from apkmirror, dont worry all app have same Game enhancer logo. if you have android lasted android 11 or android 12 firmware, only download Game enhancer and monitor app, as subsystem has been set to persistent app. and cannot be updated. if you are rooted download all app i mention and install as system app then reset your phone. im using xperia 1 ii with version 7.0.A.1.20 game enchaner as my original version came with my firmware have bug and H.S does not work as intended. whoever updated it does fix the problem(you can see with most battery monitor app that charging switch from -x/+x to null or 0) whoever not installing subsystem and lasted monitoring app from cause :
1.powersaver or balance does not effect anymore(but switch to Power save allow phone to use 600-700mah more often, and performance while have same usage sometimes spike to 1000mah sadly the display stay at 60hz, this is not intended as using original app power are limitied to 400-650 while average around 480mah with 40hz display)
2.while congrats you can streaming from you phone now, unless subsystem installed you may only have 1 chance to screenshot thumbnail until you reset user data. as importing image or re screenshot not working without newer subsystem. but at least all stream function working fine as i test it for 1 hours nonstop(just make use you have atleast 20-30mbps UPLOAD as lower than that cause stuttering on youtube even on 480p stream)
3.it may or may not disable/bypass thermal throttling while gaming(cant confirm but on my phone using original apk will give me around 280gips max then down to around 160 or 180gips under 5 minutes while using update version will stay more than 300gips, on CPU Thrttling, same as 3d mark, while normal benchmark average, extended test will have better result than most xperia on same model with 99.5% stability and score around 1108 to 1106 from loop 1 to loop 4 with identical performance range from loop 1 to loop 20)
4.recording no longer work on sdcard as they change folder name and older subsystem still using older name, it just keep asking permission
5.on stream and record menu. there option for capture card. it does nothing, even installing another backend app. like audio app from G.E and other app, it still wont work, unless you are rooted and install all backend app as system app, whoever fearnot, you stil can stream your content via type c to hdmi like normal, but dont except you can get audio bypass or settings like xperia 1 IV have,
*again point 3 is unclear as for me performance from older bencmark are deference than now, but it is from era android 11, i can be sony fix thermal issue and performance from firmware and not this trick, but it does effect mine since i can just remove update and see instantly the deference and it may can on your xperia too
*i said both monitoring/monitor app and subsystem app. because it called that but apk file name uploaded as sony multitasking function and GE subsystem
here a proof for point number 3, and not it not with any mod(no fan cooler but no case either with H.S enabled)
Hello,
You can add custom apps to H.S. Power Control right?
Only supported apps or ALL apps installed?
Does that also work if you turn the screen off? or does the phone start charging as soon you you turn the screen off?

Categories

Resources