yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy Note II] arunningpir8:
Updated with Stock Deodex JLMancuso Flashable zip

Updated with Stock Deodex Flashable zip

Hey all, just thought I'd share the NE2 Native Hotspot Mod

Tested on Community Rom 3.1

change

[B]Before:[/B]
6485: if-eqz v8, :cond_108

to

[B]After:[/B]
6485: if-nez v8, :cond_108

in Tethering.smali in services.jar

Glad to finally contribute to the community :)

EDIT:

If using community rom 3.1 then you can use this services.jar I compiled

https://dl.dropboxusercontent.com/u/18791776/services.jar

And here is a zip file for flashing in recovery. Again, this was only tested with Community Rom 3.1

Flash at your own risk!

https://dl.dropboxusercontent.com/u/18791776/NE2 Hotspot Mod.zip

Here is the mod that was done for Chaz187's stock deodex ROM

Stock Deodex NE2 Hostpot Mode

Lastly, here is the mod done for "Stock NE2 [ROOTED][DEKNOXED][09-01-2014]" This will be the last one made for NE2.
[Sprint Samsung Galaxy Note II] huytrang90:
Awesome. About to download 3.2+ to try
[Sprint Samsung Galaxy Note II] VikingoRMCF:
Where can I locate this?
[Sprint Samsung Galaxy Note II] phonetec:
works, thanks so much!
[Sprint Samsung Galaxy Note II] jlmancuso:
The zip will work on the Community Roms up to 3.2+ since the services.jar is the same so far. Now S5-FEAT and DN3 (if I can ever get it working) use different services.jar so you will have to modify them to make it work.

[MENTION=1986223]arunningpir8[/MENTION]

Giving makes you feel much better doesnt it?
[Sprint Samsung Galaxy Note II] sothus:
Just flashed on 3.2+ and is working.
[Sprint Samsung Galaxy Note II] awillis111:
Haven't tethered anything yet, but it does turn without any error messages on S5N3-FEAT 2.5.
[Sprint Samsung Galaxy Note II] Koopa210:
It has always turned on without an error message. It just doesn't do anything.
[Sprint Samsung Galaxy Note II] awillis111:
And yet, it worked. Testing sucks in my apt, because the signal sucks. But, it did let me tether my tablet.
[Sprint Samsung Galaxy Note II] Koopa210:
Good news, thanks for testing.
[Sprint Samsung Galaxy Note II] awillis111:
Glad to do it.
[Sprint Samsung Galaxy Note II] evolving:
Good work man thanks
[Sprint Samsung Galaxy Note II] sothus:
Connected a device to it... Running smooth as butter. Thanks man. Awesome Job!!
[Sprint Samsung Galaxy Note II] menissalt:
Also works on the Verizon S5 port, not surprising since it's based off of the community rom.

Thanks for this!
[Sprint Samsung Galaxy Note II] humpman1:
Works on S5-FEAT 2.3!

I took a chance and flashed it onto my GN2 running S5-FEAT 2.3, and it is working like a charm with no modifications. Thanks to the billionth power!
[Sprint Samsung Galaxy Note II] humpman1:
I recant

After testing for a while, I found that the hotspot fix does not work very well at all for the S5-FEAT 2.3 ROM. Although is does connect to devices, there is a very unstable internet connection, if any at all. Now I have to reinstall my ROM to roll back to using the WiFi Tether Router app. Ugh! And I had phone all set up just the way I wanted it and now I have to do it all over again. Oh well!.......

Thanks anyway; and yes, I know you said it does not work on S5-FEAT. So go ahead... say I TOLD YOU SO! LOL!
[Sprint Samsung Galaxy Note II] Leoisright:
I modded the services for the S5 feat rom. Works solid. Been using it for the past hour plus. If you go over to that thread I uploaded a zip. No need to reinstall.
[Sprint Samsung Galaxy Note II] humpman1:
Thanks for the Mod!

Headed there right now! Thank you!
[Sprint Samsung Galaxy Note II] mrjeancw:
will this work on the cfautoroot ne2 stock rom?
[Sprint Samsung Galaxy Note II] jlmancuso:
Dont think so. I had a user on S5-feat 2.3 who tried it and said it didn't work. 2.3 s5-feat uses the same odexed framework files as stock ne2. If you do want to try it make sure you do a nand backup so you can revert if something goes wrong.
[Sprint Samsung Galaxy Note II] arunningpir8:
I plan on creating a stock deodexed rom here soon since nobody else seems to be doing that :P

