[SHARE]APKTool For Phones! [23.04.14] - Sony Cross-Device General

APKTool For Android!
Click to expand...
Click to collapse
​
OP Updated with proper instructions. Do not forget to follow the same. :good:
Due to some problems using the latest version, I'm uploading the previous version in the Downloads, take a look.
Don't forget to hit Thanks and Rate this thread button if you find it useful! :angel:​
Hello Friends!
I am here to share an Awesome Utility for our Great Themers who can now edit .apk files on the device itself!
This is the APKTool which can run on android itself!
Some features like:
Decompile dex files
Decompile apk
Sign Apk
Make Odex
Zipalign
Extracting META-INF
dex2jar
jar2dex
Creating ROM Dump of current Rom
Are available in this app!
It works quiet good on my XSola, but I am sure It will run smoothly on devices with good amount of RAM! :good:
Here are few previews of the app:
Previews:
{
"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"
}
Downloads:
Download APKTool For Android! v4.4
Download APKTool For Android v4.3 (Old Version)
Instructions:
- Download apktool4.4_armhf.zip (recommended version) ( ~50MB ).
- Extract the zip to your preferred location.
- Install apktool.apk (Or similar name) from the zip file.
- Open the App, Navigate to the folder you have extracted the zip, long press it and select set as apktool data folder.
- Now navigate to /system/framework -> Tap on framework-res.apk -> Select 'import as framework' (This will be imported as framework 1)
-Tap on SemcGenericResUxp.apk and again select 'import as framework' (This will be imported as framework 2)
The tool extracts the app to the folder wherever the app is! So please do not extract any app directly through /system folder! :good:
ENJOY THE REST!
Good Luck! :good:

Nice thread mate. :good:

Such a useful thread bro... Keep it up

Rajeev said:
Such a useful thread bro... Keep it up
Click to expand...
Click to collapse
Always to do possible help to you bro.

I have checked..... Does not decompile apk properly. Tried decompile radio but not decompiled fully. Missing some files.
Sent from my old Neo V

great jobssssss:silly:

AndroidNoob69 said:
I have checked..... Does not decompile apk properly. Tried decompile radio but not decompiled fully. Missing some files.
Sent from my old Neo V
Click to expand...
Click to collapse
Thanks for your feedback @AndroidNoob69 . And, I think even i had got an error about it. But did you tried recompiling it again? (Maybe with making some changes)
@Rajeev bro , do you get errors like these?
Sent from my Xperia Sola using XDA Premium 4 mobile app

cpkunki said:
Thanks for your feedback @AndroidNoob69 . And, I think even i had got an error about it. But did you tried recompiling it again? (Maybe with making some changes)
@Rajeev bro , do you get errors like these?
Sent from my Xperia Sola using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I already used this tool in ma XZ and Compiled Conversation.apk and some other apks without any problems....

Rajeev said:
I already used this tool in ma XZ and Compiled Conversation.apk and some other apks without any problems....
Click to expand...
Click to collapse
Ya even me too! I got some errors while decompiling Home.apk, but while recompiling, it was all okay!
Sent from my Xperia Sola using XDA Premium 4 mobile app

Hey @cpkunki.. I am getting errors while decompiling and recompiling both..plz help me.. 1st screenshot while decompiling and second one while recompiling..
Sent from my LT28h using XDA Premium 4 mobile app

@cpkunki while recompiling..
Sent from my LT28h using XDA Premium 4 mobile app

This is not the full apktool and @cpkunki is not the maker of the app. As mentioned, this app does not decompile and compile properly as it is missing sony framework tables.
Sent my Carbonised Xperia P

You should install framework related apps then recompile ...
But i think there isn't anyway to do it !
Thanks for the share was looking for it
Sent from my Xperia Acro S using Tapatalk

I am so sorry @Chocklety Boyee , but as @AndroidNoob69 said, I have not created this app or I do not know how to debug things because I am still a learner on XDA.
I asked one of my friend, (A Samsung user) he said try putting the app in the /system folder and decompile it.
I did that before posting this thread. Yes it got decompiled, but the problem was that I couldn't delete the folder where the app was decompiled, only its contents got deleted.
Try doing the same, but please make a backup before doing so :fingers-crossed:. Don't blame me .
And do tell me the results.
..
@abo hani, glad you liked it.

How to edit and recomplie xml file in mobile?

mamenvn said:
How to edit and recomplie xml file in mobile?
Click to expand...
Click to collapse
For that you can use any all in one File manager like this one
Or if you just want an XML editor, you can search on play store,
you will get these:
Axel (XML Editor / Viewer)
XML Editor
And so on..

