[GUIDE]Transparent theme for all Rom :) - Samsung Galaxy Fit GT 5670

Im going to show you result after 1 week
I did not build a complete theme, just transparent effect. And you can see a live wallpaper moving under an APP
Video Demo 1
http://www.youtube.com/watch?v=W2aQHBDZUqw&feature=youtu.be
It's great if i have Koi Live wallpaper
Video Demo2( no Dim , 100%transparent))
http://www.youtube.com/watch?v=Cvf7OIfbLno&feature=youtu.be

Here The GUIDE make ~ 70% rom transparent( other 30% is inside each apk)
Prepare: notepad++ +framework-res.apk + twframework-res.apk + APK Multi Tools(APK Manager)
Step1: Modify system theme
Decompile framework-res.apk
Open .../res/value/style.xml with Notepad++
In <style name="Theme"> tag, find and edit like this
Code:
<item name="colorBackground">@[COLOR="Blue"][B]color/transparent[/B][/COLOR]</item>
<item name="windowBackground">@[COLOR="blue"][B]color/transparent[/B][/COLOR]</item>
<item name="windowShowWallpaper">true</item>
In <style name="Theme.NoTitleBar" parent="@style/Theme"> tag, edit like this
Code:
<item name="windowBackground">@[COLOR="blue"]color/transparent[/COLOR]</item>
<item name="windowShowWallpaper">true</item>
If you get keyboard bug(bug when use live wallpaper)remove it and add
Code:
<item name="windowShowWallpaper">false</item>
In <style name="Theme.Black" parent="@style/Theme"> tag, edit like this
Code:
<item name="colorBackground">@color/black</item>
<item name="windowBackground">@[COLOR="blue"]color/transparent[/COLOR]</item>
<item name="windowShowWallpaper">true</item>
In <style name="Theme.Light" parent="@style/Theme"> tag, add
Code:
<item name="windowShowWallpaper">false</item>
In <style name="Theme.ExpandedMenu" parent="@style/Theme"> tag, add
Code:
<item name="windowBackground">@[COLOR="Blue"]color/transparent[/COLOR]</item>
<item name="windowShowWallpaper">true</item>
go to .../res/drawable-ldpi/ and modify tab_forcus, tab_selected, tab_press, tab_unselected, all tab_***_bar_*** remember carefully edit 9path PNG
Recompile framework-res.apk
*Note:color/transparent is 100% transparent
if you decide another color, go to ..../res/value/color.xml , add another color you like
Code:
<color name="what_ever">#aarrbbgg</color>
aarrbbgg= alpha+red+blue+green in hex
with aa: 100% transparent=00
50% =7f
0% =ff
Windows caculator can change decimal to hexadecimal
Step 2: Modify touchwiz theme
Decompile twframework-res.apk
Go to .../res/drawable-ldpi/
Edit anything that you want to be transparent(should edit tw_tab_focused,tw_tab_focused_ss,tw_tab_pressed,tw_tab_pressed_ss,tw_tab_selected,tw_tab_selected_ss,tw_tab_unselected,tw_tab_unselected_ss, and all tw_tab_***_bar_***.
Recompile twframework-res.apk
Step 3 Put files into phone, require root for quick test
Use adb
Code:
adb push [[B]filename with extension[/B]] /sdcard/
Code:
adb shell
su
stop
mount -o rw,remount -t rfs /dev/stl12 /system
busybox cp /sdcard/[[B]filename with extension[/B]] /system/framework/
start
And to build complete theme you need mod some apk like DialerTabActivity,MMS,Phone,SystemUI ..v..v..

zcop said:
Here The GUIDE make ~ 70% rom transparent( other 30% is inside each apk)
Prepare: notepad++ +framework-res.apk + twframework-res.apk + APK Multi Tools(APK Manager)
Step1: Modify system theme
Decompile framework-res.apk
Open .../res/value/style.xml with Notepad++
In <style name="Theme"> tag, find and edit like this
Code:
<item name="colorBackground">@[COLOR="Blue"][B]color/transparent[/B][/COLOR]</item>
<item name="windowBackground">@[COLOR="blue"][B]color/transparent[/B][/COLOR]</item>
<item name="windowShowWallpaper">true</item>
In <style name="Theme.NoTitleBar" parent="@style/Theme"> tag, edit like this
Code:
<item name="windowBackground">@[COLOR="blue"]color/transparent[/COLOR]</item>
<item name="windowShowWallpaper">true</item>
If you get keyboard bug(bug when use live wallpaper)remove it and add
Code:
<item name="windowShowWallpaper">false</item>
In <style name="Theme.Black" parent="@style/Theme"> tag, edit like this
Code:
<item name="colorBackground">@color/black</item>
<item name="windowBackground">@[COLOR="blue"]color/transparent[/COLOR]</item>
<item name="windowShowWallpaper">true</item>
In <style name="Theme.Light" parent="@style/Theme"> tag, add
Code:
<item name="windowShowWallpaper">false</item>
In <style name="Theme.ExpandedMenu" parent="@style/Theme"> tag, add
Code:
<item name="windowBackground">@[COLOR="Blue"]color/transparent[/COLOR]</item>
<item name="windowShowWallpaper">true</item>
go to .../res/drawable-ldpi/ and modify tab_forcus, tab_selected, tab_press, tab_unselected, all tab_***_bar_*** remember carefully edit 9path PNG
Recompile framework-res.apk
*Note:color/transparent is 100% transparent
if you decide another color, go to ..../res/value/color.xml , add another color you like
Code:
<color name="what_ever">#aarrbbgg</color>
aarrbbgg= alpha+red+blue+green in hex
with aa: 100% transparent=00
50% =7f
0% =ff
Windows caculator can change decimal to hexadecimal
Step 2: Modify touchwiz theme
Decompile twframework-res.apk
Go to .../res/drawable-ldpi/
Edit anything that you want to be transparent(should edit tw_tab_focused,tw_tab_focused_ss,tw_tab_pressed,tw_tab_pressed_ss,tw_tab_selected,tw_tab_selected_ss,tw_tab_unselected,tw_tab_unselected_ss, and all tw_tab_***_bar_***.
Recompile twframework-res.apk
Step 3 Put files into phone, require root for quick test
Use adb
Code:
adb push [[B]filename with extension[/B]] /sdcard/
Code:
adb shell
su
stop
mount -o rw,remount -t rfs /dev/stl12 /system
busybox cp /sdcard/[[B]filename with extension[/B]] /system/framework/
start
And to build complete theme you need mod some apk like DialerTabActivity,MMS,Phone,SystemUI ..v..v..
Click to expand...
Click to collapse
Thanks will try this out soon.

willl try on G ace
Sent from my GT-S5830 using xda premium

spacecaker said:
willl try on G ace
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Yeah, tell me if it work

tried it
some of whats described here wasnt in the framework
so couldnt do that
and didnt worked
launcher was gone
couldnt open taskmanager
i only wanted transparent settings
herpderp ©copy+paste

can you give me framework-res so i can look into the file.
It should be mod step by step
first do a mod at this
Code:
<style name="Theme">
then recompile and try on phone. If work go to next step
This will be find out what make problem

zcop said:
can you give me framework-res so i can look into the file.
It should be mod step by step
first do a mod at this
Code:
<style name="Theme">
then recompile and try on phone. If work go to next step
This will be find out what make problem
Click to expand...
Click to collapse
i can use some xml coding to set a background for it
@drawable/background then put a png called background ind drawable mdpi
herpderp ©copy+paste

here u go
u want everything ?

you can, in some apk just set android:background="@....." in layout but some apk it not going to transparent. And setting up the stock theme is the quick way cause there are many apk using theme from framework-res.

your framework-res from Ace and Fit look like a twin.
Download attachment and try

zcop said:
your framework-res from Ace and Fit look like a twin.
Download attachment and try
Click to expand...
Click to collapse
thanks will try out on my ace

ok worked
only when i want to type
my wallpaper is full screen i need to press randomly to get my app screen back
herpderp ©copy+paste

1st: great cause it work
2nd:Cause by Theme.Notitilebar

hey, how to make the statusbar transparences only?

Do a mod SystemUI.apk. Now im busy, so may be tonight i will rply here.

zcop said:
Do a mod SystemUI.apk. Now im busy, so may be tonight i will rply here.
Click to expand...
Click to collapse
ukm, so I can wait for you Im Vietnamese like you

Ok let make Status Bar transparent.
Needed: Apkmanager, SystemUi.apk, notepad++, Photoshop or Gimp to make 1 transparent image ~ 22*240 name: custom_statusbar_bg save as PNG
1.Decompile SystemUI.apk
2.Open file ...../res/layout/status_bar.xml with notepad++
3 Edit the second line from
Code:
android:background="#ff000000"
to
Code:
android:background="@drawable/custom_statusbar_bg"
4.Put custom_statusbar_bg.png to ..../res/drawable-ldpi/
5.go to .../smali/com/android/systemui/statusbar/ open StatusBarService.smali with notepad++
Find
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Above is
Code:
const/4 v5, 0x2
change to
Code:
const/4 v5, -0x3
6.Recompile SystemUI.apk
Other way: use http://uot.dakra.lt/kitchen/
and just do 1>4
Extra:
http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62

OK, thanks, lets me try. Will report to you if Im done

I was searching for this thing from long time...grt ,thank you !!

Related

[TUT] Creating your own CID/MNS resources for startup after factory reset

There is info about this here and there ... but I figured maybe useful to put it in a small tutorial.
After a factory reset, your HTC Desire will read various files in /system/customize/ and walk you through the initial setup screens.
The process can be customized and simplified. I will explain here how to create a setup using a minimal set of files (2 XML files needed).
FIRST ... make a backup of /system/customize with ADB (I am on Linux so my commands will show Linux bash shell style). You will need a little bit of Linux skill:
On your PC do:
> mkdir customize
> cd customize
> adb pull /system/customize
Now you can create a "minimalistic" set of startup resources by removing some files from your phone:
> adb shell
> mount -o remount,rw /dev/block/mtdblock3 on /system
> cd /system/customize
Now you can remove:
> rm 1_00_sample.xml
> rm cid_map.xml
> rm COMMON.xml
> rm default.xml
> rm mccmnc.xml
> rm mns_map.xml
Now go to:
> cd /system/customize/CID
and remove ALL files EXCEPT "default.xml" ... and:
> cd /system/customize/MNS
and again, remove ALL files EXCEPT "default.xml"
Go back to the PC. From the backup that you made at the very beginning, you can edit the XML files in CID and MNS directories.
Some examples of edits ... there are many more but you just have to peek around the XML.
In CID/default.xml:
<category name="system">
<module name="locale">
<function>
<set name="single">
<item name="total_list">nl_BE;en_BE;fr_BE;</item>
<item type="boolean" name="nl_BE">yes</item>
<item type="boolean" name="en_BE">yes</item>
<item type="boolean" name="fr_BE">yes</item>
This will - at startup - allow you to only select 3 languages (Dutch, English, French).
Then in MNS/default.xml:
<module name="defaultLocale">
<function>
<set name="single">
<item name="auto_detect">false</item>
<item name="defeault">nl_BE</item>
</set>
</function>
with this, you can change the default locale.
In CID/default.xml, you can customize the screens that you walk through at the initial setup of the phone:
<module name="OOBE">
<function name="Block_No_SIM">
<set name="single">
<item name="Default" type="boolean">no</item>
</set>
</function>
<function name="Step_Config">
<set name="single">
<item name="Set_Language" type="boolean">yes</item>
<item name="SIP_Tutorial" type="boolean">no</item>
<item name="Wi-Fi" type="boolean">yes</item>
<item name="Data_Sync" type="boolean">yes</item>
<item name="Account_Setup" type="boolean">yes</item>
<item name="Social_Network_Setup" type="boolean">no</item>
<item name="Tutorial" type="boolean">no</item>
</set>
</function>
<function name="Data_Sync_Config">
<set name="single">
<item name="Default" type="boolean">yes</item>
</set>
</function>
<function name="Account_Config">
<set name="single">
<item name="GMail" type="boolean">yes</item>
<item name="Other_Mail" type="boolean">yes</item>
</set>
</function>
<function name="Social_Network_Config">
<set name="single">
<item name="Facebook" type="boolean">no</item>
<item name="Flickr" type="boolean">no</item>
<item name="Twitter" type="boolean">no</item>
<item name="Plurk" type="boolean">no</item>
</set>
</function>
<function name="Default_Home_Config">
<set name="single">
<item name="Set_HTC_Home" type="boolean">yes</item>
</set>
</function>
</module>
<module name="Footprints">
<function name="settings">
<set name="settings">
<item name="retrieve_address">true</item>
<item name="show_location_disasble_alert">true</item>
<item name="show_connection_failed_alert">true</item>
<item name="serial_number">0</item>
<item name="list_sort">create_time desc</item>
<item name="camera_white_balance">0</item>
<item name="camera_brightness">5</item>
</set>
</function>
</module>
In MNS/default.xml, you can customize standard browser pages (they will be there even after factory reset):
<module name="Browser">
<function name="bookmark">
<set name="plenty">
<!--%%File%%-->
<item name="title">De Standaard</item>
<item name="url">http://m.standaard.be</item>
</set>
And in MNS/default.xml, you can also choose your default browser start page:
<function name="homepage">
<set name="single" max="15">
<item name="url">http://m.standaard.be</item>
</set>
</function>
Many more customizations are possible.
After having modified the default.xml files in CID and MNS, put them back to your phone (example below for CID directory, do the same for MNS directory):
> adb push default.xml /system/customize/CID/
> adb shell
# cd /system/customize/CID/
# busybox chown 0.0 default.xml
# busybox chmod 644 default.xml
After that, do a factory reset ... your phone will startup using the files CID/default.xml and MNS/default.xml to make the initial setup.
Attached are my own CID/default.xml and MNS/default.xml files, just for reference. I have put as a zip file.
Note: I have tested this on Froyo Sense and Froyo Sense HD ROMS ... don't know about AOSP ROMs.
When I set the browser it dosnt work. Is there a limit to the amount of characters or anything ?
Anthony2oo5 said:
When I set the browser it dosnt work. Is there a limit to the amount of characters or anything ?
Click to expand...
Click to collapse
No, not that I am aware of.
Did you check complete validity of your XML files?
Nice tutorial. I know the thread is a bit old, but this works on all sense roms (that are cdma) ref no_sim. Anyone made a ciphering guide on the mns stuff in default.xml as it pertains to the x & y screen coordinates I see nestled in stock roms' mns? I thought it may be a way of customizing the initial boot up launcher screens, but upon booting a stock and trying to visually follow the placement with the code... Well, it would probably make more sense if my logic cipher didn't think of x as left/right, y as up/down, and screen as the screen it may appear on... That didn't match up at all for me. Any suggestions on the topic?
Rob
PS. This guide works for gingerbread as well.
---------- Post added at 01:19 AM ---------- Previous post was at 01:18 AM ----------
As it pertains to debranding, I also found Google standard default.xml pointed to in the UI strings (still in mns default.xml); hosted by respective carrier. Could one pull a copy of that .xml and host it themselves then change the pointer or would this be a no no? Interested in changing browser configs as I see fit.
Rob

(01-17-13)Batch Themer V1.5RLS

This is a two-part thread. First part will cover my Batch Theme script I created for the Galaxy S III. The second part is a guide of where all major png's are located and what Png's still need to be found.
Batch Theme script
It copies one png and renames the copy to every PNG within framework-res.apk that has the same dimensions. So far it can create about 60 png's in about a second. As simple as it is, this script will save any themer at least an hour of work if not more. My goal will be to batch theme framework-res.apk in a couple seconds. Here's a quick video of what the script is capable of:
You can download the script here:
RLS1.5
Changelog:
*Batch theme folder added(Just modify the PNG's in test folder then copy those to the primary folder, run batch...enjoy
*Added more png's to main script. (currently up to 134 PNG's on batch theme)
Media Link: http://www.mediafire.com/?jc3d41eu63gdbcn
Changelog-Batch Theme Script
Primary PNG's/9.png's needed to run batch script (Currently 13 below will generate 115 png's)
ab_stacked_solid_dark_holo.9.png
btn_default_normal_holo.9.png
btn_default_normal_holo_dark.9.png
btn_radio_off.png
btn_radio_on.png
dialog_full_holo_dark.9.png
dialog_full_holo_light.9.png
dialog_middle_holo.9.png
switch_thumb_activated_holo_dark.9.png
toast_frame_holo.9.png
tw_dialog_bottom_holo_dark.9.png
tw_dialog_bottom_medium_holo_dark.9.png
tw_menu_hardkey_panel_holo_dark.9.png
PNG location's for Galaxy SIII
With the help of other themers, I'm hoping we can get some coordination going so themes can be completed in a much quicker time-frame.
I'll do the best I can to post tutorials, screen-shots and whatever else I can to aid in them development.
Credits:
jonathanphx1-))
)))))))))))))))))))))-Huge Thanks to both these devs for putting together a nice hack to allow for three NEW png's we can use in our themes. Make sure you hit them up with some thanks.
Gunthermic's-))
PNG's That need to be located.
Menu popup press png
{
"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"
}
PNG that have been located and their location(These PNG's took hours to find)
status_bar_item_background_normal (Seen here when pressing on the dropdown menu) Found!-Huge thanks to jonathanphx1& Gunthermic's for the hack. Without them, THIS WOULD NOT BE POSSIBLE
Instructions for modifying XML:
jonathanphx1-
That's what I did and it worked fine. Also got rid of the black status bar and am directing it to a png instead of a color code as you can see from the pic.
I directed it to status_bar_item_background_normal ( a png I added) but you can direct it to what ever you want. Make sure you add the desired png into the xhdpi folder in the SystemUI and recompile
SystemUI->values->drawable.xml
Click to expand...
Click to collapse
Code:
<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="notification_item_background_color">#ff11111 1</item>
[COLOR="Magenta"][B]<drawable name="notification_item_background_color_pressed"> @drawable/status_bar_item_background_normal</drawable>[/B][/COLOR]
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
[COLOR="Magenta"][B]<drawable name="status_bar_background">@drawable/statusbar_background</drawable>[/B][/COLOR]
<item type="drawable" name="status_bar_recents_background_solid">#b30000 00</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background" >#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color ">#ff090909</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
<item type="drawable" name="notification_tracking_bg">#d8000000</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color"># ffaaaaaa</item>
<item type="drawable" name="tw_notification_background_null">#00000000</item>
[COLOR="Magenta"][B]<drawable name="tw_notification_background_pressed">@drawable/status_bar_item_background_normal</drawable>[/B][/COLOR]
All png's that follow are located in framework-res.apk
Menu Popup. (When pressing hard menu)
Location: framework-res.apk/xdpi/tw_menu_hardkey_panel_holo_dark.9.png
Power Menu: (Found when holding down power. This is the bottom part of that menu)
tw_dialog_bottom_holo_dark.9.png
Screenshot:
Small Toaster Popup (The box that pop's up when the phone boots to homescreen. This usually says, Super User has been granted Root access in very small font)
toast_frame_holo.9.png
Screenshot:
Popup Top Menu ( Found when the screen loads and a popup menu is displayed. This is the top portion )
dialog_top_holo_dark.9.png
Screenshot:
Pop up Bottom Rest Toaster Box (Found in wifi Explorer as the popup box)
dialog_button_bottom_holo_dark.9.png
Popup Bottom Toaster Box ( The bottom PNG you see when the phone initially boots up )
tw_menu_dropdown_panel_holo_dark.9.png
Pop up Bottom png rest for restart menu ( Found when selecting Power Menu,Restart
tw_dialog_bottom_medium_holo_dark.9.png
Great post Thanks.
Nice job!
what I would like to know, is people who are successfully decompiling, recompiling and then using a systemui.apk, what apktools they are using.
I can decompile, recompile, and use framework-res.apk and twframework-res.apk but cannot do the same with systemui.apk
nosympathy said:
what I would like to know, is people who are successfully decompiling, recompiling and then using a systemui.apk, what apktools they are using.
I can decompile, recompile, and use framework-res.apk and twframework-res.apk but cannot do the same with systemui.apk
Click to expand...
Click to collapse
No problem bud. Prddog1 hooked me up with the latest apktool.
Good bye HTC Rezound, hello Galaxy S3!
I look forward to giving this a shot.
Sent from my SCH-I535 using Xparent ICS Tapatalk 2
AndroidGraphix said:
No problem bud. Prddog1 hooked me up with the latest apktool.
Good bye HTC Rezound, hello Galaxy S3!
Click to expand...
Click to collapse
Yeah I thank you again for your help. Having one of those blonde moments haha.
Sent from my SCH-I535 using xda app-developers app
PNG's That need to be located.
Dropdown Menu Press.png
I'm looking for the press.png found for the drop down menu. I've been told it's in drawable.xml under SystemUI.apk but I've modified it to no end with zero results. Please advise.
Raider found it with Gunthermic's help. Other treasures in that xml too.
SystemUI,->values->drawables.xml...
jonathanphx1 said:
PNG's That need to be located.
Dropdown Menu Press.png
I'm looking for the press.png found for the drop down menu. I've been told it's in drawable.xml under SystemUI.apk but I've modified it to no end with zero results. Please advise.
Raider found it with Gunthermic's help. Other treasures in that xml too.
SystemUI,->values->drawables.xml...
Click to expand...
Click to collapse
Thanks buddy. Can you paste and bold the line of code I need to edit? I've honestly changed it at least three times with no luck. I was trying to redirect the xml to a png by inserting @drawable/status_bar_background but it didn't work. Any ideas?
Good bye HTC Rezound, hello Galaxy S3!
AndroidGraphix said:
Thanks buddy. Can you paste and bold the line of code I need to edit? I've honestly changed it at least three times with no luck. I was trying to redirect the xml to a png by inserting @drawable/status_bar_background but it didn't work. Any ideas?
Good bye HTC Rezound, hello Galaxy S3!
Click to expand...
Click to collapse
That's what I did and it worked fine. Also got rid of the black status bar and am directing it to a png instead of a color code as you can see from the pic.
Sure here.... this is in the SystemUI->values->drawable.xml
<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="notification_item_background_color">#ff111111</item>
<drawable name="notification_item_background_color_pressed">@drawable/status_bar_item_background_normal</drawable>
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
<drawable name="status_bar_background">@drawable/statusbar_background</drawable>
<item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color">#ff090909</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
<item type="drawable" name="notification_tracking_bg">#d8000000</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>
<item type="drawable" name="tw_notification_background_null">#00000000</item>
<drawable name="tw_notification_background_pressed">@drawable/status_bar_item_background_normal</drawable>]
I directed it to status_bar_item_background_normal ( a png I added) but you can direct it to what ever you want. Make sure you add the desired png into the xhdpi folder in the SystemUI and recompile.
---------- Post added at 03:14 AM ---------- Previous post was at 03:01 AM ----------
Raider reread my post above about the status bar background. was editting it when you were reading it
jonathanphx1 said:
That's what I did and it worked fine. Also got rid of the black status bar and am directing it to a png instead of a color code as you can see from the pic.
Sure here.... this is in the SystemUI->values->drawable.xml
#ffffffff
#ff111111
@drawable/status_bar_item_background_normal
#ff1d1d1d
@drawable/statusbar_background
#b3000000
#88000000
#ff090909
#ff000000
#d8000000
#99ffffff
#ffaaaaaa
#00000000
@drawable/status_bar_item_background_normal]
I directed it to status_bar_item_background_normal ( a png I added) but you can direct it to what ever you want. Make sure you add the desired png into the xhdpi folder in the SystemUI and recompile.
---------- Post added at 03:14 AM ---------- Previous post was at 03:01 AM ----------
Raider reread my post above about the status bar background. was editting it when you were reading it
Click to expand...
Click to collapse
Awesome bro. Thanks a million for posting you and Gunthermic's hack. I'll post this in the op in an hour.
Now all we need is to insert xml code to allow for a status_bar_background_rest
Good bye HTC Rezound, hello Galaxy S3!
EDIT
If anyone can help. I tried the above mod in drawable.xml but when I flash the zip, nothing happens.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="notification_item_background_color">#ff111111</item>
<drawable name="notification_item_background_color_pressed">@drawable/status_bar_item_background_normal</drawable>
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
<drawable name="status_bar_background">@drawable/statusbar_background</drawable>
<item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color">#ff090909</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
<item type="drawable" name="notification_tracking_bg">#d8000000</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>
<item type="drawable" name="tw_notification_background_null">#00000000</item>
<drawable name="tw_notification_background_pressed">@drawable/status_bar_item_background_normal</drawable>
<item type="drawable" name="APKTOOL_DUMMY_0065">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0066">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0083">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0084">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0085">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0086">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0087">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0088">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0089">false</item>
<item type="drawable" name="APKTOOL_DUMMY_008a">false</item>
<item type="drawable" name="APKTOOL_DUMMY_00ab">false</item>
<item type="drawable" name="APKTOOL_DUMMY_00fb">false</item>
<item type="drawable" name="APKTOOL_DUMMY_00fc">false</item>
<item type="drawable" name="APKTOOL_DUMMY_00ff">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0100">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0105">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0106">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0118">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0119">false</item>
<item type="drawable" name="APKTOOL_DUMMY_016a">false</item>
</resources>
I've inserted the png's into drawable-XDPI folder.
I also don't know if the first code posted was correct or if my modifed xml below is how it should be written:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="notification_item_background_color">#ff111111</item>
<item type="drawable" drawable name="notification_item_background_color_pressed">@drawable/status_bar_item_background_normal</drawable>
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
<item type="drawable" drawable name="status_bar_background">@drawable/statusbar_background</drawable>
<item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color">#ff090909</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
<item type="drawable" name="notification_tracking_bg">#d8000000</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>
<item type="drawable" name="tw_notification_background_null">#00000000</item>
<item type="drawable" drawable name="tw_notification_background_pressed">@drawable/status_bar_item_background_normal</drawable>
<item type="drawable" name="APKTOOL_DUMMY_0065">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0066">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0083">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0084">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0085">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0086">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0087">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0088">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0089">false</item>
<item type="drawable" name="APKTOOL_DUMMY_008a">false</item>
<item type="drawable" name="APKTOOL_DUMMY_00ab">false</item>
<item type="drawable" name="APKTOOL_DUMMY_00fb">false</item>
<item type="drawable" name="APKTOOL_DUMMY_00fc">false</item>
<item type="drawable" name="APKTOOL_DUMMY_00ff">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0100">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0105">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0106">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0118">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0119">false</item>
<item type="drawable" name="APKTOOL_DUMMY_016a">false</item>
</resources>
looking forward to using this!
Having issues recompiling SystemUI.apk. Any help?
I have been themeing my own stuff for awhile but did each file individually and have never ran scripts so I was wondering if anyone has a few minutes if you would mind explaining how to get this to work.
thanks
jdpeck said:
I have been themeing my own stuff for awhile but did each file individually and have never ran scripts so I was wondering if anyone has a few minutes if you would mind explaining how to get this to work.
thanks
Click to expand...
Click to collapse
Best thing to do is match the PNG's used in the script then add those png's to the main folder followed by running the script. You only need to match the first png.
Sent from my SCH-I535 using xda premium
Batch Themer updated to RLS 1.5. :laugh: OP has been updated.
Raider rocks
Glad to see you back in the game homie and sharing your knowledge. Thanks also to all those that have shared with you so that you can share with us. (ie: jonathanphx1 and team Average Joe's) :good:
jonathanphx1 said:
That's what I did and it worked fine. Also got rid of the black status bar and am directing it to a png instead of a color code as you can see from the pic.
Sure here.... this is in the SystemUI->values->drawable.xml
<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="notification_item_background_color">#ff111111</item>
<drawable name="notification_item_background_color_pressed">@drawable/status_bar_item_background_normal</drawable>
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
<drawable name="status_bar_background">@drawable/statusbar_background</drawable>
<item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color">#ff090909</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
<item type="drawable" name="notification_tracking_bg">#d8000000</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>
<item type="drawable" name="tw_notification_background_null">#00000000</item>
<drawable name="tw_notification_background_pressed">@drawable/status_bar_item_background_normal</drawable>]
I directed it to status_bar_item_background_normal ( a png I added) but you can direct it to what ever you want. Make sure you add the desired png into the xhdpi folder in the SystemUI and recompile.
---------- Post added at 03:14 AM ---------- Previous post was at 03:01 AM ----------
Raider reread my post above about the status bar background. was editting it when you were reading it
Click to expand...
Click to collapse
nice work guys. thanks for all your help. i would be totally clueless without you knowledge. gonna see if i can get the nano dialer over to the dark horse rises therme for my phone. gonna be tough on a noob to this...
pop up
hi there awsome work!! just wondering if u cud plz tell me name of this popup, i cant seem to find it , plz
litlnicky said:
hi there awsome work!! just wondering if u cud plz tell me name of this popup, i cant seem to find it , plz
Click to expand...
Click to collapse
Its in framework-res.apk.... I can't remember off hand but is something like... search dropdown... It's a 9 file
HAHA...I bet you thought there was gonna be something awesome here, but it's just a regular old signature
GalaxyMOD spilled ink on my MulitiWindows

Fix this error Compiling Google camera and Gallery

1.This compilation error occurs in all cameras, including the original camera Google, even for cameras JB 4.3
2. To correct this error refers to any cameras ICS & JB
3. Files camera and gallery can have names or Gallery2.apk GalleryGoogle.apk or Camera.apk
Open your project Gallery and Camera. Navigate to the file camera\res\values\styles.xml
instead of this
<style name="TextAppearance.DialogWindowTitle">
<item name="android:textSize">22.0sp</item>
<item name="android:textColor">@color/holo_blue_light</item>
</style>
this
<style name="TextAppearance.DialogWindowTitle" parent="@*android:style/TextAppearance.Holo.DialogWindowTitle">
<item name="android:textSize">22.0sp</item>
<item name="android:textColor">@color/holo_blue_light</item>
</style>
===================
In any case, check the file in the styles of his framework-res.apk, where the link leads, do you have any kind of style - TextAppearance.Holo.DialogWindowTitle. If this style is not present, then a similar style, or create a new style thus:
framework-res\res\values\styles.xml
<style name="TextAppearance.DeviceDefault.DialogWindowTitle" parent="@style/TextAppearance.Holo.DialogWindowTitle" />
and
<style name="TextAppearance.Holo.DialogWindowTitle" parent="@style/TextAppearance.Holo">
<item name="textSize">22.0sp</item>
<item name="textColor">@color/holo_blue_light</item>
</style>
in Joy

[Guide] Adding Ram in Recents with toggles

Hello guys
here i am back with a new guide on adding Ram Info on Recents.
Before starting this guide make sure you have tried this. Because this guide is based on that guide.
[This guide is only for 5.0+]
Credit:-
KachalkinGeorg (The GK)
Requirement (Deodexed):-
1.Settings.apk
2.SystemUI.apk
3.NotePad++
4.Patience.. if you dont have try to get it
First part ( Settings.apk )
1.Decompile Settings.apk
2.Download ramsettings.zip from attachment. Extarct and copy files to your Decompiled Settings
3.Open Settings\res\xml\gk_recents_panel_settings.xml
add below preference
Code:
<PreferenceScreen android:title="@string/recents_panel_title" android:key="recents_panel" android:fragment="com.android.settings.gk.RecentsPanel.RecentsPanelSettings" />
4.Open Settings\res\values\arrays.xml
add below arrays
Code:
<string-array name="recents_clear_all_location_entries">
<item>@string/recents_clear_all_location_top_right</item>
<item>@string/recents_clear_all_location_top_left</item>
<item>@string/recents_clear_all_location_top_center</item>
<item>@string/recents_clear_all_location_bottom_right</item>
<item>@string/recents_clear_all_location_bottom_left</item>
<item>@string/recents_clear_all_location_bottom_center</item>
</string-array>
<string-array name="recents_clear_all_location_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
</string-array>
5.Open Settings\res\values\strings.xml
add below strings
Code:
<string name="recents_panel_title"><b>Recents</b></string>
<string name="recents_panel_category">Recents panel</string>
<string name="recents_button_show_clear_all_title">Clear all button</string>
<string name="recents_button_show_clear_all_summary">Show clear all button</string>
<string name="recents_clear_all_location_title">Clear all location</string>
<string name="recents_clear_all_location_top_right">Top right</string>
<string name="recents_clear_all_location_top_left">Top left</string>
<string name="recents_clear_all_location_top_center">Top center</string>
6.Recompile and Decompile Settings (For id's)
7.Open Settings\com\android\settings\gk\RecentsPanel\RecentsPanelSettings.smali
find
Code:
0x7f09042c
replace with below id
Code:
<public type="string" name="recents_clear_all_location_top_right"
find
Code:
0x7f09042d
replace with below id
Code:
<public type="string" name="recents_clear_all_location_top_left"
find
Code:
0x7f09042e
replace with below id
Code:
<public type="string" name="recents_clear_all_location_top_center"
find
Code:
0x7f09042f
replace with below id
Code:
<public type="string" name="recents_clear_all_location_bottom_right"
find
Code:
0x7f090430
replace with below id
Code:
<public type="string" name="recents_clear_all_location_bottom_left"
find
Code:
0x7f090431
replace with below id
Code:
<public type="string" name="recents_clear_all_location_bottom_center"
find
Code:
0x7f06004b
replace with below id
Code:
<public type="xml" name="gk_recents_panel"
8.Recompile Settings and move to your device
Continued on next post.
Continued.
Final part ( SystemUI.apk )
1.Decompile SystemUI.apk
2.Go to "SystemUI\smali\com\android\systemui\recents"
find "RecentsActivity$5.smali". if you found this smali download this. Extract and copy files to your decompiled SystemUI
if you didnt find "RecentsActivity$5.smali" in "SystemUI\smali\com\android\systemui\recents" Download this. Extract and copy files to your decompiled SystemUI
Click to expand...
Click to collapse
3.Open SystemUI\res\values\ids.xm
add below id's
Code:
<item type="id" name="recents_membar">false</item>
<item type="id" name="recents_memory_bar">false</item>
<item type="id" name="recents_memory_text">false</item>
<item type="id" name="floating_action_button">false</item>
4.Open SystemUI\res\values\dimens.xml
and add below demens
Code:
<dimen name="floating_action_button_height">54.0dip</dimen>
<dimen name="floating_action_button_width">54.0dip</dimen>
<dimen name="floating_action_button_translation_z">12.0dip</dimen>
<dimen name="floating_action_button_margin_side">32.0dip</dimen>
<dimen name="floating_action_button_margin_bottom">45.0dip</dimen>
5.Open SystemUI\res\values\colors.xml
add below colours
Code:
<color name="fab_color">#ffdc4c3c</color>
<color name="floating_action_button_icon_color">#ffffffff</color>
6.Recompile and Decompile SystemUI (For id's)
7.Open SystemUI\smali\com\android\systemui\recents\RecentsActivity.smali
find
0x7f0a0000 - <public type="id" name="clear_recents"
Click to expand...
Click to collapse
( Two Times )
replace with
0x7f0f00e2 - <public type="id" name="floating_action_button"
Click to expand...
Click to collapse
8.Open SystemUI\smali\com\android\systemui\recents\views\RecentsView.smali
Find
Code:
0x7f0f016f
replace with below id
Code:
<public type="id" name="floating_action_button"
find
Code:
0x7f0f00db
replace with below id
Code:
<public type="id" name="clear_recents"
find
Code:
0x7f0f016e
replace with below id
Code:
<public type="id" name="recents_memory_text"
find
Code:
0x7f0f016d
replace with below id
Code:
<public type="id" name="recents_memory_bar"
find
Code:
0x1050011
replace with below id
Code:
<public type="dimen" name="status_bar_height"
( Two Times)
find
Code:
0x7f090038
replace with below id
Code:
<public type="dimen" name="status_bar_header_height"
9.Recompile and move to your device
Enjoy...

[Completed] Cannot change the status bar color on Samsung GIO 5660

Hello everyone, I want to change the color of my status bar to transparent on my phone. So I used "apktool" to modify the codes, went to the directory: apktool/systemUI/res/values/drawables.
this is the code that i came across:
<item type="drawable" name="APKTOOL_DUMMY_000d">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005e">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005f">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0060">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0061">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0062">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0063">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0064">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0065">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0066">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0067">false</item>
<item type="drawable" name="shade_bgcolor">#ff282828</item>
<item type="drawable" name="notification_header_text_color">#ff969696</item>
<item type="drawable" name="notification_number_text_color">#ffffffff</item
so apparently I'm missing some part of the code which is defined as APKTOOL_DUMMY_...
how can i get the missing parts of the code?
and next, how can i edit the code in order to set my status bar color to "transparent" ?
any kind of help would be greatly appreciated. many thanks in advance..
Insomnia1 said:
Hello everyone, I want to change the color of my status bar to transparent on my phone. So I used "apktool" to modify the codes, went to the directory: apktool/systemUI/res/values/drawables.
this is the code that i came across:
<item type="drawable" name="APKTOOL_DUMMY_000d">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005e">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005f">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0060">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0061">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0062">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0063">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0064">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0065">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0066">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0067">false</item>
<item type="drawable" name="shade_bgcolor">#ff282828</item>
<item type="drawable" name="notification_header_text_color">#ff969696</item>
<item type="drawable" name="notification_number_text_color">#ffffffff</item
so apparently I'm missing some part of the code which is defined as APKTOOL_DUMMY_...
how can i get the missing parts of the code?
and next, how can i edit the code in order to set my status bar color to "transparent" ?
any kind of help would be greatly appreciated. many thanks in advance..
Click to expand...
Click to collapse
Greetings and welcome to assist. The value that is dummy is something that is defined somewhere else in the framework. Have you installed framework-res, Touchwizz framework-res and systemui when decompiling ?
Regards
Sawdoctor
sawdoctor said:
Greetings and welcome to assist. The value that is dummy is something that is defined somewhere else in the framework. Have you installed framework-res, Touchwizz framework-res and systemui when decompiling ?
Regards
Sawdoctor
Click to expand...
Click to collapse
Hello, and thanks for the response Yes, I had already done these steps before but there is no "framework" under the Touchwizz directory. What would your suggestion be at this point?
Regards,
Insomnia1
Insomnia1 said:
Hello, and thanks for the response Yes, I had already done these steps before but there is no "framework" under the Touchwizz directory. What would your suggestion be at this point?
Regards,
Insomnia1
Click to expand...
Click to collapse
There is always twframework-res.apk and framework-res.apk in the framework folder of every touchwizz rom unless you are using the new nougat beta
Regards
Sawdoctor
Sent from my SM-N930F using Tapatalk

Categories

Resources