[TUTORIAL]Super DUPER SwiftKey v3 - Add, Remove, Update SwiftKey Themes - MAY 8, 2015 - Android Themes

Now, there was a lot of contention over this in the original SuperSwiftKey thread and I wanted to first apologize for the drama which I accidentally started - I was never intending to steal anybody's work and claim credit for it, nor did I intend to release other's work against their permission [I thought the project was dead]. In this thread, I will be teaching you (with pictures) how to create your very own hand-selected superswiftkey APK and update it immediately upon swiftkey updates, with minimal work! If you can use Notepad++ and Winrar and follow instructions, keep reading!
With that out of the way, thanks first to....
@jaggyjags - for his work on Themed SwiftKey V12
@sonnysekhon - for his work on SuperSwiftKey
@djdarkknight96 - the BOY!!!
Code:
Changelog:
v3 - Appended OP with instructions to remove spacebar logo and update to betas on your own
v2 - Updated December 5th, 2014 - How to do on mobile devices and how to update to newer SwiftKey.
v1 - Created on November 30th, 2014
MAY 8, 2015:
Update to guide:
Step 1: Pick your base apk (Stable or Beta) -- this is SUPERSWIFTKEY by Sonny and DJDarkKnight96
SuperSwiftKey-5.2.2.133.apk: https://www.androidfilehost.com/?fid=23991606952598509
or
SuperSwiftKey-Beta-5.3.0.77.apk: https://www.androidfilehost.com/?fid=23991606952598508
Step 2: Make sure you have 7-zip or WinRar installed if on a windows and open the apk as an archive, this is so we can access the Themes individually and choose which we want to include in our final signed apk. Now would be a good time to get an apk signing tool as well!
Step 3: Download your target. For me, it's the latest SwiftKey Beta (May 7th) and removing the logo from the keyboard. So here's how on a windows (or mac or unix, it's the same concept.)
SwiftKey Keyboard Beta 5.3.0.85: http://www.apkmirror.com/apk/swiftk...-keyboard-beta-5-3-0-85-android-apk-download/
Step 4: Open the latest apk target with 7-zip, and do the same with the super version, so you can extract the themes folders and json file.
Step 5: Delete everything in \assets\themes\
Step 6: Add your modified themes folder to your apk file instead, compression will take a little bit of time.
Step 7 (Optional): Remove SwiftKey logo from spacebar!
Navigate to: \res\drawable-YOURRESOLUTION\ and make branded_spacebar_logo.png a transparent image, once everything is appended, you need to sign the apk again and you're done.
If any of this is unclear then please read my full thread, this is simply an update!
-------------------------- PART 1 - CREATING CUSTOM APK ON A COMPUTER --------------------------
1) Pre-Requesite Files and Applications
Download our SwiftKey “base”- https://www.androidfilehost.com/?fid=95784891001615911
Apktool 2.0 RC2 (Not required, but useful for really decompiling and taking apart more of the apk) - http://forum.xda-developers.com/showthread.php?t=1755243
Some Sort of APK Manipulator:
APK Multi-Tool (To sign the final APK)
Windows: http://forum.xda-developers.com/showthread.php?t=1310151
Linux: http://forum.xda-developers.com/showthread.php?t=1808319
apk-signer - https://code.google.com/p/apk-signer/ (just a .jar, no bloat/extra tools)
In the following image you will see what the themeslist.json file looks like. It is found inside your swiftkey apk in /assets/themes/ We’re going to clean it up and get it ready to start hacking.
Code:
{
"themes": [
{
"formatVersion": 1,
"minorVersion": 6,
"id": "nickel",
"name": "Nickel"
},
{
"formatVersion": 1,
"minorVersion": 7,
"id": "cobalt",
"name": "Cobalt"
},
{
"formatVersion": 1,
"minorVersion": 4,
"id": "ics",
"name": "Holo"
},
{
"formatVersion": 1,
"minorVersion": 4,
"id": "dark",
"name": "Dark"
},
{
"formatVersion": 1,
"minorVersion": 6,
"id": "darkalt",
"name": "Forest"
},
{
"formatVersion": 1,
"minorVersion": 4,
"id": "default",
"name": "Light"
},
{
"formatVersion": 1,
"minorVersion": 4,
"id": "neon",
"name": "Neon"
},
],
"version": 1
}
Right, so this is my “stock” Default SwiftKey apk and contains 20 folders and 1 file, but for our purposes (using the stock SwiftKey straight updated from the play store) as our base, I will tidy the themes folder…. this is in preparation of adding the new files to it! This is themeslist.json, I edited it to remove some themes I found undesirable. It’s quite intuitive.
Also, make sure the last theme block doesn’t have a }, comma following the closing bracket! Every single one should except for the last.
2) Adding 3rd Party Themes to the Installed Themes List:
{
"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"
}
Example A.
Open your target apk. In our case, this is the newest swiftkey play store apk. In WinRar (I use winrar above in pic. A) but all you need to do is delete the contents of your themes folder in swiftkey.apk/assets/themes/* - the folders and .json go bye bye to be replaced with our work
Example B
In Example B, I show the edited apk’s contents of the themes folder. I want to keep Cobalt, Nickel, and some other stock themes so I kept those.
Open Notepad++ or your preferred text editor, and use some common sense to figure out how the JSON blocks are structured.
Code:
{
“formatVersion”; 1,
“minorVersion”; 4,
“Id”: “ics”,
“name”; “Holo”
},
Example C
In this picture, Example C, I point out the final part of the document and how it has to be formatted. Notice the last } for the individual themes has NO comma, and the rest of the document is standard.
Example D
3) Removing Stock Themes
In Example D, I demonstrate how to REMOVE themes that I don’t want (the stock ones for the most part, as well as to not have a SwiftKey with 125 themes...talk about useful! *sarcasam*
This is for you guys who want the most minimal apk possible. As you can see I include the entire block for each theme and also remove their corresponding theme folder from the apk.
Example E
In themeslist.json, select the blocks for the themes you wish to REMOVE and delete them.
Make sure to keep the file structure as it is.
If you guys have any questions on the process please ask, it's pretty straightforward so I figured I didn't need to go that in-depth about it.
ADDED FRIDAY, DECEMBER 05 2014.
HOW TO DO THIS ON A MOBILE DEVICE! ALSO, GUIDE TO UPDATING TO BETA APK AND KEEP UP-TO-DATE WITH SWIFTKEY!
-------------------------- PART 2 - CREATING CUSTOM APK ON AN ANDROID DEVICE --------------------------
Needed apps:
X-Plore File Manager (Play Store)
ApktOOl 4.6 - DOWNLOAD
Step 1: Set up X-Plore File Manager.
Open X-Plore File Manager and navigate in one of the panels to the Download directory of the edited swiftkey. It is recommended you make a directory to put your two apk files and extracted themes (more on this later).
Step 2: Extract the themes from SuperSwiftKey.
Within your SuperSwiftKey apk file, now opened up as a .zip within X-Plore, navigate to /assets/ and long press the folder /themes/. Make sure your SwiftKey FOLDER (not apk) is open in the 2nd panel, and copy the folder from the apk to the SD card. This will take a few minutes.
(for reference, these are the themes within the SuperSwiftKey apk file, much more substantial than the original SwiftKey)
Step 3: Remove the themes folder from the Original SwiftKey.
Now switch to your Swiftkey folder and long press the ORIGINAL (or target) apk file. Open it as a zip like the original, and navigate to /assets/ - long press the /themes/ folder and hit “delete” - this will take a few minutes for the apk to repack itself.
Step 4: Move themes folder to New SwiftKey apk.
Now, here’s the most important part. You need to have x-plore set up properly with both windows in order to execute this command properly. In one tab, have your target swiftkey apk opened as a zip file, and navigated to /assets/ directory.
Switch to the other tab, and long press the themes directory you’ve extracted before. Press “Copy” to copy it to the /assets/ folder IN the apk. It will take 5-10 minutes to pack.
If you wish to remove themes from SwiftKey, you can edit the themeslist.json file (read the main guide for that)
This is what your final apk should look like before we leave X-Plore file manager:
Step 5: Sign and Install the APK
Open ApktOOl on your phone and accept the license agreement.
Then navigate to your Swiftkey folder, in my case it is:
/storage/emulated/0/SwiftKey/Swiftkeyblahblah.apk
Long-press your newly modified apk and select the option to “Get root access permission”
Then, don’t long-press but rather single-tap your apk file that you just got root access for, and of the many many options select “Sign”
THIS IS THE NEXT THING THAT I SEE ON BOTH OF MY DEVICES:
DON’T WORRY! This is fine! Just leave your phone for 5-10 minutes, it will pop up a tiny toast message when completed, and create a new SwiftKey apk file with the suffix -sign.apk. This means you’re set! Verify the size, and you’re good to go.
Now, you’re ready to install. Enjoy!

Yay, So awesome!
Thank you!
Sent from my BlakKat CM11 powered OnePlus One "BACON"

You mentioned that this can be done on the phone? I am looking to delete unused themes. Thanks for the hard work and providing the tutorial!
Sent from my SM-G900A: NakedTouchwiz 3.1

Thank you man

@djdarkknight96 told me you won't require a pc :-/

Thanks for sharing this guide.
For people who want to edit Swiftkey apk from their phone you can sign your modded apk via ZipSigner app and use the key/mode testkey.
Happy theming guys

Primokorn said:
Thanks for sharing this guide.
For people who want to edit Swiftkey apk from their phone you can sign your modded apk via ZipSigner app and use the key/mode testkey.
Happy theming guys
Click to expand...
Click to collapse
Can you elaborate like what should I do with the original apk on my phone step by step

Aashuk Mehta said:
Can you elaborate like what should I do with the original apk on my phone step by step
Click to expand...
Click to collapse
The steps are the same. You can use Zarchiver app to open the original apk and modify the files. You also need an app if you want to change pictures. BTW Turbo Editor is a nice app to manage .json files.

err very noobish question. I extracted the apk n then edited a few files. how do I again make it an apk file? extracted the apk from my phone n edited it too. now I need to pack it to apk file but I don't know how. tried compressing the files into zip again n renamed it back to apk . lol. pretty sure I am doing some silly stuff.

murlidhar85 said:
err very noobish question. I extracted the apk n then edited a few files. how do I again make it an apk file? extracted the apk from my phone n edited it too. now I need to pack it to apk file but I don't know how. tried compressing the files into zip again n renamed it back to apk . lol. pretty sure I am doing some silly stuff.
Click to expand...
Click to collapse
With a PC you can simply drag & drop the new files to the original apk. On your left you have your windows explorer and on your right you open the apk with 7-zip for instance. Then sign the modded apk.
From a phone I think it's easier to modify the apk without extracting its content.

Primokorn said:
With a PC you can simply drag & drop the new files to the original apk. On your left you have your windows explorer and on your right you open the apk with 7-zip for instance. Then sign the modded apk.
From a phone I think it's easier to modify the apk without extracting its content.
Click to expand...
Click to collapse
that is what I am asking. how do I modify the apk from phone without extracting the contents?
[emoji16]
I have zipsigner installed already but need to have the edited apk first.

murlidhar85 said:
that is what I am asking. how do I modify the apk from phone without extracting the contents?
[emoji16]
I have zipsigner installed already but need to have the edited apk first.
Click to expand...
Click to collapse
I use xplore file manager and it has an option to open apk as zip, I use that feature to edit apks without extracting anything..

I will post a picture tutorial on how to do it without even a PC. Also, do you guys want a recorded voice-over video tutorial?

berryman13 said:
I will post a picture tutorial on how to do it without even a PC. Also, do you guys want a recorded voice-over video tutorial?
Click to expand...
Click to collapse
That'll work

I am posting a guide screenshotted from my phone on how to do this without a computer

berryman13 said:
I am posting a guide screenshotted from my phone on how to do this without a computer
Click to expand...
Click to collapse
Thanks :good:

Added a guide on creating the apk on mobile....
I am updated to swiftkey beta .71!

berryman13 said:
Added a guide on creating the apk on mobile....
I am updated to swiftkey beta .71!
Click to expand...
Click to collapse
You freaking rock man, totally awesome tutorial! [emoji106] [emoji106] [emoji106] [emoji106] [emoji106] [emoji106] [emoji106]
Sent from my BlakKat CM11 powered OnePlus One "BACON"

Do I really need x-plore file manager? Or with root Explorer is enough?

Tinchoska said:
Do I really need x-plore file manager? Or with root Explorer is enough?
Click to expand...
Click to collapse
I xplore is compulsory, bcoz it edits apks without unpacking it. Es can't do that as I see

Related

[MOD/THEME/TUT] Battery Indicator Theme

Warning! Applying a theme to the battery icon involves modifying system files and will more than likely brick your phone unless you are 100% sure on what you are doing or have a good back/restore solution
Big thanks to Fightspit for his original thread on creating these battery themes
Here is an example theme i've attached below (see pre-made theme.zip)
{
"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"
}
and here is it in action
There are 2 quite serious prerequisites to this mod
1) Must be rooted with S-OFF
2) ClockworkMod installed and a backup taken (Please, please, please, do this in case of failure)
To create a theme from scratch.
1) Grab the source files for the theme of your choice from this thread
2) Grab APK Manager 4.9 from here
3) Download framework-res.apk from your "system/framework" folder using adb or root explorer
4) Place your downloaded framework-res.apk in APK Manager's "place-apk-here-for-modding" folder
5) In APK Manager choose option 22 to set current project
6) choose option 9 to decompile apk
7) replace battery xml files in folder "res/drawable" and pngs in folder "res/drawable-hdpi" within the extracted "projects/framework-res" folder that APK Manager creates
8) Choose option 11 to compile
9) Select "y" is system apk
10) Select "y" replace original folders
11) In the "keep" folder that APK Mananger has created, delete resources.arsc
and the battery xml files in "res/drawable" and the battery pngs in "res/drawable-hdpi"
12) Press any key and let APK recompile
13) In the "place-apk-here-for-modding" folder, rename unsignedframework-res.apk to framework-res.apk
14) Extract the attached "Blank Update.zip.zip" then Open up the update.zip with 7zip
15) Drag your renamed framework-res.apk to the "framework" folder in 7zip to overwrite the existing blank framework-res file
16) Close update.zip (agree to any messages about updating the file)
17) Copy update.zip to your sdcard
18) Flash the update.zip via ClockworkMod
My Pre-made battery theme
This contains the android battery theme I posted above, already to flash
Warning! This was made for software version 1.32.405.6 - You may get errors if running a different version to me. If so, restore using clockworkmod
1) Extract attached "Pre-made theme.zip" and copy update.zip to your sdcard
2) Flash the update.zip via ClockworkMod
Notes:
Online kitchen now works,happy cooking http://circle.glx.nl/
Thanks to liljom for the guide
Pre-made Change Log
v1 Initial release
v2 Charging animation now works correctly
v2 Colour - Added version with coloured status bar icons
Big thanks for this tutorial!
I love the look of this! Will need to install Clockwork Mod etc of course before I use it, but I will look into this soon
Just to clarify, is it possible to get only the battery mod without the other coloured icons? Is Pre-made themeV2.zip only the battery yes? And the colour version is all the icons?
madindehead said:
I love the look of this! Will need to install Clockwork Mod etc of course before I use it, but I will look into this soon
Just to clarify, is it possible to get only the battery mod without the other coloured icons? Is Pre-made themeV2.zip only the battery yes? And the colour version is all the icons?
Click to expand...
Click to collapse
Correct
sopL87 said:
Big thanks for this tutorial!
Installation: Jump to point 14 of the tutorial (there is mismatch in numeration).
Something from me: rEVOlution taskbar icons.
Edit: Added Galaxy S framework. Only changed taskbar icons, battery have 1% step.
Click to expand...
Click to collapse
Ooops, fixed it
Whilst I appreciate you gave a guide on how to make our own, I'm really not very graphically talented, would it be possible to have one where the numbers are clearer?
I love the little android, but I have to hold my phone right up to my face to see the actual percentage
Thanks though, have to have % visible
Sorry I didn't make the images. They were taken from this thread. You could maybe ask over there if anyone could help you though
Ahh, cool, I used the online kitchen to make my own, pretty awesome!
I've flashed my own one, but now I've lost all the colourful other icons. I assume if I flash them back over, I lose my battery icon, right?
AndyCr15 said:
Ahh, cool, I used the online kitchen to make my own, pretty awesome!
I've flashed my own one, but now I've lost all the colourful other icons. I assume if I flash them back over, I lose my battery icon, right?
Click to expand...
Click to collapse
Just out of interest, did you flash the zip file that the kitchen generated? It wouldn't work for me.
You can just add the icons back into the framework-res.apk (the one you had with the battery icons) and reflash
vibez said:
Just out of interest, did you flash the zip file that the kitchen generated? It wouldn't work for me.
Click to expand...
Click to collapse
Yeah, worked fine for me.
vibez said:
You can just add the icons back into the framework-res.apk (the one you had with the battery icons) and reflash
Click to expand...
Click to collapse
Hmm, never edited framework-res.apk before. I'll look into it...
AndyCr15 said:
Yeah, worked fine for me.
Click to expand...
Click to collapse
Cool, i'll try it again
AndyCr15 said:
Hmm, never edited framework-res.apk before. I'll look into it...
Click to expand...
Click to collapse
Actually I think you can build a version with the battery and icons using the online kitchen. You select the icons on the "Themed Icons" set page
sopL87 said:
Big thanks for this tutorial!
From me:
- DesireHD mod by sopL87
- rEVOlution
- Galaxy S
What changed: 1% battery step, signal icons, bluetooth, wifi, ect. In DesireHD everything is stock except 1% step battery, tweaked and extended animations of upload, download and gps.
Last update: 15.11.2010
Installation: Extract my .rar and jump to point 14 of the tutorial.
Click to expand...
Click to collapse
Looks good! Great skins btw
I have a dhd and perm root and s-off flashed with overclocking, must i have clockworkmod to install this pre-made themeV2 or can i just use fastboot flash or is there another way other then installing clockworkmod ? (clockworkmod don't seam to have a recovery for my dhd yet anyways )
excellent thread vibez
so i would like to share my stock framework-res.apk with you guys, modified with "version a". update.zip attached.
I will port some of my other themes now
Love it. Beautiful.
boarne71 said:
I have a dhd and perm root and s-off flashed with overclocking, must i have clockworkmod to install this pre-made themeV2 or can i just use fastboot flash or is there another way other then installing clockworkmod ? (clockworkmod don't seam to have a recovery for my dhd yet anyways )
Click to expand...
Click to collapse
Not really sure to be fair. I just used the clockworkmod that is kicking around in the dev section as it is the only way i'm comfortable with to flash update.zip files. There may be others ways to achieve the same thing though
Thyrus said:
excellent thread vibez
so i would like to share my stock framework-res.apk with you guys, modified with "version a". update.zip attached.
I will port some of my other themes now
Click to expand...
Click to collapse
Looks good
Is anyone else using the online kitchen to build these battery themes?
It keeps generating folders with v4 at the end, ie drawable-hdpi-v4
The folders in the framework-res on my stock rom doesnt have -v4 at the end like so "drawable-hdpi". I believe this is why I keep getting force close when I flash the file from the online kitchen
yes some kitchens do that. thats why i prefer doeing it manually or checking with theme porter. i always check the res folders for these annoying -vX endings.
I thought so, it's just that someone mentioned in this thread that the kitchen work for them and i'm just trying to figure out how since it does add the pesky -v4 to whatever it cooks for me.
Manually is the way to go
Just out of interest, what does theme porter do?
i checks 2 files (old and new) for updated pngs, and copies them across.
very useful when you actually have a theme already, but simply want to port it (i.e due to an update of the framework res by the manufactorer). This does it for you. Not as sophisticated as apk-manager true

[UPDATE 6/11!!!]MIUI BATTERY MODS & MIUI Dark Theme Vari-Theme Manager Compatible!!!

[UPDATE 6/11!!!]MIUI BATTERY MODS & MIUI Dark Theme Vari-Theme Manager Compatible!!!
I got bored so I made some battery mods for MIUI. I added a theme (NEWTASK650 Dark) that i made off of the MIUI Dark Theme that i use along with some screenshots for anyone who likes it and wants to use it. It's a variation of the MIUI Dark Theme. Here's the original theme thread for it http://www.miuiandroid.com/2011/05/miui-com-official-dark-theme-consent-given-to-post/. Just download and check the previews to see more. I plan on trying to make 2 new batt mods a day if my schedule permits it. Make sure you go to Settings/System/Battery Settings/Battery Indicator Style and choose Percentage. Otherwise you will not see the battery.
BATTERIES CONTINUED IN POST #2 WILL TAKE REQUESTS!!!
These will only change the battery icon. NOTHING ELSE.
Download the .zip file you want to use, then extract the .mtz file, then FOLLOW INSTRUCTIONS BELOW.
HOW TO APPLY
-Put on SD card
-Open Theme Manager
-Hit Menu soft key button and select Import Theme
-Select the battery theme
-Select EDIT THEME
-Select Notification Bar and then choose the battery that you want to use
-DONE
A Special Thanks to xavierjohn22 for helping me to make it easier for you guys​
here is 2 short videos of how to drop them in the systemui.apk. if you wanna go that route. Just drop them in systemui.apk/res/raw folder.
Video#1
http://youtu.be/MWpFI2m0_lw
Video#2
http://www.youtube.com/watch?v=x8_GXgQqRvE
-1.6.10 TASK650 DARK Theme- It's a variation of The MIUI Dark Theme. Just a little more detailed.
{
"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"
}
-NEWTASK650 MINIMAL DARK THEME-
]
-Erebos Keyboard-
How To Install!!!
1.)Take the LatinIme.apk out of the zip
2.)put on phone
3.)set permissions in root explorer to
USER X X O
GROUP X O O
OTHERS X O O O
4.)Drop LatinIme.apk into system/app
-GLOSSY BATTERY-
-GB LANDSCAPE-
-VA DARK BLUE-
-Mode2b Battery-
-Glow Battery-
-Dotted Green Battery-
-Orange Slice Battery-
-HoneyComb Blue Battery-
-Vertical GB Green Battery-
-Stock GingerBread Battery-
-Stock HoneyComb Battery-
-Cm7 Battery-
-HoneyComb Bar Battery-
-Minimal Battery-
-Gauge Battery-
task650 said:
and another one
Click to expand...
Click to collapse
I want this one right here, but I have no idea where to find the system.apk or anything else.
smeltn said:
I want this one right here, but I have no idea where to find the system.apk or anything else.
Click to expand...
Click to collapse
its really easy. the systemui.apk can be found with the app root explorer. if you want i can just pack it in the systemui.apk myself but you would have to use root explorer to change permissions and drop it in system/app
task650 said:
its really easy. the systemui.apk can be found with the app root explorer. if you want i can just pack it in the systemui.apk myself but you would have to use root explorer to change permissions and drop it in system/app
Click to expand...
Click to collapse
sure that would be fantastic if you wouldnt mind.
I read somewhere, that you have to like open the theme.zip and go to frame/res and add it there, but of course that didn't work.
smeltn said:
sure that would be fantastic if you wouldnt mind.
I read somewhere, that you have to like open the theme.zip and go to frame/res and add it there, but of course that didn't work.
Click to expand...
Click to collapse
i'll pack the battery in the systemui.apk right now and post it for ya and give you instructions on how to do it. do you have root explorer?
task650 said:
i'll pack the battery in the systemui.apk right now and post it for ya and give you instructions on how to do it. do you have root explorer?
Click to expand...
Click to collapse
Yes I have Root explorer.. And thank you so much
here ya go bro. so now all you have to do is open root explorer scroll down to sdcard file click on it find the systemui.apk and long press it, select permissions and on the first line from left to right check the first 2, the middle line just check the first one and no others on that line, on the third just the first one also. it should look like this.
x x -
x - -
x - -
the x's are the ones that are checked and the -'s are the ones that shouldn't be. hit ok. then long press the systemui.apk again and select move then hit the back button. find system file and click it the app file and click that then hit paste. you're done. hold volume up and power for about 10 seconds and it should reboot and you're good.
Ok so I did exactly what you said but it isn't working. Battery didnt change. So I tried again, and when I moved the file I checked the permissions again and they change. Its like it isn't saving the permission changes I am making. It IS copying and replacing the file in the system/app folder, but it isn't showing up.
edit> I wonder if its because I am using a custom theme?
smeltn said:
Ok so I did exactly what you said but it isn't working. Battery didnt change. So I tried again, and when I moved the file I checked the permissions again and they change. Its like it isn't saving the permission changes I am making. It IS copying and replacing the file in the system/app folder, but it isn't showing up.
edit> I wonder if its because I am using a custom theme?
Click to expand...
Click to collapse
You need to replace the images in the theme then. Are the statusbar, wifi, and data icons changing too? If not then the theme description needs to be changed too so those icons and the battery icons can show up too.
Prototype159 said:
You need to replace the images in the theme then. Are the statusbar, wifi, and data icons changing too? If not then the theme description needs to be changed too so those icons and the battery icons can show up too.
Click to expand...
Click to collapse
I have tried 3 different themes to see if it made a difference and none of them change the wifi, data, battery icons at all.
So what do I need to replace and where?
Thanks for the help btw guys.
smeltn said:
I have tried 3 different themes to see if it made a difference and none of them change the wifi, data, battery icons at all.
So what do I need to replace and where?
Thanks for the help btw guys.
Click to expand...
Click to collapse
Take your theme. Zip it. Click on the zip and you will see your theme name. Double click on it and then it will open a new window with all of the theme's files. Find the systemui folder, look for a raw folder inside it and then replace the battery images with the one you want.
For the description file, you should unzip the folder area so you have the file on your computer. Keep the zip windows open, but go to where you unziped the folders. Click on it and edit the description file with notepad or something else and add this right before the last line:
<uiVersion>1</uiVersion>
Save it and replace it with the one in the zip (you can delete the folder on your computer if you want, since you don't need it anymore).
Make sure to save the changes to the zip file. And then can exit out of the folders area, and drag the theme name out of the zip file into your phone's sd card.
here ya go. good to go!
so to anyone who is just wanting to change the battery i made a really short video on how I do it. here it is. al i do is open the systemui.apk with 7zip and drop the new battery files that i am using in the res/raw folder. then follow what i do in this video.
http://dl.dropbox.com/u/22014441/Setting Permissions.mp4
task650 said:
so to anyone who is just wanting to change the battery i made a really short video on how I do it. here it is. al i do is open the systemui.apk with 7zip and drop the new battery files that i am using in the res/raw folder. then follow what i do in this video.
http://dl.dropbox.com/u/22014441/Setting Permissions.mp4
Click to expand...
Click to collapse
wow so you won't believe what the problem was the entire time. I actually went into the system/app folder and made a back up of my existing systemUI.apk, and actually I just renamed the original to be SystemUI-original.apk and then dropped the new on in. Problem was it was still reading that systemui-original.apk as being the one it wanted to use even though I had renamed it. So I went in and deleted the original, and as soon as I did I got the FC system errors... rebooted and tada it works fantastic. How weird.
Thanks for all your help
smeltn said:
wow so you won't believe what the problem was the entire time. I actually went into the system/app folder and made a back up of my existing systemUI.apk, and actually I just renamed the original to be SystemUI-original.apk and then dropped the new on in. Problem was it was still reading that systemui-original.apk as being the one it wanted to use even though I had renamed it. So I went in and deleted the original, and as soon as I did I got the FC system errors... rebooted and tada it works fantastic. How weird.
Thanks for all your help
Click to expand...
Click to collapse
no problem man. anytime you need any help just hit me up. you have my email so that would be the quickest way to get a hold of me.
images and theming including battery icons
FYI, we dont have to go to troubles of modding SystemUI.apk
Just make an mtz file and drop the battery mod images in the same structure as the apk. Then drop the .mtz file in \sd card\MIUI\theme and apply it via thememanager
com.android.systemui\res\raw
Same goes for many other apps including the MiuiMusic.
See sample attached (though i'ved pick a not so good image, LOL, whatever i see first in my pc, ha ha ha)
extract the .mtz inside the rar attached
EDIT:
I provided the info because every week MIUI 2.3.3 has some changes, so it's not likely we will be modding the systemui.apk every week just to have the battery icon changed. you can just make it available readily in the sd card using mtz theming
e.g. samples for title
Battery Mod Circle
Battery Mod Cool
Battery Mod Wow
The title can just be change and other folders not needed in my mtz removed. Image attached showing how i use your battery images to try the MTZ file. You can just make a bunch of the MTZ file and post it as themes rather than flashable or overwriting APK
xavierjohn22 said:
FYI, we dont have to go to troubles of modding SystemUI.apk
Just make an mtz file and drop the battery mod images in the same structure as the apk. Then drop the .mtz file in \sd card\MIUI\theme and apply it via thememanager
com.android.systemui\res\raw
Same goes for many other apps including the MiuiMusic.
See sample attached (though i'ved pick a not so good image, LOL, whatever i see first in my pc, ha ha ha)
extract the .mtz inside the rar attached
EDIT:
I provided the info because every week MIUI 2.3.3 has some changes, so it's not likely we will be modding the systemui.apk every week just to have the battery icon changed. you can just make it available readily in the sd card using mtz theming
e.g. samples for title
Battery Mod Circle
Battery Mod Cool
Battery Mod Wow
The title can just be change and other folders not needed in my mtz removed. Image attached showing how i use your battery images to try the MTZ file. You can just make a bunch of the MTZ file and post it as themes rather than flashable or overwriting APK
Click to expand...
Click to collapse
so do you have any suggestions on how i can make this thread easier for people. should i just throw up a com.andoid.xxxx file for them the drop the new battery files in themselves and advise them to throw that in their theme mtz file? thanks a lot for your input. and... would you mind if i put the info you gave me in the OP?
task650 said:
so do you have any suggestions on how i can make this thread easier for people. should i just throw up a com.andoid.xxxx file for them the drop the new battery files in themselves and advise them to throw that in their theme mtz file? thanks a lot for your input.
Click to expand...
Click to collapse
I Don't mind it al all bro, no problem, i was looking for a battery image then i came accross this thread. LOL
It will save you trouble in modding the systemui.apk every week if the deodexed rom has changes, it always has changes anyways (in patches only), now that they are revamping weekly, (at least for now) .
Here's on the top of my head as the idea
1. You could make many MTZ as i have mentioned. Copy what i have posted.
- battery mod 1.mtz
- battery mod 2.mtz
etc..
2. Each mtz will have same structure. Use winrar to change the file
3. description.xml contains the title of the theme. do not use weird characters as title
<title>Battery</title>
<author>Your name here</author>
4. com.android.systemui is the folder your battery images should go. Should be the same name too as what you are doing overwriting in APK
The images will be under com.android.systemui\res\raw
5. If you also want to change the toggle icons, put the images in com.android.systemui\res\drawable-hdpi
- You can even make a preview of it in the preview folder
- You can also remove the mms folder there
6. Put all the modded images and folder in the MTZ file

[SIMPLE GUIDE + LOCKRINGS] [ALL ANDROID ROMS] Change lockrings on any rom

ALL OF THE LOCKRINGS HAVE BEEN MOVED TO THE 5TH POST​
G’Day XDA,
This is a really simple to do guide on changing the lockring on both a stock Samsung circle lockscreen and the AOSP lockscreen on ALL SAMSUNG, AOSP & AOKP ROMS and essentially this same method should also work on ALL ANDROID ROMS that are both ODEXED & DEODEXED. I have tested both using my own phone which is a Samsung Galaxy SII GT-I9100 which is running a stock Samsung odexed rom. I have been told that it also works on a Sony Xperia Arc. Your specific rom may have the lockring file named as something else, so you may need to go into framework-res.apk/res/drawable-hdpi (or-xhdpi or -mdpi depending on what device/rom you're running) to find the correct file. If you need help you can attach your framework-res.apk in here and I will do my best to help you out.
This is really easy to do for even a beginner like me, so I’m sure anyone that reads this will be able to do it. There are a few prerequisites to this mod – first of all you need a computer with an unzip style program like 7Zip, your phone needs to be rooted and you also need some kind of file manager (I use ES File Explorer but lots of people say they use Root Explorer). You will also need to have access to a program like Photoshop or Irfanview or Pixlr or Greenfish Icon Editor Pro if you want to change any pictures yourself. I have detailed everything step by step below with pictures so it should be very easy to follow.
Here's the guide…
(Lockrings in 5th post) PLEASE MAKE SURE THAT YOU MAKE A NANDROID/CWM BACKUP BEFORE TRYING THIS - I CAN'T BE HELD ACCOUNTABLE FOR ANY PROBLEMS YOU FACE, BUT I WILL DO MY BEST TO HELP YOU OUT IF YOU DO RUN INTO PROBLEMS
Step 1 - You will need to download the lockring that you would like to use. I have used different styles from HERE and also from HERE and also made my own. You can find some lockring collections made by martintspedersen HERE and by shishircoolin HERE. If you are smart enough to make your own using a program like Photoshop or Pixlr then top work. Just make sure that it is definitely a PNG file. Also make sure that if you want any of it transparent that it actually is (I made this mistake and it didn’t look very good, so I had to get my gorgeous fiancée to fix it up for me, as she is highly skilled in the art of Photoshop). Save the lockring onto your computer somewhere (I keep all of my stuff in a Mods folder) and you will need to modify it soon.
Step 2 - You will need to make a copy of framework-res.apk (which is located in /system/framework) and put it anywhere onto your phone’s SD card. Again, I use a folder called Mods which is easy to locate and remember.
{
"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"
}
Step 3 - Plug a micro USB cable into your phone and then plug the other end into your computer. Open the directory where you saved framework-res.apk (for me it is GTI9100/Phone/Mods) and move it onto your computer’s desktop.
Step 4 - Now right click on framework-res.apk and select 7Zip – Open Archive.
Step 5 - Within the opened 7Zip archive, navigate to res\drawable-hdpi\ (or res\drawable-xhdpi on a Galaxy Nexus) and locate these files:
For the stock Samsung Circle Lockscreen, find unlockscreen_lock_01.png to unlockscreen_lock_20.png. These usually have a padlock ranging in different stages of unlocking, but I have used the same picture in all of them. You can do the same or modify them slightly, it's up to you.
For the AOSP Lockscreen, find ic_lockscreen_handle_normal.png which is the lock that is visible when a hardware button is pressed, and ic_lockscreen_handle_pressed.png is the same lock with the ring around it that appears when you press the lock.
Step 6 - Change the name of the lockring PNGs that downloaded earlier and want to use to the corresponding file names. For example, I have changed the PNGs in the first picture to use in the stock Samsung Circle lockscreen and the PNGs in the second picture are for the AOSP Lockscreen:
Step 7 - Now drag the renamed PNGs into the res\drawable-hdpi folder. Click yes when it asks you to confirm.
Step 8 - Close the 7Zip archive and now copy your newly modified framework-res.apk back onto the SD card of your phone. Again for me, I use the Mods file so it's easy to find.
Step 9 - Now on your phone, open your file explorer and navigate to where your modified framework-res.apk is. Long press it and select Move To and move it to the System folder on the root directory of your phone.
Step 10 - Now navigate to the System folder and long press on the framework-res.apk and select Properties. You will see this:
Notice how the Permissions is set to rw- rw- rw-? We need to change this otherwise you'll have big problems. Click the Change button and you will see this:
Step 11 - Uncheck the Group - write and Other - write boxes so that it looks like this:
Now click OK and you will see this:
Now click OK.
Step 12 - Now long press on framework-res.apk and select Move To. Move it to the Framework folder within System.
You will see the following warning:
Click OK. Now your phone will freeze. This is ok. It will be frozen for roughly 1 - 1½ minutes, then it will restart.
Once it reboots, you will be staring at your new masterpiece!
Stock Samsung Circle Lockscreen
ICS Lockscreen
LOCKRINGS​ (These are made for a HDPI screen and are at 162dp x 162dp)
Ok below are a bunch of lockrings for everyone to use. I have also included the Stock ICS lockring and the Stock Samsung Circle lockring so that if you want to modify them yourself then you can. The other lockrings were made by me (apart from Metallica which was made by martintspederen). Just click on the picture you want and it will open up a new tab where you can download it. Once it's downloaded, extract the files and rename them to the appropriate file name for your particular lockscreen. Requests are both welcome and encouraged!
ALL OF THE LOCKRINGS HAVE BEEN MOVED TO THE 5TH POST, SO PLEASE SCROLL DOWN TO SEE AND DOWNLOAD THEM
Now if this post helped you I would love to know about it, so please post a reply. Even post screen shots of what you have done would be great.
Cheers XDA,
Dave
@daveyannihilation oh mate!! you made the thread my friend very good job.. i was thinking of making something like it for mig lockrings
shirshicoolin and me was about to ask you of making a thread for all of us lockring guys
the next thing could be to implement the diffrent device locations: samsung:::ic_lockscreen_handle_normal.png
oh and i was the first LOL and thanks for the links as always
very good
how if i want to change default lockscreen and porting from sense 4.0 lockscreen , can u help me ?
LOCKRINGS​
Ok below are a bunch of lockrings for everyone to use. I have also included the Stock AOSP lockring and the Stock Samsung Circle lockring so that if you want to modify them yourself then you can. The other lockrings were made by me (apart from Metallica which was made by martintspederen). Just click on the picture you want and it will open up a new tab where you can download it. Once it's downloaded, extract the files and rename them to the appropriate file name for your particular lockscreen. Requests are both welcome and encouraged!
hiii...
thanks nice guide... can you give me your desktop wallpapers.... both.... i like them....
lokeshsaini94 said:
thanks nice guide... can you give me your desktop wallpapers.... both.... i like them....
Click to expand...
Click to collapse
Are you talking about the wallpapers that are in the screenshots in the guide? If so then it is actually a live wallpaper. I downloaded a program called Windows 7 Dreamscene Activator which you can get from here and I know it says it is for Windows 7 but I am running Vista and it works on my computer and I know it runs on XP Premium as well.
So once you install Dreamscene Activator you just right click on any mpg file and select Set as Desktop Background and then you've got a live wallpaper. Then I just searched for dreamscene wallpaper download on Google and that's how I found the Android one which is on the Dreamscene website here but for some reason it's not working at the moment. I just uploaded it for you, so click here and you can download it. Enjoy
Thanks... Will download it tommorow morning....
EDIT: its working fine but how do i change font color of desktop icons....
lokeshsaini94 said:
Thanks... Will download it tommorow morning....
EDIT: its working fine but how do i change font color of desktop icons....
Click to expand...
Click to collapse
I'm fairly certain that you need to go to Control Panel/Display then click on the Appearance tab and then click the Advanced button.
In this section you can change the colour for all of the backgrounds and text that you want. It's pretty cool.
Let me know how you go?
daveyannihilation said:
Are you talking about the wallpapers that are in the screenshots in the guide? If so then it is actually a live wallpaper. I downloaded a program called Windows 7 Dreamscene Activator which you can get from here and I know it says it is for Windows 7 but I am running Vista and it works on my computer and I know it runs on XP Premium as well.
So once you install Dreamscene Activator you just right click on any mpg file and select Set as Desktop Background and then you've got a live wallpaper. Then I just searched for dreamscene wallpaper download on Google and that's how I found the Android one which is on the Dreamscene website here but for some reason it's not working at the moment. I just uploaded it for you, so click here and you can download it. Enjoy
Click to expand...
Click to collapse
Thanks a lot
Inviato dal mio GT-N7000 con Tapatalk 2
hey....
sorry for one more off topic question but which tool you use to decompile apk files...
how do you have an option to decomplie apk on right clicking an apk file...
lokeshsaini94 said:
sorry for one more off topic question but which tool you use to decompile apk files...
how do you have an option to decomplie apk on right clicking an apk file...
Click to expand...
Click to collapse
Umm I'm pretty sure it was a program called APK One Click
I've never used it to decompile though, I have always used APK Tool because it worked well with ICS Roms where as APK One Click didn't
Great effort Dev
Great guide to change the lockrings to our custom look.....:laugh::laugh::laugh:
.
.
.
. But can you help me in changing the Pattern circle type,shape,even size so that i suits to my droid screen size....
Hoping that i'll get a reply Here..
Sure mate. What device are you using? And do you mean the lockscreen that you use to enter in a pattern to unlock the phone? How big exactly do you want it? I have a bit of an idea the files that you need to modify but I would like to know the device to be able to help you as best I can.
Sent from my ICS Blue SGSII
@OP thanks for the png's
sandy7 said:
@OP thanks for the png's
Click to expand...
Click to collapse
No problem mate,
Glad you liked them. I will try to do some more designs once I finish my other theme thread.
didu73 said:
Sorry to be 10 posts. Need to speak
Click to expand...
Click to collapse
Huh? I don't don't understand? Do you need help with something?
daveyannihilation said:
No problem mate,
Glad you liked them. I will try to do some more designs once I finish my other theme thread.
Click to expand...
Click to collapse
ya some more png's desings would be great...
sandy7 said:
ya some more png's desings would be great...
Click to expand...
Click to collapse
No worries. Any ideas? I had in mind to do a few like Coke and Pepsi but I'm trying to think of some others. Any ideas would be great.
Thanks.
daveyannihilation said:
No worries. Any ideas? I had in mind to do a few like Coke and Pepsi but I'm trying to think of some others. Any ideas would be great.
Thanks.
Click to expand...
Click to collapse
like miui logo would be nice..
a arrow mark,
HTC ring
google logo

[GUIDE]GUI - SignApk Jar File Tutorial to Sign and Align APKs

Hello guys,
I am here with an easy to use application about creating your own keystore to sign APKs and align them.
Requirements:
JDK - Download from www.java.com
sign.jar - Download HERE - APK-Signer 1.8.3 by Hai Bison - working link as of 05/03/2016
Please note that you need to have JDK installed in system for jar files to work.
INITIAL SETUPS
Assuming that you have JDK installed, download sign.jar and extract in anywhere you can navigate easy.
I have it in "C:/apktool"
Open Command Prompt (click Start > type cmd in search box and press enter)
Navigate to folder where you extracted jar file, in my case "c:\>cd apktool".
Type, "java -jar sign.jar"
The writing things ends here and you will see application opened in GUI - as follows
{
"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"
}
CREATE KEYSTORE
Now, we will need to first create a keystore file,
Click on "Save As" in Target Tab and name the file anything, i named it "signedOne"
Click on Save Button
Now We will need to fill the form a little,
In Password, type any password you may remember
in Alias, type any name, usually that should be similar to your UNSIGNED apk file name
Give an Alias Password (for ease, keep it same as password above)
In Name field, Type your first and last name,
This is the minimum required in form, if you want to fill full form, thats upto you.
Click on Button "Generate Keyfile"
Wait until message appears, "Keyfile Generated Successfully". Press OK
SIGN APK
Now its time to sign the APK. - Click on "Signer" Tab.
First, Click on button "Load Keyfile"
Browse for the same keystore file you created, in our case, if you kept the name same as mine, that will be "signedOne.keystore"
Type the password you gave while creating the keystore file.
You will see alias name appearing automatically below if password was correct.
type the alias password you gave earlier.
Click on "Load Target File" and browse for the APK file you want to sign. In my case "whatsapp.apk"
Click on "Sign" button
Wait until the dialog appears, "File Signed"
You will see a new file whatsapp_SIGNED_UNALIGNED.apk in the same folder where whatsapp.apk was already present
ALIGN APK
Click on APK Alignment Tab
Click on "Load APK file" button
Browse for "whatsapp_SIGNED_UNALIGNED.apk
Click on "Align" button
Wait until the message appears "Alignment done, output file: "whatsapp_SIGNED_ALIGNED.apk"
Optional - If you want to verify the alignment, click on "whatsapp_SIGNED_UNALIGNED" button - note that after the alignment, the button name remained same
browse for "whatsapp_SIGNED_ALIGNED.apk
Click on button verify
it will give you a message, "Verification succesful"
TROUBLESHOOTING​
If you get java,util exception error, you need to use JDK-6 or lower and give its path in JDK target adress bar
JDK-7 and plus have changed something for which APK signer doesnt sign APKs
Plz click Thanks buttong if it helped u
???
Hey you wouldn't happen to know what im doing wrong in resigning the latest flash player ics.apk from http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html im trying to change the user agent and version with a hex editor. So I thought that editing the lib file was goofing it up so I just tried to simple extract the apk and resign it and it still wont work.
Any ideas what wrong?
delete
seraphim5 said:
Hey you wouldn't happen to know what im doing wrong in resigning the latest flash player ics.apk from http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html im trying to change the user agent and version with a hex editor. So I thought that editing the lib file was goofing it up so I just tried to simple extract the apk and resign it and it still wont work.
Any ideas what wrong?
Click to expand...
Click to collapse
Its better to compile the apk back using apktool.
If you are first time using this tutorial above, maybe youare are not creating the keystore file. Can you post the apk here for me to look at it?
Sent from my GT-I9100 using xda app-developers app
Download Zipsigner from playstore . It will help you to sign your app through your mob. device .
Sent from my GT-S7562 using XDA Premium 4 mobile app
hello
broken apk signer link fixed.
thanks
Error while signing file. Details:
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date(2040-04-01) or after and future revocation date.
End of line
No signed apk is created. Any ideas?
bwarrington85 said:
Error while signing file. Details:
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date(2040-04-01) or after and future revocation date.
End of line
No signed apk is created. Any ideas?
Click to expand...
Click to collapse
Its because you need to create a key first, before signing the apk
Sent from my TURBO DG2014 using XDA Free mobile app
munnibhai said:
Its because you need to create a key first, before signing the apk
Sent from my TURBO DG2014 using XDA Free mobile app
Click to expand...
Click to collapse
Well I followed the directions above.. Hmm
bwar85 said:
Well I followed the directions above.. Hmm
Click to expand...
Click to collapse
Were you able to resolve the issue? Or else please attach your apk and i have a look on it
Sent from my TURBO DG2014 using XDA Free mobile app
munnibhai said:
Were you able to resolve the issue? Or else please attach your apk and i have a look on it
Sent from my TURBO DG2014 using XDA Free mobile app
Click to expand...
Click to collapse
No, I am trying to mod a cm12 theme from the playstore. I am simply trying to replace images in the apk. I am NOT trying to release the modded apk, it is for my enjoyment only. Isnt that what your jar does?
bwar85 said:
No, I am trying to mod a cm12 theme from the playstore. I am simply trying to replace images in the apk. I am NOT trying to release the modded apk, it is for my enjoyment only. Isnt that what your jar does?
Click to expand...
Click to collapse
jar file is working perfectly, there is some problem with your theme, keystore file most probably. how did you extraxt the apk? with 7zip or apktool?
munnibhai said:
jar file is working perfectly, there is some problem with your theme, keystore file most probably. how did you extraxt the apk? with 7zip or apktool?
Click to expand...
Click to collapse
I used apktool. I give up on trying to edit apks. There are no tutorials that work.
bwar85 said:
No, I am trying to mod a cm12 theme from the playstore. I am simply trying to replace images in the apk. I am NOT trying to release the modded apk, it is for my enjoyment only. Isnt that what your jar does?
Click to expand...
Click to collapse
bwar85 said:
I used apktool. I give up on trying to edit apks. There are no tutorials that work.
Click to expand...
Click to collapse
I am sorry to hear about that, well, apk editing isnt diffictult, apart from decoding java files and then actually coding them again (lets leave it to java programmers)
About editing graphics and XMLs in apk, its easy, ask me anything you want.
bwar85 said:
No, I am trying to mod a cm12 theme from the playstore. I am simply trying to replace images in the apk. I am NOT trying to release the modded apk, it is for my enjoyment only. Isnt that what your jar does?
Click to expand...
Click to collapse
ok, I got to the root of error.
The problem is JDK8 and 7 too probably. The jarsigner provided with these 2 versions, is timestamped now and while we try to sign an apk using the sign.jar, jarsogner isnt finding any timestamp on it.
So you will either need to downgrade to JDK6 (just install as additional and give path to it in sign.jar) and it will work
munnibhai said:
ok, I got to the root of error.
The problem is JDK8 and 7 too probably. The jarsigner provided with these 2 versions, is timestamped now and while we try to sign an apk using the sign.jar, jarsogner isnt finding any timestamp on it.
So you will either need to downgrade to JDK6 (just install as additional and give path to it in sign.jar) and it will work
Click to expand...
Click to collapse
I was using either 8 or 7.
I will try 6 and post results
bwar85 said:
I was using either 8 or 7.
I will try 6 and post results
Click to expand...
Click to collapse
Well your sign.jar completed all tasks with no errors and the app installs but is then rejected by the cm12 theme engine and automatically uninstalls.
So I took the original cm12 theme apk, removed the Meta-inf folder, used sign.jar, and it works.
My error must be in editing the .pngs images within the theme I'm guessing. Im using photoshop 7 to invert colors on the .pngs and saving. Why does changing the .pngs affect the apk from installing I wonder?
So I'll give thanks, your sign.jar does infact work with JDK 6
*edit: Cant give thanks? Hmm no thanks button...
bwar85 said:
Well your sign.jar completed all tasks with no errors and the app installs but is then rejected by the cm12 theme engine and automatically uninstalls.
So I took the original cm12 theme apk, removed the Meta-inf folder, used sign.jar, and it works.
My error must be in editing the .pngs images within the theme I'm guessing. Im using photoshop 7 to invert colors on the .pngs and saving. Why does changing the .pngs affect the apk from installing I wonder?
So I'll give thanks, your sign.jar does infact work with JDK 6
*edit: Cant give thanks? Hmm no thanks button...
Click to expand...
Click to collapse
I am glad that it worked afterall.
1. About the PNGs, there are some with .9 extension in them, if you noticed, they have those black lines around them which must not be touched, they have to be with #000 color. This could be one of problems while you just changed colors.
2. Another issue maybe RGB profile (I am not sure if this setting is available in Ph.7) of photoshop, so goto Edit : Color Settings : RGB : <select "Monitor RGB">. Save and Restart.
Let me know if it worked.
munnibhai said:
I am glad that it worked afterall.
1. About the PNGs, there are some with .9 extension in them, if you noticed, they have those black lines around them which must not be touched, they have to be with #000 color. This could be one of problems while you just changed colors.
2. Another issue maybe RGB profile (I am not sure if this setting is available in Ph.7) of photoshop, so goto Edit : Color Settings : RGB : <select "Monitor RGB">. Save and Restart.
Let me know if it worked.
Click to expand...
Click to collapse
It was the .9.pngs. Messed up the black lines... Fixed and it all works! Thanks for the cool jar!
Please help "FileNotFoundException: .x509.pem"
Thank you, your method works well good for all app.
But for this application "Advanced Permission Manager" by steelworks on google playstore.
Signed process working well, app initially runs good but app main function not working after repacking apk and signed.
It will throw exception "FileNotFoundException: .x509.pem"
What is that exception? I tried every method, I searched whole internet no single solution.

[GUIDE] Make your own Themes for your Samsung device

Hi all!
I make this guide for those who want to make their own themes for Samsung Devices. This uses Samsung My Theme, a software developed by Samsung.
The devices supported by this method are devices compatible with TouchWiz Theme Engine (like my A5 2015 for example)
Things you'll need:
Samsung My Theme Software, it has the following system requirements:
• A PC running Windows 7 or later.
• A Samsung device using Samsung Theme Engine.
• Android SDK for Android 4.4 or higher should be installed on the PC.
• Java JDK version 1.6-7.0 (not 8.0).
1. Downloading the required software.
You can download my version of Samsung My Theme here:
https://mega.nz/#!yl8VSZyK!-wUHQ5eQ8xcn-2VgZ9LbkW_g-ilLPuyjD-L_h0DY0Oo
Unzip the .zip file, and put it on a location you can access easily. Simply unzip the tool and run
“SamsungMyTheme.exe”.
1.2 Downloading Java JDK & Android SDK.
*Android SDK does not currently support JDK 8.0. Use JDK versions 6.0 or 7.0 only.
- Download the Android SDK (version 4.4 only) just use the download.bat script in working folder (it will download all SDK automatically) or you can download it manually here:
http://developer.android.com/sdk/index.html
- Copy all files and folders in the Android SDK…\android\android-sdk folder to the \sdk
folder on your PC.
{
"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"
}
Open Samsung_My_Theme folder and go to /sdk folder. Copy the files to this /sdk folder according to this below:
2. Choosing the correct resolution for your device and saving theme path.
Open the working folder and run SamsungMyTheme.exe
Wait few seconds, the components will be loaded. Once the app is loaded, select create a changeable theme.
2.1 Select the correct resolution for your device.
The software will ask you to choose your device resolution, if you don't know it, just search for specs of your Samsung device and you will find it.
Taking the example of A5, it uses 720x1280p so I choose it. Once all of that is done choose a name and a saving path for your Theme.
2.1 Adding Lockscreen and Home screen wallpaper.
After creating the theme file, you have to add your own resources to it.
You can use your resources to do that, download any picture you want and click on add image on the left side (see the picture below)
A popup will be opened, select your picture and click on open. You should now see your picture on the components. Use the adjustements tools on the right side to crop, rotate, adjust size or cut your pic to make it fit your device screen. Do the same procedure for the home screen wallpaper.
2.2 Adding your own icons.
Click on icon button.
Click on "+" to select the image you want to use as a icon for the app you want to change the icon.
Note: if you let a case empty, after Installing the theme to your device, it will use the stock icon.
Taking example here of music app icon.
Do as previous steps, use your own images. Crop the icon to make it fit the white square on the center. Adjust brightness if necessary. And do the same of the other icons you want to change.
3. Testing your Theme on your device.
Using SamsungThemePreview on your device
Go to your SamsungMyTheme folder, you should see an apk file named " SamsungThemePreview.apk", select it, plug your device to your PC and move the .apk file to your device. Use a file browser on your device, select the apk of SamsungThemePreview and install it as a normal apk.
- Now go to Settings > About device, touch 10 times build number, go back to settings, and now you should see a new option named "Developer options" click on the tile and enable USB debugging mode. Allow any popups on the device.
On your PC, click the Preview on phone button on the menu bar. When Theme Preview apk is installed, a preview of your theme will be displayed
automatically.
If you like your Theme, select file, click on save and then "Package the APK file"
It will open a new popup, set name for your Theme, package name, etc... And click on save.
It will take some time to build the apk file depending on the resources you used.
Once it's finished, you can directly apply the theme to the device or take it from working folder and /out.
Congratulations ! You made your own theme from your own resources.
Reserved
Reserved
Nice tutorial, thanks again :thumbup:
Pretty detailed. Thanks. Will try
Hi, I'm a noob here. I just wanted to know on where to download android sdk?
KR_ said:
Hi, I'm a noob here. I just wanted to know on where to download android sdk?
Click to expand...
Click to collapse
http://developer.android.com/sdk/index.html
Download from here
harsh09046 said:
http://developer.android.com/sdk/index.html
Download from here
Click to expand...
Click to collapse
Oh, thanks ☺?
Sent from my SM-A310F using XDA-Developers mobile app
doesn't work. when i open samsung my theme, everything is all gibberish and you can't click anything. any ideas?
mygalaxya said:
Hi all!
I make this guide for those who want to make their own themes for Samsung Devices. This uses Samsung My Theme, a software developed by Samsung.
The devices supported by this method are devices compatible with TouchWiz Theme Engine (like my A5 2015 for example)
Things you'll need:
Samsung My Theme Software, it has the following system requirements:
• A PC running Windows 7 or later.
• A Samsung device using Samsung Theme Engine.
• Android SDK for Android 4.4 or higher should be installed on the PC.
• Java JDK version 1.6-7.0 (not 8.0).
1. Downloading the required software.
You can download my version of Samsung My Theme here:
https://mega.nz/#!yl8VSZyK!-wUHQ5eQ8xcn-2VgZ9LbkW_g-ilLPuyjD-L_h0DY0Oo
Unzip the .zip file, and put it on a location you can access easily. Simply unzip the tool and run
“SamsungMyTheme.exe”.
1.2 Downloading Java JDK & Android SDK.
*Android SDK does not currently support JDK 8.0. Use JDK versions 6.0 or 7.0 only.
- Download the Android SDK (version 4.4 only) just use the download.bat script in working folder (it will download all SDK automatically) or you can download it manually here:
http://developer.android.com/sdk/index.html
- Copy all files and folders in the Android SDK…\android\android-sdk folder to the \sdk
folder on your PC.
Open Samsung_My_Theme folder and go to /sdk folder. Copy the files to this /sdk folder according to this below:
2. Choosing the correct resolution for your device and saving theme path.
Open the working folder and run SamsungMyTheme.exe
Wait few seconds, the components will be loaded. Once the app is loaded, select create a changeable theme.
2.1 Select the correct resolution for your device.
The software will ask you to choose your device resolution, if you don't know it, just search for specs of your Samsung device and you will find it.
Taking the example of A5, it uses 720x1280p so I choose it. Once all of that is done choose a name and a saving path for your Theme.
2.1 Adding Lockscreen and Home screen wallpaper.
After creating the theme file, you have to add your own resources to it.
You can use your resources to do that, download any picture you want and click on add image on the left side (see the picture below)
A popup will be opened, select your picture and click on open. You should now see your picture on the components. Use the adjustements tools on the right side to crop, rotate, adjust size or cut your pic to make it fit your device screen. Do the same procedure for the home screen wallpaper.
2.2 Adding your own icons.
Click on icon button.
Click on "+" to select the image you want to use as a icon for the app you want to change the icon.
Note: if you let a case empty, after Installing the theme to your device, it will use the stock icon.
Taking example here of music app icon.
Do as previous steps, use your own images. Crop the icon to make it fit the white square on the center. Adjust brightness if necessary. And do the same of the other icons you want to change.
3. Testing your Theme on your device.
Using SamsungThemePreview on your device
Go to your SamsungMyTheme folder, you should see an apk file named " SamsungThemePreview.apk", select it, plug your device to your PC and move the .apk file to your device. Use a file browser on your device, select the apk of SamsungThemePreview and install it as a normal apk.
- Now go to Settings > About device, touch 10 times build number, go back to settings, and now you should see a new option named "Developer options" click on the tile and enable USB debugging mode. Allow any popups on the device.
On your PC, click the Preview on phone button on the menu bar. When Theme Preview apk is installed, a preview of your theme will be displayed
automatically.
If you like your Theme, select file, click on save and then "Package the APK file"
It will open a new popup, set name for your Theme, package name, etc... And click on save.
It will take some time to build the apk file depending on the resources you used.
Once it's finished, you can directly apply the theme to the device or take it from working folder and /out.
Congratulations ! You made your own theme from your own resources.
Click to expand...
Click to collapse
Thanks brother i searching this thank you
---------- Post added at 10:18 PM ---------- Previous post was at 10:05 PM ----------
sufian.ahmed2007 said:
Thanks brother i searching this thank you
Click to expand...
Click to collapse
And can you tell me how to change apps background like calculator and phone calender etc it will helps alot
So after searching for ages I came across this thread downloaded and installed the application, played arpound with the app only to find to my disappointment - it only changes lock/home screen background and the icons. It dosent look this app did what I was hoping it would, namely allow me to edit all the backgrounds of the system apps to darker(kitkat) like.
In a nutshell, is there a way/app that will allow me to customise all the background, fonts and other UI elements on a TW based rom. My goal/aim is to remove/alter 'all' the white backgrounds in MM to darker, graduated-black or black (as per KK)
b1k3rdude said:
So after searching for ages I came across this thread downloaded and installed the application, played arpound with the app only to find to my disappointment - it only changes lock/home screen background and the icons. It dosent look this app did what I was hoping it would, namely allow me to edit all the backgrounds of the system apps to darker(kitkat) like.
In a nutshell, is there a way/app that will allow me to customise all the background, fonts and other UI elements on a TW based rom. My goal/aim is to remove/alter 'all' the white backgrounds in MM to darker, graduated-black or black (as per KK)
Click to expand...
Click to collapse
Yes this!
Well while we all wait for Samsung to stop being so obtuse, or better for someone to upload the SS tool so we can bypass SS and thier bloody theme store - I have a flashed Pheonix Rom for my S5 (G900F) which has ported S7 (G935F) features (i.e. theme store) and applied the 'Touchwiz6DMM' theme.
It has replaced 'almost' all the white backgrounds. only 3 occurances remain (notifications, when I manually install an APK, and some apps that interested with the OS in someway that they still use a white background.
Not understanding
Sir, can you please explain this?
- Copy all files and folders in the Android SDK…\android\android-sdk folder to the \sdk
folder on your PC.
Click to expand...
Click to collapse
a) I installed Android SDK and there is no such path like "Android SDK…\android\android-sdk"
b) which " \sdk folder on your PC"? You mean the one that is in the Samsung_My_Theme_1.0.5b_en program?
Open Samsung_My_Theme folder and go to /sdk folder. Copy the files to this /sdk folder according to this below:
Click to expand...
Click to collapse
You mean to copy from Android SDK installed in PC to Samsung Theme sdk folder? If yes The structure is different!
Android SDK Build Tools:
AppData\Local\Android\sdk\build-tools\24.0.3\....
Samsung Theme
Samsung_My_Theme_1.0.5b_en\sdk\build-tools\android-5.0.1\...
Can you detail?
Thanks
jayochs said:
doesn't work. when i open samsung my theme, everything is all gibberish and you can't click anything. any ideas?
Click to expand...
Click to collapse
did you get any solution? cz i am also facing same problem. but at first it was ok. but i think i messed up while configuring jdk
please help.
androidloveRs3104 said:
did you get any solution? cz i am also facing same problem. but at first it was ok. but i think i messed up while configuring jdk
please help.
Click to expand...
Click to collapse
Try reinstalling the jdk then. All should work fine
Thanks will this work on 7.1.1 and 4.4.4
Is this still applicable?
Really want to theme my GS8+ and I have a Masters in UX Design, but I can't get accepted into Samsung's Theme program.... lol.
CISGS said:
Is this still applicable?
Really want to theme my GS8+ and I have a Masters in UX Design, but I can't get accepted into Samsung's Theme program.... lol.
Click to expand...
Click to collapse
No, this is only applicable to devices that were released before Galaxy S6 (because they have the old theme engine).
But there should be the same software for new devices, check on XDA
sada
sad

Categories

Resources