[MOD][GUIDE][TUTORIAL][DEVELOPMENT HOW TO STICKY]

morph28

Senior Member
Jan 17, 2012
66
37
0
Syracuse
I'm on it. Will see what I can do. Will post deodex version shortly. And odex when I get home in a couple hours.

Sent from my SM-N900P using Tapatalk

---------- Post added at 01:21 PM ---------- Previous post was at 12:57 PM ----------

here we go.
this should be a deodex mj4 hotspot mod.
but someone running stock deodex rooted mj4 will need to test for us.
just replace/overwrite file in system/framework/services.jar
took me an extra minute the offsets apparently changed from mi5 version.
if we can get confirmation it works i will try for an odex version this afternoon.
guess i might as well create a thread for it so more people see it.

GO HERE PLEASE FOR COMMENTS test results ect on this.
http://forum.xda-developers.com/showthread.php?p=46980618#post46980618
it works just tried it thank you for the mod.
 
  • Like
Reactions: mjcollum

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
well looks like ill be flipping my knox flag.
thought i had everything done correctly file looked good.
copied over to system..
locks up at sprint logo.

and i guess theres no true adb access in the stock recovery only sideload which doesnt seem to be any use for replacing system files.
unless im missing something i guess ill be installing twrp.
oh well it was bound to happen sooner or later.


WOOT nevermind. was able to get back in adb style

ok looks like i have one that should work i think i just had permissions messed up.
 
Last edited:

12MaNy

Senior Member
Jun 7, 2010
2,427
881
0
Seattle
First off I must say thank you to ya'll for your awesome work.i really really appreciate it as I am sure many others do too.
However I have mixed feelings about this from a user's perspective. While it is nice to have all these in one spot, will all discussion and help for all of these be provided in this thread? I know for me anyway I can usually puzzle through what I'm doing. However it is nice to be able to read through the posts on a topic and see what other people have had to do. Mostly afraid this will then become a bit harder to read through when looking at a specific mod. Just my thoughts.

Edit.
Maybe the solution could be an "official" thread for each mod in the QA section. Most problems and questions could probably be answered by other users with a minimum of intervention. And would help keep the devs section clean. Once again just an idea.

From my Note 3 using Tapatalk

Or, post the mod in the OP like intended? Easy as pie....just sayin'. ;)


Anybody know how to successfully decompile android.policy.jar? I can't get it to decompile....and there's no tutorial for the 4in1 reboot mod listed in the OP.



EDIT: Nevermind. I figured it out.
 
Last edited:

joe1blue

Senior Member
Dec 27, 2010
307
57
0
Boynton Beach
Please I know i seem like a noob but can you please tell me how to get the modified MMS build I downloaded it now I just cant get it on my phone I tried to flash it then I tried to install it like any other app I dont know what im doing wrong?

Sent from my SM-N900P using XDA Premium 4 mobile app
 

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
Please I know i seem like a noob but can you please tell me how to get the modified MMS build I downloaded it now I just cant get it on my phone I tried to flash it then I tried to install it like any other app I dont know what im doing wrong?

Sent from my SM-N900P using XDA Premium 4 mobile app
It depends what rom your running.
If stock rooted you may need to send freeza a note and see if he'll post the odex version.
Unless your running a deodex rom the one posted will do nothing for you.

Sent from my SM-N900P using Tapatalk
 

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
Thanks a lot I am running on odex version so should I send him a PM if thats appropriate?

Sent from my SM-N900P using XDA Premium 4 mobile app
I don't think he'd mind. I'm pretty sure he has it just hasn't posted. May have slipped his mind with all the awesome crap he puts out.

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

Gellenole

Senior Member
Jun 4, 2008
141
8
0
Increasing ringtone mod

Hi Guys,

I've been trying to do the ring volume mod, the file I decompiled appears not to have the line existing. Though I don't know if that is a problem, because the phone seems to behave in the following way when I get a call:

1 second of really low volume, after wards the ringer rings normally at the volume intended. Now I'm not sure if that's expected but that's always been the case.

That's it for the volume, onto another dilemma

I have some experience with code and can deal with the concepts, but one thing I have a hard time with is compiling odex files since that's where it looks like I need to change.

There's bits and pieces on how to deodex and odex back but nothing complete and nothing specific that I know would help.

Is there a developer who can write a short how to for:
how to deodex and how to odex files?


decompiling is simple, but I'm way confused on where to pick up the framework in order to deodex and reodex.... granted I spent about 20 mins on this, but that was just figuring out the simple stuff.

some of these mods are great, and I would love to do this for my stockrooted odexed rom. Just need to know how to get the ball rolling without running into these problems.

Any experienced developer that can help would be awesome! This gives me a way to start developing for this phone as well.
 

JamesChilds

Senior Member
Jan 3, 2012
259
76
0
Lakeland
JoshBeach, How come with all your mods you do not simply upload your already modded APK so all we have to do is copy and paste?

Also, how come other developers threads got deleted just because of this thread. That is not right to the original developers in any way. The 4in1 Reboot causes my phone to sit at sprint logo. Stock MJ4 Odex.
 
Last edited:
  • Like
Reactions: KnukLHead

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
Hi Guys,

I've been trying to do the ring volume mod, the file I decompiled appears not to have the line existing. Though I don't know if that is a problem, because the phone seems to behave in the following way when I get a call:

1 second of really low volume, after wards the ringer rings normally at the volume intended. Now I'm not sure if that's expected but that's always been the case.

That's it for the volume, onto another dilemma

I have some experience with code and can deal with the concepts, but one thing I have a hard time with is compiling odex files since that's where it looks like I need to change.

There's bits and pieces on how to deodex and odex back but nothing complete and nothing specific that I know would help.

Is there a developer who can write a short how to for:
how to deodex and how to odex files?


decompiling is simple, but I'm way confused on where to pick up the framework in order to deodex and reodex.... granted I spent about 20 mins on this, but that was just figuring out the simple stuff.

some of these mods are great, and I would love to do this for my stockrooted odexed rom. Just need to know how to get the ball rolling without running into these problems.

Any experienced developer that can help would be awesome! This gives me a way to start developing for this phone as well.
There are lots of good tutorials on this.
https://www.google.com/url?sa=t&sou...ggoOKgQ4ciUNBSJZA&sig2=jz1K17IgWwEiHyZODRlBrg

Also if you look in my wifi hot spot thread I posted what I needed to do to finally get a working odex.

Basically the steps go something like this.

1. Deodex the file so all info in one place.
2. Decompile
3. Make your changes.
4. Recompile
5. Reodex

Sent from my SM-N900P using Tapatalk
 

JamesChilds

Senior Member
Jan 3, 2012
259
76
0
Lakeland
Ok, I flashed 4.3 prerooted deodexed rom and flashed the deodexed mods. the hotspot mod appears to work. knox i can't really say. but the 4 in 1 mod still is not working.
 

Gellenole

Senior Member
Jun 4, 2008
141
8
0
There are lots of good tutorials on this.
https://www.google.com/url?sa=t&sou...ggoOKgQ4ciUNBSJZA&sig2=jz1K17IgWwEiHyZODRlBrg

Also if you look in my wifi hot spot thread I posted what I needed to do to finally get a working odex.

Basically the steps go something like this.

1. Deodex the file so all info in one place.
2. Decompile
3. Make your changes.
4. Recompile
5. Reodex

Sent from my SM-N900P using Tapatalk
Thanks for the response and link -- the basic steps are as you said, basic and known -- that's the general idea when you want to decompile. Problem was finding proper steps on how to decompile and what libraries you needed or appending jar files in order to include the framework to properly decompile.

Appreciate the link though, i'll look into that and see if that helps.

Almost soft bricked my phone yesterday.

Note to anyone who tries: do not flash the 4 in 1 reboot into MJ4 if you've OTA updated. It will give you the boot loop. I was able to get out of it by trying a couple of things, but I got myself into a worse mess when trying to odin back down to MI5. I didn't read that you couldn't, my own oversight.

If you try and get the KIES error in odin mode, don't fret, just reflash TWRP or CWM and you can flash MJ4 again through Freeza's file.

Though this will wipe your phone in the process... I completely didn't figure that out until my phone came back with the non Sprint splash screen (which was nice)!

Anyway, just some feed back -- with the link i'll be doing some editing of my own =D thanks guys!
 
  • Like
Reactions: Tahde

mjcollum

Senior Member
Mar 13, 2011
2,111
4,851
0
TEXAS
Thanks for the response and link -- the basic steps are as you said, basic and known -- that's the general idea when you want to decompile. Problem was finding proper steps on how to decompile and what libraries you needed or appending jar files in order to include the framework to properly decompile.

