Compile and recompile - Galaxy Ace S5830i General

Okay so i knw how to compile with apk tool but when i done editing the file i open cmd and type apktool.jar b setting setting.apk and nothing happens
Any suggestions?

I've had the same problem.
You have to download the apktool-installer-windows, place it in the same folder as apktool.jar and type in the command line: "apktool b setting setting.apk" (without the quotes and ".jar").
Sent from my GT-S5830i using xda premium

'java' is not recognized as an internal or external command,
operable program or batch file.

Related

how do you open and edit classes.dex?

I can not open classes.dex for the life of me. I have tried multiple ways with different commands and such and still can not get it to open.
I have found this method to get me the farthest but still no go on opening it. every time I enter the command
java -jar baksmali.jar -o classout/ classes.dex
Click to expand...
Click to collapse
I get "Unable to access jarfile baksmaili.jar"
Thanks to anyone who is willing to help.
Download AvaboxV2 and unzip the folder. Inside there are tools for editing and such, namely the "Smali" folder which is hopefully what you are looking for.
kyouko said:
Download AvaboxV2 and unzip the folder. Inside there are tools for editing and such, namely the "Smali" folder which is hopefully what you are looking for.
Click to expand...
Click to collapse
I tried that. It will only do apks... I need to to do it to a .dex or a .jar
okay now I see the folder C:\Users\Devin\Documents\AvaboxV2\Smali\baksmali
but still I will need the command prompt and I will be in the same trouble i am in now.
Put the classes.dex file in the \smali\baksmali folder. then navigate to that folder in command prompt:
Code:
cd\
cd C:\Users\Devin\Documents\AvaboxV2\Smali\baksmali
java -jar baksmali-1.1.jar -o classout/ classes.dex
*that should create a folder called "classout" in \baksmali with the smali files*
Then make your edits to the .smali files using notepad++ or w/e
To close up the classout folder and put it back into a classes.dex enter this in cmd:
Code:
java -jar smali-1.1.jar classout -o classes.dex
Edit: fixed file name mix-up
kyouko said:
Put the classes.dex file in the \smali\baksmali folder. then navigate to that folder in command prompt:
Then make your edits to the .smali files using notepad++ or w/e
To close up the classout folder and put it back into a classes.dex enter this in cmd:
Code:
java -jar smali-1.2.1.jar classout -o classes.dex
Click to expand...
Click to collapse
dude no matter what I type cmd will NOT go to that folder. "Folder not found" or some ****.
I can NOT wait till iPhone 4 comes out android is total ****.
got it to go to teh folder in cmd but like I said i get the stupid ass unable to access jarfile baksmali.jar
When baksmali.jar is clearly in the freaking folder.
Is there not an easier way to do this?
Ooohhh shii- lol I'm a dumbass
Haha it should be baksmali-1.1.jar and smali-1.1.jar
I just edited my previous post to fix that mixup
I even pasted strait from yours.. it does not work man. I give up android is gay
Never mind thank you so much man.. I was just getting pissed off because I have been trying this for so long. Thanks for the help.
Funny thing is, you think you'll be able to mod I phone easier? Ha!
-------------------------------------
Sent via the XDA Tapatalk App
roflcopter
danaff37 said:
Funny thing is, you think you'll be able to mod I phone easier? Ha!
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
..Thumbs up
Srsly..its not difficult to mod android and its apps/framework(/resources)...at all. Only 2 real vars: setup and level of incompetence
not related->Getting a mac soon, mostly everything is windows compatible (80% of market/business/etc), mac not so much...parallel+windows 7 good idea?
kthxbai
I run a dual boot between ubuntu and windows 7 for work
Sent from my HERO200 using XDA App
Anyone have a clue why i get this error?
Smali\baksmali>java -jar framework.jar
-o classout/ classes.dex
Failed to load Main-Class manifest attribute from
framework.jar
This prog hero specific?
Thanks'
hellmonger said:
Anyone have a clue why i get this error?
Smali\baksmali>java -jar framework.jar
-o classout/ classes.dex
Failed to load Main-Class manifest attribute from
framework.jar
This prog hero specific?
Click to expand...
Click to collapse
it not hero specific > link
framework.jar doesn't have the "Main-class" header which is why you're getting that error.
it should be
Code:
java -jar baksmali.jar -o classout/ classes.dex
NOT
Code:
java -jar [COLOR="red"]framwork[/COLOR].jar -o classout/ classes.dex
java -jar is used to run the baksmali and smali.jar "applications"
can this be done in window? cygwin? I have tried to call baksmali for a classes.dex also and having no luck. any insight?
thank
thanksssssss
this app, everytime i start it, i have to press OK button (that annoying) but it work. see what can we do with it:
- i try to extract the classes.dex file, (using winrar)
- edit some code (to remove the dialog appear when it start),
- compress the code back .dex file
- put the .dex into .apk file
- install on the phone fail
can anyone give me suggestion or please do something..
khanhj said:
this app, everytime i start it, i have to press OK button (that annoying) but it work. see what can we do with it:
- i try to extract the classes.dex file, (using winrar)
- edit some code (to remove the dialog appear when it start),
- compress the code back .dex file
- put the .dex into .apk file
- install on the phone fail
can anyone give me suggestion or please do something..
Click to expand...
Click to collapse
Why you have attached a warez spy app?
Can anyone tell why I get this error?
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: bad magic value: 64 65 79 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:359)
at org.jf.baksmali.main.main(main.java:176)
Using Win7. I've always just thrown all editing files in Android/SMALI folder.
Hold Shift, Right Click "Open Command Window Here".
Then for compressing/decompressing the commands I use are.
java -jar baksmali.jar -o classout/ classes.dex
java -Xmx512M -jar smali.jar classout -o classes.dex
Haven't run into any issues yet. I noticed no one has put the "-Xmx512M" in their code.
I hope this helps.

