[Q] Adding code to Services.jar for SMS BLN

Octane70

Senior Member
Dec 26, 2010
734
388
0
Okanagan
Hello,

I was wandering if somebody could tell me where this code: http://forum.xda-developers.com/showpost.php?p=16485374&postcount=15 is added in the NotificationManagerService.smali. I have succesfully opened the class.dex and have been looking through the file as well as previously patched ones and cannot fine this line. A point in the right direction would be greatly appreciated.

Thansk
 
Last edited:

devilsking

Inactive Recognized Themer
Sep 14, 2010
1,087
1,008
0
Hanoi
www.themythace.com
Hello,

I was wandering if somebody could tell me where this code: http://forum.xda-developers.com/showpost.php?p=16485374&postcount=15 is added in the NotificationManagerService.smali. I have succesfully opened the class.dex and have been looking through the file as well as previously patched ones and cannot fine this line. A point in the right direction would be greatly appreciated.

Thansk
It's simple :)
- Find "if-nez v4, :cond_0" as in the source then add # symbols before that line and you got this: "#if-nez v4, :cond_0"
- Do same thing with "if-nez v4, :cond_3"
- Recompile
That's all :)
 
  • Like
Reactions: Octane70