yashsingh1/xdaforums huggingface dataset:
[Sprint LG G2] ebs512:
Just out of curiosity I was looking through apk files, and that is probably the completely wrong place as it is probably a java file?

I took the liberty of making a logcat, the error is towards the end, of the tether being blocked, it is most likely java, the only question is how do you access the java files without source for stock?

http://paste.ubuntu.com/7231447/
[Sprint LG G2] justinswidebody:
Thank you, this should help me a lot. I will look at it when I get home. You don't need source to do this. However I might need a decompiled lgsettings.apk

I like my phones like I like my women.... flexible :)
[Sprint LG G2] EllGuapo:
So you are using ~100GB per month?! Man I'm glad I'm not on the same tower as you! ;) Then again I say you can use all you want considering you are helping us all gain free-tether on this device!

I think I'm going to stick to running ZVA until tether on ZVC is figured out, as I do need it occasionally.
[Sprint LG G2] Rx8Driver:
If you need the lgsettings.apk decompiled just pm me. I have apktools running on my note 3 so I'll copy the apk from my lg and decompile it for you and send it along. I like many others will have to stay on zva until the hotspot works since my unlimited data plan supplies wifi to my whole house lol

Sent from my SM-N900P using Xparent Skyblue Tapatalk 2
[Sprint LG G2] justinswidebody:
Cool, I will let you all know soon. Still working. Getting off in about an hour.

I have a friend's that uses close to 300gb a month on Verizon. He's still grandfathered in on unlimited

I like my phones like I like my women.... flexible :)
[Sprint LG G2] Rx8Driver:
Yeah I use a good 50-100gb a month. These commercials for a family plan from AT&T where 4 lines SHARE 10gb a month is such a joke! There's DAYS when I use 10gb! Lol

Sent from my SM-N900P using Xparent Skyblue Tapatalk 2
[Sprint LG G2] ebs512:
I took the liberty of decompiling the LGSettings.apk and zipping it up for you so all you have to do is extract it, I'm not sure exactly where you would want to start looking but my guess would be the xml or the values?

http://d-h.st/xYf
[Sprint LG G2] kevinhack:
I'm over on D3rp G2 Release 3, and I believe the hotspot mod i currently have is outdated. Do I just dirty flash the newest version over it? or is there a special way to update it. (I'm on ZVA)
[Sprint LG G2] secret.animal:
Why aren't you on milestone?
[Sprint LG G2] kevinhack:
Simply haven't had time to update
[Sprint LG G2] secret.animal:
Just wondered as the hot spot worked fine.
[Sprint LG G2] kevinhack:
It does seem to work fine for me on RLS3, but there are occasions (1 in 10) that it doesn't work and I have to reboot. I use jTether to toggle because I think someone said it works better. Not too sure about 3G working, as I normally have LTE coverage. But not sure if eHRPD works on mine. Do you know if original RLS3 is UTD?
[Sprint LG G2] justinswidebody:
I need it deodexed first and then decompiled. I need to look at the smali

I like my phones like I like my women.... flexible :)
[Sprint LG G2] HiddenKnight:
Hey Justin, I gotcha bud.

*pulled*

Need anything else or more testing, I'll be in hangouts!

Edit: sorry j, was zva not zvc.
[Sprint LG G2] ebs512:
there is no classes.dex in the LGSettings.apk :/
[Sprint LG G2] justinswidebody:
It's in the lgsettings.odex. you have to take these two files and deodexed them with the tool I posted a few pages back. That will put you classes.dex in the lgsettings.apk

I like my phones like I like my women.... flexible :)
[Sprint LG G2] ebs512:
Okay here it is deodexed with the class file, sorry it took so long

http://d-h.st/JeB

I didnt reodex it because i thought you just needed the classes.dex file, which is provided in the apk

Essentially we would like to be able to have everything patched (USB/WIFI HOTSPOT/BLUETOOTH TETHERING) after looking through some of the stuff and im not sure if this will help you but I found the following things:

