yashsingh1/xdaforums huggingface dataset:
[Sprint LG G2] Ascertion:
Profile update will likely fix the issue. It will re-authenticate the device on Sprint's network.

Sent from my LG-LS980
[Sprint LG G2] taiguy:
I get the same error when I try to update my profile. :(
[Sprint LG G2] Ascertion:
Try ##SCRTN# dialer code. It will force reactivation.

Sent from my LG-LS980
[Sprint LG G2] bkertz:
Is there a way to uninstall this mod?
[Sprint LG G2] mrrogers1:
Yeah, flash stock rom over your setup, but why?
[Sprint LG G2] ChoppedLiver:
You can just copy back the stock services.jar/services.odex files. See this post. Make sure the files you copy are from the specific ROM version you're on like I mentioned in that post.
[Sprint LG G2] taiguy:
figured it out. I didn't realize that adblock also blocked Sprint's servers. doh.
[Sprint LG G2] tabp0le:
Can we have an update for ZVD please?
[Sprint LG G2] jcwxguy:
its only been like a day or two. I expect one, but just have to be patient.
[Sprint LG G2] centro714:
Im on 4.4.2 zvc, stock rooted and just flashed the hotspot zip.

Hotspot turns, laptop connects but no internet access. Am i missing another step?

Thanks!
[Sprint LG G2] KenpoAP:
Yes! You're missing the reading the forum part! Anyways, refresh or update your profile and prl! You're done!
[Sprint LG G2] motoridersd:
Hey Justin, I am trying to get the native hotspot working on the T-Mobile G3. I hope you don't mind me asking on your Sprint thread.

T-Mobile does things differently and in order to track tethering, all they do is make hotspot use a different APN than regular data. I changed the APN value in the xml where they store this, but the Tethering process is doing a check to make sure the right APN is active. I read through this whole thread trying to understand how Tethering.smali works to get rid of this check, but I'm still far from getting it.

The error I get in my logs is this:

D/Tethering( 3145): chooseUpstreamType(true), preferredApn =4, got type=-1

D/Tethering( 3145): notifying tethered with iface =null

I know you guys had this problem in the first v8 version of the Sprint hack. The chooseUpstreamType is not getting the preferredApn it wants, so it's not telling Tethered which iface to use.

Is there another thread were more details about the checks were discussed? Could you point me in the right direction? I'm thinking the process to get tethering working on Sprint on the G2's 4.4.2 will be similar on the G3's 4.4.2, and probably even simpler since I do have tethering enabled on my account, it is just limited to a separate bucket that is tracked with the hotspot DUN specific APN. I can start my hotspot with the proper APN even after my bucket has been exhausted, but I get no data through as it is restricted on T-Mobile's side. Using the phone's APN, I'd be able to tether unlimitedly. Getting rid of the check would be useful for those that do not have Hotspot on their account.

Thanks!
[Sprint LG G2] VitoHGrind:
Thanks!. Had to do it twice, but now it works. Even better, I now have LTE in an area I didn't before.
[Sprint LG G2] Ascertion:
Anyone familiar with odexing, PM me.
[Sprint LG G2] mbwd:
Thank you!! It would have taken me forever to figure out that was why I couldn't update the PRL/Profile. ;)
[Sprint LG G2] tabp0le:
ZVD

I've made a de-odexed version for ZVD. If someone could odex that would be great! I loosely followed the guide by [MENTION=4088197]metalboy94[/MENTION]. Thank you! I've tested it and it works great. Make sure to odex before using on an odexed ROM!

Instructions once you have downloaded: (for deodexed version)

adb push services.jar /sdcard/services.jar
adb shell
su
stop
cd sdcard
mkdir services-backup
cd /
cp /system/framework/services.jar /sdcard/services-backup
cp /sdcard/services.jar /system/framework
chmod 644 /system/framework/services.jar
reboot

*EDIT* Odexed mod causing bootloops. Odexed version removed.

I hope I'm not stepping on any toes here, but no one had made this version yet.
[Sprint LG G2] riggsandroid:
DL won't work on phone.

Anyone confirm odex works?
[Sprint LG G2] tony4681:
downloaded the odex and replaces the service.odex and service.jar on my phone and now its bricked. :( I got a boot loop and then tried so many things and now I think my battery is completely empty and doesn't want to charge. Should of waited..live and learn.
[Sprint LG G2] rootlinux:
That's because it is a flashable zip meant for recovery. The link puts us in the zip file but doesn't let us download the zip.

Charge your device and wait till the link is fixed. Hope you made a backup before replacing files. If not just reflash the rom to fix it.

---------- Post added at 02:44 AM ---------- Previous post was at 02:41 AM ----------

First off, thank you for the link, time and effort.

The link puts us inside the zip directly.

Can we get a link one step back in the directory or a link to the zip?

Thanks again.
[Sprint LG G2] riggsandroid:
Did you fix permissions on those files? You can try doing that in TWRP file manager

I will give it a shot after getting into work.

---------- Post added at 08:13 AM ---------- Previous post was at 08:07 AM ----------

Doesn't work for odex.
[Sprint LG G2] rootlinux:
What doesn't work for odex?
[Sprint LG G2] riggsandroid:
the files from the zip.

did you try it?

i got a boot loop.
[Sprint LG G2] rootlinux:
Not yet. I will try and grab them and create a flashable zip here.

If it isn't posted before I get a chance I will post it if it works.

---------- Post added at 12:00 PM ---------- Previous post was at 11:53 AM ----------

Just realized in order to download that zip on your device you need Google Drive installed.

Install Drive and try that link again. I am going to test the zip now.
[Sprint LG G2] riggsandroid:
all teh zip does is place the files in the correct directory and change perms.

i did that already manually. it doesn't work. be prepared to fix it.

not sure what the hang up is.
[Sprint LG G2] rootlinux:
Yeah, it looped. Thought there might be a script in the zip but there isn't.

I will try to look into the cause of the loop.
[Sprint LG G2] lubberlick:
Click File->Download after clicking the link to get a download of the zip. Still waiting on this to be confirmed before I actually update to ZVD though.
[Sprint LG G2] riggsandroid:
the odex version does not work.
[Sprint LG G2] tabp0le:
You're welcome! I've updated the my post to include as an attachment. Sorry it bootlooped you guys. I had to go through a couple days of that getting it to work if it makes you feel any better. I will try and look into the problem today. I have flashed it on my phone to verify and it works fine. Do you guys have xposed installed? If so you have to disable first. Also try clearing dalvik. Make sure your not running ART either. Also manually attempting setting permissions on the jar and odex file.

Sent from my LG-LS980
[Sprint LG G2] rootlinux:
Yes I have xposed. Will disable and try again.
[Sprint LG G2] riggsandroid:
i had already manually set perms and cleared dalvik.

i did not uninstall xposed first. i will uninstall xposed, then retry and update.

still boot loops.

will PM you a log to see if it helps.
[Sprint LG G2] Agimax:
Didn't work for me either, but I remember when I used to edit those, had to wipe data on other devices before it would boot on theirs. If anyone wants to backup their data, wipe it and test it to see, then we'll know for sure.
[Sprint LG G2] tabp0le:
Yeah maybe try clearing the data. When I was making the mod and originally had to deodex my ROM for it, it auto cleared my data. So that might be a good idea. I'll look into your log and check it out as well. Also, I'll go through my system and make sure there is nothing "non-stock" with my .jar file. Also, you could try deleting the odex file and let your dalvik try and rebuild it. I'm not sure if that would even be possible, but worth a try.

Just to see if someone else has any ideas, these were the steps I took to make the mod and odex it:

> Used Ultimate Deodexer to completely deodex ROM. (https://www.google.com/url?q=http:/...ds-cse&usg=AFQjCNHV46f_2bAw49qzXRYDD5g-0tHh9Q)

> Modified services.jar with the code provided in the beginning of this thread.

> Pushed the changes to my phone

*MOD WORKING*

> Re-odexed ROM with [ODEX][SCRIPT/TOOL] Odexer Tool 1.2 (http://xdaforums.com/showthread.php?t=2527268)

> Zipped odex and jar file using JrRummy ZipMe.
[Sprint LG G2] riggsandroid:
did you get any sort of log or output from odexing the files? that you can confirm there were no errors?

also I used to swap the zvc mod with no issues thru root explorer with no need to clear data. not sure if that is it.
[Sprint LG G2] tabp0le:
I'm searching for a log. So far no luck. I am a noob to modifying jar files and odex files...I also had the following mods installed, which I haven't considered: SplitWindow, viper4android, XCam5 mod. Could the drivers in the camera or viper audio have messed with something in services.jar? I've looked over splitwindow and it doesn't look like it touches services.jar.
[Sprint LG G2] riggsandroid:
yea i made some mods and tried re-odexing and its failing cause of the lack of some dependency within dexopt

here is the error if anyone can help

Odexing the file:
--- BEGIN '/system/framework/services.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=332
--- would reduce privs here
CANNOT LINK EXECUTABLE: could not load library "libdvm.so" needed by "/system/bi
n/dexopt"; caused by could not load library "libqc-opt.so" needed by "libdvm.so"
; caused by library "libqc-opt.so" not found
--- END '/system/framework/services.jar' --- status=0x0100, process failed

weird cause I found that .so on the phone in lib/vendor. can't look at dextopt to see where its looking....any one have any ideas?
[Sprint LG G2] tabp0le:
Did you specify the $BOOTCLASSPATH?

When I made my mod, I literally had to deodex the whole ROM before making ANY modifications. I was getting similar errors. After completely deodexing the ROM, I was able to make the modifications successfully and reodex the entire ROM.
[Sprint LG G2] riggsandroid:
yes i did. at first I didn't and i was getting other errors. and resolved that issue.

i'm not sure what the issue is. i may try posting on the other thread. curious, what is your $BOOTCLASSPATH?

thanks.

so your odex'ed services.jar file works for you?
[Sprint LG G2] tabp0le:
Yes it works great. This is so flippin' baffling that it doesn't work for anyone else! [MENTION=1877667]rootlinux[/MENTION] maybe try again now that you have the splitwindow mod installed?

My $BOOTCLASSPATH:

echo $BOOTCLASSPATH
/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okh
ttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/sys
tem/framework/ext.jar:/system/framework/framework.jar:/system/framework/framewor
k2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:
/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/fr
amework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewc
hromium.jar:/system/framework/com.lge.frameworks.jar:/system/framework/WfdCommon
.jar:/system/framework/org.codeaurora.Performance.jar

---------- Post added at 12:07 PM ---------- Previous post was at 11:43 AM ----------

I'm going to upload a flashable deodex zip for the entire ROM with the mod built in. This is probably not going to work if you don't have split-window mod installed, but I'd like to see if it works at all. Maybe [MENTION=1877667]rootlinux[/MENTION] can flash this and try it out. Or someone else with the split-window mod. If it works, I'm assuming somehow there is a dependency somewhere in services.jar or .odex referencing the split-window mod somehow. Once flashed, if working, it will be a breeze to re-odex. Any takers? I'll upload now and post the link when ready. Its over 1gb so it will take awhile.

EDIT: Another idea, maybe someone knows, could it be the kernel? I'm running Dorimanx 6.7
[Sprint LG G2] tabp0le:
Here's the deodex for the complete ZVD system. (includes the splitwindow mod tho, so be careful if you do not have this mod)

https://cloud.spryservers.co/public.php?service=files&t=2ad19aa627f88e7fca0d181d5d1300b0

EDIT: New URL
[Sprint LG G2] rootlinux:
I will try it again.

Edit: Still loops
[Sprint LG G2] tabp0le:
Did you try flashing the complete deodex? Or did you just try the mod again?
[Sprint LG G2] rootlinux:
Just the mod.

---------- Post added at 07:09 PM ---------- Previous post was at 07:08 PM ----------

I can never download from that cloud server.
[Sprint LG G2] bigpappa:
Isnt this mod usually built from the stock rom first? With all the mods you guys have installed maybe getting it to work on stock and going from there would be easier and eliminate some headaches. Forgive me if Im outta place for suggesting it, Im no dev, but it might make more sense to go stock and mod it.
[Sprint LG G2] tabp0le:
You're right. If i get the time this weekend Ill flash back to stock and start over.

Sent from my LG-LS980
[Sprint LG G2] rootlinux:
That may quite possibly be the issue.

Good call.
[Sprint LG G2] tabp0le:
Can anyone send me a dump of their 100% stock ZVD framework folder please? I'd like to do this mod right, but I'd prefer not to have to flash back to stock. I can't turn my phone off during business hours for more than a few minutes at a time.
[Sprint LG G2] mrrogers1:
You still need this? I have dump if so, just let me know.
[Sprint LG G2] tabp0le:
Sorry, should have posted update. I flashed stock. Thank you tho. I'm working on reodexing mod now.
[Sprint LG G2] SaintZ93:
Here is the ZVD Mobile Hotspot Hack everyone, I take no credit for this. All credit goes to justinswidebody. He just wanted me to post it in this thread for him.

Please make a backup of your current services.jar file in system/framework then replace it with this one.

There is both odex and deoxed versions.

Recommended to reboot after file overwrite and Update Profile for it to work.

You must Update Profile during each use.

Download:

* Deodexed Version (Brought to you by justinswidebody)

* Non-flashable

http://www.androidfilehost.com/?fid=23610159112654639

* Flashable

http://www.androidfilehost.com/?fid=23610159112654641

* Odexed Version (Brought to you by SaintZ93 and justinswidebody)

* Non-flashable

http://www.androidfilehost.com/?fid=23610159112654643

* Flashable

http://www.androidfilehost.com/?fid=23610159112654640
[Sprint LG G2] riggsandroid:
thats great. anyway he can get it to odex? i've run into some issues with odexing as previously stated.
[Sprint LG G2] SaintZ93:
I can see about odexing the file myself, I'll get back to you soon.

---------- Post added at 10:24 PM ---------- Previous post was at 09:34 PM ----------

Please view my post above for the odex and deodex ZVD base versions.
[Sprint LG G2] tony4681:
The odex version doesn't seem to work, I stuck on the LG logo screen now.:(
[Sprint LG G2] SaintZ93:
Ohh no I do apologize for that! I am going to be working on a fix, until then download for odex file will be taken down.
[Sprint LG G2] rootlinux:
Thanks for the efforts my friend.
[Sprint LG G2] Abu Nazir:
Hey bud, we really do appreciate yur hard work yuv put into this. Thanks a ton.
[Sprint LG G2] SaintZ93:
Okay the fix should be working now, if not please let me know. I also included flashable and non-flashable zips. Please remember to back up!

---------- Post added at 01:05 AM ---------- Previous post was at 01:04 AM ----------

Nahh the credit goes to justinswidebody, I'm just uploading it for you guys and making the odex version of it. But thank you though!
[Sprint LG G2] rootlinux:
Will try in a few. Thanks again to you and justin.
[Sprint LG G2] rootlinux:
Used the odex flash and it seems to be working fine.

Zero reboots and one of my devices is showing connected.

Have not tested the connection yet. Great job.

---------- Post added at 03:26 PM ---------- Previous post was at 03:20 PM ----------

Tethering to my PS3 and watching Netflix. Great work guys.
[Sprint LG G2] Abu Nazir:
I also can confirm working flawlessly. Flashed odex zip. Can tether to my pc and to my xbone. We all would be lost without u guys figuring this stuff out for us man. Its insane if u sit and think about it. U guys deserve so much more then just a thank u. Great work!! Loving my G2 on ZVD!!
[Sprint LG G2] secret.animal:
Where can I get an xbone? Sounds like fun... Lol
[Sprint LG G2] rootlinux:
Xbone is next to the ybone
[Sprint LG G2] bigpappa:
Everyone should have a good xbone handy!

I also have it working odex on the stock rom. I just made a copy of the stock files to replace for future updates, replaced the modded services files in system framework, let the phoe reboot, then went back and set permissions. Updated prl and its working again.

Thanks once again! Ya'll are the best!
[Sprint LG G2] tony4681:
Don't worry about it, now i'm a pro at reflashing my phone :good:

It WORKS!! Thank you guys for working on this!!
[Sprint LG G2] Ascertion:
Thank you and Justin for updating the files. I have updated OP to be more "current" and easier to navigate. Users can now download all of the necessary files from OP link.
[Sprint LG G2] SaintZ93:
Is there anyone that actually has a Subscription to Sprints Hotspot? If so we could use your help and may be able to solve the Update Profile before each use issue.
[Sprint LG G2] jcwxguy:
i have hotspot on my plan
[Sprint LG G2] shadows006:
LTE cycling

Is anyone having (or had and now fixed) the problem of lte cycling from connected to not connected while running the hotspot. Lte works fine (relative) the rest of the time, but refuses to stay connected while tethering. My laptop can connect to the hotspot, but data won't transfer as my phone shows lte constantly cycling. Stock rom, zvd, flashed odexed version in twrp from SaintZ93 post. Thought it might have to do with BSRtimer issuer others were having, but changing that had no affect.
[Sprint LG G2] rootlinux:
You have to update prl every time before you start tether or use jtether widget from the Play Store.

It gets around the prl update issue.
[Sprint LG G2] shadows006:
To answer my own question, power cycling a few times and cycling data on and off while running the hotspot apparently did the trick. Hope it continues to work!
[Sprint LG G2] rootlinux:
It will do it again as soon as you turn it off and back on. May take a few times but it will come back.

Until the issue with prl update is fixed the only way around it is what I posted.
[Sprint LG G2] ford12acing:
Any way to uninstall this
[Sprint LG G2] rootlinux:
Why would you want to uninstall it?

The answer is to either flash the original settings back which I haven't seen or have or simply dirty flash the same rom over it. That will remove the mod.
[Sprint LG G2] ChoppedLiver:
Tiny, tiny bit of searching.. http://xdaforums.com/showthread.php?p=52074404#post52074404
[Sprint LG G2] ericdabbs:
So if you are on stock ROM rooted, the way to use hotspot mod is to flash the odexed files to the correct paths and then use jbtether widget to enable wifi tether instead of going through the stock tether menus because of the PRL update issue?

EDIT: Tried out your suggested solution about JTether and it worked. Is that the only tether widget that gets around the PRL update issue for now?
[Sprint LG G2] rootlinux:
As far as I know, shout of buying an app from the play store.
[Sprint LG G2] esoh:
I use Wifi Tether Router from Fabio Grosso. in the Play Store It was $2.50. Free is obviously better but he updates the app regularly and responds quickly to tech support so it's worth it as far as I'm concerned.
[Sprint LG G2] rootlinux:
This app also can freak out just like stock if you get a phone call while tethering. May require a reboot to get tether back.
[Sprint LG G2] Abu Nazir:
I too use Fabio's WiFi tether router and it is worth every penny.
[Sprint LG G2] pokemaster787:
I used this mod for a while and it worked fine, but lately I'm unable to update the PRL or Profile which prevents me from tethering. Wifi Tether Router and jtether don't seem to work for me. I'm on ZVA.

Can anyone help? Updating either just takes forever and eventually gives up saying "Network error. Please try again later." Although my data is working just fine. is there any way to manually update them or something?

Would I have better luck using wifi tether router if I update to ZVC?
[Sprint LG G2] KenpoAP:
I just stumble upon that same issue... With JTether the issue with the prl is no more
[Sprint LG G2] pokemaster787:
I tried Jtether, but it acts the same as if I was using the regular hotspot but without updating PRL/profile so it just cuts off data anytime I try using internet on my pc.

Are you on KitKat or Jellybean?
[Sprint LG G2] KenpoAP:
I'm using it right now. 2 tablets, Chromecast and the laptop...
[Sprint LG G2] ericdabbs:
Are the tether files going to be updated for the ZVE update?
[Sprint LG G2] beezar:
Had the same issue and Sprint was totally clueless and useless in resolving it. I tried everything including tot to ZVC, and no luck. BTW if you do tot, your phone won't be able to do a hands free activation and you'd have to manually activate it.

However, the issue resolved itself after a few months. I suspect sprint was upgrading their network in my area as I seriously did nothing after giving up on trying to fix it. Now WiFi tether and updating profile works great
[Sprint LG G2] pokemaster787:
It recently started working again, so I assume Sprint was doing maintenance or upgrading towers in my area. Thanks for the tip though
[Sprint LG G2] ericdabbs:
Do the ZVD tether files work for the ZVE update?
[Sprint LG G2] etd:
No, at least not for me. I made a back up then flashed the zvd package and when I rebooted is ended up in a bootloop. Unfortunately I believe we have to wait.
[Sprint LG G2] bigpappa:
I had the same result trying the zvd files on zve. I figured it wouldnt work so I kinda tried it just for kicks. Im sure one of our remarkable and fantastic devs will get it all sussed out soon. I think our next update after zve wont be for quite awhile.
[Sprint LG G2] justinswidebody:
For the people saying it's a no go, what is happening? Is it boot loops or tether isn't working? Everyone needs to make sure they are on the v8 system update.
[Sprint LG G2] souleman:
Transparent weather widget, xposed framework with Gravitybox, some system apps removed, some updated system apps merged into system, and a bunch of apps frozen. Don't think anything but Gravitybox has anything to do with services.jar and .odex. But not having any issues with gravitybox or with hotspot. I didn't check the size of services.odex before flashing. Just did a nandroid and then flashed.. Figured if it didn't work, I'd restore.
[Sprint LG G2] uniquenameevo:
You guys got it?? Sweet.

I need two things. I need to read this thread and get it working. Then, I need to know who gets a few bucks. I am guessing metalboy since I saw him all over this in the other thread.

Thans to all who helped!
[Sprint LG G2] rmnelson:
I'm on stock zv8, used ioroot, running twrp, and flashed the odexed hotspot mod and everything seems to be working until I actually connect something to my hotspot. If I'm on 4g I can "connect" but no actual working internet, if I'm on 3g I lose data and get a message saying network error and I might not be subscribed to a data plan allowing hotspot. Any ideas?
[Sprint LG G2] dezt818:
Well this sucks :( did everything in the Op flashed his rom 1.1 and flashed the mod And nada back to pa rom :(
[Sprint LG G2] justinswidebody:
Guys when that happens, boot to recovery and wipe cache and dalvic cache
[Sprint LG G2] rmnelson:
I did wipe both a couple of times. Got stuck trying to wipe cache the first time because I hadn't changed that one setting in twrp, but after that it worked fine. No harm in trying again though, I'll give it another shot. We have 3 G2's in the house, all doing the same thing. :confused:
[Sprint LG G2] justinswidebody:
That's weird. What Rom are you on? Sometimes mine won't let data be transmitted but I wipe cache and dalvic, then all is good again. I've been posting all day on the tethered network