[L7 II][ROM][HELP]How to change icon on Notification bar? - LG Optimus L3 II, L5 II, L7 II, L9 II

How can I change the icons in the notification bar stock with those of G3??

AssoDiPicche said:
How can I change the icons in the notification bar stock with those of G3??
Click to expand...
Click to collapse
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.

Thank you!!
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
Thank you very much , I'll try in the evening !

maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
Please can you guide me how to decompile and recompile LGSystemUI.apk

yashgumaste said:
Please can you guide me how to decompile and recompile LGSystemUI.apk
Click to expand...
Click to collapse
OK,
First, read this: http://forum.xda-developers.com/showthread.php?t=2251719
When you install al nessesery applications, ask if/when you stuck.
Or, if you ready to learn, there is my favourite app Virtuous Ten Studio, http://forum.xda-developers.com/showthread.php?t=1619473,
or http://virtuous-ten-studio.com/

maxx_hr said:
OK,
First, read this: http://forum.xda-developers.com/showthread.php?t=2251719
When you install al nessesery applications, ask if/when you stuck.
Or, if you ready to learn, there is my favourite app Virtuous Ten Studio, http://forum.xda-developers.com/showthread.php?t=1619473,
or http://virtuous-ten-studio.com/
Click to expand...
Click to collapse
I downloaded Virtuous ten studio and trying to decompile android.policy.jar, but cant find how to do it.
I opened that jar file through new project but cant figure out what to do next.

yashgumaste said:
I downloaded Virtuous ten studio and trying to decompile android.policy.jar, but cant find how to do it.
I opened that jar file through new project but cant figure out what to do next.
Click to expand...
Click to collapse
Didn't you ask: Please can you guide me how to decompile and recompile LGSystemUI.apk.
So, lets start with that... it is (infinitely) simpler than handling with android.policy.jar.
For beginning, please read and install from here:http://forum.xda-developers.com/showthread.php?t=2251719
All of this you need if you want to use VTS.
That is good base for start and understand this process (and works with kitkat).
And for virtuos ten studio, first you MUST read tutorials at this page: http://virtuous-ten-studio.com/, but if you don't understand base of whole process, VTS is useless.

maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
I think we can decompile and compile apk via any root browser (Extract to decomplie and zip to compile).
Do you know a link where I can get notification bar icons from G3.
Thank you

yashgumaste said:
I think we can decompile and compile apk via any root browser (Extract to decomplie and zip to compile).
Do you know a link where I can get notification bar icons from G3.
Thank you
Click to expand...
Click to collapse
I dont know where you take only icons, you must take it by yourself from LGSystemUI, or framework-res from original G3 rom.
Try to extract from here: https://app.box.com/s/m0tvrwabte4x6lyc2la1, if they look like in attached pic.
Or try to search or ask someone on G3 forum.

Related

[Q] notification pulldown background

First, sorry for my poor english and thanks to everyone can help me. I really really want to change notification pulldown background to a custom PNG image. So who can show me how to do?
I'm using JJ Hybrid ROm for arcS.
THanks
Oohhlala said:
First, sorry for my poor english and thanks to everyone can help me. I really really want to change notification pulldown background to a custom PNG image. So who can show me how to do?
I'm using JJ Hybrid ROm for arcS.
THanks
Click to expand...
Click to collapse
wrong section :/
http://forum.xda-developers.com/showthread.php?t=1374394
@pandamic : sorry mate, i'm newbie
XperienceD said:
http://forum.xda-developers.com/showthread.php?t=1374394
Click to expand...
Click to collapse
thanks for link, i follow your guide to de-compile SystemUI.apk for editing, i used the guide from http://forum.xda-developers.com/showthread.php?t=1803813 to edit my systemui and when i move new systemui.apk to my phone, i lost my notification . I think i didn't understand exactly these sentences in you guide "Before using the new apk you need to extract the resources.arsc, then simply put it back in the new apk overwriting the original resources.arsc.
In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method..."
The resources.arsc file i have to put in the new apk is the one in the decompiled apk folder ?
Sorry for my poor english. THanks
Oohhlala said:
I think i didn't understand exactly these sentences in you guide "Before using the new apk you need to extract the resources.arsc, then simply put it back in the new apk overwriting the original resources.arsc.
In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method..."
The resources.arsc file i have to put in the new apk is the one in the decompiled apk folder ?
Sorry for my poor english. THanks
Click to expand...
Click to collapse
No, it's the one from the newly built apk, simply extract it then add it straight back.
XperienceD said:
No, it's the one from the newly built apk, simply extract it then add it straight back.
Click to expand...
Click to collapse
i think i did exactly to compile the apk because i didn't have got bootloop. But i didn't have good result of " dropdown background " editing. I was still fail, lost my notification bar again. It made me a headache three days
I dont know i was wrong in which step to change " dropdown background " into picture
btw when i used Theming tool do decompile Settings.apk, it was fail

[Q]Change Color Clock And Framework-res.apk

Hello again.
I change my Status Bar with UOT - now it is black but in right top i have clock in Black so i don't see this :< In what file I change this?
And i Decompile Framework-res.apk in apk Multi Tools and edit language but if i Compile (with and witout sing) My Phone has bootloop. how can I fix it?:crying:
cheqolada said:
Hello again.
I change my Status Bar with UOT - now it is black but in right top i have clock in Black so i don't see this :< In what file I change this?
And i Decompile Framework-res.apk in apk Multi Tools and edit language but if i Compile (with and witout sing) My Phone has bootloop. how can I fix it?:crying:
Click to expand...
Click to collapse
iirc clock color is in services.jar. you'll need to baksmali it, edit the relevant file, and compile it again (smali).
I believe you need to resign the framework-res.apk again once you have compiled it.
Sent from my Galaxy Nexus
framework cannot signed.... aftr compilation replace. res n resources files with edited files.... don't touch othr files....
Sent from my A60 using xda app-developers app
cheqolada said:
Hello again.
I change my Status Bar with UOT - now it is black but in right top i have clock in Black so i don't see this :< In what file I change this?
Click to expand...
Click to collapse
It depends on what version of Android you're on. If you're on Gingerbread or above, decompile SystemUI.apk and look at res/layout/status_bar.xml.
If your clock has its own individual line of code, you can add this parameter:
Code:
android:TextColor="#00ffffff"
This will make the clock a pure white colour.
res/layout/status_bar.xml i have in framework-res.apk (Froto... >.<)
Before Decompile framework has 6 MB , After Decompile, Edit It have 4 MB - Why?
framework cannot signed.... aftr compilation replace. res n resources files with edited files.... don't touch othr files....
Click to expand...
Click to collapse
Well... If I Open Framework in 7 zip (as Archive - it Works) folders with language are not visible. What now?
cheqolada said:
res/layout/status_bar.xml i have in framework-res.apk (Froto... >.<)
Before Decompile framework has 6 MB , After Decompile, Edit It have 4 MB - Why?
Well... If I Open Framework in 7 zip (as Archive - it Works) folders with language are not visible. What now?
Click to expand...
Click to collapse
Check out this thread here: http://forum.xda-developers.com/showthread.php?t=849223.
It's a bit old and you might have to tweak some of the instructions for your phone a little, but it'll point you in the right direction.
Any problems, let me know.
cheqolada said:
res/layout/status_bar.xml i have in framework-res.apk (Froto... >.<)
Before Decompile framework has 6 MB , After Decompile, Edit It have 4 MB - Why?
Well... If I Open Framework in 7 zip (as Archive - it Works) folders with language are not visible. What now?
Click to expand...
Click to collapse
It gets compressed when you re-compile it. You should take out the resources.arsc, rename the apk to framework-res.zip, then add the resources.arsc with no compression (store mode) - rename it back to framework-res.apk..
Sent from my phone's mind
alteredlikeness said:
It gets compressed when you re-compile it. You should take out the resources.arsc, rename the apk to framework-res.zip, then add the resources.arsc with no compression (store mode) - rename it back to framework-res.apk..
Sent from my phone's mind
Click to expand...
Click to collapse
If you're using 7zip, you don't need to rename the apk. Just extract and add. I know it only saves a few seconds but every little bit counts!
Thank's - Tomorow i send What's i Do.
Well...
Check out this thread here: http://forum.xda-developers.com/showthread.php?t=849223.
Click to expand...
Click to collapse
This don't work. After Boot animation booting is stop.
cheqolada said:
Well...
This don't work. After Boot animation booting is stop.
Click to expand...
Click to collapse
What version of android are u on?
Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
Android 2.2.2 from this rom
http://forum.xda-developers.com/showthread.php?t=1474698
cheqolada said:
Android 2.2.2 from this rom
http://forum.xda-developers.com/showthread.php?t=1474698
Click to expand...
Click to collapse
Do u have an ORIGINAL of the framework .apk? One that hasn't been modified or unzipped?
Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
Yes - ORIGINAL is in this Rom - I wanted to Add to this rom polish language but bootloop ...
cheqolada said:
Yes - ORIGINAL is in this Rom - I wanted to Add to this rom polish language but bootloop ...
Click to expand...
Click to collapse
OK. Out of the framework .apk THAT YOU UNZIPPED, take the resources file, and the res folder (the whole folder; in which u made the changes) and "inject" (put them inside of) them into the ORIGINAL/UNZIPPED .apk. open the original .apk, drag the modified res folder and the resourses file and drop them into the original apk. U should b prompted as to whether u want to replace the existing files, say yes. Otherwise it might just replace them without asking for confirmation. Make sure that the files were properly transfered. Now take that UNZIPPED .apk that u just put those files in, and place it on the root of your SD card.
Use a file explorer to navigate to the apk on ur SD card, and put that in place of the one that's on ur phone. Make sure u give it the permissions that it needs.
Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
---------- Post added at 03:27 PM ---------- Previous post was at 03:21 PM ----------
I don't know if that will do it for sure or not. I have to use that way when I'm theming 4.1.1
I don't know how well it'll translate back to froyo, but the method SHOULD work...theoretically. good luck :thumbup:
Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
Now take that UNZIPPED .apk that u just put those files in, and place it on the root of your SD card.
Use a file explorer to navigate to the apk on ur SD card, and put that in place of the one that's on ur phone. Make sure u give it the permissions that it needs.
Click to expand...
Click to collapse
I add this In My Rom Instalation... maybe problem is here?
cheqolada said:
I add this In My Rom Instalation... maybe problem is here?
Click to expand...
Click to collapse
What?
Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
---------- Post added at 07:03 PM ---------- Previous post was at 06:55 PM ----------
http://forum.xda-developers.com/showthread.php?t=1814441
That's the thread I use for de/compile of apks. Should work for any apk, and the way its done, it SHOULD work for any version JB and below (I would think).
and as for changing your clock color, that would have to do with de/compile of of framework-res.apk.
Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
A little question here. I'm on 4.0.4 rooted and with unlocked boot.
I want to remove the “AM/PM” in the clock area when is at 12hrs format.
I tried modifying a file in SystemUI.apk\smali\com\android\systemui\statusbar\policy called “Clock.smali”.
The line exactly said “.local v5, amPmStyle: I”, I deleted the value and flashed it back to my device and doesn't worked, it shows AM/PM again.
Maybe I'm at the wrong .smali file? Can you give me a hand? I know if I use 24hrs format it wouldn't show AM/PM, but I'm from Venezuela, here we use 12hrs format.
Sent from my LT18i using xda premium
Braayhaan said:
A little question here. I'm on 4.0.4 rooted and with unlocked boot.
I want to remove the “AM/PM” in the clock area when is at 12hrs format.
I tried modifying a file in SystemUI.apk\smali\com\android\systemui\statusbar\policy called “Clock.smali”.
The line exactly said “.local v5, amPmStyle: I”, I deleted the value and flashed it back to my device and doesn't worked, it shows AM/PM again.
Maybe I'm at the wrong .smali file? Can you give me a hand? I know if I use 24hrs format it wouldn't show AM/PM, but I'm from Venezuela, here we use 12hrs format.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
I don't know for sure, but instead of just deleting the value, try replacing the 1 with a 0....I don't know the android system in and out yet, so I'm not sure if ur even attacking the right file. But that sounds like a place I would try, but I would try it with a dif value, not just deleting it...
Bacon in my coffee, please? You don't have bacon?! Unacceptable!!

