Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,351 Members 41,165 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How to fix SlimKat Signal Bar bugs ! [OPTIMA-TEAM]

Tip us?
 
F4uzan
Old
(Last edited by F4uzan; 2nd April 2014 at 09:45 AM.)
#1  
F4uzan's Avatar
Recognized Contributor - OP
Thanks Meter 1376
Posts: 2,577
Join Date: Jul 2012
Location: Bandung, Indonesia
Default [GUIDE] How to fix SlimKat Signal Bar bugs ! [OPTIMA-TEAM]

Hi all !

So, for you all, the user of SlimKat for L7 might encounter these signal bar bugs.
The bug is mostly (and most) noticeable bug in this ROM.


By following this guide, you agree to my conditions :

a. I won't respond to 'how to do it ?' and 'can you do it ?' or 'will you do it for me ?' question.
b. I also won't respond to 'how can I decompile .jars ?' and 'what is this ?' question, these questions can easily answered by searching Google.
c. No, I won't make a flashable zips for you, you've to do this alone. Because I want you to understand, 'what does happen if I do this ?'. So I want you to do this all by yourself.
d. Only use question for last resort (means, even by searching Google, you don't find answer to your problem)


After you read those conditions, here's the guide.

1. Decompile SlimKat framework.jar
2. Decompile other ROM (with working signal bar) framework.jar
3. Open smali/android/telephony/
4. Copy all file named CellSignalStrength and SignalStrenght from other ROM framework.jar. See CALIBAN's post for needed file to copy + screenshot.
5. Copy all of those file to SlimKat framework.jar (in the same directory, smali/android/telephony)
6. Compile SlimKat framework.jar
7. Copy modified classes.dex to original unmodified SlimKat framework.jar
8. Push the modified framework.jar to /system/framework (or add it to SlimKat zipfile)
9. Reboot (if you push it) or reflash SlimKAT, then wipe dalvik cache & cache (if you add it to SlimKat zipfile)

Thanks to -CALIBAN666- for fixing the guide !

Credits for this guide :

- SlimROMs Team : Providing a great ROM for us to use
- CM Team : No need to explain, they're a great developers. Without them, there won't be a proper working KitKat for our device.
- Optima Team : By always supporting me in every conditions
- -CALIBAN666- : Trying this tutorial, and becoming my best friend in XDA
- Google : My teacher
- Stackoverflow Members : Providing workaround for every eror
- brut.all & iBotPeaches : APKTool, the greatest tool to reverse-engineering in Android

"Neither thanks meter or how much post you have determine who you are. Contribution determines it"
The Following User Says Thank You to F4uzan For This Useful Post: [ Click to Expand ]
 
-CALIBAN666-
Old
#2  
-CALIBAN666-'s Avatar
Recognized Contributor
Thanks Meter 3223
Posts: 5,461
Join Date: Feb 2012
Location: Leverkusen
bro its for l5 too,by the way,to make it work i must the 2 signalstrenght smalis at the bottom from telephony changing too,otherwise i have become issues with dialer and mms app.
i have attached two pics with needed smalis,created with windows screenshot.
Attached Thumbnails
Click image for larger version

Name:	sma.PNG
Views:	57
Size:	5.1 KB
ID:	2663971   Click image for larger version

Name:	sma2.PNG
Views:	51
Size:	1.7 KB
ID:	2663972  
The Following User Says Thank You to -CALIBAN666- For This Useful Post: [ Click to Expand ]
 
F4uzan
Old
#3  
F4uzan's Avatar
Recognized Contributor - OP
Thanks Meter 1376
Posts: 2,577
Join Date: Jul 2012
Location: Bandung, Indonesia
Quote:
Originally Posted by -CALIBAN666- View Post
bro its for l5 too,by the way,to make it work i must the 2 signalstrenght smalis at the bottom from telephony changing too,otherwise i have become issues with dialer and mms app.
i have attached two pics with needed smalis,created with windows screenshot.
Thanks bro !
Will post this to first post.

"Neither thanks meter or how much post you have determine who you are. Contribution determines it"
 
-CALIBAN666-
Old
#4  
-CALIBAN666-'s Avatar
Recognized Contributor
Thanks Meter 3223
Posts: 5,461
Join Date: Feb 2012
Location: Leverkusen
hey bro,i dont know you remember,because today i was looking in old android files on my pc and i found one of the first tweak i used which has realy worked for me,it was activo speeder,so we know us minimum 1/5 years on xda,lol.another question is,you are from the flowercity called bandung,so you know xda member evanlocked?he came from same city.
 
F4uzan
Old
#5  
F4uzan's Avatar
Recognized Contributor - OP
Thanks Meter 1376
Posts: 2,577
Join Date: Jul 2012
Location: Bandung, Indonesia
Quote:
Originally Posted by -CALIBAN666- View Post
hey bro,i dont know you remember,because today i was looking in old android files on my pc and i found one of the first tweak i used which has realy worked for me,it was activo speeder,so we know us minimum 1/5 years on xda,lol.another question is,you are from the flowercity called bandung,so you know xda member evanlocked?he came from same city.
Activo Speeder... Yep, that was my first tweak ever made for XDA
evanlocked... I think I've seen him somewhere in XDA.

Sent from my Z4D-25232 using XDA Premium 4 mobile app

"Neither thanks meter or how much post you have determine who you are. Contribution determines it"
The Following User Says Thank You to F4uzan For This Useful Post: [ Click to Expand ]
 
arifqur
Old
#6  
Senior Member
Thanks Meter 293
Posts: 1,728
Join Date: Nov 2005
Thanks man for the guide. I used this guide on my LG Optimus G Pro.
However for me, copying the classes.dex file to the framework.jar did not make any changes. But flashing the modified framework.jar in the build>apk folder did the trick.
Thanks a million.
Attached Thumbnails
Click image for larger version

Name:	Before.jpg
Views:	42
Size:	139.2 KB
ID:	2685314   Click image for larger version

Name:	After.jpg
Views:	36
Size:	138.4 KB
ID:	2685315  
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Mod Lets You Have Stereo Speakers on Your Sony Xperia Z1 (Sort Of)

The stereo speakers onthe Sony Xperia Z2areprobably a relatively large … more

Give Your Screen Some Color with HexaTime Live Wallpaper

We don’t often cover very many live wallpapers here on the XDA Portal. You may … more

Android Wear App Review: Command Google Now with Commandr – XDA Developer TV

OK Google. Make Me a sandwich. How many times have you … more

Play Your Hits and Learn the Lyrics with NextGen Music Player

There are plenty of music players for Android available in Play Store. They … more