[GUIDE] How to decompile an apk <updated w/ guide><updated with compiling> - T-Mobile Samsung Galaxy S II SGH-T989

[GUIDE] How to decompile an apk <updated w/ guide><updated with compiling>
thought i would transfer this for you guys if you need it. here is original link
http://forum.xda-developers.com/showthread.php?t=1188389
How to decompile an .APK:​
Step 1:
Download >>This<< this is a tool for decompiling an .apk (i take no credit for this tool i did not make it i cant remember where i got it but the credit goes to the maker)
Step 2:
Now go to your C:\ directory create a new folder (doesnt matter what you name it) now extract the apk_manager to the folder that you created.
Step 3:
Download: >>This<< and also >>This<<
(whatever you are using 7zip or winrar, go into settings and integration and check the .BZ2 file extension)
Step 4:
Extract both files to the other folder in apk_manager
Step 5:
Plug your phone into your computer and pull framework-res.apk and twframework-res.apk from your /system/framework/ directory and place both files in the other folder
Step 6:
open up command prompt and enter
cd/
cd (whatever you named the folder that you put apk_manager)
cd other
apktool if framework-res.apk
Step 7:
cd/
cd (whatever you named the folder that you put apk_manager)
cd other
apktool if twframework-res.apk
Step 8:
now grab the apk that you want to decompile and place it in the place-apk-here-for-modding folder
Step 9:
open script now enter 22 into command press enter, press corresponding number for your apk for ex. 1 then press enter, now press 9 then enter... APK should now be decompiling (decompiled apk should be in the projects folder)
[size=+2]Compiling[/size]
You do nearly the same thing for compiling an apk press 22 and enter to select what project you want to do, then 11; your apk should be compiled
Let me know if anyone has any problems with this

Related

[Q] How can I Remove battery icon from 3.70 or Myns RLS5?

I use Battery Indicator and don't like having two battery gauges at the top. I'm running Myns RLS5. Thanks
Any help would be great, as I need to remove the clock for the same reason. Who has the skills - please?!
Sent through space & time on the wings of 4G
You guys can do this yourself, look HERE
Anseri said:
SteelH said:
7. HOW-TO hide the clock
This reference assumes that you already know how to recompile a framework file using smali/baksmali.
Click to expand...
Click to collapse
This is the gotcha - I am not familiar with the Samali/baksmali tool, and the documentation I was able to find was not helpful.
Suggestions?
Click to expand...
Click to collapse
tgearman said:
Anseri said:
This is the gotcha - I am not familiar with the Samali/baksmali tool, and the documentation I was able to find was not helpful.
Suggestions?
Click to expand...
Click to collapse
Me neither. I was hoping to find a flashable zip file that would take care of this but no luck yet.
Click to expand...
Click to collapse
wirenut110 & tgearman - PM me if you want me to custom,ize your services.jar to remove whatever you would like removed.
For the clock removal (3.70) can't link it from my phone but the paper clip in Myn's Rom thread has it. (3.70 OTA no clock)
Sent from my PC36100 using XDA App
Im making a DIY guide right now. itl include how to use smali/baksmali
Skullmonkey said:
Im making a DIY guide right now. itl include how to use smali/baksmali
Click to expand...
Click to collapse
You could start with this:
1. Connect phone using USB and check that you can see your device using: adb devices
2. in your SDK/tools directory from command line do:
Code:
adb pull /system/framework/services.jar services.jar
3. Make a backup of the services.jar file that just popped in the tools folder just in case!
4. Download smali and baksmali from http://code.google.com/p/smali/ and place them in the tools folder. Rename the files to baksmali.jar and smali.jar to save on typing later
5. Open the services.jar file with something such as winrar or 7zip or whatever you prefer
6. Copy out the classes.dex file to your SKD/tools folder
7. run following from command line:
Code:
java -jar baksmali.jar -o classout/ classes.dex
8. Now browse to your new folders /classout/
9. Open the file you want to edit (i.e. the smali file) in something like notepad or context or any text editor, edit it, then save it
10. Now back to the command line and from your SDK/tools folder run:
Code:
java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
11. If the above finishes without errors you should have a file called new-classes.dex in your SDK/tools folder now that is the same size as your classes.dex file.
12. Rename the old classes.dex file to classes-old.dex and rename the new-classes.dex file to classes.dex
13. Open the services.jar file with your archiving tool again from step 5 and replace the existing classes.dex file with our new classes.dex we just created.
14. From command line run:
Code:
adb remount
15. also from command line:
Code:
adb push services.jar /system/framework/
16. Finally run:
Code:
adb shell reboot
ok... this is what i put together... either way will work
Purpose:
This will let you remove various status bar elements such as the clock and battery icons.
Disclaimer:
I am not responsible for any damage done to your phone. Always do a nandroid backup before doing any changes to your phone.
Requirements:
- (bak)smali
- Text Editor (I use Notepad++)
Instructions:
1. Extract classes.dex from services.jar (best to get a clean copy from your rom found in /system/framework/) and place it in your SDK/Tools folder.
2. Open a command prompt/terminal and change the directory to your SDK/Tools folder
3. Run this command (without quotes)
"java -jar baksmali.jar -o classout/ classes.dex" ~Tells baksmali to take classes.dex and decompile it into a folder called classout/
4. Delete classes.dex file from your SDK/Tools folder (saves confusion later)
5. Remove whatever you would like. SteelH has a post on all of these located here.
6. Now that all your changes are made, we need to recompile classes.dex. To do this, run this command (without quotes and capitalization matters)
"java -Xmx512M -jar smali.jar classout/ -o classes.dex" ~tells smali to take the classout/ folder and recompile it to classes.dex
7. Take classes.dex and add it to your services.jar overwriting the old one.
8. Use your favorite method to flash to your phone. If you need to create an update.zip, you can download a blank one in the attached file and place services.jar in the system/framework/ folder of the zip archive and flash like normal.
Click to expand...
Click to collapse
I see on Myn's thread someone posted a zip to remove the clock that is for the latest framework.
Find out who posted it and send then your mod request directly. I'd run it down for you, but I'm out to dinner my phone is going to get confiscated if I don't put it back in my pocket soon...
Sent through space & time on the wings of 4G
OK guys, have a look HERE. This should solve all your problems.
SteelH - you are THE MAN!!
Sent through space & time on the wings of 4G
Worked like a champ - just had to toggle signature verification.
Thank you very much, kind Sir. It's folks like you that make XDA rock!
SteelH said:
OK guys, have a look HERE. This should solve all your problems.
Click to expand...
Click to collapse
Thanks SteelH. That worked.