public class UsbTethering
extends SettingsPreferenceFragment
{
private final boolean PROVISION = true;

if (("SPR".equals(Config.getOperator())) || ("ACG".equals(Config.getOperator())) || ("BM".equals(Config.getOperator()))) {
if (!paramIntent.getAction().equals("lge.tethernetwork.action.NETWORK_ERROR_DIALOG")) {
break label85;
[Sprint LG G2] justinswidebody:
Thank you. I will look into this tonight. I'll hit you up on hangouts.

I like my phones like I like my women.... flexible :)
[Sprint LG G2] autoprime:
I'll just leave this here...

#trololololol
[Sprint LG G2] KenpoAP:
Need need need
[Sprint LG G2] ebs512:
Autoprime's way is rigged and for his personal use lol, the official way that it should work is smali edits, I was able to edit the smali and recompile the apk but now that im trying to reodex the file it won't take because ZVC has R/O /System, even trying to adbd with root permissions through adb shell with root is a no go because the ramdisk needs modifying to accept adbd so essentially it is not pushing the dexopt-wrapper to the system because it is read only, i manually found a temporary way to push files to /system/bin for the dexopt-wrapper but still a no go on reodexing the modified version
[Sprint LG G2] Jbcarrera:
Uhg I miss the days with the evo where you could flash the rom without the baseband and the mods to the framework were pretty simple. No need to ever update your hboot. This is just to many hoops to jump through for the devs here
[Sprint LG G2] ebs512:
I found a way around getting ADBD to work on ZVC and I found the correct spot to make smali edits for the provisioning that should fix bluetooth tethering, wifi hotspot, and usb tethering. I will be messing with the settings and see if I can get it to work, if not, I will alert justin of this information and where it can be found to see if we can find what the values need to be changed to
[Sprint LG G2] secondskin:
Hey Justin,

Did you ever get the fix working for tether dropping during incoming phone calls on ZVA? I think you had posted a deodexed version serval pages back and asked for testing but every post after that has been about ZVC.
[Sprint LG G2] justinswidebody:
Yes i think i did. Just needed someone to test it. It was that post a few pages back.

I also need a tester for ZVC who can odex. Please hit me up on hangouts at justinswidebody@gmail.com
[Sprint LG G2] justinswidebody:
Well we got zvc 3g tether working. Now to get lte tether working. Man this one is going backwards

I like my phones like I like my women.... flexible :)
[Sprint LG G2] ChrisFSU:
Awesome!
[Sprint LG G2] justinswidebody:
Alright finally got it working!!!!!! It was very simple. Took a lot of time to figure out though. I will upload in a few. However this will not be a flashable zip. You will have to take the two files and use a root explorer to put them in the framework folder.

I like my phones like I like my women.... flexible :)
[Sprint LG G2] mistermidas:
Nniicceee!!!
[Sprint LG G2] infirno77:
Awesome, can't wait!
[Sprint LG G2] justinswidebody:
steps to get free Factory Native Hot Spot:

1. Download this https://drive.google.com/file/d/0B6HYWZRx8JLsQWZqM1kwYTBObUk/edit?usp=sharing

2. Extract the file you just downloaded

3. If you didn't download it from your phone, then place the two files on your internal storage of your phone

4. Install a file explorer like Root Explorer that allows you to access the root of your system and allows you to edit factory framework files and apks.

5. Open the Root Explorer or whatever File explorer you are using and navigate to the internal storage and copy the Services.jar and Services.odex that you extracted from the zip above.

6. Navigate to Root and go to /System, then Choose the Framework folder. Make sure the system is mounted R/W

7. Now hit paste.Hit overwrite existing files. Once the two files are pasted, change the permissions so that they match the other framework file permissions.

8. Reboot your device.

9. If your device boots back up fine you are set to go.

Once again, I am not responsible for anything you do to your phone. This can very easily brick your device if not done correctly. This is a chance you the user are taking.

Thank you to Billy, Eric, and Justin for testing. I have no clue what your user names are on here.

This Hack is a complete different method then how metalboy got it working. This is all my own work

Ascertion feel free to update the thread.
[Sprint LG G2] mistermidas:
I'm assuming you set the permissions of the tweak to match the original services file?
[Sprint LG G2] justinswidebody:
Yes, which is the same as the other framework files. Just match those

I like my phones like I like my women.... flexible :)
[Sprint LG G2] KenpoAP:
I did not change any permissions (it won't let me change it) but I can confirm it is working for me

---------- Post added at 02:46 AM ---------- Previous post was at 02:03 AM ----------

Ok... I'm connected but no data transfer
[Sprint LG G2] KenpoAP:
Connected but no data transfer
[Sprint LG G2] infirno77:
Same. Connected, but no data transfer.

Also noticed lte icon and spinner disappear and reappear while trying to connect.
[Sprint LG G2] Hutch89:
Update prl and profile, that fixed it for me. Thank you so much Justin
[Sprint LG G2] justinswidebody:
I assume it suffers from the same issue of having to reboot to transfer data sometimes like the old mod. I can probably fix this.

I like my phones like I like my women.... flexible :)
[Sprint LG G2] infirno77:
Yeah, tried that as well. No go, still no data transfer.
[Sprint LG G2] justinswidebody:
Well, I don't know why it would work for some and not others

