yashsingh1/xdaforums huggingface dataset:
[Sprint LG G2] ChoppedLiver:
Yes, metalboy94 is the one who figured this thing out and produced the dev bits to make it work. And Ascertion (starter of this thread) helped a lot with testing/compiling like he mentioned in the OP. Also justinswidebody helped with testing and things, including producing the odexed zip (this post - not yet in the OP).

As for making it work, should simply be a matter of flashing the right (odexed or deodexed) zip from recovery, then wiping cache/dalvik and rebooting. I used TWRP 2.6.3.3. As mentioned you must be on the V8 ROM.

One curious thing I personally ran into, I initially had no tethering section at all in settings / wireless networks / more, and so no way to enable tethering at all (before or after flashing the zip). Turned out updating the profile fixed that, which I'd possibly not done since the V8 upgrade. After that I flashed the odexed zip (again, had rolled back to previous backup), and everything seems to be working now (tested only briefly so far).

I really don't need tethering very much, but it's good to have it working.. A big thanks to everyone involved in making this happen!
[Sprint LG G2] rmnelson:
I'm running stock. From the beginning: originally zv7 of course, rooted with ioroot, took ota for zv8, rooted with ioroot, installed twrp 2.6.3.2 with flashify, flashed 2.6.3.3 using twrp, flashed odexed hotspot mod in twrp, wiped dalvik and cache, got stuck wiping cache, rebooted into twrp, changed setting, wiped dalvik and cache again successfully. No luck with hotspot. It connects to my laptop but no internet. I must have tried wiping dalvic and cache 4 times probably. Idk what I'm doing wrong.
[Sprint LG G2] justinswidebody:
Have you tried updating your profile and prl? Just to make sure, everyone is using the native tether hotspot found in settings/more/hotspot toggle
[Sprint LG G2] rmnelson:
Yes, actually I just updated prl and profile after my last post because I hadn't tried that yet but it didn't help. And that's where I'm going for the hotspot, settings/more/hotspot toggle.
[Sprint LG G2] lowpro3210:
Worked perfectly for me; I am using PhilZ recovery. I booted into recovery, wiped cache and dalvik, installed zip, and wiped cache and dalvik again and all is well; upon rebooting, naturally I got the "android is upgrading...optizimzing app 177 of 177 and starting apps" ... all seemed to work well...thank you SOOOO much...been waiting for this since day 1 :) kudos for all your hard work and dedication!!!!
[Sprint LG G2] justinswidebody:
Rmnelson, would you be willing to try downloading youdug factory odex Rom and try flashing it on top of that?
[Sprint LG G2] bigpappa:
Just a follow up on my experience with this all day today. I had an issue where I could connect devices via tether but they couldnt use any data. Once I decided to reboot the phone it worked tethering worked fine again. No idea what caused that but rebooting fixed it.

I also decided to wipe my cache after flashing this last night and got stuck. Didnt think much of it till I saw these follow up posts. What setting in twrp needs to be changed to prevent that in the future? I am running 2.6.3.2
[Sprint LG G2] rmnelson:
Flashing a new rom will wipe my phone, right? I'd really rather not if there's any other way but if that's what it comes down to I will. I used to flash a new rom every other day back in the Samsung moment days but now I just get annoyed when I have to set everything up like I want it again lol.

I also tried changing the security and removing it altogether in the hotspot settings, just in case. No luck there either.
[Sprint LG G2] justinswidebody:
If you would, make a back up of your current Rom. Then go to.advance wipe and wipe data,system,cache, and dalvic. Cache. Then flash youdugs odex Rom and my odex hotspot mod. If it works then it works. If not restore your back up and you will be right back where you began
[Sprint LG G2] lowpro3210:
Yes, I am using youdugs Stock Rooted Deodex ZV8 Rom (have been since day 1) and flashed and all worked well; people having issues using TWRP-please read my comment 5 posts above and all should work well...working fine for me :) ... boot into PhilZ recovery, wipe cache and dalvik, install ZIP, and wipe cache and dalvik again (I did it twice just for "spits" and giggles and everything is good!) :highfive:
[Sprint LG G2] justinswidebody:
I'm sure people want to keep the.odexed version because we like the weather app and weather animations on lockscreen. Therefore I need someone to try youdugs odexed v8 Rom and make sure it works with that.
[Sprint LG G2] dezt818:
Did it quite a few times i even factory reset it and still the same ? Any ideas :)
[Sprint LG G2] tony4681:
Got annoyed with the update notification and downloaded it. Hope someone will get the wifi tether working.:D
[Sprint LG G2] Abu Nazir:
So no usb tether on zve correct? Sorry, thats what ive gathered sifting thru this thread. Just making sure. If not is there any alternatives to usb tether? I use wifi tether router for xbox live. Just need to find a way to usb tether to my pc now. Thanks
[Sprint LG G2] ericdabbs:
You do know how to rid of the firmware update notification right?

1. You long press, the firmware update notification message and press "App Info" option

2. Uncheck the "show notification" box and the firmware update message will be gone from the notification bar just in case u press it.
[Sprint LG G2] fryguy:
For Usb tether I use easy tether. Has worked with every update for me. Usb to pc and Bluetooth to tablet. I actually just rooted this phone for the first time so easy tether works root or no root.
[Sprint LG G2] ChoppedLiver:
Did the update apply with the hotspot mod in place, or did you remove it first? And did you need to un-root?
[Sprint LG G2] Ascertion:
Hey guys - been incredibly busy lately. If somebody can grab me the de-odexed Services.jar, I can try porting the hack to ZVE.

Otherwise, no ETA...will look when I have time.
[Sprint LG G2] tony4681:
Service.odex

http://www.filedropper.com/services_1

Service.jar

http://www.filedropper.com/services_2

Thanks
[Sprint LG G2] Abu Nazir:
Great job!!!
[Sprint LG G2] bigpappa:
Fully understand being busy but Im just wondering if there has there been any movement on getting this working? Or are we waiting till android 5.0?
[Sprint LG G2] ericdabbs:
I am wondering about this too. I wish [MENTION=2673389]justinswidebody[/MENTION] or someone who knows how to make these changes can post like in a tutorial which lines to look for in the files and tweak it.
[Sprint LG G2] Ascertion:
I'm looking into an APN edit that may enable the mod to work flawlessly. Please stand by. ;)

P.S. Having a System/Framework dump of ZVE files will help tremendously.
[Sprint LG G2] riggsandroid:
https://dl.dropboxusercontent.com/u/18815554/New folder/framework.zip

there you go [MENTION=4568459]Ascertion[/MENTION]
[Sprint LG G2] kleen3r:
Everyone, I uploaded the zve version by lefty in the q&a thread.

http://xdaforums.com/showthread.php?p=57449825
[Sprint LG G2] ericdabbs:
Thanks to you and [MENTION=6233453]lefty1409[/MENTION] for your contribution. I can finally upgrade to firmware ZVE now.
[Sprint LG G2] ericdabbs:
for yall information, the ZVE odex and deodexed files are posted in the OP.
[Sprint LG G2] mats_youri:
Hello, not working for me, ZVE update, rooted, TWRP, ODEXED MOD. hotspot option keeps saying turning on, wifi option itself is blocked, impossible to turn it on without reboot. Any ideas? Thank you.
[Sprint LG G2] ericdabbs:
Try downloading the Jtether widget and enable hotspot mod from there. Make sure before reattempting the tether hack that you do a fresh boot of your phone just to make sure you are in a clean slate.

https://play.google.com/store/apps/details?id=org.jaconet.fixtether
[Sprint LG G2] blakeatl:
I'm on stock zve and this mod seals the deal for me. Thanks for this mod.
[Sprint LG G2] mats_youri:
Maybe it is the matter of prl change, what value is needed for gsm/cdma/lte? Appreciate your help.
[Sprint LG G2] Ascertion:
The mod removes the Sprint check. Not the LG check. You will need to go to the other tethering thread for GSM tether hack.

Sent from my M8
[Sprint LG G2] Aquarius169:
Will this work on the alliance rom for sprint
[Sprint LG G2] blas4me:
I'm rooted, but keeping my stock recovery until lollipop update, could I sideload this hack through stock recovery without issue.
[Sprint LG G2] LS89:
zve room , TWRP

seems didn't work for me
[Sprint LG G2] blas4me:
Working on Boost Mobile

I got it to work on Boost Mobile, and If you've hacked other Boost phones then you should know, they don't support tethering. I was willing to pay the extra ten dollars, but a rep told me that they don't even offer it. First you need to be rooted, that's without saying, then you need a custom recovery, then you need to flash the zip that applies to your build, lastley you need 4G/LTE or you will get disconnected because network signal is weak. Where I live I only get 3G indoors, I have to be outside for LTE to kick in. I tested it at work letting a co-workers connect with his Motorola Droid, beautiful device by the way. So, I know WiFi and Bluetooth both work, plus I made him turn of his data, just to make sure. I tried to edit my build.prop, but It was a no go, it would'nt let me edit. So, I used a app from the market, called Build Prop Editor, and added some lines. You'll love this app, because you don't have to worry about where to put the lines. You just add property name, and property value. It will tell you after editing the build.prop file, you need to reboot. I advise to reboot twice, it didn't work until I did. Once you've reboot twice, update your, prl, profile, and try to update your firmware, it won't update, but just to make sure nothing's interfering with your OTA update for Lollipop. I checked my build.prop and It doesn't seem to contain the lines I added, but it's working, so I won't question how. My only problem is that I can't use it at home, because I only get 3G at home. Once I step out the house, LTE kicks in. If it worked on Boost, then it should work for other carriers. From experience, when you hack a Boost device, and the guest device connects to a web page your greeted by a banner that reads " Boost Mobile does not support tethering ". My co-workers device connected and he was able to browse without getting that banner. Hope it works for someone else, enjoy.

https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor

-------------------------------------------------------------------------------------------------------------

Another handy tool if you edit files often

-------------------------------------------------------

https://play.google.com/store/apps/details?id=com.martino2k6.clipboardcontents

Add lines below with build prop editor

----------------------------------------------

ro.tether.denied

false

ro.bluetoothtether.denied

false

net.tethering.nonprovisioning

true

net.bluetoothtethering.nonprovisioning

true
[Sprint LG G2] Another Drunk NPC:
Thanks, but...

Thank you for your hard work!

I have WiFi tethering working via JBTether, but still can't get USB tethering to work. My PC recognizes the device as a network device and connects to it, but doesn't actually achieve internet connectivity. I'm using stock ZVE and installed the Odexed version of the mod in an old version of TWRP. Could that be the issue? Thoughts anyone? If not, that's fine too.
[Sprint LG G2] wi11ie:
This works MUCH better...

https://www.youtube.com/watch?v=e8ENfODL4Ss

Just used it and it smokes all others..

willie
[Sprint LG G2] InFiD3ViL:
Wi11ie...OMFG man

How on earth could it be that simple?! Literally took me the 7 mins to watch the video and now it is working, on ZVE no less.

Thank you so much.
[Sprint LG G2] tomc585:
Is this working on ZVC? I noticed in the video he was on ZVD.
[Sprint LG G2] wi11ie:
Try it.. I have no idea but it would be reversible I reckon..
[Sprint LG G2] Jairsantana:
Would you mind telling me how did you flash your lg g2 to boost mobile??
[Sprint LG G2] tomc585:
I was able to install and do the editing. It was a little different in the settings and stuff but I was able to find it. I'll have to test it out and see if Sprint detects it.
[Sprint LG G2] Big Boy Laroux:
Just bumping this - this video solved my issues. I successfully installed the hack from this thread, but could not access the internet. adding "dun" to that APN setting resolved the issue for me completely.

