change toggle icon? - AT&T Samsung Galaxy S II Skyrocket SGH-I727

hi guys! I'm running uxuma on sgh727, vincom deodex Rom, 23 toggle mod, I'm trying to change the
toggle icons. I replaced the icons in lidroid with apktool, decompile, recompile...
what else do I have to edit to make it work?
when I changed the toggle icons I get systemUI fc and my status bar is gone.
any help, ideas, anything at all...
thank you

nbnion said:
hi guys! I'm running uxuma on sgh727, vincom deodex Rom, 23 toggle mod, I'm trying to change the
toggle icons. I replaced the icons in lidroid with apktool, decompile, recompile...
what else do I have to edit to make it work?
when I changed the toggle icons I get systemUI fc and my status bar is gone.
any help, ideas, anything at all...
thank you
Click to expand...
Click to collapse
Did you run the Signing Tool? Been using that program a lot the past few days and that made it work for me.

mrfeuss said:
Did you run the Signing Tool? Been using that program a lot the past few days and that made it work for me.
Click to expand...
Click to collapse
no, it's that the name "Signing Tool"? did you use it with lidroid-res?

nbnion said:
no, it's that the name "Signing Tool"? did you use it with lidroid-res?
Click to expand...
Click to collapse
See attached. I haven't used lidroid, but I tried recompiling apps without hitting the Signing Tool button and they all failed.

mrfeuss said:
See attached. I haven't used lidroid, but I tried recompiling apps without hitting the Signing Tool button and they all failed.
Click to expand...
Click to collapse
i tried it now, still same issue..
im missing some steps in the whole process and im sure its something stupid but...
thank you for your time

nbnion said:
i tried it now, still same issue..
im missing some steps in the whole process and im sure its something stupid but...
thank you for your time
Click to expand...
Click to collapse
Wish I could have been more helpful, but I'm pretty new to this whole thing, too.

Unless you're replacing .9.png, you don't have to decompile the framework - just open it with ZIP, navigate to the right drawable folder and drop the new .png-s there.
After you recompile, make sure you take out the AndroidManifest.xml and META-INF folder from the original framework ZIP and push to the new one, overwriting whatever is there.

Jack_R1 said:
Unless you're replacing .9.png, you don't have to decompile the framework - just open it with ZIP, navigate to the right drawable folder and drop the new .png-s there.
After you recompile, make sure you take out the AndroidManifest.xml and META-INF folder from the original framework ZIP and push to the new one, overwriting whatever is there.
Click to expand...
Click to collapse
thank you!
yes it was a bit confusing, with compiling/decompiling the framework but I got it to work.
do the png have to have the same size? the ones that I want to replace?

Related

T-Mobile Froyo DriveSmart Settings

Can anyone help me try and remove the DriveSmart settings menu found in Settings.
I deleted the DriveSmart APKs but its still showing in Settings which means its hardcoded in there...
you will have to decompile the settings.apk and remove the entire line of drivesmart
I actually tried that already but couldn't recompile it for some reason.
Can you give it a go? I can send you the edited files...
jboogie3 said:
you will have to decompile the settings.apk and remove the entire line of drivesmart
Click to expand...
Click to collapse
Actually, only this line needs to be edited if I'm not mistaken:
Path: res\values\
File: bools.xml
Line: <bool name="has_tmo_driveSmart_settings">true</bool>
Process: Change the value from true to false
Any help would be appreciated. I've been trying but get errors when I try to recompile Settings.apk
Thanks!
Here's the original APK.
I hope someone can help me out. I've used APK Manager and APK Edit and neither tool can recompile it after I've edited it...
I was kinda hoping it would get rid of the settings portion when the apk's for drive smart were deleted as well. oh well.
That is exactly what this is aimed at.
I was able to delete the strings from the de-compiled code however, I got errors when re-compiling it.
Hopefully, someone out there can help with this...
dlamber7 said:
I was kinda hoping it would get rid of the settings portion when the apk's for drive smart were deleted as well. oh well.
Click to expand...
Click to collapse
Was finally able to compile it without any errors.
Someone, try this please: Modified T-Mo Froyo Settings
Thanks!
Has anyone tried the modified Settings I posted?
I'll try it here in a little bit. If not today than tomorrow and let you know. Just install zip via recovery?
Nope. Rename the existing Settings.apk and Setting.odex and then move the modified Settings.apk to system/app/
Don't forget to set the correct permissions...
Thanks!
dlamber7 said:
I'll try it here in a little bit. If not today than tomorrow and let you know. Just install zip via recovery?
Click to expand...
Click to collapse
I still really want this done.
Can someone post a deodexed Settings.apk from the latest FroYo update please...
Anyone figure this out yet? I tried placing the settings.apk from this thread into my working kitchen folder over writing the stock settings.apk but when I flashed the rom the settings option was missing from the app draw???

[MOD] Remove Recent Apps from Notification Bar

I haven't seen this around, so I went ahead and made this for myself, and I decided to share it with anyone who wants it...
I hate the Recent Apps section of the Notification Bar Dropdown... so I removed it.
I wanted the Recent Apps to be removed without having to flash a complete ROM or use some theme.
1. Flash the attached file in CW Recovery
2. Clear Cache and Dalvik Cache
3. Reboot
4. Profit (It will remove the recent apps section)
There are no side-effects that I have noticed.
It was made from the SystemUI.apk from the stock US 2.3.4 Build, and should work on any 2.3.4 build for the Sensation.
There are no other changes in this from stock 2.3.4 besides removing the Recent Apps.
It will work alongside the Battery Mods I made with no issues... One mod does not affect the other.
Let me know if you have any issues.
As always, I'm not responsible if your phone breaks beyond repair and you lose all your data.
Thanks to j4n87 for the smali change required.
Work for me on EagleBlood rom.
It would be helpful.
NoRecents - installed with tiwili - take it, work it, leave it
Hi,
thanks for this mod. As always all actual modifications in existing SystemUI.apk are changed by this installation.
I took both of your modified files in my tiwili-installation method. So all other existing files in SystemUI.apk will rest in peace.
I publish it here because it´s your work, your files; It took 5 minutes for me, that´s nothing to be proud of...
Greets
idephili
So pretty much this needs root?
Sent from my HTC Sensation 4G using XDA App
thevietmonk said:
So pretty much this needs root?
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
Absolutely. You can't push SystemUI.apk to the apps directory without root.
Thanks for this...finally I can remove it...just a small issue...where I am, there is no 4g network yet...however it is now showing 4g icon on the notification bar, anyway I can change it to 3g icon?
Sent from my HTC Sensation Z710e using xda premium
This will also remove the extended quick settings I had installed, flashed the EQS again though, no prob just thought I'd let ya know
Edit: Flashing EQS again, makes the recent apps come back..
ARHD 3.1.1
bigg8k said:
This will also remove the extended quick settings I had installed, flashed the EQS again though, no prob just thought I'd let ya know
Edit: Flashing EQS again, makes the recent apps come back..
ARHD 3.1.1
Click to expand...
Click to collapse
That's because both mods modify the same system file. You can only choose one or the other unless the EQS Dec decides to put this in his mod.
sorry.
No worries, thanks for the effort anyways
This does not work on 3.5 SENSE but thank you for your work
EQS-Mod + Recent App
Hey
What do i do if i want the Recent App, with EQS-Mod ?
thanks...... I'll try this app
If any of you want to do it youself.....
1.Pull Systemui.apk from system/app
2.Decompile SystemUI.apk
3.navigate to com/android/systemui/statusbar
3.open up StatusBarFlag.smali using notepad or notepad++ (recommended)
4.Around line 89 (using notepad++) you should see this:
Code:
sput-boolean v0, Lcom/android/systemui/statusbar/StatusBarFlag;->HTC_RECENT_APP:Z
5. Change v0 to v2.
6. Recompile Systemui.apk and push via adb to system/app or copy to system/app using root explorer.
**NOTE**If using root explorer make sure to set permissions as Owner = Read/Write Group = Read Others = Read. A reboot will be required after pasting SystemUI.apk before you can change persmissions.
7. Reboot and your done!
same outcome for me with p3d had to reflash to get extended settings
I tried this but it appears to remove the entire header bar. That is, there was no pull down bar at all pushing it and rebooting. Any suggestions?
mfrost66 said:
I tried this but it appears to remove the entire header bar. That is, there was no pull down bar at all pushing it and rebooting. Any suggestions?
Click to expand...
Click to collapse
Sounds like you have decompiled SystemUI.apk incorrectly and then not signed it before pushing it. What method did you use for decompiling the APK?
I'm having some trouble with decompiling the SystemUI.apk. I get a bunch of "Invalid config flags detected" error when I try to load the com.htc.resources.apk framework; when I try to recompile I get a handful of other errors (related I'd imagine) and it doesn't recompile. Googled around a bit, found similar problems but no answers - any advice?
jimhart3000 said:
I'm having some trouble with decompiling the SystemUI.apk. I get a bunch of "Invalid config flags detected" error when I try to load the com.htc.resources.apk framework; when I try to recompile I get a handful of other errors (related I'd imagine) and it doesn't recompile. Googled around a bit, found similar problems but no answers - any advice?
Click to expand...
Click to collapse
How are you decompiling the apk...??
Didn't work. Edited what was suppose to be edited and the recent apps still show up....

