[Q] Toggles for [MOD] 4.3 Tether Unlock MJ7 - Verizon Samsung Galaxy S 4

I'm posting this here because I'm not allowed to post in the Development section as a response yet ...
Hi Everyone. I 1st wanted to thank Surge1223 for his tether unlock mod, works great.
At the end of the instructions, he mentions the toggles:
" I see people complain about not having the Wifi or WifiHotspot toggles working depending on the rom they are on. The solution doesn't require SQLite Editor. You can solve this problem by appending the below to your /system/csc/feature.xml under <!-- Settings --> header by changing system to r/w while editing then edit the feature.xml file under /system/csc, make sure its permissions are rw-r--r--. Following your next reboot/hot reboot/restarted systemui, pull down the toggle bar, click the settings button and it should allow you to choose to add any that weren't available previously. This worked on 4.2.2 Touchwiz roms, but if you are on 4.3 and already have the toggles then ignore this.
Code:
<CscFeature_Setting_DefQuickPanelOrder>Wifi;Bluetooth;Location;AirplaneMode;WiFiHotspot;SmartStay;AutoRotate;MobileData;SilentMode;PowerSaving;MultiWindow;AirGesture;AllShareCast;SBeam;Nfc;AirView;Sync;SmartScroll;DrivingMode;DormantMode;BlockMode</CscFeature_Setting_DefQuickPanelOrder> "
I'm a little confused about this, I'm on 4.3 (MJ7), but I don't have a wifi hotspot toggle. I wasn't sure about appending the feature.xml, because some of those in that line have been renamed on 4.3. Also, I have some that aren't in there and some are mentioned I don't have.
Anyone on MJ7 do this part? Would it remove any toggles I have currently?
Thanks!!

No one tried this?

I deleted that part of the post so i can update it with the names of the new toggles. Thanks again for bringing it to my attention that the names were changed.
Sent from my DROID RAZR using XDA Premium 4 mobile app

On 4.3 MJ7 rooted. I tried editing the "features.xml" and it didn't change the toggles. Still have the same toggles as before appending the script.

Related

Need testers multi-window setting

