[Q] Themed Apps? - HTC EVO 3D

Can someone point me in the right direction to learn how to theme apps like Google plus, facebook and the market?
Thank you

adb pull /data/app/appname.apk or /system/app/appname.apk
Then use 7zip to extract the apk
Navigate to the res/drawable folder and edit the images there
Then put your changes back into the apk and either push or flash your themed app
You can get more advanced than that by decompiling the apk too
Sent from my PG86100 using xda premium

perfect! definitely a start.
thank you

Related

Volume Slider Color

I'm wanting to change the color of the slider when you turn your volume up and down from yellow to another color. I'm running CM7 fascinatemtd ROM by JT, I know which folder it's in and how to do it. My question is, I use Apk Manager to decomplie my framework-res.apk which was pulled from the ROM using 7zip, I've decompiled the apk, edited the XML file, when I went to recompile the framework-res apk using option 11, a error pop up and told me to read the log, I hit enter, answered yes to system question, then went to keep folder and deleted the resources file as instructed, and hit enter, I was left with an unsigned framework-res.apk file, renamed it to framework-res.apk, and pushed it back into ROM with 7zip, rebooted recovery, cleared caches, and installed ROM, but phone wouldn't boot up. So what am I doing wrong...
Obviously not
Sent from my SCH-I500 using XDA App
What color do you want the slider man
Sent from my SCH-I500 using XDA App
Blue would match my theme the HEX code is 11114b...
Sent from my SCH-I500 using XDA Premium App
If apkmanager errors common logic would dictate to read the log and see what is going wrong
Trying to flash a broken apk won't work obviously
I've gotten it to decompile and recompile bit the problem now os the changes I've made don't show up I'm not getting any errors before I was ising a ROM that I themed so I went back and used the original ROM how do I get the changes to stay...
Sent from my SCH-I500 using XDA Premium App
And you're trying to edit progress_horizontal.xml? And changing code to ff11114b leaving the "f's" in?
good day.
Yes
Sent from my SCH-I500 using XDA Premium App
I should rename unsigned framework.res to framework.res right...
Sent from my SCH-I500 using XDA Premium App
And during the compile process, you hit y for "system apk" and hit y for "would you like to copy over any files..............." and from the keep folder delete resources.arsc and continue to compile. And yes rename back to framework-res.apk.
good day.
Answered yes to system app and no to copy over files, didn't delete arsc and changes stayed, but if I install will I get boot loop since I didn't delete arsc....
Sent from my SCH-I500 using XDA Premium App
If I hit y to copy over files the changes don't stay only if I hit n
Sent from my SCH-I500 using XDA Premium App
it worked, by not copying over the files and not deleting the resources arsc file, does anyone know what the XML file name is for the download progress bar color is...and thanks for your help guys...
Here's what I would do if I was on Windows!
Download apktool & dependencies:
http://android-apktool.googlecode.com/files/apktool1.4.1.tar.bz2
http://android-apktool.googlecode.com/files/apktool-install-windows-r04-brut1.tar.bz2
Unpack both archives to your Windows folder. This will make apktool accessible through cmd anywhere.
CD in cmd window to the location of your apk, If you haven't already done so and install the resources by copying or pulling (framework-res.apk, twframework-res.apk for touchwiz) or (framework-res.apk, SystemUI.apk for GB). Once copied to the folder you are cd'd too...
Install the resources
apktool if framework-res.apk
apktool if twframework-res.apk
apktool if SystemUI.apk
Decompile and make your changes..
apktool d framework-res.apk
Recompile when done
apktool b framework-res
If it built succesfully, then make a copy of your framework-res.apk. Then navigate to framework-res/build/apk! Open your copied apk with 7zip and drag n drop res & resources.arsc from framework-res/build/apk inside! Close it up..
Push and test.. On windows you may need to navigate to your sdk directory if not properly setup!
adb push "your_copied_file"/system/framework/framework-res.apk
If you get a failed to write to system, run this first.
adb shell su -c rw
YES got all progress bar colors changed to blue now my CM7 Fascinatemdt ROM is themed all of my drawable hdpi and XML files are complete I might post this as a theme, thank you for your help...
Sent from my SCH-I500 using XDA Premium App
notta said:
Here's what I would do if I was on Windows!
Download apktool & dependencies:
http://android-apktool.googlecode.com/files/apktool1.4.1.tar.bz2
http://android-apktool.googlecode.com/files/apktool-install-windows-r04-brut1.tar.bz2
Unpack both archives to your Windows folder. This will make apktool accessible through cmd anywhere.
CD in cmd window to the location of your apk, If you haven't already done so and install the resources by copying or pulling (framework-res.apk, twframework-res.apk for touchwiz) or (framework-res.apk, SystemUI.apk for GB). Once copied to the folder you are cd'd too...
Install the resources
apktool if framework-res.apk
apktool if twframework-res.apk
apktool if SystemUI.apk
Decompile and make your changes..
apktool d framework-res.apk
Recompile when done
apktool b framework-res
If it built succesfully, then make a copy of your framework-res.apk. Then navigate to framework-res/build/apk! Open your copied apk with 7zip and drag n drop res & resources.arsc from framework-res/build/apk inside! Close it up..
Push and test.. On windows you may need to navigate to your sdk directory if not properly setup!
adb push "your_copied_file"/system/framework/framework-res.apk
If you get a failed to write to system, run this first.
adb shell su -c rw
Click to expand...
Click to collapse
will this work also when trying to decompile/recompile a non system app, like one from the market, that has dependencies
adude247 said:
will this work also when trying to decompile/recompile a non system app, like one from the market, that has dependencies
Click to expand...
Click to collapse
It will work with anything provided you have the resources. Some apk's are picky by means of what you can replace.
The method above is using apktool the way it is supposed to be used. That apkmanager thing sounded crazy with the delete this after that, hit y or n before this. Seems like alot of un-needed steps and confusion!
On linux it's even easier, pretty much fully auto!
notta said:
It will work with anything provided you have the resources. Some apk's are picky by means of what you can replace.
The method above is using apktool the way it is supposed to be used. That apkmanager thing sounded crazy with the delete this after that, hit y or n before this. Seems like alot of un-needed steps and confusion!
On linux it's even easier, pretty much fully auto!
Click to expand...
Click to collapse
yeah, I didn't delete anything just decompiled, edited the XML, and recompiled, that was the only way I could get the changes to stay. Any suggestions on what to use if the above resources don't work to get the apk to decompile, an example of an apk that I want to edit but cant get it to recompile after decompiling and editing the XMLs is....
adude247 said:
yeah, I didn't delete anything just decompiled, edited the XML, and recompiled, that was the only way I could get the changes to stay. Any suggestions on what to use if the above resources don't work to get the apk to decompile, an example of an apk that I want to edit but cant get it to recompile after decompiling and editing the XMLs is....
Click to expand...
Click to collapse
I can't and won't explain getting resources for market apps or generally someone else's work. However there are several ways to approach non-building apk's.
For example aapt has the capability to recompile standalone 9's as well as xml's, which can then be injected into the apk with the 7zip method. Especially useful for minor changes.
Another example for stubborn apk's would be the Eclipse or similar project. This is where you would partially build the files you wanted to change.
Thanks for the advice...
Sent from my SCH-I500 using XDA Premium App