This has to be used on a deodexed rom if nothing else. I will try and make a flashable zip for stock roms tonight. I just can't believe nobody has made a stock deodexed rom yet from the NE2 source.
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
I agree. And thanks for your hotspot fix! I personally don't really care for bold themes on my ROM's so I will be waiting for your stock deodexed rom. that would be nice.
[Sprint Samsung Galaxy Note II] mrjeancw:
ill try it out.

ill flash philz and odin the stock ne2 from sprint then do cf autroot and then throw philz again with SU then add this...lets see what happens.
[Sprint Samsung Galaxy Note II] guycan:
Try it on this rom in the screenshot for the hell of it just to see didn't work

SGNote2
[Sprint Samsung Galaxy Note II] mrjeancw:
that would be awesome...

the only other stock ne2 is jlmancuso's rom here http://xdaforums.com/showthread.php?t=2768847 but he said it was not stable or something. even tho its rooted and deknoxed (which this one will neither be rooter nor deknoxed right)???

advantages to flashing the odin tar ne2 vs the deodexed stock rom that arunningpir8 is going to post?
[Sprint Samsung Galaxy Note II] egeek1:
Working perfect on Alpha 3.2+. Before flashing Hotspot Mod, HotSpot wouldn't stay on for me in Alpha 3.2+. Stays on now and connects. Thanks OP for sharing your work.
[Sprint Samsung Galaxy Note II] gaganit:
LTE

Does this work with 4G? Hotspot turns on. PC can connect to the phone. but no internet connection.
[Sprint Samsung Galaxy Note II] sothus:
I use it on 3.2+ using NE2 my wifes phone has 3.2+ using MK4 still both of us on 4g Lte and it works just fine on both phones, Maybe trying flashing all again?
[Sprint Samsung Galaxy Note II] DarkAngel:
:D Already made but never really saw any interest in anyone wanting it........

I made a flashable De-Knoxer, with jlmancuso's help finding some files I missed, but deleting some files made my phone not boot/work any longer for some strange reason.

Also have a Flashable De-Odexer for our NE2 Phones I made as well. I will be more than happy to share it if you or someone wants to look it over or add to it.

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

And thanks for this Wifi Tether arunningpir8! I have been dry for some time now! LOL.
[Sprint Samsung Galaxy Note II] arunningpir8:
I know myself and others would greatly appreciate a completely stock deknoxed deodexed NE2 rom. If there are any problems or incompleteness then I'd be more than happy to help finish them. Truth be told I haven't ever been in the ROM game before, the hotspot mod was just because I like reverse engineering :P
[Sprint Samsung Galaxy Note II] DarkAngel:
I will upload it to my Gdrive and give you the link as soon as I can if not by tomorrow. See what went wrong on what I did with the De-Knoxer ( took out some files maybe I was not suppose to ) and see what can maybe be added.

Don't want to release anything not flash ready. I rather have someone look it over and test things out.

Kinda sucks, I have a Sprint Galaxy Mega as well and I have all the same made for it but just don't want to release any of it yet as I don't know if it will be universal to others. I want to do the flashlight mod and so forth for it as well.

I will get back to you as soon as I can.
[Sprint Samsung Galaxy Note II] reekotubbs:
Can you put the service.jar from the OP in a stock rooted ne2?
[Sprint Samsung Galaxy Note II] Chaz187:
If it is deodexed then yes but not for stock rooted odex
[Sprint Samsung Galaxy Note II] Blakestr:
When I try to tether with this Windows just says Identifying but never connects. I flashed the NE stock deox 4.4.2. and the wifi fix and the modem then flashed this in recovery...the phone acts like it is working but I never actually connect on the windows side. Advice?
[Sprint Samsung Galaxy Note II] cajun9924:
Did that for me first try ....rebooted phone and all was good.
[Sprint Samsung Galaxy Note II] jlmancuso:
As I stated in the classic forum the flashable mod was not created for Classic. Although if you do modify the actual jar you should have no issues.
[Sprint Samsung Galaxy Note II] arunningpir8:
Updated OP with stock deodex flashable zip
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
Community ROM Beta 1.0 Hotspot Mod

I thought I would post this here as well so people can find it more easily.
[Sprint Samsung Galaxy Note II] sunnykal:
I have CF Auto root on Sprint Note 2 SPH-L900- 4.4.2. Can I use this mod to enable the hotspot? Please let me know
[Sprint Samsung Galaxy Note II] jlmancuso:
Stock ota/odin rom? Need to be deodexed so you can modify the jar file or swap it with a pre-made one.
[Sprint Samsung Galaxy Note II] sunnykal:
Thanks, Looks like I have odexed rom, I looked at /system/app and have files with odex and apk extension. So this mod does not work for mine, Right?
[Sprint Samsung Galaxy Note II] jlmancuso:
Correct. If you want to stay stock flash my stock ne2 rom and then use the mod.
[Sprint Samsung Galaxy Note II] sunnykal:
Thanks for your quick response. Can you please send me the link whereby I can download ne2 rom?
[Sprint Samsung Galaxy Note II] jlmancuso:
http://xdaforums.com/showthread.php?t=2768847