I like my phones like I like my women.... flexible :)
[Sprint LG G2] KenpoAP:
Can confirm it is working after updating prl and profile
[Sprint LG G2] justinswidebody:
Good Glad to hear that

I like my phones like I like my women.... flexible :)
[Sprint LG G2] Ascertion:
Are you on LTE or 3G?

Sent from my LG-LS980
[Sprint LG G2] justinswidebody:
It works on both. I assume the people who have to update their prl and profiles haven't updated them since switching to zvc. Probably all depends on how they decided to do the update.
[Sprint LG G2] KenpoAP:
Probably. I did it because it was shown as a possible solution and it worked.
[Sprint LG G2] bigpappa:
Since we are replacing those files in framework should we be renaming the original files with .bak or .old in order to revert to factory if we are only rooted without custom recovery? Or is it not possible to rename those files in framework? Just curious before I try this. Right now Im stock zvc rooted, no twrp yet.
[Sprint LG G2] infirno77:
I have updated both as recently as yesterday, but did not try after moving the files. I'll try that next.
[Sprint LG G2] justinswidebody:
If you want to have the originals around, then I would copy and paste them somewhere in your phone. The phone will probably go into a constant boot loop if you renamed them. Only because it requires that file to run at all times.

I like my phones like I like my women.... flexible :)

---------- Post added at 04:53 AM ---------- Previous post was at 04:43 AM ----------

The prl profile update, is a bug I will try to tackle tomorrow. However at least you all have a working tether. I'm pretty sure I can fix the problem.

I like my phones like I like my women.... flexible :)
[Sprint LG G2] mistermidas:
I just tried and have this exact same issue. Won't connect to tether and the lte spinner keeps disappearing and reappearing while trying to connect. But a reboot fixes it and can tether again.
[Sprint LG G2] barleysoda:
Install this chainfire app to make adbd insecure and you will never have issues pushin dexopt-wrapper and odexing files. I was hung up on this too but "Madj1" hooked me up and all was great after this apk.

http://xdaforums.com/show....php?t=1687590

Hats off to Justin for getting the hotspot working and all those that helped!! Sorry I couldn't help test this weekend but I was just too busy to get any PC time.
[Sprint LG G2] vriship:
i am on non-sprint GSM network outside of USA. Using 3G. replaced the 2 files and changed permissions to match with other files in framework folder and rebooted but i dont see any wifi tether option in settings now :(
[Sprint LG G2] KenpoAP:
Can you upload screens?
[Sprint LG G2] snoopdog:
I can confirm Justin's method both 3G/LTE. Thanks Justin!
[Sprint LG G2] justinswidebody:
You need to have someone with the zvc update upload their carrier folder thats on the root of the system. This will give you your tether toggle. I might just make a new services.jar that might enable it if you want. However the carrier folder is what you need

I like my phones like I like my women.... flexible :)
[Sprint LG G2] souleman:
I was able to rename the .jar and .odex files to .bak when I copied the new files over. But I'm also having the issue of no data transfer. Updated profile and prl twice and double checked the permissions. Devices will connect, but no internet access.

Never mind, I do have internet access. We have been having other issues here, and it wasn't that my tablet couldn't access the internet, it was that the phone couldn't. Couple minutes later, when phone was able to access internet again, so was my tablet.
[Sprint LG G2] justinswidebody:
Disregard
[Sprint LG G2] souleman:
No rush Justin. Thanks for all your hard work!
[Sprint LG G2] justinswidebody:
No problem. I enjoy this. I have learned a lot this go around.

I like my phones like I like my women.... flexible :)

---------- Post added at 03:07 AM ---------- Previous post was at 03:01 AM ----------

http://xdaforums.com/showthread.php?t=2715556

Working trev wifi for kitkat

Looks like bonebeats1234 has found that Trev mod WiFi tether for root users works with 4.4.2

I like my phones like I like my women.... flexible :)
[Sprint LG G2] tony4681:
Thanks for getting the WiFi Tether working again! :good::good::victory:

I renamed my old files to services.jar.old and services.odex.old and kept them in the same directory, I did this last time too and no issues.
[Sprint LG G2] KB112:
Yes, I can confirm TrevE mod worked for me earlier today.
[Sprint LG G2] Ascertion:
Thanks Justin. Just updated OP with a flashable zip. Nicely done, by the way.
[Sprint LG G2] ebs512:
So after applying the custom files to the system framework and updating the PRL and profile I was able to get a good connection to google but when I tried to click the link in my inbox that takes me to this thread it said the site could not be found did i mean xda-developers? I did manage to get a logcat but im not sure how much good that will do if it is connecting to one site and not the other, no yellow triangle appeared on my wifi icon for the laptop either, it showed a full connection in all white bars.
[Sprint LG G2] souleman:
Here is a fun one for you Justin. I didn't get a logcat or anything, but if you need me to, I'll try to reproduce the error when I have more time.