Rom building woes.

Ok, so i took the dive into trying to build a rom, I've broken pretty much everything possible. Thanks to the help from UOT kitchen though for helping me theme. I'm trying to use the 2.3.5 base but im having some problems with SystemUI.apk. I can decompile it, modify it, and when i build it the file errors out and is junk.
UOT kitchen decides to not set some of the settings i requested. The notifications dropdown SHOULD have black text but its white and cyan. I also want the text in the clear button cyan but rebuilding systemUI screws up saying theres a bad line of code but is vague on where it is. I've even decompiled and recompiled the systemui.apk without changing it and it fails.
I'm thinking of trying the la3 base and seeing what happens.
Screenshots below of my ventures and failures. The one IS of the 14 toggle mod, all themed, the other are the ics smilies themed as well. But as you can see the text on the notifications wont stick. I guess im getting somewhere for not knowing what im doing lol.
EDIT: Also, where is that damn phone icon .png at? ive themed browser, calendar, email etc. But the phone one is hiding...
One of the .9's could be messed up when you edited them. That's what happened to me. I didn't know how to fix it but what I did was I took the original unedited system.ui apk,decompiled and changed all the xml's first then recompiled. Then I just drag and dropped my edited images from the system.ui apk where I edited the images beforehand.
Sent from my SAMSUNG-SGH-I727 using XDA
mossination said:
One of the .9's could be messed up when you edited them. That's what happened to me. I didn't know how to fix it but what I did was I took the original unedited system.ui apk,decompiled and changed all the xml's first then recompiled. Then I just drag and dropped my edited images from the system.ui apk where I edited the images beforehand.
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
I can decompile the systemui WITHOUT modifying it and then compile it and it still fails with the same error. Idk what it is. For images i dont decompile at all i just throw them in there. But when i mess with an xml thats when i compile.
Ive compiled other APK's fine. I dont know why that one hates me so much.
I'm sorry rains Im a disgrace I didn't even allow my lazy ass to release the update I promised well raais ill help u with this
Do you have GIMP image edit program? its a vital tool
The phone icon is in contacts.apk
(Ic_launcher_phone_icon) or something
EDIT: its a goood idea to decompile systemui.apk using apkmanager with the framework-res.apk also in the place here for modify folder
I'm out of it I can't think right anymore sorry my friend
Sent from my Skyrocket Running NexusMod 4.1b
R4INS said:
I can decompile the systemui WITHOUT modifying it and then compile it and it still fails with the same error. Idk what it is. For images i dont decompile at all i just throw them in there. But when i mess with an xml thats when i compile.
Ive compiled other APK's fine. I dont know why that one hates me so much.
Click to expand...
Click to collapse
If all you do is decompile and only mess with the xml's without modifying the images and then recompile but it still gives you errors then it has to be one of the xml's your editing that's causing it.
You probably already know that but thats all I can think of.
M0D1441 said:
I'm sorry rains Im a disgrace I didn't even allow my lazy ass to release the update I promised well raais ill help u with this
Do you have GIMP image edit program? its a vital tool
The phone icon is in contacts.apk
(Ic_launcher_phone_icon) or something
Sent from my Skyrocket Running NexusMod 4.1b
Click to expand...
Click to collapse
Long as you are in a better mood screw the update
And yeah im a full time linux user so i have gimp. I've been using it for all the .png files ive edited so far. And thanks for the phone icon location, i didnt get to the contacts.apk yet!
mossination said:
If all you do is decompile and only mess with the xml's without modifying the images and then recompile but it still gives you errors then it has to be one of the xml's your editing that's causing it.
You probably already know that but thats all I can think of.
Click to expand...
Click to collapse
I think the systemui file is just bad to begin with. Without edits it still craps out.
Wait so you tried decompiling and recompiling right after without edits? And it still didn't work? Then it must have to do with apk tool. Did you try replacing the "1" in the apk tool folder with framework-res.apk?
mossination said:
Wait so you tried decompiling and recompiling right after without edits? And it still didn't work? Then it must have to do with apk tool. Did you try replacing the "1" in the apk tool folder with framework-res.apk?
Click to expand...
Click to collapse
Yep, its total garbage. And i did apktool if framework-res.apk with the corresponding framework-res.

