[Q] Edit settings.apk to remove 4g option? - Samsung Epic 4G Touch

I want to edit the settings.apk to remove the 4g option and 4g option from the power bar and menu because I am flashing my phone to boost mobile with a 3g donor. Anyone can help me do this? Yes i know boost is getting wimax but i never used wimax ever anyways.

Very niche problem
I would suggest just leaving it alone. But if you really must, you could modify a theme for your rom and remove the 4G icon from the notification / status bar. Or try the glitchy but usable lockscreen / status bar mod: http://forum.xda-developers.com/showthread.php?t=1276553
As far as removing it from your settings all together, that would require decompiling your settings.apk and then removing the code (probably XML) containing the 4G part. Then recompile the apk and push back to system. It seems simple enough, just make a backup just in case. A great tool to use for this is: http://forum.xda-developers.com/showthread.php?t=1577025&highlight=autoapk
**Be sure to thank the appropriate devs for making this tool**

Thanks. Ill try this

Phonegasm said:
I would suggest just leaving it alone. But if you really must, you could modify a theme for your rom and remove the 4G icon from the notification / status bar. Or try the glitchy but usable lockscreen / status bar mod: http://forum.xda-developers.com/showthread.php?t=1276553
As far as removing it from your settings all together, that would require decompiling your settings.apk and then removing the code (probably XML) containing the 4G part. Then recompile the apk and push back to system. It seems simple enough, just make a backup just in case. A great tool to use for this is: http://forum.xda-developers.com/showthread.php?t=1577025&highlight=autoapk
**Be sure to thank the appropriate devs for making this tool**
Click to expand...
Click to collapse
NiN39Z said:
Thanks. Ill try this
Click to expand...
Click to collapse
NiN39Z said:
I want to edit the settings.apk to remove the 4g option and 4g option from the power bar and menu because I am flashing my phone to boost mobile with a 3g donor. Anyone can help me do this? Yes i know boost is getting wimax but i never used wimax ever anyways.
Click to expand...
Click to collapse
were you successful?

Related

Need Help!!!! missing soft keys and status bar!

Hello, today I was trying to change the soft keys on the galaxy nexus using an explorer, i ended up putting the .png images on the SystemUi/res/drawable-xhdpi folder and the phone rebooted and came up with no status bar and no soft keys. Had a nandroid backup but deleted all user data without thinking about restoring because i thought the backup would stay... like on my rooted incredible. Any help on how to get soft keys and status bar back? thanks
anyone know any fixes? i need one fast please!
Re-flash your ROM
El Daddy said:
Re-flash your ROM
Click to expand...
Click to collapse
please help on reflashing now. http://forum.xda-developers.com/showthread.php?p=20818957
i did what this guy said to and wiped data , formatted system and wiped the dalvik cache and when booted the phone stays on google with the unlocked icon
I think you may have wiped the system after you reflashed the rom. Your phone won't go past Google because there's nothing there. Power off and go back to recovery from fastboot.
Is all you did was put the png's in SystemUI? There's XML and smali code that needs to be edited/added for this to work as well.
Sent from my Galaxy Nexus using Tapatalk
RMarkwald said:
Is all you did was put the png's in SystemUI? There's XML and smali code that needs to be edited/added for this to work as well.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Not true. All he has to do is replace the icons and it should work. OP try replacing the icons on your computer. I like 7zip. I just right click on the apk, choose open archive, and navigate to the folder of interest. Drag the images you want in, confirm the prompt, and its good to push back to the phone.
Using an explorer is what your problem is. The easiest way to get the status bar and keys back is to keep a copy of your unmodified SystemUI apk and push it with adb or simply copy it back to the /system/app directory with root explorer. After a reboot you'll be back to normal
Sent from my Galaxy Nexus using xda premium
Did it give you full screen size, or was there just a black bar at the bottom missing the icons? I am wondering if you may have stumbled on a work around for removing the bar at the bottom and getting full screen.
Rockstar52 said:
Did it give you full screen size, or was there just a black bar at the bottom missing the icons? I am wondering if you may have stumbled on a work around for removing the bar at the bottom and getting full screen.
Click to expand...
Click to collapse
Its not a work around. If you're missing the top and bottom bars its nearly impossible to navigate the phone
Sent from my Galaxy Nexus using xda premium
nbeebe24 said:
Its not a work around. If you're missing the top and bottom bars its nearly impossible to navigate the phone
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I was talking about using the app "Button Savior". If this removes the full bottom bar then we could install Button Savior first then remove the .pngs and have the best of both worlds, as this was the same problem many of us faced who owned an Archos Gen8 tablet that was the first (that I know of) to use on screen buttons. Using Button Savior we were able to remove the on screen buttons and still have full navigation capabilities.
if you want to change PNG's files, you will need a deodex SystemUI.apk.
a normal odex SystemUI.apk will not accept it.
if you don't get any status bar or button, it means that android has failed to load the SystemUI.apk.
find the original SystemUI,apk and SystemUI.odex and re-install them should help.

