Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
iowabowtech
Old
#11  
Senior Member
Thanks Meter 17
Posts: 189
Join Date: May 2010
Nicely done, thanks man.
The Following User Says Thank You to iowabowtech For This Useful Post: [ Click to Expand ]
 
LifTeD_JK
Old
#12  
LifTeD_JK's Avatar
Senior Member
Thanks Meter 11
Posts: 225
Join Date: Aug 2010
Location: Arizona
Quote:
Originally Posted by jermaine151 View Post
It's one edit in the bytecode of SystemUI.apk.

change line 1064 in:
smali\com\android\systemui\statusbar\policy\HtcCdm aStatusBar.smali

from:
Code:
   invoke-virtual {v0, v6, v4}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
to

Code:
   invoke-virtual {v0, v6, v3}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
RMark figured it out about the same time, in a different way, and posted his code edit in the themes and apps section.

Hey jermaine, not to be a pain but I tried editing the code and I list my status bar. I unpacked it using apktool navigated to the location above, made the edit and repacked the apk. I placed it back in my rom and reflashed. Any thoughts?

Sorry I'm still learning and would like to make the change myself.


Sent from my ADR6300 using XDA App
SGS3 - d2att
Galaxy Nexus - Toro
Nexus 7 - Grouper
All Skanky Kanged w/ Jelly Bro CM10.1
 
jermaine151
Old
#13  
jermaine151's Avatar
Senior Member - OP
Thanks Meter 2264
Posts: 3,599
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by #1 DINC FAN View Post
Hey jermaine, not to be a pain but I tried editing the code and I list my status bar. I unpacked it using apktool navigated to the location above, made the edit and repacked the apk. I placed it back in my rom and reflashed. Any thoughts?

Sorry I'm still learning and would like to make the change myself.


Sent from my ADR6300 using XDA App
What rom and what happened when you tried your modified apk?
You can find me @jdlogan151
 
jaykresge
Old
#14  
jaykresge's Avatar
Senior Member
Thanks Meter 349
Posts: 554
Join Date: Nov 2010
Quote:
Originally Posted by #1 DINC FAN View Post
Hey jermaine, not to be a pain but I tried editing the code and I list my status bar. I unpacked it using apktool navigated to the location above, made the edit and repacked the apk. I placed it back in my rom and reflashed. Any thoughts?

Sorry I'm still learning and would like to make the change myself.


Sent from my ADR6300 using XDA App
In my experience, placing it in the ROM won't get the desired result. You'd have to flash the ROM, boot up, and then flash the separate fix. Jermaine should be able to give more info, but this is the experience I'm having.
 
LifTeD_JK
Old
#15  
LifTeD_JK's Avatar
Senior Member
Thanks Meter 11
Posts: 225
Join Date: Aug 2010
Location: Arizona
I lost my notification bar. It's the gb leak that came out a couple weeks ago. I cooked it up with the kitchen. Fully Deodexed added superuser and busy box and debloated it. I ran it for a week as my daily with no issues until I made this change and reflashed this weekend.

Sent from my ADR6300 using XDA App
SGS3 - d2att
Galaxy Nexus - Toro
Nexus 7 - Grouper
All Skanky Kanged w/ Jelly Bro CM10.1
 
jermaine151
Old
#16  
jermaine151's Avatar
Senior Member - OP
Thanks Meter 2264
Posts: 3,599
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by #1 DINC FAN View Post
I lost my notification bar. It's the gb leak that came out a couple weeks ago. I cooked it up with the kitchen. Fully Deodexed added superuser and busy box and debloated it. I ran it for a week as my daily with no issues until I made this change and reflashed this weekend.

Sent from my ADR6300 using XDA App
I'm guessing that you just took the apk from your dist folder and flashed it. You can't do that. Open the one in the dist folder with 7zip, Open the original with 7zip. Drag the META-INF folder and AndroidManifest file from the original into your newly built apk. Then flash that and wipe dalvik or to save time do this using adb:

Code:
adb shell rm /data/dalvik-cache/system@app@SystemUI.apk@classes.dex
It may say it doesn't exist since you flashed an unsigned one. Let me know.
You can find me @jdlogan151
 
jermaine151
Old
#17  
jermaine151's Avatar
Senior Member - OP
Thanks Meter 2264
Posts: 3,599
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by jaykresge View Post
In my experience, placing it in the ROM won't get the desired result. You'd have to flash the ROM, boot up, and then flash the separate fix. Jermaine should be able to give more info, but this is the experience I'm having.
I do it all the time. If you do the steps I posted above, it'll work like a charm and save a lot of time from flashing over and over.
You can find me @jdlogan151
 
LifTeD_JK
Old
#18  
LifTeD_JK's Avatar
Senior Member
Thanks Meter 11
Posts: 225
Join Date: Aug 2010
Location: Arizona
Quote:
Originally Posted by jermaine151 View Post
I do it all the time. If you do the steps I posted above, it'll work like a charm and save a lot of time from flashing over and over.
Awesome thanks man. Appreciate you sharing your knowledge. I wondered about replacing parts of the file instead of the whole thing. I'll give it another shot.




Sent from my ADR6300 using XDA App
SGS3 - d2att
Galaxy Nexus - Toro
Nexus 7 - Grouper
All Skanky Kanged w/ Jelly Bro CM10.1
 
jermaine151
Old
#19  
jermaine151's Avatar
Senior Member - OP
Thanks Meter 2264
Posts: 3,599
Join Date: Jun 2010

 
DONATE TO ME
Updated the OP with a new Nag message removal zip that works much better and a GPS icon removal zip. These both work with the latest OTA and roms based off of it.

Enjoy!
You can find me @jdlogan151
 
RMarkwald
Old
#20  
RMarkwald's Avatar
Senior Member
Thanks Meter 190
Posts: 1,307
Join Date: Aug 2010
Location: ...the Sac, WI

 
DONATE TO ME
You found how to remove the location icon in the latest OTA last night huh? Nice!

Sent from my ADR6300 using xda premium
Too funny...

Find me on App.net: App.net
Follow me on Twitter: https://twitter.com/RyanMarkwald

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...