[HELP!] Widget On/Off Re-stylized Icons

i'm bored of this SE widget, then, i decided to re-style this, with minimalist and sexy design, the symbols of Bluetooth,Wi-Fi,GPS are from SE,but re-stylized
but i'm having problems,i put the new icons in a (SE base) APK,(with Winrar),but no sucess,everyone can help me?
i Have an XPERIA X10,but i don't know how to program for this platform.
thanx
Use x10 mod tool.
Sent from my X10i using xda premium
Thanx,i will test this!
If you want to post the images and widgets here I'll do it...
Sent from my X10a using The Force
Thanks man,but i dont do it at all...
the files are in here. Ok,
Here are the widgets(attached) with what you have done so far (BT,brightness)
You can theme the apk easily by opening it as an archive in winrar but DO NOT EXTRACT, just open the apk like a folder, drag in the new images to the right place, then close the apk and click "yes" to save the changes...
AyDee said:
Here are the widgets(attached) with what you have done so far (BT,brightness)
You can theme the apk easily by opening it as an archive in winrar but DO NOT EXTRACT, just open the apk like a folder, drag in the new images to the right place, then close the apk and click "yes" to save the changes...
Click to expand...
Click to collapse
Can't install it.
Sent from my X10i using xda premium
That's you have to sign it. I think...
Sent from Xperia X10 Self-modded
This is my problem,i do AyDee method,but dont work
I try,X10ModTool,no sucess...
It won't install normally, you have to push to system/app, fix permissions, and reboot.
I'll make an Xrecovery zip in a few hours when I get back to my computer.
Ok, try this zip in xrecovery(attached)
Also, you can finish theming the apk how I explained, then open the xrec. zip I posted with winrar/7-zip and drop in the themed apk to replace the old one (the same way the images are done) and then flash away!
Once you are completely finished modding the apk you should zipalign it for best performance before adding it to the zip (or post it here & I'll do it...)
Cheers.
Thank you very much (Niko Bellic voice when exiting from taxi)
LOL ;/
wrong seccion

Manually edit without UOT Kitchen

Hi. How to manually edit
system/framework/framework-res.apk
And system/app/systemui.apk
Without using uot kitchen and change the icons of my sga stock rom.
Thank you.....
Sent from my GalaxyNexus using xda premium
search google: edit apk
Use Apktool or apk-multi-tools. with apk-multi-tools there you can use fitur for change/replace images without decompile apk.
Pull the apk from the phone using adb and rename the format to .zip . You should be able to replace file inside with the same names without issues. But please replace the right one. Etc you're mdpi, pls use mdpi images. And try not to edit .9 images. It may cause your phone to faint. Rename back to .apk after editing thn push it to phone through adb.
Sent from my GT-S5830 using xda premium
i dont think we can do it... like it possible but so difficult to understand java's bytecode

Changing icons of Android apps

I have seen many users willing to change the icons of their android applications.For the willing users I have got small tutorial on how to change icons of any android applications.
Note:
This may not work in all application but as I've tried, it has worked for all of them.
Please use copy of your application in case of need of original apk files.
None of the files attached here like belongs to me.
I am not responsible for any unusable apk if messed up with.
Requirements:
1.Any android application(.apk) (you want to change icon of)
2.Icons file or any icons editing software (must be of resolution 36 X 36)
3.PC with windows
4.Sign APK
5.Your Android device or virtual machine to install
Steps:
1. Grab any android application (using applications like App Backup and restore or Titanium Backup) and send it to PC.
2. Right click that android application and navigate to open with option.
3. Select Winrar or Winzip.
4. Navigate it to "ApplicationName.apk\res\drawable-ldpi" folder.(There might be multiple icons in other folders too follow the same process to make it done.)
5. You can see file with name icon(.png).
6. Drag your own icon file of size 36 X 36 and drop it and replace if prompted (save) close your Winrar.
7. Now extract Auto-Sign.rar file to desired location and copy your apk (with changed icon ) to Auto-Sign\Auto-Sign folder (or read README.txt)
8. Run file sign (.bat)
9. Now you can install the apk manually by sending it to your SD Card.
For making you sure it really works I've changed icons of QQ player to VLC media player which is attached below.
BTW QQ player is the player almost like VLC it plays almost every video of any type.
Download are in order as listed below
1) Auto-sign Created By Dave Da illest 1
Optionals
2) QQ player with changed icon of vlc:
3) QQ Player by tencent original:
how much thread will open for changing icon?
some one asked this in this thread: http://forum.xda-developers.com/showthread.php?t=1851377
so,kindly just answar on that thread and close this thread.
hmahadi98 said:
how much thread will open for changing icon?
some one asked this in this thread: http://forum.xda-developers.com/showthread.php?t=1851377
so,kindly just answar on that thread and close this thread.
Click to expand...
Click to collapse
LOL just trying to give full and detailed information in systematic way
More easier way
Use xplore me
Open ur desired apk as zip open res/drawable-ldpi and replace icon.png with your desired .png image
Keep resolution same as in apk
In some apps icon.png are in drawable-hdpi you hav to check that
After replacing use zip signer to sign apk and your good to go
And no need of computer
Sent from my GT-S5360 using xda premium
alkesh95 said:
More easier way
Use xplore me
Open ur desired apk as zip open res/drawable-ldpi and replace icon.png with your desired .png image
Keep resolution same as in apk
In some apps icon.png are in drawable-hdpi you hav to check that
After replacing use zip signer to sign apk and your good to go
And no need of computer
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Needs root right?
For those users who doesn't want to risk their smartphones
Any way thanks
alkesh95 said:
More easier way
Use xplore me
Open ur desired apk as zip open res/drawable-ldpi and replace icon.png with your desired .png image
Keep resolution same as in apk
In some apps icon.png are in drawable-hdpi you hav to check that
After replacing use zip signer to sign apk and your good to go
And no need of computer
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
i also use xplore to edit my apks.
checkpoint_sagun said:
Needs root right?
For those users who doesn't want to risk their smartphones
Any way thanks
Click to expand...
Click to collapse
Xplore and zip signer doesn't require root access
Xplore asks for root access when u hav to edit system apps
Sent from my GT-S5360 using xda premium
you guezz are talking about xplore file manager...?
Sent from my GT-S5360 using xda premium
Gauravdgamer said:
you guezz are talking about xplore file manager...?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yes
Sent from my GT-S5360 using xda premium
wow nice app
can modifying framework-res.apk and copying it via root explorer is safe....?
Sent from my GT-S5360 using xda premium
bump
i find this interesting, using xplore might be right way.
But since i am noob, can somebody explain me where i can find apk file of a installed launcher?
Thanks in advance
Retardinjo1900 said:
i find this interesting, using xplore might be right way.
But since i am noob, can somebody explain me where i can find apk file of a installed launcher?
Thanks in advance
Click to expand...
Click to collapse
you can find your installed launcher in data>app>here
or mnt>asec
if u are search your default launcher ie touchWiz launcher then go to system>app>here
press thanks if i help you
sent from my GT-S5360 using
XDA PREMIUM

