[HOW TO] Manuals for creating a theme - Android Themes

First of all I'm not much of a teacher myself and coming from a background in windows mobile I found "messing around" with the android system very alien.
After only a couple of days of reading and re-reading posts about "how to cook" ect I now find the whole "messing around" very very easy, however I would be the first to say how crap I am at art.
So I would like to share here all the posts that got me to this point with the hope some of you budding artist can come along for the ride.
Remember the golden rule .... BACKUP before you start flashing zip's on your phone that way if you get a boot loop or something you can start again.
Mikey1022 brilliant instruction http://forum.xda-developers.com/showthread.php?t=471586
Lox_Dev's How to cook (useful to know how a rom is built) http://forum.xda-developers.com/showthread.php?t=551711
Dont worry about using the signer with windows 7 I dont seem to have any problem if I type the following in cmd to sign your files: java testsign whateverfiletosign
Here are the 3 main zip's that contain most of the art work for anyone to have a play http://www.4shared.com/file/141678208/4d31faa3/Skinning_Kit.html
On that note I look forward to seeing lots of new theme's in the coming few weeks
I've added these screenshots to hopefully help people to point in the right direction
{
"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"
}

thanks man

Ahh. This looks useful. I had some ideas that I wanted to play with, but as you said it looks alien! Not like my old SE!

Thanks for this - just had a look at the skinning kit and it looks like a serious Mammoth task skinning Android though....there's soo many images....
Though i've had a few ideas looking through them...
Cheers
Paul

ratcom said:
Here are the 3 main zip's that contain most of the art work for anyone to have a play
Click to expand...
Click to collapse
Oh and there are four in the file

Dude where did you find the empty update.zip?
Regards

Mikeytjee said:
Dude where did you find the empty update.zip?
Regards
Click to expand...
Click to collapse
I cannot remember ... but here it is if you need it http://www.4shared.com/file/148393597/a467a7fe/update_empty.html

ratcom said:
I cannot remember ... but here it is if you need it http://www.4shared.com/file/148393597/a467a7fe/update_empty.html
Click to expand...
Click to collapse
Nice and quick reaction!
Thnx Ratcom, im updating the Brushed metal theme right now !

Mikeytjee said:
Nice and quick reaction!
Thnx Ratcom, im updating the Brushed metal theme right now !
Click to expand...
Click to collapse
Great! Looking forward to it!

@ratcom
When i try to sign the file cmd gives me a error:
Exeption in thread "main" java.lang.NoClassDefFoundError: testsign
Click to expand...
Click to collapse

Mikeytjee said:
@ratcom
When i try to sign the file cmd gives me a error:
Click to expand...
Click to collapse
run a dos box (CMD BOX)
Then type
echo %CLASSPATH%
what does it return (say)

C:\Program Files\Quicktime\QTsystem\QTjava.zip :S:S:S

Mikeytjee said:
C:\Program Files\Quicktime\QTsystem\QTjava.zip :S:S:S
Click to expand...
Click to collapse
I think i fiexed it bro, i ran the autosign.bat than i selected option 2 which was to change the classpath now when i type java testsign phone.apk
it doesnt give a error !

Mikeytjee said:
C:\Program Files\Quicktime\QTsystem\QTjava.zip :S:S:S
Click to expand...
Click to collapse
Mine say's
C:\anndroid-sdk-windows-1.5_r3\tools\testsign.jar
have you done this....
right click on My Computer click properties,
then choose the tab that says advanced. Click the button that says environmental variables.
Go to system variables find the one that says CLASSPATH, double click it, go to the end of variable value.
There should be a semicolon ; at the end. type in the path to the testsign.jar located in the tools directory of your SDK,
for example the path to my testsign.jar was c:\sdk\android-sdk-windows-1.0_r1\tools\testsign.jar
If CLASSPATH is not in your system variables then create it. Secondly, Find the system variable called PATH and add to the end of it, the full path to your sdk directory.

Mikeytjee said:
I think i fiexed it bro, i ran the autosign.bat than i selected option 2 which was to change the classpath now when i type java testsign phone.apk
it doesnt give a error !
Click to expand...
Click to collapse
cool! looks like you done it!

yeaah it worked! i flashed it and it worked! now i know what to edit and stuff ! thnx!

Mikeytjee said:
yeaah it worked! i flashed it and it worked! now i know what to edit and stuff ! thnx!
Click to expand...
Click to collapse
GREAT
I look forward to seeing your work!

Uhm the download links to testsign.apk are gone could anyone re-upload them for me? And one more reqeust a bit more information and more steps? I still dont fully get it

