[MOD] XXJVQ stock browser with user-agent selection and unlimited tabs - Galaxy S I9000 Themes and Apps

For JVR, see: [MOD] XXJVR unlimited Browser Tabs
(This mod works for no-deoxeded and deoxeded rom)
Hi all,
It is the stock XXJVQ (Gingerbread) internet browser modified to open more than 4 windows and to select user-agent.
You can visit up to 16 different web site at the same time but you'll probably miss memory before.
Note:
Once you reach the 8th windows, continue to press the "new button" and it will open an extra new window even thought that the counter will not display more than 8
To select your favorite user-agent end even edit it, press the menu key, then "more" and "Set user-agent".
Don't forget to click the Thanks button on the page if you like this mod.
Contact me prior to include it into a mod, and keep my credit for the works.
For JVP:
[MOD] XXJVP unlimited Browser Tabs
For JVO:
[MOD] XWJVO unlimited Browser Tabs
For JVK:
[MOD] XXJVK unlimited Browser Tabs
For JVH:
[MOD] XXJVH unlimited Browser Tabs
For those who remain in froyo,see my thread for XWJS8:
[MOD] increased Stock XWJS8 browser limit
To install :
-copy the apk to your sdcard
-Delete the old Browser.apk in /system/app
-Delete Browser.odex in /system/app (no deoxeded rom)
-Place the new Browser.apk in there
Note:
Don't forget to be superuser and to mount the partition as read-write :
for stock kernel :
$su
#mount -o remount,rw /dev/block/stl9 /system
#rm /system/app/Browser.*
#cp /sdcard/Browser.apk /system/app/Browser.apk
#exit
$exit
for CF-ROOT kernel, (thanks to ramad)
su
stop (phone will freeze, that's OK just move on)
busybox mount -o remount,rw /dev/block/system /system
rm /system/app/Browser.*
cp /sdcard/Browser.apk /system/app/Browser.apk
exit
exit
adb reboot
Eric,
in Sri lanka.

Deleted.
Inviato dal mio GT-I9000 usando Tapatalk

sorry it does'nt work properly.

Works fine for me and my beta testers .
Can you tell me more on what is wrong ?
Eric,
In Sri lanka.

Hi does the browser still lag when used with deodexed jvq?
Sent from my GT-I9000 using XDA App

Thank you so much
This mod works fine here (JVQ Odexed).
Would it be possible to include the following mods, too?
Download every filetype
Fullscreen-Mod
Dennis

still super laggy on deodexed rom. oh well - not a fault of the OP!

Fc on jvp due to modified framework.
Inviato dal mio GT-I9000 usando Tapatalk

It's possible to instal this version of browser (without scroll problem) en JVP? It would be so good.

Where is download for JVQ?

The useragent setting isn't saved. I have to select it everytime
Sent from my GT-I9000 using Tapatalk

UnknownEdition said:
Where is download for JVQ?
Click to expand...
Click to collapse
In the first post -> attached files: http://forum.xda-developers.com/attachment.php?attachmentid=641811&d=1309436083

Scroll problem not fixed!!

deezid said:
The useragent setting isn't saved. I have to select it everytime
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
You can change useragent in stock browser - type about:useragent in navigation bar

ux50jp said:
Scroll problem not fixed!!
Click to expand...
Click to collapse
You are using a deodexed firmware version, aren't you?
mbartosik said:
You can change useragent in stock browser - type about:useragent in navigation bar
Click to expand...
Click to collapse
I was hoping this hack is more than just a shortcut lol

Thanks eric75004, but imho it would be better to don't release the jvq deodexed version till someone manages to solve the bugs in the browsers once its deodexed
deezid said:
Would it be possible to include the following mods, too?
Download every filetype
Fullscreen-Mod
Dennis
Click to expand...
Click to collapse
+100000

Thanks! works for me...

Thanks eric75004. Moded JVQ browser works great in odexed JVQ ROM.
It would be good if you can mod it to able to download every files.
Sent from my GT-I9000 using Tapatalk

deezid said:
Thank you so much
This mod works fine here (JVQ Odexed).
Would it be possible to include the following mods, too?
Download every filetype
Fullscreen-Mod
Dennis
Click to expand...
Click to collapse
For fullscreen use apk manager (can found it here on XDA forum), decompile Browser.apk (placed in place-apk-here-for-modding), run Script.bat, and then open folder projects/Browser.apk/res/values and there is styles.xml
open it with notepad and add this line of code:
<item name="android:windowFullscreen">true</item>
should look like this:
<style name="BrowserTheme" parent="@touchwiz:style/TwTheme">
<item name="android:windowFullscreen">true</item>
<item name="android:colorBackground">@android:color/transparent</item>
<item name="android:windowBackground">@drawable/initial_titlebar</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
save and compile (answer y andd again y, now open folder "keep" and delete file resources.arsc), go back to the apk manager and finish compiling, rename moded apk (now there is new apk next to original caled unsignedBrowser.apk), and transfer to phone system/app.
You could replace two png files within browser in res/drawable-land-hdpi and drawable-hdpi (stupid screen shots from Froyo ROM).
Just drag and drop attached png to that folder when you open Browser .apk with WINRAR.
As for download all files there is an app on Market: Download all files (free).

nedooo said:
For fullscreen use apk manager (can found it here on XDA forum), decompile Browser.apk (placed in place-apk-here-for-modding), run Script.bat, and then open folder projects/Browser.apk/res/values and there is styles.xml
open it with notepad and add this line of code:
<item name="android:windowFullscreen">true</item>
should look like this:
<style name="BrowserTheme" parent="@touchwiz:style/TwTheme">
<item name="android:windowFullscreen">true</item>
<item name="android:colorBackground">@android:color/transparent</item>
<item name="android:windowBackground">@drawable/initial_titlebar</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
save and compile (answer y andd again y, now open folder "keep" and delete file resources.arsc), go back to the apk manager and finish compiling, rename moded apk (now there is new apk next to original caled unsignedBrowser.apk), and transfer to phone system/app.
You could replace two png files within browser in res/drawable-land-hdpi and drawable-hdpi (stupid screen shots from Froyo ROM).
Just drag and drop attached png to that folder when you open Browser .apk with WINRAR.
As for download all files there is an app on Market: Download all files (free).
Click to expand...
Click to collapse
doesn't work for me

Related

[JVP] Automatic brightness fix DIY

I've made this thread to show you how to fix this frustrating bug. After few steps you'll get working light sensor better than in previous GB versions
Files need to be replaced or edited:
- services.jar
- framework-res.apk
- sensors.default.so
Recommended kernel:
- Galaxian*
Based on original Samsung sources
All Voodoo addictions (color fix, sound V9)
CPU frequencies: 100MHz, 200MHz, 400MHz, 800MHz, 1000MHz, 1200MHz, 1300MHz, 1400MHz.
CONFIG_HZ=500
CWM 3.0.0.5 based on, and fully compatible with CF-ROOT
Light sensor polling 1s instead of 2s
Compatible with RFS and EXT4
Much more I can't remember
What needs to be done:
framework-res.apk edit
1. Get apk manager (attached)
2. Put framework-res.apk in "place-apk-here-for-modding" folder
3. Run apk manager, decompile with dependancy (option 10)
4. Drag twframework-res.apk from your ROM into the script, or extract it somewhere and type path to it
5. Go into projects\framework-res\res\values\arrays.xml
6. Replace two sections:
<integer-array name="config_autoBrightnessLevels">
<item>30</item>
<item>300</item>
<item>600</item>
<item>1500</item>
<item>1500</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>80</item>
<item>150</item>
<item>200</item>
<item>255</item>
</integer-array>
Click to expand...
Click to collapse
7. Delete .bak file if you got one after changes
8. Go back to script and select compile
9. Say y
10. Say y
11. Delete resources.arsc from keep folder
12. Enter in script
13. U'll find unsignedframework-res.apk in "modding" folder
14. Use ADB
Code:
adb push unsignedframework-res.apk /data/local/tmp/framework-res.apk
adb shell
su
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/framework-res.apk
cp /data/local/tmp/framework-res.apk /system/framework/
rm /data/local/tmp/framework-res.apk
reboot
services.jar replace/edit
Attached services.jar should be compatible with all JVP releases as long as author didn't modified it. If you are not sure you can always edit your own version by doing:
1. Get apk manager (attached)
2. Put services.jar in "place-apk-here-for-modding" folder
3. Rename it to services.apk
4. Run apk manager, decompile (option 9)
5. Go into projects\services.apk\smali\com\android\server\
6. Replace PowerManagerService.smali file with the one from my services.jar
7. Delete .bak file if you got one after changes
8. Go back to script and select compile
9. Say n
13. U'll find unsignedservices.apk in "modding" folder
14. Rename it to services.jar
14. Use ADB
Code:
adb push services.jar /data/local/tmp/
adb shell
su
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/services.jar
cp /data/local/tmp/services.jar /system/framework/
rm /data/local/tmp/services.jar
reboot
sensors.default.so replace
1. Use ADB
Code:
adb push sensors.default.so /data/local/tmp/
adb shell
su
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/lib/hw/sensors.default.so
cp /data/local/tmp/sensors.default.so /system/lib/hw/
chmod 644 /system/lib/hw/sensors.default.so
rm /data/local/tmp/sensors.default.so
reboot
GALAXIAN KERNEL:
1. Go to the Market place
2. Install SGS kernel flasher
3. Extract zImage.7z to your internal SD card
4. Select zImage and flash
5. Be happy
New version of sensors.default.so! Now all 4 steps are working!
BTW. With those files you will now loose BLN!
Thank you very much in providing this fix.
Thks
This is what I have been waiting for....
I will recompile my services.jar n framework-res.apk and incorporate them into my custom rom.
Thank you so much!
i do not get it =) what is this fixing Oo
$omator said:
i do not get it =) what is this fixing Oo
Click to expand...
Click to collapse
It fixes the Auto brightness issue in some kernels.
i guess when auto brightness is checkedit is not reacting or reacting wrong?
Im guessing this only works on deodexed?
This is a fix of the moth !
THANK YOU SIR !
btw., what kernel is this? your own ?
Simce I can't find Galaxian anywhere on the forum.
Btw. where are the attached binaries from? Extract from original JVP kernel ?
$omator said:
i guess when auto brightness is checkedit is not reacting or reacting wrong?
Click to expand...
Click to collapse
In some kernels the brighness is reversed or totally wrong.
This has fixed it.
@ Brotuck
Will you try and include this in your GingerMod Rom? (...does it need it?)
eternal-intent said:
@ Brotuck
Will you try and include this in your GingerMod Rom? (...does it need it?)
Click to expand...
Click to collapse
I already updated my GM22 @ damians site.
It also uses a slightly different value, tested it today worked fine !
Brotuck said:
I already updated my GM22 @ damians site.
It also uses a slightly different value, tested it today worked fine !
Click to expand...
Click to collapse
Cool.
Well, I'm off to check it out...
And to the OP thanks, I'm interested to see what effect this has...it's not that I'm lazy, I just still lack confidence in my adb (dis)ability or I'd be more inclined to try and do it myself.
CWM can ask
ok now i see what is going on here =)
-provided sensors.default.so is 1:1 with stock JVP one
Click to expand...
Click to collapse
-arrays.xml is tweaked when compared to stock - and my guess OP made an error here as
<!-- Array of output values for LCD backlight corresponding to the LUX values
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array.
-->
Click to expand...
Click to collapse
those are stock values from JVP below
<integer-array name="config_autoBrightnessLevels">
<item>30</item>
<item>2000</item>
<item>6000</item>
<item>11000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>32</item>
<item>70</item>
<item>116</item>
<item>177</item>
<item>253</item>
</integer-array>
Click to expand...
Click to collapse
Click to expand...
Click to collapse
-at the services.jar few more tweeks that i do not see much sense in =)
i would realy like to see explanation of those changes
Click to expand...
Click to collapse
Ill look at this properly, but couldn't you put this in a CWM flashable package? Thanks if you can.
Sent from my ever changing Galaxy S
CWM flashable package, please
The biggest "problem" is that you need to change values in the framework.
And that one is connected to the theme you use.
Battery color / lockscreens stuff like that.
So making 1 general CWM is a problem....
If you encounter brightness problems, like not responding to changes or bright light in the dark (when it should be darker)
Then but only then consider this mod, if you do not know how to do it, then ask the theme maker.
ill rephrase my question =)
why those fixes (left stock, right this fix/tweak)
ALL_BRIGHT from 15 to 255
ANIM_STEPS from 10 to 50
AUTOBRIGHTNESS_ANIM_STEPS from 10 to 50
LIGHT_SENSOR_DELAY from 2000 to 1000
@$omator: it`s working! i think this is the only relevant answer!
you know a better way? then do it and start your own thread!
I'd like to try this fix but I can't because each time >compile< gets me an error in APK Manager! Something like "unknown source" and "could not exec command". Does anyone here have any success with this fix and Bezke JVP-ROM?

[MOD] XXJVS stock browser with user-agent selection and unlimited tabs

Hi all,
It is the stock XXJVS (Gingerbread) internet browser modified to open more than 4 windows and to select user-agent.
This mod works with odexed (stock) and deodexed rom then no need to deodex your rom to use it.
You can visit up to 16 different web site at the same time but you may miss memory before.
Note:
Once you reach the 8th windows, continue to press the "new button" and it will open an extra new window even thought that the counter will not display more than 8
To select your favorite user-agent or edit it, press the menu key, then "more" and "Set user-agent".
Don't forget to click the Thanks button on the page if you like this mod.
Contact me prior to include it into a mod, and keep my credit for the works.
Eric,
In Sri Lanka
For JVR:
[MOD] XXJVR unlimited Browser Tabs
For JVQ:
[MOD] XXJVQ unlimited Browser Tabs
For JVP:
[MOD] XXJVP unlimited Browser Tabs
For JVO:
[MOD] XWJVO unlimited Browser Tabs
For JVK:
[MOD] XXJVK unlimited Browser Tabs
For JVH:
[MOD] XXJVH unlimited Browser Tabs
For those who remain in froyo,see my thread for XWJS8:
[MOD] increased Stock XWJS8 browser limit
To install :
-copy the apk to your sdcard
-Delete the old Browser.apk in /system/app
-Delete Browser.odex in /system/app (no deoxeded rom)
-Place the new Browser.apk in there
Note:
Don't forget to be superuser and to mount the partition as read-write :
for stock kernel :
$su
#mount -o remount,rw /dev/block/stl9 /system
#rm /system/app/Browser.*
#cp /sdcard/Browser.apk /system/app/Browser.apk
#exit
$exit
for CF-ROOT kernel, (thanks to ramad)
su
stop (phone will freeze, that's OK just move on)
busybox mount -o remount,rw /dev/block/system /system
rm /system/app/Browser.*
cp /sdcard/Browser.apk /system/app/Browser.apk
exit
exit
adb reboot
Eric,
in Sri lanka.
hi, thanks for the app, the user agent selection works perfectly, however when i'm using the browser in the notification bar there are some icons (for example the usb connection, the wi-fi icon, the battery) that are shown in bold and I think were present when you took the image for the notification area (or something like it). Once I try to expand the notification area these icons goes away and also if I exit from the browser... is it a little bug or it's just in my phone?
thanks!
Can't open more than 4 tabs
Useragent works perfectly
Unlimited tabs not working

[Guide] [TouchWiz3] 5 icon dock + 5 columns drawer + other mods

This is a guide on on how to make some modding to TouchWiz 3.
[Important] it is recommended to have a second launcher installed as a backup before you start.
Make a full backup of your phone in case something goes wrong. you never know.​
The guide is set in 3 parts:
Part I: Copying the TouchWiz apk file to your computer and decoding it.
Part II: Editing Files. Here are included different modifications. you can chose the ones you want to apply and skip the rest and go to part III.
Part III: updating your apk file and copying it to your phone.
You will need:
Apktool to decompile/build your apk files. (download it and install it)
ADB (download it and install it) I use Android Commander but adb commands make the guide simpler )
winrar or 7zip or any archive manager
Notepad++ or any text editor
Part I: pulling & decoding
Create a folder in your computer to work inside it. for example C:\twmod
Connect your phone with USB Cable.
Copy the TouchWIz apk file from your phone to C:\twmod on your computer. you will find it under /system/app
to do this i recommend using Android Commander because it's easy to use. you can also use Root Explorer or ADB. i will include the ADB commands in this guide.
[if you're using ADB] open a command prompt and enter the following commands:
adb pull /system/app/TouchWiz30Launcher.apk c:\twmod\TouchWiz30Launcher.apk​
Decode the file using apktool. In the command prompt enter the following commands:
cd c:\twmod
apktool d TouchWiz30Launcher.apk​a folder will appear next to your apk file named TouchWiz30Launcher
(leave this command prompt open)
Part II: modding
5 icon dock (or 6)
Go to TouchWiz30Launcher\res\layout-mdpi\ and open launcher.xml with your text editor.
Find iconColumnCount="4" and replace 4 with 5 (or 6 if you want 6 icons)
Save​
Go to TouchWiz30Launcher\smali\com\sec\android\app\twlauncher and open AppShortcutZone.smali with your text editor
Find const/4 v8, 0x3 and replace 0x3 with 0x4 (or 0x5 if you want 6 icons)
Find const/4 v6, 0x3 and replace 0x3 with 0x4 (or 0x5 if you want 6 icons)
Save​
5 column app drawer (5x4 or 5x5)
Open TouchWiz30Launcher\res\xml-mdpi\launcher_config.xml with your text editor.
Find menuColumnCount="4" and change it to 5 (this is the number of columns)
Find itemNumOfPage="16" and chnage it to 20 if you want 5x4 drawer, or 25 if you want 5x5. (this is the number of icons per page)
Save​
If you're doing 5x5, do the following. if you're doing 5x4 then skip this.
Open TouchWiz30Launcher\res\values-mdpi\dimens.xml
Find <dimen name="menu_item_height">92.0dip</dimen> and change it to 73.6dip (this is the height of the drawer element)​Open \res\layout-mdpi\application_boxed.xml
Find maxLines="2" and change it to 1 (this is the number of lines in the app name in the drawer)​
5x5 icons home screen
Note that widgets will look smaller.
Open TouchWiz30Launcher\res\layout-mdpi\workspace_screen.xml
Find shortAxisCells="4" and change it to 5 (this is the number of columns in the home screen)
Find cellWidth="80.0dip" and change it to 64.0dip (this is the width of the column, it equals 320 / number_of_columns)
Find longAxisCells="4" and change it to 5 (this is the number lines of icons in the home screen)
Find cellHeight="100.0dip" and change it to 80.0dip (this is the height of the line, it equals 400 / number_of_lines)​
Open TouchWiz30Launcher\res\values-mdpi\styles.xml
Find <item name="android:layout_marginBottom">4.0dip</item> and change it to 2.0dip​
Hide icon names in home screen
Open TouchWiz30Launcher\res\values-mdpi\styles.xml
Find <item name="android:layout_marginBottom">4.0dip</item> (the value may be diffrent, so simply look for layout_marginBottom)
This value depends on the cellHeight from the previous patch. it equals cellHeight - 57
if you have a 4 line homescreen, then set it to 43
if you're making a 5 line homescreen, then set it to 23​
Transparent app drawer background
Open TouchWiz30Launcher\res\values-mdpi\colors.xml
Find <color name="menu_background">#ff000000</color> and change to #99000000​Note: The first two digits define the transparency level. it can be anything between 00 and ff (in hexadecimal) with 00 being completely transparent and ff being completely opaque.
The latter 6 digits define the color of the background in RGB code.
Part III: rebuilding & updating
Go back to your command prompt and enter the folloing command: (this will rebuild the app)
apktool b TouchWiz30Launcher​
Now you will update your apk file.
Open the original TouchWiz30Launcher.apk file with winrar (or 7zip). do not extract it.
Go to C:\twmod\TouchWiz30Launcher\build\apk\res and copy every file that you edited to its respective location inside the apk file.
if the file you edited does not exist in this folder, then copy C:\twmod\TouchWiz30Launcher\build\apk\resources.arsc to the source of the apk file
if you edited some smali files, also copy C:\twmod\TouchWiz30Launcher\build\apk\classes.dex (and resources.arsc just to be sure )
Now you will copy the apk file to your phone under /system/app and change its permissions to rw- r-- r-- (644)
Back to your command prompt, enter the following commands:
adb shell mount -rw -o remount /dev/block/mtdblock1 /system
adb shell mv /system/app/TouchWiz30Launcher.apk /system/app/TouchWiz30Launcher.apk.bak
adb push c:\twmod\TouchWiz30Launcher.apk /system/app/TouchWiz30Launcher.apk
adb shell chmod 644 /system/app/TouchWiz30Launcher.apk​
NOTE: Your original TouchWiz apk will be backed up. if the modded version did not work, run the following commands to recover the original file:
adb shell mount -rw -o remount /dev/block/mtdblock1 /system
adb shell rm /system/app/TouchWiz30Launcher.apk
adb shell mv /system/app/TouchWiz30Launcher.apk.bak /system/app/TouchWiz30Launcher.apk​
Download
5 icon dock, 5x4 app drawer
{
"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"
}
If there is something incorrect in the guide, please correct me im not a developer. i figured this out by googeling and experimenting.
Credit:
Some Chinese forum for the smali edit.
Update- nice one
i tried before but until now only on armv7
Sent from my GT-S5830 using xda premium
evil_penguin said:
you can try Zeam launcher .its similar to touchwiz plus you can put 5 apps in the dock.
Btw wrong section.
Click to expand...
Click to collapse
i have it, but the dock icons are so small :/
sorry about the wrong section. i thought anything that has to do with changing the appearance goes here.
spacecaker said:
i tried before but until now only on armv7
Click to expand...
Click to collapse
im not a developer, but that seems odd. changing the number of entries in a dock shouldnt require a new cpu instruction set :/
i hope someone will figure out a way to do it.
it is possible but it will be very itritated because you have then need to change dpi
and then icons are small
Sent from my GT-S5830 using xda premium
spacecaker said:
because you have then need to change dpi
Click to expand...
Click to collapse
i wouldnt want to do that :/
Can I see screenshots?
ok ive found it just find workspace.xml and edit whatever you like
it must work
Sent from my GT-S5830 using xda premium
SamsungGalaxyAce said:
Can I see screenshots?
Click to expand...
Click to collapse
it's a [Request] not a Mod
spacecaker said:
ok ive found it just find workspace.xml and edit whatever you like
Click to expand...
Click to collapse
ok, so i tried editing workspace_screen.xml but that actually changed the number of icons on the home screen. (we learned something useful anyway )
i looked around and found the right part to edit. it's in launcher.xml i changerd iconColumnCount from 4 to 5.
it almost worked. now i'm able to add a fifth icon to the dock, but when i hit Back to save the new icon it disappears both from the dock and the app drawer.
obiously there's more editing to do. i'm not a developer so i mostly count on luck and on anyone who is willing to help out
at least now we know the dock is called AppShortcutZone inside the app. there are a few smali files with this name. i'll try to play with them, but i first need to understand what a smali file is and how to edit it xD
anyway, thanks spacecaker
EDIT: i noticed that when i kill the launcher and relaunch it, the fifth icon appears for a moment then disappears.
EDIT: I found the answer on some japanese forum. it works. i'm turning this into a How TO thread
dali47 said:
it's a [Request] not a Mod
ok, so i tried editing workspace_screen.xml but that actually changed the number of icons on the home screen. (we learned something useful anyway )
i looked around and found the right part to edit. it's in launcher.xml i changerd iconColumnCount from 4 to 5.
it almost worked. now i'm able to add a fifth icon to the dock, but when i hit Back to save the new icon it disappears both from the dock and the app drawer.
obiously there's more editing to do. i'm not a developer so i mostly count on luck and on anyone who is willing to help out
at least now we know the dock is called AppShortcutZone inside the app. there are a few smali files with this name. i'll try to play with them, but i first need to understand what a smali file is and how to edit it xD
anyway, thanks spacecaker
EDIT: i noticed that when i kill the launcher and relaunch it, the fifth icon appears for a moment then disappears.
EDIT: I found the answer on some japanese forum. it works. i'm turning this into a How TO thread
Click to expand...
Click to collapse
ok thx
btw what did changed the layout in app drawer ?
like its 4X4 but i want it like 5x5 ?
dali47 said:
it's a [Request] not a Mod
ok, so i tried editing workspace_screen.xml but that actually changed the number of icons on the home screen. (we learned something useful anyway )
i looked around and found the right part to edit. it's in launcher.xml i changerd iconColumnCount from 4 to 5.
it almost worked. now i'm able to add a fifth icon to the dock, but when i hit Back to save the new icon it disappears both from the dock and the app drawer.
obiously there's more editing to do. i'm not a developer so i mostly count on luck and on anyone who is willing to help out
at least now we know the dock is called AppShortcutZone inside the app. there are a few smali files with this name. i'll try to play with them, but i first need to understand what a smali file is and how to edit it xD
anyway, thanks spacecaker
EDIT: i noticed that when i kill the launcher and relaunch it, the fifth icon appears for a moment then disappears.
EDIT: I found the answer on some japanese forum. it works. i'm turning this into a How TO thread
Click to expand...
Click to collapse
I also got prob of disappearing 5th icon in dock ) and dont know how to solve :-<
How it works someone here could share?
Wysłano z GT-S5830 z użyciem Tapatalk
devilsking said:
I also got prob of disappearing 5th icon in dock ) and dont know how to solve :-<
Click to expand...
Click to collapse
leo it works
ive got no problem of disapearing
btw you need to try above 10 its funny
Sent from my GT-S5830 using xda premium
devilsking said:
I also got prob of disappearing 5th icon in dock ) and dont know how to solve :-<
Click to expand...
Click to collapse
you need to edit the smali file. chack step 4 in the guide in the first post
Bartas18 said:
How it works someone here could share?
Click to expand...
Click to collapse
check the first post
spacecaker said:
btw what did changed the layout in app drawer ?
like its 4X4 but i want it like 5x5 ?
Click to expand...
Click to collapse
workspace_screen.xml changes the home screen.
i tried changing the drawer but i couldnt find the right file to edit.
i will try again and tell you if it works
dali47 said:
you need to edit the smali file. chack step 4 in the guide in the first post
check the first post
workspace_screen.xml changes the home screen.
i tried changing the drawer but i couldnt find the right file to edit.
i will try again and tell you if it works
Click to expand...
Click to collapse
Throw me your mod please (TouchWiz30Launcher.apk)
spacecaker said:
btw what did changed the layout in app drawer ?
like its 4X4 but i want it like 5x5 ?
Click to expand...
Click to collapse
ok, here you go. this how you get 5x4 or 5x5 app drawer:
- Open \res\xml-mdpi\launcher_config.xml
- Find menuColumnCount="4" and change it to 5 (this is the number of columns)
- Find itemNumOfPage="16" chnage it to 20 if you want 5x4, or 25 if you want 5x5. (this is the number of icons per page)
if want 5x5 you alswo have to do the following:
- Open \res\values-mdpi\dimens.xml
- Find <dimen name="menu_item_height">92.0dip</dimen> and change it to 73.6dip
- Open \res\layout-mdpi\application_boxed.xml
- Find maxLines="2" and change it to 1
- Then build and replace launcher_config.xml and application_boxed.xml and resources.arsc
i will add this with more detail to the guide
SamsungGalaxyAce said:
Throw me your mod please (TouchWiz30Launcher.apk)
Click to expand...
Click to collapse
here i included my favorite setting: 5 icon dock, 5x4 drawer. because with 5x5, the app name can only be 1 line. if you want something different tell me
hit thanks if i was helpful ​
dali47 said:
ok, here you go. this how you get 5x4 or 5x5 app drawer:
- Open \res\xml-mdpi\launcher_config.xml
- Find menuColumnCount="4" and change it to 5 (this is the number of columns)
- Find itemNumOfPage="16" chnage it to 20 if you want 5x4, or 25 if you want 5x5. (this is the number of icons per page)
if want 5x5 you alswo have to do the following:
- Open \res\values-mdpi\dimens.xml
- Find <dimen name="menu_item_height">92.0dip</dimen> and change it to 73.6dip
- Open \res\layout-mdpi\application_boxed.xml
- Find maxLines="2" and change it to 1
- Then build and replace launcher_config.xml and application_boxed.xml and resources.arsc
i will add this with more detail to the guide
here i included my favorite setting: 5 icon dock, 5x4 drawer. because with 5x5, the app name can only be 1 line. if you want something different tell me
hit thanks if i was helpful ​
Click to expand...
Click to collapse
ok thx
i am trying to do 5 dock at my sgs II launcher but there is no
convst v6. 0x3 something that looks like that
other things ive figured out
Sent from my GT-S5830 using xda premium
In cm7.2 fat is not working because not touchwiz in this cm:/
Please help me:/
Wysłano z GT-S5830 z użyciem Tapatalk
Bartas18 said:
In cm7.2 fat is not working because not touchwiz in this cm:/
Please help me:/
Click to expand...
Click to collapse
i dnt think it works on CM
upload link ?

[Tutorial]-ICS-AOKP/CM9-UPDATED-Miscellaneous MODS[Nav bar,Notification header etc]

Hi guys!
After getting a lot of requests by various users of Resurrection Remix and RootBox,I finally decided to do a tutorial on how to make certain kinds of mods.I have been modding for Resurrection Remix for quite some time now and have learnt a lot in the process.I will keep updating this thread as and when i learn new stuff.
What this tutorial teaches and guides you to do:
-ANIMATED NOTIFICATION DROPDOWN BACKGROUND
-NAVIGATION BAR BACKGROUND MOD
-TOGGLES BACKGROUND MOD
-PULLDOWN BAR MOD
-SYSTEM+DIALER BACKGROUND MOD
-LOCKSCREEN HANDLER MOD
MORE MODS WILL BE ADDED AS AND WHEN I GET TIME AND ALSO DEPENDING ON THE INTEREST OF THE USERS.
DISCLAIMER :
> Please be careful.The methods here are totally tested so if anything goes wrong it is probably your fault that you didn't do something correctly.I will give my support but I am not responsible for anything unfortunate that may happen.Don't forget to do a BACKUP before trying anything!
>This is a tutorial to help the daily user in making mods.It might not be the most perfect way to do things,so if you are competent enough and technically sound to build from source please go ahead and read Entropy512's post here to get an idea on the same.My tutorial is aimed at helping everyone make their own mods.
Firstly,I will give the credits of my learning curve to :
GaboWinter (For his EXCELLENT tutorials and awesome FAQ)
Westcrip (For giving us an excellent ROM that changed the way i looked at things)
Yorzua (For his excellent tutorials on theming)
MyLifeRocks10 (For teaching me how to use UFT)
Vreestyle (For being one of the main inspirations and letting me use his zip files as a base whenever required!)
Bajee11 (For guiding me on how to mess around with smali files)
Tigiy (Whose first Hulk mod was the one that triggered my curiosity)
Sun90,Faseeh,LegendZenefy,Kroz,Kicker09 (For being awesome!)
Neerajganga (For forcing and encouraging me to write this tutorial)
To all the others who helped me during this transition of mine.You know who you are!Also a huge thanks to all the developers without whom this wouldn't have been possible.
I'll try to cover all the mods that I have done so far gradually and I'll start with the easier ones.
Some of the tutorials may or may not already be available on the internet but I have been getting too many requests so I'll put everything together here.Remember that i am also NEW here so please dont flame me if i do things differently.However constructive criticism is always welcome!
I would appreciate a Thanks for all this as it took a lot of my time and effort.
So let's get started.
What you need to have installed on your PC :
-Android SDK - Get it here.
-Java Runtime Environment (APKtool needs at least ver. 1.6) - Get it here.
-Notepad++ or Adobe Dreamweaver for editing XMLs.
-Draw9patch.bat [Included in the Android SDK]
-Apktool - Get it here. - I use ICS Apktool to recompile and Original Apktool to decompile.Works great with SystemUI.apk
-Photoshop or GIMP - Get GIMP here (It is a free software).
-APK Multitool v 1.0.5/APK Manager 5.0.2. Get them here. (You can use Apktool for the same functions i think,however I use them both depending on my needs)
-7zip or Winrar.
Please don't ask me questions on how to set up the above as the tutorial is not for that and you will find many tutorials/guides on XDA and elsewhere which explain the same.
What you need to know before doing some of these mods:
-Decompiling and compiling APKs-
There are many tutorials on XDA for this.And it's pretty straightforward.I will just try to explain how to decompile the tricky SystemUI.apk.
I modified TVTV's post for HTC Desire,threw in my bits and wrote the way to do this :
Step 1 (installing the tools):
- Download and install the latest Java Runtime Environment (APKtool needs at least ver. 1.6);
-Download Apk Tool(both Original and ICS Apktool.I linked you to both above.)
Step 2 (preparing to decompile):
- In order to properly decompile/compile SystemUI.apk, you need to install the framework with Apktool.
- Open your root explorer of choice and navigate to /system/framework;
- Copy "framework-res.apk" and "SystemUI.apk" to the SD card, then move them to your PC either via cable or via a software of your choosing.
- Put both "framework-res.apk" and "SystemUI.apk" into the folder where you've extracted Original Apktool;
- Open command prompt (Windows button + R then type "cmd") and navigate to the folder where you have Original Apktool and the framework apk;
- Type "apktool if framework-res.apk". Your file will be processed and the required bits will be "installed" in "C:/Users/<yourusername>/apktool/framework";
Step 3 (proper decompilation):
-For decompiling we will use the Original Apktool.
- Copy your SystemUI.apk from "/system/app" to the folder where you've installed the Original Apktool or copy the SystemUI.apk you wish to mod to the folder where you've extracted Original Apktool;
- Open a command prompt, navigate to the Original Apktool folder, type "apktool d SystemUI.apk" and wait till the original apktool has finished. You should get no errors whatsoever and your apk should now be decompiled into "readable format" in "<yourOriginalAPKtoolfolder>/SystemUI".
Step 4 (proper compilation):
- After making the desired changes in the decompiled apk, it's now time to compile it.
-For compilation we will use the ICS Apktool
-Copy the changed SystemUI folder,SystemUI.apk and framework-res.apk to the folder of ICS Apktool
- Open a command prompt, navigate to the ICS Apktool folder then type "apktool b SystemUI". Your apk will now be compiled to "<yourICS Apktoolfolder>/SystemUI/dist" (again, you should get no errors whatsoever). DON'T USE IT YET!
- Being a system app, SystemUI.apk must first be signed with the proper keys else odds are it won't work. To do that, you need to rename the SystemUI.apk you're editing (the original one) into SystemUI.zip, open it with an archive manager then extract META-INF and AndroidManifest.xml to the "<yourICS APKtoolfolder>/SystemUI/build/apk" folder, then run the "apktool b SystemUI" command again. Your APK will now be built with the proper keys included, and is now fully functional. You may "pick it up" from the "<yourICS APKtoolfolder>/SystemUI/dist" folder;
- You can now flash the resulting (modded) apk to your device either via ADB or via a way of your choosing (.ZIP from recovery etc.).
Have fun and remember to always do a nandroid backup before messing with system files!
-A general idea of what 9.PNG images are.
READ this to know what they are and how to use draw9patch.bat.
For patching 9.PNGs go to Yorzua's thread HERE.
Note: You can either follow all the steps in his tutorial for creating the image and then use the drag and drop(7zip,winrar) method OR skip step 3 of his tutorial and compile the image along with the previously decompiled apk.In other words,if you decompile the apk,then skip step 3 and if you want to use the drag and drop method,then follow the entire tutorial of Yorzua.Usually when a simple 9.PNG patch is required,Yorzua's method can be followed,but when we are editing XML files,we need to decompile the apk and then recompile it as otherswise the XMLs wont be editable as they are encrypted).
So now that we are settled with that,let's begin the real stuff starting with the easiest :
NOTE : I ATTACHED AN EMPTY FLASHABLE ZIP FOR YOU GUYS.
After you mod your framework-res.apk, SystemUI.apk etc you need to place
them(drag and drop the modded apk's) inside the flashable file using 7zip or Winrar.
SystemUI.apk and Contacts.apk goes inside /system/app
Framework-res.apk goes inside /system/framework
After flashing any mod,dont forget to fix permissions!
If you are on a kernel other than Siyah kernel do the following steps :
-Reboot to recovery
-Mounts and storage
-Mount /system
-Flash zip
-Fix permissions
-Reboot system
ANIMATED NOTIFICATION DROPDOWN BACKGROUND​
- Decompile your SystemUI.apk
- Navigate to /res/layout/ and open status_bar_tracking.XML
- Use Notepad++ to change the following lines of code.
Now add this line:
Code:
android:background="@drawable/dropanim"
to
Code:
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
-The "dropanim" is basically the name of the XML file that you are gonna create next.So you can name it whatever you want.
-Save the XML file and navigate to /res/drawable
-Inside this drawable folder , make an XML file named "dropanim".
-This XML file will basically point to all your resources(images).The images should be PNG images.Depending on the number of images you use,the code will be accordingly written.From personal experience,i would say don't exceed 30-35 png image files.Also there are ways to make the animation play only once,to make it play once forward and then reverse infinite number of times.More on that a little later.
-The android:drawable="drawable/anim1" syntax points at the images.Here the image name is anim1.
-You can refer the code below for this XML file.Depending on the number of images you use,you will have to edit the code accordingly.
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="150" android:drawable="@drawable/anim1" />
<item android:duration="150" android:drawable="@drawable/anim2" />
<item android:duration="150" android:drawable="@drawable/anim3" />
<item android:duration="150" android:drawable="@drawable/anim4" />
<item android:duration="150" android:drawable="@drawable/anim5" />
<item android:duration="150" android:drawable="@drawable/anim6" />
<item android:duration="150" android:drawable="@drawable/anim7" />
<item android:duration="150" android:drawable="@drawable/anim8" />
</animation-list>
-Here the 'duration' part signifies the time lapse you want between frames in milliseconds.
-The above code is an example for 8 images.Thus there is anim1 to anim8.
NOTE: - If you want the animation to play for only once,then in the code above replace
Code:
<animation-list android:oneshot="false"
with
Code:
<animation-list android:oneshot="true"
.
-If you want the animation to play in reverse once it has reached the end then firstly keep
Code:
<animation-list android:oneshot="false"
set to false
and add the line :
android:repeatMode="reverse" after
Code:
<animation-list android:oneshot="false"
This line will make your animation play in reverse.
-Save this XML file.
-Now navigate to the drawable-hdpi folder and place your images there.
-Recompile your SystemUI.apk
-And then use ADB or a flashable zip to enjoy your newly modded and animated background!
Preview of one that i had done for Resurrection Remix:
NOTIFICATION DROPDOWN BACKGROUND MOD​
So this one is something that i have been getting many requests for and although i had initially implemented it as a theme , I finally learnt how to make it as a flashable zip.Pretty easy once you know what to change.So lets get on with it.
For this particular mod you will again need to know how to compile and decompile the apk.Also needs proper knowledge of 9 PNGs.The 9.PNG concept is pretty important here as unlike the other mods,the stretching of the image takes place to a large extent to cover the entire area of the notification background,so if it not done properly,then you will see white/transparent empty spaces in the area that is hidden behind the toggles.This happens because the image didn't 'stretch' out to cover the empty part.
Here we go..
-Open Photoshop or GIMP and make the image that you want to set as you dropdown background.This must be a PNG image of size roughly around 536x398 pixels.
Ensure that when you finally save the above image,you save it with a 2 pixel transparent border at the left and right and a 2 pixel transparent border at the bottom.This is because when the picture gets stretched later on,we want the transparent bit to get stretched and not the actual picture as it will result in the distortion of the edge pixels then.If the transparent bit is stretched,there is no problem with that.
So finally after saving the image with a 2 pix border everywhere except the top,we'll get an image of 540x400 pixels.This image should be saved as notification_bg.png.
Size is not a very critical issue but if you exceed you may get a clipped picture.
-Having done that, we need to now define the stretching and content parameters using draw9patch.bat tool from the android sdk.
You can use this image as a reference on how the border pixels will have to be.This is totally upto you and you will be able to see the stretching and preview of it in the draw9patch tool.
Reference image :
{
"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"
}
-Save the 9.PNG as notification_bg.9.png.
Now we need to edit the XML files to point it to our new image.
-For this first decompile SystemUI.apk using the method and tools i explained earlier.
-Navigate to res/layout/status_bar_tracking.xml
-Open it with Notepad++ and change the following code from :
Code:
<FrameLayout android:background="@drawable/notification_tracking_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<com.android.systemui.statusbar.policy.WeatherText android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="40.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</FrameLayout>
to
Code:
<FrameLayout android:background="@drawable/notification_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<com.android.systemui.statusbar.policy.WeatherText android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="40.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</FrameLayout>
-Save the file.
-Now navigate to res/values/drawables.xml and change the line :
Code:
<item type="drawable" name="notification_tracking_bg">#d8000000</item>
to
Code:
<item type="drawable" name="notification_tracking_bg">@drawable/notification_bg</item>
-Save it.Now both your XML files point to the the correct images.
-After this simply recompile the SystemUI.apk and you are done.To flash it you can use my attached flashable zip.
-Enjoy
NAVIGATION BAR BACKGROUND MOD​
-Open up Photoshop or GIMP and make your navigation bar background image that you want to use.It has to be a PNG image of about 540x70 pixels.You can take any image from the net: resize it,crop it,change the tint etc, but it needs to be roughly of that dimension.
-After you are done with that image,you will need to make another image so that it can be used in landcape mode.Now the dimension of the landscape image needs to be 70x540 pixels roughly.Usually once you are done with the portrait background,just rotate it by 90 degrees to get the landscape image.Remember that both need to be PNGs.
-Save the portrait and landscape images with any name.For example i will use "raja_nav_bg.png" for the portrait image and "raja_nav_bg_land" for the landscape image.
-Now,it's time to use those images in our SystemUI.apk.
-To do this first decompile SystemUI.apk using apktool.You will now find a SystemUI folder in your apktool path.
-Copy the two images that you made earlier and paste them in this path:
SystemUI\res\drawable-hdpi
-Now the thing is that we need to edit 3 XML files.All these XML files are located in the layout folder of SystemUI and are related to the navigation bar background.Each of them point to a hexadecimal colour code.We need to change that and make them point to a drawable resource,which in our case are the 2 images that we made.
-To do this first go to SystemUI/res/layout and open the file navigation_bar.xml with Notepad++.
-Change this line :
Code:
<com.android.systemui.statusbar.phone.NavigationBarView android:background="@drawable/nav_bar_bg" android:layout_width="fill_parent"
to
Code:
<com.android.systemui.statusbar.phone.NavigationBarView android:background="@drawable/your_portrait_image" android:layout_width="fill_parent"
Remember that in the @drawable part,we do not have to give the extension of the file.Just the file name.
-Now navigate below in the page near the Frame Layout section that says android:[email protected]/rot90 and add this to the existing code :
Code:
android:background="@drawable/your_landscape_image"
So the existing part becomes something like this after the addition :
Code:
FrameLayout android:id="@id/rot90" android:paddingTop="0.0dip" android:background="@drawable/your_landscape_image" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
-Now save the XML file and close it.
-In a similar and identical manner we need to edit the navigation_bar_naked.xml and navigation_bar_search.xml.
2 edits in each of them.One near the FrameLayout for landscape and the other one at the top for the portrait image.
-After editing all the files,save them and exit.
-Now copy this changed SystemUI folder to ICS apktool folder and recompile it.Follow the steps that i stated earlier on how to recompile and you will have your modded SystemUI.apk
Then either use ADB or a flashable zip file to use the new SystemUI.apk on your phone!
A screenshot of a navigation background mod that i did for Resurrection Remix :
TOGGLES BACKGROUND MOD​
Many users had requested me to put a jet black background behind the toggles instead of the zigzag lines.So here is the way to change them..
- Open up Photoshop or GIMP and make a PNG image/background of 960x180 pixels resolution.If you want it transparent then you can keep it so using Photoshop.Name this image as notify_panel_notification_icon_bg.png.
-Save it somewhere on your desktop
-Now use 7zip or Winrar to open framework-res.apk in view mode.Don't extract it.
-Navigate to framework-res.apk/res/drawable-hdpi and drag and drop the image that you made here, and by doing that you will replace the existing notify_panel_notification_icon_bg.png image of size 14x14.
-Keep the framework-res.apk somewhere safe as we shall be using this one while flashing the mod or with Adb.
So the original image was a 'tile' image of 14x14 pixels and we just replaced it with another image having a dimension of 960x180 pixels.Initially,the tile image was 'repeated' several times using a code in one of the xml files in SystemUI.apk and thus it appeared to be spread out over the area behind the toggles.We need to now disable that as we are using a background of 960x180.
-To do this we need to first decompile SystemUI.apk
-After doing so navigate to the SystemUI\res\drawable folder.
-Open status_bar_ticker_background.xml with Notepad++.
-Change the existing code from :
Code:
<?xml version="1.0" encoding="utf-8"?>
<bitmap android:src="@android:drawable/notify_panel_notification_icon_bg" android:tileMode="repeat"
xmlns:android="http://schemas.android.com/apk/res/android" />
to
Code:
<?xml version="1.0" encoding="utf-8"?>
<bitmap android:src="@android:drawable/notify_panel_notification_icon_bg" android:tileMode="disabled"
xmlns:android="http://schemas.android.com/apk/res/android" />
-Save the XML file.
Note: Incase you want to use a transparent background,then you dont have to edit the XML file as a transparent image of 14x14 pixels in the drawable-hdpi folder of framework-res.apk will give you transparent toggle background.
-After editing the above XML file , recompile SystemUI.apk.
-Now,both your framework-res.apk and SystemUI.apk have been modded and you can use them on your phone and get whatever background you desire.
A screenshot of a purely black toggle background that i made for Resurrection Remix :
PULLDOWN BAR MOD​
This mod is for the bar that we get when we pull down the notification dropdown.This has been done many times before but I will share it nevertheless as some users cannot find what they want.
It is a simple mod that doesn't require editing any XML files.It does however require the patching of a 9.PNG image.
We shall be using Yorzua's method here which will help us in optimizing the 9.PNG image so that the 7zip drag-and-drop method can be used here,rather than going into the lengthy process of decompiling the SystemUI.apk,pasting the unoptimized 9.png in it and recompiling it again). 9.PNG images get optimized on recompiling,but Yorzua's link lets us use a tool which will optimize the image beforehand so that we can just drag and drop it there).
-Firstly open up SystemUI.apk with 7zip or Winrar.
-Navigate inside the drawable-hdpi folder and find the file status_bar_close_on.9.
-Drag it and drop it on the desktop.We will use this file for reference purpose while patching the 9.PNG image.
-Now open up Photoshop or GIMP and make your bar image.It should be a PNG image of around 476x42 pixels(This is variable and the width can be anything within 480 pixels and the height can be within 48 pixels).Save it as status_bar_close_on.png.
-So now we have your PNG ready and we need to make it a 9.png using the draw9patch.bat file in the Android-SDK.Many people prefer to do it with Eclipse but that's just complicated and a miserable way of doing it.
-At this stage,I expect you to have read enough about 9.PNG images from the links i gave at the start of this thread.If you haven't then go and read it as it might be a bouncer otherwise.
-Now open draw9patch.bat and drag the ORIGINAL status_bar_close_on.9.png image that you had taken from the SystemUI.apk and drop it in the tool.
-Observe how the borders of the image are and how the pixels have been drawn at all the borders.Each pixel is important and changing even one of them can result in a big visual difference.These pixels contain the stretching information and changing them can change the whole behaviour of these images.Remember the pattern and the coordinates of these pixels as you will have to need to do the same thing while patching your status_bar_close_on.png.You can change one or two pixels in the left and top border just to see how the image stretches in the right viewing pane of draw9patch tool.
-After you got an idea of these 9.png files,you have to do make the same border so that it stretches properly with your status_bar_close_on.png image.
For reference,you can use this 9.PNG file of mine also :
-After you are done patching the image properly save it as status_bar_close_on.9.png
-Open SystemUI.apk again with 7zip or Winrar and navigate to the drawable-hdpi folder.
-Drag and drop your new 9.png image that you made and overwrite the existing one.
-Close the apk.
-Your modded SystemUI.apk is now ready.
-Use ADB or a flashable zip for getting it on your phone.
A screenshot of the pulldown mod i had made for Rootbox :
SYSTEM+DIALER BACKGROUND MOD​
Most people know this.It is very easy and no XML editing or 9.PNG is required.However you need Contacts.apk for changing the dialer background.
-Simply take your favourite pics of 480x800 resolution.They must be PNG images.
-For the picture that you want to use as the dialer background,name it as
background_dial_holo_dark.png.
-For the picture you want to use as System background(for example Settings background) name it as background_holo_dark.png
-You will need framework-res.apk and contacts.apk for this.
-Using 7zip or winrar open framework-res.apk and navigate to :
framework-res.apk\res\drawable-nodpi
-Drag the background_holo_dark.png that you made and drop it inside this and in doing so you will replace the existing one.
-Close the apk.
-Now open Contacts.apk with 7zip or Winrar and navigate to
Contacts.apk\res\drawable-nodpi
-Drag the background_dial_holo_dark.png that you made and drop it here and replace the existing one.
-Done.Your contacts.apk and framework-res.apk files are now modded and you backgrounds will also change.Simple,isn't it?
Some screenshots of the system+dialer background that i had made for Resurrection Remix :
LOCKSCREEN HANDLER MOD​
This is again an easy mod and no skill required.
-For this mod you will need framework-res.apk
-Make 2 handler icons,one that will be normally be displayed on the lockscreen and the other that it will change to when pressed for unlocking.
-Name the 1st icon as ic_lockscreen_handle_normal.png and the second icon
as ic_lockscreen_handle_pressed.png.
-Remember that both the images need to be PNG images of 162x162 pixels.
-Now open up framework-res.apk with 7zip or Winrar.
-Navigate to framework-res.apk\res\drawable-hdpi and drag and drop the two images above inside this and replace the existing ones.
-Done,you can now close the apk and use your modded framework-res.apk.
You can find some amazing lockrings icon here.Be sure to use the HDPI ones.
A screenshot of these mods :
Nice, great work, mate!
Reserved
Haha thanks legend..forgot to reserve a post there..
SilencerOfLambs said:
Reserved
Haha thanks legend..forgot to reserve a post there..
Click to expand...
Click to collapse
he can actually delete his post
edit: whoopps. mistaken xda for another forum. dont mind me! heh
very well compiled one dude, gr8 work keep it up
Great work mate. Keep it up. :thumbup:
Sent from my GT-I9100 using Tapatalk 2
Thanks all!
You guys were solely responsible for whatever I have learnt!
SilencerOfLambs said:
Reserved
Haha thanks legend..forgot to reserve a post there..
Click to expand...
Click to collapse
Oops, sry about that.. :silly:
When's Part 2 coming?
finally the wait is over .... thanx man
LegendZenify said:
Oops, sry about that.. :silly:
When's Part 2 coming?
Click to expand...
Click to collapse
Weekend mostly
vegeta1 said:
finally the wait is over .... thanx man
Click to expand...
Click to collapse
Thanks mate!
Great tutorial! Keep it up!
I know that a lot of users will use this!
Second, I get less messages to make mods as well. Lol
Now I got more time to explore the rest of XDA
Send from the godfather of smartphones to your face!!
Vreestyle said:
Great tutorial! Keep it up!
I know that a lot of users will use this!
Second, I get less messages to make mods as well. Lol
Now I got more time to explore the rest of XDA
Send from the godfather of smartphones to your face!!
Click to expand...
Click to collapse
Haha honestly..It's much easier to guide people to a tutorial than make mods for everyone as it gets tedious..
And thanks
Fantastic tutorial...exactly what I need and very well explained...this along with Kros tutorial will hopefully help me to theme whatever I see fit! Can't wait for part 2!
Sent from my GT-I9100 using xda app-developers app
somepepe**** said:
Fantastic tutorial...exactly what I need and very well explained...this along with Kros tutorial will hopefully help me to theme whatever I see fit! Can't wait for part 2!
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Pleasure mate
Sent from my GT-I9100 using xda premium
Hi!
I have installed just 4fun a batman's theme. To be honest i dont like it very much. Especially because of that silly bat type icon instead of normal one on lockscreen. How can I turn the default theme back on? I am using RootBox ROM.
Sent from my GT-I9100 using xda app-developers app
Dioktis said:
Hi!
I have installed just 4fun a batman's theme. To be honest i dont like it very much. Especially because of that silly bat type icon instead of normal one on lockscreen. How can I turn the default theme back on? I am using RootBox ROM.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
To get your original look back,you will need to copy your original framework-res.apk,SystemUI.apk and Contacts.apk to the proper places in a flashable zip file and then flash it in CWM recovery.You can get the original files from your ROM zip.You can use the empty flashable zip file i attached in the OP.
framework-res.apk will go in /system/framework
contacts.apk and SystemUI.apk will go in /system/app
Alternatively if you only want to change the lockscreen icons,follow the steps in the OP for the lockscreen mods.
I have attached the default lock rings for you.(Just click on them and you will be able to see it.It's white so it appears invisible..)
Phew Finally
Nice work
Sorry for noob question. How can I run ICS and Original apk tool ?
Arnadel said:
Sorry for noob question. How can I run ICS and Original apk tool ?
Click to expand...
Click to collapse
Ask that question here :
http://forum.xda-developers.com/showthread.php?t=1558171
dude that's great.
could you please make a tutorial about "theme chooser" themes? you know they are really easy to implement and change.

[HOW TO] Transparent Status Bar / Center Clock on 4.2.1 leak (XXUFMB3)

Transparent Status Bar!
Based on Raubkatze's discovery i have found a way to implement this on the 4.2.1 leak
As you'll see there's no tw_super_status_bar.xml, so i've made the same modifications to another file.
1. Decompile SystemUI.apk
2. Open /SystemUI/res/layout/super_status_bar.xml and change android:background to 100% transparent.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.StatusBarWindowView android:background=[COLOR="Red"]"#00000000"[/COLOR] android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
3. Save and close the file.
4. Open /SystemUI/res/values/drawables.xml and edit this line to get transparency you need, for example, 100% transparent:
Code:
<item type="drawable" name="status_bar_background">[COLOR="red"]#00000000[/COLOR]</item>
5. Save and Close
6. Recompile SystemUI.apk
** For signing of system apps, open original app and recompiled app through 7 zip and Drag and Drop META-INF and AndroidManifest.xml from original to recompiled.**
Done now you have the transparent statusbar!
Small hint:
#00000000 - 100% transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
You can get the transparent status bar done from vegeta1's work: http://www.mediafire.com/?xa64he0jkdccpru,dkb75l7sq8nhsjh,s88aw8sbxgp8srr,zigm2i9wscqkn2x
Center Clock in Status Bar!
To start with decompile SystemUI.apk
Navigate to res/layout/status_bar.xml
Look for a line that starts with:
Code:
<com.android.systemui.statusbar.policy.Clock
and delete it.
Then add these lines:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
Under this line:
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Now, your clock will probably be blue, to make it white or to change to another color.
Navigate to res/values/styles.xml
From this line:
Code:
<style name="TextAppearance.StatusBar.Clock" parent= [user=1901967]@androi[/user]d:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">18.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor" [user=1901967]@androi[/user]d:color/holo_blue_light</item>
Change the
Code:
android:color/holo_blue_light
to #FFFFFF for white.
And you can add your own hex code for different colors as well.
Now recompile SystemUI.
Your recompiled SystemUI will be in the /dist folder.
Open the SystemUI in the dist folder, and the normal SystemUI that you decompiled with 7zip.
Drag and drop (DO NOT EXTRACT) AndroidManifest and META-INF from the normal one to the one in dist.
That's it, send your SystemUI through adb or create a flashable zip...
Or copy it to your sdcard, then copy to system/app with root explorer.
Enjoy
More guides coming up.
Reserved
Re: [HOW TO] Transparent Status Bar on 4.2.1 leak
Man, we have to find out all again.
Patience!
Enviado de meu GT-I9300 usando o Tapatalk 2
COuld you please compile that into a CWM file. So we all can use for our OMEGA 44.1. Thanks.
varunkumars said:
COuld you please compile that into a CWM file. So we all can use for our OMEGA 44.1. Thanks.
Click to expand...
Click to collapse
These mods by vegeta1 can be flashed through CWM for any 4.2 Rom:
http://www.mediafire.com/?xa64he0jkdccpru,dkb75l7sq8nhsjh,s88aw8sbxgp8srr,zigm2i9wscqkn2x
masterex567 said:
Based on Raubkatze's discovery i have found a way to implement this on the 4.2.1 leak
As you'll see there's no tw_super_status_bar.xml, so i've made the same modifications to another file.
1. Decompile SystemUI.apk
2. Open /SystemUI/res/layout/super_status_bar.xml and change android:background to 100% transparent.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.StatusBarWindowView android:background=[COLOR="Red"]"#00000000"[/COLOR] android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
3. Save and close the file.
4. Open /SystemUI/res/values/drawables.xml and edit this line to get transparency you need, for example, 100% transparent:
Code:
<item type="drawable" name="status_bar_background">[COLOR="red"]#00000000[/COLOR]</item>
5. Save and Close
6. Recompile SystemUI.apk
** For signing of system apps, open original app and recompiled app through 7 zip and Drag and Drop META-INF and AndroidManifest.xml from original to recompiled.**
Done now you have the transparent statusbar!
Small hint:
#00000000 - 100% transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
You can get the transparent status bar done from vegeta1's work: http://www.mediafire.com/?xa64he0jkdccpru,dkb75l7sq8nhsjh,s88aw8sbxgp8srr,zigm2i9wscqkn2x
Click to expand...
Click to collapse
install this for me work very good http://forum.xda-developers.com/showthread.php?t=1903882
Great job! haven't checked it out in depth that much yet. But it seems like they just ditched the tw_ files then. Wonder why.. however just as good, thoose tw_ was just anoying
Wonder if other SystemUI mods are thesame, like 1% batter, remove/add JB Clear button etc. have to find out later (So litle time from time to time with a pregnat girl)
tsw_sweden said:
Great job! haven't checked it out in depth that much yet. But it seems like they just ditched the tw_ files then. Wonder why.. however just as good, thoose tw_ was just anoying
Wonder if other SystemUI mods are thesame, like 1% batter, remove/add JB Clear button etc. have to find out later (So litle time from time to time with a pregnat girl)
Click to expand...
Click to collapse
As a discovery to make raubkatze's greyscale theming to work.
Especiallly for close button and brightness bar, all i had to do was remove tw from the start.
It's pretty easy.
masterex567 said:
Based on Raubkatze's discovery i have found a way to implement this on the 4.2.1 leak
As you'll see there's no tw_super_status_bar.xml, so i've made the same modifications to another file.
1. Decompile SystemUI.apk
2. Open /SystemUI/res/layout/super_status_bar.xml and change android:background to 100% transparent.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.StatusBarWindowView android:background=[COLOR="Red"]"#00000000"[/COLOR] android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
3. Save and close the file.
4. Open /SystemUI/res/values/drawables.xml and edit this line to get transparency you need, for example, 100% transparent:
Code:
<item type="drawable" name="status_bar_background">[COLOR="red"]#00000000[/COLOR]</item>
5. Save and Close
6. Recompile SystemUI.apk
** For signing of system apps, open original app and recompiled app through 7 zip and Drag and Drop META-INF and AndroidManifest.xml from original to recompiled.**
Done now you have the transparent statusbar!
Small hint:
#00000000 - 100% transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
You can get the transparent status bar done from vegeta1's work: http://www.mediafire.com/?xa64he0jkdccpru,dkb75l7sq8nhsjh,s88aw8sbxgp8srr,zigm2i9wscqkn2x
Click to expand...
Click to collapse
what means compile? how to do that? sorry for noob question...and with what program kan I edit the file?
Re: [HOW TO] Transparent Status Bar on 4.2.1 leak
What transparent is the recommendend to do? I have 4 options ;p
Sent from my GT-I9300 using Tapatalk 2
Re: [HOW TO] Transparent Status Bar on 4.2.1 leak
coolnessQ said:
What transparent is the recommendend to do? I have 4 options ;p
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Well personally I like 75%
Sent from my GT-I9300 using xda premium
Re: [HOW TO] Transparent Status Bar on 4.2.1 leak
masterex567 said:
Well personally I like 75%
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Thnx im gonna choose the 75% ^^
Sent from my GT-I9300 using Tapatalk 2
Re: [HOW TO] Transparent Status Bar on 4.2.1 leak
50% ia nice thx man
Just like the s4
Sent from my GT-I9300 using xda app-developers app
I am experiencing a problem with another device with a stock/vanilla 4.1.1 ROM (ASUS PadFone 2) with creating a transparent status bar. I was hoping some experts here could point me into the right direction...
I can't seem to get my status bar to be transparent. I can change it from black to whatever color I like, blue for example:
- Image
- Image
(Yeah, I've changed the battery icons, connection icons and notification center background with success)
I am changing the HEX colors for the status bar background in SystemUI/res/values/drawables.xml and some status bar and notification center related files in SystemUI/res/layout. The HEX color for full transparency should be #00000000 (AARRGGBB format).
When I use this color, the statusbar stays black (like it is default)...
Do I need to edit /layout/super_status_bar.xml instead, to make it work?
What am I missing here?
Re: [HOW TO] Transparent Status Bar on 4.2.1 leak
After i flash this my status bar completly gone, lol good thing i have a backup
Sent from my GT-I9300 using xda app-developers app
omazi said:
After i flash this my status bar completly gone, lol good thing i have a backup
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I tried the whole apktool stuff by myself, but I don't understand what this should mean:
** For signing of system apps, open original app and recompiled app through 7 zip and Drag and Drop META-INF and AndroidManifest.xml from original to recompiled.**
so I did everything but not that, whatever it means, I just pasted my new systemui.apk into system apps and then all my statusbar was gone. how to do right?
Edit: Copied META-INF and Androidblabla to SystemUI, but when I replaced the SystemUI in System there's no change, just my wallpaper changed...
Added center clock for xxufmb3 tutorial.
Enjoy.
masterex567 said:
Added center clock for xxufmb3 tutorial.
Enjoy.
Click to expand...
Click to collapse
will your completed systemui.apk which is in mediafire work on omega 44.4?
hwjrmrm said:
will your completed systemui.apk which is in mediafire work on omega 44.4?
Click to expand...
Click to collapse
Yes those vegeta transparent mods will work.
Ill compile one for the center clock and add it to first post
Sent from my GT-I9300 using xda app-developers app
masterex567 said:
Yes those vegeta transparent mods will work.
Ill compile one for the center clock and add it to first post
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
flashed, it's work perfectly.:victory:

Categories

Resources