[Guide] [Fix] Some Guides To Fix Apktool For Android - Android General

hello friends
I have seen too many users got problem using apktool for android.
I also got problem...
But i studied the problem n just tried to fix it & guess what..??
My thinking fixed that problem
Now i want to help you all
You want to download apktool & its data files ( dont ask me for that )
Also you need a rooted phone to use rootex & apktool)
Guide 1
Now the steps:-
follow carefully......
1) Download apktool & data files ( i have the apktool 4.1 armel version dont know it will work for another version
2) Extract it to Sdcard/*Here*
3) Go to sdcard/Apktool & install apktool4.1.apk
4) Open it Give root access..
5) Now in aptool go to Sdcard/Apktool & select any file( tap&hold for 2 seconds) & there will be a option of "Set as apktool data folder"
6) now use rootex or similar file manager & go to system/framework/ &copy framework_res.apk to ur sdcard
7) Tap on framework_res.apk scroll down & select "IMPORT AS FRAMEWORK"
8) Now copy framework-res.apk to your sdcard (via rootex) tap on framework_res.apk & select 1st option decompile all ( If you get any error in decompiling then follow next step)
9) Open rootex go to data/data/per.pqy.apktool/ now delete mydata file
10) Now open rootex & go to sdcard/apktool/ & use multi select option n select all files & folders & only unselect "apktool4.1.apk" now copy all that files to "mydata" folder (make new folder anywhere in sdcard )
11) After completing step 10 then copy/move "mydata" folder to data/data/per.pqy.apktool/*Here* via rootex...
12) you have completed all steps now no more steps just open apktool n modify your Device system files or any apk/jar
*+*+REMEMBER+*+*
This Errors was Fixed by me no one helped me to fix this problem or i not copyed someons idea (its my fixing style)
So give all credits to me....,,,,
Guide 2
This guide is only if you have this errors
Screenshot
{
"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"
}
1)Install apktool following guide1 (only 7 steps)
2)Then download this https://www.dropbox.com/s/p88gb8ze62peomp/Apktool Error Fix.zip
3)Now flash that zip via cwm recovery
4)Now this error is fixed
Now enjoy apktool
happy moding
Again this errors was Fixed by me
Credits:
Only Me
Note
The guide is for Galaxy pocket & Similar device
Try on yours & give feedback
Sent from my GT-S5300 using Tapatalk 2

Related

[GUIDE][GB]ics/jb recent app viewer

{
"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"
}
We can add it to our gb roms so we can get feel of jb and speed of gb
PLEASE THANK agmtpd if this post helps you.
_____________________ Add ICS/Jellybean look alike task switcher
Tools Required:
1. APKTOOL:: for decompiling/compiling
(u can use any decompiler as long as it compiles without any error)
2. JAVA runtime environment-- jre installed on windows
3. 7 ZIP
4. WinRAR
5. MOD.ZIP or MOD without button.zip (attached below)
MOD.zip includes "task manager" button at the bottom
MOD without button.zip obviously doesnt...
Procedure:
Setting up apktool
1. Unzip downloaded APKTOOL.zip to c:/apk (or any other convenient location)
2. copy ur rom's framework-res.apk to c:/apk/ and rename it as framework-stock.apk (dont delete this file neither modify it at any point)
3.open cmd and navigate to c:/apk/ and type command as
Code:
C:\apk>apktool if framework-stock.apk
Now you are all set to decompile framework-res.apk
DECOMPILING framework-res.apk
In cmd type
Code:
C:\apk>apktool d framework-res.apk frame
this will put all decompiled files in a folder named "frame"
EDITING decompiled framework-res.apk
1. open "c:/apk/frame/res" in explorer
2. extract all folders in the MOD.zip file to "c:/apk/frame/res/" and replace the files if asked
RECOMPILING framework-res.apk
1. In cmd type
Code:
C:\apk>apktool b frame framework.apk
if all goes well it will create an UNSIGNED framework.apk (u cant push it right now)
SIGNING framework-res.apk
1. open c:/apk/framework-res.apk in 7-ZIP not Winrar
2. open c:/apk/framework.apk in WINRAR and drag all the contents to the 7-zip window
and click "yes" in dialog when asked to copy files into framework-res.zip
DONE!!
c:/apk/framework-res.apk is the signed apk which you can push to system/framework/ using any method adb, CWM
or u can even use Miui file explorer to push framework-res.apk without any bootloops.....
if u get stuck in bootloop just flash ur stock framework-res.apk and then report here....
DO give proper credits if you are using this in your rom.... _________________________________________________
OR you can install this task killer. ICS Task Manager from market that is "ALMOST" look like a recent task/apps of ICS/JB.[/QUOTE]
Required tool
Apk tool::: http://www.4shared.com/zip/Z8rB_hIS/file.html
MOD.zip( WITH BUTTON):: http://dl.xda-developers.com/attach...57c8f01230fa20/50f689d9/1/2/6/4/8/1/1/MOD.zip
Mod.zip( without button):: http://dl.xda-developers.com/attach...50f68b4d/1/2/6/7/2/7/0/MOD-without_button.zip
Sent from my es209ra using xda premium

[Guide][Tool] How to create flashable zip (noob proof - the easiest way)

Hello everyone..
In my tutorial here, I want to show newbies how to create their own flashable zip file to flash by recovery mode (CWM)...
Now installing your mods become easier and faster
Needed tools for newbies:
1) Download your desired template:
Template - for auto-perm-fix kernel support.zip
Template - for non auto-perm-fix kernel.zip
more details is down there!!
2) WinRAR or 7-zip program installed in your computer.
3) Auto-ZIP-Signer patch in case your kernel needs it
4) Cup of hot tea!!!
Which template should I use?
It depends on kernel you are using whether it supports auto permission fix or not (most of custom kernels support this feature)..
To know if you are using kernel with auto permission fix or not, boot into recovery mode and check if you have fix permissions option or not (usually under advance). If your kernel has fix permissions option, then use Template - for auto-perm-fix kernel support.zip otherwise, use Template - for non auto-perm-fix kernel.zip.
What will happen if you use wrong template?
If your kernel supports auto permission fix feature and you used Template - for non auto-perm-fix kernel.zip, nothing will go wrong (so don't worry!!) but the flashing process will take unnecessary longer time for fixing permissions!!.
If your kernel doesn't support auto permission fix feature and you used Template - for auto-perm-fix kernel support.zip, then you might need to fix permissions of the flashed mod manually or to add extra permissions line in updater-script (not advised for newbies)
How is it working?
Open the template zip file by WinRAR or 7-zip (don't extract!! Just open)
{
"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"
}
​
Now what you need to do is just to drag & drop your modded file into its corresponding destination inside the zip file.
​
Copy your finished zip file to your external SD card.
​
Boot into recovery mode and flash your file... Now you can treat yourself the cup of tea.. you deserve it
Extra step:
If you are using stock kernel that needs varification key from flashable zip file, then you need to use Auto-ZIP-Signer to sign your finished zip file.
First copy your finished zip file from previous step and open ZIP Auto-Signer folder (download from above).
Now paste your zip file in "put-zip-to-sign-here" folder and run the script patch.
Now go to "Finished" folder and copy "Signed.zip" into your external SD card.
Boot into recovery mode and flash your signed file
Simple and noob proof tutorial, I hope it will help you all new xda members

[TUTORIAL] [NO PC] [GUIDE] CONVERT Amrv7 games TO Amrv6 WITHOUT PC!! (full guide)

Today i am going to TEACH you how to convert ARMv7 games to ARMv6 without using pc, Its easy and no special ability requires it means even a noob can do this thing. so lets get started.
:thumbup:
What you need to have is........
1) ROOT Explorer(To OPEN APK FILE)
2) LIB Files of Unity Engines
3) Zipsigner (play store)
Download Links:
""""""""""""""""""""""
Download A TO Z LIB Files from hear
http://www1.datafilehost.com/d/20eebbea
Download ZIPSigner from this form PLAYSTORE !! (free)
============================
Instructions:
1) Using rootexplorer extract the APK File
Go to extracted apk folder and head to Assets>Bin>Data> and Open "MAINDATA" file in text viewer.
2) Now Check the Version of Unit
3) Now you have the info about the Unity Engine Version, in our case it is 3.5.5f3 so now you have to extract 3.5.5f3 libs which you have downloaded from above links. (u can see unity engine version on top after opening maindata in textviewer.
{
"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"
}
4) Now using Rootexplorer Delete LIB Folder from extracted APK folder(while using rootexplorer u will find apk folder in speedsoftware>extracted) and Place ARMv6 lib folder now head to Assets>Libs and delete ARMv7 folder and place the armeabi-vfp. now we are almost done.
5) Now using rootexplorer zip the
APK folder. (Let suppose xyz.zip)
6) now open Zipsigner press input locate the zip (xyz.zip) folder u have created with amrv6 libs.
7) now go to signed output file
And give address
/sdcard/xyz.apk
(u can use ur ownname.apk name in place of xyz.apk)
8) Now select auto-testkey in KEY.
& SIGN UR APK
It will take few minutes an all done!!
And ur signed apk will place in ur sdcard (not any folder).
Install it and urEnjoy with chainfire 3D!! :thumbup:
NOTE: If you find Unity Engine
Version 4.0 or above it means its dead end :banghead: and
those games can not be converted
Get ready 4a war!!
Don't forgot to press thanks :thumbup:
Bye!!

[TUTORIAL] [NO PC] [GUIDE] CONVERT Amrv7 games TO Amrv6 WITHOUT PC!! (full guide)

Today i am going to TEACH you how to convert ARMv7 games to ARMv6 without using pc, Its easy and no special ability requires it means even a noob can do this thing. so lets get started.
:thumbup:
What you need to have is........
1) ROOT Explorer(To OPEN APK FILE)
2) LIB Files of Unity Engines
3) Zipsigner (play store)
Download Links:
""""""""""""""""""""""
Download A TO Z LIB Files from hear
http://www1.datafilehost.com/d/20eebbea
Download ZIPSigner from this form PLAYSTORE !! (free)
============================
Instructions:
1) Using rootexplorer extract the APK File
Go to extracted apk folder and head to Assets>Bin>Data> and Open "MAINDATA" file in text viewer.
2) Now Check the Version of Unit
3) Now you have the info about the Unity Engine Version, in our case it is 3.5.5f3 so now you have to extract 3.5.5f3 libs which you have downloaded from above links. (u can see unity engine version on top after opening maindata in textviewer.
{
"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"
}
4) Now using Rootexplorer Delete LIB Folder from extracted APK folder(while using rootexplorer u will find apk folder in speedsoftware>extracted) and Place ARMv6 lib folder now head to Assets>Libs and delete ARMv7 folder and place the armeabi-vfp. now we are almost done.
5) Now using rootexplorer zip the
APK folder. (Let suppose xyz.zip)
6) now open Zipsigner press input locate the zip (xyz.zip) folder u have created with amrv6 libs.
7) now go to signed output file
And give address
/sdcard/xyz.apk
(u can use ur ownname.apk name in place of xyz.apk)
8) Now select auto-testkey in KEY.
& SIGN UR APK
It will take few minutes an all done!!
And ur signed apk will place in ur sdcard (not any folder).
Install it and urEnjoy with chainfire 3D!! :thumbup:
NOTE: If you find Unity Engine
Version 4.0 or above it means its dead end and
those games can not be converted
Get ready 4a war!!
Don't forgot to press thanks
Bye!!
I would love to know how to open the rest of those files in there the ones that look like this: 0c23d38d2f2b445afa92ff0cf9388a76 there are usually dozens of them obviously on a PC but anyone know how to open them? this is the closest I found while searching and this thread is all I could find :?

[TOOL] APKTools Windows GUI Decompile/Recompile/ZipAlign/SignAPK

Hi everyone, I want to share a tool that I make it myself for easy to modify APKs (Because laziness so I don't want to type cmd :silly: ).
REQUIREMENTS :
1. Windows XP or above.
2. .NET 2.0 is installed (default on XP, Vista, 7)
2. JRE/JDK Installed.
3. An APK that you want to do something with it.
FEATURE:
1. Decompile APK.
2. Recompile APK.
3. Batch SignAPK (You can select or Drag multiple file).
4. Batch ZipAlign APK (You can select or Drag multiple file).
The inputboxes are Drag&Drop able.
CREDITS & BIG THANKS TO :
- viperneo for MetroFrameworkUI.
- brutall for apktool.
- Anyone that make signapk.
- The Android Opensource Project for zipalign.
{
"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"
}
Download link in attachment
Hey SandPox, good job!
Hope that more people will find this useful post
wouldve been goog if igood juust drop my framwork app and priv app folders in and its find thee apks it would. so kind of batch. may as well put the new paging/alignign of the new -p .so files that can be done now with the zipalign tool. =
thanks for this tool... won't decompile everything with my device but still good tool
i am getting a finished with error code 1
when recompiling systemUI.apk
it decompiles but will not recompile
i am using the right framework-res file as well
Very usefull tool..
I use other tool, but sometimes have problem with recompile.
Now i know what i will use.
Thanks for all @SandPox
Can we decompile marshmallow, and recompile the marshmallow apks?
Marshmallow compatible? Is it just based on the apktool version that is installed?
Hi everyone, I want to share a tool that I make it myself for easy to modify APKs (Because laziness so I don't want to type cmd :silly: ).
REQUIREMENTS :
1. Windows XP or above.
2. .NET 2.0 is installed (default on XP, Vista, 7)
2. JRE/JDK Installed.
3. An APK that you want to do something with it.
FEATURE:
1. Decompile APK.
2. Recompile APK.
3. Batch SignAPK (You can select or Drag multiple file).
4. Batch ZipAlign APK (You can select or Drag multiple file).
The inputboxes are Drag&Drop able.
CREDITS & BIG THANKS TO :
- viperneo for MetroFrameworkUI.
- brutall for apktool.
- Anyone that make signapk.
- The Android Opensource Project for zipalign.
Download link in attachment
Nice Work
:good::good:

Categories

Resources