hello all and happy new year!
What is the procedure to sign a file or a folder inside an OS X.
I get he following:
my-imac:tools geovass$ java testsign framework-res.apk
Exception in thread "main" java.lang.NoClassDefFoundError: testsign
Caused by: java.lang.ClassNotFoundException: testsign
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
i run the above on my SDK/Tools folder.

I second the wish for a new droid with the "hard keyboard"- just hard to imagine having the "virtual" keyboard on its own- Chris

Related

[THEME] eViL Lockscreen Port!

After converting from G1 to Hero I am amazed by the lack of themes for hero, I would of though there be at least colour changes??
Anyway after giving myself a crash course on package stripping building and signing I've come up with this
{
"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"
}
None of work was mine, I just re-packaged it to run on Hero's Custom ROM's.
Download Modaco 2.2 to 2.8 version here >>http://www.4shared.com/file/137484516/5a864521/update.html
Will it run on other ROMs, do you need root?
Yep you will need root I'm afraid. It should work on both 2.2 & 2.3 MoDaCo's rom
How does this fit in with music player? As that curves around the curved bar...?
nicelad_uk said:
How does this fit in with music player? As that curves around the curved bar...?
Click to expand...
Click to collapse
Works fine
I've just tested it on my updated Orange hero...seems to be working fine at the moment and no problems..........but does anyone know if this isn't safe to do (cause some future problems)? Should I not use it and revert back because I dont have the modaco rom installed?
should honestly be fine
It looks awsome thank you!
Tried this with the stock RUU EU Rom and it worked fine.
Wondering about the transparent background that Evil uses, is that just a Transparent image i could make in photoshop or is there much more to it?
ratcom said:
After converting from G1 to Hero I am amazed by the lack of themes for hero, I would of though there be at least colour changes??
Anyway after giving myself a crash course on package stripping building and signing I've come up with this
None of work was mine, I just re-packaged it to run on 2.2 MoDaCo Custom ROM.
You will need to push this onto your phone for it to work (make sure you are in recovery mode BEFORE pushing)
I used these commands......
Code:
adb shell mount /system
adb push c:\com.htc.resources.apk /system/framework
Once I know how I will make this into update.zip for ease
http://www.megaupload.com/?d=DU4RNF8N
Click to expand...
Click to collapse
can you please explain step by step how you did that? i know there are instructions on these forum, but they do not work for me (especially i would like to know, how you signed the apk again?)
Nice one mate and great to see you here on Hero!
Sorry double posted from my Hero!
felikz said:
can you please explain step by step how you did that? i know there are instructions on these forum, but they do not work for me (especially i would like to know, how you signed the apk again?)
Click to expand...
Click to collapse
I found these instruction here http://forum.xda-developers.com/showthread.php?t=467639
Before using this you need to know how to set this up:
I will assume that you have the sdk downloaded and extracted somewhere(if not, do that now), extract both files to the tools directory of your sdk.
Now you will need to add the tools dir of your sdk to the environment variable CLASSPATH.(seem to work with windows 7)
To do this, right click on My Computer click properties, then choose the tab that says advanced. Click the button that says environmental variables. Go to system variables find the one that says CLASSPATH, double click it, go to the end of variable value. There should be a semicolon ; at the end. type in the path to the testsign.jar located in the tools directory of your SDK, for example the path to my testsign.jar was c:\sdk\android-sdk-windows-1.0_r1\tools\testsign.jar If CLASSPATH is not in your system variables then create it. Secondly, Find the system variable called PATH and add to the end of it, the full path to your sdk directory. For example, mine was c:\sdk\android-sdk-windows-1.0_r2\tools
Now right click the reg file that you extracted and choose to install it, or merge.
Now, right click an apk, do you see an option that says ResignApk? That's how you will resign your .apks and .zips.
If you find the right click menu not working for some reason you can type the following in cmd to sign your files: java testsign whateverfiletosign
Now through doing this you have done two things, first off you have made the resigning process extremely easy, secondly you will not have to cd to the tools dir of the sdk to use adb or any other tool in the sdk.
Click to expand...
Click to collapse
Does this just install now with the custom bootloader? ie, click on update.zip and it will do the rest?
yes
Fantastic, looks great. Got any more?
Is there a way of theming the main UI ?
Got this on and its perfect so I put it on my brothers, he's not too keen. How do we revert back to the default lockscreen?
nicelad_uk said:
Got this on and its perfect so I put it on my brothers, he's not too keen. How do we revert back to the default lockscreen?
Click to expand...
Click to collapse
There you go mate
http://www.4shared.com/file/138265831/d9916ba3/update_-orginal.html
Is there a way to remove the dark transparent curve on the music player and also the dark transparent box that covers the lower part of the screen when you get a message or touch the screen? That would make this already great mod perfect
Thanks
That's pretty cool.