[Guide] Get Swype back. For a Noob. By a Noob.

No ADB knowledge needed. Just follow instructions.
1. Download mini-adb Here
2. Extract that and put it on your desktop.
3. Download original image file Here
4. Extract the image file using winrar, and put the extracted file onto your desktop.
5. Go into the extracted image file you extracted in step 4, and navigate to
Desktop\ota_odex_V1.1\system\app and find swype.apk.
6. Take the swype.apk, copy it, and paste it into your mini-adb folder you extracted in step 2. Put it here: Desktop\EZ-MiniADB\MiniADB. The folder should also have RunMe.bat and adb.exe, and also the newly pasted swype.apk
7. Go back into the extracted image file you extracted in step 4, and navigate to Desktop\ota_odex_V1.1\system\lib and find libSwypeCore.so
8. Copy and paste that libSwypeCore.so into the same folder you pasted the Swype.apk
9. Go download HTC sync and install it.
10. Plug your phone into the laptop and make sure debugging mode is on.
9. Now go to your mini-adb folder on your desktop and double click RunMe.bat
10. When the black command prompt window pops up, type the following:
adb remount [PRESS ENTER]
adb push libSwypeCore.so /system/lib/ [PRESS ENTER]
adb push swype.apk /system/app/ [PRESS ENTER]
11. Unplug your phone, and you are done! You can set the option of using swype in your settings!
+1 Thanks if you got Swype Working
ADB KNOWLEDGE
Now that you used ADB to push the files, you can also use ADB to push other things to other places. Just make sure whatever you want to push is in the same folder as your RunMe.Bat....
or you could use the root explorer app and extract the files, move the files and install the apk from there... much easier and you dont have to use ADB
WarBird87 said:
or you could use the root explorer app and extract the files, move the files and install the apk from there... much easier and you dont have to use ADB
Click to expand...
Click to collapse
Quite frankly I never came across with a guide with your method. If you think your way is better, go make a guide for it. All the guides I came across didn't work for me except for this one, so that is why I made a guide.
I also found this .apk called Swype Restore in the Cyanogen forums.
http://forum.cyanogenmod.com/topic/...over-your-swype-after-installing-cyanogenmod/
Does the tutorial mentioned in OP require me to have this Cyanogen mod installed ? .. I just got a Desire Z about a week or two ago and I'm just running the default stuff and would like to just install Swype into that directly if possible ..
Or just sign up for the beta and install it...
Mnemoch said:
Or just sign up for the beta and install it...
Click to expand...
Click to collapse
If you take the effort to do it this way, you can always reinstall swype in like 3 seconds, beceause the apk and the lib file is already in ur mini adb folder.

