[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] veso266:
get Battery status back when charging phone that is turned off

Hi there

long time reader, first time poster

after folowing this video: How to Root Samsung Galaxy S10e/ S10/ S10+ with Magisk - Full Video Guide

reading this forum a lot and writing down instructions/tips for myself which you can find here:

WARNING:
As usual, "tripping Know will forever disable your OTA updates, Samsung Pay, Samsung Pass, Secure Folder", and I think that's it for what I recall (some others might need tweaking, like S Health, explained elsewhere in XDA).
That is correct, for every new official release, you basically need to go over the same process again, with the new AP file.

BUGS:
Q: Found a bug, it seems to happen after some reboots. The Wi-Fi your are connected stops working and you have to delete the connection and set it again
A: This happens only if you reboot once without magisk...
A2: Just rooted exynos s10+ and works like it should. But there is a slight issue, when the phone is started with magisk, it doesn't connect to wifi networks, shows in wifi networks, but doesn't connect. Please look into it.
Install the "libsecure_storage companion" Magisk module.
The same module is required to fix the problem of lost Bluetooth pairings after rebooting to unrooted system.

Instructions:
https://topjohnwu.github.io/Magisk/samsung

(Powering up normally) → (System with no Magisk)
(Power + Bixby + Volume Up) → (Bootloader warning) → (Release all buttons) → (System with Magisk)
(Power + Bixby + Volume Up) → (Bootloader warning) → (Keep holding volume up) → (Actual recovery)

Tips:
Tip1: Another tip for S-Health users: it won't work until you modify your build.prop by changing ro.config.tima=1 to ro.config.tima=0

Tip2: the combo (VOLUME UP+BIXPY) works for me when "initiated with powered off device" but fails when done upon reboot ...

Tip3: I noticed while enabling/disabling modules and restarting, you need to key combo to boot with magisk enabled.. however when rebooting using the UI button after a magisk update this was not required.

Tip4 (make Google Play working again): Remove directory for gms (/data/data/com.google.androd.gms), clear app data for GPay, full hide gpay & gservice in magisk Hide
Then reboot, and go gpay to configure your card

BT/WIFI Pairing FIX (Long Version):
Yes, if you reboot without Magisk, you will lose your BT pairings again, because the older libsecure_storage.so shared libraries from the module won't be loaded.
If you want your BT pairings to survive a non-Magisk reboot to Android (recovery is not an issue),
you will have to take the libraries from the module and copy them onto /system,
thereby actually modifying it. Magisk overlays the S10+'s native copies of these files,
but when you boot without Magisk, you obviously get the originals unless you have physically replaced them on the file-system.

What works:
Fingerprint sensor works, Safety Net passes (and Google Pay works; most likely your banking apps, will too, after you hide Magisk from them)

How to update firmware manualy:
1. Download official firmware with SamFirm
2. Copy *AP file to phone
3. Path with magics
4. Copy back to computer
5. Flash with odin normaly + flash home_scs file for odin not to delete data (Flash All files exept stock AP)

If you ever decided you want stock (without KNOX ofcourse) again:
1. Download official firmware with SamFirm
2. Flash all the files (BL, AP, CP, CSC)
3. Everything will be fine EXEPT KNOX WHICH WILL NEVER WORK AGAIN

I successfully rooted my SGS 10+ (SM-G975F) (BTW: is it normal that SamFirm picks wrong firmware for my region? (I tried generic Slovenian firmware: SIO, but it downloaded XEF one (which I discovered after flashing it and it was in French and Phone info said XEF as CSC:))))

but there is one issue:

Whenever I try to charge my phone while its turned off (or if I turn it off) it automatically starts on its own (not sure if in Magisk mode, haven't tried it yet)

I would like to get back battery status if charging phone that is not off (the little circle that shows charge percenatages and green line )

[IMG="Samsung Galaxy S10 Charging circle"]https://i2.wp.com/seektogeek.com/wp-content/uploads/2019/03/s10.png?resize=581%2C414[/IMG]

because I prefer that over Magisk autostart

Thanks for Anwsering and Best Regards