[MOD][XXKL1/XXKI4/XXKI3] Services.jar updated to allow stock SMS/MMS work with BLN

Status
Not open for further replies.

wanam

Recognized Contributor / Developer
Jan 26, 2011
6,193
29,973
263
Toulouse
wanam.net
All thanks goes to Rawi666 & Montymintypie.

XXKL1 :
Deodexed services

KI3 :

  1. Odexed services made by Rawi666
  2. Deodexed services
KI4 :

  1. Deodexed services
XWKJ3 :

  1. Deodexed services
Thanks to Sicopat for the change codes.
Code:
diff -urN a/smali/com/android/server/NotificationManagerService.smali b/smali/com/android/server/NotificationManagerService.smali
--- a/smali/com/android/server/NotificationManagerService.smali
+++ b/smali/com/android/server/NotificationManagerService.smali
@@ -2064,7 +2064,7 @@
     :goto_0
     iget-boolean v4, p0, Lcom/android/server/NotificationManagerService;->mScreenOn:Z
 
-    if-nez v4, :cond_0
+    [B]#if-nez v4, :cond_0[/B]
 
     iget-object v4, p0, Lcom/android/server/NotificationManagerService;->mLedNotification:Lcom/android/server/NotificationManagerService$NotificationRecord;
 
@@ -2114,7 +2114,7 @@
 
     iget-boolean v4, p0, Lcom/android/server/NotificationManagerService;->mScreenOn:Z
 
-    if-nez v4, :cond_3
+    [B]#if-nez v4, :cond_3[/B]
 
     .line 1147
     iput-boolean v7, p0, Lcom/android/server/NotificationManagerService;->mPendingPulseNotification:Z
 

Attachments

Last edited:

haroonazeem638

Senior Member
Oct 22, 2009
84
3
0
I have Canada's version which is KG2. Will this work with my firmware?
If not, can you please provide instructions on how to make it work on KG2 firmware?

I do not intend to flash a rom and trying my best not to flash a kernel (unless there is no other choice). Rooted already though
THanks
 

wanam

Recognized Contributor / Developer
Jan 26, 2011
6,193
29,973
263
Toulouse
wanam.net
I have Canada's version which is KG2. Will this work with my firmware?
If not, can you please provide instructions on how to make it work on KG2 firmware?

I do not intend to flash a rom and trying my best not to flash a kernel (unless there is no other choice). Rooted already though
THanks
No, it's for Rom cookers.

Sent from my GT-I9100 using Tapatalk
 

r8zer

Senior Member
Jun 18, 2008
585
50
0
London
Hi, quick question

I have replaced the services.jar and logprovider.apk and my system boots fine but CWM and BLN and some other apps wont open and messaging FC's can anyone help me.

I added these to my rom from a rom kitchen xxki4 is what im running the only other changes i made to the rom were the themeing of the systemui and framework.

im on ubuntu 11.10 if this also helps.

thanks everyone.
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
I have Canada's version which is KG2. Will this work with my firmware?
If not, can you please provide instructions on how to make it work on KG2 firmware?

I do not intend to flash a rom and trying my best not to flash a kernel (unless there is no other choice). Rooted already though
THanks
It's for ROM cooks - and if you don't have a custom kernel, you don't have BLN anyway.

Also, Canadian GSII users on Rogers should go to the I727 forums, I727 discussion does not belong here. Sorry to break it to you, but you don't actually have a GSII, it's just random niche hardware that Samsung slapped the SII name onto. There is nothing about the I727 other than its name that actually makes it a Galaxy S II.
 

DeathMetalMods

Senior Member
Jul 16, 2011
151
32
0
www.DeathMetalMods.de
Hey there

merry Christmas and Thanks for your efforts.

I tried to flash the zip via cwm from siyah kernel 2.66 and it always says "installation aborted". i allready re-flashed the kernel and re-downloaded the zip...

what am i doing wrong?

EDIT: I got a tipp from a user via pm and simply exchange the services.jar with the one from the zip, but nothings changed ... anything else I missed?
 
Last edited:

wanam

Recognized Contributor / Developer
Jan 26, 2011
6,193
29,973
263
Toulouse
wanam.net
Hey there

merry Christmas and Thanks for your efforts.

I tried to flash the zip via cwm from siyah kernel 2.66 and it always says "installation aborted". i allready re-flashed the kernel and re-downloaded the zip...

what am i doing wrong?

EDIT: I got a tipp from a user via pm and simply exchange the services.jar with the one from the zip, but nothings changed ... anything else I missed?
Did your rom & kernel has BLN support?
 

DeathMetalMods

Senior Member
Jul 16, 2011
151
32
0
www.DeathMetalMods.de
Yes! Both. I solved the problem by flashing some other guys modded service.jar from this forum. I can send you the link, if you want.

Dont know what I did wrong, but works fine now.

Anyway ... I noticed that my framework folder contained both a simple service.jar AND a "service-odex.jar" file. Can that have anything to do with my unabilitie to enable BLN for stock sms?
 

wanam

Recognized Contributor / Developer
Jan 26, 2011
6,193
29,973
263
Toulouse
wanam.net
Yes! Both. I solved the problem by flashing some other guys modded service.jar from this forum. I can send you the link, if you want.

Dont know what I did wrong, but works fine now.

Anyway ... I noticed that my framework folder contained both a simple service.jar AND a "service-odex.jar" file. Can that have anything to do with my unabilitie to enable BLN for stock sms?
Of course, you forgot it was for deodexed rom :D.
 
Status
Not open for further replies.