-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to apply Battery Optimisation on GMS #59
Comments
Try with clean install (if you've done a dirty update before). |
I've just performed a clean installation of the module tho. |
After a reboot, have you wait around 100 seconds before you open your lockscreen? |
Yeah , the result is the same even after an hour.. ( I also tried to clear gms data ) |
screen-20241128-211057.mp4 |
Unfortunately, this issue persists even after clean flashing the ROM & I am sure it wasn't the case on the October security patch. |
Could you send me the patched XML by the module from its directory (/data/adb/modules)? |
|
Same issue here, November security patch and Android 15 |
XML helpful in solving issues?? (Are they as good as logs?) |
Uninstalling and reinstalling the module fixed it for me (confirmed with gmsc terminal command). Not sure why it stopped working in the first place. |
So should I uninstall module (as im in 14 now) and then reinstall when I clean flash android 15? |
Or still uninstall and reinstall after installing android 15
Or clean flash android 15 then
|
Already tried this several times . Even clean flashed the rom, but still no luck 🕊️ |
If you have telegram contact this guy (xity is his name) @ender4ity https://t.me/clarencekopitiam/548490 Reply on xity message He claimed for him it works |
Anyone can confirm with these hotfix build? Whether the GMS is optimized or not especially in Android 15.
|
Tried here,but same result,play services not optimized,uninstalled the old one and install this one,waiting more than 1 minut after boot |
How to capture logs which might be useful for you |
Module installation logs should be good too. |
|
KernelSU_install_log_2024-12-11-15-32-00.log Google Play services is Not Optimized. |
In these build I tried to search and patch the google.xml directly instead of checking the whole XML files.
|
Still not optimized :( |
|
Android 14 should work, you need to wait (a little longer) after your phone rebooted. |
Okay brother |
Did you find root cause of android 15 not universally compatible with module? Were logs really helpful? Or did google add protection to gms making it harder to patch it successfully |
Try su -c gmsc |
I'm using this https://github.com/termux/termux-app |
Can you use termux (fdroid variant and try)? I know this may sound silly but still |
Seems absolutely unrelated to A15 as it doesn't work on my Samsung S20 FE A13 stock either EDIT: KSU seems to be an important common denominator |
Anyone who running Android 15 (Stock ROMs or any custom ROMs) can send me the stock (unmodified) google.xml here? |
google.xml.txt I have these three xml files on my rom . DerpFest A15 QPR0 - December Security patch |
I had this issue. Downgrading KernalSU to the previous version (1.0.1) fixed it. I believe its an issue with the most recent version. |
Looking at previously closed issues and what happened to my phone after getting this to work, I don't think its now advisable to run google services in optimimised mode anymore in recent versions of Android (you can but it breaks things and random apps will crash in the background). |
KSU uses Though I wasn't able to get it working just letting you know issues i faced. |
Its dont work for me too. Using
And ur module patched only this one from Maybe problem is with this? If u want i can send you all xml files. |
Not working for me either on Oxygen OS 12, Android 15. |
I don't understand why but the module isn't working for me .
![Screenshot_20241128-203216_Termux](https://private-user-images.githubusercontent.com/109387456/390831675-b9225d7f-352f-49eb-983f-6d370a4f93a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Mjk3ODksIm5iZiI6MTczOTQyOTQ4OSwicGF0aCI6Ii8xMDkzODc0NTYvMzkwODMxNjc1LWI5MjI1ZDdmLTM1MmYtNDllYi05ODNmLTZkMzcwYTRmOTNhNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QwNjUxMjlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00MWNjOWEyYzZkMmZiYmFkY2EyMjQ1ZjE3OWU3ZWJhZWMzNDNlMDk5YjI2OGY2NWIyYjc1NTExODFhMjBjNDU1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.G6T1SQey0ALPgv3-0zy9lvIfyIzATZhqi5MBOejBE_c)
Is there any way to troubleshoot?
I'm using KernelSU v11991 , Android 15 ( November Security Patch ) AOSP
The text was updated successfully, but these errors were encountered: