THIS IS FOR THE BRAVE PEOPLE ONLY!!!
I deodexed my own system in order to do this modification.
I replaced the files manually using an on device file explorer.
I do not recommend doing this if you aren't comfortable dealing with smali.
I got tethering working by modifying:
TetheringProvision.apk
&&
It fails the authentication quickly and anonymously by calling localhost (127.0.0.1) and allows hot spot enabling after.
The modified APK is attached. Rename existing APK and ODEX file to .BAK then place modded APK in system/app and reboot.
UPDATE: The attached APK is out of date and obsolete. See my dev-resources thread for an updated deodexed system installer based on the newest system release that includes this mod.
I deodexed my own system in order to do this modification.
I replaced the files manually using an on device file explorer.
I do not recommend doing this if you aren't comfortable dealing with smali.
I got tethering working by modifying:
TetheringProvision.apk
/com/sec/tetheringprovision/TetheringProvisionActivity$5.smali
--return -1 instead of 0
Code:.line 990 iget-object v0, p0, Lcom/sec/tetheringprovision/TetheringProvisionActivity$5;->this$0:Lcom/sec/tetheringprovision/TetheringProvisionActivity; [COLOR=Red]-- const/4 v1, 0x0 [/COLOR][COLOR=YellowGreen]++ const/4 v1, -0x1[/COLOR] #calls: Lcom/sec/tetheringprovision/TetheringProvisionActivity;->sendResult(I)V invoke-static {v0, v1}, Lcom/sec/tetheringprovision/TetheringProvisionActivity;->access$800(Lcom/sec/tetheringprovision/TetheringProvisionActivity;I)V
&&
/com/sec/tetheringprovision/TetheringProvisionActivity$TetheringPlanCheckTask.smali
--change auth links to localhost
Code:.line 1081 const-string v0, "[COLOR=Red]127.0.0.1[/COLOR]" iput-object v0, p0, Lcom/sec/tetheringprovision/TetheringProvisionActivity$TetheringPlanCheckTask;->ATTTetheringPlanCheckURL:Ljava/lang/String; .line 1082 const-string v0, "[COLOR=Red]127.0.0.1[/COLOR]" iput-object v0, p0, Lcom/sec/tetheringprovision/TetheringProvisionActivity$TetheringPlanCheckTask;->ATTMHSPlanCheckURL:Ljava/lang/String;
It fails the authentication quickly and anonymously by calling localhost (127.0.0.1) and allows hot spot enabling after.
The modified APK is attached. Rename existing APK and ODEX file to .BAK then place modded APK in system/app and reboot.
UPDATE: The attached APK is out of date and obsolete. See my dev-resources thread for an updated deodexed system installer based on the newest system release that includes this mod.
Attachments
Last edited: