[Guide] Add new wallpapers in SecWallpaperChooser.apk - Android Software Development

I was trying to add few extra wallpapers in my Samsung device's system app SecWallpaperChooser.apk but unfortunately didn't find any tutorial or guide to help me, so I have to learn and do it all on my own.
So basically I'm writing this tutorial for those who want to add new wallpapers and specially for those new devs who are making new Rom with lollipop or above version theme for a device that is 4.1+
Prerequisites:-
1) A rooted phone
2) Backup your original SecWallpaperChooser.apk
3) Any Tool that can Decompile & Recompile with it's requirements
4) Notepad++
5) Photoshop or any other similar software.
6) Basic knowledge of decompiling and recompiling.
Let's Start
Backup your SecWallPaperChooser.apk
Decompile SecWallpaperChooser.apk
Add or edit wallpapers in \res\drawable-sw320dp-hdpi [Since my device is sw-320dp-hdpi, you may have different too]
Numbering should be in ascending order like wvga_05.jpg , wvga_05_small.jpg , wvga_06.jpg , wvga_06_small.jpg & so on.... Check the screenshot below.
Screenshot
{
"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"
}
Now Open \res\values\public.xml
Replace "APKTOOL_DUMMY_XXXX" with the new added wallpaper name & save it.
I have added 5 new wallpapers with the name
wvga_06.jpg , wvga_06_small.jpg
wvga_07.jpg , wvga_06_small.jpg
wvga_08.jpg , wvga_06_small.jpg
wvga_09.jpg , wvga_06_small.jpg
wvga_10.jpg , wvga_06_small.jpg
Click to expand...
Click to collapse
Screenshot
Now Open \res\values-sw320dp-hdpi\arrays.xml [Since my device is sw-320dp-hdpi, you may have different too]
Add the item[wallpaper] name that you have added & save it.
I have added the 5 new wallpapers with the above name so my additions in the coding is
<item>wvga_06</item>
<item>wvga_07</item>
<item>wvga_08</item>
<item>wvga_09</item>
<item>wvga_10</item>
Click to expand...
Click to collapse
Screenshot
Recompile & install the apk or adb push it.
If you like my work press :good: and if you use it for your rom don't forget to mention it Enjoy!
Final Screenshots​

Thank you for explanations.

Related

[THEME] TouchUp v1 for Devoid/Void Froyo (and possibly others)

TouchUp is based on devoid. #froyo-final by Noejn. I've simply added what I felt were the missing pieces to an already very nice theme (thanks Noejn!!), hence the name TouchUp.
How it differs from Noejns original:
Power Menu with Reboot and Reboot Recovery (thanks to PaoloM70 for the tutorial)
Jazzk Battery icons (thanks UOT Kitchen)
Original Android bootanimation restored
Original Jog Tabs (unlock sliders) restored
Zipaligned
{
"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"
}
Complete set of 100 discharging icons are included. I reduced the number of charging icons to 10 (traditionally 100) in keeping with the devoid philosophy.
Theme is signed, just boot into recovery and flash - be sure to wipe cache and Dalvik-cache first.
To apply Original Boot Animation delete/rename bootanimation.zip from /system/media.
This theme may work with other deodex 2.2 Roms but is untested, please report your findings. It will NOT work with 2.2.1 or higher.
Disclaimer - I take no responsibility for your phone not working after applying this theme - MAKE A BACKUP FIRST!!
I don't want donations but hitting the Thanks button would be appreciated. Enjoy!!
it would be nice if u cud work on more themes and make 1 or 2 awesome themes =)
ccdreadcc said:
it would be nice if u cud work on more themes and make 1 or 2 awesome themes =)
Click to expand...
Click to collapse
I figured I'd leave the extravagant themes to you, they're awesome!
My tastes are a bit more on the subtle side. If this theme generates enough interest I'd consider another 1 or 2 with different battery icons and maybe a set of white reception icons but that would be about it.... until the official GB is released.
thx i like it, but i would be nice if you add transparent background notification.
Downloading ...
Can anyone test this on openOptimus? I can't now since I'm hardly working on that damn Sense.
since devoid final is 2.2
Open optimus 2.2 .....
Why wud ask a silly question? It will work..

Help with mods for systemui.apk