Anyway, using your .jar and .odex files, everything was working fine. This morning, 2 of my apps updated. After update, they wouldn't open any more. Also tried downloading another app, and it would immediately FC. Rebooted phone, they still wouldn't open. Changed back to stock services files, rebooted phone, and the apps are working fine.

I don't know if switching back to hacked files will change it so they won't open, or it will work fine until other apps are updated. Don't have time to test it right now. And if trevE mod works, then not much point to it anyway. But if your actually enjoying it, like I said, I can try to reproduce the error, and get you a log when I have some time. I don't need tether right now, so on stock files.
[Sprint LG G2] justinswidebody:
The services.jar i provided could not cause these issues. A lot of times. I believe. When you replace a framework file, it erases your cache. Maybe you should try putting the files back in. And if you have the issue again. Go into factory recovery and wipe cache
[Sprint LG G2] Rx8Driver:
I'd be willing to bet that works.

Sent from my SM-N900P using Xparent Skyblue Tapatalk 2
[Sprint LG G2] jcwxguy:
yes
[Sprint LG G2] fatboypup:
i did
[Sprint LG G2] jcwxguy:
check your PM
[Sprint LG G2] chinchillables:
I flashed it in TWRP 2.3.4 and got the bootloop. Luckily, I had backed up the 2 services files so i could just put them back. I mounted the system directory and moved the files back and all is well. Going to try it again later, but too tired to bother right now.
[Sprint LG G2] James7Bond007:
What odex program did you use that finally worked? Would be good to know for future reference. Thanks for powering through this!
[Sprint LG G2] justinswidebody:
Deodexer-odexer-tool_v1.00
[Sprint LG G2] zonlicht:
Just +1 this works.

This works on stock Deodexed ROM. However, the link in OP does not work for me. The Odexed version in the later post does work on my Deodexed stock rom.
[Sprint LG G2] youdug:
metalboy94, Ascertion, and Justinswidebody excellent work!
[Sprint LG G2] ericdabbs:
Uhhhhh....you do know that TWRP 2.6.3.4 is unsupported. Please flash TWRP 2.6.3.3 that has been officially released by the TWRP devs so you avoid any stupid user errors vs. issues with the files.
[Sprint LG G2] James7Bond007:
For what it's worth, I was able to reproduce your results using baksmali-2.0.2 / smali-2.0.2 / dexopt-wrapper. The problem with the file I posted last night is that I didn't use the bootclasspath.

Another interesting observation is that the newly created services.odex has changes in files other than just TetherNetwork.smali:

com/android/server/am/ActivityManagerService.smali

com/android/server/am/GraphicMemoryInfo.smali

com/android/server/wm/WindowManagerService.smali

com/android/server/BackupManagerService$PerformFullBackupTask.smali

com/android/server/BackupManagerService$PerformFullRestoreTask.smali

com/android/server/BackupManagerService.smali

com/android/server/DropBoxManagerService.smali

com/android/server/WallpaperManagerService.smali

At first I thought this a bit peculiar, but it seems that the dexopt-wrapper tool and the stuff it calls on the phone makes some minor changes when it occurs "unresolvable odex instructions" and "replaces them with a throw" (per comments left in the smali files).

If anyone needs help in the future with the deodexing/reodexing part, I think I have the hang of it now, so don't hesitate to ask.
[Sprint LG G2] justinswidebody:
Awesome, thanks James
[Sprint LG G2] chinchillables:
Oh, never knew that. I hadn't checked since they first put it up and it solved some older issues I was having. I was mainly using it for the ORG capabilities anyways, but 2.6.3.3 is working so I'm back on that now. One thing I noticed though is that there is a 300 KB difference between our services.odex files.

My natural services.odex is 3.2 MB, while yours is 2.9 MB. I'm wondering if there is a reason for this that is what causes the bootloop on my end.
[Sprint LG G2] mchlbenner:
Sorry this doesn't work on stock.

Twrp 2.6.3.3 used followed directions and it a no go.
[Sprint LG G2] souleman:
I'm using 2.6.3.4 and had no issues installing the odex version on stock rooted.
[Sprint LG G2] metapy:
I had the same experience 2.6.3.4 and flashed on stock rom fine.
[Sprint LG G2] chinchillables:
So any of you if worked for know what sizes your services.odex was before flashing? Also, do you have ANYTHING system mood related installed? Greenify, Xposed Framework, etc?

