[APKTOOL ICS + JB] [Works wonders] [UPDATED] - Galaxy S III Android Development

Check the read me inside the file.
Automatically grabs framework-res.apk for you and has some tips for folder organisation while working.
Let me know how this works for you.
If you're using the old version delete it entirely and use this one. Don't forget to update your framework files if you move to Jelly Bean development.
New Version:
{
"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"
}
Kryten2k35 Apktoolv3
http://www.alpha-techs.co.uk/files/matt/mods/apktool/apktoolv3.zip
Old Version - Possible errors. Don't use!
http://www.alpha-techs.co.uk/files/matt/mods/apktool/apktoolv2.rar
http://www.alpha-techs.co.uk/files/matt/mods/apktool/apktool.rar

uhm this has been working for ages like this

Thanks for the share.. works great.

Yep I need this as well thanks
Sent from my GT-I9300 using xda premium

Robbie Hood said:
uhm this has been working for ages like this
Click to expand...
Click to collapse
I tried afair few and many wouldn't work or threw up errors. Some wouldn't decompile with the classes.dex in there (meaning you couldn't get to the smali files).
I'd been looking around for ages and stumbled upon this. Credit really does go to whoever I downloaded it from initially but I have no idea who it is! The Read_Me.txt is my own!

Thread updated. Please delete the old version if you got that one.

how i can solve ?

great share!thank you so much for the great job.

sarperkaya said:
how i can solve ?
Click to expand...
Click to collapse
Looks like something you changed isn't compiling?
You should run it like the commands in the Read_Me because java -jar apktool.jar aren't the commands I tested with. The apktool.bat does things different to that was well
Try this:
Hold shift and right click in that folder. Choose "Open command window from here" and type apktool b secsettings new/SecSettings.apk
That will put your built apk in a folder called "new". Though I really do prefer the way I laid out there.

Kryten2k35 said:
Looks like something you changed isn't compiling?
You should run it like the commands in the Read_Me because java -jar apktool.jar aren't the commands I tested with. The apktool.bat does things different to that was well
Try this:
Hold shift and right click in that folder. Choose "Open command window from here" and type apktool b secsettings new/SecSettings.apk
That will put your built apk in a folder called "new". Though I really do prefer the way I laid out there.
Click to expand...
Click to collapse
thanks but didnt work

Kryten2k35 said:
I tried afair few and many wouldn't work or threw up errors. Some wouldn't decompile with the classes.dex in there (meaning you couldn't get to the smali files).
I'd been looking around for ages and stumbled upon this. Credit really does go to whoever I downloaded it from initially but I have no idea who it is! The Read_Me.txt is my own!
Click to expand...
Click to collapse
Ah ok might be because we have our own compiled apktool at alliance and maybe this is it
I cant remember for how long i have been using apktool to decompile classes.dex.
Not sure if this is ours , but good job in sharing for the masses here

sarperkaya said:
thanks but didnt work
Click to expand...
Click to collapse
Try swapping the compile and decompile around, then? I had to do that earlier for some reason.
When I've got used to debugging I'll be able to help more!
Sent from my GT-I9300 using xda premium

It's the 1.4.2 and 1.4.4 versions of apktool I've added some more to the .rar though, some automation for example! There is a "how to decompile" pages on here I got some info from.
I'm still learning this stuff though. If you know any good resources and some reading material I'd be super grateful!
Sent from my GT-I9300 using xda premium

Kryten2k35 said:
It's the 1.4.2 and 1.4.4 versions of apktool I've added some more to the .rar though, some automation for example! There is a "how to decompile" pages on here I got some info from.
I'm still learning this stuff though. If you know any good resources and some reading material I'd be super grateful!
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
What kind of info are u lookin for mate ?
---------- Post added at 03:50 AM ---------- Previous post was at 03:47 AM ----------
http://db.tt/wo1XSzuf
Here is our alliance apktool compiled by ficeto. Not sure if it differs from what u have gathered but we have been using this since release of ics and like i said cant remember the last time i needed to take classes.dex out an apk for decompiling.

Robbie Hood said:
What kind of info are u lookin for mate ?
---------- Post added at 03:50 AM ---------- Previous post was at 03:47 AM ----------
http://db.tt/wo1XSzuf
Here is our alliance apktool compiled by ficeto. Not sure if it differs from what u have gathered but we have been using this since release of ics and like i said cant remember the last time i needed to take classes.dex out an apk for decompiling.
Click to expand...
Click to collapse
Anything to help me on my way, understanding the XML documents and themeing in general. Then I'll want to move onto programming properly, maybe even writing a few apps! I'll start with theming and the XML docs though!

Kryten2k35 said:
Anything to help me on my way, understanding the XML documents and themeing in general. Then I'll want to move onto programming properly, maybe even writing a few apps! I'll start with theming and the XML docs though!
Click to expand...
Click to collapse
I think you can find enough documentation about theming here on xda.
The xmls are quite logical if u take your time to read .
Offcourse there is android open source project home page where u can find refferences on what all tags mean and do .
http://developer.android.com/
Http://source.android.com/
I wouldnt know where to start if u ask such a global question

No that's great! Cheers!
Sent from my GT-I9300 using xda premium

Not working properly

manikant_009 said:
Not working properly
Click to expand...
Click to collapse
Any more information than that?

Updated to apktool 1.5 - No more swapping files!
Don't forget to update your framework files if you move to Jelly Bean development.

Related

Mod please lock this thread!

---------Mod could you please lock this thread?
----Taking up another project Still porting dialer so don't worry.
anyone know how to go about using the smali jar file? what's the syntax?
AndroidManifest in readable form http://pastebin.com/f460f3015 used AXMLPrinter2.jar Thanks jashu. Anyone know if i have to edit this? I've looked through it and am going to again. Try to compare this and androidmanifest in the regular phone.apk. Using cyanogen's phone.apk from his cupcake build as a base.
I've given up on this whole idea. Instead, I found that I can make aContacts look and function close enough to HTC Dialer:
{
"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"
}
edit: thanks, found the app in the market doh!
alritewhadeva said:
AndroidManifest in readable form http://pastebin.com/f460f3015 used AXMLPrinter2.jar Thanks jashu. Anyone know if i have to edit this? I've looked through it and am going to again. Try to compare this and androidmanifest in the regular phone.apk. Using cyanogen's phone.apk from his cupcake build as a base.
Click to expand...
Click to collapse
are you a programmer? i'm sure that this is very complex, do-able, but very complicated with all of the HTC stuff you have to port over...but the best of luck to you
njuncos said:
are you a programmer? i'm sure that this is very complex, do-able, but very complicated with all of the HTC stuff you have to port over...but the best of luck to you
Click to expand...
Click to collapse
bleh not really lol. Just a kid bored. Have some free time on my hands so might as well try it out right? Appreciate it if some people would help out though. Anyone?
Take a look at the rotary dialer code
http://bakhtiyor.com/2009/07/rotary-dialer/
delta_foxtrot2 said:
Take a look at the rotary dialer code
http://bakhtiyor.com/2009/07/rotary-dialer/
Click to expand...
Click to collapse
What's that for?
alritewhadeva said:
What's that for?
Click to expand...
Click to collapse
Basic dialer code, the rotary thing is more annoying than anything, but thought it might help speed up the coding process.
Chahk said:
I've given up on this whole idea. Instead, I found that I can make aContacts look and function close enough to HTC Dialer:
Click to expand...
Click to collapse
Is that a theme/setup you could share? Looks awesome.
alritewhadeva, what if you do something similar to Stericson, by using the tool that he did (which JF created). It's mentioned in the first post of this thread.
kockroach said:
Is that a theme/setup you could share? Looks awesome.
alritewhadeva, what if you do something similar to Stericson, by using the tool that he did (which JF created). It's mentioned in the first post of this thread.
Click to expand...
Click to collapse
Yup i'm using the same method. Baksmali (disassemble) the .dex file ,making edits and then smali (reassemble) the .dex file. Merging it with the .apk ,signing and installing. This is going to be a long long process as I'm not sure what smali files i have to edit. I also can't do this alone so guys please drop a helping hand. @delta_foxtrot ah i see thanks for that. Will look into it.
i never used the roger dialer etc
im more interested in the hero dialer and contacts....i love the facebook sync options. i think that may be included in the donut 2.0 being released at the end of the summer.
kockroach said:
Is that a theme/setup you could share? Looks awesome.
Click to expand...
Click to collapse
No special theme really, it's all in the app's preferences.
Change the Default View option to "List", check the "Display T9" option to sow the dialer when the app starts, and finally change the theme to "GrayBlack". The dialer's search functionality is very close to that of HTC's: it tries to match by phone number, and by name simultaneously. The only difference is that it doesn't highlight the selected letters in the name like the HTC Dialer does. Minor point if you ask me.
bigslanki said:
im more interested in the hero dialer and contacts....i love the facebook sync options. i think that may be included in the donut 2.0 being released at the end of the summer.
Click to expand...
Click to collapse
donut 2.0 is not being released at the end of the summer...Think how long it took cupcake 1.5 to be released. I could try the hero dialer but i don't have the necessary files...If someone could get a Phone.apk with classes.dex inside the apk from a hero build I would greatly appreciate it.
I used baksmali and i'm looking at all the different smali files and I'm completely confused lol ... maybe i should stick to Java/C#
alritewhadeva said:
donut 2.0 is not being released at the end of the summer...Think how long it took cupcake 1.5 to be released. I could try the hero dialer but i don't have the necessary files...If someone could get a Phone.apk with classes.dex inside the apk from a hero build I would greatly appreciate it.
Click to expand...
Click to collapse
aren't you running the Hero Build lol
just get it from the update.zip of your 2.7.1 hero build
johnnylicious said:
aren't you running the Hero Build lol
just get it from the update.zip of your 2.7.1 hero build
Click to expand...
Click to collapse
Doesnt work like that. I need a classes.dex file. Most the of the apks in hero are optimized with dexopt-wrapper ,creating an .odex file. In the creation of the .odex, it deletes the classes.dex in the apk
alritewhadeva said:
Doesnt work like that. I need a classes.dex file. Most the of the apks in hero are optimized with dexopt-wrapper ,creating an .odex file. In the creation of the .odex, it deletes the classes.dex in the apk
Click to expand...
Click to collapse
try downloading the original WWE Hero rom that Haykuro released on xda.
maybe that could have it.

[Req] Transparent statusbar for Jellybean

As Moresco.dt has sold his Xperia T i was wondering if there's a Dev who can make a transparent statusbar for the new Jellybean rom. The mod from Moresco.dt is for Ice Cream Sandwich and will (ofcourse) not work on Jellybean.
Hope someone can make this mod.
Thanks in advance !!
+1
Would be interested in it too
anybody can do this? i found a lot of tutorials but no one is working on JB, smali is completely diferent from ics.
Been learning for the past hours and couldnt decompile the systemui fully yet.
Wish to make the status bar and the navigation bar transparent.
Chatted with ticklefish and he said to use his tickle my android program, which i will do when i get home.
in the mean time, it would be great if someone else figures out the xml codes. Im still learning so i wont be able to get it right the first time ><
EDIT: Sorry, I've spent two days learning and trying to figure out this with a bunch of testing, no luck. Sorry guys
Can u send to me your framework-res.apk, SemcGenericUxpRes.apk and SystemUI.apk ?
I will try to mod..
Sent from my LT26i using xda premium
I've managed to get this Mod working. I've only just got the Xperia T and I'm struggling with packaging the Mod into a working flashable CWM zip. If someone could help me with that I'd be happy to share the Mod. PM me if you can help..
PM sent...
gregbradley said:
PM sent...
Click to expand...
Click to collapse
PM Sent back!! )
Rimmer1966 said:
PM Sent back!! )
Click to expand...
Click to collapse
Package sent, you just need to test it.
Right here waiting for the result. I hope you make it work :victory: I'm looking forward to seeing a zip which could be flash through CWM :victory:
Benjoy Ericsson said:
Right here waiting for the result. I hope you make it work :victory: I'm looking forward to seeing a zip which could be flash through CWM :victory:
Click to expand...
Click to collapse
Unfortunately its not mine to share, I have just packaged it up into a cmw zip. i will let him share it when he has tested it.
Here you go. Sorry for the delay, had trouble with the testing..
Transparent StatusBar CWM Zip..
It's only tested on Deodexed 0.1.A.0489 for the Xperia T. If you decide to try it on any other versions please don't blame me if it doesn't work.
I've no plans to create and maintain a seperate thread for this Mod. If you want to feel free to use or modify my code as you wish.
Enjoy.
Andy
Big thanks to GregBradley for the CWM zip. Although a missing quote had me pulling my hair out all weekend!! :laugh:
Rimmer1966 said:
Here you go. Sorry for the delay, had trouble with the testing..
Transparent StatusBar CWM Zip..
It's only tested on Deodexed 0.1.A.0489 for the Xperia T. If you decide to try it on any other versions please don't blame me if it doesn't work.
I've no plans to create and maintain a seperate thread for this Mod. If you want to feel free to use or modify my code as you wish.
Enjoy.
Andy
Big thanks to GregBradley for the CWM zip. Although a missing quote had me pulling my hair out all weekend!! :laugh:
Click to expand...
Click to collapse
would you mind telling me which files youve edited? just the edited ones, im not asking for any details of the codes.
thanks in advance
Rimmer1966 said:
Here you go. Sorry for the delay, had trouble with the testing..
Transparent StatusBar CWM Zip..
It's only tested on Deodexed 0.1.A.0489 for the Xperia T. If you decide to try it on any other versions please don't blame me if it doesn't work.
I've no plans to create and maintain a seperate thread for this Mod. If you want to feel free to use or modify my code as you wish.
Enjoy.
Andy
Big thanks to GregBradley for the CWM zip. Although a missing quote had me pulling my hair out all weekend!! :laugh:
Click to expand...
Click to collapse
Thank you very much.
Great find, I searched whole PhoneWindowManager and couldn't find it.
I am dumb - it's obvious (surface layer)
Thanks.
peetr_ said:
Thank you very much.
Great find, I searched whole PhoneWindowManager and couldn't find it.
Click to expand...
Click to collapse
would be great if peetr__ can combine this with your toggles. and maybe the small navi buttons. I guess the codes are in the same files.
There is specified surface layer for status and navi bar. I'll try to understand it more.
But this is Rimmers work, I am late. We can include it only with his permission.
It's only about PhoneWindowManager.smali, the rest stays the same like on ICS.
LitoNi said:
would you mind telling me which files youve edited? just the edited ones, im not asking for any details of the codes.
thanks in advance
Click to expand...
Click to collapse
Sure.
Decompile SystemUI.apk
Edit : res > values > drawables.xml
Edit : com > android > systemui > statusbar > phone > PhoneStatusBar.smali
Decompile android.policy.jar
Edit : com > android > internal > policy > impl > PhoneWindowManager.smali
Hope that helps?? Let me know if you need more info..
---------- Post added at 12:44 PM ---------- Previous post was at 12:42 PM ----------
peetr_ said:
There is specified surface layer for status and navi bar. I'll try to understand it more.
But this is Rimmers work, I am late. We can include it only with his permission.
It's only about PhoneWindowManager.smali, the rest stays the same like on ICS.
Click to expand...
Click to collapse
Feel free to use this Mod anyway you like..
Rimmer1966 said:
Big thanks to GregBradley for the CWM zip. Although a missing quote had me pulling my hair out all weekend!! :laugh:
Click to expand...
Click to collapse
Sorry, you should have PM'd me, I would have found it..., but just in case, here is another one "
would it be hard to also make 40-50% transparent ver?
little bit too transparent for me :/
{
"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"
}

PlayStore 5.0.31 decompiled and compiled Play Store files from EMSpilot

PlayStore 5.0.31 decompiled and compiled Play Store files from EMSpilot
Now you can decompile mod theme and compile. You must use APKTOOL RC2.
APKTOOL RC2 Get it here: http://forum.xda-developers.com/showthread.php?t=1755243
Enjoy!!
Download Here: PlayStore 5.0.31
Please don't forget to hit thanks!!!!
This fixed Play Store 5.0.31 APK works perfect with APKTOOL RC2 and the proper resources. You do not need to delete anything from values-v21/styles.xml or any other xml. If you are having to do this then you have a problem with your APKTOOL setup or resources!!!
Ok so I see that quit a few people are using the wrong resources aka framework-res.apk. So here is a zip of my entire RC2 setup with the proper framework-res.apk included. Make sure you type at the command prompt: apktool if framework-res.apk. then proceed.
Also make sure you are taking the APK from the dist folder in the zip to decompile.
Download: APKTOOL RC2 Setup
For those of you that are having problems with values-v21/styles.xml. Look for the following lines: There may be more but I am just explaining why you are having problems.
Line 46: <item name="android:findOnPageNextDrawable">@android:drawable/ic_find_next_holo_dark</item>
Line 50: <item name="android:findOnPageNextDrawable">@android:drawable/ic_find_next_holo_dark</item>
Line 159: <item name="android:textEditNewActionPopupShare">@android:drawable/ic_find_next_holo_dark</item>
What we see here is that APKTOOL is looking for the resource in framework-res.apk. All 3 are a drawable png "ic_find_next_holo_dark". If this is not present in the framework-res.apk you used with the "if Command". It won't work.
Please also thank djdarkknight96 for his contribution and help!
Amaign work to take the time to figure out all the issues and how to overcome them and make this available for us simple themers to do something with it..
My hat is tipped off to you sir!
That was fast! Great work EMSpilot. Many, many, are grateful.
@EMSpilot
Awesome tool and great work as usual Bill.
{
"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"
}
Getting all the same errors as before with values-v21
Phone_Guru said:
Getting all the same errors as before with values-v21
Click to expand...
Click to collapse
No Errors, you need ot use the Apktool RC2, linked in the OP, and this thing has no issue compiling.
Also, make sure you have at least Framework 4.4.2 or above loaded..
I am using RC2, have 4.4.2 frameworks and still compiling errors
Phone_Guru said:
I am using RC2, have 4.4.2 frameworks and still compiling errors
Click to expand...
Click to collapse
Please download OP's Market apk... If you down load that decompile it, and then recompile, should work out the box, many have been working on it all night with no issues.
OP only has the files, not the market app
Phone_Guru said:
OP only has the files, not the market app
Click to expand...
Click to collapse
It's what I meant, you might actually get some help if you post what errors you are seeing, instead of just comingin and saying doesn't work. I have been working on mine for last 8 hours. And You are not giving any real information. i have been trying to..
Your should say what you mean then. I can't decompile those like you said in your previous post. I have downloaded them, obviously, and have the original errors from styles.xml in the values - v21 folder as before the OP posted his files.
Phone_Guru said:
Your should say what you mean then. I can't decompile those like you said in your previous post. I have downloaded them, obviously, and have the original errors from styles.xml in the values - v21 folder as before the OP posted his files.
Click to expand...
Click to collapse
Sir, I have been very patience trying to guide you through and help you.. Sorry you dont feel I was helpful except to point out I should have asked.
I help tons fix their problems and theme. But I missed my mark on this one, happens, so I will let someone else try to figureout what you need and help you sir..
I respectfully bow out kind sir.
Gunthermic said:
Sir, I have been very patience trying to guide you through and help you.. Sorry you dont feel I was helpful except to point out I should have asked.
I help tons fix their problems and theme. But I missed my mark on this one, happens, so I will let someone else try to figureout what you need and help you sir..
I respectfully bow out kind sir.
Click to expand...
Click to collapse
Just in time too. I just sorted it out. I reinstalled the frameworks that I was using already which left me with only 4 lines to delete from the styles.xml in the values-v21 folder and then it compiled.
Thanks for helping.
PlayStore 5.0.31
Phone_Guru said:
Just in time too. I just sorted it out. I reinstalled the frameworks that I was using already which left me with only 4 lines to delete from the styles.xml in the values-v21 folder and then it compiled.
Thanks for helping.
Click to expand...
Click to collapse
Glad you were able to work your problems out. If you use the proper APKTOOL RC2 setup and resources you do not need to modify or delete any lines in any xml files. This fixed Play Store 5.0.31 APK in this OP works Perfect as is.
Awesome, thanks buddy.
EMSpilot said:
PlayStore 5.0.31 decompiled and compiled Play Store files from EMSpilot
Now you can decompile mod theme and compile. You must use APKTOOL RC2.
APKTOOL RC2 Get it here: http://forum.xda-developers.com/showthread.php?t=1755243
Enjoy!!
Download Here: PlayStore 5.0.31
Please don't forget to hit thanks!!!!
This fixed Play Store 5.0.31 APK works perfect with APKTOOL RC2 and the proper resources. You do not need to delete anything from values-v21/styles.xml or any other xml. If you are having to do this then you have a problem with your APKTOOL setup or resources!!!
Please also thank djdarkknight96 for his contribution and help!
Click to expand...
Click to collapse
bless your heart
@EMSpilot, would you mind sharing the specifics of what you did to achieve this? did you modify apktool source?
APKTOOL source
dankoman said:
@EMSpilot, would you mind sharing the specifics of what you did to achieve this? did you modify apktool source?
Click to expand...
Click to collapse
No I did not modify APKTOOL source. I used APKTOOL RC2 as mentioned in the OP. If you decompile my PlayStore 5.0.31 and Google's stock PlayStore 5.0.31 you can use WinMerge or Beyond Compare to see my changes.
EMSpilot said:
No I did not modify APKTOOL source. I used APKTOOL RC2 as mentioned in the OP. If you decompile my PlayStore 5.0.31 and Google's stock PlayStore 5.0.31 you can use WinMerge or Beyond Compare to see my changes.
Click to expand...
Click to collapse
Well I'm using CM11 framework and the correct aapt and on building its giving me attr errors in v21 folder. I know I'm doing it right but might need a different framework I assume.
Thoughts?
resourcers
djdarkknight96 said:
Well I'm using CM11 framework and the correct aapt and on building its giving me attr errors in v21 folder. I know I'm doing it right but might need a different framework I assume.
Thoughts?
Click to expand...
Click to collapse
Yes it will only work with the proper resources aka framework-res.apk. Here is a link to my entire RC2 Setup with the proper framework-res.apk.
APKTOOL RC2 Setup