[GUIDE][HOW-TO] Decompile and Compile apps using Apktool in 5 Simple Steps

Hello
I want to keep things simple and very easy. I will write a 5 step guide for setting up apktool and start modifying your app's or any other android framework. This guide will be strictly for windows users, since setting up and using apktool in windows is the easiest.
So lets begin -
What you need before you learn how to use apktool -
A computer running windows
A working internet connection for downloading the following -
JAVA SDK and JRE
Android SDK
Apktool core tool
Sign apk tool
Basic command prompt commands and path knowledge
A good linux format code editing program like NotePad ++ [Get it from HERE]
STEP 1 - Install JAVA - Go HERE
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just go to the above website and download java SDK and JRE.
We mostly use only SDK libraries but JRE is required when you want to modify games or apps like whatsapp. So its best if we install both.
install them in any directory for example C:\ drive and you are good to go to next step 2.
STEP 2 - Install Android SDK- Go HERE
Just go to the above website and download the SDK.
Install it in an easy path. For example - C:\android
The short path will be useful when you are using adb for logcat purposes, since typing in a long path every-time you want to access the adb executable file is painful.
So once you installed the SDK move on to next step 3
STEP 3 - Download Apktool - Go HERE
For downloading apktool related files, you need to go HERE
Download latest apktool version, currenlty 1.5.2
Download the batch file and aapt.exe
Create a folder anywhere in the pc and put all the apktool.jar, aapt.exe and the batch script in that folder. [see screenshot]
This will be the operating folder for you now.
Next move to next step 4
STEP 4 - Using apktool for decompiling anything
Open command prompt
navigate to the folder where you placed apktool.jar, batch script and the aapt.exe [see screenshot]
For this guide i am using a simple framework-res.apk for reference.
Once you are in the folder via cmd prompt, you need to install the file using the " IF " command
type the following command -
Code:
[B]apktool if [I]name-of-the-app[/I] .apk[/B]
For example, once the command is executed correctly, it will look like this -
Code:
[B]apktool if framework-res.apk[/B]
Once the app is installed you need to decompile it.
For decompiling use the command "d". The "d" stands for decompile.
Code:
[B]apktool d [I]name-of-the-app[/I] .apk[/B]
For example -
Code:
[B]apktool d [I]framework-res.apk[/I][/B]
After the app is correctly decompiled, a new folder will be created in the same folder where you placed your app. This contains all the xml's and smali files which can be edited for different mod's.
For example, here's how it will look once the app is decompiled -
Then after you are finished with your modding, you need to recompile your app for using it.
To recompile the app use the following command " B ". The "b" simply means recompile.
Code:
[B]apktool b [I]name-of-the-app-folder[/I][/B]
NOTE - While recompiling the app, you just need to type the name of the folder the app's files contains.
For example -
Code:
[B]apktool b [I]framework-res[/I][/B]
framework-res is the name of the folder
The final modded app will be in the dist folder located inside the original app folder created by apktool.
For example -
Congrats ! If everything went well, you successfully created a modified app !
Now the most important step is below in step 5
NOTE - You MUST follow the step 5. Or else the app wont work and when you try to push it into system, the rom will be stuck in bootloop XD
Click to expand...
Click to collapse
STEP 5 - Signing the apk
to sign an apk download the "sign-apk.rar" from below attachements
extract it to any place.
open a new command prompt and change into the sign-apk directory using cmd
move the modified-unsigned apk into this folder [see screenshot] -
then type the following command -
Code:
[B]java -jar signapk.jar certificate.pem key.pk8 [I]path-of-the-folder-contaning-the-apk .apk path-of-the-new-signed-apk .apk[/I][/B]
For example -
Code:
[B]java -jar signapk.jar certificate.pem key.pk8 [I]framework-res.apk framework-res-signed.apk[/I][/B]
Once compiled, the signed apk will be found in the same folder.
This is FINAL APK.
Simply rename it to the original apk and push it into the system ! DONE !
If you have any errors or problems related to apktool, post them here, I will try to solve them.
STEP 1 : Rooting MAC
If you have a mac, apk manager doesn't work on macs. So, you must use apktool. To set up apktool, you must have root mode enabled on your mac. To do that, simply follow these steps:
Open system preferences
Open accounts
Go to login options
Hit join next to network account server
Select open directory utility
Click the lock at the bottom of the window that pops up and enter an admin password
Then, go to the top bar on your mac, hit edit, and select enable root mode
STEP 2 : SETTING UP APKTOOL
Once you have root mode enabled, you're ready to set up apktool :
From the apktool website, download apktool-latest-version.tar.bz2 and apktool-install-macosx-latest-version.tar.bz2
Next, open terminal type :
Code:
[B]su
tar -C /usr/local/bin -xvf <zipped file name>
tar -C /usr/local/bin -xvf <zipped file name> (for the second file)[/B]
Now to confirm it worked, type "apktool" no quotes
You should get a help menu for apktool
If you got it, you're good to go to next step.
STEP 3 : USING APKTOOL
Now, once you have it set up, you're ready to go! After typing apktool, you'll see the help menu which'll give you the commands available for apktool, but I'll go over the basic ones here.
For installing frameworks or apps
Code:
apktool if
This command will decompile the apk
Code:
apktool d "apk path here"
This command will build an apk from a previously decompiled one
Code:
apktool b "decompiled apk path here"
----------------------------------------------------------
Download the apktool.java file along with other files, as shown above. Extract them to the desktop.
Now open terminal and type line by line :
Note : "android" in all the below commands is my username. So it changes according to your pc name
We are giving root permissions for the 3 files that you extracted above.
Code:
chown -R android:android '/home/android/Desktop/apktool.jar'
press enter
Code:
chown -R android:android '/home/android/Desktop/aapt'
press enter
Code:
chown -R android:android '/home/android/Desktop/apktool'
press enter
Next make all 3 files executable by doing the same thing one at a time pressing enter in between each one:
Code:
sudo chmod +x '/home/android/Desktop/apktool.jar'
after the first it will ask you for your password type it, you shouldnt need it after that for the rest
Code:
sudo chmod +x '/home/android/Desktop/aapt'
Code:
sudo chmod +x '/home/android/Desktop/apktool'
now we need to move all three files to bin folder to do it type this command and enter your password:
Code:
gksudo nautilus
a new window should pop up on the left click on "filesystem/usr/local/bin, then drag all three folders into the bin folder and close it.
APKTOOL is now ready and make your modifications on a linux distro easily
for decompiling - compiling apk, use apk multi tool, waaay simpler. (and stable).
Thanx will read it
Sent from my GT-S5570 using xda app-developers app
dzeig said:
for decompiling - compiling apk, use apk multi tool, waaay simpler. (and stable).
Click to expand...
Click to collapse
yea its easier but i prefer apktool simply...
Any tuto for Mac? :s Dunno how to access use folder to put the apktool in mac
Sent from my GT-S5570 using xda app-developers app
The Alchemist said:
yea its easier but i prefer apktool simply...
Click to expand...
Click to collapse
You really rock! You wrote a while awesome thread just cause one Guy mentioned he couldn't get it up and running and he didn't even ask for help.... you are awesome..,
Sent from my GT-S5570 using Tapatalk 2
Big thanks to this Guy named Alchemist will try install windows here and try It
Sent from my GT-S5570 using xda app-developers app
gabrielking9 said:
Any tuto for Mac? :s Dunno how to access use folder to put the apktool in mac
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
will write that first thing tomo morning...but why not dual boot windows ? can that be done in mac ? i dont know since i never used mac...
The Alchemist said:
will write that first thing tomo morning...but why not dual boot windows ? can that be done in mac ? i dont know since i never used mac...
Click to expand...
Click to collapse
Yeah it can but my father... but I can with parallels app without him discover I just need found one cracked :x
Sent from my GT-S5570 using xda app-developers app
gabrielking9 said:
Yeah it can but my father... but I can with parallels app without him discover I just need found one cracked :x
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
lol u r installing windows...not watching porn XD...just tell him i need it for studies or watever...
mac tutorial updated
Hey i am stuck at the part
" tar -C /usr/local/bin -xvf <zipped file name> "
What i need to do? I have the "apktool-install-macosx-r05-ibot.tar.bz2" file and the folder "apktool-install-macosx-r05-ibot" which one should i put in it? and i need put it with directory For example: /user/gabriel/desktop/apktool-install-macosx-r05-ibot ??? and i need put this "><" ??????
i think the u need to put the contents of that tar file in bin folder and not the zip..
and could u unquote my post ? its a bit annoying to scroll down..
The Alchemist said:
i think the u need to put the contents of that tar file in bin folder and not the zip..
and could u unquote my post ? its a bit annoying to scroll down..
Click to expand...
Click to collapse
Done!
I need to put this " < >" ????
1st try with <> if it doesnt work, just remove and execute..
sorry i am not able to remember bcoz i just checked my frnds laptop at the office when he was working...so i had to hurry things up..
Having this problem
tar: could not chdir to '/usr/local/bin'
gabrielking9 said:
having this problem
Code:
tar: could not chdir to '/user/local/bin'
Sorry i made a big mistake lol
Click to expand...
Click to collapse
are u rooted ? and did u try with <> removed and unremoved ?
EDIT: Tried some solutions and did not worked :/ dunno why i am stuck on this part
Thanks, this tutorial is really simple

