yashsingh1/xdaforums huggingface dataset:
[Amazfit] keneva:
That's exactly what I wished Amazfit Stratos should have been included.

I really miss this kind of information.

Of course, I understand that PPG HRM might be inaccurate in water, but, at least, this could be just an indication of the heart rate.
[Android Head-Units] Senator-x:
Hello,

I bought a Chinese 1din android radio (while the front panel of mine is different than I ordered, I believe they're all the same version) and in the process of searching for settings for the screen angle to save in the memory, I managed to screw things up when aborting a "debugging" process midway. This resulted in the loss of functions such as radio, apps, and the screen while showing full 7 inch, what is touch responsive is about 3/5 of that.

So far I've tried to reset the radio with the switch between front panel - no effect.

Unplug, reset, factory reset - no effect (only factory resets the android portion)

I've also tried to use the function "MCU reset" but this does nothing, and the unit does not reboot like it says it would.

The MCU version is something like this : mcu an6b01-mcu-v1.00.

So, does anyone please have any knowledge on what to do, or perhaps has the software to restore full factory status?

Please help :c
[Android Head-Units] Senator-x:
Does anyone have any ideas or a solution..?
[Samsung Galaxy Note 9 Questions & Answers] aizazzulfikar:
Hello experts I am having a Samsung galaxy note 9(which I bought recently) I noticed a tiny white spot which blinks and then vanishes(happens occasionally) when I double tap my phone's screen to unlock it I have my phone updated to latest android OS is it a hardware fault or software fault and can this problem be solved?
[Samsung Galaxy Note 9 Questions & Answers] Paras Lehana:
Can you make a video of it? Also take a screenshot when the dot appears and post here.
[Samsung Galaxy Note 9 Questions & Answers] aizazzulfikar:
Ok I will try.
[Samsung Galaxy Note 9 Questions & Answers] aizazzulfikar:
The spot appears occasionally not frequently.
[Samsung Galaxy Note 9 Questions & Answers] Limeybastard:
Probably a defective pixel.
[Samsung Galaxy Note 9 Questions & Answers] aizazzulfikar:
Can it be fixed?
[Samsung Galaxy Note 9 Questions & Answers] Limeybastard:
If it's a semi dead pixel that flickers it might be able to. Google " Samsung semi dead pixel".

True fix, is screen replacement.
[Huawei P30 Pro Questions & Answers] ketman5001:
hi mates,

i'm wondering if the sound output (from earbuds) is loud enough or is still faint like on the p20 pro. thx for your testings
[Huawei P30 Pro Questions & Answers] bellamybof:
Im using it and it sounds better even than in the note 9
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
I forked the original xposed model on Github and I'll try to enable it for Android 9
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Im still on nougat. All us snap users rooted are nougat. Thank you for the response good sir love your app???
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
So what i got going on is we cant charge above 80%. But i can pretty much fake the battery gauge but only to 0% but once i do fake it it starts charging again. But randomly shuts down due to "low power". So if i can get it to not randomly reboot due to low power i can get 100%
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
I showed a few fellars. This morning. I hit 96 and 94 % last night. And i can do it any time i want. Again this is dangerous as the device sees 0%. Even though its really at 80% +. So you have to kinda keep an eye on the graph like i did i followed the curve + time and estimated. But i cant pass 94 to 96 % without a low power shutdown
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
[MENTION=5759239]TheMadScientist[/MENTION] please try the attached APK
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Tells me i need a newer framework. 90+ thus can't be activated
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
What's your xposed version?
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
89 framework
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
I see something now about a90 betta
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
This should work
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Yes sir
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
So i will teat this and see if i can hit my goal. Ive actually got the best battery life today. Than ive had in a very long time. So. Time to charge up boys and see if i can hit closer to 100%
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
So every one know the question isn't if I get passed 80% it's if I can make to 100. I have proven we can get passed the 80 barrier. I'm charging up to 80 as we speak. Then I'm going to apply this hack job of a idea and run it.

So wish me luck into not having the exploding s8????
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
As soon as i hit it and knock the gauge to 0% it shuts down straight away pretty much.
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
The module performs a shutdown once its on 0 percent.

I can make it do disable the auto shutdown completely.
[Samsung Galaxy S8 Themes, Apps, and Mods] Cheemaa:
solution-official modded pie img by jrksure. (ability of safestrap only, no root, no xposed for pie). even though there is no root/xposed. i am still glad i made the decision to upgrade.

---------- Post added at 12:32 PM ---------- Previous post was at 12:28 PM ----------

https://xdaforums.com/galaxy-note-8/development/wip-n950u-bootloader-unlocking-build-t3854549

thread looks abandoned but i hope he finds a way for us.....
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
That's what i need. That would be perfect. And yes i know the risks. I assume ask risks. ??? Thermo nuclear war. Dead cars lost puppies. All the usual. ??? I technicly don't have a dead battery so i should be ok. So what I'm doing is once i got 80% i fake the gauge. Only way to fake it is back to 0. No in between. But it starts charging again. But if coarse being at 0 shuts down randomly. I removed the module and was able to get 95 last night. But i started dozing off so i stopped and rebooted as this gets undone upon reboots.

Either way you are a life saver i never thought we would be able to pull this off. This will be wonderful for any one who is technicly available in the head. And had a few minutes.

From my gathering. From 80 to 100% takes about 25 to 30 minutes as again no way to tell since gauge reads 0. The battery hd app has a nice real time graph. As i follow the curves. I guesstimate and sofar have been within 2 or 3 % of actuality %s. So i theorize that even if i was to mess up and over charge to say say 103% i don't think much harm will come

My battery in 1.5 years. Still reads 0 cycles. As i charge. Everyday from 35% to 80%. Prime pristine condition
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
Another APK for testing
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Nope still rebooted.
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
Give me 5 min.. I had to get to 0% to test this.. took all day :laugh:
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
Another test APK
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
I pmed you to let you know exactly what im doing. So there you can tell. I can simulate 0 % at any time. So ill try now as well
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Dude it works
[Samsung Galaxy S8 Themes, Apps, and Mods] firefds:
Nice! I had to change the behavior of the module, as it was built do to the opposite of what you wanted.

What's your next step?
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Now i have to charge to 80% and test my total therory. Thank you so much mate. This is gonna gain a lot of SOT in in any rooted snapdragon US samaung
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Up
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Ahh ****. I can get 94 95 %. And the device starts floating. It bassicly trips another safety and stops charging. Or at least thats what it looks like.

At least its a bit safer than expected. And less worries
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
I almost got 100%

So after many days and charges now just playing around testing a bit more. Each time i do this there most definitely is another safety system in play. Charging tapers off really quick in mid to upper 90s once actual capacity is reached. Which is good news. A safety limmit is in play and no Note 7 fiascos ???

That being said. Ive got a near full charge now under my belt, Weighing in a 99%
[Samsung Galaxy S8 Themes, Apps, and Mods] deadedge7:
Hi tested

open root explorer

copy battery_capacity_max to /system/ and 0 in file

after copy battery_capacity_max to /sys/class/power_supply/battery/ error but works

wait five seconds for 0%

just an idea for next reboot if need

thank you for job

100% successfull
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
You don't have to copy it any where. No need to. It is undone but reboots. It does take a few seconds for the 0 out to be applied yes.

I still want to see a 100% .

I don't even reboot any more when i do it. Once it quits charging at or near 98% it revertd back to near 1000. My stock value is 988
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Its official. Ive hit 100%. Pics and all
[Samsung Galaxy S8 Themes, Apps, and Mods] frozeninferno:
Next thing I will be watching for is being able to pass SafetyNet with US Snapdragon S8/+
[Samsung Galaxy S8 Themes, Apps, and Mods] deadedge7:
Making a command is less complicated and faster.

With boot shell on play store I made a command and copy the file in

/system/batteryfull/batt_capacity_max with 0

added command in boot shell

cp /system/batteryfull/batt_capacity_max /sys/class/power_supply/battery

one click 0%:good:
[Samsung Galaxy S8 Themes, Apps, and Mods] Superguy:
Awesome!

So even with these updates, we still have to be careful about flatlining the battery, correct?
[Samsung Galaxy S8 Themes, Apps, and Mods] deadedge7:
25% to 80% full 100% it's correct

more time

same work +20%
[Samsung Galaxy S8 Themes, Apps, and Mods] deadedge7:
view screenshot 0% reboot

normal usage
[Samsung Galaxy S8 Themes, Apps, and Mods] rosel11078:
Is there any post to explain full android 9 root on Samsung Galaxy S8+ G955U "march 1 security patch" to apply this ????
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
There is no root on pie and any s8 or +. But if you look in the plus threads there is a safestrap method rev 5 bootloader that you can after proceed to install root for nougat
[Samsung Galaxy S8 Themes, Apps, and Mods] rosel11078:
So downgrading to Nougat I only obtain root access to this device????
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Yes kind of a hack allows you to do it its ell explained here https://xdaforums.com/galaxy-s8+/development/root-t3909782
[Samsung Galaxy S8 Themes, Apps, and Mods] crazysoccerman:
I rebooted my phone and it seems I've lost the ability to modify the file.

The permissions are the same as the image in the OP.

When I change the value to 0, I get a notification that the change was saved.

However when I close and then reopen the file, the value hasn't changed from 1000.

Edit: had to remount system to RW. For some reason it switched to RO after a reboot.

I used Root Essentails, which worked perfectly.
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
It seems real finicky sometimes but good deal glad it works for ya
[Samsung Galaxy S8 Themes, Apps, and Mods] LASERBEEMS:
Thank you for this finding this fix. If I change the batt_capacity_max file to 0 then save as read only will my phone explode?
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
I dont even change the r rw back to r any more. I just change it to 0 and go with it.

It seems like even though the device reports 0. When the voltage gets near what would be 100% it stops charging and mine revert to like 891 or so. I havmt cooked mine. Or no one else has reported exploding devices yet ????

On a side note i only use this when i know i need the extra juice fore the day. Maybe once or twice a week.
[Samsung Galaxy S8 Themes, Apps, and Mods] deadedge7:
deleted
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Just so everyone knows I still got my s8s. I just choose to use my TMobile LG g5. H830 unlockable bootloader Yeah baby.
[Samsung Galaxy S8 Themes, Apps, and Mods] GXDA3:
What's that battery power app your using?
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Battery HD On the play store
[Samsung Galaxy S8 Themes, Apps, and Mods] GXDA3:
Cool thanks btw I got mine to charge to 100% too...
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Bump for the new guy looking into it
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
But old but yea you can flat line your batt
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
I save a half dozen times (batt_capacity_max) but it always reverts immediately back to 940. Xposed installed and the disabler is active. Wow this thread looked really strange - anyway it's format is back to normal now - I see it may have to do with editing the RW function on that file. Normally Root Explorer tells me automatically if I need to do that but see it may be a manual change now. Trying again ....

---------- Post added at 05:02 PM ---------- Previous post was at 04:49 PM ----------

Still can't seem to get the battery file to save with a zero in it. Saved changes with Root Explorer and while it was still open used another app to set file to read only but it still doesn't save. Another way to change system to read write? I'm probably forgetting something simple.

---------- Post added at 05:33 PM ---------- Previous post was at 05:02 PM ----------

Seems I've tried everything every which way to Sunday and still can't get the file to zero. chmod 755 battery folder - nothing changes. change permissions but file always goes back to 940 immediately.

---------------

OK - not sure if it was because I did it this time with Total Commander or if it was because I unplugged the phone from the charger but it finally saved the ZERO ! Looks like it's charging now. Probably wouldn't save before because I had it on the charger all the time I was trying to save it.
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Hmmm thats weird have you mounted safestrap and mount as rw. Never really had this issue. Busy box installed
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
My last edit shows I seem to have found the issue - that it won't save the file when the charger in plugged into the phone. I did get charged up a bit above 80% and read the voltage as being 4.254 volts on androsensor. Rebooted and read it again immediately and it showed only 3.994 volts. It couldn't have lost that much on just a quick reboot so I'd conclude (as has already been figured out) that the voltage is being read incorrectly when the disabler isn't running or the battery max file isn't modified. So now I somewhat wonder if the battery isn't actually at 100% when it shows 80% and if we aren't overcharging it? Does that make sense? Not sure I'm even clear on what I'm saying :confused:

---------- Post added at 06:13 PM ---------- Previous post was at 05:57 PM ----------

Just for more oddities - it seems Root Explorer won't save the file even with charger off. That's unusual as it can usually save things that Total commander can't. Then I modded the file and saved it with the number 2 instead of 0. No reboot and suddenly the battery percent is at 100%. But voltage is reading as 4.084 which is probably about 80 %. Then when I went back to look at the batter_max file again it shows 802. Charger usb meter shows 0.00 amps. If only we still had removable backs I could read the battery directly with my Fluke meter (very accurate out to 1/1000 volt). IMO the non-revovable battery move by Samsung and most others was an obvious way to keep people buying new phones more often. SMS (Sucky Move Samsung) :cool:

---------- Post added at 06:23 PM ---------- Previous post was at 06:13 PM ----------

Even more oddities I've noticed. I set the batt_max file back to Zero and percent shows 0% now and battery is charging. What's strange is the USB meter shows it charging at 0.41 Amps when the screen is on but when the screen goes off it jumps to 0.92 Amps. This original Samsung fast charger can easily do 1.9 Amps or more as I've seen it go that high when charging sometimes. I would expect it to show a higher charge when the screen is on (since the screen uses more power) but the opposite seems true with this Xposed module running and the battery file set to zero. Something else seems to be limiting the charge rate in this mode.

---------- Post added at 06:32 PM ---------- Previous post was at 06:23 PM ----------

One important question I think is whether for safety purposes will the battery not risk getting flatlined if we disable the Xposed module (the Xposed-DisableCriticalBatteryShutdown-release.apk) ? It seems it would be good to disable that in Xposed if you were at risk of running down to zero percent or storing the phone away for an extended time.
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
Changed the OP in my message thread to include a link to this thread. Thanks again!

---------- Post added at 08:54 PM ---------- Previous post was at 08:31 PM ----------

I'll just add one more tidbit from a number of years in tracking cell phone battery voltages. Fully charged batteries (at least on Samsung) seem to always be very close to 4.35 volts. That seems to be where it ends up with this mod when to percentage shown on the phone jumps fairly fast from 0% to 99 or 100%

Another correction to the above regarding saving the battery_capacity_max file is the last time I was able to save it with the charger plugged in using Total Commander. You do need to change Properties of the file to rw_rw_rw as it always defaults to rw_rw_r__ (just need to change others or world to rw).
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
Working fine and sometimes even hit 100%. But I'd like to write a script to do all the changes to the battery file. Not that it takes long but it's a bit tedious. I just need to brush up a bit on linux commands for changing properties of the file. I use ROM toolbox's script function to run it once I've got everything down. Also not sure how to edit the file in a script to change it to Zero. I'm sure I can figure it out unless someone already knows this off the top or maybe has even written a script already. Yep I'm lazy at times :)

