Verizon Galaxy S4 VRUEMJ7 Tether unlock
Unlocks WifiHotspot, USB Tether, and Bluetooth
Developed by Surge1223
11/02/2013
Please read the instructions; accidents while flashing framework-res.apk can and do happen and those mistakes lead to having to use full Odin restore tars. I almost made open1your1eyes0 brick had he not caught my mistake in the code. Luckily he was nice enough to test again, luckily that one worked
Instructions:
1. Extract MJ7_tether_unlock.zip and move the MJ7_tether_unlock folder to the root
of your micro sdcard so the structure looks like this: /mnt/extSdCard/MJ7_tether_unlock/
2. Download terminal emulator then type the following in terminal:
3. After that your phone should reboot, and tethering should be unlocked! Also a copy of your original framework-res.apkCode:su cd /mnt/extSdCard/MJ7_tether_unlock/ sh tether.sh
can be found in the following directory /mnt/extSdCard/MJ7_tether_unlock/orig-framework-res.apk
4. To restore back to your original framework-res.apk, (i.e, relock tethering) then type the following in terminal:
Code:su cd /mnt/extSdCard/MJ7_tether_unlock/ sh untether.sh
Downloads
Download the zip here
Devs, I've included just the framework-res.apk w/ just the mod here so you can customize it more as needed for your roms.
The Mod itself:
This is from the original arrays.xml
This is the modified arrays.xmlCode:</integer-array> <string-array name="config_tether_usb_regexs"> <item>usb\\d</item> <item>rndis\\d</item> </string-array> <string-array name="config_tether_wifi_regexs"> <item>wlan0</item> </string-array> <array name="config_tether_wimax_regexs" /> <string-array name="config_tether_bluetooth_regexs"> <item>bt-pan</item> </string-array> <array name="config_tether_dhcp_range" /> [COLOR=Red] [COLOR=Black]<[/COLOR]string[COLOR=Black]-array[/COLOR][/COLOR] name="config_mobile_hotspot_provision_app"[COLOR=Red]>[/COLOR] [COLOR=Red]<item>com.samsung.spg</item>[/COLOR] [COLOR=Red] <item>com.samsung.spg.NewSPGActivity</item>[/COLOR] [COLOR=Red]</string-array[COLOR=Black]>[/COLOR][/COLOR] <integer-array name="config_tether_upstream_types"> <item>0</item> <item>1</item> <item>5</item> </integer-array>
Code:</integer-array> <string-array name="config_tether_usb_regexs"> <item>usb\\d</item> <item>rndis\\d</item> </string-array> <string-array name="config_tether_wifi_regexs"> <item>wlan0</item> </string-array> <array name="config_tether_wimax_regexs" /> <string-array name="config_tether_bluetooth_regexs"> <item>bt-pan</item> </string-array> <array name="config_tether_dhcp_range" /> <array name="config_mobile_hotspot_provision_app" /> <integer-array name="config_tether_upstream_types"> <item>0</item> <item>1</item> <item>5</item> [COLOR=Lime] <item>7</item>[/COLOR] </integer-array>
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:[SIZE=3]<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>[/SIZE]
Give credit to @open1your1eyes0 for testing the second build after I screwed up the first just his input on the shell script and mod in general. Thanks internet, specifically this page.
Sorry, doesn't work for me.
I downloaded the zip file yesterday and extracted to root of SD card, entered commands in terminal and it shows running exploit.
When I try to turn on tethering I get the verizon pop up and there's no backup of the framework.