Related
Please delete this thread.
Im keeping this on my phone forever!
how do you get this to work it aborted when flashing in recovery??
Okay here's the thing. It's not flashing in recovery because you are missing the update-script (usually found under a few subfolders within the meta-inf folder. take a look at someone elses update.zip (for anything, theme, rom, some of my keyboard themes etc) and you should find what I'm talking about.
Second problem, the framework-res.apk you provided contains only your changes. Had this successfully flashed, you'd now be boot looping as your framework-res.apk would be jacked up.
I took your images and made them into a morph (hope you don't mind, I put your name on the "author" line). I just applied it via metamorph and it's working great!
Benefit to this is it *should* be cross rom compatible, and shouldn't need any updates (whereas if you built a true update.zip that contained all of framework-res.apk, you'd have to update it every time it changed and release different versions for different roms).
Feel free to grab this attachment and throw it on first post!
remember, it's a metamoprh, you must have metamorph from the market to apply it!
kamikazimonky said:
how do you get this to work it aborted when flashing in recovery??
Click to expand...
Click to collapse
Right now unfortunately you can't flash through recovery yet.
I am hoping to have a fix for that later tonight.
See post above. You can now use this with Metamorph thanks to gIMpSTa.
LOL....
This is great!
One thing though, can you make it a bit more discernable for us colour blinds?
hmmm I posted this on the MORPH thread yesterday!
http://forum.xda-developers.com/showpost.php?p=6056140&postcount=7
If you want to get a mod to delete my post and put yours in there that would be fine by me.
I have no idea how to delete this off my captivate. I reset my phone, format internal sd and reflashed the unleashthebeast rom. Please help me. Its still there! I want the original battery icon back
Everything seems to work fine so far, but I've hit a snag.
Here's what happens. I've made some changes to my rom. I'm on modaco's latest, I have theme with the battery percentage mod installed (can't remember which), but everything runs perfectly with no hiccups or hangups.
The problem I'm running into is with the battery icons.
Here's what I do.
1) Pull framework-res.apk from device(to keep my changes)
2) Pull battery icons from framework-res
3) Modify icons
4) Put icons back into framework-res
5) Push framework-res back to device
As soon as I push this back to the device, everything starts force-closing. Phone, gmail, launcher, contacts...everything.
I've made changes like this before and this has never happened. Am I doing something wrong here? Any help would be appreciated. I would like to eventually release this as a theme that people can flash.
try pushing the modded files while in recovery...
..never pushed framework-res.apk.
In recovery sounds good..
But why not makin a morph?..or you could do an update.zip.
i am assuming you rebooted after pushing the new framework-res.apk across?
Did you zipalign before pushing? I know CM zipaligns on boot after changes in recovery but can't remember for stuffed pushed across- i either just zipalign it myself or the easiest and best thing to do is what rori~ said- just make a metamorph- that way when the rom gets updated you dont have to change anything at all (assuming there are no xml changes)..
eg. i have been using the same CM metamorph theme i made since about 5.0.X and it still works on every nightly- i have had tyo remove xml edits etc as CM now does that itself but it makes it all so easy.
instead of using adb, try doing it the easy way with Metamorph. Basically you'll need to create custom pngs with the same name as the ones you want to replace in the framework-res.apk.
So get a copy of your framework-res.apk and rename it to .zip and unzip it. Erase all the folders where you have no custom images to push. You'll prob just end up with some nested folders like "framework-res-->res-->drawable-hdpi" or a similar last folder. Place the custom images in there, then just reuse this attached xml file, making sure to change the pertinent information such as the file structure to be the correct path so the images push to the correct folder when you apply it with Metamorph. Be sure to save the xml file with a reasonable name, then zip the xml and framework-res folder containing your custom images together. Make sure the zip has the same name as the xml file only with .zip extension or you may get an error.
From there install Metamorph. Load the zip you created onto your sd card inside the "android themes" folder. Launch Metamorph, grant su, then "unzip new theme", and "apply all".
Hope this is helpful. A bit longer than I pictured it, but easy to do. If you run into trouble just DL a couple ones other people did and it should become easier to figure out.
^^^ what they said
made life even easier ......
here is a blank framework-res morph drag drop your desired pngs in the drawable-hdpi folder within the zip and morph away
http://www.mediafire.com/file/d1zr12fke13i61l/Framework_res_obama.zip
icegad said:
^^^ what they said
made life even easier ......
here is a blank framework-res morph drag drop your desired pngs in the drawable-hdpi folder within the zip and morph away
http://www.mediafire.com/file/d1zr12fke13i61l/Framework_res_obama.zip
Click to expand...
Click to collapse
Awesome! Thanks a ton! I'll report back my findings...
Sorry, no such luck. Endless force closes and reboots. Bummer. I'll have to sleep on it for a day or two and come back to it.
If anyone has any ideas, please let me know.
If u like u can upload the images and ill try to morph it on my phone and see what causes the fcs if any
icegad said:
If u like u can upload the images and ill try to morph it on my phone and see what causes the fcs if any
Click to expand...
Click to collapse
That would be great, thanks!
morphed the icons onto my phoneno fc or bootloops here
see screenshot....(i have a black status so it maybe hard to see your icons )
only thing i can think of is.... dont know if you were putting your folder within the drawable-hdpi folder that can cause errors..put the standalone images only
and i went ahead and put the icons in the morph you so you can jus morph this zip >>>
http://www.mediafire.com/file/9ldnfsf4t894kz6/Framework_res_obama.zip
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....
Is it possible to remove/hide the battery icon? I'm on a Samsung Epic 4G Touch with a stock ROM that's been rooted.
I don't want to replace it with something else (I've already done that). I want to remove it, so it doesn't take up space in the notification toolbar.
Thanks for any help.
you could ask Master&Slave(tm) . as you can see in this thread he made some statusbar mods before and maybe he knows how to do that
there is a tut in second post of this thread:
forum.xda-developers.com/showthread.php?t=1371330
i havent tried it, since my rom has this option built in
t0mas_ said:
there is a tut in second post of this thread:
forum.xda-developers.com/showthread.php?t=1371330
i havent tried it, since my rom has this option built in
Click to expand...
Click to collapse
^^^I second this^^^
I have previously used this method on the t-mobile sgsII. Worked great!
I tried following that exact post last night, but I ended up with a missing status bar. The issue I'm having is that none of the instructions I've seen are for an odexed system. I'm running the stock rom, so all my .apk files have corresponding .odex files, rather than containing a classes.dex file within the .apk file. I'm not sure, but I suspect this could be the reason I haven't gotten it to work.
Basically, I'm doing the same thing as the instructions say, but instead of extracting classes.dex from the SystemUI.apk, I'm using SystemUI.odex, since SystemUI.apk doesn't contain classes.dex. I baksmali SystemUI.odex file to extract the code, modify the code, then smali it back into a new SystemUI.odex, and replace the existing SystemUI.odex with the new one.
Any reason why this shouldn't be working? One possible error that I thought of is that I think I pointed smali to one level too far up in the code directory structure when generating the new SystemUI.odex. Using baksmali produced "out/com/android/systemui/...". In the smali command, I used "out/com", but I think I should have used just "out". I'm going to try again tonight and see if that was the problem. Otherwise I'm out of ideas.
i dont think it is possible to edit odexed apks. not sure though...
Anyone successfully remove the Verizon Wireless from the lock screen yet. I have made many attempts via frameworkâres to no avail. I have made changes to the eri.xml as well as adding/changing the spn-conf. Any ideas or tips would be appreciated.
Thanks
I am assuming the info comes from the SIM card because when its not inserted the phrase, "No SIM card, Emergency Calls Only" is displayed in the same place Verizon Wireless normally is. There has to be a handoff between the SIM Card and code via an XML file someplace but I have yet to find it. If anyone has any info please let me know.
I'd be willing to bet 5 bucks there is an xml edit in framework-res.apk or systemui.apk that would get rid of it , If I come across it i'll let you know for sure.
natethegreat86 said:
I'd be willing to bet 5 bucks there is an xml edit in framework-res.apk or systemui.apk that would get rid of it , If I come across it i'll let you know for sure.
Click to expand...
Click to collapse
Ive checked strings in both and neither had any reference. I will check again because i am pretty sure it has to be in framework-res.
Ya I see a lot of lock screen entries in framework-res strings.xml but nothing with plain verizon wireless, i see all the other possible things that could popup and it does look like its linked to the sim from there. I also see a reference to carrierLabel in systemui public.xml with an id of 0x7f0f00ae no idea where its linked to though as of yet will keep digging.
EDIT: Question for you guys are you running ICS touchwiz roms or aosp or what? I ask because I'm on a AOSP jelly bean rom and it might be different then what you guys have
I'm thinking this is going to require editing some smali files most likely, do me a favor and see if you have this file in your systemui.apk:
SystemUI\com\android\systemui\statusbar\phone\CarrierLabel.smali
natethegreat86 said:
Ya I see a lot of lock screen entries in framework-res strings.xml but nothing with plain verizon wireless, i see all the other possible things that could popup and it does look like its linked to the sim from there. I also see a reference to carrierLabel in systemui public.xml with an id of 0x7f0f00ae no idea where its linked to though as of yet will keep digging.
Click to expand...
Click to collapse
Thanks.
The two entries I am looking for are:
Verizon Wireless
No Sim Card..Emergency calls Only
Those two phrases pop up in the same place on the lock screen when booting and/or once booted up.
Some other phones like the Nexus have thier carrier lable linked to an eri.xml and/or an spn-conf.xml located in /system/etc and or in /data right on the phone. No need to even decompile an APK, but the GS3 seems to be a little different as none of those tricks worked.
There is an eri.xml located in framework-res/res/xml/eri.xml. But nothing there referencing verizon or a sim card. Looks like a generic xml.
natethegreat86 said:
EDIT: Question for you guys are you running ICS touchwiz roms or aosp or what? I ask because I'm on a AOSP jelly bean rom and it might be different then what you guys have
I'm thinking this is going to require editing some smali files most likely, do me a favor and see if you have this file in your systemui.apk:
SystemUI\com\android\systemui\statusbar\phone\CarrierLabel.smali
Click to expand...
Click to collapse
I am running a stock deodexed TW ICS Rom.
Yes I have that xml in SystemUI but that smali should reference a string I would have thought? I thought the smali was to execute and not dictate what the actual phrase. I am far from an experienced coder though so what do I know.
Its late, I will look over this smali tomorrow when I have a little more time.
If we could get a few people digging for this we could probably find it in less than a week...
Thanks for the help!
Not sure if this will do it or not but seems like its definitely worth a try http://forum.xda-developers.com/showthread.php?t=1773879
As that xml is there in that location and the id is also there, I'll try it out on my rom when I get the chance as well and let you know.
---------- Post added at 03:58 AM ---------- Previous post was at 03:08 AM ----------
Well after some more searching I came across a post to remove the carrier name on jelly bean for the nexus and it actually worked for me, I don't know if this will work on touchwiz ICS or not but you may want to do a nandroid and try it. I used the second set of steps putting the eri.xml in /data and left the values blank and no more carrier label
natethegreat86 said:
Not sure if this will do it or not but seems like its definitely worth a try http://forum.xda-developers.com/showthread.php?t=1773879
As that xml is there in that location and the id is also there, I'll try it out on my rom when I get the chance as well and let you know.
---------- Post added at 03:58 AM ---------- Previous post was at 03:08 AM ----------
Well after some more searching I came across a post to remove the carrier name on jelly bean for the nexus and it actually worked for me, I don't know if this will work on touchwiz ICS or not but you may want to do a nandroid and try it. I used the second set of steps putting the eri.xml in /data and left the values blank and no more carrier label
Click to expand...
Click to collapse
I have tried those too...LOL. They seem to be for either ASOP only or JB. Just for giggles I tried them again to be sure and still no go.
Glad it worked for you though!
Derp I goofed I didnt give you the link in the second edit for what actually worked for me anyhow I'll give you what you need for your ics version.
Do a nandroid backup before making any changes just in case
1) Download eri.xml onto your desktop or some folder you will remember where it has been placed.
2) Open "eri.xml" with something such as NotePad or WordPad and edit everywhere you see "Whatever you want or delete this and nothing will show up". You can simply change the text or delete the text between the quotations and nothing will show up.
3) Save "eri.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "eri.xml" from your SD card to "/data" directory.
5) Reboot, and Enjoy!
eri.xml http://www.mediafire.com/?edv0q6jvyh7hk4g
natethegreat86 said:
Derp I goofed I didnt give you the link in the second edit for what actually worked for me anyhow I'll give you what you need for your ics version.
Do a nandroid backup before making any changes just in case
1) Download eri.xml onto your desktop or some folder you will remember where it has been placed.
2) Open "eri.xml" with something such as NotePad or WordPad and edit everywhere you see "Whatever you want or delete this and nothing will show up". You can simply change the text or delete the text between the quotations and nothing will show up.
3) Save "eri.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "eri.xml" from your SD card to "/data" directory.
5) Reboot, and Enjoy!
eri.xml http://www.mediafire.com/?edv0q6jvyh7hk4g
Click to expand...
Click to collapse
Tried that one too....no go.
Stupid Verizon.....
Grrr lol we will find a way for you eventually. Alright just for kicks try the eri.xml file I used for JB it just may work follow my thread over here http://forum.xda-developers.com/showthread.php?t=1897808
natethegreat86 said:
Grrr lol we will find a way for you eventually. Alright just for kicks try the eri.xml file I used for JB it just may work follow my thread over here http://forum.xda-developers.com/showthread.php?t=1897808
Click to expand...
Click to collapse
No go...strike #8....lol. Where the hell is this thing hiding?
Lmao dang was worth a try, this is harder for me now since i'm on cm10 aosp and I don't have a ics tw rom to look further into.
Alright one more try on one other thing that may work as well, definitely do a nandroid before you try this one as well.
1) Download spn-conf.xml file i have attached onto your desktop or some folder you will remember where it has been placed.
2) Open "spn-conf.xml" with something such as NotePad or WordPad and edit where you see Verizon Wireless.
3) Save "spn-conf.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "spn-conf.xml" from your SD card to "System/etc" directory.
5) Reboot, and Enjoy!
spn.conf.xml http://www.mediafire.com/?qz6o28y822lxh5g
Strike #9.
The search continues.
Grrr lol I can't believe none of those worked, what rom are you running just curious?
natethegreat86 said:
Grrr lol I can't believe none of those worked, what rom are you running just curious?
Click to expand...
Click to collapse
Stock Deodexed Rom with a dozen or so self installed MODs. All I did was root, custom recovery, and start loading up a few favorite mods like:
Time toggle on/off
AM/PM toggle on/off
center clock
small am/pm
expanded setting for MMS
battery full removed
keyboard icon removed
...and a few others.
Otherwise, stock ROM rooted and deodexed.
Well you may want to consider going with a custom rom, things like this are so much easier on a custom rom because dev's enable these type of goodies . I don't know why anybody isn't on cm10 builds personally ive been running paranoid android for several weeks as my daily driver with no issues at all. But if you like the TW UI I can understand.
natethegreat86 said:
Well you may want to consider going with a custom rom, things like this are so much easier on a custom rom because dev's enable these type of goodies . I don't know why anybody isn't on cm10 builds personally ive been running paranoid android for several weeks as my daily driver with no issues at all. But if you like the TW UI I can understand.
Click to expand...
Click to collapse
well I have painfully gone through each and every XML in framework and none hold the key to removing the carrier name from the lockscreen. I know this because I have swapped each XML from a sprint rom (which does not have the carrier name on the lockscreen) with mine and the Verizon Wireless remained in place. I will go through some of the APKs in /system/app next and see what I can find. I was sure it would have been in framework though.
Didact74 said:
well I have painfully gone through each and every XML in framework and none hold the key to removing the carrier name from the lockscreen. I know this because I have swapped each XML from a sprint rom (which does not have the carrier name on the lockscreen) with mine and the Verizon Wireless remained in place. I will go through some of the APKs in /system/app next and see what I can find. I was sure it would have been in framework though.
Click to expand...
Click to collapse
I have a cool crisp $1 bill waiting to be donated to who ever can figure out how to make this go away on a stock, rooted, deodexed, ICS 4.04 ROM.
Seriously, I have just about exhausted all possibilities that I can think of.
Thanks for any help anyone can offfer!