---------- Post added 22nd November 2019 at 12:06 AM ---------- Previous post was 21st November 2019 at 11:39 PM ----------

Got the chmod part down to change file properties but having trouble with changing to file and saving it in the script. Maybe I'll just delete the file and copy a pre-modded file in the folder? Giving that a try....
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
Seems I got a script working - will add notes later but need to get some rest. For anyone familiar with Linux you'll probably be able to figure out any changes to the attached file you might need for this script to do all the changes needed for the Xposed module. Use ROM toolbox or any app that can run a script. Unzip attached file and run it. This may take a little more fine tuning if your battery is not below 80%. Will work more on it later but for now it worked on my S8+ nicely to save having to do all the changes manually.
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
That is awesome. So is this a automatic thing? Like Tasker. At 80% it runs this script? I'll update the OP once you got it up and running to link to your post. This would be totally awesome.

A big up yours Samsung ???
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
I'll work more on it today. Actually no it doesn't automatically run at 80% - it is just a script to run anytime you want to charge the battery that saves you the trouble of going into the folder where the battery_capacity_max file is located, changing it's properties and then editing it to a value of '0' and saving it. All that is done with a click to run the script. I think that they way I got it set up last night it may only work if your current battery_capacity_max file has a value of 1000. But I plan to change that so it will work with any value it currently holds (like it often shows 960 or similar values). I believe when your battery is at or below 80% it normally holds a value of 1000. Not sure on that but it's what I saw last night when I was down below 80%.