Systemui.apk

Is it necassary to sign systemui.apk? I made some changes to the file and now when i flash the ROM I get systemui force closes
Sent from my PG86100 using xda app-developers app
kevin130 said:
Is it necassary to sign systemui.apk? I made some changes to the file and now when i flash the ROM I get systemui force closes
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
No, you don't ever want to sign system apps. Are you sure the permissions are correct? and what changes did you make?
I didn't put any permissions. How do I set them in the zip? And I change the 3g icon to 4g because I have virgin mobile so I can't get 4g but I want it to say 4g lol.
Sent from my PG86100 using xda app-developers app
Well if you are installing it with a zip permissions are probably correct. I'm assuming you decompiled the apk changed the icon and compiled it again? If all you want to do is change an icon, just open the apk with 7zip or similar and replace the icon, no need to decompile. That should solve it. Let me know
Okay. I'll try that and if I do decompile it, how do I set the permissions? Cuz i decompiled settings.apk and made a XML change.
Sent from my PG86100 using xda app-developers app
kevin130 said:
Okay. I'll try that and if I do decompile it, how do I set the permissions? Cuz i decompiled settings.apk and made a XML change.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
You would set permissions if you are just pushing the apk to your phone. Better question, how exactly are you installing the apk after you made the changes?
I just replace the old apk in the zip file and flash the ROM.
Sent from my PG86100 using xda app-developers app
ok, then the updater-script in the zip is handling the permissions for you, so you don't need to worry about that.
So there is no need to sign anything at all? Awesome.
Sent from my PG86100 using xda app-developers app
Apps in /system/app/ never get singed, apps in /data/app/ however have to be signed.
Alright. Thanks.
Sent from my PG86100 using xda app-developers app
Android commander... http://androidcommander.com/
great tool you should use when first dealing with androids..
you can delete/pull/push files to your phone there also apk backup which backs up your apps from the play store.. just a great program to have in your PC.
no problem, let me know if you still need help or get it working
Hi I'm also trying to learn modifying systemUI.apk through smali edits
So as a start I just decompiled my systemUI.apk with apktool v1.5.2 with no errors. Then directly recompiled it. No modifications made. The resulting apk didnt have any META-INF folder and thus I suppose is unsigned. But pushing this apk to /system/app doesn't install it.. As a result after reboot I have no installed systemUI.apk
What am I doing wrong? BTW I'm on Sony xperia live with walkman. But I suppose this is a general thing. And yes I have installed all framework files and as a result no errors while de/recompiling
havocgb said:
Hi I'm also trying to learn modifying systemUI.apk through smali edits
So as a start I just decompiled my systemUI.apk with apktool v1.5.2 with no errors. Then directly recompiled it. No modifications made. The resulting apk didnt have any META-INF folder and thus I suppose is unsigned. But pushing this apk to /system/app doesn't install it.. As a result after reboot I have no installed systemUI.apk
What am I doing wrong? BTW I'm on Sony xperia live with walkman. But I suppose this is a general thing. And yes I have installed all framework files and as a result no errors while de/recompiling
Click to expand...
Click to collapse
The best way in case of small edits is to open both your stock and your modified SystemUI.apk with 7-zip, then copy the META-INF and AndroidManifest.xml from the stock to the modded one.
Close both and push back your modded one to the phone.
Guess that work.
pquinqu said:
The best way in case of small edits is to open both your stock and your modified SystemUI.apk with 7-zip, then copy the META-INF and AndroidManifest.xml from the stock to the modded one.
Close both and push back your modded one to the phone.
Guess that work.
Click to expand...
Click to collapse
Well now I use APK Multi-Tool and it works great. From what I have understood it keeps the same signatures as in the original SystemUI.apk and there is no need of any resigning.

Categories

Resources