Stock NE2 [ROOTED][DEKNOXED][09-01-2014]
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
Stock NE2 [ROOTED][DEKNOXED][09-01-2014] HOTSPOT MOD

Here's the modified services.jar for JLMancuso's Stock NE2 [ROOTED][DEKNOXED][09-01-2014]

This is for his ROM which IS deodexed. This WILL NOT work on pure stock odexed ROM. Simply replace the services.jar inside /system/framework and make sure you edit permissions accordingly, then reboot. I actually edited the services.jar and rezipped the rom and flashed it on my phone that way. To each his own.

I did this for my personal use but since arunningpir8 was kind enough to share the smali code I feel I can share as he did.
[Sprint Samsung Galaxy Note II] sunnykal:
I tried to replace services.jar file but it is failing while copying from external sdcard.
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
Replace it within the rom zip and reflash the rom. That's what I do.
[Sprint Samsung Galaxy Note II] sunnykal:
Unzipped NE2 ROM on laptop and the replaced services.jar and zipped before I moved it into the phone. Flashed ROM but hotspot is not working (unable to connect to data network turning off hotspot) message pops up when I turn on hotspot
[Sprint Samsung Galaxy Note II] Saint Michael23:
I think I know the answer but would this work on Priest Punch?

Sent from my SPH-L900 using Xparent Red Tapatalk 2
[Sprint Samsung Galaxy Note II] jlmancuso:
The mod will work and most likely the premade services will too
[Sprint Samsung Galaxy Note II] sunnykal:
Do you replace services.jar file like I did or there is a tool you leverage to flash this patch?

---------- Post added at 07:56 PM ---------- Previous post was at 07:50 PM ----------

Do you replace services.jar file like I did or there is a tool you leverage to flash this patch?
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
Yes. But make sure the services.jar is already uncompressed before you drop it into the system/framework folder of the extracted ROM. Once you do this then rezip the rom and make sure you don't add the root folder to the archive, only the subfolders that are inside the root directory of the extracted ROM. It will not flash unless you zip it correctly. Other than that there's no reason it shouldn't work.
[Sprint Samsung Galaxy Note II] sunnykal:
Thank you very much. hotspot works...
[Sprint Samsung Galaxy Note II] na_tra:
Let me try to understand the step:

Get the service.jar file

Unzip the Stocked NE2-deodex. Then, open system folder. Inside here, open the framework folder and replace the existing service.jar file with the new one. After that, re-zip the rom.

Is that the way you did it?

I do not understand this:

.

Can you explain?

Thanks
[Sprint Samsung Galaxy Note II] jlmancuso:
When you unzip the rom it creates a folder and puts everything inside it. When you zip it back dont zip the folder instead select everything inside the folder and zip it.
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
Exactly. You do not include the root folder when zipping the rom.
[Sprint Samsung Galaxy Note II] jlmancuso:
everyone grab some spoons time to feed LOL!!!
[Sprint Samsung Galaxy Note II] Chaz187:
you can also add the jar file to the zipped rom just have it on your desktop and copy and drag and drop it in the correct place.... when it asks you if you want to replace select yes.... then flash the rom.
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
Yup! Simply open each ROM zip file side by side then drag & drop. That works fine but only if you're just swapping compressed files from one zip to another. I use this method if I haven't modified anything and i'm simply swapping files from one rom to another... which I rarely do these days. If you're modifying files then obviously you'll want to unzip the rom first... edit files... then repack it. At least that's how I prefer to do it.
[Sprint Samsung Galaxy Note II] na_tra:
Thank you jlman, tx_dbs_tx, and chaz. I just have to be clear before doing it.
[Sprint Samsung Galaxy Note II] arunningpir8:
You guys do realize I posted flashable zips on the front page for the new stock rom correct? If anybody needs to do it on a different ROM just download one of my flashable files, and replace the services.jar file inside it with yours. Easy as that.