More fine tuning and testing soon. I have forgotten a lot of my Linux commands but it's coming back so I think I can get this polished up today. :) I'll look into how it might work with Tasker too.

-----------------

Don't use the file posted above. It worked one time but the file in the /tmp folder goes away after use or reboot so use this one attached. Still working on more changes but at least this one should always work as it also copies the batt_capacity_max file to the tmp folder that the linux command 'sed' requires to work.
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
My stock value was like 964. Awesome this is going farther. I hope one day we can get it maybe to execute from say Tasker automatically when plugged in and 79 or 80% is met. Should be some way. Then when it stops charging it auto reverts itself. So fully incorporated.
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
In considering having this run automatically when the battery gets to 80% I am thinking that might not be a good choice. If you weren't already on a charger or were away from one and your S8 gets down to 80% then your screen would dim and likely other processes would by slowed or stopped all together. I think it may be best to keep it a choice to run manually. Unless Tasker can sense when you are on a charger and have it run only then and when it hits 80% that might be okay.

lol - looks like we were both posting at the same time and along the same thought train.

Still working on this file so it will work regardless of the current value in batt_capacity_max.

Okay - fixed so it should now work regardless of what initial value is in the file. Any amount from 1 to 1000 will be changed to 0 (Zero). Attached
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
BTW not sure if your S8 is different in the location of the batt_capacity_max file but in your OP you have: "navigate in a Root file explorer to this directory /SYS/CLASS/POWER_SUPPLY_BATTERY_battery_capacity_max". Mine is in "/SYS/CLASS/POWER_SUPPLY/battery/ and the file is named 'batt_capacity_max'. If yours or other phones are different you will need to edit the battery80-100 file I attached so the file folders and file name is correct for your phone.
[Samsung Galaxy S8 Themes, Apps, and Mods] droidzer1:
I've been aware of 'Tasker' for a long while but have never used it. Installed it and looking at it I tried setting up a task for the battery. Looks like a bit of a learning curve to use it. It did seem to trigger the 0% battery level but not sure how it happened and the battery was at 90%. I was hoping to set it up so pushing the Bixby key would trigger the script file. No clue how to do that at this time though. Any help appreciated.
[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
Same boat I hear every one talking about it too automate stuff. Even installed it a couple times. But never got any where with it.