**Drizzys Lockscreen Port** Updated for 2.9

Clear Lock Screen Only
{
"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"
}
http://www.4shared.com/file/146988942/737c22d2/clearlockscreen29.html
Enjoy
Oh my... Where to get the wallpaper only?
The wallpaper can be found here. Not lockscreen resolution though.
By the way thanks a lot ratcom.
Sweet!
Cheers bro, keep up the good work!
is it somehow possible to have also a own backgroud image (set through settings)?
just use whatever wallpaper you want. This update is for the lockscreen icon not the wallpaper!
help
thanks for your work.
can you explain how to do that?
which file to edit? and how to make it an update file?
good day!
Brilliant, thanx for putting these together.
Would it be possible to remove the transparent box at the bottom of the screen when u touch it or recieve notification? The one that the slide down to unlock txt is on.
i love this lockscreen but im with djmace 100%, if you can remove the darker transparent box that appears when you get a text or if you touch the screen it would be absoulutly perfect
please please please
ypyp said:
thanks for your work.
can you explain how to do that?
which file to edit? and how to make it an update file?
good day!
Click to expand...
Click to collapse
I would be very interested in this also!
Thanks man!
I unpacked the update to see how this worked and in the lockscreen folders, the graphics have all been blanked out apart from lockscreen_prompt_back.png.
I'm guessing if you made this one blank as well the transparent box would become clear too. I'd test it but need to learn how to sign apk files again first.
Can u confirm ratcom? Good work anyway!
sounds like you're onto something, can someone please try this as I havent the foggiest idea where to even start trying
I'l love you forever
pookie1 said:
I unpacked the update to see how this worked and in the lockscreen folders, the graphics have all been blanked out apart from lockscreen_prompt_back.png.
I'm guessing if you made this one blank as well the transparent box would become clear too. I'd test it but need to learn how to sign apk files again first.
Can u confirm ratcom? Good work anyway!
Click to expand...
Click to collapse
this was posted by ratcom as to how ti sign the apk's again
I found these instruction here http://forum.xda-developers.com/showthread.php?t=467639
Quote:
Before using this you need to know how to set this up:
I will assume that you have the sdk downloaded and extracted somewhere(if not, do that now), extract both files to the tools directory of your sdk.
Now you will need to add the tools dir of your sdk to the environment variable CLASSPATH.(seem to work with windows 7)
To do this, right click on My Computer click properties, then choose the tab that says advanced. Click the button that says environmental variables. Go to system variables find the one that says CLASSPATH, double click it, go to the end of variable value. There should be a semicolon ; at the end. type in the path to the testsign.jar located in the tools directory of your SDK, for example the path to my testsign.jar was c:\sdk\android-sdk-windows-1.0_r1\tools\testsign.jar If CLASSPATH is not in your system variables then create it. Secondly, Find the system variable called PATH and add to the end of it, the full path to your sdk directory. For example, mine was c:\sdk\android-sdk-windows-1.0_r2\tools
Now right click the reg file that you extracted and choose to install it, or merge.
Now, right click an apk, do you see an option that says ResignApk? That's how you will resign your .apks and .zips.
If you find the right click menu not working for some reason you can type the following in cmd to sign your files: java testsign whateverfiletosign
Now through doing this you have done two things, first off you have made the resigning process extremely easy, secondly you will not have to cd to the tools dir of the sdk to use adb or any other tool in the sdk.
does anyone that knows what they're doing fancy giving this ago?
Il try when i get home but dont count on me
Thanks for that djmace.
I will test my theory asap, hopefully will have some time to try this afternoon.
pookie1 said:
Thanks for that djmace.
I will test my theory asap, hopefully will have some time to try this afternoon.
Click to expand...
Click to collapse
I tried last nite but they failed to work. Then this morning I took another look and think that i have found my problem. I copied and pasted the file path from above as my classpath, however i have the 1.5 sdk so therefore need to change that. Won't get chance till I tonite though.
Nice one, cant wait for this, good luck!
Ok I managed to make the changes I wanted, but that file I mentioned is not the one responsible for the transparent block. I'll see if I there is anything else that might be causing it, but nothing jumps out after a quick glance over the files.
But at least I learned a lot
pookie1 said:
Ok I managed to make the changes I wanted, but that file I mentioned is not the one responsible for the transparent block. I'll see if I there is anything else that might be causing it, but nothing jumps out after a quick glance over the files.
But at least I learned a lot
Click to expand...
Click to collapse
Agh poooo!!! lol
Actually looking at the file its curved at the top so was a long shot anyway. Saying that though, i cant find any other file that could be the one we want either.
My next thought is that it is actuall drawn by an xml file. There is a file in the layout folder called htc_locks_creen_control.xml that could hold the answer but i have no idea how to view what is written in the xml.
djmace said:
Agh poooo!!! lol
Actually looking at the file its curved at the top so was a long shot anyway. Saying that though, i cant find any other file that could be the one we want either.
My next thought is that it is actuall drawn by an xml file. There is a file in the layout folder called htc_locks_creen_control.xml that could hold the answer but i have no idea how to view what is written in the xml.
Click to expand...
Click to collapse
is this of and help?
http://www.w3schools.com/xmL/xml_view.asp

