[REQ] Modification of systemUI.apk - Samsung Galaxy Nexus

Hi all
Could someone please modify this apk res/layout/statusbar.xml, to delete the clock in the status bar (just a the right of the battery icon )
Thx a lot in advance !

fabulous69 said:
Hi all
Could someone please modify this apk res/layout/statusbar.xml, to delete the clock in the status bar (just a the right of the battery icon )
Thx a lot in advance !
Click to expand...
Click to collapse
What line(s) in statusbar.xml need changed?

its the one with clock, only one line has the word "clock"
thx for help !

fabulous69 said:
its the one with clock, only one line has the word "clock"
thx for help !
Click to expand...
Click to collapse
I just deleted the lines for the clock in that xml. I obviously didn't test it, so make sure you know how to recover if it doesn't work. The .zip that is attached is NOT flashable. I also put a working 4.2.x apktool in there with instructions for you to do it yourself if you want to in the future. It's pretty easy to do if you have a working apktool (I compiled this one from paulobrein's github since he edited the source to be compatible with 4.2).

Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem

fabulous69 said:
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
Click to expand...
Click to collapse
The size change might just because the zip is compressed more or less. It doesn't always mean anything is wrong. You can decompile it again and compare the contents with the original to make sure everything is there. Do you know how that mod is usually made? Is deleting the lines the correct way?
Sent from my Galaxy Nexus using Tapatalk 2

fabulous69 said:
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
Click to expand...
Click to collapse
Have tried the edit myself,with SystemUI, dont sign it, open the original and copy META-INF and androidmanifest.xml over to your new file,let me know if it worked.
Just rename to SystemUI.apk and push to system/app and reboot

Related

{REQUEST}ICS original or changed system icons(battery,vibrate..etc) for a noob

Hello all,
Because i messed up my system icons trying to change them i need new ones but i dont know where to get them. If anyone kind enough has a spare icon pack i can use them to make them ics blue or just keep them as a backup.
Thanks in advance.
badtazm
badtazm said:
Hello all,
Because i messed up my system icons trying to change them i need new ones but i dont know where to get them. If anyone kind enough has a spare icon pack i can use them to make them ics blue or just keep them as a backup.
Thanks in advance.
badtazm
Click to expand...
Click to collapse
You can get them from a stock ROM zip by deompiling the apk they came from. (SystemUI/ framework-res, etc.)
Thanks but i have tried that i just open the rom and there is nothing there it says empty. Can u guide me how to decompile it??
badtazm said:
Thanks but i have tried that i just open the rom and there is nothing there it says empty. Can u guide me how to decompile it??
Click to expand...
Click to collapse
Opening the ROM isn't the same as decompiling. If all you need are .png images, rename the .apk to .zip, open it, then navigate to /res/drawable or similar and select the icons you need and drag them to the desktop.
Thanks, i m downloadeing a new rom right now and i l tell u how its goes. I m gonna try to make some ICS blue system icons too.
Sorry guys can't open it anybody can guide me step by step or more easily jus send the files please..
Thanks
SOLVED
SOLVED!!!!

How to compile and decompile apk

Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
kishore55 said:
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
Click to expand...
Click to collapse
apk tool is ur frnd.. GOOGLE FOR INSTALLATION
do.a.search on xda about apktool
kishore55 said:
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
Click to expand...
Click to collapse
Try APK MANAGER... Its lot more easier....
emjimadhu said:
Try APK MANAGER... Its lot more easier....
Click to expand...
Click to collapse
help me.quick tutorial apk manager for me decompile&recompile then place in system/app how to apk work..thank
expample: mms.apk..i mod it then i replace it in system/app but not working
You have to sign it with the same signature keys as the phone's framework.
bumslayer said:
You have to sign it with the same signature keys as the phone's framework.
Click to expand...
Click to collapse
more explain to me plz
I think you need this
http://youtu.be/oLQynXg8noM
dude go ahead and do some search
anyways just press thanks
if you just want to change icon or the picture, the easiest way is by open the apk file via 7zip then copy the files into it. its also work if you change some of the script. just put the scipt back to folder. I've used this method to modify systemUI.apk and framework-res.apk. it works fine for me.
kurotsugi said:
if you just want to change icon or the picture, the easiest way is by open the apk file via 7zip then copy the files into it. its also work if you change some of the script. just put the scipt back to folder. I've used this method to modify systemUI.apk and framework-res.apk. it works fine for me.
Click to expand...
Click to collapse
hey thanks man i will try for it...

