Google Confirms “Android Lollipop Day” for November 3rd

A little over a week ago, Google announced the latest iteration of … more

Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more

Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more
Post Reply

[MOD] Headset icon when plugged in (Z1C)

OP andreaspe

28th September 2014, 09:19 PM   |  #1  
andreaspe's Avatar
OP Senior Member
Thanks Meter: 10
 
160 posts
Join Date:Joined: Apr 2007
More
Being inspired by this thread on xda : http://forum.xda-developers.com/xper...1-z1s-t2846858
by TheHunk_2 I followed the instructions and replaced my original UnsupportedHeadsetNotifier.apk with the one supplied in the thread but still the icon when plugged in was to big for my liking. I tried to replace the icons inside the actual apk, but the icon was not getting smaller. So I replaced the icons inside the framework.res and I finally got it smaller and in dimensions that fit the other icons in the status bar. I end up with two different versions / sizes of the icons , 36 x 36 and 31 x 29. I personally like the 31 x 29 better.

I attach a zip folder containing :
1) the modded UnsupportedHeadsetNotifier.apk from TheHunk_2's post
2) my modded framework.res with 36 x 36 icon
3) my modded framework.res with 31 x 29 icon


Prerequisites :
Root
Firmware 4.4.4 (.108)

Instructions :
1) Push the modded UnsopportedHeadsetNotifier.apk to system/app with the correct permissions
2) Push the framework.res of your choice to system/framework with the correct permissions
3) Reboot

Credits : TheHunk_2

Download : https://drive.google.com/file/d/0B4f...it?usp=sharing
Last edited by andreaspe; 4th October 2014 at 11:42 PM.
The Following User Says Thank You to andreaspe For This Useful Post: [ View ]
1st October 2014, 09:16 PM   |  #2  
andreaspe's Avatar
OP Senior Member
Thanks Meter: 10
 
160 posts
Join Date:Joined: Apr 2007
More
Strange! 157 views and no comment ? Does it work for anyone ?
5th October 2014, 07:56 AM   |  #3  
xalaros10's Avatar
Junior Member
Flag Athens
Thanks Meter: 0
 
13 posts
Join Date:Joined: Oct 2007
Yes, it works for me my friend in root stock ROM 14.4.A.0.108 Sony Xperia Z1 Compact. Also appreciate your help about my mistake not given correct permissions to framework-res.apk and forced phone reloop always.
6th October 2014, 02:33 PM   |  #4  
s0nylover's Avatar
Junior Member
Flag Kaohsiung
Thanks Meter: 0
 
8 posts
Join Date:Joined: May 2014
More
Just push? No flash?
Last time I push systemui.apk then I got fc.
6th October 2014, 03:19 PM   |  #5  
andreaspe's Avatar
OP Senior Member
Thanks Meter: 10
 
160 posts
Join Date:Joined: Apr 2007
More
Quote:
Originally Posted by s0nylover

Just push? No flash?
Last time I push systemui.apk then I got fc.

Push instructions : copy the framework.res from your sd storage or whatever you use to the root/system directory at first. There change the permissions. Then move the file to root/system/framework, and ask yes to overwrite the file, then reboot. The same applies for the unsupportedheadsetnotifier.apk except you move it to root/system/apps.
It has always worked for me like this
6th October 2014, 04:09 PM   |  #6  
s0nylover's Avatar
Junior Member
Flag Kaohsiung
Thanks Meter: 0
 
8 posts
Join Date:Joined: May 2014
More
Thanks
I got it!!
I was wrong before. I replaced the apk then changed permissions.
That's a big mistake😱
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia Z1 Compact Themes and Apps by ThreadRank