Thanks!
[Sprint LG G2] ebs512:
Well it was fortunate for as long as this lasted I'm running Super G2 with the WiFi hotspot hack already included but it's a sad day to let you know Sprint blocked this beautiful underground railroad now every time I try to turn on my WiFi hotspot it disconnects me from having any mobile data service
[Sprint LG G2] wi11ie:
Working perfectly here! ZVE,Rooted
[Sprint LG G2] kevinhack:
Hey ebs512, I'm on super G2 as well, and it still works for me. I use it daily. Maybe 10gb per day data usage thru the hotspot. Try reinstalling superg2
[Sprint LG G2] Burkettacb:
Zvd Affliction ROM. built in wifi hot spot hack still fully operational too :)
[Sprint LG G2] MANDROIDS:
I am ZVE Stock rom rooted via Stump with what seems to be stock/no recovery.

How do you flash this file?

How do you get the hotspot entry to show up under the wireless & networks tab?

Thanks
[Sprint LG G2] ebs512:
If I may make a suggestion try and use a custom ROM with the feature already built in. For example I am running Bliss Pop 5.0 and the setting is under Settings>More>Tethering & portable hotspot
[Sprint LG G2] MANDROIDS:
Don't you need to have a recovery installed to put on a custom rom? What recovery is recommended with ZVE?
[Sprint LG G2] ebs512:
That I'm not sure of as of this moment because there are no custom roms available for zve yet just ports at least on the sprint g2
[Sprint LG G2] etirkca:
http://xdaforums.com/sprint-lg-g3/general/hotspot-hack-sprint-lg-g3-t2926233

Much easier way from the LG G3 forum. It also works with the G2.

No need to mess with odex/deodexed files.
[Sprint LG G2] ericdabbs:
Hopefully once more people get the ZVG firmware if we can get hotspot mod to work again.
[Sprint LG G2] tabp0le:
I am trying to figure out the new .dex system for lollipop so I can port the mod for ZVG. I am not seeing any .odex.xz files. Maybe LG left this deodexed? Is it even possible? In the framework folder there are only .jar files. Even in the priv-app folder, only folders, apks and .so files.
[Sprint LG G2] tabp0le:
Yup, LG left it with out any type of odex apparently. I've completed the mod. Tested, working. ZVG mod! This is based off the guide by [MENTION=4088197]metalboy94[/MENTION]. Just one file in the zip, services.jar, as there are no odex files with ZVG. Enjoy.

Extract the .zip

Copy services.jar to sdcard

adb shell
$ su
# mount -o remount,rw /system
# stop
# cp /sdcard/services.jar /system/framework
# chmod 644 /system/framework/services.jar
# reboot

Stop is optional. This is just how I did it to prevent crashing.
[Sprint LG G2] NavyLCDR:
Why the stop in the procedure after the su?
[Sprint LG G2] tabp0le:
Because the UI will most likely crash anyway if you don't. It's not that big of a deal though. It just makes sure the file is not in use when you overwrite it.
[Sprint LG G2] NavyLCDR:
Thanks! I used Mount System RW/RO to make system RW. Then used terminal emulator on the phone to copy the file (without the stop, cause my phone went blank when I did stop in terminal emulator) and set the permissions. Reboot. Just turned on the hotspot, but have nothing to check it with here at work. The phone shows hotspot active, though :)

Thank you so much for the mod! That was fast!
[Sprint LG G2] tabp0le:
[MENTION=4568459]Ascertion[/MENTION] you want to add to the OP?
[Sprint LG G2] Ascertion:
Updated and added to the OP. Thanks!
[Sprint LG G2] tabp0le:
You're welcome. Thank you!
[Sprint LG G2] ericdabbs:
Just curious....I can still do all those steps manually right. Extract the services.jar file, copy services.jar file to /system/framework on phone, change permissions to 644 and reboot?
[Sprint LG G2] tabp0le:
You should be able to. Just skip the "stop" step. Even if it crashes, all should work fine. The permissions will in most cases be set properly already. The stop and chmod are for good measure only.
[Sprint LG G2] ericdabbs:
I guess I can do this via adb method. I was more eluding to copying things manually via Root Explorer app, change permissions and reboot. I have been doing the manual thing in the past and it has worked for me so far. I understand that running the commands is probably safer to ensure files get placed in the right directories and that files are not currently running. I'll have to give this a trip once I upgrade to firmware ZVG.
[Sprint LG G2] tabp0le:
It should work with root/es explorer. I just didn't do it that way. Its worth a try. If it doesn't work and your phone bootloops, just set the proper permissions while its bootlooping.
[Sprint LG G2] tabp0le:
Here's a flashable version for when we get a custom recovery. HotspotModZVG-Flashable
[Sprint LG G2] tonochito:
ey i have been searching in it but i don't see any option of tethering? Did i just sim unlocked wrong? even when i had the stock with the invalid sim card i didn't see any tethering option, in kitkat i had it and didn't have to hack or something like that.