:)
[Sprint Samsung Galaxy Note II] jlmancuso:
What? Read an OP? You got to joking if I cant get it chewed up and put in my mouth I dont want it. Well maybe I would take via iv also.
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
Haha! Spoon fed bottle fed what's the difference? If people don't take the time to read and do their own searching they don't belong in these forums. I always check OP's for new/updated content.
[Sprint Samsung Galaxy Note II] sunnykal:
Since applied hotspot patch , I can receive sms but can't send it. I get a message "Failed", Is it a known issue?
[Sprint Samsung Galaxy Note II] jlmancuso:
Did you fully test mms on the rom before hotspot mod? I have some users who have the same issue and it is the mms apk. For some reason it works for some and not others.
[Sprint Samsung Galaxy Note II] sunnykal:
Yes SMS were working perfect on NE2 ROM.
[Sprint Samsung Galaxy Note II] jlmancuso:
Odd no one else has reported this issue with the mod.
[Sprint Samsung Galaxy Note II] sunnykal:
I just flashed NE2 rom with out hotspot mod. SMS is not working...
[Sprint Samsung Galaxy Note II] jlmancuso:
Well then looks like that is what happens when you try and bypass a paid service.
[Sprint Samsung Galaxy Note II] sunnykal:
This bug is in NE2 ROM not in hotspot mod. Like I said in earlier post that I flashed NE2 rom only and can not send SMSs...
[Sprint Samsung Galaxy Note II] jlmancuso:
You are talking about my stock ne2 rom? If so no one else has reported that issue. If it was my stock ne2 then the thread would be full of people reporting it. You wiped internal sdcard along with doing a full wipe of system, cache, and data? After that you would have to give me a logcat so I can see what is going on with your device.
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
I'm running JLMancuso's stock deodexed NE2 ROM right now and sms/mms works perfectly with or without Hotspot mod. People let this be very clear so there is no confusion or misunderstanding... Hotspot mod has absolutely nothing to do with sms/mms. So for those of you having issues sendig/receiving sms/mms please post your exact rom and which services.jar you are using. This would be helpful to diagnose what might be causing your issues. Like Mr. Mancuso said, if there was a problem with the rom itself EVERYBODY would be posting about it in the rom thread. We're here to help each other so be more specific with you current rom version and other files you have modified.
[Sprint Samsung Galaxy Note II] ColeTrain!:
I appreciate you doing this. My sprint plan includes hot spot, but i have WiFi at home, so i don't need it as my laptop doesn't leave home. Lol.

But it is good to have, random issues pop up now and again and is useful. I flashed this (community 2.1) and tested for a second and everything seems great.
[Sprint Samsung Galaxy Note II] sunnykal:
Okay. 10 days ago I wiped it again and flashed NE2 rom and hotspot fix.It worked like charm for the last days. No issues with hotspot or sms, but since last night out going sms is failing. thoughts?
[Sprint Samsung Galaxy Note II] jlmancuso:
My only thought is "SPRINT".
[Sprint Samsung Galaxy Note II] na_tra:
Have anyone here tried the Community Beta 1.0 Hotspot with the Community Beta 1.1?

TIA
[Sprint Samsung Galaxy Note II] jlmancuso:
It will be fine. There is no change in the roms jar files between 1.0 and 1.1. Now when the rls (release aka final) version is done that might need to be repatched.
[Sprint Samsung Galaxy Note II] na_tra:
Thanks JLman. After I posted my question. I tried and it worked fine.
[Sprint Samsung Galaxy Note II] wackydroid:
Yup. Works like a charm.

:cool:
[Sprint Samsung Galaxy Note II] Aquarius169:
Which mod for hotspot you flash for 1.1 version
[Sprint Samsung Galaxy Note II] tx_dbs_tx:
If the ROM is NE2 based ROM then use NE2 hotspot mod. Since the services jar files are the same.
[Sprint Samsung Galaxy Note II] Aquarius169:
Will this mod work on the alliance rom
[Sprint Samsung Galaxy Note II] jlmancuso:
The mod will work but the prebuilts will not.
[Sprint Samsung Galaxy Note II] Aquarius169:
Not a rom god like yourself so prebiotic are what

---------- Post added at 06:33 AM ---------- Previous post was at 06:33 AM ----------

Prebuilts
[Sprint Samsung Galaxy Note II] jlmancuso:
Prebuilt would be the zips floating around. To work for alliance you will need to follow the directions in op and decompile services.jar make the modifications then recompile.