{Solved} Help required to make Black theme Contacts & Phone.

Can anybody make black contact & phone.apk attached here. Or else let me know the step by step procedure to make the Black themed Contacs.apk & Phone.apk
I Know we need to edit some XML files like styles.xml , call_background.xml, background_dial_holo_dark.xml and also have tried but able to get the success. So please help me.
Its not that easy...
apktool-1.4.3 wont decompile Contacts.apk properly so when you recompile, it will most likely crash the Phone.apk
I am able to decompile and recompile it without any problems.
You have to just decompile with 1.4.2 apktool and compile it with 1.4.3 apktool.
Before decompiling you have to delete classes.dex from contacts.apk.
If it was not possible then how other themers are modifying contacts.apk. So themers please help me.
I would do it for you, how exactly do you want it to look?
manikant_009 said:
I am able to decompile and recompile it without any problems.
You have to just decompile with 1.4.2 apktool and compile it with 1.4.3 apktool.
Before decompiling you have to delete classes.dex from contacts.apk.
If it was not possible then how other themers are modifying contacts.apk. So themers please help me.
Click to expand...
Click to collapse
How many "themer's" are changing XML? show me one please...
shayne77 said:
How many "themer's" are changing XML? show me one please...
Click to expand...
Click to collapse
Most just change images, just swap out the images using 7-zip
OriginsOfLewis said:
Most just change images, just swap out the images using 7-zip
Click to expand...
Click to collapse
Exactly my point... Contacts.apk has been a pain the bum since ICS got here... (with APKTOOL-1.4.3 anyway)
hence why no-one has really changed XML too much...
I think managed to get it to work though...
OriginsOfLewis said:
I would do it for you, how exactly do you want it to look?
Click to expand...
Click to collapse
Thanks for trying to help me i want black dialler with blue text numbers, transparent buttons. and also pleas let me know how to make the transparent notification in the below image attached.
shayne77 said:
Exactly my point... Contacts.apk has been a pain the bum since ICS got here... (with APKTOOL-1.4.3 anyway)
hence why no-one has really changed XML too much...
I think managed to get it to work though...
Click to expand...
Click to collapse
I thinks for this we need to install framework-res then decompile contacts.apk with 1.4.2 and recompile with 1.4.3
manikant_009 said:
I thinks for this we need to install framework-res then decompile contacts.apk with 1.4.2 and recompile with 1.4.3
Click to expand...
Click to collapse
My bet is: Contacts.apk will work fine but Phone.apk will crash.
shayne77 said:
My bet is: Contacts.apk will work fine but Phone.apk will crash.
Click to expand...
Click to collapse
See i am not a themer but i have tried contacts.apk by this method not tried phone.apk so i can't tell about it.
I just need the info about the xml files that needs to be edited so please help me.
manikant_009 said:
See i am not a themer but i have tried contacts.apk by this method not tried phone.apk so i can't tell about it.
I just need the info about the xml files that needs to be edited so please help me.
Click to expand...
Click to collapse
You're missing my point, the 2 apk's talk to each other... you change Contacts and it crashes Phone.
sent from SGS2 using XDA app.
shayne77 said:
You're missing my point, the 2 apk's talk to each other... you change Contacts and it crashes Phone.
sent from SGS2 using XDA app.
Click to expand...
Click to collapse
But their should be some way to change it because Vertumus and other themers have done that
For example you can see here
http://forum.xda-developers.com/showthread.php?t=1564209
http://forum.xda-developers.com/showthread.php?t=1517344
manikant_009 said:
But their should be some way to change it because Vertumus and other themers have done that
For example you can see here
http://forum.xda-developers.com/showthread.php?t=1564209
http://forum.xda-developers.com/showthread.php?t=1517344
Click to expand...
Click to collapse
I think you'll find they're only changing PNGs in Contacts.apk... could be wrong but I am thinking that is the case...
Will see if any "themers" offer you some advice in this thread then...
shayne77 said:
How many "themer's" are changing XML? show me one please...
Click to expand...
Click to collapse
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
el_liberator said:
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
Click to expand...
Click to collapse
Oh so you'll share your method to manikant/us then? good-o
---------- Post added at 12:28 AM ---------- Previous post was at 12:24 AM ----------
el_liberator said:
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
Click to expand...
Click to collapse
Can you share with us also i like the MMS.apk of your theme so please try to share with us.
Didn't think so...
either he doesn't change XML or he steals someone else work or he's just plain selfish.
not in the spirit of xda anyway.
That's the problem with this place, ego's get in the way of development.
manikant_009 said:
Thanks for trying to help me i want black dialler with blue text numbers, transparent buttons. and also pleas let me know how to make the transparent notification in the below image attached.
Click to expand...
Click to collapse
Okay I've done it, I haven't tested it so it's at your own risk. Remember to set permissions! This is at 50% transparency
http://dl.dropbox.com/u/43639041/framework-res.apk
I had errors with the Contacts.apk when making any XML edits, I ended up having to grab it from the source.