I just see the share and connect and more but there is no tethering option in my case
[Sprint LG G2] tabp0le:
You hit "More", right below "Share & Connect". Also, you would have had to hack it in KitKat if you actually wanted it to work. It should always show up, but to get it to work you have to mod it or pay for it.
[Sprint LG G2] tonochito:
No i don't see now on lollipop and i now what are you saying en kitkat was on that way.Now where is more just give two options mobile networks and vpn and in share and connect just are NFC, Android Beam, SmartShare Beam, Multimidea Server and Miracast. Also in other forum from Spain a user post the same thing that it is there but it is deactivated. I don't know if it was that i live outside USA it allowed to me turn on the wifi hospot,
[Sprint LG G2] lattisimo:
Why is this not the preferred method?

The video is 5 min longer than it needs to be but I applied this mod to stock rooted ZVG and WiFi hotspot is working great.

Essentially,

1) Root device

2) Install "Shortcut Master lite" from the play store.

3)Launch Shortcut Master, select [Menu], select `Search...', search "ApnEditor" (no quotes), select 'com.lge.hidenmenu', select 'Launch'

(You will need to grant root access)

4)select 'internet', scroll down and select 'APN type', add ",dun" to the end of the entry. (no quotes), select 'Ok', select [Menu], select 'Save'.

5) Activate 'WiFi hotspot'.

I take no credit for this modification.
[Sprint LG G2] nighthammer:
I know this is a little off topic, but has anyone figured out how to add the quick settings toggle for hotspot? This is the one thing I miss from my Nexus 5.

-NightHammer
[Sprint LG G2] etirkca:
It should be. It's much easier to perform. Easy to reverse too.
[Sprint LG G2] tabp0le:
Only thing is it only works with LTE with apn mod.
[Sprint LG G2] etirkca:
Good point. Luckily the majority of the time I'm in an LTE area, but I just tried it out by disabling LTE and you're right.

Edit: Actually it does work on 3G. It works for me on eHRPD, but not EVDO.
[Sprint LG G2] arehm:
I can't get this to flash. Stock zvg. Rooted. Twrp. Downloaded this 3 different times. 2x from the xda app, 1x from chrome. Every time I try and flash it says there is an error and it doesn't take.

Ideas?
[Sprint LG G2] rootlinux:
Just to give feedback.

I used Root Explorer to manually over write sevices.jar and set permissions. Works beautifully and no need to update prl after phone calls like the old mods.

Fantastic job on this ZVG mod.

Thank you [MENTION=288112]tadpole[/MENTION]
[Sprint LG G2] tabp0le:
You're welcome! Thank you!

I had to update the update binary to lp.

It should flash now. Make sure you are using the "flashable" version. Download again and try.
[Sprint LG G2] arehm:
It's funny. Downloading that flashable version made all the difference. Thanks. :thumbup:
[Sprint LG G2] tabp0le:
No problem! I wonder if someone could make an xposed module for this.
[Sprint LG G2] kellysito:
THANK YOU...Solve my big problem
[Sprint LG G2] Another Drunk NPC:
I tried manually overwriting services.jar with Root Browser and WiFi tethering isn't working for me. Did you do anything else?

Thanks!
[Sprint LG G2] rootlinux:
Did you set permissions?
[Sprint LG G2] Another Drunk NPC:
I set permissions as rwxrwx. Was this incorrect?

After performing this procedure, I can't seem to update my network profile (the one listed under update phone software) and receive an endless loading pinwheel.

Thanks!
[Sprint LG G2] rootlinux:
rw-r--r-- is what it should be set to.
[Sprint LG G2] Another Drunk NPC:
Thanks. WiFi tethering works now but I still can't update my network profile. Strange but not worth griping over. I can always just install a custom recovery and do things the intensive way.
[Sprint LG G2] cpresco:
Works on 4G but not on 3G with ZVG flashable zip

I installed the flashable ZVG zip via TWRP on stock/rooted ZVG (tot'ed back to stock ZVE then took the OTA ZVG upgrade) and the hotspot throws an error when on CDMA with an "unable to establish data connection" and then the popup which says you're not subscribed to the hotspot. This doesn't happen when the phone is on LTE. Has anyone else seen this?http://cdn3.xda-developers.com/images/smilies/confused.gif
[Sprint LG G2] Adamus-Prime:
I've modded the file, but can't figure out how turn WiFi hotspot on in the first place... stock zvg - rooted... modded using shortcut pro

Sound like a frigging moron
[Sprint LG G2] galets:
I have one problem I just can't seem to overcome. This mod works perfectly, as in: it disables the "not subscribed" error, and devices can connect to hotspot. But I cannot make these devices to actually go on internet. That happens on 2 different devices.

When I investigate into what's going on, here's what I got:

1. Phone itself has internet functional (e.g: ping 8.8.8.8 works)

2. Device connects to wifi network, obtains IP address in 192.168.43.* network.

3. Device can ping 192.168.43.1

4. Device can ping the phone's external IP address, e.g.: address on interface rmnet0

5. Device will not go anywhere beyond that.

Here's a traceroute done from the phone:

traceroute -n 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
1 * * *
2 10.148.4.89 63.386 ms 79.075 ms 53.824 ms
3 10.158.207.30 79.603 ms 53.571 ms 74.575 ms
4 10.158.207.25 79.481 ms 66.288 ms 90.443 ms
5 68.28.61.70 113.196 ms 59.325 ms 76.028 ms
6 144.224.28.37 67.017 ms 115.604 ms 59.819 ms
7 144.232.9.65 103.752 ms 110.306 ms 142.762 ms
8 144.232.12.194 101.217 ms 78.190 ms 80.954 ms
9 144.232.25.198 85.454 ms 114.681 ms 86.713 ms
10 216.239.47.18 102.367 ms 216.239.47.68 106.884 ms 77.850 ms
11 8.8.8.8 107.931 ms 105.474 ms 99.622 ms

And here's a tracepath from laptop connected to the phone:

$ tracepath 8.8.8.8 -n
1?: [LOCALHOST] pmtu 1500
1: 192.168.43.1 9.510ms
1: 192.168.43.1 18.968ms
2: 192.168.43.1 2.905ms pmtu 1422
2: no reply
3: no reply
4: no reply
5: no reply
6: no reply

One piece of information, I am unsure if it matters: I am on Ring+ (Sprint MVNO), not on actual Sprint
[Sprint LG G2] tabp0le:
Did you make sure to do a profile update?
[Sprint LG G2] galets:
what is profile update? Are you talking about PRL?
[Sprint LG G2] tabp0le:
No. It is next to update PRL.
[Sprint LG G2] galets:
I am not sure what you mean... On what screen?
[Sprint LG G2] wetbiker7:
Thanks for the mod. I flashed the ZVG flashable zip which allowed me to activate the hotspot. I was able to connect to my tablet but wasn't able to access the internet. I had purchased the WFi Tether Router app a few years back and tried it on the G2 earlier with no success. I tried it again after flashing your zip and I now have an active hotspot. EXCELLENT!

Running the Sprint G2 on the Boost network. Boost has added this device to their BYOD list. Not a bad phone for $150.

Sent from my TF300T tablet running CROMBI-KK