[AT&T Samsung Galaxy S 4 General] padan1:
[GUIDE] EASY HOW TO: USB Tethering on stock 4.2.2 JB ROM {AT&T GALAXY S4}(Rooted+CWM)

THIS IS EASY USB TETHERING MOD+ROOT+CWM+BACKUP GUIDE FOR YOU AT&T SAMSUNG GALAXY S4!

This mod is for those of us out there with GT-i9500 that want to keep the stock Android 4.2.2 JellyBean ROM but enable USB tethering and WIFI Hotspots.

This mod requires a rooted device! This also requires the latest I337UCUAMDL build!

You must Enable USB Debugging on device (Settings-->Developer Options-->) (Tap "Build Number" 7 times if you dont see it)

MODIFY AT YOUR OWN RISK!!!

YOU WILL NEED TO DOWNLOAD/INSTALL

A] ROOT your device

I personally used motochopper (which can be found here) to root my device which worked flawlessly and was pretty simple compared to some other ways.

Follow the steps to complete root. (Thanks to djrbliss)

Other root methods will work.

B] Install ClockworkMod Custom Recovery

You must install CWM (or cwm touch) recovery to your device before proceeding any further.

The easiest way to install CWM is by using the CWM Rom Manager

C] BACKUP your current Data

I made two backups, one with nandroid and one with rom manager. I suggest you do the same. Save these first backups in case you break something later down the road. Always save a backup *last known good configuration* on your device BEFORE attempting any modifications.

D] Modify files to Enable Wifi/USB Tethering (this method will not enable bluetooth tethering, sorry :crying:)

You should now be able to enter (Settings-->More Settings-->Tethering and portable hotspot-->) and enable "Mobile Hotspot" and "USB tethering" (with cable connected). You will still see a subscription error, but it should still work!!

Hope this helps someone.

Some notes:

My testing was all done on CWM after the research I had been doing, it seems that this was the best platform to use at this time.

I looked at different root methods and motochopper is quick and painless, needed simple and got it.

Nottach's mod may not be the best way to do this over some other methods, but it works out of the box and it is easy. Data charges at your own risk :mad:

I included Root+CWM install methods to ensure a working mod to your device (use other roots/recoveries at your own risk!)

I STRESS you must backup your current rom after rooting your device. Do not modify files until you do this!

CASUAL's Loki-TWRP-Motochopper will not work for USB tethering (unless someone has tested or modded to work)

CM 10.1 may work to enable USB tethering (have not tested)

Problems I ran into while attempting this USB Thethering/WIFI mod...

Decompile framework-res.apk to edit provision check did not work as the recompile is corrupt (maybe user error?) Can anyone chime in on this?

Other potential apk wifi/usb tethering methods softbricked (could not load boot past AT&T logo anim) or were not working at this time

I tested numerous potential fixes but some were possibly patched or broken.

Obvisouly if PDANET+FoxFi worked for USB I wouldn't be here, lol

Thanks to all who made this happen, I just put this together as a step-by-step to help anyone who is needing this mod. Credit goes to them.