A possible working soultion to hide softkeys!

Ok, I understand there are many threads as to softkey management. I, for one would love to hide these soft keys and I think I might have stumbled upon a way that it might work, but because I am not a Dev I myself don't totally understand, how Android works, so hopefully one of the Dev here could help understand what is going on here. So I have been doing a lot of searches to find a way to hide these keys, along the way I stumbled across a few threads where users were loosing their softkeys after using some of the softkey mods, I remember reading some where a user lost his softkeys do to flashing the Deodexed version of the mod while running on a Odexed Rom. I thought I would give this a try I downloaded Deodexed version of the softkey mod from this post:
(http://forum.xda-developers.com/showthread.php?t=1394639&highlight=soft+key) and installed it on my ARHD 2.1.3 Odexed Rom. Behold upon reboot I had full screen! Great! Just a few problems though, I lost not only my softkeys, but also my notification bar at the top. I also could not set any wallpaper but only a live wallpaper. I was able to navigate without any issues as I downloaded and installed Button Savior from the market before installing the modification. Any suggestions from Dev's as to why, how, or if this could work would be great.
Not a dev but I made mine disappear when I was manually editing pngs in SystemUI.apk to mod my softkeys. I must have did something wrong.
I believe adr and his Bamf team are including this in their upcoming rom
I think they are mapping it to power and vol up or down
That would be great! I like the full screen it just looks amazing! I don't mind using Button Savior.
So you suggest removing the softkeys by breaking them and the notification bar..
joshnichols189 said:
So you suggest removing the softkeys by breaking them and the notification bar..
Click to expand...
Click to collapse
No not by breaking them, I was hoping that a Dev would be able to see how or why they get removed and in doing so find a solution to hiding the keys altogether.
Eventually. Took Honeycomb a while. Supposedly the tricks in Honeycomb were patched.
They just need time. They already have abilities to rearrange and select which keys are visible plus themes and all that.
LTE EX Galaxy Nexus - AOSP KANG
Asus Transformer - 3.2.1 OC/UV
Rockstar52 said:
No not by breaking them, I was hoping that a Dev would be able to see how or why they get removed and in doing so find a solution to hiding the keys altogether.
Click to expand...
Click to collapse
They get removed because they are broken
Rockstar52 said:
Ok, I understand there are many threads as to softkey management. I, for one would love to hide these soft keys and I think I might have stumbled upon a way that it might work, but because I am not a Dev I myself don't totally understand, how Android works, so hopefully one of the Dev here could help understand what is going on here. So I have been doing a lot of searches to find a way to hide these keys, along the way I stumbled across a few threads where users were loosing their softkeys after using some of the softkey mods, I remember reading some where a user lost his softkeys do to flashing the Deodexed version of the mod while running on a Odexed Rom. I thought I would give this a try I downloaded Deodexed version of the softkey mod from this post:
(http://forum.xda-developers.com/showthread.php?t=1394639&highlight=soft+key) and installed it on my ARHD 2.1.3 Odexed Rom. Behold upon reboot I had full screen! Great! Just a few problems though, I lost not only my softkeys, but also my notification bar at the top. I also could not set any wallpaper but only a live wallpaper. I was able to navigate without any issues as I downloaded and installed Button Savior from the market before installing the modification. Any suggestions from Dev's as to why, how, or if this could work would be great.
Click to expand...
Click to collapse
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
gogodu5sU said:
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
Click to expand...
Click to collapse
Thanks, I will give this a shot. One last question why would the wallpaper stop working?
ChongoDroid said:
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
Click to expand...
Click to collapse
I could dig that.
Sent from my Galaxy Nexus using Tapatalk
ChongoDroid said:
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
Click to expand...
Click to collapse
Actually seems like a pretty nice idea. Does the OS continue to draw behind the buttons, or does the screen effectively stop where they begin?
I would rather a gesture on the softkey bar (flick up/down) to show/hide it. That way you still retain the functionality of the keys, but at the same time you can utilise the full screen when you want to. Remapping these to the hard buttons sounds horrible (unless I misunderstood that?).
If it was transparent and you wanted to click something at the bottom of an app, android wouldn't know whether you wanted to click the app or the buttons.
Jleagle said:
If it was transparent and you wanted to click something at the bottom of an app, android wouldn't know whether you wanted to click the app or the buttons.
Click to expand...
Click to collapse
we already have a transparent status bar successfully mod over in the themes section. and no you dont lose any function. the bar is still there, its just see-thru. so it functions identically to current usage.
anyway hiding the softkeys is something i would love. and google could have been creative, perhaps 3 finger swipe to make them appear, etc. that way 2 finger pinch to zoom wouldnt confuse it with a 3 finger swipe, twist, etc.
Krijs said:
I would rather a gesture on the softkey bar (flick up/down) to show/hide it. That way you still retain the functionality of the keys, but at the same time you can utilise the full screen when you want to. Remapping these to the hard buttons sounds horrible (unless I misunderstood that?).
Click to expand...
Click to collapse
This would be great. I use ADW Ex on my Galaxy Tab 10.1 LTE, and that has a swipe for its lower dock bar works great. When you don't want just swipe down, when needed swipe up.
gogodu5sU said:
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
Click to expand...
Click to collapse
Why Can't i find values in my framework-res.apk? Im on 4.0.4
Im very familiar with android but am stumped on this one.

[Q] notification bar modification

Is the ability to change what icons appear in the notification bar only available to international s3 phones without rooting and such?
Tuvan03 said:
Is the ability to change what icons appear in the notification bar only available to international s3 phones without rooting and such?
Click to expand...
Click to collapse
So you are not rooted and you wanna stay that way?
What exactly are you trying to change?
spiderSWIL said:
So you are not rooted and you wanna stay that way?
What exactly are you trying to change?
Click to expand...
Click to collapse
i'll probably root eventually, i just wanted to change out the airplane mode toggle for the driving mode toggle and maybe remove a couple of others.
Ooooo I wasn't sure exactly what you were asking.
Only thing I know of is the 23 toggle mod, which is an easy enough flash if you are rooted. Wouldn't know another way, though.
There's a couple of apps in the play store which can add toggles but I'm not sure if root is required for those apps.
Sent from the future via Tapatalk 4
to bring this thread back from the dead (to save from me creating the same question in a new thread)... Has anyone found a way for us (Sprint S3 users) to edit the notification bar icons?
I am rooted and want to remove Airplane Mode and Power Saving and put other items there. Stock ROM (dont want to flash new rom).
Here is a video to what i'm talking about wanting to do
http://www.youtube.com/watch?v=Wbl06-TRBzE
flawedlegacy said:
to bring this thread back from the dead (to save from me creating the same question in a new thread)... Has anyone found a way for us (Sprint S3 users) to edit the notification bar icons?
I am rooted and want to remove Airplane Mode and Power Saving and put other items there. Stock ROM (dont want to flash new rom).
Here is a video to what i'm talking about wanting to do
http://www.youtube.com/watch?v=Wbl06-TRBzE
Click to expand...
Click to collapse
Ah
Theres a mod called 20 toggle mod. That'll let you customize it and edit the order and everything. It also adds a bunch of other toggles
CNexus said:
Ah
Theres a mod called 20 toggle mod. That'll let you customize it and edit the order and everything. It also adds a bunch of other toggles
Click to expand...
Click to collapse
after doing a google search, I only found these options:
https://play.google.com/store/apps/details?id=de.j4velin.notificationToggle
-this looks PERFECT, but "- the app can not remove the build-in toggle notification on Samsung phones"
or
http://forum.xda-developers.com/showthread.php?t=2051009
-this looks to be for Xperia's

Navigation / Softkey Bar Adjustment

Hi Im going mad trying to edit the softkeys / Navi bar.
Ive tried all the programs on play store, hiding the bar and using these softwares doesent help much because it does not push the screen up, instead if you make a false bar, it overlaps the lower part of the screen.
anyone know a straight forward method of editing them to be slightly smaller and perhaps making the bar black in colour? Mine is grey which is also another irritating factor.
u want to change the bar‘s color?
MasterfullDON said:
Hi Im going mad trying to edit the softkeys / Navi bar.
Ive tried all the programs on play store, hiding the bar and using these softwares doesent help much because it does not push the screen up, instead if you make a false bar, it overlaps the lower part of the screen.
anyone know a straight forward method of editing them to be slightly smaller and perhaps making the bar black in colour? Mine is grey which is also another irritating factor.
Click to expand...
Click to collapse
I only know how to hide the navi bar forever, by change some words in the system file. And i use a gesture app to instead of navi bar.
You'll need to extract framework-res.apk from the build your currently running. I can ammend the navbar height among other things. 28dpi is the optimal height in all honesty, the navbar icons don't scale to well otherwise.
This process assumes you have a working ADB environment setup.
Open Command Prompt/Terminal, take note of the current directory then perform the following command:
Code:
Adb pull /system/framework/framework-res.apk
Locate and attach framework-res.apk you've just obtained from the above step and attach here.
Alternatively if your phone is rooted navigate to /system/framework/ and copy and paste framework-res.apk to your /sdcard/, attach device via USB and like above locate and attach the obtained file here within a post and I'll take care of the rest.
Nav bar
MasterfullDON said:
Hi Im going mad trying to edit the softkeys / Navi bar.
Ive tried all the programs on play store, hiding the bar and using these softwares doesent help much because it does not push the screen up, instead if you make a false bar, it overlaps the lower part of the screen.
anyone know a straight forward method of editing them to be slightly smaller and perhaps making the bar black in colour? Mine is grey which is also another irritating factor.
Click to expand...
Click to collapse
just send ur systemui.apk and framework-res.apk and wait
zubairx said:
just send ur systemui.apk and framework-res.apk and wait
Click to expand...
Click to collapse
Ill do that. I was travelling. Ill upload it tom.
MasterfullDON said:
Ill do that. I was travelling. Ill upload it tom.
Click to expand...
Click to collapse
Hey
Having a lot of issues uploading it. So there it is on the file sharin network.
http://www50.zippyshare.com/v/77899204/file.html
Can you also make it black in colour. At mo its this annoying grey.
Height of 50 or 60% of present would be awsome
Thanks a tonne.
Mine is ..
http://d-h.st/7FI
i can easily hide nav bar ..
d3xophen said:
Mine is ..
http://d-h.st/7FI
Click to expand...
Click to collapse
His needs work? Or is it worked?
mine is stock framework .
my p6 is p6-c00 (cdma 800 mhz + gsm Dual Sim)
thats why i uploaded mine.
I'm going crazy,with nova launcher the softkey bar is grey.....I would like to know how to make it black or transparent like the original launcher!!!
Stickman89 said:
You'll need to extract framework-res.apk from the build your currently running. I can ammend the navbar height among other things. 28dpi is the optimal height in all honesty, the navbar icons don't scale to well otherwise.
This process assumes you have a working ADB environment setup.
Open Command Prompt/Terminal, take note of the current directory then perform the following command:
Code:
Adb pull /system/framework/framework-res.apk
Locate and attach framework-res.apk you've just obtained from the above step and attach here.
Alternatively if your phone is rooted navigate to /system/framework/ and copy and paste framework-res.apk to your /sdcard/, attach device via USB and like above locate and attach the obtained file here within a post and I'll take care of the rest.
Click to expand...
Click to collapse
Have you been able to see it yet?

[Q] Replacing/theme spark statusbar icon?

So ive searched google and on here and i have not found either an xposed module or framework modification to alter the spark icon. I just hate how my status bar is half way taken up by all of my active things. Id like a simple LTE notification.
Also is there an xposed module where I can alter icons individually? Ive been using xStana and Wanam, but the xStana seems to only let you choose preloaded themes and its all or nothing - where Wanam lets me make simple changes like hide certain things (unfortunately not the AM/PM for the clock) and change the typeface and color but thats about it.
Any insight would be appreciated. im rather new to Xposed and all it can do.
bosswick said:
So ive searched google and on here and i have not found either an xposed module or framework modification to alter the spark icon. I just hate how my status bar is half way taken up by all of my active things. Id like a simple LTE notification.
Also is there an xposed module where I can alter icons individually? Ive been using xStana and Wanam, but the xStana seems to only let you choose preloaded themes and its all or nothing - where Wanam lets me make simple changes like hide certain things (unfortunately not the AM/PM for the clock) and change the typeface and color but thats about it.
Any insight would be appreciated. im rather new to Xposed and all it can do.
Click to expand...
Click to collapse
I searched for a convenient method to do this a while ago and came up empty. I hope you have better luck than I did.
bosswick said:
So ive searched google and on here and i have not found either an xposed module or framework modification to alter the spark icon. I just hate how my status bar is half way taken up by all of my active things. Id like a simple LTE notification.
Also is there an xposed module where I can alter icons individually? Ive been using xStana and Wanam, but the xStana seems to only let you choose preloaded themes and its all or nothing - where Wanam lets me make simple changes like hide certain things (unfortunately not the AM/PM for the clock) and change the typeface and color but thats about it.
Any insight would be appreciated. im rather new to Xposed and all it can do.
Click to expand...
Click to collapse
Wanam hides am, pm for me.
Nillaz said:
I searched for a convenient method to do this a while ago and came up empty. I hope you have better luck than I did.
Click to expand...
Click to collapse
Well I will let you know if I find anything!
pcmanager said:
Wanam hides am, pm for me.
Click to expand...
Click to collapse
I found this today on my lunch break... didnt know the size for AM/PM had the hide option >.>
Isn't there a build.prop edit to change the carrier to fix this?
Link below.
Cbass15 said:
Yes there is. I think there is a thread for it, hold on! ?
---------- Post added at 07:28 AM ---------- Previous post was at 07:20 AM ----------
CREDIT TO @dc/dc!!!
For those like me that hate our stupid American network indicators, build.prop can be edited to show the international (and I would argue, most accurate) icons. I do not intend to create a flashable ZIP or anything like that as the manual method is actually quicker and easier.
These instructions assume you're rooted and have made a backup of your original file.
1. Open Root Explorer
2. Navigate to /system/
3. Hold on build.prop and select "Open in Text Editor"
4. Select Yes to open as RW
5. Modify the two lines shown below (replace "tmo" with "can"):
6. Save and exit
7. Reboot
Icons will now appear as below:
In case you're interested, here is the correlation to normal American icons:
1. 4G = LTE, usually shown as some silly little icon that says 4GLTE
2. H and H+ = HSPA (3.5G) and HSPA+ (3.75G) this is also known as 4G in America, but it is not 4G per the ITU
3. E = EDGE (2.5G or 2.75G depending on class)
If there were a standard UMTS network near me, I'd imagine that there would also be a 3G icon, but all of T-Mobile's UMTS network is overlaid with at least HSPA. Also, unlike the change to the Sprint icons, this change does not introduce any weird CDMA menus in mobile network settings.
The Following User Says Thank You to dc/dc For This Useful Post: [ View ]
@charlieb620
If you change the last 3 to att, spr, vzw you will also get the icons.
@siraltus
A more elegant (LTE is actually LTE) solution is to add the following line to /system/csc/features.xml instead:
OYC
This gives you standard LTE/H+/H/E/G icons so you don't have to guess what's what.
EDIT: Changed OYA to OYC which gives you LTE/H+/H/E/G icons.
Click to expand...
Click to collapse
Can you provide the original link? Your instructions don't show which lines to edit.
DarkManX4lf said:
Can you provide the original link? Your instructions don't show which lines to edit.
Click to expand...
Click to collapse
http://forum.xda-developers.com/no...s/mod-edit-build-prop-international-t2951057
Cbass15 said:
http://forum.xda-developers.com/no...s/mod-edit-build-prop-international-t2951057
Click to expand...
Click to collapse
Thanks, but by changing the device name, wouldn't this limit some of the apps available in the play store? Or maybe cause issues when downloading roms through apps like goo manager?
DarkManX4lf said:
Thanks, but by changing the device name, wouldn't this limit some of the apps available in the play store? Or maybe cause issues when downloading roms through apps like goo manager?
Click to expand...
Click to collapse
I didn't have any problems on my end.
Make a backup and try!
Cbass15 said:
Yes there is. I think there is a thread for it, hold on! ?
@siraltus
A more elegant (LTE is actually LTE) solution is to add the following line to /system/csc/features.xml instead:
OYC
This gives you standard LTE/H+/H/E/G icons so you don't have to guess what's what.
EDIT: Changed OYA to OYC which gives you LTE/H+/H/E/G icons.
Click to expand...
Click to collapse
You forgot to quote the actual parameter line to add to the XML file... what you quoted is just the value. Also, no need to include my edit comment.
siraltus said:
You forgot to quote the actual parameter line to add to the XML file... what you quoted is just the value. Also, no need to include my edit comment.
Click to expand...
Click to collapse
I included the whole url below because I noticed what I forgot and also messed up. ?
Cbass15 said:
I didn't have any problems on my end.
Make a backup and try!
Click to expand...
Click to collapse
I tried it and it did work. The only problem is when on 4g, the up and down indicators fall ontop of the 4g icon.
Yeah, a build.prop edit will fix it much like how I got the spark icon on my Note 3 by changing the model to the Sprint Galaxy S5 model.

Categories

Resources