By the way, I've never had an issue flashign anything with 2.6.3.4 either, but I figure if it's even possible for something to go wrong, I might as well be on whatever is current and most supported in case of any issues that might be resolvable.
[Sprint LG G2] tony4681:
Anyone try this method yet?
[Sprint LG G2] ericdabbs:
Are you using the OP deodexed file on a stock rom ??? If you are then you are using the wrong file. You have to use Justinswidebody file a few posts back and flash that on stock rom.
[Sprint LG G2] mchlbenner:
I tryed the justinswidebody and it did not work.
[Sprint LG G2] blahzace:
Try updating prl and profile and it should work after that. For me it did at least. Thanks for the hard work guys.
[Sprint LG G2] ebs512:
I have not attempted on trying to replace the modded files back to stock yet as I just wanted to mention a few days before I tried this, I checked the Freegee app and it said TWRP WAS available for the LS980ZVC but ever since I added the modded files and updated the profile and PRL it says the device is not supported so im not sure if this is related or if some other weird glitch is going on.
[Sprint LG G2] ericdabbs:
I have downloaded the ZVC Odexed files from the link in the OP but I am having trouble getting the hotspot to work. I am able to get my PC to recognize the SSID of my phone but after it looks like it connects to the hotspot successfully I am not able to test the connection to a website. Anyone else experiencing this issue and suggestions on what I can do to fix this?
[Sprint LG G2] KenpoAP:
Maybe. If you're saying that you can activate the Hotspot but you're unable to transfer data, you can try updating the prl and profile. That worked for me.
[Sprint LG G2] ebs512:
Yes, this does work typically, Justin and I are taking a look at how to make this better, to see if we can knockout any of the headache. So after you have a phone call you disconnect from the hotspot and it never tries to re-connect. All the versions I have tried recently that justin has made adjustments to give me the mobile plan error still so I think I might take the ones that he already modified and take a look at a specific smali file that is causing this issue. I believe the issue to be in TetherNetworkDataTransition.Smali but I am no smali pro, if one of you, more experienced users has time to take a look it would be a great deal of help to perfect the mod. Also the logcat I can provide from making a phone call while hotspot is on, then disconnecting from the phone call might help clear things up:

http://paste.ubuntu.com/7261813/

Edit: I also believe ZVC Stock to be bugged as when I reboot my device, WiFi is automatically turned on in settings, does anyone else have this issue?
[Sprint LG G2] KenpoAP:
Yes! My wifi turns on by itself for some reason. I think I had that issue on zva also.
[Sprint LG G2] secondskin:
Is your Connections optimizer still on? I always turn that off after installing a new factory right away for that reason.
[Sprint LG G2] mistermidas:
I had this exact same issue. Prl and profile update didn't help. Neither did a reboot. It would connect to the intended devices just fine, but no data would ever transfer. Ended up just restoring my original services files.
[Sprint LG G2] ebs512:
try the ones from page 55
[Sprint LG G2] mistermidas:
What post #? I'm on mobile.
[Sprint LG G2] ebs512:
http://xdaforums.com/showpost.php?p=51882804&postcount=546
[Sprint LG G2] mistermidas:
That's the one i already tried...i posted right after it lol
[Sprint LG G2] ericdabbs:
The wifi turning on randomly is a bug that I witnessed since ZVA. It has nothing to do with the Sprint Connections Optimizer since I never enabled it.
[Sprint LG G2] flastnoles11:
It actually has everything to do with the sprint connections optimizer and is enabled by default, you have to disable it if you didn't want it... After disabling if you go back into it it will automatically enable again, so if you don't want it disable and never look at it again (I disable and then freeze it with TiBu)
[Sprint LG G2] bishaarcc:
KK version doesn't work

anyone got KK Hack working? I'm on garwynn's modified Kitkat and nothing worked for me.......

I followed couple instructions but nothing work..... I can see the wife but it has no connection... anyone has solution? thanks.
[Sprint LG G2] snoopdog:
You have to update firmware profile prl Everytime u use
[Sprint LG G2] ericdabbs:
Its not enabled by default. Trust me. If you go to Settings->More->Mobile Networks->Connections Optimizer , the first thing I see is T&C's to agree to and then after that the Connections Optimizer check box is unchecked. I think its a bug that enables the Connections Optimizer by default but no way if the software is working correctly will enable the Connections Optimizer by default.
[Sprint LG G2] bishaarcc:
Still didn't get this thing working....