So i have a personal rom that i created and i use it..it has great permonce but lags the looks that most of the roms here have..
I dont want the 14 toggles etc but i wanna edit systemui.apk and customize everything of the notification bar the problem is i dont know how to ... I have tried apktool but i either get force closes or there is no statusbar so if sum1 could help out or provide a proper in detail guide to avoid such errors etc....?
Thanks already!!
This is wat the rom is like
{
"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"
}
Update:Still need something....stuck with the force closes and no statusbar!
The best thing for you to keep it really simple and to avoid manual editing with apktool is to use uot kitchen
the Web address is http://uot.dakra.lt/kitchen/
if you're not sure how to use it Google guides but as a general rule
make sure everything is set to ldpi
update script to galaxy
make sure you generate preview
and upload your SystemUI.apk framework-res.apk and if required twframework.apk
marcussmith2626 said:
The best thing for you to keep it really simple and to avoid manual editing with apktool is to use uot kitchen
the Web address is http://uot.dakra.lt/kitchen/
if you're not sure how to use it Google guides but as a general rule
make sure everything is set to ldpi
update script to galaxy
make sure you generate preview
and upload your SystemUI.apk framework-res.apk and if required twframework.apk
Click to expand...
Click to collapse
+1
and uot kitchen also support both odex n deodex stock rom
custom rom also will work like charm..
to @OP..
base on my experience to avoid error updater script by uot.. i advice u upload 3 file which is systemui.apk, twframework.apk and framework.apk..
press thank if this post helped!
sent from my GT-S5360 via WeChat
I meant manual editing....
The Beast sent it and u read it ::..::Samsung Galaxy Y::..::
here are some tutorials that may help you.
[MODz]Advanced Theming Mods Collection
http://forum.xda-developers.com/showthread.php?p=34758564#post34758564
[GUIDE] [MODS] Collection of mods for all gingerbread[2.3] phones..
http://forum.xda-developers.com/showthread.php?t=1908063
[GUIDE] How to Customize a ROM
http://forum.xda-developers.com/showthread.php?t=1590330
[GUIDE]How to add customizable 14 statusbar toggle buttons for samsung ROM
http://forum.xda-developers.com/showthread.php?t=1289896
[GUIDE][THEME] Where to find 9.png image
http://forum.xda-developers.com/showthread.php?t=1966585
Thanls..will try them out
The Beast sent it and u read it ::..::Samsung Galaxy Y::..::
Mostly all the things tht i require missing theming..
The Beast sent it and u read it ::..::Samsung Galaxy Y::..::

[MOD] Lego Pattern-Lock (Jelly Bean / KitKat)

{
"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"
}
Inspired by the theme recently shared by @Ben Ling, here is the pattern-lock screen...with Lego!
To do this yourself, you can download the icons attached to this post and put them into the appropriate drawable-?dpi folder in your decompiled framework-res.apk.
Or, if you're not comfortable with decompiling apk files, just flash the attached 'Lego_PattenLock_Flashable.zip' in CWM (not TWRP). This zip will push a file called 'android-res.apk' into your 'system/vendor/overlay' folder.
By using an overlay apk, it means that your framework-res.apk isn't touched. So you won't lose any of the mods you may have done to it. Pretty cool, no?
Oh, and this zip will make a flashable backup too! Just in case you don't like the changes. Also pretty cool.
(Or, if you use Tickle My Android, why not just let the tool do it for you? I've just updated it with these icons!)
Enjoy!
buddy rock hard.... keep up tha good work but i like tha transparent mod!
Outstanding! Any ideas how to remove the "Draw your pattern" text from the lockscreen? I tried reducing the textsize variable in keyguard.xml [framework-res.apk -> res -> layout -> keyguard.xml] but no effect.
Thanks for this mod!
I'm on 4.4.2, Galaxy Note III.
egawrangler said:
Outstanding! Any ideas how to remove the "Draw your pattern" text from the lockscreen? I tried reducing the textsize variable in keyguard.xml [framework-res.apk -> res -> layout -> keyguard.xml] but no effect.
Thanks for this mod!
I'm on 4.4.2, Galaxy Note III.
Click to expand...
Click to collapse
Have a look in your strings.xml.
Excellent thanks @Ticklefish ?
I had to rename drawables folder to ZUltra friendly res but besides that all good. Thanks again.. (transparent too, my new favourite)
iBuzman said:
Excellent thanks @Ticklefish ?
I had to rename drawables folder to ZUltra friendly res but besides that all good. Thanks again.. (transparent too, my new favourite)
Click to expand...
Click to collapse
What res did you rename it to?
^^ xhdpi - I'll need to resize the pngs at some stage too (didn't bother this time when testing)
Ticklefish said:
Have a look in your strings.xml.
Click to expand...
Click to collapse
No joy. I spaced out the "Draw your pattern" and "Wrong pattern" fields to test but the text is still there? Any other ideas of places to look?
Thanks for the info BTW!