[GUIDE] Decompiling/Recompiling Apk's using Apktool

Hello Guys, this is for the one who wanna learn how to decompile recompile apk's I created this thread here because for desire c user.. easily find..
Requirements:
-Java Link
-Winrar Link
-Notepad++ Link
-and Apktool Link (Credits Rizal Lovins)
-Common Sense/Brain
Extract it on C:/Apktool (Create a Apktool Folder)
Method
1.Go to C:/Apktool (Where you put tha jar files) also copy your framework-res.apk to C:/Users/(Name)/apktool/(here) and rename it to 1.apk
2.And Put the Apk you want.. put the apk to C:/Apktool
3.Then press SHIFT+Right Click there inside Apktool folder
4.Then CMD will pop-up then type apktool d (name).apk then enter... ex. apktool d Settings.apk (then enter)
5.Then A Folder will Pop-up on C:/Apktool named Settings (if you decompile Settings.apk)
6.Now Sign your output... (if needed)
7.Go to decompiled Folder-dist- press SHIFT+Right Click CMD pop up type... java -jar SignApk.jar testkey.x509.pem testkey.pk8 (decompiled).apk (decompiled)_signed.apk
Optional : Zipalign
Go to decompiled Folder-dist- press SHIFT+Right Click CMD pop up type zipalign -fv 4 (decompiled)_signed.apk (decompiled)_signed_zipaligned.apk
Have Fun Guys...

