Patched services.jar (disabled signature verification, superuser mod, etc)

Beetle84

Recognized Contributor
Oct 24, 2013
2,264
1,258
183
Hervey Bay
Thanks for your answer.

So this superusermod doesn't work on Pie. I tried to patch it that way too but it doesn't work, you can't resign any system app.

Envoyé de mon H8266 en utilisant Tapatalk
So we will have to modify lines in PackageManagerServiceUtils.smali and/or
packagemanagerservice.smali? :good:
 

niaboc79

Recognized Developer / Themer
Sep 8, 2007
12,437
68,155
263
Enghien
www.nirvana-records.be
So we will have to modify lines in PackageManagerServiceUtils.smali and/or
packagemanagerservice.smali? :good:
A new way must be found, android Pie introduced signature v3 and key rotation, even if the package signature comparaison is blocked the package manager is still able to see that the apk has changed and the signatures keys are different. So he doesn't grant android manifest permissions.

I am working on this since nearly two months and I came to conclusion that we must keep signature comparaison working. What we must do is allowing the package manager to accept various signatures.

Envoyé de mon H8266 en utilisant Tapatalk
 
  • Like
Reactions: Beetle84

niaboc79

Recognized Developer / Themer
Sep 8, 2007
12,437
68,155
263
Enghien
www.nirvana-records.be
Stupid question :
for what is this patch?
I haven't found the reason for that...
Some main system apps use platform signature, this is the key used by Sony.

If you want to use applications signed with a different key (Sony or others) you must patch system, without that the app will be rejected by the system because all these apps have to share same signature.

Envoyé de mon H8266 en utilisant Tapatalk
 
  • Like
Reactions: Mad07

Beetle84

Recognized Contributor
Oct 24, 2013
2,264
1,258
183
Hervey Bay
Some main system apps use platform signature, this is the key used by Sony.

If you want to use applications signed with a different key (Sony or others) you must patch system, without that the app will be rejected by the system because all these apps have to share same signature.

Envoyé de mon H8266 en utilisant Tapatalk
You might want to download and inspect the files from here. https://mega.nz/#F!MNYGhKhR!OtCS6j-YBXaxcDI1sa7FlQ

The Chinese devs have font selector working on Pie. The screenshots are my own.
 

Attachments

Last edited:
  • Like
Reactions: niaboc79 and Mad07

Beetle84

Recognized Contributor
Oct 24, 2013
2,264
1,258
183
Hervey Bay
Patched services.jar for STOCK .24 firmware.

NOT FOR EXISTENZ AT ALL.
DO NOT INSTALL ON ANY EXISTENZ.

EVER.

Copy to system/framework and give r-w-r-r or 0644 permissions and reboot.
Font picker working fine, WITH a permissive kernel or the permissive magisk module added to stock/custom kernel.
Screens of working font picker from Oreo by @Pandemic pictured below. Works perfect on STOCK .24 Pie.
 

Attachments

  • Like
Reactions: Pandemic

Beetle84

Recognized Contributor
Oct 24, 2013
2,264
1,258
183
Hervey Bay
When I try to patch android on my poco phone f1 latest mui global stable with Franco kernel....help me to solve this
You are using lucky patcher, deodex your services.jar and use smali patcher.

Could someone please make the patched service.jar for the 107 fw ?
I would be very thankful!
Can you supply a deodexed services.jar from .107 fw?

Please make it for xz1 too.
Can you supply a deodexed services.jar from your firmware?