[mod] mj4 native hotspot! {working} (odex/deodex)

Status
Not open for further replies.

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
Hmm let's see what we can do.

Not sure where the issue lies for you guys let's start from the beginning.

Confirm for me this is what you did.

1. Stock odex MJ4 with root.
2. Download file second post.
3. Unzip file so now have 2 files.
4. Now should have services.jar and services.odex
5. Navigate using a root explorer to /system/app
6. Set permission for /system to r/w
7. Rename files in system app to something like services.apk.bak and services.odex.bak
8. copy in New services.jar and .odex
9.reboot


If that's not what you did let me know.


Sent from my SM-N900P using Tapatalk
 
Last edited:
  • Like
Reactions: micmars

e2950

Senior Member
Nov 17, 2008
84
46
0
Sheboygan, WI.
Hmm let's see what we can do.

Not sure where the issue lies for you guys let's start from the beginning.

Confirm for me this is what you did.

1. Stock odex MJ4 with root.
2. Download file second post.
3. Unzip file so now have 2 files.
4. Now should have services.jar and services.odex
5. Navigate using a root explorer to /system/app
6. Set permission for /system to r/w
7. Rename files in system app to something like services.apk.bak and services.odex.bak
8. copy in New services.jar and .odex
9.reboot


If that's not what you did let me know.


Sent from my SM-N900P using Tapatalk
it said in the post to put it in system/framework and i renamed mine to servicebackup.jar servicebackup.odex
 

oscarthegrouch

Senior Member
Jun 19, 2011
1,723
332
0
That's what I did and it half worked. I was thinking about crawrj's flashable zip he made for mja in sprint s4 section. I do not know if it would work but my common sense tells me it won't because different phone, different rom, even though it's 4.3. If I knew how to tinker with code, I'd rip his zip apart to learn what he did or ask him for advice. Every hotspot mod I've ever installed was a flashable zip. I'm not dissing OP's work, I'm just trying to offer advice since it's not working for some people.
 

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
it said in the post to put it in system/framework and i renamed mine to servicebackup.jar servicebackup.odex
Your right on the system/framework. Sorry.

I bet I know what the problem is though.

Can't be renamed to name.jar
It still gets called then conflicts.

Make the backup names where the ending changes.

So not servicesbackyp.jar
But services.jar.backup would work.

Sent from my SM-N900P using Tapatalk
 

e2950

Senior Member
Nov 17, 2008
84
46
0
Sheboygan, WI.
Your right on the system/framework. Sorry.

I bet I know what the problem is though.

Can't be renamed to name.jar
It still gets called then conflicts.

Make the backup names where the ending changes.

So not servicesbackyp.jar
But services.jar.backup would work.

Sent from my SM-N900P using Tapatalk
i was thinking that when i saw you put it as jar.bak now my problem is that the way i rooted it with Kingoroot it didn't install twrp and i am not to skilled with ADB. and i just reinstall windows so i don't even have a working copy of ADB installed.
 

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
i was thinking that when i saw you put it as jar.bak now my problem is that the way i rooted it with Kingoroot it didn't install twrp and i am not to skilled with ADB. and i just reinstall windows so i don't even have a working copy of ADB installed.
Get adb up and I'll try and walk you through it.

Should be something like this...

From command prompt with adb installed and phone plugged in.

Adb devices (should list adb devices)

Then just..

Adb -s (device number from above) shell

Su

Cd /framework

Ls (lists files)

Mv systembackup.apk system.apk.bak (use the real file names this will rename it)


Sent from my SM-N900P using Tapatalk
 
  • Like
Reactions: micmars

e2950

Senior Member
Nov 17, 2008
84
46
0
Sheboygan, WI.
Get adb up and I'll try and walk you through it.

Should be something like this...

From command prompt with adb installed and phone plugged in.

Adb devices (should list adb devices)

Then just..

Adb -s (device number from above) shell

Su

Cd /framework

Ls (lists files)

Mv systembackup.apk system.apk.bak (use the real file names this will rename it)


Sent from my SM-N900P using Tapatalk
i installed this copy of adb http://forum.xda-developers.com/showthread.php?p=42407269

i can list the devices, comes up with 3011bab7 sideload

so i enter ADB -s 3011bab7 shell

i get
error: closed
 

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
Ah. Let it boot to the sprint logo and hang with the USB plugged in. Took me a couple minutes last time but finally showed up under adb

Sent from my SM-N900P using Tapatalk
 

e2950

Senior Member
Nov 17, 2008
84
46
0
Sheboygan, WI.
If you can't find it. Here in 45 minutes or so when I get a break I'll run out and get my laptop and see if I can't send you the version I use.

Sent from my SM-N900P using Tapatalk
think i allmost got this licked. i am in and to framework and type in " mv servicesbackup.jar service.jar.bak and i get
failed on 'servicebackup.jar ' - read-only file system
 

e2950

Senior Member
Nov 17, 2008
84
46
0
Sheboygan, WI.
Also doing..

Rm services.jar (removes)
Mv servicesbackup.jar services.jar.

(Make sure to do the odex too)

Would take you back to your orig files.

Sent from my SM-N900P using Tapatalk
you rock. i change the permissions and changed the file name and the phone unhung and booted by its self and i was able to fix the odex in file manager. hot spot is now working. thank you so much.
 
  • Like
Reactions: mjcollum

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
you rock. i change the permissions and changed the file name and the phone unhung and booted by its self and i was able to fix the odex in file manager. hot spot is now working. thank you so much.
Glad that worked. Sorry for the trouble. I'll have to put a warning for others. Probably wouldn't hurt if I included better instructions.

Sent from my SM-N900P using Tapatalk
 
  • Like
Reactions: micmars and e2950
Status
Not open for further replies.