Appreciate the link though, i'll look into that and see if that helps.

Almost soft bricked my phone yesterday.

Note to anyone who tries: do not flash the 4 in 1 reboot into MJ4 if you've OTA updated. It will give you the boot loop. I was able to get out of it by trying a couple of things, but I got myself into a worse mess when trying to odin back down to MI5. I didn't read that you couldn't, my own oversight.

If you try and get the KIES error in odin mode, don't fret, just reflash TWRP or CWM and you can flash MJ4 again through Freeza's file.

Though this will wipe your phone in the process... I completely didn't figure that out until my phone came back with the non Sprint splash screen (which was nice)!

Anyway, just some feed back -- with the link i'll be doing some editing of my own =D thanks guys!
Yea there are a few little things to watch out for.

Like when decompiling and recompiling register both framework res
And twframework
Or you'll get errors.

I have a list somewhere of all the steps I had to take start to finish to get a odex hotspot. Maybe I'll clean it up a bit. Won't be a real tutorial. More like an example.


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

CJPRICO

Senior Member
May 12, 2011
131
29
0
@freeza.
I had installed the mms uncompressed mod work for a while but now it stopped uncompressing and its back to compressing images on mms. Ive tried flashing again but it still compresses again. What can it be done to make it work again?

N900p MI5 srooted deodex

Sent from my SM-N900P using XDA Premium 4 mobile app
 

micmars

Inactive Recognized Contributor
May 1, 2013
10,323
19,050
0
Tampa Bay
JoshBeach, How come with all your mods you do not simply upload your already modded APK so all we have to do is copy and paste?

Also, how come other developers threads got deleted just because of this thread. That is not right to the original developers in any way. The 4in1 Reboot causes my phone to sit at sprint logo. Stock MJ4 Odex.
I won't answer as to why or why not regarding the modded apk, inasmuch as I have a hard enough time speaking for myself, but I can hopefully provide guidance on the horrid yellow logo screen.

Pull the battery, pop out the memory card, reinsert the battery, reboot.

Hopefully profit.

Let us know if that works and report back.

Good luck!

Sent from my SM-N900P using Xparent BlueTapatalk 2
 

JoshBeach

Inactive Recognized Developer
Dec 19, 2007
4,692
31,810
0
Upstate NY
JoshBeach, How come with all your mods you do not simply upload your already modded APK so all we have to do is copy and paste?

Also, how come other developers threads got deleted just because of this thread. That is not right to the original developers in any way. The 4in1 Reboot causes my phone to sit at sprint logo. Stock MJ4 Odex.
@JamesChilds because I did these mods as I was building my rom. (Which is not stock) Furthermore the guides were made to assist other developers in adding these mods to their roms. Id rather teach you to fish than give you one.

So far theres only my rom. Freezas stock rom. And just today bonsai rom. Ie am hoping to get some other devs pumping out some work by assisting them.

In regard to other devs threads getting closed. I closed my threads and freeza had a moderator close his. The reason is so the development section isnt cluttered with guides. I was asked to start this thread. Also 2 other developers have access to the op. Not just me. They are listed as contributors and can change whatever they want.

Hope this answers all of your questions.

Sent from my Samsung Galaxy Note 3 using JellyBombed Tapatalk.
 
  • Like
Reactions: cun7 and micmars

Gellenole

Senior Member
Jun 4, 2008
141
8
0
Yea there are a few little things to watch out for.

Like when decompiling and recompiling register both framework res
And twframework
Or you'll get errors.

I have a list somewhere of all the steps I had to take start to finish to get a odex hotspot. Maybe I'll clean it up a bit. Won't be a real tutorial. More like an example.


Sent from my SM-N900P using Tapatalk
Thanks!! Even with these "examples" it's easy to extrapolate the steps into doing other mods. Great way to start out! appreciate it if it can be shared.
 

WeSiDe

Senior Member
May 6, 2006
249
187
0
Phoenix
Dear God Josh I finally got a real phone, stoked its the same varient yer deving for. Just found out about an internal memo stating Sprint techs are supposed to repair rooted devices just like non-rooted, was sweatin the knox fuse. Im bout to get jelly bombed fa sho. what it do team Venom!?