[Guide / LP 5.1.1] Decompile and recompile your apk (Windows) (Update 10/09)

1) Use Advanced ApkTool v4.1.0 and install it on your computer,
2) Download apktool v2.0.1 and rename it apktool.jar,
2) Replace the old apktool.jar by the new one in 1-BDfreak,
3) Launch Advanced ApkTool, install the framework, decompile your apk, do your modifications, recompile with sign and zipalign,
4) Open your new apk (with winrar for instance) and replace the META-INF folder and androidmanifest.xml by the ones of your old apk.
That's all
thanks..can you tell me what zipalign means and does? because previously i was just doing recompile and sign and i wasnt getting any problems
arismelachrinos said:
thanks..can you tell me what zipalign means and does? because previously i was just doing recompile and sign and i wasnt getting any problems
Click to expand...
Click to collapse
Just google it
zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions. The benefit is a reduction in the amount of RAM consumed when running the application.
Nice guide bro. Btwn signing and zip align is not necessary..
Brothers
Tray AWESOME tool @Ticklefish
Tickle My Android 10.2 - The Best Android Theming Tool...EVER!! by
Its sign app without any problems
I have used this method, but soon as you copy from the original application AndroidManifest.xml that some values do not work. This also limits the modification miozliwosci app
Better use apktool v2.0.0 SnapShot
@Ticklefish again thanks YOU ARE AWESOME
Ambor said:
Brothers
Tray AWESOME tool @Ticklefish
Tickle My Android 10.2 - The Best Android Theming Tool...EVER!! by
Click to expand...
Click to collapse
Thanks bro, I'll try it !!
Yes @Ambor bro.. Just now tried @Ticklefish 's tool with Lolipop.. Its awsom... Loving it..
Everything OK but can't decompile my themes with any of this softwares. I installed framework from my z2's new 5.1.1 still can't decompile. Any solution
Toxizen said:
Everything OK but can't decompile my themes with any of this softwares. I installed framework from my z2's new 5.1.1 still can't decompile. Any solution
Click to expand...
Click to collapse
Are you getting any errors?
Sent from my D5803 using Tapatalk
Ticklefish said:
Are you getting any errors?
Sent from my D5803 using Tapatalk
Click to expand...
Click to collapse
Yes and I also get error while signing too. error 26 or something
Toxizen said:
Yes and I also get error while signing too. error 26 or something
Click to expand...
Click to collapse
If you can share those errors, it'll help solve what the problem is.
Error
Ticklefish said:
If you can share those errors, it'll help solve what the problem is.
Click to expand...
Click to collapse
Sorry for my late reply . I wasn't at home .
{
"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"
}
Toxizen said:
Sorry for my late reply . I wasn't at home .
Click to expand...
Click to collapse
Did you install SemcGenericUxpRes.apk?
Ticklefish said:
Did you install SemcGenericUxpRes.apk?
Click to expand...
Click to collapse
Yes I did everything. But same problem with my themes. But it managed to decompile my Systemui.apk. So I am thinking it might be the problem with my apk file only so I provide it here. Test and let me know why this is happening please.
But nice tool u made.
https://drive.google.com/file/d/0B4TWfrb9-m18anlOT1UtdmlzamM/view?usp=docslist_api
Toxizen said:
Yes I did everything. But same problem with my themes. But it managed to decompile my Systemui.apk. So I am thinking it might be the problem with my apk file only so I provide it here. Test and let me know why this is happening please.
But nice tool u made.
https://drive.google.com/file/d/0B4TWfrb9-m18anlOT1UtdmlzamM/view?usp=docslist_api
Click to expand...
Click to collapse
Oh, you used TMA! I didn't spot it...
I'm having the same problem decompiling your file. Looks like there's a resource that can't be decoded. Sorry about that.
Update 10/09
OP updated for 5.1.1.
nreuge said:
OP updated for 5.1.1.
Click to expand...
Click to collapse
Well i have found TMA is better and amazing.. There is no need to replace anything in apks after recompile. Just recompile apk with same sign option in TMA. Lot of awsom options available in TMA. You should try that mate.. A big thanks to @Ticklefish ma broooooo
Rajeev said:
Well i have found TMA is better and amazing.. There is no need to replace anything in apks after recompile. Just recompile apk with same sign option in TMA. Lot of awsom options available in TMA. You should try that mate.. A big thanks to @Ticklefish ma broooooo
Click to expand...
Click to collapse
Ok my friend, good to know that. I'll try
Thanks !!