[Q] Edit Quickpic ?

i want to edit Quickpic's default icon and also the application name. i want to make it my default photo viewer instead of gallery3d. so can anyone help ??
In short i want to change the name and icon of Quickpic so that if i open my app drawer it should show Gallery instead of quickpic...
sorry for poor english
Decompile with apktool, go to res > drawable folder and replace the quickpic icon with the gallery one. It should be named icon.png or ic_launcher.png. Remember to keep the same name.
Next, go to res > values and open the strings.xml with notepad++.
Change this:
Code:
<string name="app_name">Quickpic</string>
into this:
Code:
<string name="app_name">Gallery</string>
Save, compile with apktool and install on your phone (remove the old one).
EDIT: Gonna try myself. If I make it I will post it here.
thanks...i will try it ...you also try
Made it but haven't tested yet.
tried all the things still it says application not installed...also deleted the old gallery still no hope
Did you try mine? I meant delete the old quickpic, not the gallery app.
Chris95X8 said:
Did you try mine? I meant delete the old quickpic, not the gallery app.
Click to expand...
Click to collapse
Helping trying yours edited quickpic.
Not Installed Dude,
Maybe Have Missed Something.
Try now.
Chris95X8 said:
Try now.
Click to expand...
Click to collapse
it is saying the same ...application not installed
by the way would you mind telling me how to use apktool ?
-------------------------------------------------------------------
http://forum.xda-developers.com/showthread.php?t=1466100
-------------------------------------------------------------------
i saw this but i am stucked at one step
-i didnt understood this line--
Unpack both pakages you will get three files, copy those files to your Windows directory i.e. C:\WINDOWS
there are not three files...there are many files in that tar.bz file
could you please give me a detail explanation on how to do that ?? sorry i am a total noob
Sorry guys, I don't know what else to do.
androidnerd2 said:
by the way would you mind telling me how to use apktool ?
-------------------------------------------------------------------
http://forum.xda-developers.com/showthread.php?t=1466100
-------------------------------------------------------------------
i saw this but i am stucked at one step
-i didnt understood this line--
Unpack both pakages you will get three files, copy those files to your Windows directory i.e. C:\WINDOWS
there are not three files...there are many files in that tar.bz file
could you please give me a detail explanation on how to do that ?? sorry i am a total noob
Click to expand...
Click to collapse
Just download and extract the first two packages here and put those files into C:/Windows/
Chris95X8 said:
Sorry guys, I don't know what else to do
Click to expand...
Click to collapse
Dude, No need to said that.
You good enough to trying to help
So after unpacking it to Windows, what now? Where does it go, how do I open it?
Sent from my E15i using xda premium
Run CMD, type apktool and hit enter. If there's output, you have installed it properly. Close CMD and reopen it. Go here for a tutorial.
This is only for changin the name of the app. You can change the icon easily with 7zip or something similar.
maybe you have to sign the apk..
androidnerd2 said:
maybe you have to sign the apk..
Click to expand...
Click to collapse
OMG that's it!!! I completely forgot. Will try again and report.
*facepalm* thanks...
Sent from my X8 using XDA
Yeah this one works
{
"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"
}
hey one more thing...when we long press on the homescreen and select wallpaper there it say Quickpic wallpaper....it should be gallery....just pointing out....thanks anyway for your great work
androidnerd2 said:
hey one more thing...when we long press on the homescreen and select wallpaper there it say Quickpic wallpaper....it should be gallery....just pointing out....thanks anyway for your great work
Click to expand...
Click to collapse
Yes this should also be solved!
Sent from my W8 using XDA...
Chris95X8 said:
OMG that's it!!! I completely forgot. Will try again and report.
*facepalm* thanks...
Sent from my X8 using XDA
Click to expand...
Click to collapse
Haha Dude ! XD
BTW Thanks!

[APKTOOL ICS + JB] [Works wonders] [UPDATED]

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.

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