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???
Related
Howdy all,
I am wanting to kno if there is anything special about editing certain system apps, do they all need to be signed with the same keys. i think i read this somewhere.
cause when i decompile the phone.apk then recompile with no changes / or with changes, signed it with autosigner or APK-Manager, it just FC's on the phone and i cant make sence of the logs...
oh and i tried pushing the file with adb and x10 mod tool, tried in the emulator, still no joys.
been googling for hours... and i feel i am searching for the wrong things...
Thanks in advance
Pvy.
you can use 7zip to browse the apk as an archive and replace png's and .9.png's inside the drawable folders.
you wouldn't have to resign the apk this way, but i would recommend zip-aligning the apk after you replace the png's.
i would also make sure you know how to work with .9.png's before replacing them. not doing .9.png's correctly will break the app.
I have edited the pngs there is no prob there I can put all the images in.
I am editing the xmls and the manifest... I tried drag and drop but it seems to break the apk...
Thanks tho.
Sent from my X10i using XDA App
Go ahead and compile with apk manager, say yes to 'is it a system apk?'.
Then open the new apk with 7zip and pull out the xmls, etc. you changed.
After that open the original apk w/7zip and drag in the compiled xmls along with your images.
That should work.
So I did this,
compiled phone.apk chose system app when it asked.
drag and dropped the 3 pngs I modded, and a few xml files, and the modded androidmanifest.xml to the original
Pushed it to my phone, rebooted...
But it wont install.
It appears the signing breaks.
Pvy
AyDee said:
Go ahead and compile with apk manager, say yes to 'is it a system apk?'.
Then open the new apk with 7zip and pull out the xmls, etc. you changed.
After that open the original apk w/7zip and drag in the compiled xmls along with your images.
That should work.
Click to expand...
Click to collapse
Sent from my X10i using XDA App
Changing default image
I wondered if anyone could help me out with this
Many thanks
pvyParts said:
So I did this,
compiled phone.apk chose system app when it asked.
drag and dropped the 3 pngs I modded, and a few xml files, and the modded androidmanifest.xml to the original
Click to expand...
Click to collapse
My suggestion is after doing this add the now modded original .apk into a flashable.zip and use xRecovery/FreeXperiaRecovery to install the app.
If you don't know how to make a flashable.zip just use 7zip to replace the phone.apk in a theme update.zip and delete any other folders/.apks that you don't want being reinstalled (framework-res etc.).
Not sure if this will work because I haven't tried this after modding .xml files, but it works after I make any other changes, even changing .9.pngs.
Best of luck, hope this works.
nope that didn't work either... took me a while but once i figured out the update.zip i got it going. and still no joy.
thanks heaps guys for all your help, i think i must have to compile from source or something silly like that...
I'll keep at it and let you all kno how i go...
Has anyone found a way to remove the battery full notification from the 2.3.3 OTA Rom? I know this has been asked before, but I can't tell if the answer is still no, or I simply haven't found the correct thread.
Vorkosiganm said:
Has anyone found a way to remove the battery full notification from the 2.3.3 OTA Rom? I know this has been asked before, but I can't tell if the answer is still no, or I simply haven't found the correct thread.
Click to expand...
Click to collapse
It has been removed in most custom OTA ROMs
Assuming that I don't want to switch to another ROM, is it possible for me to remove the notification from the stock ROM (by modifying framework-res.apk or such), or can the removal only be done when compiling from LG's source?
Vorkosiganm said:
Assuming that I don't want to switch to another ROM, is it possible for me to remove the notification from the stock ROM (by modifying framework-res.apk or such), or can the removal only be done when compiling from LG's source?
Click to expand...
Click to collapse
It can removed from the stock rom, but you need to know exactly what you're doing, as far as modding smali in apks.
Can you give me any help to point me in the right direction for what I need to do? I think I know how to edit the apk's, and I am guessing that I would need to edit one of the xml files, but the naming conventions are not always logical. For example, config_animateScreenLights is related to the crt screen off animation for some reason.
Vorkosiganm said:
Can you give me any help to point me in the right direction for what I need to do? I think I know how to edit the apk's, and I am guessing that I would need to edit one of the xml files, but the naming conventions are not always logical. For example, config_animateScreenLights is related to the crt screen off animation for some reason.
Click to expand...
Click to collapse
This is not an xml edit, its a small smali edit, but here goes:
adb pull SystemUI.apk from /system/app and decompile SystemUI.apk, navigate to
\smali\com\android\systemui\statusbar\policy\StatusBarPolicy.smali
Find & remove the ENTIRE "showChargingComplete" method
then find and remove this line
Code:
invoke-direct {p0}, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->showChargingComplete()V
Recompile SystemUI.apk and push to /system/app, then reboot.
If this sounds too hard or tricky, let me know.
Thanks! That worked perfectly.
I don't suppose you could post a link to that modified SystemUI.apk file? I'd love to get rid of the battery full popup, but I've never compiled/decompiled an .apk, so it sure would be a time saver.
Thanks in advance!
I certainly can. A couple of things first. I found that using the OTA, you cannot just push the SystemUI.apk to your phone using adb (it has to do with the permissions baked into the ROM), I had to make a flashable zip. This means that you will need clockworkMOD to flash the zip. Also, the SystemUI.apk that I have includes xboarder56's green signal fix (from this thread: http://forum.xda-developers.com/showthread.php?t=1179748&highlight=ota+gingerbread). I can apply the battery popup fix to a stock SystemUI.apk if you want, just let me know. In any case, I have to recreate the flashable zip, so it will take a few days.
I'm rooted, running the rooted but stock ROM "P999_2.3.3_Stock_OTA" by xboarder.
The only mod I've added is the battery icon mod from this thread installed: http://forum.xda-developers.com/showthread.php?t=1190283&highlight=battery+mod
So I assume you can't just pull the SystemUI.apk and post, then copy in place using ES Explorer? If you can post a flashable .zip that works for me, whatever is easiest. Many, many thanks....
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)
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!
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?