enable ics keys on any ics rom detailed guide

DO THIS AT YOUR OWN RISK MODDING FRAMEWORK IS DANGEROUS READ EVERYTHING BEFORE DOING ANYTHING
Im not responsible for bricks
your house burning down
your cat gone missing
or your phone blowing up
Ok this is NOT my idea here is the original thread http://forum.xda-developers.com/showthread.php?t=1364757
first you will need the android sdk http://developer.android.com/sdk/index.html
you need to install it on your C: directory eg:/android/android sdk
notepad++ is needed to
7zip is also needed and you need to set it as default program for apks
and apktool http://code.google.com/p/android-ap...mmary+Uploaded+ReleaseDate+Size+DownloadCount use apktool 1.4.2 if you get problems with 1.4.3 you will need apktool installer and apktool once extracted put them in a folder in the C: directory and add them to path eg; C:/android/apktool/
THE ANDROID SDK AND APKTOOL NEED TO BE ADDED TO PATH OR NONE OF THIS WILL WORK!
lets get started!
the decompile
1: open command promt and type in
Code:
cd android
(make this folder b4 you start in your user)
2:then
Code:
adb remount
if you installed adb correctly it will say remount succeeded
3:then type this in
Code:
adb pull /system/framework/framework-res.apk
once its done pulling apk
go to android in your user and you will see (if you did it right) framework-res.apk
4: back to cmd and type in
Code:
apktool d framework-res.apk
let it do its stuff
once done goto android in your user and the apk will be decompiled there for you
the modding
1: open up framework-res click on res and scroll down to values open it and click on bools
2: open bools in notepad++ and find "config_showNavigationBar" and set to true
3: now open dimens and find "navigation_bar_height" and set to 34.0dip
4:if your running a kernel like glitch devils you can disable the touch key backlights using nstools
5: done!
the recompile
you will need to switch out the appt in the folder you put apktool and stuff eg:were i put mine C:/android/apktool/
new appt http://www.mediafire.com/?0q52u6v8vdkpq1i
1:switch out appt with the new one
2:goto cmd and type
Code:
apktool b framework-res
then press enter
3:if you did everything right (installing android sdk and apktool) this part should take about 5min
4:if the recompile succeeded kiss your self (joking)
5: open android in your user (NOT ON C: DRIVE) and click on framework-res you will see a new folder called "build" click on it and
you will se three files one of these is "AndroidManifest" leave that well alone open framework-res.apkin 7zip and drag the two folders in "build" into the apk again dont drag androidManifest once the modded filles are in the apk close 7zip
adb push it back to your phone
1:in command promt type
Code:
adb push framework-res.apk /system/framework/
2:when push is complete type
Code:
adb reboot
this will now reboot your phone
3: once booted up you should see the three touch keys at the bottom of your screen everything will look cramped
so goto market and download LCD Density Modder and change the dpi from 240 to 228 reboot and enjoy
obviously this guide is for NOOBS this is not my idea just wanted to give people a easier guide to modding framework
all credit goes to evilisto not me hope you do what you want!!!
this will also work on
nexus s
nexus one
galaxy s II
vibrant
crappy
and galaxy note
other phone you probably can but these are the only ones ive tried it on try on other phones at your on risk
happy modding
peace

[Guide]Deodexing Stock Rom including Email.apk/Email.odex

