- 04-12-2012, 02:55 AM
Thread Author #1
- 04-12-2012, 02:58 AM #2
Re: Porting help.
- 04-12-2012, 03:01 AM
Thread Author #3
- 04-12-2012, 08:17 PM
Thread Author #4
Re: Porting help.
So I got as far as fixing some issues and all. I'm still having problems trying to figure out how to fix mms, I've read your guide and I don't know what to do. I don't know how to use apk tool, how to decompile files, and all of that. I'm not sure if I have to do it but oh well.
So how do I fix mms? Can you make it as noob friendly and simple as possible?
- 04-12-2012, 08:23 PM #5
Apktool is actualy quite simple once set up correctly

What you need to do is to download the androidsdk, then download platform tools.
Then you add the folder containing your platform tools to the PATH in the properties of the computer, so that way you can open up command prompt and jist type "apktool"
Before I ramble any further... does any of this make sense?
- 04-12-2012, 08:26 PM
Thread Author #6
- 04-12-2012, 08:40 PM #7
Yes yes!! You also need to add java to your variable PATH so apktool can access the java code.
Once you get it set up, you just type away
Apktool -d apkyouwanttodecompile.apk C:/locationyouwanttoputthedecompiledapk/nameofapk
That decompiles^^
Then
Apktool -b C:\placeyouputapk\apkname
And boom, its built. Just remember you need to sign the built apk using signjar.jar
Edit: I use windows 7 - 04-12-2012, 08:53 PM #8
The nice thing about using Linux, is there is no need to miss with paths for apktool. Just drop all three files in /usr/local/bin/ after giving them both root, and making them excitable.
SuperiorIrkenOrgans 100% CyanogenMod for LGE Optimus devices.
[CyanogenMod-7 ROM+KERNEL] OM-Mandylion my CyanogenMod-7 ROM build.
[Recovery] ZenGarden 2.0.2.7-T a recovery to fit all your needs. - 04-12-2012, 08:55 PM
Thread Author #9
Re: Porting help.
Okay, here is what I did, I got the files "apk tool", and "apk tool install windows" and extracted them to the computer> local disk (c
> windows> system32.
I also installed java in the same directory however whenever I type in "apktool" into the command it gives me a message saying "'java' is not recognized as an internal or external command" - 04-12-2012, 09:02 PM #10
That means it can't find it

right click on computer and select properties, then select advanced system settings, then select environment variables. Then scroll down till you see PATH, and click edit. Then at the end of the list put a ";" and then add C:\whereveryourfolderis\java (if the subfolder java is in is called that) and then just click ok.
Then try typing apktool again into the prompt.
@earthnfire, I bet its so simple... my dad wont let me partition his hard drive though
- 04-12-2012, 09:17 PM
Thread Author #11
- 04-12-2012, 09:18 PM #12
Re: Porting help.
If some one gets to port the joy rom could they please post it because my lil bro would like to have that rom! Thanks
- 04-12-2012, 09:35 PM #13
- 04-12-2012, 09:45 PM
Thread Author #14
- 04-12-2012, 09:54 PM #15
Haha ok. So... java installs to C:\Program Files (x86)\java\jdk1.5.0 (assuming you have java 1.5 installed). It will be different depending on what java installed. Just look in the location I just mentioned and use the latest version of java.
Then follow what I said before and add this location C:\Program Files (x86)\Java\name of the java subfolder add that to the path variables as I described in a previous post.....
Currently in your PATH, there probably should only be something like C:\Program Files
Therefore to add another, you simply put C:\Program Files;C:\Program Files (x86)\Java\jdk1.5.0 (OR WHATEVER THE JAVA FILE IS ACTUALLY CALLED)
That should do it for the java problem
Edit: I tried to put it as noobishly as possible
if I'm doing a terrible job explaining, google may render better results
- 04-12-2012, 10:05 PM
Thread Author #16
Re: Porting help.
Okay so this is all that came before. "C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\12.0\DLLShared\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\java"
Then without a space or quotes I entered this. ";C:\Program Files (x86)\java\jre6"
I still get the bad command :/ - 04-12-2012, 10:16 PM #17
I believe you need a jdk installed, not a jre. Jre = runtime environmemt jdk = all the java files. If you have a jdk in the java folder use that instead of the jre6.
Oh and also.... you MUST run the command prompt as administrator or else it will not have access to the java. That actually could be your problem
Edit: jre is ok, I think it will work if your run in administrator.
http://forum.xda-developers.com/showthread.php?t=1466100
Here's the how to thread on xda in case you haven't found it yet
Sent from my VM670 using Tapatalk 2Last edited by anthonycr; 04-12-2012 at 10:21 PM.
- 04-12-2012, 10:25 PM
Thread Author #18
Re: Porting help.
Okay so I added entered this C:\Program Files (x86)\java\jre6\bin
Then I get a message saying "unable to access jarfile C:\System32\\apktool.jar"
I'm sorry I'm probably being really annoying, if you wish not to help anymore I can understand however if you do want to help what do I do next? I appreciate your patience and help! - 04-12-2012, 10:49 PM #19
Re: Porting help.
I don't know about you guys, but I just put apktool and all it's other needed files in a folder and opened terminal, CD'd to the directory, and ran
And for recompilingCode:java -jar apktool.jar d apk.apk
Of course I have the sdk and java installed.Code:java -jar apktool.jar b apk
- 04-12-2012, 10:53 PM #20
Make sure now that you have C:\System32 added to your path (the resting place of the apktool).
No I'm not getting tired of helping, I'm just getting tired.... imma fall asleep :yawn:
Sent from my VM670 using Tapatalk 2 - 04-12-2012, 11:02 PM
Thread Author #21
- 04-12-2012, 11:08 PM #22
What exactly are you trying to get working?
Sent from my LG-VM670 using Tapatalk 2 Beta-5 - 04-12-2012, 11:14 PM
Thread Author #23
Re: Porting help.
I'm trying to get mms to work on a rom I'm trying to port. I may have something though! I'm not out yet!
I held shift, ctrl and right clicked in a folder that I extracted the apktool files, then chose "open command window here" and entered apktool and I believe it's working now!
Gannon's guide to port: [GUIDE] How I port - 04-12-2012, 11:27 PM
Thread Author #24
- 04-12-2012, 11:31 PM #25



Reply




