[ HELP ] Decompiling and recompiling stock ICS framework-res

Hallo, I tried a lot of apktools and aapts but I am unable to recompile framework-res Every time resources have diferent size than stock framework-res and I have no idea how to hack them. If some one allready hacked them please help here! Seems Sony using an totally new aapt tool which is not public? I tried to recompile framework-res without modifying them but every time I getting boot loop.
munjeni said:
Hallo, I tried a lot of apktools and aapts but I am unable to recompile framework-res Every time resources have diferent size than stock framework-res and I have no idea how to hack them. If some one allready hacked them please help here! Seems Sony using an totally new aapt tool which is not public? I tried to recompile framework-res without modifying them but every time I getting boot loop.
Click to expand...
Click to collapse
framework from stock???
Yes
Note: mean about modifying xml files, not drag and drop from the one to the another... ! I have resigned all apks (including framework-res) and have no boot loop but framework-res can not be recompiled and signed, only signed! Allso drag and drop not working if xml files is modified! Hope you understand what I mean?
munjeni said:
Yes
Note: mean about modifying xml files, not drag and drop from the one to the another... ! I have resigned all apks (including framework-res) and have no boot loop but framework-res can not be recompiled and signed, only signed! Allso drag and drop not working if xml files is modified! Hope you understand what I mean?
Click to expand...
Click to collapse
Have U tried to drag 'n drop AndroidManifest.xml and META-INF folder from stock to modified framework-res and overwrite everything ( of course using archive manager )??
I needed to do this in my MIUI port ( CyanogenMod10 based ) for X8, because after every recompile I needed to copy them to not get bootloop
NeveHanter said:
Have U tried to drag 'n drop AndroidManifest.xml and META-INF folder from stock to modified framework-res and overwrite everything ( of course using archive manager )??
I needed to do this in my MIUI port ( CyanogenMod10 based ) for X8, because after every recompile I needed to copy them to not get bootloop
Click to expand...
Click to collapse
No, I have success in resigning unmodified stock framework-res, so META-INF have no sense because new META-INF is signed by new key and its working! There is problem with "format" ...seems Sony have his own aapt and apktool which making totaly diferent "format" than apktool and aapt that we using. I tried many of the aapt | apktool but .arsc have totaly diferent size (allso png files is with totaly diferent size)... !
Have u used the apk manager by diamondback??
http://forum.xda-developers.com/showthread.php?t=1619473
I am working in Linux machine!
munjeni said:
I am working in Linux machine!
Click to expand...
Click to collapse
have you figured out the problem yet??
and one thing I wanted a favour........
I wanted to change the rotation fix for your MIUI to back to its original state..... decompiled the framework-res.apk from the MIUI and changed the some values in framework-res/res/values/bools.xml and then recompiled it and when I replaced it with the default one I was getting the status bar of different width from the original..... it was almost double..... I also tried by just replacing some images just for test and the same thing happened........
Can you tell me whats the problem is????
Hey bro,
Even I was stuck with this issue for a while I think it was Spaun_Studio who found out how to fix this issue Its basically to do with apktool not bundling the required nxt drawables as needed Anyway, Here's the fix :
1) After decompiling, go to apktool.iml and delete the following lines :
usesFramework:
ids:
- 2
Click to expand...
Click to collapse
2) Go to res/values and open styles.xml. There, delete all references to sonyericcson.uxp:drawable (Delete the entire line)
Then, compile and it will work
Credits to Spaun_Studio and not me for the idea
Cheers
@[email protected] said:
have you figured out the problem yet??
and one thing I wanted a favour........
I wanted to change the rotation fix for your MIUI to back to its original state..... decompiled the framework-res.apk from the MIUI and changed the some values in framework-res/res/values/bools.xml and then recompiled it and when I replaced it with the default one I was getting the status bar of different width from the original..... it was almost double..... I also tried by just replacing some images just for test and the same thing happened........
Can you tell me whats the problem is????
Click to expand...
Click to collapse
Seems you missing something!
Min3r said:
Hey bro,
Even I was stuck with this issue for a while I think it was Spaun_Studio who found out how to fix this issue Its basically to do with apktool not bundling the required nxt drawables as needed Anyway, Here's the fix :
1) After decompiling, go to apktool.iml and delete the following lines :
2) Go to res/values and open styles.xml. There, delete all references to sonyericcson.uxp:drawable (Delete the entire line)
Then, compile and it will work
Credits to Spaun_Studio and not me for the idea
Cheers
Click to expand...
Click to collapse
Thanks mate for info, I will try soon! Its looking like problem you mentioned!
munjeni said:
Thanks mate for info, I will try soon! Its looking like problem you mentioned!
Click to expand...
Click to collapse
If you can help with the steps it would be great....... IF you are free then please help........ Thanks....

[REQ] Help with edit SemcGenericUxpRes

hi, can anyone replace icons from archive to apk in archive ? http://www64.zippyshare.com/v/52683022/file.html because when I'm doing it and changing this app in system/app icons are stretched, I changed icons via WinRar because when I'm trying to de/recompile this app via apk tool and other similar applications I have errors and can't do it properly
regards
Yes... But I need the original .pngs (those are from a decompiled .apk) - you can obtain them easy just unzip that .apk using "7 zip". And the framework-res.apk from the same folder (framework) as SemcGenericUxpRes.apk you are trying to modify (because I need to install it in my "APK Multi-Tool", otherwise I can't recompile the .apk)
so here is my framework and original icons http://www16.zippyshare.com/v/11770168/file.html
XperienceD said:
Quick Tip: If all you want to do is edit or replace normal images, things like your Status Bar icons or Menu icons like those used in the main screen of Settings then decompiling IS NOT necessary, simply open the apk in a zip program then just drag and drop any replacement images in to the correct folder, for images like your actual Status Bar which may have a .9 at the end then decompiling IS required.
Note: It's important to use STORE as the compression method when replacing images in the apk.
Also Note: .9 pngs need to be edited ONLY when in the decompiled folder, if you just take a .9 png and edit it then you won't be able to see the borders that the system needs to determine how that image should be displayed. I have included links at the end of this post to help with .9 editing along with links to other various theming resources that I've come across and bookmarked.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
..
XperienceD said:
..
Click to expand...
Click to collapse
I'm noob at this, can you help me with edit these icons, please ?
Deleted
LaShto34 said:
I can help you. But I said to give me the original .png that you want to paste into SemcGenericUxpRes.apk. Those that you uploaded the first time was from a decompiled .apk, and the ones uploaded the second time (with framework-res.apk) are already included in SemcGenericUxpRes.apk. Give me those and I promise I'll give you SemcGenericUxpRes.apk in max. 10 minutes after.
Click to expand...
Click to collapse
http://www76.zippyshare.com/v/9442694/file.html
LaShto34 said:
I can help you. But I said to give me the original .png that you want to paste into SemcGenericUxpRes.apk. Those that you uploaded the first time was from a decompiled .apk, and the ones uploaded the second time (with framework-res.apk) are already included in SemcGenericUxpRes.apk. Give me those and I promise I'll give you SemcGenericUxpRes.apk in max. 10 minutes after.
Click to expand...
Click to collapse
thanks for your effort but I used tutorial from your link http://forum.xda-developers.com/showthread.php?t=2190716 and did it myself and it is working, thank you very much
godlesplay said:
http://www76.zippyshare.com/v/9442694/file.html
Click to expand...
Click to collapse
Here it is. Try it. I hope it will work. By the way I resized them a little, because they were not the same size as the ones from the original .apk.
Later...
OK. I'm very happy for you. Have a nice day. I used the same tutorial for recompiling...

Help needed with decompiling and recompiling

Dear community ,I wanted to edit my framework-res.apk and enable in it navigation bar on my Xperia S.
I did everything. Decompiled ,changed in bools.xml show navigation bar to true ,changed the dpi on dimens.xml but after I try to recompile the apk and rebuild it I get errors and the edited framework-res.apk provides me bootloops.
Can someone please do me a favour and decompile + recompile my framework-res.apk?
Change in bools.xml show navigation bar to true
Change in dimens.xml the DPI of the height=30
height_landscape=30
width=28
I will be very thankful for you! Please help me
Here is my framework-res.apk and SemcGenericUxpRes.apk
http://www51.zippyshare.com/v/42097932/file.html
davidbar93 said:
but after I try to recompile the apk and rebuild it I get errors and the edited framework-res.apk provides me bootloops.
Click to expand...
Click to collapse
Try this - http://forum.xda-developers.com/showthread.php?t=2321207
XperienceD said:
Try this - http://forum.xda-developers.com/showthread.php?t=2321207
Click to expand...
Click to collapse
"In the drawable folder of your framework-res you need to find and change a number of xmls and the easiest way to do this is with Notepad++. Download and open it first, then in the drawable folder highlight all 150 xmls prefixed with semc_, and drop them into Notepad++ (You may want to do so many at a time depending on your Computers specs). Using the search and replace feature, replace..."
I have more than 400 files and not all of them have this line:
"somc:colorizable"
davidbar93 said:
I have more than 400 files and not all of them have this line:
"somc:colorizable"
Click to expand...
Click to collapse
Change the ones that do.
XperienceD said:
Change the ones that do.
Click to expand...
Click to collapse
It is too complicated to search them
Can you please mod it for me?
davidbar93 said:
It is too complicated to search them
Click to expand...
Click to collapse
Then re-read the guide, which as it is was re-written by me and as I explain how to search for them you've either not read the guide properly or just being lazy. So read every last word, then re-read it then re-read it as you follow each step.
XperienceD said:
Then re-read the guide, which as it is was re-written by me and as I explain how to search for them you've either not read the guide properly or just being lazy. So read every last word, then re-read it then re-read it as you follow each step.
Click to expand...
Click to collapse
Thank you very much ,it worked. Appreciate it a lot :good:

Categories

Resources