If your on a tw rom I need a few people to test if you can add apps not natively available in multi window. Have a nandroid just in case.
Navigate to /system/csc/ and open feature.xml. Add the multi-window string below and paste it just before the endnof the file, so tge end of the file looks like mine posted below. Edit the string and change bcom.android.browser and com.jrummy.liberty.toolboxpro to any apps you would like and seperate with a comma. Save the file, then reboot recovery, wipe cache/dalvik and reboot. Enable multi-window and hit edit to see if the new apps are available. Post your results.
<!-- Multi Window -->
<CscFeature_MultiWindow_AddOnApp>com.android.browser,com.jrummy.liberty.toolboxpro</CscFeature_MultiWindow_AddOnApp>
</FeatureSet>
</SamsungMobileFeature>
Sent from my SCH-I545 using xda app-developers app
Surge1223 said:
If your on a tw rom I need a few people to test if you can add apps not natively available in multi window. Have a nandroid just in case.
Navigate to /system/csc/ and open feature.xml. Add the multi-window string below and paste it just before the endnof the file, so tge end of the file looks like mine posted below. Edit the string and change bcom.android.browser and com.jrummy.liberty.toolboxpro to any apps you would like and seperate with a comma. Save the file, then reboot recovery, wipe cache/dalvik and reboot. Enable multi-window and hit edit to see if the new apps are available. Post your results.
<!-- Multi Window -->
<CscFeature_MultiWindow_AddOnApp>com.android.browser,com.jrummy.liberty.toolboxpro</CscFeature_MultiWindow_AddOnApp>
</FeatureSet>
</SamsungMobileFeature>
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
Here is the string used in the last update of BluKuban. Obviously the list would get larger, smaller, etc per every app you want added. But your idea is 100% correct. It works. Just thought I'd aid in the discussion. :good:
Code:
<CscFeature_MultiWindow_AddOnApp>com.sec.android.app.popupcalculator,com.android.calendar,com.sec.android.app.camera,com.android.chrome,com.android.contacts,com.android.providers.downloads.ui,com.android.email,com.estrongs.android.pop,com.sec.android.gallery3d,com.google.android.gm,com.google.android.googlequicksearchbox,com.google.android.gms,com.google.android.apps.plus,com.google.android.talk,com.ktoonsez.KTweaker,com.google.android.apps.maps,com.google.android.apps.maps,com.android.vending,com.android.mms,com.google.android.apps.plus,com.google.android.apps.maps,com.android.contacts,com.google.android.music,com.sec.android.widgetapp.diotek.smemo,com.vlingo.midas,com.android.settings,eu.chainfire.supersu,jackpal.androidterm,com.kuban.settings,com.sec.android.app.voicerecorder,com.google.android.googlequicksearchbox,com.ipsec.vpnclient,com.google.android.youtube,</CscFeature_MultiWindow_AddOnApp></FeatureSet>
Dubbsy said:
Here is the string used in the last update of BluKuban. Obviously the list would get larger, smaller, etc per every app you want added. But your idea is 100% correct. It works. Just thought I'd aid in the discussion. :good:
Code:
<CscFeature_MultiWindow_AddOnApp>com.sec.android.app.popupcalculator,com.android.calendar,com.sec.android.app.camera,com.android.chrome,com.android.contacts,com.android.providers.downloads.ui,com.android.email,com.estrongs.android.pop,com.sec.android.gallery3d,com.google.android.gm,com.google.android.googlequicksearchbox,com.google.android.gms,com.google.android.apps.plus,com.google.android.talk,com.ktoonsez.KTweaker,com.google.android.apps.maps,com.google.android.apps.maps,com.android.vending,com.android.mms,com.google.android.apps.plus,com.google.android.apps.maps,com.android.contacts,com.google.android.music,com.sec.android.widgetapp.diotek.smemo,com.vlingo.midas,com.android.settings,eu.chainfire.supersu,jackpal.androidterm,com.kuban.settings,com.sec.android.app.voicerecorder,com.google.android.googlequicksearchbox,com.ipsec.vpnclient,com.google.android.youtube,</CscFeature_MultiWindow_AddOnApp></FeatureSet>
Click to expand...
Click to collapse
I didn't even think about googling if it worked or not, when I tested and it worked I didn't think it would at first. Are they any restrictions on what you can add to this? Im on stock deodexed mdk and I always thought before that you had to modify the framework to get custom apps in multi window.
Surge1223 said:
I didn't even think about googling if it worked or not, when I tested and it worked I didn't think it would at first. Are they any restrictions on what you can add to this? Im on stock deodexed mdk and I always thought before that you had to modify the framework to get custom apps in multi window.
Click to expand...
Click to collapse
No restrictions that I know of.

[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

Use Tmobile Network Speed Indicator on Galaxy S5

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.

[Q] Hide the NFC icon

Hello! I turn the NFC on all the time (thanks to the SBH-50 headset) so the NFC icon on status bar really bug me out It takes up the space for other notification's icon. So I want to ask is there any mods or anything to disable this on 4.4.4?
You need to root, but 4.4.4 can't be rooted directly so you first have to downgrade to 4.4.2 and start from there. Now that you have root you may modify the system. Some firmwares have the NFC icon enabled and some don't. If you don't like the icon you'll need to modify the build.prop.
Find: ro.nfc.icon.enable=true
true makes the icon visible
false makes it disappear
A Reboot is necessary to make for the changes to take effect.
I'm running stock 4.4.4 and have rooted already, but the ro.nfc.icon.enable is false. I've attached a screenshot. Oh and my build number is 23.0.1.A.0.167 if that helps
I just did it.. works fine..
Used this app to do it:
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Because once I edited the build.prop in a text editor on the phone and it resulted in bootloop
Kocayine said:
I just did it.. works fine..
Used this app to do it:
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Because once I edited the build.prop in a text editor on the phone and it resulted in bootloop [emoji14]
Click to expand...
Click to collapse
I do it always with root explorer and with succes always ^^
Sent From Somewhere On Earth With My Z2 ^^
It doesn't work
In the buildprop editor, I tried set that property to true (since the default is false), reboot, and the icon is still there. Change back to false, the icon is there too
Maybe somehow the unbranded UK firmware doesn't load this property from build.prop

Categories

Resources