Here how i want to made a change in LatinIME.apk ( Keyboard ) in Bruce2728 Rom
1. I work on (AutoAPKTool2.0.4)
2. I download the rom cm-10-20121030-bruce2728-pyramid (HTC Sensation)
3. I drag out the file from APP directory (LatinIME.apk) this is keyboard to desktop
4. Then i go to Framework directory in this rom and drag out file Framework-res.apk and drag it to desktop
5. Then i add this 2 files in "AutoAPKTool2.0.4\_INPUT_APK" and run AutoAPKToolMain.bat
6. When open this window i select number 1 (if framework-res.apk) and press enter
7. Then i select number 81 ( Instrall additional framework file ) and add the location of Framework-res.apk witch is in _INPUT_APK and press enter
8. Then i select number 6 and add location of LatinIME.apk and press enter and wait until decompile
9. When decompile end i open the "AutoAPKTool2.0.4\_INPUT_APK\LatinIME\res\values" directory and edit Style.xml with notepad++ ( <item name="keyHintLetterColor">#80000000</item> ) to ( <item name="keyHintLetterColor">#80E0E4E5</item> )
10. Then i go back to AutoAPKToolMain.bat and select number 9 and add location of "\_INPUT_APK\LatinIME" and press enter
11. Wait until recompile and then i get this error:
"[*] "C:\Documents and Settings\Anonymous26\Desktop\AutoAPKTool2.0.4\_INPUT_APK\LatinIME"
recompiling "C:\Documents and Settings\Anonymous26\Desktop\AutoAPKTool2.0.4\_INPUT_APK\LatinIME"...
I: Smaling...
I: Building resources...
I: Copying libs...
I: Building apk file...
The system cannot find the drive specified."
12. Ok i close this log and open "AutoAPKTool2.0.4\_INPUT_APK\LatinIME\dist\LatinIME.apk ( Recompiled File ) and drag out this resources.arsc and drag it to desktop
13. Then i open the original LatinIME.apk and replace Original Resources.arsc with edited Resources.arsc
14. Then i upload this file to SD card and install it then start install and when must type App installed type app not installed :/
Does anyone know what is wrong ?
Hi,
You are better off asking where a dev or themer will see this.
Look HERE
XporteR21 said:
Here how i want to made a change in LatinIME.apk ( Keyboard ) in Bruce2728 Rom
1. I work on (AutoAPKTool2.0.4)
2. I download the rom cm-10-20121030-bruce2728-pyramid (HTC Sensation)
3. I drag out the file from APP directory (LatinIME.apk) this is keyboard to desktop
4. Then i go to Framework directory in this rom and drag out file Framework-res.apk and drag it to desktop
5. Then i add this 2 files in "AutoAPKTool2.0.4\_INPUT_APK" and run AutoAPKToolMain.bat
6. When open this window i select number 1 (if framework-res.apk) and press enter
7. Then i select number 81 ( Instrall additional framework file ) and add the location of Framework-res.apk witch is in _INPUT_APK and press enter
8. Then i select number 6 and add location of LatinIME.apk and press enter and wait until decompile
9. When decompile end i open the "AutoAPKTool2.0.4\_INPUT_APK\LatinIME\res\values" directory and edit Style.xml with notepad++ ( <item name="keyHintLetterColor">#80000000</item> ) to ( <item name="keyHintLetterColor">#80E0E4E5</item> )
10. Then i go back to AutoAPKToolMain.bat and select number 9 and add location of "\_INPUT_APK\LatinIME" and press enter
11. Wait until recompile and then i get this error:
"[*] "C:\Documents and Settings\Anonymous26\Desktop\AutoAPKTool2.0.4\_INPUT_APK\LatinIME"
recompiling "C:\Documents and Settings\Anonymous26\Desktop\AutoAPKTool2.0.4\_INPUT_APK\LatinIME"...
I: Smaling...
I: Building resources...
I: Copying libs...
I: Building apk file...
The system cannot find the drive specified."
12. Ok i close this log and open "AutoAPKTool2.0.4\_INPUT_APK\LatinIME\dist\LatinIME.apk ( Recompiled File ) and drag out this resources.arsc and drag it to desktop
13. Then i open the original LatinIME.apk and replace Original Resources.arsc with edited Resources.arsc
14. Then i upload this file to SD card and install it then start install and when must type App installed type app not installed :/
Does anyone know what is wrong ?
Click to expand...
Click to collapse
Whats wrong with just apktool - that on its own has never failed me, its only when you add other utilities in that things **** up (with the exception of VTS which I use for multiple apk like the tweaks but for single apk I use apktool on its own). Also with apktool on its own, its a hell of a lot easier to debug problems
So what tools to use
Sent from my HTC Sensation using xda app-developers app
XporteR21 said:
So what tools to use
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
Virtuous Ten Studio: http://www.virtuousrom.com/p/ten-studio.html
Apktool 1.5.0 by iBotPeaches: http://forum.xda-developers.com/showthread.php?t=1755243
Replace the apktool in the virtuous program files folder with the iBotPeaches one - I have never had any problems decompiling/recompiling apk's or jar's with this combination
Jonny said:
Virtuous Ten Studio: http://www.virtuousrom.com/p/ten-studio.html
Apktool 1.5.0 by iBotPeaches: http://forum.xda-developers.com/showthread.php?t=1755243
Replace the apktool in the virtuous program files folder with the iBotPeaches one - I have never had any problems decompiling/recompiling apk's or jar's with this combination
Click to expand...
Click to collapse
heheheh i try you're metod and it's working i can install the app but app crash every time i open it :/
XporteR21 said:
heheheh i try you're metod and it's working i can install the app but app crash every time i open it :/
Click to expand...
Click to collapse
replied to the PM
still no secsess ;(
Sent from my HTC Sensation using xda app-developers app
Related
Hy all i know i'm anoying with this but i realy want to edit this apk file (LatinIME.apk) can ayone explane me what is wrong whit this error and how to fix it :/
Oky Step by Step
1. I work on (AutoAPKTool2.0.4)
2. I download the rom cm-10-20121030-bruce2728-pyramid (HTC Sensation)
3. I drag out the file from APP directory (LatinIME.apk) this is keyboard to desktop
4. Then i go to Framework directory in this rom and drag out file Framework-res.apk and drag it to desktop
5. Then i add this 2 files in "AutoAPKTool2.0.4\_INPUT_APK" and run AutoAPKToolMain.bat
6. When open this window i select number 1 (if framework-res.apk) and press enter
7. Then i select number 81 ( Instrall additional framework file ) and add the location of Framework-res.apk witch is in _INPUT_APK and press enter
8. Then i select number 6 and add location of LatinIME.apk and press enter and wait until decompile
9. When decompile end i open the "AutoAPKTool2.0.4\_INPUT_APK\LatinIME\res\valu es" directory and edit Style.xml with notepad++ ( <item name="keyHintLetterColor">#80000000</item> ) to ( <item name="keyHintLetterColor">#80E0E4E5</item> )
10. Then i go back to AutoAPKToolMain.bat and select number 9 and add location of "\_INPUT_APK\LatinIME" and press enter
11. Wait until recompile and then i get this error:
"[*] "C:\Documents and Settings\Anonymous26\Desktop\AutoAPKTool2.0.4\_INP UT_APK\LatinIME"
recompiling "C:\Documents and Settings\Anonymous26\Desktop\AutoAPKTool2.0.4\_INP UT_APK\LatinIME"...
I: Smaling...
I: Building resources...
I: Copying libs...
I: Building apk file...
The system cannot find the drive specified."
12. Ok i close this log and open "AutoAPKTool2.0.4\_INPUT_APK\LatinIME\dist\LatinIM E.apk ( Recompiled File ) and drag out this resources.arsc and drag it to desktop
13. Then i open the original LatinIME.apk and replace Original Resources.arsc with edited Resources.arsc
14. Then i upload this file to SD card and install it then start install and when must type App installed type app not installed :/
i allready try with Virtous ten Studio i Decompile file, edit it, recompile back to apk, sign it, uplolad on sd card, install it... and still crash every time i open the keyboard every time i want to type any message.... Sorry i'm new in this :/
GUIDE
What will you Need:
ApkTool
Java JDK/JRE 32 bit
Terminal knowledge
Brain
Instructions
Extract zip folder to anywhere you choose. E.g: C:/android/apktool extracting the files to 'apktool' folder.
3.Now copy the apk to your Apk Tool folder.
2. Open your terminal
Your terminal will look like this...
C:\users\yourname>
Code:
[COLOR="Black"]cd.. → go back
cd.. android → go to this folder[/COLOR]
(Yes, it contains "..")
So you must be in your folder apktool (E.q: C:/android/apktool>)
3. Installing Framework
Code:
apktool if framework-res.apk
(framework-res.apk is only example.. You can type "apktool if SystemUI.apk",...)
4. Decompiling
Code:
apktool d framework-res.apk framework1
(framework-res.apk is apk which you want to decompile and framework1.. You can type "apktool if SystemUI.apk",...)
Now you can enjoy it!
5. Recompiling/Finished Product
Code:
apktool b framework1 framework-res-new.apk
(framework1 is the folder with your edited files and framework-res-new.apk is your new apk file)
You can't use the new apk... You have to take what you did and add it back to the original apk file to proper signature.
Use something like 7zip, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original .apk.
Congratulations! You modded .apk!
you can help i know...
Mlopik said:
GUIDE
What will you Need:
ApkTool
Java JDK/JRE 32 bit
Terminal knowledge
Brain
Instructions
Extract zip folder to anywhere you choose. E.g: C:/android/apktool extracting the files to 'apktool' folder.
3.Now copy the apk to your Apk Tool folder.
2. Open your terminal
Your terminal will look like this...
C:\users\yourname>
Code:
[COLOR="Black"]cd.. → go back
cd.. android → go to this folder[/COLOR]
(Yes, it contains "..")
So you must be in your folder apktool (E.q: C:/android/apktool>)
3. Installing Framework
Code:
apktool if framework-res.apk
(framework-res.apk is only example.. You can type "apktool if SystemUI.apk",...)
4. Decompiling
Code:
apktool d framework-res.apk framework1
(framework-res.apk is apk which you want to decompile and framework1.. You can type "apktool if SystemUI.apk",...)
Now you can enjoy it!
5. Recompiling/Finished Product
Code:
apktool b framework1 framework-res-new.apk
(framework1 is the folder with your edited files and framework-res-new.apk is your new apk file)
You can't use the new apk... You have to take what you did and add it back to the original apk file to proper signature.
Use something like 7zip, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original .apk.
Congratulations! You modded .apk!
Click to expand...
Click to collapse
Hey boss... can you tell me how to rename a app... i need it badly.. please.and thanks in advance
How to make CRT OFF
ANIMATION (effects such as tv
off when the screen is locked)
1. first download apktool and notepad
2. take the framework-res.apk in mm via root
explorer (rootex) in folder system-framework
3. apktool extract and place it in one folder for
easy future (eg in the folder d / apktool)
4. enter into framework-res.apk folder d /
apktool
5. in the apktool folder on the keyboard do not
press shift and press off the right click select
open command here
6. type in framework-res.apk apktool enter
and will appear framework-res folder
7. minimize cmd (the last item screen)
8 Open the framework-res folder \ r
es \ values \ bools.xml Open
with notepad find this text:
"<boolname="config_animateScreenLights"> true
</ bool>" text change true to false
so the result is like this
"<boolname="config_animateScreenLights"> false
</ bool>" then
press save and exit
9. Open CMD that was in
then we will minimize
decompile process
apknya type apktool b framework-res wait until
the end. When it is finished later
there are two new folder in the framework-res
folder \ "dist" and "build"
10. move framework-res.apk folder to another
folder eg frames and extract framework-res.apk
in the folder using winrar trsebut
11. Open foder d / apktool / framework-res
\ build \ apk \ (copy) resources.arsc
12. open the folder and then paste
resources.arsc frame if there are warning tap on
aja yes (copy and replace)
13. pack the contents folder with winrar last
frame with name-res.zip framework
14. res.zip so rename framework-res.apk
framework-and enter into the folder system /
framework with permision rw-r - r -
just as it is bentuk'y
v v -
v -
v -
then reboot ...
Sent from my Micromax A110 using xda premium
akashvfx said:
How to make CRT OFF
ANIMATION (effects such as tv
off when the screen is locked)
1. first download apktool and notepad
2. take the framework-res.apk in mm via root
explorer (rootex) in folder system-framework
3. apktool extract and place it in one folder for
easy future (eg in the folder d / apktool)
4. enter into framework-res.apk folder d /
apktool
5. in the apktool folder on the keyboard do not
press shift and press off the right click select
open command here
6. type in framework-res.apk apktool enter
and will appear framework-res folder
7. minimize cmd (the last item screen)
8 Open the framework-res folder \ r
es \ values \ bools.xml Open
with notepad find this text:
"<boolname="config_animateScreenLights"> true
</ bool>" text change true to false
so the result is like this
"<boolname="config_animateScreenLights"> false
</ bool>" then
press save and exit
9. Open CMD that was in
then we will minimize
decompile process
apknya type apktool b framework-res wait until
the end. When it is finished later
there are two new folder in the framework-res
folder \ "dist" and "build"
10. move framework-res.apk folder to another
folder eg frames and extract framework-res.apk
in the folder using winrar trsebut
11. Open foder d / apktool / framework-res
\ build \ apk \ (copy) resources.arsc
12. open the folder and then paste
resources.arsc frame if there are warning tap on
aja yes (copy and replace)
13. pack the contents folder with winrar last
frame with name-res.zip framework
14. res.zip so rename framework-res.apk
framework-and enter into the folder system /
framework with permision rw-r - r -
just as it is bentuk'y
v v -
v -
v -
then reboot ...
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
hello bro this is awesome but i cant understand steps 9 to 14
thanks again
Bro, can you make it if i can povide you the required files of my rom?(i.e., suvi V12)
akashvfx said:
How to make CRT OFF
ANIMATION (effects such as tv
off when the screen is locked)
1. first download apktool and notepad
2. take the framework-res.apk in mm via root
explorer (rootex) in folder system-framework
3. apktool extract and place it in one folder for
easy future (eg in the folder d / apktool)
4. enter into framework-res.apk folder d /
apktool
5. in the apktool folder on the keyboard do not
press shift and press off the right click select
open command here
6. type in framework-res.apk apktool enter
and will appear framework-res folder
7. minimize cmd (the last item screen)
8 Open the framework-res folder \ r
es \ values \ bools.xml Open
with notepad find this text:
"<boolname="config_animateScreenLights"> true
</ bool>" text change true to false
so the result is like this
"<boolname="config_animateScreenLights"> false
</ bool>" then
press save and exit
9. Open CMD that was in
then we will minimize
decompile process
apknya type apktool b framework-res wait until
the end. When it is finished later
there are two new folder in the framework-res
folder \ "dist" and "build"
10. move framework-res.apk folder to another
folder eg frames and extract framework-res.apk
in the folder using winrar trsebut
11. Open foder d / apktool / framework-res
\ build \ apk \ (copy) resources.arsc
12. open the folder and then paste
resources.arsc frame if there are warning tap on
aja yes (copy and replace)
13. pack the contents folder with winrar last
frame with name-res.zip framework
14. res.zip so rename framework-res.apk
framework-and enter into the folder system /
framework with permision rw-r - r -
just as it is bentuk'y
v v -
v -
v -
then reboot ...
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
akashvfx said:
How to make CRT OFF
ANIMATION (effects such as tv
off when the screen is locked)
1. first download apktool and notepad
2. take the framework-res.apk in mm via root
explorer (rootex) in folder system-framework
3. apktool extract and place it in one folder for
easy future (eg in the folder d / apktool)
4. enter into framework-res.apk folder d /
apktool
5. in the apktool folder on the keyboard do not
press shift and press off the right click select
open command here
6. type in framework-res.apk apktool enter
and will appear framework-res folder
7. minimize cmd (the last item screen)
8 Open the framework-res folder \ r
es \ values \ bools.xml Open
with notepad find this text:
"<boolname="config_animateScreenLights"> true
</ bool>" text change true to false
so the result is like this
"<boolname="config_animateScreenLights"> false
</ bool>" then
press save and exit
9. Open CMD that was in
then we will minimize
decompile process
apknya type apktool b framework-res wait until
the end. When it is finished later
there are two new folder in the framework-res
folder \ "dist" and "build"
10. move framework-res.apk folder to another
folder eg frames and extract framework-res.apk
in the folder using winrar trsebut
11. Open foder d / apktool / framework-res
\ build \ apk \ (copy) resources.arsc
12. open the folder and then paste
resources.arsc frame if there are warning tap on
aja yes (copy and replace)
13. pack the contents folder with winrar last
frame with name-res.zip framework
14. res.zip so rename framework-res.apk
framework-and enter into the folder system /
framework with permision rw-r - r -
just as it is bentuk'y
v v -
v -
v -
then reboot ...
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
WHY DON'T @akashvfx MAKE CRT OFF ANIMATION FOR STOCK JB CANVAS 2 // I T WOULD BE WONDERFUL
gaurav247star said:
WHY DON'T @akashvfx MAKE CRT OFF ANIMATION FOR STOCK JB CANVAS 2 // I T WOULD BE WONDERFUL
Click to expand...
Click to collapse
EXACTLY !
just follow this simple steps
Install xposed framework and gravity box and tweak box........
borichamehul5 said:
Install xposed framework and gravity box and tweak box........
Click to expand...
Click to collapse
Brother,its only for mtk6589 running 4.2.1
TroLol
///How to easily edit 9.pngs easily \\\
Lets start ...
Step 1
Decompile the app.
Step 2
Enter into res/drawables
Step 3
open 9.png with paint.net(preffered)not tested others
Get it here (www.getpaint.net)
Step 4
change its color to ur wish (note--dont touch those 4 borders at the ends)
Step 5
Close and save png
Step 6
Now recompile
Step 7
Install
congo it works fine.............
No need of draw9patch...
Notes:
Must knw how to compile- recompile apps.
Must try more coming soon..........
Dont Spoil This Thread Please!!!!
PRESS LIKE BUTTON IF U LIKE MY WORK
Today i will guide you on how to decompile with Apk Tool,so I would post here
Needed files :-
Windows
ApkTool
Java JDK/JRE 32 bit
Cmd/terminal knowledge
Step 1
First you need to extract that zip folder to anywhere you choose, preferably on root of c/drive E.g: C:/android/apktool extracting the files to 'apktool' folder.
Step 2
Now copy the apk you would like to mod into your Apk Tool folder.
Step 3
Command Prompt:
Open up your Command Prompt by going to:
Start -> run -> type : Cmd
Step 4
Your cmd will probly look like this..
C:\users\yourname>
so type in
cd.. (Yes include the '..' and press enter after you type each command.)
this will get you to back directory so now you will see
C:\users>
so type again
cd..
you should now see this:
C:\>
now type in:
cd 'apktoo'l/'directory'
for me it looks like:
cd android/apktool
now you should see:
C:/android/apktool>
and you are in the apktool directory
Step 5
Installing Framework
Now that you are in directory we need to install the device's framework to your system for it to compile correctly so type this:
apktool if framework-res.apk
This will install the devices framework to your system. need to do this.
Step 6
Decompiling
Now to decompile the apk you want to edit, type this:
apktool d framework-res.apk framework1
Step 7
Recompiling...
Now to recompile your new apk type this:
apktool b framework1 framework-res-new.apk
framework1 is the folder with your edited files
framework-res-new.apk is your new apk file
We cannot use the new apk's... we have to take what we did and add it back to the original apk file to keep proper signature
use something like 7zip or winrar, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original apk
Your new modded APK is now ready, Congrats!:highfive:
Good Luck ..
must try
Just For Knowledge....
If... we use 7zip.. extract apk on desktop..
then replace modified.png with orignal.png
then aad to orignal apk
or
we just hunt png which we want to replace.
just extract that one with same res. & name
then add that on it right place
Is that working???
i.e. I want to replace icon of Gallary3d (JB4.3) (Gal+Cam)
with icon of samsung s4 icon Gallary2 (Gal+Cam)
I have built a few web sites but now I'm learning how to build apps. Is there a way to look at the code that is running a particular app on my phone so I can get an idea of how it is put together?
Can I open an app from my phone with Android Studio?
Follow the steps given below.
Procedure to open the source code:
Step 1:
Make a new folder and copy over the .apk file that you want to decode.
Now rename the extension of this .apk file to .zip (e.g. rename from filename.apk to filename.zip) and save it. Now you can access the classes.dex files, etc. At this stage you are able to see drawables but not xml and java files, so continue.
Step 2:
Now extract this .zip file in the same folder (or NEW FOLDER).
Download dex2jar and extract it to the same folder (or NEW FOLDER).
Move the classes.dex file into the dex2jar folder.
Now open command prompt and change directory to that folder (or NEW FOLDER). Then write d2j-dex2jar classes.dex (for mac terminal or ubuntu write ./d2j-dex2jar.sh classes.dex) and press enter. You now have the classes.dex.dex2jar file in the same folder.
Download java decompiler, double click on jd-gui, click on open file, and open classes.dex.dex2jar file from that folder: now you get class files.
Save all of these class files (In jd-gui, click File -> Save All Sources) by src name. At this stage you get the java source but the .xml files are still unreadable, so continue.
Step 3:
Now open another new folder
Put in the .apk file which you want to decode
Download the latest version of apktool AND apktool install window (both can be downloaded from the same link) and place them in the same folder
Download framework-res.apk and put it in the same folder (Not all apk file need this file, but it doesn't hurt)
Open a command window
Navigate to the root directory of APKtool and type the following command: apktool if framework-res.apk
apktool d myApp.apk (where myApp.apk denotes the filename that you want to decode)
now you get a file folder in that folder and can easily read the apk's xml files.