[Mod] Remove NFC Icon from Statusbar (Without XML edit)

If you find this icon as ugly as I do you probably researched and figured out that you could remove this by changing the OTHERS.XML in /system/csc/
If you have no problem editing the XML that is probably the easiest solution, however if you are like me and need to have a solution that works as a flashable zip that is indepenedent of the random carrier settings in others.xml this solution might help you.
This is the NFC apk from LL1 samsung release and should in theory be backwards and forwards compatible.
Tested on LL1 / TWRP.
If this works for you please give me thanks / rate the thread. If it doesn't let me know so i can figure out a more universal solution.
http://www.mediafire.com/?ycsa44am50rrfdi
I kinda like the NFC icon but I changed it to something else. Just swap out the icon with another icon.
just_visiting said:
I kinda like the NFC icon but I changed it to something else. Just swap out the icon with another icon.
Click to expand...
Click to collapse
Hi
Can You explain how did u done it? pls!
Where is the icon located?
Greets! Nick
etecdailey said:
Hi
Can You explain how did u done it? pls!
Where is the icon located?
Greets! Nick
Click to expand...
Click to collapse
Should be found in the NFC.apk in res/drawable-xhdpi
andybones said:
Should be found in the NFC.apk in res/drawable-xhdpi
Click to expand...
Click to collapse
Thank You!
andybones said:
Should be found in the NFC.apk in res/drawable-xhdpi
Click to expand...
Click to collapse
Hmm.. What kind of "apk tool" did u use to decompile & compile back?
I've tried APK Tool and it's not working.
etecdailey said:
Hmm.. What kind of "apk tool" did u use to decompile & compile back?
I've tried APK Tool and it's not working.
Click to expand...
Click to collapse
Winrar or 7zip will do. Drag the 'res/drawable-hdpi' folder out to and make the changes. Then drag the folder 'res/drawable-hdpi'' back into the apk. Depending on your Windows configuration, make sure there are no 'thumbs.db' files in ANY of the folder in the apk file before you replace the file in your phone or else you're gonna get some force-close upon reboot. Good luck.
PS: After you're comfortable with replacing icons then you go ahead and start replacing icon in all your other programs. systemui.apk, phone.apk, contacts.apk, email.apk, maps.apk, etc...
just_visiting said:
Winrar or 7zip will do. Drag the 'res/drawable-hdpi' folder out to and make the changes. Then drag the folder 'res/drawable-hdpi'' back into the apk. Depending on your Windows configuration, make sure there are no 'thumbs.db' files in ANY of the folder in the apk file before you replace the file in your phone or else you're gonna get some force-close upon reboot. Good luck.
PS: After you're comfortable with replacing icons then you go ahead and start replacing icon in all your other programs. systemui.apk, phone.apk, contacts.apk, email.apk, maps.apk, etc...
Click to expand...
Click to collapse
Nice! Actually it worked
I've made it useful with two icons - dont know why it didn't work with apk tool's...
Thanks one more time! (my work attached)

CRT lock animation HTC EVO 3d Virgin mobile.