APKTOOL scripts for Windows (updated)

{
"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"
}
So, I figured I would share something that I made along with the help of another developer friend @dwitherell
You must have apktool setup in the Windows path to run from anywhere
How it works:
unzip files
copy the scripts folder to the root of c:\
double click compile.reg and decompile.reg, this will add the entries to the registry
You can decompile and compile up to 10 at once. Not sure why its limited to 10.
This is tested working on Windows 10. Please let me know if it works for other versions as I will add that to the description.
Please do NOT ask how to setup apktool, you need to already know that much.
whats included in the zip...
compile.reg
decompile.reg
Maximum level of decompiling raised (V2)
scripts folder containing both .bat files
Download it here
Download V2 with raised level of decompiling here
Now to use it:
On an apk, right click and you will see a new option called Decompile. Select that, then it will decompile it in the folder you currently are
On an already decompiled apk folder, right click and Compile option will appear. Select that and it will compile the apk
Maxed_Apktool.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"MultipleInvokePromptMinimum"=dword:00000999
thanks @Licaon_Kter for the addition.
decompile.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Run script]
@="Run &script"
[HKEY_CLASSES_ROOT\*\shell\Decompile\command]
@="\"C:\\scripts\\decompile2.bat\" \"%1\""
decompile2.bat
Code:
@echo off
set args=%*
setlocal enableDelayedExpansion
set "cmd=!cmdcmdline!"
set "cmd2=!cmd:*%~f0=!"
set "args=!cmd2:~0,-1! "
set "args=!args:* =!"
for %%F in (!args!) do (
if "!!"=="" endlocal
apktool.bat d -f "%%~F"
)
PAUSE
compile.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Run script]
@="Run &script"
[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Compile\command]
@="\"C:\\scripts\\compile.bat\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\Compile\command]
@="\"C:\\scripts\\compile.bat\" \"%1\""
compile.bat
Code:
@echo off
set args=%*
setlocal enableDelayedExpansion
set "cmd=!cmdcmdline!"
set "cmd2=!cmd:*%~f0=!"
set "args=!cmd2:~0,-1! "
set "args=!args:* =!"
for %%F in (!args!) do (
if "!!"=="" endlocal
apktool.bat b -f "%%~F"
)
PAUSE
Awesome I'll have to try this later ?
Great thank you!
Amazing work! Can I recompile an apk which hasnt been decompiled with this method? I've the folder so I can recompile?
I got it set up and running last night, works great! Makes things easier and faster. Just make sure you have apktool up and running correctly first.
DOWNLOADING for further test.. i'll report back later
thanks..
Has.007 said:
Amazing work! Can I recompile an apk which hasnt been decompiled with this method? I've the folder so I can recompile?
Click to expand...
Click to collapse
No, it has to be decompiled to recompile it again.
What is the newest version of APKtool? I found 2.2.2 on the site, but it seems to have issues with the Nougat files for my LG V20.
I've used it on Windows 10 and Ubuntu, same results.
NotATreoFan said:
What is the newest version of APKtool? I found 2.2.2 on the site, but it seems to have issues with the Nougat files for my LG V20.
I've used it on Windows 10 and Ubuntu, same results.
Click to expand...
Click to collapse
https://www.dropbox.com/s/rtv489v0gkfp0y9/apktool2.zip?dl=0
Try that one. It says dirty, but that hasn't affected anything. I got that from somewhere when the v20 first came out.
And its what i am using for my v20 work. So i know that one will work.
cbucz24 said:
https://www.dropbox.com/s/rtv489v0gkfp0y9/apktool2.zip?dl=0
Try that one. It says dirty, but that hasn't affected anything. I got that from somewhere when the v20 first came out.
And its what i am using for my v20 work. So i know that one will work.
Click to expand...
Click to collapse
Thanks! Have you done anything with SystemUI? I ran into issues after modifying it for 3Minit support.
NotATreoFan said:
Thanks! Have you done anything with SystemUI? I ran into issues after modifying it for 3Minit support.
Click to expand...
Click to collapse
I haven't rooted. I ran into some issues so i gave up.
I havent tried any mods.
cbucz24 said:
I haven't rooted. I ran into some issues so i gave up.
I havent tried any mods.
Click to expand...
Click to collapse
Oh OK. I'll give yours a shot and see if it works.
NotATreoFan said:
Oh OK. I'll give yours a shot and see if it works.
Click to expand...
Click to collapse
Ok let me know if you have any issues. I'll try an help
cbucz24 said:
[*]You can decompile and compile up to 10 at once. Not sure why its limited to 10.
Click to expand...
Click to collapse
Try this: https://support.microsoft.com/en-us...hortened-when-more-than-15-files-are-selected and put 999
Licaon_Kter said:
Try this: https://support.microsoft.com/en-us...hortened-when-more-than-15-files-are-selected and put 999
Click to expand...
Click to collapse
Good find. Ill try that and see what happens.
According to the link it should be 15 not 10. I'm not at my pc now to test it.
But it says if you change it to 16, that's Microsoft's unlimited amount.
Maybe i can incorporate that into my registry mods.
Hi all, if this can decompile and re compile, can i change or modify a camera app to support 1440x2560 for lg g3 ? It currently only display well in 1080x1920, so i have to downgrade my display setting. Can someone be kind enough to direct me to which files or folder to begin with and do i have to create or modify some xml code ? Thanks
Jason Looi said:
Hi all, if this can decompile and re compile, can i change or modify a camera app to support 1440x2560 for lg g3 ? It currently only display well in 1080x1920, so i have to downgrade my display setting. Can someone be kind enough to direct me to which files or folder to begin with and do i have to create or modify some xml code ? Thanks
Click to expand...
Click to collapse
You're going to have to search for some camera mods. This can decompile the apk sure. But I've never edited the camera.
Thanks, nice tool.
cbucz24 said:
You're going to have to search for some camera mods. This can decompile the apk sure. But I've never edited the camera.
Click to expand...
Click to collapse
thanks man appreciated it..
cbucz24 said:
Ok let me know if you have any issues. I'll try an help
Click to expand...
Click to collapse
Would you mind taking a look at these decompiled SystemUI APKs? I can compile the US_LG one fine, and also the TMO one. But the ATT one tells me there's missing resources, but all the edits made and files added are identical.

Categories

Resources