It really is not as hard as you think. There is plenty of info and guides to do this both on windows and linux machines. If you mess it up worst thing is a bunch of fcs or no boot. No fear of bricking your device so give it a try.
[Sprint Samsung Galaxy Note II] ummkiper:
I did it.but it didn't work.I changed the thing in the smali and flashed it still said hotspot not supported.
[Sprint Samsung Galaxy Note II] jdee323:
Try downloading galaxytools 4 root user in the playstore. There's an option to enable hotspot use. It worked on my sister in law's note 3.
[Sprint Samsung Galaxy Note II] Aquarius169:
Doesn't work it reboots my phone only.
[Sprint Samsung Galaxy Note II] pennie77:
If you have the note 3 make sure you turn off the auto update in the update settings and you also have a second option in galaxy tools
[Sprint Samsung Galaxy Note II] Aquarius169:
Sorry note 2 forgot to say that
[Sprint Samsung Galaxy Note II] ummkiper:
You can edit the post to change it to note 2 lol.I can't find an option to turn off updates.I'll dig deeper though

---------- Post added at 07:35 PM ---------- Previous post was at 07:25 PM ----------

I froze system update with rom toolbox pro and retried, still no dice.I am using alliance rom here

i tried method 1 and 2

i also edited the tethering smali,in classes.dex and flashed it back that didnt work but ill try again since i disabled the update

---------- Post added at 07:52 PM ---------- Previous post was at 07:35 PM ----------

i tried with editing the smali again, didnt work. i guess if i need hotspot ill use wifi tether router as thats the only thing that worked on my old evo lte.
[Sprint Samsung Galaxy Note II] Aquarius169:
Any news on a Hotspot zip yet for the alliance rom
[AT&T Samsung Galaxy Note II] Bodoct:
I cant seem to find a working root for Att galaxy note 2 on firmware 4.4.2

I have tried a few cf auto roots and once they are done super SU isnt installed or it installs and just crashes before launching the app with a pop up or when i click on it.

Does anyone have a link to a working 4.4.2 root and some steps?
[AT&T Samsung Galaxy Note II] 06SilveradoZ71:
Use cf auto root then after your booted back up & rooted update supersu on the playstore then open supersu & disable knox

hit thanks if i helped
[AT&T Samsung Galaxy Note II] Bodoct:
I did the whole download from play store for supersu, the app just crashes as soon as I click it.
[AT&T Samsung Galaxy Note II] Bodoct:
When i use the app root checker it says my device is not rooted... I used odin while my device was in download mode and added CF auto root to PDA and it looks like it goes through and installs superSU but i guess no dice. im not sure what im doing wrong
[AT&T Samsung Galaxy Note II] cnote74:
Download Odin 3.09 then either philz touch or twrp, boot into download mode open Odin up put file in de select reboot then flash the file, manually reboot into recovery and flash superSu zip and you will have root.
[AT&T Samsung Galaxy Note II] 06SilveradoZ71:
I dont understand that i was on 4.4.2 ota then i used cf auto root to root & then updated supersu on playstore & it works perfect after
[AT&T Samsung Galaxy Note II] Bodoct:
I'll try this when I get home. Do you flash twrp via Odin as well? Seems goo manager doesn't really want to install twrp anymore.
[AT&T Samsung Galaxy Note II] rangercaptain:
TWRP provides a .tar file so you can Odin. Its not much more trouble, and it works.
[AT&T Samsung Galaxy Note II] Bodoct:
So it seems the method you said didnt work for me :(.

I used CF auto root on odin 3.09, i got the cf auto root from here http://download.chainfire.eu/280/CF...uto-Root-t0lteatt-t0lteatt-samsungsghi317.zip

i was unable to flash TWRP through the TAR they supplied on their website and goomanager still doesnt seem to want to start the download.

Everytime after i CF auto root as soon i get to the home screen supersu sends a message that "unfortunately, supersu has stopped" without me even clicking on it or performing an action.

do you happen o have any other suggestions or links of where you got your cf auto root.
[AT&T Samsung Galaxy Note II] 06SilveradoZ71:
It says super su has stopped because its outdated so after it pops up go to the app store and update supersu to 2.01 & you can disable knox
[AT&T Samsung Galaxy Note II] Bodoct:
I went to the play store and it didnt give me an option to update. So I tried Aptoide and downloaded it from there and it still crashes.
[AT&T Samsung Galaxy Note II] Bodoct:
So randomly supersu has a pop up with an additional download and it fixed it. Everything was good until I had to reset phone.... Now it's back to its old ways
[AT&T Samsung Galaxy Note II] djbrian52:
Of you're still having problems, 3.09 didn't work for me. 1.85 still the best.

Sent from my Note 3...making all others drool!
[AT&T Samsung Galaxy Note II] 06SilveradoZ71:
I use odin 3.07 just fine root note 2 ota 4.4.2 no problems

---------- Post added at 12:06 AM ---------- Previous post was at 12:06 AM ----------

Did you ever get it figured out