[REQUEST] help me recompile

Warning: Wall of Text Incoming
I want to enable screen off animation in miui v4 rom(cm9 based) by vadim shved. but I get an error when I recompile my framework. I used this guide as reference http://forum.xda-developers.com/showthread.php?t=1595099
so... can someone do it for me?
I know that some of you guys will say "open settings then go to display settings and enable screen off animation" but I must say, SCREEN OFF ANIMATION IS NOT PRESENT IN ANY PART OF THE ROM'S SETTINGS.
Error Log:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Chito>cd..
C:\Users>cd..
C:\>cd android/apktool
C:\android\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Chito\apktool\framework\1.apk
C:\android\apktool>apktool d framework-res.apk framework1
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\android\apktool>apktool b framework-res-new.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.Direc
toryException: java.io.FileNotFoundException: framework-res-new.apk (The system
cannot find the file specified)
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.DirectoryException: java.io.FileNotFoundException: fra
mework-res-new.apk (The system cannot find the file specified)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
Caused by: java.io.FileNotFoundException: framework-res-new.apk (The system cann
ot find the file specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)
... 7 more
C:\android\apktool>
Click to expand...
Click to collapse
STEP BY STEP PROCESS
Step 1 : Get a copy of your framework-res.apk on your sd card. Do this by starting up root explorer on your phone, navigate to system - framework, scroll down and you should see framework-res.apk. Keep your finger pressed on it and you should see some options, select copy. Now press back twice and find the sdcard folder. Paste it anywhere you want (I made a folder for it so its easier to manage).
Step 2 : : Connect your phone up to your PC:
If you have sd card slots in your PC then unmount your sdcard from your phone by going to settings-SD card and Phone storage , take out your SD card and stick it in the SD card adapter that you should have gotten with your phone and stick that in the SD card slot in your PC
If you don't have an SD card slot then simply connect your phone to your PC via USB. When you connect it you should get a notification saying that the USB is connected, if you didn't you may need to install the drivers. On your phone drag down the notification bar and tap on "USB connected" and then tap "Connect storage to PC"
Step 3 : Now that your phone or SD card is connected you will need to navigate to where you put your framework-res.apk. cut it and paste it to a folder on your computer of your choice (somewhere easy to find). Now make a copy of it (yes that was not a typo we will need the original copy of framework-res if we fail, but we shouldnt fail). Anyway copy and paste it to the folder that you extracted "apktools". So for me that was "C:\Android\apktool" Yes i made a folder called android in C (easier to manage).
Step 4 : Now that we have a copy of framework-res.apk in the apktools folder we can modify it to enable the crt animation (at this point you can choose to disconnect your phone or SD card from your PC and connect it later or leave it in). Now we need to start up command prompt. This is where our years of command prompt navigating come into place . At this moment you should see "C:\Users\<Your Username>", you will need to navigate to where you extracted apktools, if you extracted it in "C:\" or somewhere else easy then this should be a walk in the park for you. If you extracted in "C:\" just type "cd C:\" then "cd apktool" and your there. For others, well....Go on to step 5 in a couple minutes
At the end of it you should see something like "C:\.......\apktool" (not the dots obviously)
Step 5 : now that you have framework-res.apk in the folder where you extracted apktools and you have command prompt open lets get started. First we will need to install framework to your system so we can compile correctly. To do this type "apktool if framework-res.apk" in command prompt. If you were successful you should see something like "I : Framework installed to C:\......."
Step 6: We will now need to decompile framework-res.apk. To do this type "apktool d framework-res.apk framework1". If it decompiled succesfully then there should be a folder called "framework1" where you extracted apktool.
Step 7 : Now we get to make that modification we need. Click on "framework1" --> "res" -- > "values". Find a file called "bools.xml" right click on it and click edit. Now we are looking for this line :
<bool name="config_animateScreenLights">true</bool>. Once you have found it change "<bool name="config_animateScreenLights">true</bool>" to "<bool name="config_animateScreenLights">false</bool>" now we save it (Do not click "save as" just click save)
Step 8 we will now need to recompile framework-res.apk. So open up the handy dandy command prompt and type "apktool b framework1 framework-res-new.apk". If all went well you should see a file called "framework-res-new.apk (Dont worry about all the writing in the command prompt window you saw, if you saw any). framework1 is the folder with our edited file
" NOTE: We are NOT using framework-res-new.apk as our new framework-res.apk IT WILL NOT WORK
Step 9 : This is where we are going to use 7zip. You have to open your original apk (the one we copy pasted into the apktool folder) with 7zip. right click on "framework-res.apk". Click "Open" and a window should show up check the box that says to open with a list of installed programs. You will need to browse to the folder you installed 7zip and click on "7zFM", then click "Ok". Now that we have our original "framework-res.apk" open in 7zip need to navigate to the "framework1" folder. Click on "Build -->apk" and there should be a file called "resources.arsc". Drag and drop this file in the 7zip window. You should get a confirmation box. Click "Ok" (There is already one in the 7zip window, the one we are dragging and dropping will replace it).
Step 10: Once we have replaced the "resources.arsc" file we can close the 7zip window. Now heres where the android SDK comes in handy. The rest of this tutorial will be split up into 2 parts; People with the android SDK and people without it
Click to expand...
Click to collapse