cpkunki said:
For that you can use any all in one File manager like this one
Or if you just want an XML editor, you can search on play store,
you will get these:
Axel (XML Editor / Viewer)
XML Editor
And so on..
Click to expand...
Click to collapse
The apk is not working after edit with xml editer

I encourage you guys not to use apktool on phones. It is and is never the full version. It is missing framework files and there is no way you can install them.
Sent my Carbonised Xperia P

mamenvn said:
The apk is not working after edit with xml editer
Click to expand...
Click to collapse
Oh! I don't know bro. Sorry!
AndroidNoob69 said:
I encourage you guys not to use apktool on phones. It is and is never the full version. It is missing framework files and there is no way you can install them.
Sent my Carbonised Xperia P
Click to expand...
Click to collapse
Wait bro!
Did you follow the instructions correctly?
Especially this one - Open the App, Navigate to the folder you have extracted the zip, long press it and select set as apktool data folder ?
And also, this IS working on phones like Xperia Z. Because @Rajeev bro was able to add his own Banner, 'Developer Name' in About Phone in Settings!
And also, the main developer is not mad to create such a project in Google code and on GitHub. :silly:

I used this app in ma mobile.. I already told u that i created 3 mods using this app.. One is Rom name under About Phone setting, second one is full transparent caller screen and third one is systemui transparency...

Related

unable to decompile settings.apk

i am trying to decompile settings.apk using apktool but its showing some error please help me in decompiling settings.apk
Sent from my GT-S5360 using Tapatalk 2
Did you install the required framework.apk/twframework.apk using "apktool -if" first?
Sent from my HTC Explorer A310e using xda app-developers app
vineethraj49 said:
Did you install the required framework.apk/twframework.apk using "apktool -if" first?
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
what framework.apk i just want to decompile settings.apk on pc via apktool but its showing some error but when i tried for systemui.apk it decompiled successfully.
Sent from my GT-S5360 using Tapatalk 2
what error? can u state that
Some apks are ok...
sanchit0403 said:
what framework.apk i just want to decompile settings.apk on pc via apktool but its showing some error but when i tried for systemui.apk it decompiled successfully.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
get your framework-res.apk from the /framework folder and install it using
Code:
apktool -if framework-res.apk
Then, you will be able to decompile "Settings.apk"
sanchit0403 said:
i am trying to decompile settings.apk using apktool but its showing some error please help me in decompiling settings.apk
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
1st install framework-res.apk, twframework-res.apk, and lidroid-res.apk of your rom...
You can find this files in system/framework folder
Now you can decompile settings.apk
press thanks if i help you
sent from my ANDROID using
XDA PREMIUM
@Sachin Patel hello patel ! well from same state! m having same problem. d thing u are telling is of htc , samsung doesnt have twfra.....
M using apk multitool , ace duos 6802 device, decompiled various apk till date.
but for the first time this settings.apk didn't. it asks for selecting dependency.
I selected framework-res.apk as that file but apk-multitool rejeted.
can u hlp further.
I have all for files uploaded .. if r willing to help.
mjp93 said:
@Sachin Patel hello patel ! well from same state! m having same problem. d thing u are telling is of htc , samsung doesnt have twfra.....
M using apk multitool , ace duos 6802 device, decompiled various apk till date.
but for the first time this settings.apk didn't. it asks for selecting dependency.
I selected framework-res.apk as that file but apk-multitool rejeted.
can u hlp further.
I have all for files uploaded .. if r willing to help.
Click to expand...
Click to collapse
No I am using galaxy y and it contains 3 xxxx-res.apk in framework folder
You need to install all the three apk file
And one thing use "apkmanager" for editing apk or "vts" these are best
Don't forget to press thanks
sent from my ANDROID using
XDA PREMIUM
Sachin Patel said:
No I am using galaxy y and it contains 3 xxxx-res.apk in framework folder
You need to install all the three apk file
And one thing use "apkmanager" for editing apk or "vts" these are best
Don't forget to press thanks
sent from my ANDROID using
XDA PREMIUM
Click to expand...
Click to collapse
Lol , I added tw... as 2.apk , nd now works.. bdw , I did it manually by logic I learned from log.txt , it mentioned abt files in xxxx folder , nd there I kept the res files , changed d name. nd worked.
thnkd u .. lol!
@Sachin Patel
{
"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"
}
how to change the size , transparency, color , thickeness, etc .
any png or xml to be edited?
its common all over system so it must be systemui or framwork.
www.dadabhagwan.org
mjp93 said:
@Sachin Patel
how to change the size , transparency, color , thickeness, etc .
any png or xml to be edited?
its common all over system so it must be systemui or framwork.
www.dadabhagwan.org
Click to expand...
Click to collapse
You need to edit xml file of framework-res.apk
Don't forget to press thanks
sent from my ANDROID using
XDA PREMIUM
..
Sachin Patel said:
You need to edit xml file of framework-res.apk
Don't forget to press thanks
sent from my ANDROID using
XDA PREMIUM
Click to expand...
Click to collapse
hey one.more question.
I am theming apps.
so when I make little changes like edited xml then when I want to share modded app (system app) I have to upload whole 5 mb app ..
I saw many people instead of uploading whole app they simply put xml in flashable zip and upload that (<300kb)
so how should I create one?
meta inf shud be used from any update file ( I know about updater script , I edited accordingly)
plz hlp
hey how to make flashable zip ? I modded the png and xml 2files
now I put it in a .zip file with
1'metainf
2.other folder with those two files (system/app or framework)
www.dadabhagwan.org
Mit check here bro : http://forum.xda-developers.com/showthread.php?t=732957
apex666 said:
Mit check here bro : http://forum.xda-developers.com/showthread.php?t=732957
Click to expand...
Click to collapse
I see u r not active here?
bdw muahhh... for help !
www.dadabhagwan.org
mjp93 said:
hey one.more question.
I am theming apps.
so when I make little changes like edited xml then when I want to share modded app (system app) I have to upload whole 5 mb app ..
I saw many people instead of uploading whole app they simply put xml in flashable zip and upload that (<300kb)
so how should I create one?
meta inf shud be used from any update file ( I know about updater script , I edited accordingly)
plz hlp
hey how to make flashable zip ? I modded the png and xml 2files
now I put it in a .zip file with
1'metainf
2.other folder with those two files (system/app or framework)
www.dadabhagwan.org
Click to expand...
Click to collapse
If you upload whole 5mb apps it is beter then uploading only xml because many of new beeees can't understand and they bricked their device..
Don't forget to press thanks
sent from my ANDROID using
XDA PREMIUM

