How do I add LTE icons to my status bar? The rom I'm on doesn't tell me and they just launched it in my area so I'd like to know when I get LTE and when I'm not.
Try a different ROM. AOCP is good and it shows LTE.
dubsteps said:
Try a different ROM. AOCP is good and it shows LTE.
Click to expand...
Click to collapse
The thing is that I have to stay with this particular rom. It's the one that's gotten me the fastest speeds on T-Mobile LTE. I just need to know how to add the Icons to a rom.
What's the icon scheme of that Rom?
It could add simple as swapping images... or way more involved. I'm guessing it's like aosp (the way it should be)
E= 2g
3g= 3g
H= hspa+ (what north American carriers falsely label as 4g)
4g=lte
Are you wanting?:
4g= hspa+
4g lte= lte
That's just a few image swaps in the systemui.apk you can do that with 7zip without having to decompile it.
studacris said:
What's the icon scheme of that Rom?
It could add simple as swapping images... or way more involved. I'm guessing it's like aosp (the way it should be)
E= 2g
3g= 3g
H= hspa+ (what north American carriers falsely label as 4g)
4g=lte
Are you wanting?:
4g= hspa+
4g lte= lte
That's just a few image swaps in the systemui.apk you can do that with 7zip without having to decompile it.
Click to expand...
Click to collapse
My icons say 4G = 4G and LTE
I'd love it to say 3G, 4G and 4G LTE
Thanks for the info though. I'll give it a shot. This will be perfect!
studacris said:
What's the icon scheme of that Rom?
It could add simple as swapping images... or way more involved. I'm guessing it's like aosp (the way it should be)
E= 2g
3g= 3g
H= hspa+ (what north American carriers falsely label as 4g)
4g=lte
Are you wanting?:
4g= hspa+
4g lte= lte
That's just a few image swaps in the systemui.apk you can do that with 7zip without having to decompile it.
Click to expand...
Click to collapse
I couldn't figure it out, but this really helped me out. I'm gonna keep trying. Thanks again!
studacris said:
What's the icon scheme of that Rom?
It could add simple as swapping images... or way more involved. I'm guessing it's like aosp (the way it should be)
E= 2g
3g= 3g
H= hspa+ (what north American carriers falsely label as 4g)
4g=lte
Are you wanting?:
4g= hspa+
4g lte= lte
That's just a few image swaps in the systemui.apk you can do that with 7zip without having to decompile it.
Click to expand...
Click to collapse
This is very cool.
I'm using ES File Explorer and GIMP to do my editing of .png files.
I've gotten as far as changing the .png images, copying the files back to my internal sd card, compress the files and rename to: SystemUI.apk
My problem is that I can't install SystemUI.apk from my sdcard, and I can't copy the SystemUI.apk to the folder: \System\app where the original SystemUI.apk is located.
What do I do now?
Ok you need to add the images to the apk on your pc not within the phone then paste the entire apk into /system/app
there's usually a setting in the explorer's settings to mount the system read/write. It's read/only by default which is why you can't paste there.
But by there sounds of it the apk could be broken.
You can do some independent research and make a flashable zip to avoid some of the redundant copy/paste
Better still would be to simply use adb to push and pull apps hither and thither
If it crashes the way you're doing it
Start over this way:
(Still using the copy/paste method you are)
Go to system/app and copy systemui.apk
Paste in sdcard
Mount and copy to pc
Use 7zip to pull out the /res/drawable-xhdpi (assuming your running stock dpi)
Edit your images.
Drag and drop new images into place in apk.
Copy newly edited apk to sdcard
Copy from sdcard to /syste/app
This is the baby steps to making themes
Just dig in and play once you get more familiar comes the fun stuff
Decompiling apks to make code edits
I am looking forward to your success, GQ!
Good instructions, cris. I'm going to give this a go -- good challenge.
rangercaptain said:
I am looking forward to your success, GQ!
Good instructions, cris. I'm going to give this a go -- good challenge.
Click to expand...
Click to collapse
Done yet?
Do we have some new themers coming up? Easiest way to start doing is to take on a simple task like this.
Great help Studa ...
Sent from my Big Ass Outlaw Phone
Bubbajoe40356 said:
Do we have some new themers coming up?
Click to expand...
Click to collapse
No sir. Its a tempting thought, but I just follow others' coattails.
Lemme just clarify, those instructions are for:
EDITING AN EXISTING IMAGE IN THE APK
NOT ADDING ENTIRELY NEW IMAGES.
Adding new images requires telling the coding where to look for it which requires decompilation.
Much more involved.
Hey Studacris!
Ok, I tried it your way.
Go to system/app and copy systemui.apk
Paste in sdcard
Mount and copy to pc
Use 7zip to pull out the \res\drawable-xhdpi (assuming your running stock dpi)
Edit your images.
Drag and drop new images into place in apk.
Copy newly edited apk to sdcard
Copy from sdcard to \syste\app
I'm using ES File Explorer and I'm at the point where you state: Copy from sdcard to \system\app
When I try to copy the file I get Permission Denied.
-
I tried ROM Toolbox Pro root file manager and it copied, auto rebooted my phone and then I lost my background and now the status bar doesn't show up. =\
----------------------------------------------------------
So what I did to get it to work!!!
I downloaded the ROM I was using to my computer, and unzipped the ROM (I was using Unofficial SlimBean Build 5) to a new folder.
Then went into the new folder: \system\app folder and copied the SystemUI.apk to another folder: SystemUI
In SystemUI folder, I opened the SystemUI.apk file with 7zip and went to res\drawable-xhdpi folder and edited files:
stat_sys_data_connected_4g.png
stat_sys_data_fully_connected_4g.png
Put those files in the SystemUI.apk back where I got them.
Copied my edited SystemUI.apk back into the unzipped rom folder \system\app and overwrote
Rezipped the entire ROM and copied to my SDCard. Then copied from my SDCard to my External Card.
Rebooted to Recovery and flashed the ROM. Rebooted to System.
Voila! I'm seeing LTE instead of 4g!
THANKS SO MUCH STUDACRIS!
Fox Alpha! Nicely done, lads.
Good job man
Great job. Studa has taught a man to fish. Nicely done.
Sent from my Big Ass Outlaw Phone
Now he can eat icons everyday for life.
Another Disney story here at xda.
Sweeeeeeeet!!!!!
Time for the JB update. It has LTE icons.
rangercaptain said:
Time for the JB update. It has LTE icons.
Click to expand...
Click to collapse
I'm too scared to update though because I'll lose my ability to get LTE I think. The 4.0.4 versions have been the only roms that i can get LTE with.
Related
I dusted off a script I had been working on to allow easy customization on my original EVO.
It all still works on my rooted Evo 3D without many changes!
The script automates the use of adb. Downloads and decompiles the frameworks from your evo/evo 3d. Then you can make any desired changes (examples provided). Recompiles and uploads back to device.
Offering it for people to play with. I also included precompiled framework-res.apk and SystemUI.apk for those that like my choices. Otherwise use the script and create your own.
Enjoy
NEW! 1.1 Beta. Now creates flashable update zips
Beta update posted for new OTA
After recompiling your frameworks select option 5 from the Main Menu. An update.zip will be created in a directory called "flash" Try it out and please give feedback.
1 - Extract GingerScript to a folder on your desktop.
2 - Connect your phone via USB cable to your computer.
3 - Open the GingerScript folder you created and doubleclick on GingerScript.bat.
4 - Select item 1. (Process Framework-res.apk) This will download your framework-res.apk as well as create a back up in the /tools folder. When prompted, select yes to decompile this framework. This will create a folder called extracted-framework.res.
5 - This is where it gets tricky. Inside the extracted-framework.res folder, there is a folder called res. Inside THAT folder are multiple directories. The two you are concerned with are marked drawable and drawable-hdpi. *NOTE* In some builds the "drawable-hdpi" folder is named "drawable-hdpi-v4" Thats why it's best to modify your own framework.
6 - In the GingerScript folder, we will work with the Example.Icon.Framework-res.Circle.Battery folder. In this folder, you will find two directories: drawable and drawable-hdpi. Copy and paste the contents of the two directories from the Example folde into the corresponding folders in the extracted-framework.res/res directory. This may overwrite some of the files in each directory. This is okay!
7 - Go back to the script; it should still be on the gray screen. Select option 3 - recompile framework. This will take a minute or two so go grab a drink while it does its magic. It will seem to be hung; I don't have a progress bar created in the script so just hold tight while it finishes.
8 - Next, select option 4 - Upload new framework to phone. This will prompt you to put the phone in recovery mode; I'm not going to explain that part. Once the phone is in recovery mode Mount the /system partition using the recovery mount feature then press any key in the script window to push the file to your phone.
9 - At this point, clear the Dalvik Cache at a minimum and press a key once finished. the phone will reboot. Now, this provides the battery mod. To modify the other status bar icons, return to the main Menu and select option 3 to modify the systemUI.apk. The process is EXACTLY the same as the framework-res.apk but it uses the contents of the Example.Icons.SystemUI.mod directory. If problems occur, recover the backups from the /tools directory and push them to your phone.
I hope this helps. If you are still running into issues, please post what step you having issues with and remember, black and white goes with everything! *grin*
Do you install the apps or push them with abd, a little more clarity on how to install
Sent from my PG86100 using XDA App
dog44 said:
Do you install the apps or push them with abd, a little more clarity on how to install
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Extract the Gingerscript.zip on your Windows PC with your phone connected via USB.
Inside the folder double click on Gingerscript.bat. It's fairly easy to figure out from there, It creates a backup of the files before modification as a safety precaution. This just makes all of the framework compiliing/decompiling less of a hassle
Everything needed is in the zip file so you will need nothing except a text editor and a program to manipulate the png images. There are example folders in the zip that contain my modified png images and edited xml files
Note: The script references the use of Clockwork Mod Recovery, but TWRP works just as well. Just clear the Dalvik cache after uploading the framework. Then Reboot. I'll clean up the scripts wording at a later date
I will give it a shot here in a minute, and I will let you know how well it works.
I like your icons. Which APK does what?
The framework-res.apk contains the battery mod and a few minor icons. The rest of the status bar icons are in the SystemUI.apk.
The com-htc.resource.apk wasn't modified in my example, but it does contain images.
I wish there was a easy way to determine what resources are used but there isn't. Some status icons are located in the individual applications resource file as well (My script can't handle those)
I'm going to give this a go in a little bit when I can. Can anyone else confirm their success and any additional steps required (eg - clearing cache and dalvik). Thanks.
Can you please make a clear taskbar...thanxs
Can you make it simple zip file? so I can just flash it.
Thx
one up on this i like your blue battery ya got there, can ya make a zip for us
to flash please?
justwonder said:
Can you make it simple zip file? so I can just flash it.
Thx
Click to expand...
Click to collapse
That didnt work
Can you make a stock % battery?
Send from my Rooted HTC Evo 3D
nabbed said:
That didnt work
Click to expand...
Click to collapse
What part of "That" didn't work?
townsenk said:
What part of "That" didn't work?
Click to expand...
Click to collapse
After pushing the files, wiping dalvik cache, and rebooting, there was no status bar at all.
This is viper rom rc1.1, netarchy test3 kernel.
jayjay7411 said:
one up on this i like your blue battery ya got there, can ya make a zip for us
to flash please?
Click to expand...
Click to collapse
I've never been successfull creating a update.zip. I can never seem to get the syntax correct on the update-script.
If someone more experienced wants to create one, I'd love to take a look at it and see what I'm doing wrong.
nabbed said:
After pushing the files, wiping dalvik cache, and rebooting, there was no status bar at all.
This is viper rom rc1.1, netarchy test3 kernel.
Click to expand...
Click to collapse
Did you modify *Your* framework files or use the ones provided? The ones I used as examples are from a stock rom that is still odexed
I recommend you modify a copy of your own framework files since there may have been changes in the viper rom. It should still work. If you want you can send me a copy of your unaltered framework files and I can take a look.
mexiking713 said:
Can you make a stock % battery?
Send from my Rooted HTC Evo 3D
Click to expand...
Click to collapse
That requires the creation of about 60 new icons.
Easier method. Find me the icons..or even a Original Evo mod package and I can extract the icons from that.
townsenk said:
Did you modify *Your* framework files or use the ones provided? The ones I used as examples are from a stock rom that is still odexed
I recommend you modify a copy of your own framework files since there may have been changes in the viper rom. It should still work. If you want you can send me a copy of your unaltered framework files and I can take a look.
Click to expand...
Click to collapse
Ah! Viper is deodexed, so there's the problem right there.
Ill try to modify...
I have stock rom, if I do Push command and restart it should work right?
adb push new_SystemUI.apk /system/app/SystemUI.apk
adb push new_framework-res.apk /system/framework/framework-res.apk
justwonder said:
I have stock rom, if I do Push command and restart it should work right?
adb push new_SystemUI.apk /system/app/SystemUI.apk
adb push new_framework-res.apk /system/framework/framework-res.apk
Click to expand...
Click to collapse
That is correct - You'll still have to wipe the Dalvik and let it rebuild on boot
Let me know if it works for you
If the battery icons are just png files, couldn't I create my own images in photoshop and replace the framework-res.apk files with my custom icons? If so, does anyone know the typical dimensions for the png images? I replaced my original battery with the ICS battery thanks to a suggestion of using NinjaMorph.
You can extract the framework-res. Apk from the system folder. Tinker around with what you find inside it. Use 7zip to modify the zip without having to resign it.
Now, flashing the update zip is not going to be easy without recovery. But you can assess png dimensions, and tinker with modding them meanwhile. It's a hobby of mine also
Sent from my HTC ThunderBolt using XDA Premium App
Sean Hicks said:
You can extract the framework-res. Apk from the system folder. Tinker around with what you find inside it. Use 7zip to modify the zip without having to resign it.
Now, flashing the update zip is not going to be easy without recovery. But you can assess png dimensions, and tinker with modding them meanwhile. It's a hobby of mine also
Click to expand...
Click to collapse
Thanks. I used the ICS battery info that I have now which was 25x25 png images and created my own battery images and animations, but when I use NinjaMorph to resign the apk nothing happens on reboot. Not sure if the sizing is off or what. So when you use 7zip you just flash the new zip in recovery? Can't seem to find the apk for 7zip
Click to expand...
Click to collapse
boyj600 said:
Sean Hicks said:
Thanks. I used the ICS battery info that I have now which was 25x25 png images and created my own battery images and animations, but when I use NinjaMorph to resign the apk nothing happens on reboot. Not sure if the sizing is off or what. So when you use 7zip you just flash the new zip in recovery? Can't seem to find the apk for 7zip
Click to expand...
Click to collapse
When you use NinjaMorph, make sure to 'finish' the project by clicking on the button, then on the project. Also, make sure the files were named exactly the same and were replaced. The battery icons used in the framework-res.apk were the ones names like such:
stat_sys_battery_bn_40.png
stat_sys_battery_bn_60.png
stat_sys_battery_bn_80.png
etc....
Click to expand...
Click to collapse
I'm piggybacking on this thread, but I have a question about replacing the battery images.
I've got the images (from this post: http://forum.xda-developers.com/showpost.php?p=21003708&postcount=10), but when I open the the image folder (with NinjaMorph) in framework-res.apk/res/drawable, I can't find the corresponding image files.
In that folder, where I thought the battery images were, I have a few .xml files (stat_sys_battery.xml, stat_sys_battery_bn.xml etc) and only 2 .png files (stat_sys_battery_charge_anim6.png and stat_sys_battery_charge_anim7.png).
Am I in the wrong place, or where have I messed up along the way? Thanks in advance for any replies.
as far as image sizes go mine are 38x38 png files and they work fine. i have used several different sets without fail. also to save time you dont have to change the images, just the ones with the "bn" in the name.
also if you are doing all this on a computer you can download metamorph from the market, there is a free and paid version, and you can create the file path to the images using correctly named folder in a zip file and use metamorph to auto install. i have not tried this method myself but it should work.
@topched in ninjamorph start a new project, go to system > framework > framework-res.apk > res > drawable-mdpi, scroll down till you see the battery images.
also if you wanted to create the metamorph the file path is framework-res > res > drawable-mdpi
and if you wanted to change your wifi meter to match your battery meter, like i do, the path is system > app > SystemUI.apk > res > drawable-mdpi
metamorph filepath would be SystemUI > res > drawable-mdpi
iirc its in drawable-mdpi
Edit: oops didnt see the last reply.
Sent from my HTC EVO 3D X515m using xda premium
Once you rezip the framework-res.apk, you can use adb to replace it as well.
adb devices
adb remount
adb push c:\location of apk file /system/framework/framework-res.apk
adb reboot
That will allow you to change the images without recovery. though I think nearly everyone has recovery now anyhow.
Also note, you want to replace the images into the framework-res.apk file without extracting it. open it with winrar or 7zip, navigate to the drawable-mdpi folder, drop images in and click ok on adding/altering the file. Then push it back.
Ok I finally got the icons replaced after tinkering and trying the suggested methods. Thanks for all of the input and direction. This is my Android battery. Pretty basic, but something I thought might look cool.
Know-Fear said:
Once you rezip the framework-res.apk, you can use adb to replace it as well.
adb devices
adb remount
adb push c:\location of apk file /system/framework/framework-res.apk
adb reboot
That will allow you to change the images without recovery. though I think nearly everyone has recovery now anyhow.
Also note, you want to replace the images into the framework-res.apk file without extracting it. open it with winrar or 7zip, navigate to the drawable-mdpi folder, drop images in and click ok on adding/altering the file. Then push it back.
Click to expand...
Click to collapse
i turn the zip into an apk and edit the images using ninjamorph
kcpaynev1 said:
i turn the zip into an apk and edit the images using ninjamorph
Click to expand...
Click to collapse
Ninjamorph has really been hit or miss with me. I have always used ninjamorph and metamorph before that with high rates of success. On the NT, it seems like it will work sometimes, and other times it does nothing. I noticed it mostly with the menu.background.png trying to alleviate the white on white issue. I replaced the image at least 20 times and it did nothing. Finally I just gave up on it and pushed the new .apk with adb and it was done.
Know-Fear said:
Ninjamorph has really been hit or miss with me. I have always used ninjamorph and metamorph before that with high rates of success. On the NT, it seems like it will work sometimes, and other times it does nothing. I noticed it mostly with the menu.background.png trying to alleviate the white on white issue. I replaced the image at least 20 times and it did nothing. Finally I just gave up on it and pushed the new .apk with adb and it was done.
Click to expand...
Click to collapse
Only time I have issues is when I forget to turn on usg debugging after a reboot
Sent from my Nook Tablet using Tapatalk
Know-Fear said:
Ninjamorph has really been hit or miss with me. I have always used ninjamorph and metamorph before that with high rates of success. On the NT, it seems like it will work sometimes, and other times it does nothing. I noticed it mostly with the menu.background.png trying to alleviate the white on white issue. I replaced the image at least 20 times and it did nothing. Finally I just gave up on it and pushed the new .apk with adb and it was done.
Click to expand...
Click to collapse
I was having this issue but used ninjamorph combined with 7zip on my pc and the two worked together flawlessly
boyj600 said:
If the battery icons are just png files, couldn't I create my own images in photoshop and replace the framework-res.apk files with my custom icons? If so, does anyone know the typical dimensions for the png images? I replaced my original battery with the ICS battery thanks to a suggestion of using NinjaMorph.
Click to expand...
Click to collapse
heres an example on how to edit the files in framework-res.apk.
what i did was extract the Battery.png's into a folder, then i edit them in paint, then i use photoshop to make the background transparent because paint saves them with a white background. im doing em 1 by one. its very time consuming. once i am done editing them, i will move them back into framework-res.apk (Hopefully overwriting the other files of the same name).. then from there, im still looking on how to create a flashable zip.
NOTE: i always save them with the same name as when they were extracted from framework-res.apk
funnyangrykid said:
heres an example on how to edit the files in framework-res.apk.
what i did was extract the Battery.png's into a folder, then i edit them in paint, then i use photoshop to make the background transparent because paint saves them with a white background. im doing em 1 by one. its very time consuming. once i am done editing them, i will move them back into framework-res.apk (Hopefully overwriting the other files of the same name).. then from there, im still looking on how to create a flashable zip.
NOTE: i always save them with the same name as when they were extracted from framework-res.apk
Click to expand...
Click to collapse
Let me know if you figure out the flashable zip. I've been wondering about that.
boyj600 said:
Let me know if you figure out the flashable zip. I've been wondering about that.
Click to expand...
Click to collapse
will do.
i found this. http://forum.xda-developers.com/showthread.php?t=732957 this is new to me so im gonna test it on my phone first before i share it.
funnyangrykid said:
i found this. http://forum.xda-developers.com/showthread.php?t=732957 this is new to me so im gonna test it on my phone first before i share it.
Click to expand...
Click to collapse
Sweet! I may give this a run when I get a chance. I'm trying to theme my HTC Rezound with a custom battery and anything else I can tinker with. Thanks.
So, I'm desperate for some signal/Wi-Fi/data icons I found in a theme for another S4 variant, and was wondering if anybody out there would be able to assist me in getting them to the VZW side. I have all files that should be needed, like I said, just need somebody to work their magic with the files for the vzw variant. It's just for personal use only! PM me if you can help please
Proweedsmoker said:
So, I'm desperate for some signal/Wi-Fi/data icons I found in a theme for another S4 variant, and was wondering if anybody out there would be able to assist me in getting them to the VZW side. I have all files that should be needed, like I said, just need somebody to work their magic with the files for the vzw variant. It's just for personal use only! PM me if you can help please
Click to expand...
Click to collapse
pull SystemUI.apk from you phone to your computer. ( i use root explorer to move it to my SD card, then connect the phone to the computer as a disk drive.)
unzip SystemUI.apk using 7zip
navigate to res/drawable-xhdpi
replace the icons you want
drag your modded res folder back into the untouched SystemUI.apk
copy back to phone, set permissions, reboot, profit.
Wasting a couple hours on this, trying to figure it out and finally have. Rather than use iFont or something, I wanted to figure out how to make default system fonts for my daily driver--BarRin v3 currently. I edited the system_fonts.xml file and added some fonts, changed some file names, and got it working.
Includes: AlteHaas, AnkeSans, Azbuka06, Bitstream, Caviardreams, Comfortaa, DejaVuSans, MgOpenModerna, MuseoSans500, SuiGeneris, Ubuntu, Zrnic for now.
So here's what you need to do if you want to add system changeable fonts to stock ZV6 and BarRin:
1. Download and unzip attached HyFonts.zip
2. Using a file explorer w/ root (I personally like FX File Explorer but whatever works for you), copy and paste all the fonts from HYFonts folder to system/fonts after making system writable
3. copy the system_fonts.xml in HYFont folder to system/etc overwriting current one, change system back to read only
4. reboot
Profit
Enjoy
LTE to 4G icon
Got tired of looking at the "LTE" on statusbar, did some research including changing build prop and didn't like it (ie ro.build.target_county: US ro.build.target_operator: VZW). Changing Sprint's network icon png's for 3/4G would be too time consuming, so I changed only two icons that account for the the "LTE" on statusbar in LGSystemUI.apk, the rest of the icons are stock. Did not require any decompiling/recompiling, just replaced two png's after properly sizing/positioning them using GIMP and paint.net from an image found w/ google.
4G as seen in screenshot instead of LTE. For those that are interested download and extract zip file, copy/paste LGSystemUI.apk to device's system/priv-app w/ root explorer, reboot, profit
More 4G choices
here is another LGSystemUI w/LTE icon changed to 4G, screenshot of SPR version only, also attached are ATT 4G w/LTE letters, ATT 4G (noLTE letters). Follow instructions from post #2
Edit: sorry png images not showing up, just google att 4g icon for image
Thank you for the post! I had a thread over in Q&A looking for this information.
Just to verify, these fonts will show up in the stock font picker? And do I replace the existing system_fonts.xml with the new one or just copy the new one alongside the existing one?
Pierceye said:
Thank you for the post! I had a thread over in Q&A looking for this information.
Just to verify, these fonts will show up in the stock font picker? And do I replace the existing system_fonts.xml with the new one or just copy the new one alongside the existing one?
Click to expand...
Click to collapse
Replace the existing one with one from post. Here's a screenshot
@Valsorim Have you by any chance looked to see if this works for ZV8?
Pierceye said:
@Valsorim Have you by any chance looked to see if this works for ZV8?
Click to expand...
Click to collapse
Not yet, at work tonight, can check tomorrow
Edit: So tried adding fonts to ZV8, it's a no go for me. I will try to look at it soon, but not really liking stock ZV8, so sticking w BarRin v3 for now
My question is simple. I am trying to use Tmobile HSPA+ indicator network for Galaxy S4/S5, which is a 4G icon, on another Carrier Galaxy S5, in my case Sprint, which has a 3G icon for HSPA+.
My first thought was to change the ro.product.name and ro.product.device properties from the build.prop file to kltetmo, which is the value that tmobile galaxy s5 has, and this worked as I was getting the TMobile 4g icon, but a popup message saying "unfortunately itson has stopped" showed up every second.
I got that idea from this post
I have also have been reading this and this but they are trying to change the whole status bar.
Is there a way to do this? Can I just change a file name and make this work? What can I do to accomplish this.
thanks.
locorecto said:
My question is simple. I am trying to use Tmobile HSPA+ indicator network for Galaxy S4/S5, which is a 4G icon, on another Carrier Galaxy S5, in my case Sprint, which has a 3G icon for HSPA+.
My first thought was to change the ro.product.name and ro.product.device properties from the build.prop file to kltetmo, which is the value that tmobile galaxy s5 has, and this worked as I was getting the TMobile 4g icon, but a popup message saying "unfortunately itson has stopped" showed up every second.
I got that idea from this post
I have also have been reading this and this but they are trying to change the whole status bar.
Is there a way to do this? Can I just change a file name and make this work? What can I do to accomplish this.
thanks.
Click to expand...
Click to collapse
Should be just a PNG or qmg file name exchange.
Tulsadiver said:
Should be just a PNG or qmg file name exchange.
Click to expand...
Click to collapse
Ok. Attached is the SystemUI.apk. Maybe somebody can lead me in the right direction. Thanks Tulsadiver for the suggestion.
What does your emblem say? 3G+?
Try replacing your systemui with this one and see if anything changed. Backup your system first.
Tulsadiver said:
What does your emblem say? 3G+?
Try replacing your systemui with this one and see if anything changed. Backup your system first.
Click to expand...
Click to collapse
Good news, I was able to do this .
Tulsadiver, thanks for the help. My system says 3G when is connected to HSPA+. I was able to change the icon by simply renaming and changing a couple files. I had to try and guess as I couldn't find a viewer for qmg files but I was finally able to acomplish what I wanted. I will post the step by step a bit later. I am going to do the same thing for my S4 L720T as well since it has the same indicator bar.
I used the file stat_sys_data_connected_4g_tmo.qmg and gave it the name of all the follwing files in order to get this "working"
-SystemUI.apk\res\drawable-xxhdpi\stat_sys_data_activity_spr_[nn].qmg (nn from 01-12 )
-SystemUI.apk\res\drawable-xxhdpi\stat_sys_data_activity_spr_idle.qmg
-SystemUI.apk\res\drawable-xxhdpi\stat_sys_data_connected_3g_spr.qmg
Thanks again
Well, I am back because I am now experimenting some difficulties. I was able to do what I have posted on the OP on one phone. However, when I tried to replicate the same fix for another GAlaxy s5 with the same model and same build number as the one I fixed, sytemUI.apk is not rendering. It looks like when I change the file name inside the SystemUl.apk the signature of the apk changes and the system picks that. So when I restart the system, I get no status bar.
Is there any way I could fix go around this issue?
Well, I have investigated a bit more came across this post where it give you an idea on how to decomplile, edit and re-compile systemui.apk using a tool called Apktool. However, it looks like this is not working for my galaxy s5.
And the problem seems to be related to the signature of the file. As a matter of fact, I tried decompiling and re-compiling the systemui.apk without changes and the signature was different therefore my phone wasn't picking it up. So I am either doing something wrong or this apktool is not working for the galaxy s5.
Another weird things is, why in the world my first phone I just went into the SystemUI.apk file with 7zip and made all my changes and the apk worked just fine without compiling or decompiling. They are exactly the same phone model with the same software version, both rooted. This was really weird.
Tulsadiver said:
What does your emblem say? 3G+?
Try replacing your systemui with this one and see if anything changed. Backup your system first.
Click to expand...
Click to collapse
That didn't work bro. It looks like the signature was changed.
locorecto said:
Well, I have investigated a bit more came across this post where it give you an idea on how to decomplile, edit and re-compile systemui.apk using a tool called Apktool. However, it looks like this is not working for my galaxy s5.
And the problem seems to be related to the signature of the file. As a matter of fact, I tried decompiling and re-compiling the systemui.apk without changes and the signature was different therefore my phone wasn't picking it up. So I am either doing something wrong or this apktool is not working for the galaxy s5.
Another weird things is, why in the world my first phone I just went into the SystemUI.apk file with 7zip and made all my changes and the apk worked just fine without compiling or decompiling. They are exactly the same phone model with the same software version, both rooted. This was really weird.
Click to expand...
Click to collapse
Did you replace the meta-inf and android manifest with the original ones after recompiling?
yes, I did
I changed the quick setting toggles and status bar WiFi and data icons by exchanging them in root explorer.
I did just that on the first phone that I had and It worked, but on the second phone, I tried the same think, (Change the icon) and it doesn't work no matter what I do.
I was just reading about odexed and deodexed apps and I see that for the systemUI.apk there is a sytemUI.odex. Could that be the reason why my modified apk is not working? Do I need a Deodexed Rom in order to accomplish this?
locorecto said:
I was just reading about odexed and deodexed apps and I see that for the systemUI.apk there is a sytemUI.odex. Could that be the reason why my modified apk is not working?
Click to expand...
Click to collapse
Could be though I was able to change toggles on a odexed ROM. My understanding is that a ROM must be deodexed before you can properly decompile and edit it. I don't know if this root explorer would make a difference but it is the only one I've used for many years. I hardly use a PC anymore. You might give it a try. Go into the configuration and change root access to super user level. It is a duel pane window. They are duplicates of one another. Long press any apk and there is an option of opening the file as a zip.
Tulsadiver said:
Could be though I was able to change toggles on a odexed ROM. My understanding is that a ROM must be deodexed before you can properly decompile and edit it. I don't know if this root explorer would make a difference but it is the only one I've used for many years. I hardly use a PC anymore. You might give it a try. Go into the configuration and change root access to super user level. It is a duel pane window. They are duplicates of one another. Long press any apk and there is an option of opening the file as a zip.
Click to expand...
Click to collapse
Ok, I will try that when I get home. I will keep you posted. Thanks again for your help.
Tulsadiver said:
Could be though I was able to change toggles on a odexed ROM. My understanding is that a ROM must be deodexed before you can properly decompile and edit it. I don't know if this root explorer would make a difference but it is the only one I've used for many years. I hardly use a PC anymore. You might give it a try. Go into the configuration and change root access to super user level. It is a duel pane window. They are duplicates of one another. Long press any apk and there is an option of opening the file as a zip.
Click to expand...
Click to collapse
Well, that didn't work. I even installed a de-odexed rom and its doing the same thing, it's not recognizing the SystemUI.apk as a valid apk most likely because of its signature. Even if I move the file outside /system rename it and move it back, the app doesn't work.
I am clueless here.