[GUIDE] APKTool for Newbie & Noobs

Hi guys !
Bored to the death today, really. So I decided to make another guide.
So, here's APKTool Guide & SignAPK Guide for Newbies !
1. Download APKTool, you can download it here.
Also, download APKTool depencies for your OS :
Windows
Mac OSX
Linux
2. Extract files you've download to the same folder.
For Linux, extract it to /usr/local/bin. Correct the permission by adding executable permission.
3. Now, open CMD (Command Prompt). Press Windows Key + R, type cmd.exe
For Linux, just open Terminal Emulator -.-
4. Change directory to where APKTool is placed. Type these :
Code:
cd apktool directory
for example : cd C:\apktool
For Linux, just type apktool
5. Now you can freely decompile APKs, BUT ! for System APK (like SystemUI), you have to install the framework.
Extract the framework-res.apk from your ROM, and type these :
Code:
apktool.exe if framework-res.apk
for Linux :
Code:
apktool if framework-res.apk
6. Now, enjoy decompiling APK. If you're done with modifying APK, type these :
Code:
apktool b apk name
for example :
apktool b SystemUI
Happy Modding !
SignAPK Guide for Newbies
1. Download signapk.jar and testkey.zip, you need Java for your OS if you don't have it yet.
2. Place signapk.jar in the same folder as APKTool, so you can instantly sign modded APK after modding it. Also extract testkey.zip in the same folder.
3. Type these :
Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 original_apkname.apk signed_apkname.apk
4. Congrats ! You can now install the APK normally or via adb.
Ooh, I think I've seen a lot of your moddings out there (if I'm not wrong). :thumbup::thumbup::thumbup:
Sent from my LG-P705 using Tapatalk
Thanks! It's really friendly! Will give it a shot when you post the signing guide!!
Keep up the good work!!!
Sent from my LG-E610 using Tapatalk
Added SignAPK guide on the second post.
Thanks for reading the tutorial.
Services.jar for Mtk Tecno S5
Please patch it for me and mail it at [email protected]
Sparda15 said:
Please patch it for me and mail it at [email protected]
Click to expand...
Click to collapse
Ha
Sent from above using xparent tapatalk blue
Sparda15 said:
Please patch it for me and mail it at [email protected]
Click to expand...
Click to collapse
its not possible,because youre odexed,we need the device connected via adb to patch it,ive say it to you in my thread,why u dont believe me bro?
Posted here 1st

Categories

Resources