[REQ] White Battery Percent Text

Can someone make me a status bar white battery percent mod for CleanROM ACE 4.7? Currently looks weird with the default gray.
U can run morphology 1.5 and change the status bar to any color u want.
http://forum.xda-developers.com/showthread.php?t=2129293
Sent from the TermiNOTEr 2!
borijess said:
U can run morphology 1.5 and change the status bar to any color u want.
http://forum.xda-developers.com/showthread.php?t=2129293
Sent from the TermiNOTEr 2!
Click to expand...
Click to collapse
Thanks but flashing Mack's updater crashes my systemui on cleanrom 4.7.. I just wanna change the percent text.
Send me your SystemUI.apk ill take a look
Thanks, I have attached it. Could you also let me know what file you edited?
here you go. make a backup first as always.
download copy and paste to system apps. change permissions to rw-r-r and reboot
apen83 said:
here you go. make a backup first as always.
download copy and paste to system apps. change permissions to rw-r-r and reboot
Click to expand...
Click to collapse
hi,just wondering which files u changed cuz I'd like to add the white battery percentage to my own modified systemUI ?
thanks for ur help
hii1 said:
hi,just wondering which files u changed cuz I'd like to add the white battery percentage to my own modified systemUI ?
thanks for ur help
Click to expand...
Click to collapse
tw_status_bar.xml
Line 18 - TextView android:textSize="12.0dip" android:textColor="#ffa6a6a6" android:layout_gravity="center" android:id="@id/battery_text"
Find your color hex here - http://www.color-hex.com/ then replce what highlighted in blue.
From there wrap up the goods , Vrtheme install proper path for drop off into SystemUI,apk
hii1 said:
hi,just wondering which files u changed cuz I'd like to add the white battery percentage to my own modified systemUI ?
thanks for ur help
Click to expand...
Click to collapse
This below but change the ffa6a6a6 to ffffffff.
sling said:
tw_status_bar.xml
Line 18 - TextView android:textSize="12.0dip" android:textColor="#ffa6a6a6" android:layout_gravity="center" android:id="@id/battery_text"
Click to expand...
Click to collapse
apen83 said:
here you go. make a backup first as always.
download copy and paste to system apps. change permissions to rw-r-r and reboot
Click to expand...
Click to collapse
apen83 said:
This ge the ffa6a6a6 to ffffffff.
Click to expand...
Click to collapse
first of all,I really appreciate ur help guys and I can never thank u enough for ur help.
ok,I looked all over the XML file and can't find the exact line to edit,i thought its cuz im using a modified systemUI,so I decompiled the original systemUI and extracted tw_status_bar.xml from layout to compare but still can't find the exact line to edit.
I found one line only with the same color code u mentioned so I changed it and recompiled,replaced and fixed permissions then rebooted and the status bar disappeared ! so I replaced again in system/app and this time wiped both caches and still status bar wont show up ! so ofcorse I put back my original systemUI AND got it back
I've attached my systemUI so may be if any of u have some time u can look at it and have a play ! ??
I'm running stock jb 4.1.2 LSD AND its odexed
once again thank u very very much for ur time and help
hii1 said:
first of all,I really appreciate ur help guys and I can never thank u enough for ur help.
ok,I looked all over the XML file and can't find the exact line to edit,i thought its cuz im using a modified systemUI,so I decompiled the original systemUI and extracted tw_status_bar.xml from layout to compare but still can't find the exact line to edit.
I found one line only with the same color code u mentioned so I changed it and recompiled,replaced and fixed permissions then rebooted and the status bar disappeared ! so I replaced again in system/app and this time wiped both caches and still status bar wont show up ! so ofcorse I put back my original systemUI AND got it back
I've attached my systemUI so may be if any of u have some time u can look at it and have a play ! ??
I'm running stock jb 4.1.2 LSD AND its odexed
once again thank u very very much for ur time and help
Click to expand...
Click to collapse
hmm not sure were you found SystemUI.apk your working off of but its a freaking mess.
It looks like you compiled it with a chainsaw , Missing Dex etc all kinds of bad error jungle when i decompiled....
Anyway I pulled xml from it , made edit and packed it into worthy SystemUI.apk for error free recompile.
I then pulled edited file from apk and gift wrapped it for you vrtheme install.
sling said:
hmm not sure were you found SystemUI.apk your working off of but its a freaking mess.
It looks like you compiled it with a chainsaw , Missing Dex etc all kinds of bad error jungle when i decompiled....
Anyway I pulled xml from it , made edit and packed it into worthy SystemUI.apk for error free recompile.
I then pulled edited file from apk and gift wrapped it for you vrtheme install.
Click to expand...
Click to collapse
Compiled with a chainsaw thats a good one sling lol
*"compiled it with a chainsaw" !! LOL
ok,I pulled it out of the attached flashable zip which was made for deodexed 4.1.2 lsd and then I replaced it with my original apk.u can have a look if u want .
anyway,I flashed the zip that u sent me from CWM and after the phone booted the status bar went missing ! so I extracted the xml file and replaced it with mine, and pushed the systemui apk back to system/app and rebooted with same result ! no status bar !!
So ofcorse I put my systemui back to get my status bar baxk !!!!
have I done things right ?? where did I go wrong ??
thank u very very much for all ur help
hii1 said:
*"compiled it with a chainsaw" !! LOL
ok,I pulled it out of the attached flashable zip which was made for deodexed 4.1.2 lsd and then I replaced it with my original apk.u can have a look if u want .
anyway,I flashed the zip that u sent me from CWM and after the phone booted the status bar went missing ! so I extracted the xml file and replaced it with mine, and pushed the systemui apk back to system/app and rebooted with same result ! no status bar !!
So ofcorse I put my systemui back to get my status bar baxk !!!!
have I done things right ?? where did I go wrong ??
thank u very very much for all ur help
Click to expand...
Click to collapse
oh my
Your apk is a mess as seen in screen shot so it would only make sense for you status bar to disappear....heck you should be in boot loops.
And this is only half of errors displayed within apk.
Lets start over,
This thread / forum its not the place for it , In the future you would want to go - http://forum.xda-developers.com/forumdisplay.php?f=527
For now get your creation working on device , extract working copy SystemUI.apk , send it to me in PM & I will make color edit to its status tw_status_bar.xml
sling said:
oh my
Your apk is a mess as seen in screen shot so it would only make sense for you status bar to disappear....heck you should be in boot loops.
And this is only half of errors displayed within apk.
Lets start over,
This thread / forum its not the place for it , In the future you would want to go - http://forum.xda-developers.com/forumdisplay.php?f=527
For now get your creation working on device , extract working copy SystemUI.apk , send it to me in PM & I will make color edit to its status tw_status_bar.xml
Click to expand...
Click to collapse
That's pretty scary right there
Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2
Tiffany84 said:
That's pretty scary right there
Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
i'm sure my SystemUI looked twice as bad after my FAILED attempt trying to get a transparent status bar background with white text.
I'm trying to do the same mod of changing the color of the battery percent, but when I open the XML file both on my phone and on my PC, it's almost all scrambled and unreadable. Is there a special encoding it needs to be opened with? I'm using a stock rooted deodexed ROM.
chuman72486 said:
I'm trying to do the same mod of changing the color of the battery percent, but when I open the XML file both on my phone and on my PC, it's almost all scrambled and unreadable. Is there a special encoding it needs to be opened with? I'm using a stock rooted deodexed ROM.
Click to expand...
Click to collapse
You can't just extract an app and open xml files. The app must be decompiled first, changes made, then recompiled. If you are a noob, I would suggest TickleMyAndroid as a starting place. There is a thread.
Dean
sent from my SGH-i317
chuman72486 said:
I'm trying to do the same mod of changing the color of the battery percent, but when I open the XML file both on my phone and on my PC, it's almost all scrambled and unreadable. Is there a special encoding it needs to be opened with? I'm using a stock rooted deodexed ROM.
Click to expand...
Click to collapse
So what is it you want done?
Sent from my SCH-I605 using Xparent Skyblue Tapatalk 2
rsalan said:
Can someone make me a status bar white battery percent mod for CleanROM ACE 4.7? Currently looks weird with the default gray.
Click to expand...
Click to collapse
Check the attached package - the numbers are white, the circle colors are really bright and it looks really cool. :good:

[Guide][Easy][MM]Xperia X Animation Inside The Framework

Hello people !
Many people asked, how i can get Xperia X animation on my
Xperia device running on MM, Well Here is the guide howto modify
it to get that pretty fluid and nice animation.
What it do:
When you locked your phone, and you unlock it
with the lockscreen, the animation goes not up but
from right to the left and your homescreen get opened.
What you need:
Apktool
Framework-res.apk
7zip
Brains
Howto do it:
Decompile your Framework-res.apk
Download the attachment
Open the zip with 7zip
Open Res/Anim
Select all the files
Open your decompiled Framework-res.apk
Go to Res/Anim
Copy the selected files from my zip
Into your Anim folder
Replace? Yes
Copy integers.xml from my zip
Into Res/values folder
Replace ? Yes
Compile and sign
Make A Flashable zip
Flash it
Done
** Note: Don`t forgot to credit and thank me !!​
Review !
could you help me, please?
Metall Boy said:
could you help me, please?
Click to expand...
Click to collapse
@Metall Boy
Why you cant do ot by yourself ?
Thats why this guide is for.
Pandemic said:
@Metall Boy
Why you cant do ot by yourself ?
Thats why this guide is for.
Click to expand...
Click to collapse
i dont have much knowledge of apk modifying .... i tried apktool and i cant even decompile files....
Metall Boy said:
i dont have much knowledge of apk modifying .... i tried apktool and i cant even decompile files....
Click to expand...
Click to collapse
Oke well i am honest people get lazier and lazier around here on xda for sure ><"
I missed something in the TUT will be fixed asap
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Pandemic said:
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Click to expand...
Click to collapse
i actually tryed doing it again when you update the OP and it worked! but thanks anyway for your effort
Metall Boy said:
could you help me, please?
Click to expand...
Click to collapse
Pandemic said:
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Click to expand...
Click to collapse
Which phone is this framework.apk from ??
& can you be kind enough to do this too
Thank You
chawlasrijan said:
Which phone is this framework.apk from ??
& can you be kind enough to do this too
Thank You
Click to expand...
Click to collapse
My framework is from z3c from latest. 291 firmware
Metall Boy said:
My framework is from z3c from latest. 291 firmware
Click to expand...
Click to collapse
No wonder i lost all vibrations
Can you please do the one i uploaded, it's from Xperia Z2 .291
chawlasrijan said:
No wonder i lost all vibrations
Can you please do the one i uploaded, it's from Xperia Z2 .291
Click to expand...
Click to collapse
Actually you no need to decompile it, just change the .apk to .zip.
The only thing to do is push the OP files into the ".zip".
After that rename .zip to .apk, and push to system.
You're done.
Hit thanks if I helped!
Note: The Z3 framework-res.apk don't have "value" this file. I tried to force push and it give me bootloop.
Note 2: Trying to use another method: compile the .apk by replace the zip.
sorry to bother you again @Pandemic I've just noticed all animations are very smoooth,but i found a small bug with the three-dot-menu animation...this animation is slow. I attached a screenshot so you will know which animation im talking about
maple_mak said:
Actually you no need to decompile it, just change the .apk to .zip.
The only thing to do is push the OP files into the ".zip".
After that rename .zip to .apk, and push to system.
You're done.
Hit thanks if I helped!
Note: The Z3 framework-res.apk don't have "value" this file. I tried to force push and it give me bootloop.
Note 2: Trying to use another method: compile the .apk by replace the zip.
Click to expand...
Click to collapse
Value is the folder name in Res folder ><"
Pandemic said:
Value is the folder name in Res folder ><"
Click to expand...
Click to collapse
If I found I already no need to say it before...
i do this but now my phone is bootlp
alinolaw71 said:
i do this but now my phone is bootlp
Click to expand...
Click to collapse
Same for me
Any suggestions @Pandemic
For those who have issues, do this(Especially for Z5 users)
1.Take the final compiled apk and install it as framework
2.Recompile and push to phone
Click thanks if i helped
Excellent work as ever, @Pandemic! :good:

Categories

Resources