[Info/Tools] Deodexing Made Easy...

Hi there.
The first thing I do when installing the latest firmware is Deodex it, mainly because having a deodexed ROM is easier to modify and you'll find a lot of the modifications that are are in the Themes And Apps sections require you to have a deodexed ROM. I use the dsixda's Android Kitchen to deodex and @pankaj88 has written a great guide here - [GUIDE] How to DEODEX stock ODEXED ROM using dsixda's kitchen - so you can do it yourself or try the other tools listed below.
{
"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"
}
The differences between Odex and Deodex Files...​
philos64 said:
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space The odexed file structure works well as an optimization tool. Since these .odex files contain preliminary load information about each system app, the OS knows what to expect when it’s booting up, and consequently, loads all these apps faster.
On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
For instance, on a non-rooted device you’ll find
system/app/Phone.apk ===> as well as ===> system/app/Phone.odex
Click to expand...
Click to collapse
- [GUIDE] - The differences between Odex and Deodex Files
[Utility][win] De-Odexer and Odexer Tool​
majdinj said:
Making modifications to an Odexed file requires a tedious and time consuming process of Deodexing, modifying, and then Reodexing. So here I thought, why not to have a tool by which I could deodex a targeted application, then I can do my modifications, then odex back the file again.. So it was the birth of this tool.. yey
With power of baksmali and smali codes (credits to JesusFreke), and dexopt-wrapper and busybox binaries (credits to Denys Vlasenko); I have came up with this tool..
Click to expand...
Click to collapse
- [Utility][win] De-Odexer and Odexer Tool
[TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]​
abcdjdj said:
Hi everyone,
Alokbina and I have created a tool which allows users to very easily deodex apks from a rom. This tool is very useful for Rom developers too. For now only windows is supported but we will try our best to make the same tool for linux too and make the tool as user friendly as possible. And, please don't forget to thank alokbina too.
NOW EVEN ON XDA PORTAL - http://www.xda-developers.com/android/deodex-all-the-things-with-universal-deodexer/
Requirements:-
--->Java installed on your PC
--->system/framework folder from your rom
--->apks from that SAME ROM with the respective .odex file
--->Patience and a calm head (common sense included)
You can watch this video for setting up and using the tool -
Click to expand...
Click to collapse
[FIXED][UPDATE - V3][TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]
CARBONITE TOOL​
adityaf said:
Features
1)Deodex your stock ROM (android 2.x 3.x 4.x)
2)This tool automatically pull your apps from phone to PC
3)One click deodexer,
4)Just click Deodexer_from_phone
5)All apps and framework will be deodexed.
6)Automatically makes .zip file flash from CWM.
BUGS
Sometimes it does not deodex androidpolicy.jar just run script once again!
Click to expand...
Click to collapse
- [TOOL]CARBONITE TOOL [Dedeoxder tool][All devices]
[How-To] Re-Odex a Rom​
TearsDontFalls said:
What do I need to re-odex?
-A rooted phone
-A full NANDroid Backup
-More than 30 mb free space on /system
-ADB drivers for Option 1
-Titanium Backup Pro for Option 2
How can I re-odex a Rom?
There are 2 Options to do it, but only the first does a full re-odex.
Click to expand...
Click to collapse
- [How-To] Re-Odex a Rom
[UTIL]Auto Odexer Script V2.1-Mod your odex files with a breeze​
alkhafaf said:
Before u read, u should know that this thread is for themers and modders only... and this is not a tool for odexing the whole ROM.
Hello everybody
While I was working on my ROM, and releasing an odex version, I suffered alot in working on the odex files and modifying them. Every time I should use the command line and copy certain commands from a notepad, in addition I have to edit the notepad file to make the commands odex other files... that was a pain...
...
For anyone that want to use these scripts, I wanted to share it with you, and I hope they would be useful to you.
Click to expand...
Click to collapse
- [UTIL][22/2/13]Auto Odexer Script V2.1-Mod your odex files with a breeze
when i write this below line
cp /sdcard/done_app/* /system/app/
it says not found cannot proceed...what to do????????
nothing got the other way round
Will i lose my data or will everything be as same as before?
venky716 said:
Will i lose my data or will everything be as same as before?
Click to expand...
Click to collapse
As said in the OP, it will restore all the junk but it won't remove anything except for the odex files.
Update.
How to deodex this framework ?
Sent from my LT25i using xda premium
danisariandi said:
How to deodex this framework ?
Sent from my LT25i using xda premium
Click to expand...
Click to collapse
Hi Danis.
I just used the Android Kitchen to do both folders.
From me to you.
XperienceD said:
Hi Danis.
I just used the Android Kitchen to do both folders.
From me to you.
Click to expand...
Click to collapse
How ? give me instruction
danisariandi said:
How ? give me instruction
Click to expand...
Click to collapse
Download and setup the kitchen, then just follow the onscreen instructions, similar to ApkManager.
From me to you.
Can copy-paste them to the system/app and system/framework with root explorer with proper permission (.307fw rooted)? Thank you!
petrutms said:
Can copy-paste them to the system/app and system/framework with root explorer with proper permission (.307fw rooted)? Thank you!
Click to expand...
Click to collapse
You've all the odexed files to remove manually, and its a lot, plus you might have issues doing it that way.
From me to you.
Ok, thank you! I will try...
Updated...
These files are from Xperia Z (C6603) v4.2.2 10.3.A.0.423 Generic ES (Unbranded/Spain)
423_DXD_framework
423_DXD_apps
Click to expand...
Click to collapse
could any one please upload the below files from the JB 4.2.2 10.3.A.0.423
SystemUI.apk,
SystemUI.odex,
android.policy.jar,
android.policy.odex
framework-res.apk
I accidentally flashed the ZL files and i am stucked at Xperia Logo......Please upload it...
mohanparvatham said:
could any one please upload the below files from the JB 4.2.2 10.3.A.0.423
SystemUI.apk,
SystemUI.odex,
android.policy.jar,
android.policy.odex
framework-res.apk
I accidentally flashed the ZL files and i am stucked at Xperia Logo......Please upload it...
Click to expand...
Click to collapse
Reflash your rom using flashtool. Much easier than trying to push those files IMO and should fix anything you broke.
Sent from my C6603 using Tapatalk 2
How to deodex 4.1.2-10.1.1.A.1.253
Sent from my C6602 using Tapatalk 4 Beta
Ame123 said:
How to deodex 4.1.2-10.1.1.A.1.253
Sent from my C6602 using Tapatalk 4 Beta
Click to expand...
Click to collapse
There are few methods you can use but I use the Kitchen. I'll update the OP tonight with a few more links.
From me to you.
nehtsra lake
XperienceD said:
There are few methods you can use but I use the Kitchen. I'll update the OP tonight with a few more links.
From me to you.
Click to expand...
Click to collapse
Can i use that files for c6602 ?
Can you make a flashable zip for this?
Sent from my C6602 using xda premium
I'm on the Spanish 423 from PC Companion which I guess is odexed. If I do this, I assume I can then use the Ultra Z launcher? Or would I need to do something more?
Sent from my C6603 using xda premium

[APP][MOD] Samsung Galaxy S3- MY FILES APP -FOR CM10/AOKP/AOSP [ALL DEVICES]

Hi,guys
I'm working on PSSR at this time and porting sgs3 apps and frameworks to primou a.k.a htc one v (base cm10)
Here is link of my work : [ROM][SAMSUNG]【 PSSR - ver.2B1 -10.06.2013 】 [OFFICIAL][PRIMOU]
and i've successfully ported Samsung Galaxy S3 mini(s3 and s3 mini's myfiles apks same.maybe needed xhdpi layout and drawables.try and give me feedback)'s My Files App (SecNoteMyFiles.apk)
App and mod tested on HTC ONE V - HDPI
{
"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"
}
Status bar modded by me Screenshot from HTC ONE V
TUTORIAL​
You need edit framework2.jar and download modded MyFiles.apk
then extract classes.dex from framework2.jar using 7zip or something
and then -decompile your classes.dex using baksmali.jar [java -jar baksmali.jar classes.dex]
you'll get "out" folder after this .
download framework2.jar-samsungmodbydogaoz
copy everything inside of "out" folder to your "out" folder [IMPORTANT : probably you'll see (do you want change this file ..blabla..? ) no to all don't change same files..because we are only getting samsung frameworks]
and then compile classes.dex again [java -jar smali.jar out]
and then rename out.dex to classes.dex and copy classes.dex to your framework2.jar using 7zip or something
push your framework2.jar to your system/framework [adb remount -- adb push framework2.jar /system/framework ] DON'T FORGET BACKUP.PLEASE DO BACKUP BEFORE DOING THIS
Finally, Download SecNoteMyFiles-moddedbydogaoz.apk and push to your system/app using adb [adb remount -- adb push SecNoteMyFiles-moddedbydogaoz.apk /system/app]
DOWNLOADS ​
modded Framework2.jar : FRAMEWORK2.jarclasses.dexdecompiledby
DOGA OZKARACA
My Files app Link : http://projectsmyrna.com/PRIMOU/MOD/SecNoteMyFiles-moddedbydogaoz.apk
AND I'M NOT RESPONSIBLE OF ANY PROBLEMS BRICKED SD CARDS OR BRICKED DEVICES OR SOMETHING OTHER....PLEASE MAKE BACKUP BEFORE DOING SOMETHING...
reserved
reserved
Thanks man
also,i'm working on sgs3 music player for cm10 but,this one is too hard
doga.ozkaraca said:
also,i'm working on sgs3 music player for cm10 but,this one is too hard
Click to expand...
Click to collapse
Appreciate your dedication man thumbs up can u plz port video player and note 2gallery those are more valuable
Sent from my Galaxy Nexus using xda app-developers app
sakunakia said:
Appreciate your dedication man thumbs up can u plz port video player and note 2gallery those are more valuable
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
music player thread is here : http://forum.xda-developers.com/showthread.php?t=2325500
almost completed but a main app doesn't start because of one problem.If you can help me, we can get complete sgs3 music player
doga.ozkaraca said:
music player thread is here : http://forum.xda-developers.com/showthread.php?t=2325500
almost completed but a main app doesn't start because of one problem.If you can help me, we can get complete sgs3 music player
Click to expand...
Click to collapse
Yes of course I can . I was talking about video player it has some great features
Sent from my Galaxy Nexus using xda app-developers app
amazing dude im going to try this
@doga.ozkaraca i get many errors when i recompile it it doesnt even create the out.dex
Omar1c said:
@doga.ozkaraca i get many errors when i recompile it it doesnt even create the out.dex
Click to expand...
Click to collapse
what did you get??
and what rom you're using??
doga.ozkaraca said:
what did you get??
and what rom you're using??
Click to expand...
Click to collapse
Im using cm10 and it was a bunch of errors saying didnt find this and some variable issues
Sent From The Third Nexus
I use CM10 and get many many error when recompile classes.dex.
Here is a little ( 1/10 ?) error example
@doga.ozkaraca slow down man! You working on a lot of stuff.
Sent from my GT-I9500 using Tapatalk 4
Nasty_z said:
@doga.ozkaraca slow down man! You working on a lot of stuff.
Sent from my GT-I9500 using Tapatalk 4
Click to expand...
Click to collapse
LOL :cyclops:
Omar1c said:
Im using cm10 and it was a bunch of errors saying didnt find this and some variable issues
Sent From The Third Nexus
Click to expand...
Click to collapse
you should send errors list.
zxc123coke said:
I use CM10 and get many many error when recompile classes.dex.
Here is a little ( 1/10 ?) error example
Click to expand...
Click to collapse
Smali_classes\android\plugin\dsds\
please delete dsds folder and try again
doga.ozkaraca said:
you should send errors list.
Smali_classes\android\plugin\dsds\
please delete dsds folder and try again
Click to expand...
Click to collapse
Thanks for reply.
But i don't think it will work on CM10.
because there are too many error , not only Smali_classes\android\plugin\dsds\
Here is another error list (I can't catch full error logs because of too long)
Edit: Full error logs show me almost everywhere the smali i put in has trouble.
I'm trying to port this to android 4.2.2 (cm10.1) but it doesn't have framework2.jar. I tried pushing the apk but logcat complains about missing "sec_feature" library. Any suggestions on how to fix that?
can i use this method on my cm11??
want to use this for kitkat
cm based roms mahn!!!
please do help...i tried...and decompiled and didnt find out folder(i know its noobish coz there are so many changes after years made in framework.)
so please do help...any anwer would be appreciated

[Tool]Advanced ApkTool v4.2.0[Windows][10/02/2016]

I made this tool specially for the owners of Sony Xperia devices. As in new frimware of Sony when we edit framework-res.apk we get infinite bootloop. I have made some framework mod for Sony devices. That's why people keep PM'ing me how did I edit framework-res.apk. So, here is the solution for them. This tool can be use for other manufacturers too.
{
"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"
}
Main Features :
User friendly
Automated Decompiling APK/JAR
Automated Recompiling APK/JAR
Automated Sign APK/JAR
Automated Zipalign APK/JAR
No need to copy META-INF folder after recompiling
Sony Xperia owners won't face bootloop after recompiling framework-res.apk
Changelog :
v4.2.0 :
Based on Apktool 2.0.3 (Android Marshmallow Supported)
v4.1.0 :
Based on Apktool 2.0.0-RC3 (Android Lollipop Supported)
v4.0.0 :
Based on Apktool 2.0.0-RC2
Added "Only Recompile" Option
Added "Recompile And Then Sign" Option
Added "Recompile And Then Zipalign" Option
Added "Recompile, Sign And Then Zipalign" Option
Wiping "Frameworks" Folder Option Added
v3.0.0 :
Based on Apktool 2.0.0-RC1
Added "More Menu" Option
Added "Decompile All Files" Option
Added "Recompile All Files" Option
Added "Sign All Files" Option
Added "Zipalign All Files" Option
v2.0.0 :
Based on Apktool 2.0.0-Beta9
Added Support For JAR Files
Added "Zipalign Files" Option
Added "Wipe Folders" Option
Fully Support Xperia Z1 Compact's Files
v1.0.0 :
Initial Release
Bugs :
You Should Find And Let Me Know (I DIDN'T FIND ANY)
Download :
v4.2.0 :
Advanced ApkTool v4.2.0 By BDFreak.rar
Mod edit: above link no longer available.
File may still be available here: https://forum.xda-developers.com/showpost.php?p=69215130&postcount=682
v4.1.0 :
Advanced ApkTool v4.1.0 By BDFreak.rar
v4.0.0 :
Advanced ApkTool v4.0.0 By BDFreak.rar
v3.0.0 :
Advanced ApkTool v3.0.0 By BDFreak.rar
v2.0.0 :
Advanced ApkTool v2.0.0 By BDFreak.rar
v1.0.0 :
Advanced ApkTool v1.0.0 By BDFreak.rar
How To Use :
Extract the downloaded file anywhere in your pc
Double click on "Advanced ApkTool.exe" to start the tool
Copy your framework files to the "2-In" folder & also the apk files you want to decompile
Install Framework first (Install OEM specfic framework also)
Decompile apk, the decompiled folder can be found inside "3-Out" folder
After editing Recompile it, recompiled file should be found inside "4-Done" folder
If needed sign the recompiled file, it will replace the recompiled file inside "4-Done" folder
You can also zipalign the recompiled file, it will replace the recompiled file inside "4-Done" folder
You can wipe any folder easily by wipe folder option
You can find more in more menu option
Thanks To :
@Brut.alls for ApkTool
@iBotPeaches for ApkTool
@Ticklefish for Tickle My Android
XDA:DevDB Information
Advanced ApkTool, Tool/Utility for the Android General
Contributors
BDFreak
Version Information
Status: Stable
Current Stable Version: v4.2.0
Stable Release Date: 2016-02-10
Created 2014-02-07
Last Updated 2016-02-10
Screenshots
Screenshots :
v4.2.0 :
v4.1.0 :
v4.0.0 :
v3.0.0 :
v2.0.0 :
v1.0.0 :
Reserved
Yipeee
I was Having Bootloop problem for a Longtime. Didn't Find Anyway to Solve thiz Prob But Your Tool Save Me . Now I can Edit My framework-res.apk without any problem
Yipeee
Thnx BDFreak :good:
So now we can recompile framework without patching it first?
If that's true - I love you mate
Sent from my C6903 using Tapatalk
Noobkunj said:
I was Having Bootloop problem for a Longtime. Didn't Find Anyway to Solve thiz Prob But Your Tool Save Me . Now I can Edit My framework-res.apk without any problem
Yipeee
Thnx BDFreak :good:
Click to expand...
Click to collapse
You are welcome...
funky0308 said:
So now we can recompile framework without patching it first?
If that's true - I love you mate
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Yes, no need to patch your framework anymore...
Great mate
:good:
Amazing!
Finally no more dirty patching!
A click and go! Definitely made my day!
Awesome tool brother.... recompiled my framework and it didn't give any errors
Levered said:
Great mate
:good:
Click to expand...
Click to collapse
Ayush Singh said:
Amazing!
Finally no more dirty patching!
A click and go! Definitely made my day!
Click to expand...
Click to collapse
Aneel said:
Awesome tool brother.... recompiled my framework and it didn't give any errors
Click to expand...
Click to collapse
Good to hear such feedbacks...
Nice work mate.. :thumbup:
Sent from my C2104 using XDA Premium 4 mobile app
Perfect
A Cool and Small tool,perfect for those modded colorizable frameworks and saves bootloops :good:
A small request,to add jar modding support and a zipalign option.
a small clear all Out folder as well.Just suggesting
You just have made the whole apktool experience alot easier wow! keep giving us surprises with all the helps you are providing to this community
The work is done and the respect is achieved along with titles.. Great work.. Probably a very important one for the never dieing Xperia Devices..
Sent from my Nexus 5 using Tapatalk
Ghostfreak NB said:
Nice work mate.. :thumbup:
Sent from my C2104 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thank you...
Madaditya said:
A Cool and Small tool,perfect for those modded colorizable frameworks and saves bootloops :good:
A small request,to add jar modding support and a zipalign option.
a small clear all Out folder as well.Just suggesting
Click to expand...
Click to collapse
Will be added in next update, Thanks for the suggestions...
saqib nazm said:
You just have made the whole apktool experience alot easier wow! keep giving us surprises with all the helps you are providing to this community
Click to expand...
Click to collapse
All because of your inspiration...
vishal_android freak said:
The work is done and the respect is achieved along with titles.. Great work.. Probably a very important one for the never dieing Xperia Devices..
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You just made my day...
BDFreak said:
I made this tool specially for the owners of Sony Xperia devices.
Click to expand...
Click to collapse
You Sir, are the Man! :good:
Incredible!
Simply amazing!. It is easy, fast and simple, you're great!. Thank you.
@BDFreak - mate...
I know I said that already but really, you made my....not day but weekend
Finally I decompiled, MOD and recompiled framework in 15min...
Hat down master
Sent from my C6903 using Tapatalk
Well Done Bro.. U r the Pro Master
If there are any Z1 Compact users that have this working can you share your exact method please, as I'm still getting bootloops regardless of which files I use.

[HOW-TO]Flappy Mods | Make your own Flappy Bird!

{
"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"
}
Portal Post​
IMPORTANT :- My imbox is overflowing with PMs, please keep sending them but understand that I won't be able to reply immediately.
We all know FlappyBird that super irritating bird crashing into every obstacle it sees. Since FlappyDoge was released I am sure some of you decompiled that apk and snooped around a bit. I made this thread for the less advance users who haven't had the guts to do that! Think how cool it would be to show your friends your version of Flappy____ that has your face on it!
I've created some elements in Photoshop ( and attached the psd's ) so that you find editing the game even easier.
Here is an example I quickly did ( Really quickly ) :
Tutorial:
1. Decompile:
First off download the original FlappyBird Here
Then decompile it with this tutorial
Code:
C:\[B]Path to apktool[/B]>apktool d "Original FlappyBird.apk" workspace
2. Graphics:
Now we get to the actual modding, download my zip here. In there is a font folder, open that up and install the font.
Unzip then navigate to assets/gfx - This folder contains most of the Graphic elements of FlappyBird. ( The birds, Buttons, Score etc. )
In there is two files, a psd and png, open the atlas.psd in Photoshop and edit away, I categorized the parts already. Note:- If you don't have Photoshop, you can edit the png, it will be a little bit harder though.
Copy the "atlas.png" to the assets/gfx of the decompiled apk.
3. Splash:
In my Zip, navigate to drawable - Once again there is a psd and png file, edit as you like.
Copy the "splash.png" to /res/drawable of the decompiled apk.
4. Icon:
The folders: drawable-640dpi ; drawable-mdpi ; drawable-xhdpi ; drawable-xxhdpi contains different sizes of icons.
Edit them as you like, again there is psds and pngs. - You can easily change the color gradient in Photoshop!
Copy all the ic_launcher.png files to their corresponding folders in the decompiled apps /res directory.
5. App Name and Others:
In my Zip, navigate to /values in there is a strings.xml open it with your choice of advanced text editor ( e.g. Notepad++ ).
To change the app name, edit the following line:
Code:
<string name="app_name">Flappy Pulse</string>
Then copy the strings.xml to the decompiled apk's /res/values/ folder.
6. Recompile & Sign:
Again recompile using My guide.
Code:
C:\[B]Path to apktool[/B]>apktool b workspace Flappy[B]Example[/B].apk
Remember to sign your app otherwise it wont' install! - I always use Zipsigner
________________________________
That should do it! Hope you learned some things and had fun, enjoy raging at your own personalized Flappy_____
Thanks to @holabola for indirectly giving me the idea.
Reserved to showcase some Flappybird mods, mention me @PulseDroid if you want your mod here. Also feel free to request any mods.
NOTE:- Do NOT request a mod that removes the ads, that is seen as warez.
u can also do this without decompiling but then u wont change title of app
also i have made a version fully themed but
i wont post xD
is bit *#*#* my friends wanted i xD
Sent from my S500 using xda app-developers app
SpaceCaker said:
u can also do this without decompiling but then u wont change title of app
also i have made a version fully themed but
i wont post xD
is bit *#*#* my friends wanted i xD
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Yip, but whats a mod without changing the name
Also, the PSD's are remakes of the icon backgrounds and such so its' a bit easier.
Awesome job Glad to finally see a tutorial up. I think I may make a thread when I get home to host everyone's mods. Would anyone be interested in that?
Sent from my C6916 using XDA Premium 4 mobile app
Sent from my GT-N7100 using xda app-developers app
---------- Post added at 09:48 PM ---------- Previous post was at 09:34 PM ----------
you can also change the package name by editing the Android Manifest.xml file and the apktool.yml file
can i request flappy bird mods here?
killoid said:
can i request flappy bird mods here?
Click to expand...
Click to collapse
Sure go for it.
PulseDroid said:
Sure go for it.
Click to expand...
Click to collapse
thanks. can i have it without ads & sounds? cause the sound is so annoying.& can you make the score not to show while playing? it makes me nervous. all other is okk.
@Pulse when i converted mp3 to .ogg
for use as sound in assets folder it fcdhe apk
ofcourse we need root to logcat on 4.1+ devices nowadays so i couldnt logcat.
but have u managed to change sounds and such?
Sent from my S500 using xda app-developers app
SpaceCaker said:
@Pulse when i converted mp3 to .ogg
for use as sound in assets folder it fcdhe apk
ofcourse we need root to logcat on 4.1+ devices nowadays so i couldnt logcat.
but have u managed to change sounds and such?
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Yes, in the smali there is entries referring to the ogg sound files, use normal mp3 files and refer to them in the smali.
Can't remember path exactly will check tomorrow and add it to the thread.
If you don't have Photoshop you can use Krita or GIMP. They can open most PSD files perfectly and they are both free
Anyway thanks for the file, I think it is easier to edit
nastys said:
If you don't have Photoshop you can use Krita or GIMP. They can open most PSD files perfectly and they are both free
Anyway thanks for the file, I think it is easier to edit
Click to expand...
Click to collapse
I myself use Gimp 2.8 with a Photoshop CS6 theme, Photoshop shortcuts, Single-Window mode and the Photoshop Plugin Installer. With all of that it is far superior to Photoshop in terms of usefulness and size.
I'm working on a mod now. @PulseDroid do you mind if we put up the modified .apk files here?
EDIT: Lol, I completely forgot about the second post.
This is interesting, kinda seems like cheating
How do I remove the ads from the APK?
albwh said:
How do I remove the ads from the APK?
Click to expand...
Click to collapse
that would probably be a violation of some sort...
Virtuous Ten Studio is easier to use! You should have a guide for that
albwh said:
How do I remove the ads from the APK?
Click to expand...
Click to collapse
That is usually seen as warez. Although I don't know how it works after the app is taken down from the app store.
@jerbear294 @nastys
Hey guys, I don't know much about GIMP so bear with me. If you open up a PSD does it also show the rulers? Could you maybe provide me a screenshot of how it looks when you open my PSD?
PulseDroid said:
Code:
C:\[B]Path to apktool[/B]>apktool d Original FlappyBird.apk workspace
Click to expand...
Click to collapse
in case someone decides to copy paste blindly like me. Its supposed to be
Code:
apktool d "Original FlappyBird.apk" workspace
DIII said:
in case someone decides to copy paste blindly like me. Its supposed to be
Code:
apktool d "Original FlappyBird.apk" workspace
Click to expand...
Click to collapse
Oops yip, I usually remove the spaces from the names before decompiling. - Will fix OP.

Categories

Resources