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!
Related
Update: Since I have moved on to the Epic 4G Touch, I created a thread over there that describes how to do it for that phone.
The E4GT is a Gingerbread ROM, so if you want a detailed set of instructions for Gingerbread ROMs, you can try that thread out. You will still need to search for and replace the data mentioned in this thread, but the instructions for extracting the classes.dex out of SystemUI.apk and putting them back are the same.
Disclaimer: I have only (successfully) tested this with Koni's ELITE Series II ROM. I believe this to be a fairly easy fix for most Sense ROMs, and is likely portable to any CDMA ROM initially provided by HTC. I also searched the forums and didn't see a walkthrough like this, so I'm putting on my flame-resistant suit.
I take no responsibility for what dissatisfaction or damages to your phone this causes. It may, in fact, set your house on fire or cause you to always lose at Yahtzee!
Credits:
Calk for pointing me in the right direction!!!
The brave XDA members who try these instructions and report their success or failure!!!
XDA for being a great source of information!!!
XDA members for thinking outside of the box!!!
Background: One of the main things I like about CyanogenMod is the fact that it shows when your signal is on 3G/1X. Calkulin's EViO ROM also has the ability to show 3G/1X. In a thread discussing the signal indicator in the status bar, Calk mentioned that the secret lies in HtcCdmaStatusBar.smali in the services.jar file. I've never really done any modifications before, besides trying to hack the framework-res.apk file (aimlessly) in this pursuit before I saw Calk's post.
This mod relies on the assumption that your ROM developer has not deleted any of the 1x files in the ROM. The developer CAN theme or otherwise change the images as long as the file names remain the same.
WARNING!! If you have already performed mods to your ROM (new status bar stuff, transparancies, etc), it's likely you already have a modified services.jar file. In this case, you NEED to use step 1b to pull the services.jar file from your phone. If you do not, it is quite likely that your pre-existing mods will either break, or your phone may bootloop, etc.
Now to the good stuff.
What you need to perform this mod:
1. A HTC Sense ROM ZIP file, or a phone running a Sense ROM -- AOSP already has the correct indicators.
2. The Java SDK -- So you can run Smali.
3. Smali/Baksmali -- So you can decompile/compile the classes.dex file.
4. Android SDK -- To push/pull files from your phone (adb only).
Ease Of Use Tip: Install Java SDK first, then Android SDK (if you need adb). Download the smali files (smali-1.2.6.jar and baksmali-1.2.6.jar at the time of this writing) to a new "working" folder where we can do our magic.
Instructions:
1a. [If you are using a base Sense ROM ZIP File]: Use 7zip/WinRAR/WinZip to open the ROM ZIP file. Navigate to system\framework and extract services.jar to your "working" folder.
1b. [If you want to grab your services.jar from your running phone]: Use adb to pull services.jar to your working folder. Example: adb pull /system/framework/services.jar C:\Working\services.jar To avoid problems, ONLY USE adb to pull/push services.jar. Phone apps may cause unknown issues.
2. Open services.jar in 7zip/WinRAR/WinZip (it's really a ZIP file) and extract classes.dex to your "working" folder.
3. Go to a command prompt in your "working" folder and run the following command: java -jar baksmali-1.2.6.jar -o output/ classes.dex
4. Browse to your "working" folder and see that there is now an "output" folder inside, with other subfolders. Browse to "output"\com\android\server\status.
5. Edit the file named HtcCdmaStatusBar.smali and look for the following text. The key is to search for "getDataNetworkIconList_1x" to make sure you don't change the wrong icons. The line in bold is the problem:
Code:
.method public static final getDataNetworkIconList_1x()[I
.registers 1
.prologue
.line 308
[B] sget-object v0, Lcom/android/server/status/HtcCdmaStatusBar;->sDataNetType_3g_cdma:[I[/B]
return-object v0
.end method
6. Change that line to say sget-object v0, Lcom/android/server/status/HtcCdmaStatusBar;->sDataNetType_1x:[I
7. Save HtcCdmaStatusBar.smali.
8. Go back to your command prompt and change to your "working" folder and issue the following command: java -jar smali-1.2.6.jar output/ -o newclasses.dex
9. If there weren't any errors, go ahead and rename the original classes.dex to classes.old and rename newclasses.dex to classes.dex.
10. Use 7zip/WinRAR/WinZip and drag your new classes.dex file into services.jar (replacing the old one).
11. Push the new file to your phone. Run the following commands from a command prompt in your "working" folder. NOTE: The last command will reboot your phone. To avoid problems, ONLY USE adb to pull/push services.jar. Phone apps may cause unknown issues.
a. adb remount
b. adb push services.jar /system/framework
c. adb shell reboot
The first boot after following step 11 may take a really long time. The phone likely needs to reprocess the dalvik cache because of the services.jar change. Please be patient while this occurs. Thanks snovvman for that tip.
For those of you on ELITE Series II ***BASE ONLY, NO MODS***, I am attaching an already updated services.jar file. It is currently named elite-services.zip. You must rename it to services.jar before you push the file, or rename it in your "adb push" command.
Please let me know whether or not this worked for you. I'd like to make a list of ROMs (with applicable mods) this works for or doesn't work for.
I will do whatever I can to help if you are struggling. If there's something you don't understand, please let me know. I can update the instructions if I accidentally wrote something wrong.
Updates
Well, somehow my little thread has made it to the front page. Thanks to anyone who voted it there!
Just another note -- we have at least one non-EVO ROM that has been successfully modified (IncROM). I'd love it if some other CDMA HTC phones got some love too. It's really silly of HTC and the carriers to keep the phones displaying 3G all the time. This mod should work with ANY CDMA HTC Sense phone.
Working/Broken ROMs
This section lists ROMs and versions of successful 1x mods. Please let me know if you have a successful mod and whether or not it is a stock ROM or a mod has already modified the services.jar file.
Make sure if you want to use any of the attached files that you rename the file either while you are pushing with adb or before you push with adb. Do not use Root Explorer or other phone apps to push/pull the services.jar as they may cause unknown issues.
ROMs by Name/Version/Other Mods (Alpha Order)
ELITE Series II by Konikub / ACS [Stock] - Modded by nivron [here].
ELITE Series III by Konikub / ACS [Stock] - Modded by nivron [here].
Eternal Prophecy by DrRyder - Already built-in to his ROM.
EViO 2 v1.8 by Calkulin - Already built-in to his ROM.
Fresh Evo v3.5.0.1 by Flipzmode [Stock] - Modded by Ph33zy [here]. JoeLithium mentions that this version also appears to work without issues on Sprint Lovers ROM.
IncROM v1.5 Beta by lllboredlll [Stock] - Modded by jonno95 [here]
MikFroYo v4.2 by aamikam [GPS Reticle Removed] - Modded by snovvman [here]
MikFroYo v4.5 (deodex) by aamikam [Stock] - Modded by debarron [here]
MikFroYo v4.6 B2 (odex) by aamikam [GPS Reticle / USB Debug Removed] - Modded by debarron [here]
VaelPak 3.2 RC 1 by vaelek [Stock] - Modded by kcbedo [here]
Every ROM I've ever used shows 1x when texting. Are you talking about when you're actually on a call, and the symbol goes away?
I'm referring to data signals on Sense ROMs. They all default to 3G even when you are on 1X. Calk's EViO being the only exception I know about.
CM and other AOSP ROMs also show the correct signal type.
clamknuckle said:
Every ROM I've ever used shows 1x when texting. Are you talking about when you're actually on a call, and the symbol goes away?
Click to expand...
Click to collapse
Ill have to try this out on the new mik rom. I haven't seen any sense rom showing 1x yet.
Sent from my EVO using Tapatalk
Cool, let me know if you get stuck.
fr0st420 said:
Ill have to try this out on the new mik rom. I haven't seen any sense rom showing 1x yet.
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
Thanks... this worked perfectly for me I think for Fresh's ROM. Haven't been in a 1X area yet, but sent myself a text message and briefly saw a 1X symbol pop up. Just wanted to point out that you had the spelling of "output" wrong in step 8, but other than that, the instructions were pretty easy!
I attached the file for Fresh 3.5.0.1 in case any other Fresh users want it- Just remove .zip from the file and push to your phone.
Awesome news! Thanks for the typo find. I will fix it when I get home. If you're okay with it, I will link it in my reserved post above (with credit to you, of course) and mark it "working". Do you know for sure if its a stock services.jar from Fresh, or do you have other mods that may have changed it?
Ph33zy said:
Thanks... this worked perfectly for me I think for Fresh's ROM. Haven't been in a 1X area yet, but sent myself a text message and briefly saw a 1X symbol pop up. Just wanted to point out that you had the spelling of "output" wrong in step 8, but other than that, the instructions were pretty easy!
I attached the file for Fresh 3.5.0.1 in case any other Fresh users want it- Just remove .zip from the file and push to your phone.
Click to expand...
Click to collapse
Sent from my EVO 4G via Tapatalk
nivron said:
Awesome news! Thanks for the typo find. I will fix it when I get home. If you're okay with it, I will link it in my reserved post above (with credit to you, of course) and mark it "working". Do you know for sure if its a stock services.jar from Fresh, or do you have other mods that may have changed it?
Sent from my EVO 4G via Tapatalk
Click to expand...
Click to collapse
It's a stock Fresh Jar...and of course it's okay.. you and Calk did all the work.. i just followed your instructions...
MikFroyo 4.2, looking good. I too, sent an SMS and saw 1x for a brief moment for the first time. Looking at HtcCdmaStatusBar.smali, it is so clear that the phone is told to display the 3G graphics when in 1x. Good find and thanks for sharing!
By the way, you might want to mention in the first post that first reboot will take a while. There is nothing wrong, just wait and let it finish. I'm gussing it is re-compiling or something...
Calk found it. I just wrote it up since I couldn't find it anywhere.
If you have a "stock" Mik services.jar with the fix, do you want to upload it so we can share it in the third post?
I didn't have a long time after my first reboot... It's probably related to a dalvik rebuild or something because of the jar changes. I'll make a note of it. Thanks!
snovvman said:
MikFroyo 4.2, looking good. I too, sent an SMS and saw 1x for a brief moment for the first time. Looking at HtcCdmaStatusBar.smali, it is so clear that the phone is told to display the 3G graphics when in 1x. Good find and thanks for sharing!
By the way, you might want to mention in the first post that first reboot will take a while. There is nothing wrong, just wait and let it finish. I'm gussing it is re-compiling or something...
Click to expand...
Click to collapse
nivron said:
Calk found it. I just wrote it up since I couldn't find it anywhere.
If you have a "stock" Mik services.jar with the fix, do you want to upload it so we can share it in the third post?
I didn't have a long time after my first reboot... It's probably related to a dalvik rebuild or something because of the jar changes. I'll make a note of it. Thanks!
Click to expand...
Click to collapse
My services.jar also has the GPS reticle removed. When the GPS is being used, the indicator will still come on. It simply removes the static GPS "enabled"/"diabled" indicator for more room on the notification bar. Thus, the attached file has the 1x and GPS mods, for anyone who wants that. It is again for MikFroyo 4.2.
The other item that might be important is to instruct people NOT to use Root Explorer to move/copy services.jar. Use ADB ONLY. I made that mistake before...
Cheers nivron.
I added a link to your post in the "working ROMs" section. I also put a note about Root Explorer in post #1 and #3. Thanks for testing this out.
snovvman said:
My services.jar also has the GPS reticle removed. When the GPS is being used, the indicator will still come on. It simply removes the static GPS "enabled"/"diabled" indicator for more room on the notification bar. Thus, the attached file has the 1x and GPS mods, for anyone who wants that. It is again for MikFroyo 4.2.
The other item that might be important is to instruct people NOT to use Root Explorer to move/copy services.jar. Use ADB ONLY. I made that mistake before...
Cheers nivron.
Click to expand...
Click to collapse
One more test to confirm that it works: I forced the phone into roam, and 1x popped right up, for the FIRST TIME!!!
Regardless of the discovery, I always appreciate someone taking the time to write up detailed information/instructions. I will try this later tonight on my Epic. I expect that it will also work there. Cool!!
Share the love over there if it works. I really think it will work with any HTC Sense phone.
snovvman said:
One more test to confirm that it works: I forced the phone into roam, and 1x popped right up, for the FIRST TIME!!!
Regardless of the discovery, I always appreciate someone taking the time to write up detailed information/instructions. I will try this later tonight on my Epic. I expect that it will also work there. Cool!!
Click to expand...
Click to collapse
snovvman said:
My services.jar also has the GPS reticle removed. When the GPS is being used, the indicator will still come on. It simply removes the static GPS "enabled"/"diabled" indicator for more room on the notification bar. Thus, the attached file has the 1x and GPS mods, for anyone who wants that. It is again for MikFroyo 4.2.
The other item that might be important is to instruct people NOT to use Root Explorer to move/copy services.jar. Use ADB ONLY. I made that mistake before...
Cheers nivron.
Click to expand...
Click to collapse
can you do the same thing for me for a stock sense rom without the 1x, please? i really wanna remove my gps reticule the proper way without simply deleting it.
I got the hack done in my rom, Eternal Prophecy. I don't exactly know how to force the icon to show to make sure that it works, but the hack has been done.
Here's the link to my rom: http://forum.xda-developers.com/showthread.php?t=959776
If you go into EPST with ##3282# and edit the EVDO section, you can change the mode from automatic to cdma only.
raiden89 said:
I got the hack done in my rom, Eternal Prophecy. I don't exactly know how to force the icon to show to make sure that it works, but the hack has been done.
Here's the link to my rom: http://forum.xda-developers.com/showthread.php?t=959776
Click to expand...
Click to collapse
Sent from my PC36100 using Tapatalk
nivron said:
If you go into EPST with ##3282# and edit the EVDO section, you can change the mode from automatic to cdma only.
Click to expand...
Click to collapse
Worked perfectly and confirmed.
Ive been trying to change my pulldown menu to transparent without any luck! ive tried replacing the status_bar_background.png with one i made via Ninjamorph, and no luck.....i tried unzipping the "systemui.apk" and putting the png file in the drawable-hdpi folder and then zipping the systemui and renaming it to apk, and then replacing the current systemui.apk with the one i did using "RootExplorer", rebooted the phone, fixed permissions,rebooted again and still no change.....im using Eaglesblood 2.3.5 Rom! Please help!
Simer03 said:
Ive been trying to change my pulldown menu to transparent without any luck! ive tried replacing the status_bar_background.png with one i made via Ninjamorph, and no luck.....i tried unzipping the "systemui.apk" and putting the png file in the drawable-hdpi folder and then zipping the systemui and renaming it to apk, and then replacing the current systemui.apk with the one i did using "RootExplorer", rebooted the phone, fixed permissions,rebooted again and still no change.....im using Eaglesblood 2.3.5 Rom! Please help!
Click to expand...
Click to collapse
Use the UOT Kicthen. Much easier method of getting that notification bar modded as u lease.
zimphishmonger said:
Use the UOT Kicthen. Much easier method of getting that notification bar modded as u lease.
Click to expand...
Click to collapse
im a hardcore noob....what is UOT kitchen? oh, and i have a mac!
Edit: Tried the UOT kitchen, did the notification bar the way i wanted, and for some reason, i cant submit it to the kitchen because the button "submit to kitchen" is not able to be pressed! ugh!
Edit: never mind, got it to work....now uploading!
created the zip, tried to flash it, and it said installation aborted........why is this so damn hard (for me)????
Simer03 said:
created the zip, tried to flash it, and it said installation aborted........why is this so damn hard (for me)????
Click to expand...
Click to collapse
try copying the update-binary from a working zip to your "kitchen" file. Install should work
zimphishmonger said:
try copying the update-binary from a working zip to your "kitchen" file. Install should work
Click to expand...
Click to collapse
it didnt work....still aborted.... curse my noobness! :/
If you're on the latest version 1.08 of Eaglesblood for 2.3.5, then just push this SystemUI.apk into /system/app , fix the permissions, and reboot, and it should do the trick.
The reason you were having trouble before is because the stock image is a .9.png...I won't go into the details of that, but a little extra work is needed to make those files work.
This file I've included should work for ya.
mmapcpro said:
If you're on the latest version 1.08 of Eaglesblood for 2.3.5, then just push this SystemUI.apk into /system/app , fix the permissions, and reboot, and it should do the trick.
The reason you were having trouble before is because the stock image is a .9.png...I won't go into the details of that, but a little extra work is needed to make those files work.
This file I've included should work for ya.
Click to expand...
Click to collapse
Still didn't work man....sorry I'm having so much trouble, maybe I'm just unable to do it! Thanks for trying guys and taking the time to try and help :/
Sent from my LG-P999 using XDA Premium App
Ok, so you're on the latest version (1.08) of Eaglesblood for 2.3.5, correct? If you are not 100% sure, you can check in "About Phone" and check on the build.
Using the SystemUI.apk that I uploaded, what is your procedure for getting it into your phone?
Because that file has a transparent status_bar_background.9.png with correct patch handles drawn...not sure why it won't work. I will admit, that I don't have a 2.3.5 nandroid backed up to test. Anyone else?
I think I found the problem. Your rom's SystemUI/res/layout/status_bar_tracking.xml points to shade_bg.png for the background. I made that image transparent for you, and recompiled the apk. I really hope this works for you. I have to admit, I"m feeling rather dumb right now.
Yes I'm on 1.08 and my exact procedure was I downloaded the file on my phone, I went to root explorer to the xda download folder where it was located, I copied it to system/app and overwrote tthe current systemui.apk that was there, at that time, a constant endless force closes occurred so I had to pull my battery and rebooted that way, as it rebooted, the notification bar was gone, I then went to the systemui and changed permissions to where the first column is all checked and the first of the 2nd ccolumn is checked, I then pulled the battery again (cuz of the apn issue without the hard reset) and when it came back, nothing changed, so I fixed permissions via rom manager, to no avail......its frustrating!
Sent from my LG-P999 using XDA Premium App
mmapcpro said:
I think I found the problem. Your rom's SystemUI/res/layout/status_bar_tracking.xml points to shade_bg.png for the background. I made that image transparent for you, and recompiled the apk. I really hope this works for you. I have to admit, I"m feeling rather dumb right now.
Click to expand...
Click to collapse
holy crap it worked.....a million times THANKS!!! You effin rock dude! thanks for taking the time to help me! So to my understanding, u just edited the shade_bg file???? that was it??
Yeh, essentially, all I would have needed to do was edit that shade_bg.png file. But I didn't know to look there until I was forced to try to save face after giving you bad advice, lol. Now I know that some roms will point to status_bar_background.png, some will point to shade_bg, and some even simply define a hex color code...just have to decompile the SystemUI.apk, and look in res/layout/status_bar_tracking.xml to see where it's looking....and then edit that file.
mmapcpro said:
Yeh, essentially, all I would have needed to do was edit that shade_bg.png file. But I didn't know to look there until I was forced to try to save face after giving you bad advice, lol. Now I know that some roms will point to status_bar_background.png, some will point to shade_bg, and some even simply define a hex color code...just have to decompile the SystemUI.apk, and look in res/layout/status_bar_tracking.xml to see where it's looking....and then edit that file.
Click to expand...
Click to collapse
so now that i know it works, i was wondering if i wanted to create one, do i make it 200 x 200 like the current shade_bg file is? i kinda want to make one with a black background with semi transparency! I tried editing the shade_bg file u made, with a program called Gimp, but it didnt work
Can you give me your exact method to doing this? I created an image from gimp, i saved it as shade_bg.png, so basically , i extracted the systemui.apk from root explorer, it put the extracted in my sd card, so i plugged in my phone in my mac, and i took that folder from my sd card, now from here, the extracted file is a zip file, so i double clicked it b/c macs can unzip files easily, so in the folder, i placed my shade_bg file into the appropriate folder.....now this is where i think i mess up, what do u do from here? I "compressed" the systemui folder to make it back into a zip, and then placed it into my sd card, i then "renamed" the file thru my phone from a .zip to a .apk, now in root explorer there is usually an icon that shows up next to the name of the files, now when i changed it, a green android icon showed up, but on the file that you had edited for me, there was a "settings" icon, u know, the standard icon for the settings app in android! i put the apk in the system/app and it didnt work, even after permissions set up! hmmm.....i promise, this will probably be my last post!
please keep in mind, i have a mac, and i do have that 7zip u mentioned in the development thread, but its called EZ7Z.....just in case i need it
If you are doing it the way you described, then you need to find a way to zip with no compression. 7 zip does that with the "store" setting...not sure about the mac version.
You don't wanna know where this was sent from.
mmapcpro said:
If you are doing it the way you described, then you need to find a way to zip with no compression. 7 zip does that with the "store" setting...not sure about the mac version.
You don't wanna know where this was sent from.
Click to expand...
Click to collapse
man, for some reason i just cant get the "settings icon" to appear after renaming the .zip to .apk from root explorer.......im pretty sure thats way too easy, i must be doing it wrong?
my apk file is not right...i tried signing it with an app from the market, tried searching for a fix, and nothing.....ur my only hope man! lol! :/
Simer03 said:
man, for some reason i just cant get the "settings icon" to appear after renaming the .zip to .apk from root explorer.......im pretty sure thats way too easy, i must be doing it wrong?
my apk file is not right...i tried signing it with an app from the market, tried searching for a fix, and nothing.....ur my only hope man! lol! :/
Click to expand...
Click to collapse
anyone know how to convert a .zip to .apk correctly?
I know there is already a CRT Off Animation flashable zip in this section, but if you already have a themed framework then it can be a pain in the a$$ trying to flash it over whatever you have. As for SIP over LTE/HSPA, I've seen a lot of requests from people on how to enable it, so here it is. I'm also making this kind of for myself, since I always search for tutorials on how to change things, but always just end up finding .zip files, which can get quite annoying if I only want to change one thing. In any case, here we go...
Prerequisites
Superuser (Duh)
Apk Manager by Daneshm90
ADB + Understanding How To Pull/Push Files (Need help? Read this!)
Patience
A Good Texteditor (I recommend Notepad++)
Know why "sudo rm -rf /" is always a bad idea
Steps To Follow
Pull your framework-res.apk file from your system folder
Place said framework-res.apk file into the "place-here-for-modding" folder included in the Apk-Manager Folder
Run the Script.bat file also included in the Apk-Manager Folder.
Run option 9 in the newly opened window (Don't use the dependency option)
Go back into the Apk-Manager Folder; there should now be a folder dubbed "projects".
Head into that folder and open framework-res/res/values/bools.xml with that good texteditor you're supposed to have if you read the prerequisites.
Don't be intimidated by some of the code you see. Ignore everything else in the file and head straight for/search "config_animateScreenLights". This controls the state of the CRT Off Animation.
This step may sound a little counter-intuitive, but in order to get the CRT Off to activate correctly, you need to set the boolean to "False".
Now that CRT Off Animation taken care off, we can move on to enabling SIP over HSPA/LTE. Go to/search for "config_sip_wifi_only" and set this boolean to false as well.
There are actually other things you can enable/disable in the bools.xml file, although I would not recommend poking around unless you know what you're doing. Example: Enable Menu Unlock by setting that specific bool (not entirely sure of its name) to true.
Save the bools.xml file, and return back to the main menu of Apk Manager.
Select option 11 and say y (system app) and then n (no need to retain anything)
If you head back to your "place-apk-here-for-modding" folder, there should be a new file named unsignedframwork-res.apk. Open this (DO NOT EXTRACT THE FILES) using a tool such as winrar or 7zip, and delete both the META-INF folder and the AndroidManifest.xml
Copy the META-INF and the AndroidManifest.xml from the original framework-res.apk and place it in the new unsignedframework-res.apk. Remember to not extract the files, just copy/paste.
Rename unsignedframework-res.apk to framework-res.apk and push that back to the system folder on your phone.
Reboot
Enjoy Your CRT Off Animation + SIP Over HSPA/LTE!
FAQ
What is SIP? SIP stands for Session Initiation Protocol, and is used for controlling communications such as Voice over Internet Protocol, or Video over Internet Protocol. It's used in a lot of applications on the market, a big one being Skype. If you want to learn more, go here, here, or here.
Why would I need SIP over HSPA/LTE? Because I told you so. No, but seriously, this will allow you to use all kinds of SIP applications found on the market not only on wifi networks, but also on the go.
Can you haz build me a flashable zip? The whole point of this thing is to teach people how to mod their own already modded files without having to replace everything. But yeah, if you PM me I'll probably do it.
IAQ
Why is jomeister15 so amazing? Sorry, this question is not infrequently asked.
nice tutorial, it took me a while to find this information a few days ago, good to know someone has gathered it and made it easy to find.
very nice i know i did that while back ago and i was like ughhh ** also there is a post for crt animation on you should include that too. i know id like to get it on my theme but im working through it and it blows my head into 2 .. but moderator please pin this thread or make it a sticky right @ top with cherry.
Awesome tutorial! Been wanting to add the CRT off animation to my ROM for a while now, just haven't gotten around to it. And I will definitely be following your guide. However, can someone please explain to me what SIP is? I've seen a couple of threads about it but none of them have actually explained what it is. Thanks!
Sent from my SAMSUNG-SGH-I727 using XDA App
plwalsh88 said:
Awesome tutorial! Been wanting to add the CRT off animation to my ROM for a while now, just haven't gotten around to it. And I will definitely be following your guide. However, can someone please explain to me what SIP is? I've seen a couple of threads about it but none of them have actually explained what it is. Thanks!
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
Just updated OP with FAQ section that includes explanation of SIP if you want to take a look.
i am getting FC. Not working. After changing the file size reduced to around 5mb which before it is 7mb.
gkrananth said:
i am getting FC. Not working. After changing the file size reduced to around 5mb which before it is 7mb.
Click to expand...
Click to collapse
What app in specific are you getting FC with? It may just be in issue with fixing permissions. Try that first, and if that doesn't work, re-try the procedure but do not carry the android manifest and meta-inf over. May I also ask what rom you're on? Every dev's framework is different.
oh CRT
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
sakunakia said:
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
Click to expand...
Click to collapse
Dude you just necro'd a thread that's almost a year since last post and half these guys aren't even around anymore.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Originally Posted by sakunakia
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
Click to expand...
Click to collapse
Dude you just necro'd a thread that's almost a year since last post and half these guys aren't even around anymore.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
omg this
Sent from my SGH-T999 using xda premium
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...