Use Tmobile Network Speed Indicator on Galaxy S5 - Galaxy S 5 Themes and Apps

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.

Related

editing the framework-res.apk

Sorry if I missed the answer I'm looking for but I did search first, I tried editing a few .png files and after pushing the framework-res.apk back everything on my phone went into a force close loop, I tried pushing the original back and it did the same thing, any help?
I tried editing a PNG file the in call screen pic and pushed it to phone and same thing happened to me,no idea why
After you edit framework-res it must be signed you cannot simply flash it, first you must edit the images you choose, make sure the names stay the same, make it an apk, sign the apk, the reload in the rom by pushing it.
Cheers,
Captainkrtek
Pm if you need help
How do you go bouts signing it
I've never had to resign that one after making any changes. Just a reboot would suffice.
Edit: Maybe try using Metamorph to make your changes. That's what I did recently on that particular apk without a problem. I mistakenly thought I pulled/pushed that one, but maybe I didn't.
PPCGeek01 said:
I've never had to resign that one after making any changes. Just a reboot would suffice.
Edit: Maybe try using Metamorph to make your changes. That's what I did recently on that particular apk without a problem. I mistakenly thought I pulled/pushed that one, but maybe I didn't.
Click to expand...
Click to collapse
heres a good instruction for theming and a singningzip for your sdk tools folder... http://forum.cyanogenmod.com/topic/56-mods-blackbar-etc-50x/page__st__20__p__3320#entry3320

[THEME] CherryBlur v2.0 for GingerBlur v4 pROM (4.1.83)

First and foremost, before installing this ZIP through Tenfar's recovery, you MUST have GingerBlur v4 already installed!
GingerBlur files/instructions can be found HERE!
* Please DO NOT ask for assistance with rooting or installing GingerBlur in this thread, follow the link above and ask there!
**THIS HAS ONLY BEEN TESTED BY ME (ON MY OWN HANDSET) USING GINGERBLUR v4 (4.1.83 based)**
This theme is a compilation of graphics both original by me and from MANY other themes including:
Watermark'd
ShadowFrost
URBaN
ProDX Red
Criskelo ROM for I9000
I DO NOT ACCEPT DONATIONS! If you like my work please follow the hyperlinks for the original sources and donate there!
* Special thanks to DesignGears and kennethpenn for providing me assistance in editing some of the system files!
THEME FILES DOWNLOAD
*MultiUpload Link this time, 4shared has been flakey lately
Reserved (10char)
[EDIT] Running this with GingerBlur 4.5 - working great with NO issues..
Nice work man!! This looks great!!
Thanks! I JUST finished updating the OP with install instructions and I also attached a RAR file with the dock/icons to use if you wanted to make LauncherPro look just like it does in the screenshots.
Also, while I like red and/or blue themes, my wife likes purple so I'll probably be working on a GrapeBlur theme next.
If anyone tries pushing these files to a release other than 4.1.57 (such as Adeo or Gingerblur based on 4.1.52) I would be interested to know the results!
Looks great sir, thanks for the work.
Looks great man, thanks for putting this together. One question though, is it posible to make a blue theme as I love blue!
Thanks for great work! One question though, any errors during the deodexing process?
shady_lanem said:
Thanks for great work! One question though, any errors during the deodexing process?
Click to expand...
Click to collapse
I had one error, I think it was on PhotoEditor.apk and PhotoEditor.odex. I've seen or used a built-in photo editor so I just removed those then restarted the deodex process for apps and it completed successfully.
just tried deodexing and yes, getting the same errors from the two apks as well. Ok thanks for the heads up will try again
Successfully applied the theme!
Found 1 bug. The clock in notification bar is black in mine instead of white. Any idea why?
This might be a nobrainer but, if I change the icon files inside the apk and then push it to my phone will it still work? In this way will I be able to make my own 4.1.57 themes?
hey.. i am sorry to ask this how am i suppose to install the grapeblur and the launcherpro.. i have no idea .. i am soo sorry to ask such a dum question.. but this is my first time with an android
okay I may be kinda slow how do I make use of the launcherpro files?
hey how would you install cherryblur in the first place.. i have my phone deodexed and all but having trouble knowing how to install cherryblur...
Beautiful theme and I love battery icon... what clock app are you using?
Sent from my MB860 using XDA Premium App
You added a few icons to the /drawable-hdpi directory. Do you actually use them via the xml files, or are they just remains of whatever framework-res.apk you used?
txtsd said:
This might be a nobrainer but, if I change the icon files inside the apk and then push it to my phone will it still work? In this way will I be able to make my own 4.1.57 themes?
Click to expand...
Click to collapse
yes
just get framework-res.apk, back it up, open it with winrar.
drag and drop the files, of the same name, that you would like to replace into the open winrar window. choose normal and 'add and replace', then close the window to save. replace the one in system/framework with your modified version.
Be sure to set the priviledges correctly after you copy into system/framework.
They should match the original, full read and user write.
Thats how I made this.
Edit: Every time I replace the framework-res.apk I lose my google, twitter, and facebook accounts. Anyone know why, all I'm doing is replacing images.
Nottach said:
yes
just get framework-res.apk, back it up, open it with winrar.
drag and drop the files, of the same name, that you would like to replace into the open winrar window. choose normal and 'add and replace', then close the window to save. replace the one in system/framework with your modified version.
Be sure to set the priviledges correctly after you copy into system/framework.
They should match the original, full read and user write.
Thats how I made this.
Edit: Every time I replace the framework-res.apk I lose my google, twitter, and facebook accounts. Anyone know why, all I'm doing is replacing images.
Click to expand...
Click to collapse
oh nice!
Yea I did the same. Just used 7zip instead of crappy winrar. Didn't check for permissions though, I'll do that tomorrow.
txtsd said:
You added a few icons to the /drawable-hdpi directory. Do you actually use them via the xml files, or are they just remains of whatever framework-res.apk you used?
Click to expand...
Click to collapse
Correct, just remains. Possibly for future use as well
DKRussell said:
Beautiful theme and I love battery icon... what clock app are you using?
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
That is Beautiful Widgets in the Android Market. I forgot the name of the actual skin I'm using with it though, I'll reply to your PM later this morning.
anirudh15891 said:
hey how would you install cherryblur in the first place.. i have my phone deodexed and all but having trouble knowing how to install cherryblur...
Click to expand...
Click to collapse
The instructions are on the first page, but you need to be at least somewhat familiar with adb.
blaque72 said:
okay I may be kinda slow how do I make use of the launcherpro files?
Click to expand...
Click to collapse
When you long press on any of the icons in the dockbar of LauncherPro you should see an option to change the icon. You need to have the icons/dock I attached saved to your sdcard ahead of time so you can choose "custom" for the icon and select the graphic you want to use.
For the dock you go to Menu -> Preferences -> Appearance -> Dock Background
* Pretty sure that's correct, but my phone is in on the charger in my bedroom where my wife is sleeping so I don't want to accidentally wake her up.

[Q] Removal of Verizon Backup Assistant Plus from Accounts Setting

Hello xda forum!
This is my first post, so please forgive me if I am doing anything wrong.
Probably like others who frequent this forum, the second I got my S4, I immediately rooted the phone and tried to delete all the Verizob/Samsung bloatware using Titanium Backup. This went without hitch, BUT there was one problem: Backup Assistant Plus.
I have completely uninstalled the Backup Assistant Plus app itself, but the uninstall did not get rid of the "Backup Assistant Plus" icon from the "Accounts" menu in the settings. Now the button just causes the settings to force close and annoys me to now end. I have attached a screenshot of my settings to be clear as to what I am talking about.
I have googled the problem, and see that the owners of the Galaxy S3 have solved the problem by modding the secsettings.apk on this thread
http://forum.xda-developers.com/showthread.php?t=1814099
However, the thread does not provide any explanation as to how the modder did it, so I was not able to reproduce it on the S4.
Can anyone help quell my ocd and give advice on getting rid of the menu?
Thanks in advanced!
It is indeed in secsettings. Do you know how to decompile and recompile apks?
sent from my Verizon Galaxy s4
Dubbsy said:
It is indeed in secsettings. Do you know how to decompile and recompile apks?
sent from my Verizon Galaxy s4
Click to expand...
Click to collapse
Hello, thanks for replying!
I have read about the process while scouring the forums, but have never actually had a reason to try it
I am a quick learner though and know how to program, so if it requires decompiling and recompiling, I think I'd be fine.
TheChoBro said:
Hello, thanks for replying!
I have read about the process while scouring the forums, but have never actually had a reason to try it
I am a quick learner though and know how to program, so if it requires decompiling and recompiling, I think I'd be fine.
Click to expand...
Click to collapse
Head over the android development section and download whichever apktool/apkeditor/decompile+recompile tool you want. I use Rujelus22's AIO Script personally but they all work.
You'll need SDK and JDK downloaded. You'll need 4.2.2's SDK branch downloaded. Installed and path setup correctly(you'll find that info while gathering the tools). Then you'll need 7zip and notepad++(a modified notepad++ is included in Ruj's AIO)
While at it decompile the framework-res.apk, systemui.apk, and settingsprovider.apk. You may want to dig in those as well to pick out lingering VZW services.
When you go to decompile make sure your AAPT in your SDK folder is in platform-tools folder. Make sure it's up to date. Make sure you are using whatever the latest apktool is. If using the Ruj AIO it will walk you through setup. But if you go about the more manual methods you will need to install your framework-res and tw-framework-res files so that it can decompile and recompile correctly.
Be careful what you delete and what you modify. Fair warning, you will likely boot loop the first few times. You also will probably find recompiling will error out often. That's because when it decompiles it sometimes drops neccesary symbols that need to be in the files in order to pack back up. For systemui specifically there was a missing + sign from a bunch of strings. When you run across these errors, read your log, and then google search... 9 times out of 10 you will find something of use to correct the issue.
:good:

[Q] How to disable Tethering on a S3

Hi
Please can anyone help me to DISABLE tethering on the S3. I want all types: USB, WiFi hotspot and Bluetooth Tethering disabled but for the mobile still to be able to use data for other apps like WhatsApp etc. Its to disable access to the internet for a minor (I have removed the browser applications already but there are computers in the house that can be connected via these other routes and the kids these days are sharp ).
Any help would be appreciated.
Thanks
Mark
Just go to the notification panel and disable them from there i know this is not that helpful but i tried to be
Sent from my GT-I9300 using XDA Premium 4 mobile app
With a rooted phone, you would have to decompile system/settings.apk using apktool or similar (in a pc with the android sdk installed).
Edit its xml to remove, just delete, the thetering and portable hotspot menu, and then put the modified settings.apk back into the phone.
That would make it so they cannot activate it via the settings menu, but the phone would still be able to by using 3rd party apps.
Look into decompiling and compiling system apps with framework and apktool. Its a lot to put in the post, but there are great tutorials in the xda community. It's time consuming, but once you get the hang of it, really easy.
Re. How to disable tethering
dxppxd said:
With a rooted phone, you would have to decompile system/settings.apk using apktool or similar (in a pc with the android sdk installed).
Edit its xml to remove, just delete, the thetering and portable hotspot menu, and then put the modified settings.apk back into the phone.
That would make it so they cannot activate it via the settings menu, but the phone would still be able to by using 3rd party apps.
Look into decompiling and compiling system apps with framework and apktool. Its a lot to put in the post, but there are great tutorials in the xda community. It's time consuming, but once you get the hang of it, really easy.
Click to expand...
Click to collapse
Thank you dxppxd, that's exactly what I wanted to know. I am familiar with the apktools method of modifying apk files and my phone is rooted. :good::laugh:
Any other suggestions are welcome too.
Blaauwberg said:
Thank you dxppxd, that's exactly what I wanted to know. I am familiar with the apktools method of modifying apk files and my phone is rooted. :good::laugh:
Any other suggestions are welcome too.
Click to expand...
Click to collapse
Hi dxppxd, there is no Settings.apk under /system. Any idea where else it could be. Also, is the xml file in the res directory and is it also called settings.xml?
The version of android is 4.1.2 and is stock.
Your help is appreciated.
R
Mark
Blaauwberg said:
Hi dxppxd, there is no Settings.apk under /system. Any idea where else it could be. Also, is the xml file in the res directory and is it also called settings.xml?
The version of android is 4.1.2 and is stock.
Your help is appreciated.
R
Mark
Click to expand...
Click to collapse
Edit: Ooops! It's system/app/settings.apk my bad!
Also, you probably have an odexed rom. I suggest installing a stock deodexed rom so you can decompile settings.apk
You can get one in the roms section, I remember 4.1.2 stock deodexed versions of wanamlite or archidroid roms.
I'll look into which xml to edit, don't really remember. It's usually one called layout or res_layout or something like that.
There was a tut for modding the settings layout, ill look for it when I get home and post the link, was very helpful a long time ago.
Edit2: this is the tutorial. It was made for moding android 2.3.6 settings. But a lot of things still apply. It gives a very good idea on what each section does, and how the layout is made and you're only removing stuff, not adding titles or sections:
http://forum.xda-developers.com/showthread.php?p=24317850
Good luck.

More system fonts for ZV6 roms

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

Categories

Resources