[TOOL][SHARE][WINDOWS] ANDROID MULTITOOL v2.1 (Decompile and recompile apks's) - Galaxy Y GT-S5360 General

Hi guys I'm just sharing the work of the XDA member Flextrick.This is a simple tool which helps you to compile/decompile and sign the apk's.​
- Easy handling: Select your apk and push the "decompile" button!
- This tool makes modding much faster and easier, no cmd handling any more.
- You can read the log which is integrated in the tool to find your mistake in the error. ​
Requirements:
Winows OS XP / 7 / 8
Installed Java on Windows
Installed Microsoft Powerpacks
Installed .NET framework
How to use this tool?​
Follow this small how to!
Here you go..
Well, first extract the AndroidApktool folder to C:\. Otherwise it propably won´t work
-copy your framework-res.apk and other files you want to mod in the "Files" folder (this folder is for all your files you want to mod, don't pick files from any other location)
-Next you have to start AndroidApktool.exe
-select your framework-res.apk and push the "install" button (check log for errors)
​
Decompiling and recompiling apk files:
-select the apk you want to mod/decompile and push the "decompile" button (check log for errors)
Note: You can check the "use baksmali" checkbox, then e.g. the useless .line text will be removed
-your decompiled apk will be located in C:\AndroidApktool\Decompiled_apk\"apkname" as a folder
-if you want to compile your apk again, select your decompiled folder, check the "apk" radiobutton and compile it again (check log for errors)
!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop! (Don't check the smali checkbox, it will create a classes.dex file from you smali files)
-your recompiled apk will be located in C:\AndroidApktool\Compiled_apk\"apkname"​
Decompiling and recompiling jar files:
-select in the combobox ".jar" (check the "use baksmali" checkbox for deleting the useless .line comments)
-select the ".jar" file you want to mod
-push the "decompile" button
-your decompiled jar file will be locaten in C:\AndroidApktool\Decompiled_jar\"jarname"
-for recompiling you have to check the "jar" radiobutton and select the folder within your decompiled ".jar" file
-push the compile button
-your compiled jar file will be located in C:\AndroidApktool\Compiled_jar\"jarname"\classes.d ex
-delete the "classes.dex" file in your ".jar" file
-copy the new "classes.dex" file you compiled in the ".jar" file
​
Signing apk files:
-select the ".apk" you want to sign
-push the "sign" button
-the signed apk file is located in C:\AndroidApktool\Signed_apk\"apkname_signed"
​
Downloads 1.Windows 8 - http://www.mediafire.com/download/3xc18gs3we9gt8h/AndroidMultitool_2.1.zip
2.Windows XP/Windows 7 - http://www.mediafire.com/download/5aby5m5zh9vj1h9/AndroidMultitool_2.1_Win7.zip
​
Questions and answers:
​
Q: The programm does not start, it crashes.
A: Please install Powerpacks, this one: http://download.microsoft.com/downl...-684E8AD6F0AE/VisualBasicPowerPacks3Setup.exe
Q: What do you mean exactly with "!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop! " .. I don't understand.
A: You have to open your old apk (this one you selected for decompiling in the folder /files) and copy from that apk the AndroidManifest.xml and the META-INF folder to the apk you just decompiled and recompiled. ​
Original Thread : http://forum.xda-developers.com/showthread.php?t=2326604​
Credits :
Flextrick
Click to expand...
Click to collapse
​

nice share bro!!!!!

powerpack link not working!!!!!! wat to do?????????????

kumar akarsh said:
powerpack link not working!!!!!! wat to do?????????????
Click to expand...
Click to collapse
Try this one http://download.microsoft.com/downl...-684E8AD6F0AE/VisualBasicPowerPacks3Setup.exe

update the download links please :crying:

radiocity966 said:
update the download links please :crying:
Click to expand...
Click to collapse
Updated!

Hey, thanks for sharing!
You can update to 3.0 if you've got some time.
Maybe also my new app is interesting for you guys: Sysfile Copymaster
Makes it easy to work with system files.
Greetings

Flextrick said:
Hey, thanks for sharing!
You can update to 3.0 if you've got some time.
Maybe also my new app is interesting for you guys: Sysfile Copymaster
Makes it easy to work with system files.
Greetings
Click to expand...
Click to collapse
Alright! :thumbup:
I'll try your app soon!
Thanks for the update alert!

It refuses to recompile... no matter what.
It just won't compile. I edited nothing, recompiled it to test, and got a huge number of errors about it not being able to find directories. I moved the AndroidManifest.xml and META-INF folder...

TheTechnoToast said:
It just won't compile. I edited nothing, recompiled it to test, and got a huge number of errors about it not being able to find directories. I moved the AndroidManifest.xml and META-INF folder...
Click to expand...
Click to collapse
Post your query in the original thread.

aniket.lamba said:
Hi guys I'm just sharing the work of the XDA member Flextrick.This is a simple tool which helps you to compile/decompile and sign the apk's.​
- Easy handling: Select your apk and push the "decompile" button!
- This tool makes modding much faster and easier, no cmd handling any more.
- You can read the log which is integrated in the tool to find your mistake in the error. ​
Requirements:
Winows OS XP / 7 / 8
Installed Java on Windows
Installed Microsoft Powerpacks
Installed .NET framework
How to use this tool?​
Follow this small how to!
Here you go..
Well, first extract the AndroidApktool folder to C:\. Otherwise it propably won´t work
-copy your framework-res.apk and other files you want to mod in the "Files" folder (this folder is for all your files you want to mod, don't pick files from any other location)
-Next you have to start AndroidApktool.exe
-select your framework-res.apk and push the "install" button (check log for errors)
​
Decompiling and recompiling apk files:
-select the apk you want to mod/decompile and push the "decompile" button (check log for errors)
Note: You can check the "use baksmali" checkbox, then e.g. the useless .line text will be removed
-your decompiled apk will be located in C:\AndroidApktool\Decompiled_apk\"apkname" as a folder
-if you want to compile your apk again, select your decompiled folder, check the "apk" radiobutton and compile it again (check log for errors)
!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop! (Don't check the smali checkbox, it will create a classes.dex file from you smali files)
-your recompiled apk will be located in C:\AndroidApktool\Compiled_apk\"apkname"​
Decompiling and recompiling jar files:
-select in the combobox ".jar" (check the "use baksmali" checkbox for deleting the useless .line comments)
-select the ".jar" file you want to mod
-push the "decompile" button
-your decompiled jar file will be locaten in C:\AndroidApktool\Decompiled_jar\"jarname"
-for recompiling you have to check the "jar" radiobutton and select the folder within your decompiled ".jar" file
-push the compile button
-your compiled jar file will be located in C:\AndroidApktool\Compiled_jar\"jarname"\classes.d ex
-delete the "classes.dex" file in your ".jar" file
-copy the new "classes.dex" file you compiled in the ".jar" file
​
Signing apk files:
-select the ".apk" you want to sign
-push the "sign" button
-the signed apk file is located in C:\AndroidApktool\Signed_apk\"apkname_signed"
​
Downloads 1.Windows 8 - http://www.mediafire.com/download/3xc18gs3we9gt8h/AndroidMultitool_2.1.zip
2.Windows XP/Windows 7 - http://www.mediafire.com/download/5aby5m5zh9vj1h9/AndroidMultitool_2.1_Win7.zip
​
Questions and answers:
​
Q: The programm does not start, it crashes.
A: Please install Powerpacks, this one: http://download.microsoft.com/downl...-684E8AD6F0AE/VisualBasicPowerPacks3Setup.exe
Q: What do you mean exactly with "!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop! " .. I don't understand.
A: You have to open your old apk (this one you selected for decompiling in the folder /files) and copy from that apk the AndroidManifest.xml and the META-INF folder to the apk you just decompiled and recompiled. ​
Original Thread : http://forum.xda-developers.com/showthread.php?t=2326604​
Credits : ​
Click to expand...
Click to collapse
Link Not wrking man. Please Solve It .!!!

http://forum.xda-developers.com/showthread.php?p=42639253
GREETZ FROM TEAM-OPTIMA!!!

Related

[Q] Can use apktool for Settings and framewok-res.apk on Froyo?

I wanted to make Froyo of our language version.
Settings.apk and Framework-res.apk was going to Decode or Build by using Apktool.
They ended with a large amount of error (declared here is not defined.) and (Unknown Source) when I tried to make the apk file.
Moreover, the build was not able to be done even though anything did not change after Decode the Apk file.
someone knows the method of changing them by using Windows Apktool v1.3.2 or other tool ?
I completely decoding/encoding framework-res.apk, settings.apk, blurcontact.apk, and some useful package, and translated on my language. all work great.
To correct decoding/encoding, you need add framework into apktool.
download /system/framework/moto-res.apk and /system/framework/blur-res.apk to PC, then do
apktool if /path/moto-res.apk
apktool if /path/blur-res.apk
then decode/encode, work fine. it can say "no default string" for some apk, but it's not a problem.
all work for me.
also you can try add /system/framework/framework-res.apk, but this framework included in apktool, from the box.
after decode\ i add my locale and translate string.xml with ailocalizer 1.5. (then delete other file in local folder, check some local folder, to see what file needed)
then compile apk, with apktool
open \dist\*.apk with 7zip, and extract *.arsc
copy this new translated *.arsc, into original apk pakage (open in 7zip) with rewrite.
no need sign.
just replace old apk in phone, with this new one. copy into /system, give permission 644 (rw-r--r--), and move this file, with overwriting on original file folder.
i don't delete any odex, i don't use "store" compression, and all work great for me.
defy android 2.2.1 PL
Zorge.R said:
I completely decoding/encoding framework-res.apk, settings.apk, blurcontact.apk, and some useful package, and translated on my language. all work great.
To correct decoding/encoding, you need add framework into apktool.
download /system/framework/moto-res.apk and /system/framework/blur-res.apk to PC, then do
apktool if /path/moto-res.apk
apktool if /path/blur-res.apk
then decode/encode, work fine. it can say "no default string" for some apk, but it's not a problem.
all work for me.
also you can try add /system/framework/framework-res.apk, but this framework included in apktool, from the box.
after decode\ i add my locale and translate string.xml with ailocalizer 1.5. (then delete other file in local folder, check some local folder, to see what file needed)
then compile apk, with apktool
open \dist\*.apk with 7zip, and extract *.arsc
copy this new translated *.arsc, into original apk pakage (open in 7zip) with rewrite.
no need sign.
just replace old apk in phone, with this new one. copy into /system, give permission 644 (rw-r--r--), and move this file, with overwriting on original file folder.
i don't delete any odex, i don't use "store" compression, and all work great for me.
defy android 2.2.1 PL
Click to expand...
Click to collapse
Thank you for your reply.
I tried according to your advice.
pull 3 frame apk install my computer
and decode Settings.apk
 I: Loading resource table...
 W: Skipping "android" package group
 I: Decoding resources...
 I: Loading resource table from file: C:\apktool\framework\1.apk
 I: Copying assets and libs...
Then make /res/values-** folder and copy other lungage string.xml to in it.and then translate string.xml with ailocalizer.
So far, there is no any problem. Thank you
But (compile apk, with apktool) can not compile.....also with a large amount of error (declared here is not defined.) and (Unknown Source) .
Something wrong?
s_pippen33 said:
Thank you for your reply.
I tried according to your advice.
pull 3 frame apk install my computer
and decode Settings.apk
 I: Loading resource table...
 W: Skipping "android" package group
 I: Decoding resources...
 I: Loading resource table from file: C:\apktool\framework\1.apk
 I: Copying assets and libs...
Then make /res/values-** folder and copy other lungage string.xml to in it.and then translate string.xml with ailocalizer.
So far, there is no any problem. Thank you
But (compile apk, with apktool) can not compile.....also with a large amount of error (declared here is not defined.) and (Unknown Source) .
Something wrong?
Click to expand...
Click to collapse
you can add locale, directly from localizer, pres + button, and enter you locale.
also in you locale folder, need to be all xml, like other locale folder, see fr folder, for example.
btw, don't you forget, delete bak file, after editing xml?
Zorge.R said:
you can add locale, directly from localizer, pres + button, and enter you locale.
also in you locale folder, need to be all xml, like other locale folder, see fr folder, for example.
btw, don't you forget, delete bak file, after editing xml?
Click to expand...
Click to collapse
also changed arrays.xml and delete .bak file.
Furthermore, apk After decoding, the same error occurs when I build without some modification....
you use apktool on linux ?
BTW ailocalizer's auto translation isn't function work ?
(Error reading JObject from JsonReader. Current JsonReader item is not an object: Start Array)
s_pippen33, don't touch array.xml. Translate Only STRING.xml and try compile.
some error is normal, if this error is "no default string".
auto translate don't work.

[TUT][HOW TO]Make your LockScreen Clock BIGGER & ALIGN CENTER FOR ICS (tested) & JB.

[TUT][HOW TO]Make your LockScreen Clock BIGGER & ALIGN CENTER FOR ICS (tested) & JB.
I Just wanted to modify the clock display on the Lock Screen by BIGGER size and also in the CENTER of the screen. I went thru and referred various threads here (actually it's on for various issues) but couldn't get all at one thread. I got some idea to achieve this and also got it done.(See the Attaches). Hence I want to put them collectively here...
WARNING:
You should not attempt to do this on a device that does not have a recovery, because if something goes wrong you may have to reinstall your ROM (not very likely though but I'm not responsible). You should probably have back up framework-res.apk and you should also have some experience modding and some experience using Apktool & Linux.
Required tools:
1. APKTool (You may have already but use this one since I searched everywhere & finally worked with this) rename it as apktool.jar and move it to the C:\windows directory (or Root Dir)
2. Patched aapt (Copy this one also on windows root dir)
3. Zipalign (unzip and put this 2 files also on C:\Windows root, used for signing the apk)
4. apktool.bat Note : Unzip this file and move ONLY apktool.bat to C:\windows directory.
5. 7zip or File Roller and Java on PC. Just find them and have installed.
6. Any root explorer installed on your device with file mount permissions.
7. Notepad++ (not regular notepad) required to open/manipulate the xml files on PC.
How to Modify the display settings:
1. Copy framework-res.apk from /system/framework folder to your PC. Make a copy of framework-res.apk & keep it somewhere as BACKUP and will need later. Now we have to modify the apk file.
2. So we have to decompile the apk using apktool, go to cmd and change dir to where the apk file is. Now type as:
apktool if framework-res.apk
It will install the needed framework.
3. Now to decompile type as : apktool d framework-res.apk
Now the file is decompiled and stored on a folder of this file name.(framework-res)
4. Browse To "\res\values" on that folder and open dimens.xml with notepad++
5. Find those line:
<dimen name="keyguard_lockscreen_clock_font_size">80.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_font_size">14.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_font_right_margin">42.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12.0dip</dimen>
<dimen name="keyguard_lockscreen_pin_margin_left">40.0dip</dimen>
6. You have to change the values as:
<dimen name="keyguard_lockscreen_clock_font_size">90.0dip</dimen> [Change: To increase font size]
<dimen name="keyguard_lockscreen_status_line_font_size">14.0dip</dimen> [No change]
<dimen name="keyguard_lockscreen_status_line_font_right_margin">50.0dip</dimen> [Set right margin to make centre]
<dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">23.0dip</dimen> [set margins from Top]
<dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12.0dip</dimen> [No change]
<dimen name="keyguard_lockscreen_pin_margin_left">40.0dip</dimen>
save them and exit.
7. Now this step will be different than you have seen before. To build the apk make sure you are in the terminal in the directory where framework-res exists and type:
apktool b framework-res almostdone.apk
Now it takes some time to create the output file.
8. Open the backup file (kept seperately on start) with file roller/7-zip in a window.
9. open almostdone.apk with file roller/ 7-zip On another window.
10. From inside the almostdone.apk window drag resources.arsc to the root of backup.apk window (This will replace the file)
11. From inside almostdone.apk drag the res folder into the backup.apk It's done !!.
12. Now needed to zipalign the apk. Type as: zipalign -v 4 backup.apk done.apk
This will optimize the apk. The output is done.apk.
13. Now rename the done.apk as framework-res.apk and install it on your device (i.e on folder /system/framework ) I achieved this by ES File explorer. Enable 'file mount system' on settings of Es File explorer. Then copy modded apk, paste into /system/framework. Make sure you give it the same permissions as all the other apk's in the system/framework directory. Then reboot. Or you could make a flashable zip to install it.
IT'S DONE NOW. YOU CAN GET THE CLOCK BIGGER AND ON CENTER !!
I really thank blindndumb and powerpoint45 for their useful post which helped me a lot....
Isnt it basically the thread on the Android development and Hacking section with possibly on change of certain values?????
I dont see any credits to the original dev who did this
csoulr666 said:
Isnt it basically the thread on the Android development and Hacking section with possibly on change of certain values?????
I dont see any credits to the original dev who did this
Click to expand...
Click to collapse
Hi,
I'm not a genius, and GENIUS are not born by birth.
Thanks for your PRAISE!. I didn't MENTION that i INVENTED this method. Pls go thru it again...! (even i haven't edited yet !).
I said that referred many threads but can't get done what I want on a single thread. So I just wanted to help others and didn't ASK ANY CREDIT for this but just put this collectively here under one. If you want to remove pls do it if you can.
Thanks any way.
Is there an option to change the alignment of the clock in the lock screen? I'm using CM 10.2 on my Nexus 4 and the clock is thin font and centered. I want it thin font but right-aligned, like on the Galaxy S4 Google Edition. Let me know if that is an option. Thanks!

[Q] twframework.apk not getting extracted!!!

@wali01x i tried decompiling twframework.apk for adding the crt animation in my gt i9082. i refered to the post that u have written here. But its not getting extracted. It is showing few errors!!(screenshot attached for ur ready referrence). So will u plz edit it for me as i wanted the horizontal crt animation in a new rom which i m making.
n will u please also tell me that where i m going rong! n yes...i have java installed. @balliboxer @chotu222 @kk9999gada and other xda members if u know the solution then i nedd ur help too!!!
(Please open the images by right clicking on the thumbnail and then opening it in a new tab. Thankyou.)
{
"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"
}
- Error
- Log
Thanking u all in anticipation!:fingers-crossed:
adityab721 said:
@wali01x i tried decompiling twframework.apk for adding the crt animation in my gt i9082. i refered to the post that u have written here. But its not getting extracted. It is showing few errors!!(screenshot attached for ur ready referrence). So will u plz edit it for me as i wanted the horizontal crt animation in a new rom which i m making.
n will u please also tell me that where i m going rong! n yes...i have java installed. @balliboxer @chotu222 @kk9999gada and other xda members if u know the solution then i nedd ur help too!!!
(Please open the images by right clicking on the thumbnail and then opening it in a new tab. Thankyou.)
- Error
- Log
Thanking u all in anticipation!:fingers-crossed:
Click to expand...
Click to collapse
First of all I recommend you to use apktool for decompiling apks.
Tools Required:
Apktool (Download)
7-zip (Don't use WinRAR) (Download from Here)
Notepad++ (Download from Here)
Installing Apktool:
Download it from the attachment.(Apktool.zip)
Now Extract 3 files present inside zip to "C:\Windows" without any folder.
You have now installed apktool.
Installing frameworks:
Create a folder named "Apktool" here "C:\Apktool" or on any location with any name you want.
Copy "framework-res.apk" and "twframework-res.apk" (without quotes) to that folder you created.
Now hold Shift key and right click anywhere on the empty area in explorer. (See Image)
Select "Open Command Window Here" (See Image)
Now you will get a command window (See Image).
Now type "apktool if framework-res.apk" (without quotes). It will be installed. (See Image)
Now type "apktool if twframework-res.apk" (without quotes). (See Image)
Now both the frameworks are installed.
Compiling & Decompiling Apks:
To decompile the Apk place desired the apk inside the folder you created.
Once again hold Shift key and right click anywhere on the empty area in explorer.
Now type "apktool d framework-res.apk" or any **.apk you want to decompile (without quotes).
Similarly you can also decompile "twframework-res.apk" (See Image)
Now to compile back type "apktool b framework-res" (without quores and without .apk extension). (See Image)
Now you have successfully compiled apk.
Lockscreen CRT-OFF Animation:
Decompile framework-res.apk using the above tutorial.
Now navigate to \framework-res\res\values\bools.xml
Now edit bools.xml using Notepad++ (Don't use the inbuilt notepad of windows it will corrupt the file as it is not linux based)
Find "<bool name="config_animateScreenLights">true</bool>"
Now change "true" to "false" and save the file and exit Notepad++
Now compile back the apk using the above tutorial.
Now open the decompiled folder you will see two new folders "build" and "dist"
Go inside "build\apk" folder you will find a file named "resources.arsc"
Now open the original apk say, "framework-res.apk" that is inside C:\Apktool using 7-zip
Drag the "resources.arsc" from framework-res\build\apk\ to the original apk
Now you have successfully applied CRT-OFF Animation.
You can now replace the apk inside the phone with the modded one using root explorer.
Don't forget to keep a Nandroid Backup and a separate backup of original framework-res.apk just in case something goes wrong
kk9999gada said:
First of all I recommend you to use apktool for decompiling apks.
Tools Required:
Apktool (Download)
7-zip (Don't use WinRAR) (Download from Here)
Notepad++ (Download from Here)
Installing Apktool:
Download it from the attachment.(Apktool.zip)
Now Extract 3 files present inside zip to "C:\Windows" without any folder.
You have now installed apktool.
Installing frameworks:
Create a folder named "Apktool" here "C:\Apktool" or on any location with any name you want.
Copy "framework-res.apk" and "twframework-res.apk" (without quotes) to that folder you created.
Now hold Shift key and right click anywhere on the empty area in explorer. (See Image)
Select "Open Command Window Here" (See Image)
Now you will get a command window (See Image).
Now type "apktool if framework-res.apk" (without quotes). It will be installed. (See Image)
Now type "apktool if twframework-res.apk" (without quotes). (See Image)
Now both the frameworks are installed.
Compiling & Decompiling Apks:
To decompile the Apk place desired the apk inside the folder you created.
Once again hold Shift key and right click anywhere on the empty area in explorer.
Now type "apktool d framework-res.apk" or any **.apk you want to decompile (without quotes).
Similarly you can also decompile "twframework-res.apk" (See Image)
Now to compile back type "apktool b framework-res" (without quores and without .apk extension). (See Image)
Now you have successfully compiled apk.
Lockscreen CRT-OFF Animation:
Decompile framework-res.apk using the above tutorial.
Now navigate to \framework-res\res\values\bools.xml
Now edit bools.xml using Notepad++ (Don't use the inbuilt notepad of windows it will corrupt the file as it is not linux based)
Find "<bool name="config_animateScreenLights">true</bool>"
Now change "true" to "false" and save the file and exit Notepad++
Now compile back the apk using the above tutorial.
Now open the decompiled folder you will see two new folders "build" and "dist"
Go inside "build\apk" folder you will find a file named "resources.arsc"
Now open the original apk say, "framework-res.apk" that is inside C:\Apktool using 7-zip
Drag the "resources.arsc" from framework-res\build\apk\ to the original apk
Now you have successfully applied CRT-OFF Animation.
You can now replace the apk inside the phone with the modded one using root explorer.
Don't forget to keep a Nandroid Backup and a separate backup of original framework-res.apk just in case something goes wrong
Click to expand...
Click to collapse
Ok! Thanku! I have decompiled my frawework successfully! Bt that animateScreenLights in my bools is already false! So waht should I do? Should I make it true? Or should I compile the apk without making any changes?
Sent from my GT-I9082 using XDA Premium 4 mobile app
adityab721 said:
Ok! Thanku! I have decompiled my frawework successfully! Bt that animateScreenLights in my bools is already false! So waht should I do? Should I make it true? Or should I compile the apk without making any changes?
Sent from my GT-I9082 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Looks like Samsung is trying to block developers from editing the apks by removing some features. Sorry bro but I know this much only about crt off animation.
However you can try this app from play store as it has CRT-OFF ANIMATION
https://play.google.com/store/apps/details?id=com.katecca.screenofflock&hl=en
kk9999gada said:
Looks like Samsung is trying to block developers from editing the apks by removing some features. Sorry bro but I know this much only about crt off animation.
However you can try this app from play store as it has CRT-OFF ANIMATION
https://play.google.com/store/apps/details?id=com.katecca.screenofflock&hl=en
Click to expand...
Click to collapse
Yes I know about that app..bt I wanted the animation as integrated in ur inspiration rom! Unlucky Me! :crying: Anywayz...thanks a ton for ur concern!
Sent from my GT-I9082 using XDA Premium 4 mobile app

How to Deodex stock rom manually with Smali_baksmali Compiler (Tutorial)

nah i will explain how to deodex stock rom with smali baksmali compiler, it's safe and simple way to deodex your firmware
first of all you must prepare this for your pc
Java JDK
Winrar
Smali Baksmali Compiler
and the last prepare your framework files from your /system/framework
- first make sure the application is already installed java jdk extract the files smali_baksmali anywhere if you've copied the files the framework of the folder system / framework folder into smali_baksmali
{
"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"
}
- if it is copy the apk file you want to deodex example odexnya SystemUI.odex SystemUI.apk and its file into the folder smali_baksmali
- after that do simultaneously press the shift key by right-clicking on the smali baksmali folder and select open command window here
- if open cmd like this
- enter the following command
java -jar baksmali.jar -x SystemUI.odex
if the above process is successful it will be in accordance with the picture below
- If you already enter this command again to remove the file classses.dex
******* java -Xmx1024m -jar smali.jar out -o classes.dex
- if the above process is successful it will appear classes.dex file in the folder you smali_baksmali
- if it is open earlier systemui.apk file using winrar right click and open with winrar until the demolition of the file systemui.apk
- if it drag classes.dex files into winrar to enter into one piece
completed and congratulations you have an application that is already in the file deodex well now just copy the file into the system / app and set permissions rw-r-r
nah may be that's my way, deodex with smali_baksmali compiler, if you have problem with java just tell me ok
Nice tutorial dude
Yap, but it little complicated but the result it's always working
Sent from my C1905 using XDA Free mobile app
Nicklas Van Dam said:
nah i will explain how to deodex stock rom with smali baksmali compiler, it's safe and simple way to deodex your firmware
first of all you must prepare this for your pc
Java JDK
Winrar
Smali Baksmali Compiler
and the last prepare your framework files from your /system/framework
- first make sure the application is already installed java jdk extract the files smali_baksmali anywhere if you've copied the files the framework of the folder system / framework folder into smali_baksmali
- if it is copy the apk file you want to deodex example odexnya SystemUI.odex SystemUI.apk and its file into the folder smali_baksmali
- after that do simultaneously press the shift key by right-clicking on the smali baksmali folder and select open command window here
- if open cmd like this
- enter the following command
java -jar baksmali.jar -x SystemUI.odex
if the above process is successful it will be in accordance with the picture below
- If you already enter this command again to remove the file classses.dex
******* java -Xmx1024m -jar smali.jar out -o classes.dex
- if the above process is successful it will appear classes.dex file in the folder you smali_baksmali
- if it is open earlier systemui.apk file using winrar right click and open with winrar until the demolition of the file systemui.apk
- if it drag classes.dex files into winrar to enter into one piece
completed and congratulations you have an application that is already in the file deodex well now just copy the file into the system / app and set permissions rw-r-r
nah may be that's my way, deodex with smali_baksmali compiler, if you have problem with java just tell me ok
Click to expand...
Click to collapse
Cant download Smali Baksmali Compiler can you please give any other link
yashgumaste said:
Cant download Smali Baksmali Compiler can you please give any other link
Click to expand...
Click to collapse
the link is completely working, ok wait i will give you another link
yashgumaste said:
Cant download Smali Baksmali Compiler can you please give any other link
Click to expand...
Click to collapse
here you go bro http://www.sharebeast.com/xey43d0hzc4i try to disable sharebeast downloader if you want to direct download
Nicklas Van Dam said:
here you go bro http://www.sharebeast.com/xey43d0hzc4i try to disable sharebeast downloader if you want to direct download
Click to expand...
Click to collapse
:good: downloaded
yashgumaste said:
:good: downloaded
Click to expand...
Click to collapse
Have try
First I copied the framework folder into my pc.
Then copied all the jar files from smali_baksmali.rar into framework folder and...
When I typed this commond -
java -jar baksmali.jar -x SystemUI.odex
it said cannot find SystemUI.odex
What to do?
My phone is LG-E455
Do I also have to copy LGSystemUI.apk ?
yashgumaste said:
First I copied the framework folder into my pc.
Then copied all the jar files from smali_baksmali.rar into framework folder and...
When I typed this commond -
java -jar baksmali.jar -x SystemUI.odex
it said cannot find SystemUI.odex
What to do?
My phone is LG-E455
Do I also have to copy LGSystemUI.apk ?
Click to expand...
Click to collapse
Ya you must copy the stock systemui.apk too
Nicklas Van Dam said:
Ya you must copy the stock systemui.apk too
Click to expand...
Click to collapse
I got classes.dex file but did not understand what to do next?
yashgumaste said:
I got classes.dex file but did not understand what to do next?
Click to expand...
Click to collapse
Next, open your systemui.apk with winrar only select open with and select winrar. After open drag your classes.dex file to your systemui.apk and after complete copy your systemui.apk to your phone and copy to /system/app and set permission to rw-r-r and delete SystemUI.odex file from there, after that reboot your phone and you have systemui app deodexed , but if you running on kitkat you must copy to /system/priv-app and do same thing like that
Nicklas Van Dam said:
Next, open your systemui.apk with winrar only select open with and select winrar. After open drag your classes.dex file to your systemui.apk and after complete copy your systemui.apk to your phone and copy to /system/app and set permission to rw-r-r and delete SystemUI.odex file from there, after that reboot your phone and you have systemui app deodexed , but if you running on kitkat you must copy to /system/priv-app and do same thing like that
Click to expand...
Click to collapse
Yup done with it. But how to confirm that rom is deodexed?
Previously when I was using the theme manager in rom tolbox pro, there showed a dialog box that my rom is not deodexed and themes wont apply
and now when I went there the dialog box did not show up but even the was not applied even after rebooting
yashgumaste said:
Yup done with it. But how to confirm that rom is deodexed?
Previously when I was using the theme manager in rom tolbox pro, there showed a dialog box that my rom is not deodexed and themes wont apply
and now when I went there the dialog box did not show up but even the was not applied even after rebooting
Click to expand...
Click to collapse
just check on your system/app folder in there you will find all your system apps and if deodexed you will not see any .odex file from any app on that folder. and if your system/app folder is deodexed and theme manager still tell you're not deodexed try to deodexed framework files too with this way and all almost same with this
Nicklas Van Dam said:
just check on your system/app folder in there you will find all your system apps and if deodexed you will not see any .odex file from any app on that folder. and if your system/app folder is deodexed and theme manager still tell you're not deodexed try to deodexed framework files too with this way and all almost same with this
Click to expand...
Click to collapse
The .odex files of other system apps are still there, that means I have to follow the same procedure with all other jars and apks in the framework folder to completely deodex my rom ?
yashgumaste said:
The .odex files of other system apps are still there, that means I have to follow the same procedure with all other jars and apks in the framework folder to completely deodex my rom ?
Click to expand...
Click to collapse
yap you're all completely deodex your rom bro
Have Fun

[help] apk editing for systemui

Im sorry I use google translations. I wanted systemui/res/values/dimens.xml replace i give link' dimens.xml pleasee
Is there any way to change the res / values ​​/ dimens.xml file in the system ui on the link that I give friends with the dimens.xml on the link I exported? I can not decompile-compile java problem on my pc.
SystemUI link: https://yadi.sk/d/Nc4pLw7u3Aj2md
New dimens.xml link: https://yadi.sk/d/sUChH0rl3Aj3iZ
xbayliss said:
Im sorry I use google translations. I wanted systemui/res/values/dimens.xml replace i give link' dimens.xml pleasee
Is there any way to change the res / values ​​/ dimens.xml file in the system ui on the link that I give friends with the dimens.xml on the link I exported? I can not decompile-compile java problem on my pc.
SystemUI link: https://yadi.sk/d/Nc4pLw7u3Aj2md
New dimens.xml link: https://yadi.sk/d/sUChH0rl3Aj3iZ
Click to expand...
Click to collapse
it's simple if you're using Windows PC
just do it with WinRAR Sofware
> open SystemUI.apk using WinRAR
> delete "dimens.xml" in the existing SystemUI.apk sub-folder
> drag and drop new "dimens.xml" in the same sub-folder
> WinRAR automatic regenerating new SystemUI.apk package
Do With Your Own Risk, because i don't know what are you modify in that SystemUI.apk
i've just give you a simple method to modify (replace) file in the SystemUI.apk
DON'T FORGET to have nandroid backup before using the new SystemUI.apk
DON'T FORGET after you replace the SystemUI.apk, reboot into recovery and clear Dalvik Cache & Cache
Good Luck :laugh:
BayuCiptoaji said:
it's simple if you're using Windows PC
just do it with WinRAR Sofware
> open SystemUI.apk using WinRAR
> delete "dimens.xml" in the existing SystemUI.apk sub-folder
> drag and drop new "dimens.xml" in the same sub-folder
> WinRAR automatic regenerating new SystemUI.apk package
Do With Your Own Risk, because i don't know what are you modify in that SystemUI.apk
i've just give you a simple method to modify (replace) file in the SystemUI.apk
DON'T FORGET to have nandroid backup before using the new SystemUI.apk
DON'T FORGET after you replace the SystemUI.apk, reboot into recovery and clear Dalvik Cache & Cache
Good Luck :laugh:
Click to expand...
Click to collapse
Winrar is doesn't resuource.arc mod. Winrar is doesn't find values folder. I'm sorry.

Categories

Resources