For those who want to deodex the Stock Rom of Samsung Galaxy Y and having a problem deodexing the Email.apk/Email.odex of Galaxy Y here is a tutorial on how to deodex it successfully. I already tried this process on my own device and it worked perfectly.
What you will need is:
1. baksmali.jar (not my work so credit's not mine)
2. smali.jar (not my work also)
3. java.awt.jar (not mine either)
4. xUltimate-v2.3.3.zip (definitely not my work)
5. Busybox Installer (must be the latest version. this is downloadable for free from the android market)
6. files from \system\app and \system\framework of you phone (most importantly)
Instruction:
1. Download all the attached files at the bottom of this post. Wait until the download finishes.
2. Extract xUltimate-v2.3.3.zip by right-clicking it and selecting "Extract to xUltimate-v2.3.3.zip\"
3. Connect your phone to your computer (just make sure that "USB debugging" option of your phone is checked. To see if it's checked go to Menu -> Settings -> Applications -> Development and there you will see "USB debugging" option, it must be checked)
4. Go to xUltimate-v2.3.3 folder (this is what you extracted in step #2). Run "Main.exe" and wait until the options shows.
5. When options are already shown, type "1" in your keyboard then press enter. Wait until it finishes then press enter to continue.
6. This type type "2" in your keyboard and wait until it finishes then press again enter to continue.
7. Before proceeding to the next step we will remove first the "Email.odex" in the "orig_app" folder to avoid error in the process of deodexing the other odex files. To do this, go to "orig_app" folder then find the file "Email.odex" then move it into your desktop by right-clicking the file and selecting "cut" then right-click on desktop and select "paste"
8. Go back to xUltimate program and select now the option #3 by typing "3" on your keyboard and press enter. Wait until it finishes and press enter to continue.
9. Type "4" in your keyboard and press. Wait again until it finishes and close the xUltimate program when it's finished.
10. In this step we will manually deodex Email.apk/Email.odex so that we can include it in pushing the deodexed files in your phone. Go to your drive C: and make there a folder named "missingchord". After creating a folder go to "xUltimate" folder then "jar" folder then find this files there baksmali.jar, smali.jar, and java.awt.jar copy the following files then paste those three files in the "missingchord" folder.
11. Go to "orig_framework" folder and find this files bouncycastle.odex, core.odex, ext.odex, framework.odex, android.policy.odex, services.odex, core-junit.odex, twframework.jar, and twframework.odex then copy those files and paste it in the "missingchord" folder.
12. Find the "Email.odex" file that to move into your dekstop then copy it then paste it in "missingchord" folder.
13. Open command prompt. To do this go to start -> run then type cmd then press enter. Command prompt should be open by this time
14. Type this in the command prompt
Code:
cd c:\missingchord
then this (choose from the two codes below if which of it will work for you)
Code:
java -jar baksmali.jar -c :java.awt.jar:twframework.jar -x Email.odex
or
Code:
java -jar baksmali.jar -c :java.awt.jar:twframework.jar -a 10 -x Email.odex
15. Wait until it finishes without error. Then type this again in command prompt
Code:
java -jar smali.jar out
16. Wait until step #15 finishes without error. Find for the file "out.dex" inside "missingchord" folder then rename it to "classes.dex"
17. Go to "orig_app" and find for "Email.apk" then add "classes.dex" (from the "missingchord" folder) inside the "Email.apk". To open "Email.apk" you can use WinRar or any other similar software. Save the "Email.apk" after you successfully added the "classes.dex" inside the "Email.apk" file.
18. Copy "Email.apk" and paste it in the "done_app" inside "xUltimate" folder
19. Copy the "done_app" and "done_framework" into your sdcard
19. In xUltimate folder look for "jar" folder then right-click it and select "Open command prompt here". If you don't know how to "open command prompt here" then try to search it in the web.
20. At this point, i'm assuming that you already installed the latest version of busybox on your phone and your phone is still connected in your computer. When the command prompt is open type this following code one at a time.
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
21. Your phone will automatically reboot. Wait for it until it finish rebooting. Then check all you applications if there are missing application.
22. You have now deodexed rom. Enjoy!
Note: If you got an error in step #20 in cp /sdcard/done_app/* /system/app/ command then you must restart you computer and try again step #20 after restarting you computer.
For those who have tried this guide and got a problem, please allow me to know it so that i can help you resolve your problem.
Please press "Thanks" if you find this thread useful
PS: Those attached files are not my work so no credit goes to me.
missingchord said:
For those who want to deodex the Stock Rom of Samsung Galaxy Y and having a problem deodexing the Email.apk/Email.odex of Galaxy Y here is a tutorial on how to deodex it successfully. I already tried this process on my own device and it worked perfectly.
What you will need is:
1. baksmali.jar (not my work so credit's not mine)
2. smali.jar (not my work also)
3. java.awt.jar (not mine either)
4. xUltimate-v2.3.3.zip (definitely not my work)
5. Busybox Installer (must be the latest version. this is downloadable for free from the android market)
6. files from \system\app and \system\framework of you phone (most importantly)
Instruction:
1. Download all the attached files at the bottom of this post. Wait until the download finishes.
2. Extract xUltimate-v2.3.3.zip by right-clicking it and selecting "Extract to xUltimate-v2.3.3.zip"
3. Connect your phone to your computer (just make sure that "USB debugging" option of your phone is checked. To see if it's checked go to Menu -> Settings -> Applications -> Development and there you will see "USB debugging" option, it must be checked)
4. Go to xUltimate-v2.3.3 folder (this is what you extracted in step #2). Run "Main.exe" and wait until the options shows.
5. When options are already shown, type "1" in your keyboard then press enter. Wait until it finishes then press enter to continue.
6. This type type "2" in your keyboard and wait until it finishes then press again enter to continue.
7. Before proceeding to the next step we will remove first the "Email.odex" in the "orig_app" folder to avoid error in the process of deodexing the other odex files. To do this, go to "orig_app" folder then find the file "Email.odex" then move it into your desktop by right-clicking the file and selecting "cut" then right-click on desktop and select "paste"
8. Go back to xUltimate program and select now the option #3 by typing "3" on your keyboard and press enter. Wait until it finishes and press enter to continue.
9. Type "4" in your keyboard and press. Wait again until it finishes and close the xUltimate program when it's finished.
10. In this step we will manually deodex Email.apk/Email.odex so that we can include it in pushing the deodexed files in your phone. Go to your drive C: and make there a folder named "missingchord". After creating a folder go to "xUltimate" folder then "jar" folder then find this files there baksmali.jar, smali.jar, and java.awt.jar copy the following files then paste those three files in the "missingchord" folder.
11. Go to "orig_framework" folder and find this files bouncycastle.odex, core.odex, ext.odex, framework.odex, android.policy.odex, services.odex, core-junit.odex, twframework.jar, and twframework.odex then copy those files and paste it in the "missingchord" folder.
12. Find the "Email.odex" file that to move into your dekstop then copy it then paste it in "missingchord" folder.
13. Open command prompt. To do this go to start -> run then type cmd then press enter. Command prompt should be open by this time
14. Type this in the command prompt
Code:
cd c:\missingchord
then this (choose from the two codes below if which of it will work for you)
Code:
java -jar baksmali.jar -c :java.awt.jar:twframework.jar -x Email.odex
or
Code:
java -jar baksmali.jar -c :java.awt.jar:twframework.jar -a 10 -x Email.odex
15. Wait until it finishes without error. Then type this again in command prompt
Code:
java -jar smali.jar out
16. Wait until step #15 finishes without error. Find for the file "out.dex" inside "missingchord" folder then rename it to "classes.dex"
17. Go to "orig_app" and find for "Email.apk" then add "classes.dex" (from the "missingchord" folder) inside the "Email.apk". To open "Email.apk" you can use WinRar or any other similar software. Save the "Email.apk" after you successfully added the "classes.dex" inside the "Email.apk" file.
18. Copy "Email.apk" and paste it in the "done_app" inside "xUltimate" folder
19. Copy the "done_app" and "done_framework" into your sdcard
19. In xUltimate folder look for "jar" folder then right-click it and select "Open command prompt here". If you don't know how to "open command prompt here" then try to search it in the web.
20. At this point, i'm assuming that you already installed the latest version of busybox on your phone and your phone is still connected in your computer. When the command prompt is open type this following code one at a time.
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
21. Your phone will automatically reboot. Wait for it until it finish rebooting. Then check all you applications if there are missing application.
22. You have now deodexed rom. Enjoy!
Note: If you got an error in step #20 in cp /sdcard/done_app/* /system/app/ command then you must restart you computer and try again step #20 after restarting you computer.
For those who have tried this guide and got a problem, please allow me to know it so that i can help you resolve your problem.
Please press "Thanks" if you find this thread useful
PS: Those attached files are not my work so no credit goes to me.
Click to expand...
Click to collapse
Can I use this if maps and phonesky has a error?
Jay_SEAN said:
Can I use this if maps and phonesky has a error?
Click to expand...
Click to collapse
Well, I tested from my side with the Play Store and it worked. Make a backup with CWM and try it.

How to package apk

How to extract an apk and repackaging it?
It needs help
Thank you
minhlc1956 said:
How to extract an apk and repackaging it?
It needs help
Thank you
Click to expand...
Click to collapse
Did you try This?
rayford85 said:
Did you try This?
Click to expand...
Click to collapse
lol, but i think he might mean the classes removal and the right .jar ver also.
rayford85 said:
Did you try This?
Click to expand...
Click to collapse
Very useful for me
Thank you much
toolhas4degrees said:
lol, but i think he might mean the classes removal and the right .jar ver also.
Click to expand...
Click to collapse
A hard man
I sent you a pm with tools. pm me if you need help
apktools ics (taken from rayford85's page a while ago thanks buddy)
Link
https://dl.dropbox.com/u/74861217/APKtoolsForICS/ApktoolsForIcs.zip
Easysignapk (forgot who made the batch file, but credits to them great work)
Link
https://dl.dropbox.com/u/74861217/APKtoolsForICS/signapk/EasySignApk.zip
toolhas4degrees said:
I sent you a pm with tools. pm me if you need help
Click to expand...
Click to collapse
I really need your help
Thank you very much
here is a guild
http://androidforums.com/esteem-all...roperly-decompile-recompile-apks-apktool.html
but just open the command prompt in each folder instead of browsing to it.
0.first of all unzip both of the tools i gave you into a folder bearing their name.
1. put framework-res.apk in both decompile and compile folders, and the apk you wish to mod.
2. open the .apk you wish to mod with winzip, or 7-zip and copy classes dex to a safe place(do this by grabbing the file while .apk is opened in 7- zip and pulling it to a folder).
open the command prompt in decompile folder and type "apktool if framework-res.apk" press enter
3.now type "apktool d (name of apk you wish to mod).apk" press enter
4.close prompt go back to the decompile folder and look for a folder with the name of the apk you are modding.
5.make all your edits.
6.Copy that folder(the work one) to the compile folder.
7.open command prompt in the compile folder.
8.make sure you have the framework-res.apk file there as well
9.again type "apktool if framework-res.apk" press enter
10.then type "apktool b (name of folder your apk edits are in) (name you wish to name it).apk
11.should compile(look in the work file when it is done and go to build folder and open it with winzip, or 7-zip)
12.pull the classes dex you saved into the open .apk file in 7-zip then close.
13.put that zip file into the input folder of the easysign apkfolder, and then open signature.
press 1, press enter, press y, press enter.
go to the output folder and there will be your completed .apk
toolhas4degrees said:
here is a guild
http://androidforums.com/esteem-all...roperly-decompile-recompile-apks-apktool.html
but just open the command prompt in each folder instead of browsing to it.
0.first of all unzip both of the tools i gave you into a folder bearing their name.
1. put framework-res.apk in both decompile and compile folders, and the apk you wish to mod.
2. open the .apk you wish to mod with winzip, or 7-zip and copy classes dex to a safe place(do this by grabbing the file while .apk is opened in 7- zip and pulling it to a folder).
open the command prompt in decompile folder and type "apktool if framework-res.apk" press enter
3.now type "apktool d (name of apk you wish to mod).apk" press enter
4.close prompt go back to the decompile folder and look for a folder with the name of the apk you are modding.
5.make all your edits.
6.Copy that folder(the work one) to the compile folder.
7.open command prompt in the compile folder.
8.make sure you have the framework-res.apk file there as well
9.again type "apktool if framework-res.apk" press enter
10.then type "apktool b (name of folder your apk edits are in) (name you wish to name it).apk
11.should compile(look in the work file when it is done and go to build folder and open it with winzip, or 7-zip)
12.pull the classes dex you saved into the open .apk file in 7-zip then close.
13.put that zip file into the input folder of the easysign apkfolder, and then open signature.
press 1, press enter, press y, press enter.
go to the output folder and there will be your completed .apk
Click to expand...
Click to collapse
Need help
Compile the app SystemUI repackage this error
C: \ apktool> apktool b SystemUI NEW.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
******** 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.PathNotExist: apktool.yml
******** at brut.directory.AbstractDirectory.getFileInput (AbstractDirectory.java:
103)
******** at brut.androlib.Androlib.readMetaFile (Androlib.java: 138)
******** ... 4 more
C: \ apktool>
Thank you very much

Categories

Resources