i am currently using a unlocked s-off rooted 4ext recovery set up device, i found i enjoy using this rom called midnight rom, it is wonderfula dn suits my needs perfect, but....atfe rhours and hours of searching i am unable to find a guide on how to do this myself, and that is why i am posting here. i would like to flash a CRT lock animation, and perhaps unlock animation (but not needed ofcourse). Ive searched high and low, but it seems i cant find any way of doing this myself without having to use a rom like CM10 that has it built in etc etc, the objective here guys is to flahs this onto my phone myself, without needing to change my rom, either by installable zip someone may have laying aorund, or a quick description of how i could add this into my current rom and reflash it maybe. than ks for all the help in advance. talk to you soon
giggz9269 said:
i am currently using a unlocked s-off rooted 4ext recovery set up device, i found i enjoy using this rom called midnight rom, it is wonderfula dn suits my needs perfect, but....atfe rhours and hours of searching i am unable to find a guide on how to do this myself, and that is why i am posting here. i would like to flash a CRT lock animation, and perhaps unlock animation (but not needed ofcourse). Ive searched high and low, but it seems i cant find any way of doing this myself without having to use a rom like CM10 that has it built in etc etc, the objective here guys is to flahs this onto my phone myself, without needing to change my rom, either by installable zip someone may have laying aorund, or a quick description of how i could add this into my current rom and reflash it maybe. than ks for all the help in advance. talk to you soon
Click to expand...
Click to collapse
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
js2892 said:
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
Click to expand...
Click to collapse
im xcurrently haveing trouble decompiling this apk, im folowing th eguide you linked, but im unable to find the system or twframework.apk files, so im gonna guess its not a deodexed version....hmmmm i wish this was as simple as install zip from sd card hahaha
giggz9269 said:
im xcurrently haveing trouble decompiling this apk, im folowing th eguide you linked, but im unable to find the system or twframework.apk files, so im gonna guess its not a deodexed version....hmmmm i wish this was as simple as install zip from sd card hahaha
Click to expand...
Click to collapse
Systemui.apk - system / app
Framework - res.apk. and twframework-res.apk - system / framework
Use root explorer..
Sent from my GT-S5830i using xda app-developers app
js2892 said:
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
Click to expand...
Click to collapse
i found the asystem ui.apk but the twframework.apk is non existant
giggz9269 said:
i found the asystem ui.apk but the twframework.apk is non existant
Click to expand...
Click to collapse
twframework-res.apk is only for samsung phones with touchwiz... that's why it's not there...
use systemui.apk and framework-res.apk :good:
js2892 said:
twframework-res.apk is only for samsung phones with touchwiz... that's why it's not there...
use systemui.apk and framework-res.apk :good:
Click to expand...
Click to collapse
THANKYOUI SO MUCH, ok so i have the value you specified changed, now, is there anyway i can flash it into my phone so i dont have to painstakingly reinstall the rom and set all ym stuff back up?
also, after i have decompiled and the value changed, what is the next step to recompile? to chose option 15 and compile and sign and install apk?
giggz9269 said:
THANKYOUI SO MUCH, ok so i have the value you specified changed, now, is there anyway i can flash it into my phone so i dont have to painstakingly reinstall the rom and set all ym stuff back up?
also, after i have decompiled and the value changed, what is the next step to recompile? to chose option 15 and compile and sign and install apk?
Click to expand...
Click to collapse
ok..good you have decompiled and edited...!! No need to sign...
this is what you do..
use option 11..compile system apk..
go through the guide again, it specifically gives info about editing framework-res.apk
now since u have edited an .xml file, therefore you will have to delete resources.arsc
now again i'm saying see the guide, it tells u step by step along with pictures
after compiling apk, there are two options!
1. rename the compile apk as framework-res.apk and push it to system/framework and replace the old one!!
Note: If you do this you will face lot of force close errors, and screen might go black too...but this is normal..all you have to do is reboot and you'll be good again!:good:
OR
2. Create a flashable zip for cwm
How to-> http://forum.xda-developers.com/showthread.php?t=1721680
P.P.S- If you have committed any mistake in editing or compiling or even there is an software error in APK Multi tool which produced a bad .apk your phone will go into bootloop, hence make a backup with cwm!!
andddd im now bootlooping, i am on the third recompile, and pushing from recovery to /system/framework/framework-res.apk and i deleted the resources.asrc ill try recomiling a few more times just to make sure its not apk mutitool messing up
giggz9269 said:
andddd im now bootlooping, i am on the third recompile, and pushing from recovery to /system/framework/framework-res.apk and i deleted the resources.asrc ill try recomiling a few more times just to make sure its not apk mutitool messing up
Click to expand...
Click to collapse
ok..so i assume u are following the guide correctly and since u have tried three time hence i believe there is no mistake on editing part..following are scenarios:
1. APK Multi Tool is not compiling apk properly, in such case use other apk tools and then check ur results.
2. the problem might be with your phone/OS, i cannot predict what might be the problem, it's best to ask this thing in ur device's section!
I assume you are on deodexed ROM, if u want to check how then-
decompile your systemui.apk and go to folder project and there will be a folder "systemui". Open it and check if there is a folder named "smali" in it! If yes then ur rom is deodexed and if not ur ROM is odexed. I cannot guarantee the working of above method on odexed ROMs.!
Workaround
1. Get CM
2. There's an app called Screen Off and Lock. It gives CRT animation but not by power button press. It creates a shortcut on homescreen, by pressing which u lock ur phone with CRT animation:good:. But again it does not provide aniamtion on screen unlock!

Categories

Resources