[MOD][Softkeys] L-Take v0.2 [Clear+Blocked]

Hi all!
So I've been creating stuff for my personal device over the years! Haven't ever shared any of it, but thought i would for a change.
This is my take on the L soft keys. The original soft keys were good, however they were not as intuitive as i thought. Give that i decided to make my own.
Hope you enjoy.
Constructive feedback is appreciated!
Note:
You take all responsibility for flashing, modifying, corrupting, changing or transforming your device with the files I have provided.
Do not blame me if anything happens, that's your own risk.
If you would like to use this in any of your Roms or Themes you MUST link this OT and my profile, as well as CONTACT me via PM with links to where its been exactly referenced.
Preview - Clear
{
"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"
}
Clear - Source [Zip containing .png for files, replace images in SystemUI.apk\res\drawable-xxhdpi\]
View attachment 2872981
L-Take v0.1 Clear - Paranoid Android 4.44 20140722 Flashable zip
View attachment 2872980
Preview - Blocked
Blocked - Source [Zip containing .png for files, replace images in SystemUI.apk\res\drawable-xxhdpi\]
View attachment 2872983
L-Take v0.2 Blocked - ONLY FOR Paranoid Android 4.44 20140722 Flashable zip ONLY PA
View attachment 2872982
Changelog
27062014 - v0.2 added blocked icons [looked better]
27062014 - V0.1 Created & Uploaded
Click to expand...
Click to collapse
TODO
- Change Android Head in Clear to Clear Outlined style
Click to expand...
Click to collapse
Installed, but when I reboot the device, It shows an error:
"com.android.sistemui."
And the mobile turn off....
:crying:
xitopodo said:
Installed, but when I reboot the device, It shows an error:
"com.android.sistemui."
And the mobile turn off....
:crying:
Click to expand...
Click to collapse
Remember the zip is ONLY for the paranoid android version,NOT anything else.
All other versions you have to modify your SystemUI.apk and replace the files yourself.
Sent from my Nexus 5 using Tapatalk
Haano said:
Remember the zip is ONLY for the paranoid android version,NOT anything else.
All other versions you have to modify your SystemUI.apk and replace the files yourself.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Oh, I didn't read it....
But I fix the problem, so, It's doesn't matter.
Thanks for your work!
My update - Android "L"
https://db.tt/ox83XD4r
Verze 2: https://db.tt/6httghh4

[THEME] Red Planet for EMUI 5.0 (red&black theme, last updated 11/02/2017)

This theme - Red Planet - was made just for fun!
If you like it, it will be finished :laugh:
It's early alpha - so there are bugs!
{
"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"
}
Changelog:
2017-02-11 alpha 1:
- most system apps are themed
- red notifications panel
- Red Planet wallpaper and appropriate apps background
- icons: pixel
Tested on P9 EVA-AL10. Alpha stage, there are bugs!
Installation:
- unzip attached file
- put .hwt file into HWThemes folder (internal or external memory)
Any suggestions are welcome If you like it, don't hesitate to hit 'Thanks' button
Thank you for sharing, it promises.:good:
mr.mrcn said:
This theme - Red Planet - was made just for fun!
If you like it, it will be finished :laugh:
It's early alpha - so there are bugs!
Changelog:
2017-02-11 alpha 1:
- most system apps are themed
- red notifications panel
- Red Planet wallpaper and appropriate apps background
- icons: pixel
Tested on P9 EVA-AL10. Alpha stage, there are bugs!
Installation:
- unzip attached file
- put .hwt file into HWThemes folder (internal or external memory)
Any suggestions are welcome If you like it, don't hesitate to hit 'Thanks' button
Click to expand...
Click to collapse
thank youu.
Very good theme in deed !
it will be very cool to be in multiple colors when its stable.
Rommco05 said:
Hi, i have question, how u making new themes, trought some editor or i need know programm language, thx.
Click to expand...
Click to collapse
Just simple editing files, i'm not using any special program for that.

Categories

Resources