[GUIDE] Enable Softkeys on statusbar on Cyanogenmo 7
Hello Ace - Community!
Since i saw a lot of ROMs with Softkeys in the statusbar enabled and all old guides wich you can find on xda are nearly all closed or deleted , i will show you guys how to enable them . But first a thanks to CoolCatGetHome who actually tells what if have to edit .
For Apocalypse Users notice : Itasoulas and I are already working on it! So please no spams about Apocalypse here!
Preparation:
- An open mind
- A rooted phone
- You must be on Cyanogenmod 7
- Time
- APK Manager : Download this one , it's mine i'm using now and it's working without problems
Download for APK manager : http://www.mediafire.com/?eh6ihj58lafkltx
And notice to follow all steps to have no problems when you do anything!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Instruction:
- Step 1 - First Preparations :
Use a File manager wich supports root-browsing ( for example Rootexplorer ) and go to system/framework. There you will find framework-res.apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now copy the apk to your sd-card .
Connect your device to the pc .
And copy the apk to your pc homescreen .
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Step 2 - Using APK Manager :
Download APK Manager .
Look at the link above or click here => http://www.mediafire.com/?eh6ihj58lafkltx
You should get this after you download the .rar file :
Open the .rar file with WinRar,WinZip or 7zip ( you can google these 2 programms if you don't have them)
Now extract the folder "apk manager" which is inside the .rar file
Inside the folder you will find some other folders.
Place your framework-res.apk into this folder here :
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Step 3 - Decompile and edit the .apk:
Now start the Script.bat
And it will show you this :
Just press a key and skip it
Now you have to select your apk in order to do that , type 22 and press enter
and then type 1 and press enter
We have now select our project
Now type in 9 and press enter
Your apk will decompile now wait until it's finished.
You know when it's finished if you get the chance to type in a new action.
So now the editing:
After you decompile your .apk , go to your apk manager folder and go to projects.
In the projects folder you will find another folder called "framework-res"
Now go to res/values.
In the values folder we have to edit the bools.xml
Now open bools.xml with the good text editor like Notepad ++
After you opened the .xml you have to scroll down and make sure to have this to options set to "true"
So that's it you've enabled the softkeys!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Step 4 - Compile and sign the .apk and make a flashable .zip:
So now make sure you've saved you changes in bools.xml
Now we're going back to the Script.bat ( if you've closed it just open it again and type 22 and select framework-res.apk ,should be 1)
So now we are going to compile the .apk
Type in 11 and press enter
now you will get a message after a time called : Is this a system apk ?
Type in " y " ( of course only y without the signs) and press enter
Another question will show up and again type in " y " and press enter
And now important don't close the Script.bat window and don't press a key
Now we are going into the apk manager folder again and there should be a keep folder
go into the keep folder and delete " resources.arsc "
Now go back to the Script.bat window and press a key
After that we should be again at the beginning where we can type in our commands
Now type in 12 to sign our apk
After the signing is completed close the " Script.bat " window and go to your apk manager folder and into " place-apk-here-for-modding "
There you will find " signedframework-res.apk " rename it to framework-res.apk
So now we are going to make a flashable .zip for your rom:
If already made a zip for you guys , download it here:
http://www.mediafire.com/?2t234w44dr2ck62
Now place your framework-res.apk into the zip under system/framework
And make sure to mount data and system before you flash it!
And also in the first screenshots you see i have the ICS - Softbuttons
In the default system theme there are some ugly system images for the buttons
So if you want to have ICS - Softbuttons images you have to edit your theme
or go to my thread and download some of my themes :
http://forum.xda-developers.com/showthread.php?t=1710742
Edit the Button order :
CoolCatGetHome said:
For changing locations of the home back menu etc keys go to status_bar.xml
Of systemui.apk and move the home_key or other one lines to other location of it
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
- Credits :
- CoolCatGetHome
- Google - for Android
- Samsung - for Samsung Galaxy Ace
- NutellaBanane - for this guide and for providing the needed tools
Buttons - Settings :
If you want to edit your statusbar to bottom ( wich is already there without enabling the buttons )
Go to Tablet settings
There you will find new options for your Softbuttons
Enjoy and have fun !
Fixes :
Your statusbar is not fully visible? ( Icons are shown dark and softbuttons also )
Try this :
- First go to tablet settings ans disable all softbuttons
- Now use your torch app ( CM7 one ) , a notification should pop up and your dark icons should be normal ( Notice you do not have to use your torch app , it just needs a new notification in the statusbar to fix the dark icons )
- Now you can enable the softbuttons again
------------------------------------------------------------------------------------
Your statusbar is completly black?
Try this :
- Set theme to system theme
- Reboot
- Reflash your modded framework-res.apk
- Reboot
- Change from system theme to another theme
- Done!
Try this (second solution for non transparent statusbar and transparent statusbar recommend!):
- Disable all softkeys under cyanogenmod settings -> tablet settings
- Use torch app ( activate torch app to fix the statusbar and deactivate then)
- Enable softbuttons again
Download Patches made for ROMS :
Flash this zips in recovery and don't forget to MOUNT SYSTEM !
Also after you applied the patches and you get some bugs look at my bug fixes above!
- Democracy-ROM
- Cyanogenmod 7.2.0 by TeamAdreno
Is this general tutorial to compile and decompile apk (not just framework-res.apk)?
pandu15 said:
Is this general tutorial to compile and decompile apk (not just framework-res.apk)?
Click to expand...
Click to collapse
http://www.youtube.com/watch?v=oLQynXg8noM
you're welcome.
pandu15 said:
Is this general tutorial to compile and decompile apk (not just framework-res.apk)?
Click to expand...
Click to collapse
yes normally it's general but it did this guide with those screenshots and every single step to make this guide " noob-proof "
But of course the part where i edit the xml is not part of the normal way to decompile and compile a apk
Shadow xD said:
http://www.youtube.com/watch?v=oLQynXg8noM
you're welcome.
Click to expand...
Click to collapse
In my opinion for newbies apk manager is a way easier
For changing locations of the home back menu etc keys go to status_bar.xml
Of systemui.apk and move the home_key or other one lines to other location of it
Sent from my GT-S5830 using xda premium
Can you please do it for the CM7.2 RC3 Based DEMOCRACY ROM which just came out?
please reply.
thanks.
Shadow xD said:
http://www.youtube.com/watch?v=oLQynXg8noM
you're welcome.
Click to expand...
Click to collapse
Thanks dude
NutellaBanane said:
yes normally it's general but it did this guide with those screenshots and every single step to make this guide " noob-proof "
But of course the part where i edit the xml is not part of the normal way to decompile and compile a apk
Click to expand...
Click to collapse
ok I'll try it later
CoolCatGetHome said:
For changing locations of the home back menu etc keys go to status_bar.xml
Of systemui.apk and move the home_key or other one lines to other location of it
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Added to OP
Ace King 34 said:
Can you please do it for the CM7.2 RC3 Based DEMOCRACY ROM which just came out?
please reply.
thanks.
Click to expand...
Click to collapse
Will do it please upload the framework-res.apk from the rom
EDIT : you have to pull the framework-res.apk frome your system/framework folder.
If you just extract it from the rom it won't work
EDIT 2 : you also have to request a ics layouts with RIGHT clock from the democracy dev , if not the softkeys will overlap the center clock
Tnx
Sent from my GT-S5830 using xda premium
can iget help i have no pc now my pc get cracked VGA card and not work can any one makes me soft key this my file http://db.tt/eMLnGgRR
It's easy tutorial for noob like me..
thanks dude now I can decompile and compile apk to get enter key for my mms.apk..
so good
NutellaBanane said:
Will do it please upload the framework-res.apk from the rom
EDIT : you have to pull the framework-res.apk frome your system/framework folder.
If you just extract it from the rom it won't work
EDIT 2 : you also have to request a ics layouts with RIGHT clock from the democracy dev , if not the softkeys will overlap the center clock
Click to expand...
Click to collapse
To the one who wanted softbuttons on democracy , no answer from you? as you see i wrote something back then...
NutellaBanane said:
To the one who wanted softbuttons on democracy , no answer from you? as you see i wrote something back then...
Click to expand...
Click to collapse
hihi. this is the link to framework-res.apk for democracy rom.
http://db.tt/1e1ZhQRV
Sent from here2there
Will no one can help me to make my softkey i have no pc now and i am need 10 days to repear it plz any one make it for me this file what u need
http://db.tt/eMLnGgRR
Sent from my GT-S5830 using xda premium
Related
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.apka 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 #99000000Note: 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 ?
TIme to update this
Older data on howto change manually is in the spoiler below
Hi all,
This guide is split into two parts as of now , part 1 is for changing the settings menu background and part 2 is for changing the backgground for dialer and contacts.
Part -1
may be this method is known to few but im posting this to people who dont know how to change the background image of the settings menu and other few.
Sample screenshots
{
"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"
}
Like it?
here is the method to do proceed with.
Software needed :
1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)
How it works:
We are modifying/replacing an image called "background_holo_dark.png" in the "framework-res.apk" which is responsible for displaying background images in menu.
Step 1:
Use the following adb command below to pull the "framework-res.apk" from your mobile to pc.
Code:
adb pull system/framework/framework-res.apk
Step 2:
Open the framework-res.apk via 7zip and navigate to the following directory
"framework-res.apk\res\drawable-nodpi\", you will see a file called "background_holo_dark.png". Delete the image and dont close the 7zip.
Preparing your own image:
Now use any png image you want to set as background , resize it to 512 x 512 via mspaint or any other image editing software and rename the file to "background_holo_dark.png".
Drag the newly created image file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
Step 3:
Now its time to push the file back to mobile, type the following command in the same command prompt
Code:
adb remount
now type the following
Code:
adb push framework-res.apk system/framework
Step 4:
Now reboot your mobile, you will have the new background image enabled
Part-2
Wanna change the background of the dialer and contacts?? well read below,
Step 1:
Use the adb command (or u can use root explorer) to pull the "Contacts.apk" from your mobile to pc.
Step 2:
Open the Contacts.apk via 7zip and navigate to the following directory
"Contacts.apk\res\drawable-nodpi\", you will see a file called "background_dial_holo_dark.png". Delete the image and dont close the 7zip.
Drag the image (similar to the one created in part 1 of the guide) file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
Step 3:
Now its time to push/copy back the file back to mobile. Copy back the file to the same directory from where it is copied.
Step 4:
Now reboot your mobile, you will have the new background image enabled
Your dialer and contacts shortcut may be missing from your launcher, just drag it back to the homescreen from the app drawer.
Step:5
This step is optional!!! If you do not get those shortcuts, enter cwm and wipe cache and dalvik cache.
Note:
For users who know how to use root explorer (or other file managers) can use the same to copy/paste the framework-res.apk before and after editing.
Sample images are taken with multi dpi, this mod will work with all dpi.
Instructions:
1. Download the zip from the download section below and open it in 7zip.
2. Navigate to the following directory "\mode\system\framework\framework-res.apk\res\drawable-nodpi\".(Sample images on post 2)
3. Change the images "background_holo_dark.png" and "background_holo_dark.png" as per your wish.
4. Flash it
Sample screenshots from aosp rom:
Downloads:
bg mod
credit:
vertimus (thanks to him , he helped finding the right image to replace)
Taking this for modded bg images collection
you can find some ready to use backgrounds in this post ... will be updating this post when i find something beautiful for a background
This only works with cm9 roms?
alexanter the great said:
This only works with cm9 roms?
Click to expand...
Click to collapse
works fully with cm9 and aokp roms. works partially with samsung roms where standard android framework is used.
when you say 'Use the following adb command below to pull the "framework-res.apk" from your mobile to pc' the phone must be connected with the PC?Im mean can't we pull it out with root explorer?
alexanter the great said:
when you say 'Use the following adb command below to pull the "framework-res.apk" from your mobile to pc' the phone must be connected with the PC?Im mean can't we pull it out with root explorer?
Click to expand...
Click to collapse
yes you can, and it is mentioned at the end of the post
I am sorry i did not see,ok now its worked with paranoidandroid thank you its very nice!!
I have the stock rom on my device and tried it on your description to replace the background, but the black background is always shown. The background i added to the "framework-res.apk" will be not shown in the settings.
Is there another way or another kind of doing this for stock roms user?
Or should i install CM9?
KeySonic said:
I have the stock rom on my device and tried it on your description to replace the background, but the black background is always shown. The background i added to the "framework-res.apk" will be not shown in the settings.
Is there another way or another kind of doing this for stock roms user?
Or should i install CM9?
Click to expand...
Click to collapse
This mod works on Samsung roms but only partially. The background changes won't be visible where the touch wiz parts are used. The here are a few screen shots from stock rom
《tapatalked from galaxy s3》
will update the guide soon for samsung roms too
Thank you sir. For this clear instructions
Sent from my GT-I9300 using xda premium
Thanx . Very usefull instruction but can u add the Black BG I want my phone simple
Sent from my GT-I9300 using XDA
sharjackmission said:
Thanx . Very usefull instruction but can u add the Black BG I want my phone simple
Sent from my GT-I9300 using XDA
Click to expand...
Click to collapse
Added to the 2nd post
bala_gamer said:
Added to the 2nd post
Click to expand...
Click to collapse
thanx man keep it up
One question
How to change the BG of the menu
I did ur steps but the menu didnt change
Sent from my GT-I9100 using XDA
sharjackmission said:
One question
How to change the BG of the menu
I did ur steps but the menu didnt change
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
anybody am i the only one who intrested
sharjackmission said:
anybody am i the only one who intrested
Click to expand...
Click to collapse
which menu ?
el_liberator said:
which menu ?
Click to expand...
Click to collapse
when u hit the menu button doesnt change it to backbecause i dont like the grey color
---------- Post added at 12:25 AM ---------- Previous post was at 12:11 AM ----------
sharjackmission said:
when u hit the menu button doesnt change it to backbecause i dont like the grey color
Click to expand...
Click to collapse
anybody
sharjackmission said:
anybody am i the only one who intrested
Click to expand...
Click to collapse
assuming that you are mentioning stock samsung roms settings background its a bit tricky, but will add the guide for it soon.
how can i find this Software needed ??
1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)
shukriee said:
how can i find this Software needed ??
1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)
Click to expand...
Click to collapse
a simple google search will give you those.
here
you can also simply copy past via root explorer if you are not comfortable with adb commands. just dont forget to set the permission as
XX0
X00
X00
is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Status Bar icons are in the SystemUI.apk in /system/app
changing icons in it is to modify this apk
I'm not sure if rom toolbox can do it or not, just to provide information
vittorio92vittorio said:
is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Click to expand...
Click to collapse
You can try and extract the systemUI.apk and then change the .png files with your own. And then zip the folder again and rename the file extension to .apk
It works for me though
Sent From My BioWonder V4
reddvilzz said:
You can try and extract the systemUI.apk and then change the .png files with your own. And then zip the folder again and rename the file extension to .apk
It works for me though
Sent From My BioWonder V4
Click to expand...
Click to collapse
not really need to extract it. just drag and drop and replace the png if you are using like winrar to open the apk
Sent from my GT-I8150 using xda premium
hadidjapri said:
not really need to extract it. just drag and drop and replace the png if you are using like winrar to open the apk
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
I'm using my phone to do that so that's why I need to extract it first
Sent From My BioWonder V4
vittorio92vittorio said:
is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Click to expand...
Click to collapse
hey, i have the GS3 and my rom toolbox says it changed the icon but then its the same old icon. the new icon only appears when it hits 100% but yet ROM TOOLBOX sshowed me each step and graphic of what it would look like
ugore said:
hey, i have the GS3 and my rom toolbox says it changed the icon but then its the same old icon. the new icon only appears when it hits 100% but yet ROM TOOLBOX sshowed me each step and graphic of what it would look like
Click to expand...
Click to collapse
Try replacing the png files in your systemUI.apk with the one you download from romtoolbox. It works for me.
Sent From My BioWonder V4
reddvilzz said:
Try replacing the png files in your systemUI.apk with the one you download from romtoolbox. It works for me.
Sent From My BioWonder V4
Click to expand...
Click to collapse
can you provide step by steps? I went to the systemUI.apk and i do not see the png files
ugore said:
can you provide step by steps? I went to the systemUI.apk and i do not see the png files
Click to expand...
Click to collapse
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
reddvilzz said:
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
Click to expand...
Click to collapse
sweet LMAO can you provide the PC steps lol
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
The pc step almost the same. the pros is only that you don't need to extract the systemUI.apk just open the systemUI.apk with winrar and then just put your wanted png into the systemUI drawable-hdpi. Then put the file in your phone. Just like that.
Sent From My BioWonder V4
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Ok I followed the steps that you layed out. however, the name of the files of the icons I want are the same as the files that were already there. I did notice however, that the icons that i want are in 5% increments such as at 90% of battery the new icon will appear and at 89% the OLD icon will appear. both icon files are in the folder and both have same name
ugore said:
Ok I followed the steps that you layed out. however, the name of the files of the icons I want are the same as the files that were already there. I did notice however, that the icons that i want are in 5% increments such as at 90% of battery the new icon will appear and at 89% the OLD icon will appear. both icon files are in the folder and both have same name
Click to expand...
Click to collapse
Delete the old file. And only insert the one you wanted. If you have 2 file with the same function that will happened.
Sent From My BioWonder V4
reddvilzz said:
Delete the old file. And only insert the one you wanted. If you have 2 file with the same function that will happened.
Sent From My BioWonder V4
Click to expand...
Click to collapse
{
"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"
}
uploaded an image hopefully it shows but just in case, I uploaded screenshots as attachments of the .PNG files
ugore said:
uploaded an image hopefully it shows but just in case, I uploaded screenshots as attachments of the .PNG files
Click to expand...
Click to collapse
Which png that you wanted?
Sent From My BioWonder V4
HTC Explorer
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Can i do this on stock rooted rom of HTC Explorer
reddvilzz said:
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
Click to expand...
Click to collapse
I downloaded battery icon pack from romtoolboxpro but did not install it from there....i went into the root explorer and opened the downloaded pack of battery icon...it contains 10-20-30-40etc...percentages but not complete 1 to 100 .png percentage pictures...what should i do? Because previously my battery bar has from 1-100 percentage png format pictures ...
Sent from my GT-I8150 using xda premium
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Hay man im using rom toolbox pro but i didnt happen to make a backup before replacing the wifi icon and now i want the old one back can you provide me with a solution im using sony xperia p
help
how do i set permissions to the modified systemui.apk i am using asus memo pad 7 it has the same problem
ok so now i have found all the png files in systemui apk folder. Ive noticed there is no carrier logo in carbon is there away to add a png for it ?
How to enable usb mass storage and on-screen buttons in Android 4.x (Windows Users Only)
====================================================
UPDATE:
My new tool is out! Check it out, it does the work for you
http://forum.xda-developers.com/showthread.php?p=40031460#post40031460
A) How:
======
It consists of editing some lines in framework-res.apk which you can extract from your ROM zip (/system/framework) or by using this command with adb (With phone connected via USB)
Code:
> adb pull /system/framework/framework-res.apk framework-res.apk
B) Tools:
=======
- Framework Toolkit by Themike10452 ( Me ) ==> http://www.mediafire.com/?j6ndniep6h8iwch
- XML Editor. I recommend FirstObject XML Editor (Freeware) ==> http://www.firstobject.com/dn_editor.htm
- Java Development Kit ==> http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
C) Steps:
=======
Video Tutorial: http://www.youtube.com/watch?v=9V-Ukles6w0
1 - Download and extract Framework Toolkit, then place your framework-res.apk inside [place-apk-here-for-modding] folder.
2 - Run Apk-Multi-Tool.bat as administrator, press any key to enter options menu, then use option (9) to decompile the apk
3 - Head to [projects] folder > res
4 -
a) Enabling USB Mass Storage:
- Now you are in [res] folder, go to [xml] folder, open [storage_list.xml] with an xml editor
- The 4th line looks like this:
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:maxFileSize="4096" />
Replace it with the following line:
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" android:maxFileSize="4096" />
- Save and go back to [res] folder
b) Enabling On-screen Buttons:
- Now you are in [res] folder, go to [values] folder
- Open bools.xml and look for the following line:
Code:
<bool name="config_showNavigationBar">[COLOR=Red]false[/COLOR]</bool>
Replace false with true, the new line should look like this:
Code:
<bool name="config_showNavigationBar">[COLOR=Green]true[/COLOR]</bool>
;; ;; Now navigation bar is enabled, we can change the bar size by editing [dimens.xml] in the same folder ;; ;;
- To do so, edit lines 14 and 16, set the dip to whatever you like
Example (17 dip):
14. <dimen name="navigation_bar_height">17.0dip</dimen>
15. <dimen name="navigation_bar_height_landscape">48.0dip</dimen>
16. <dimen name="navigation_bar_width">17.0dip</dimen>
Click to expand...
Click to collapse
You can skip line 15, it does not matter
Click to expand...
Click to collapse
5 - Save and exit, go back to main folder, re-open Apk-Multi-Tool.bat, this time use option 11 to compile the edited apk
6 - After it's done compiling it will ask you if you want to add some more files, reply with n
7 - Close Apk-Multi-Tool, run Create_zip.bat as administrator, read on-screen instructions it's very simple
8 - After it's done successfully you can collect your flash-able zip from [final-zip-here] folder
9 - Move the zip to your sd card and flash it via CWM Recovery, reboot, if you enabled USB Mass Storage make sure to change connection
method from MTP to Mass Storage in System Settings
10 - Use ##Cleanup.bat to cleanup all folders (Important if you want to use it again)
Important Do NOT use this toolkit with any other apk, just framework apk
#####################################################################################################################
////////////
Credits:
\\\\\\\\\\\\
My Toolkit includes Apk-Multi-Tool written by raziel23x ==> http://forum.xda-developers.com/showthread.php?t=1310151
Zip creator script was written by me
Does this work on CM9/10? Of course it does!
Leave your comments below and hit thanks if I helped you :good: :cyclops:
i have error
{
"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"
}
Zizo950 said:
i have error
Click to expand...
Click to collapse
You have to insall Java Development Kit on your machine
Here: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
Update: Don't forget to add Java to PATH variable
Here's how to: http://www.youtube.com/watch?v=58ZO_NaAOfU
Themike_10452 said:
You have to insall Java Development Kit on your machine
Here: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
Update: Don't forget to add Java to PATH variable
Here's how to: http://www.youtube.com/watch?v=58ZO_NaAOfU
Click to expand...
Click to collapse
Thank You Is Work Good
Zizo950 said:
Thank You Is Work Good
Click to expand...
Click to collapse
I'm glad to hear it
Solved
Saingpor said:
I got bootloops after flashing update_CWM.zip !
Do i need to sign that apk before make a flashable.zip ?
Or can you give some idea ?
I only try to enable OSB ! ( Stock ICS 4.0.4 ) ( 4.1.B.631)
Click to expand...
Click to collapse
Just follow the video instructions (link in post) and you shouldn't face any problems, the steps include signing the APK and everything,
I use this script myself and no problems. If you have any further problems or questions just let me know, I'll be happy to help.
You can send me your framework-res.apk if you want me to mod it for you.
Well I've released an automated tool to do the job a while ago please check it out
http://forum.xda-developers.com/showthread.php?t=2224784
it supports android 4.0 4.1 & 4.2
Sent from my LT18i using xda premium
auto rotate lockscreen
i try this method to change my xperia sola JB A.1.100 framework-res.apk
to make auto rotate lockscreen like this http://forum.xda-developers.com/showthread.php?t=1525045
after compiling (step 6), i got system_framework-res.apk and the size is same with the original,about 13Mb
but after i run Create_zip.bat, the flashable zip size only 6Mb.
after i flash from CWM, my phone stuck at bootscreen
is it normal that the file size change?
i try alot of method to decompile/compile framework-rest.apk and always stuck at bootscreen
deyanti01 said:
i try this method to change my xperia sola JB A.1.100 framework-res.apk
to make auto rotate lockscreen like this http://forum.xda-developers.com/showthread.php?t=1525045
after compiling (step 6), i got system_framework-res.apk and the size is same with the original,about 13Mb
but after i run Create_zip.bat, the flashable zip size only 6Mb.
after i flash from CWM, my phone stuck at bootscreen
is it normal that the file size change?
i try alot of method to decompile/compile framework-rest.apk and always stuck at bootscreen
Click to expand...
Click to collapse
the file size of the apk should become smaller yes
Sent from my Xperia Arc S using xda premium
deyanti01 said:
i try this method to change my xperia sola JB A.1.100 framework-res.apk
to make auto rotate lockscreen like this http://forum.xda-developers.com/showthread.php?t=1525045
after compiling (step 6), i got system_framework-res.apk and the size is same with the original,about 13Mb
but after i run Create_zip.bat, the flashable zip size only 6Mb.
after i flash from CWM, my phone stuck at bootscreen
is it normal that the file size change?
i try alot of method to decompile/compile framework-rest.apk and always stuck at bootscreen
Click to expand...
Click to collapse
if your ROM is odexed this won't work because the apk needs to be signed with the original build key. so this method only works for deodexed ROMs.
Sent from my Xperia Arc S using xda premium
Hi guys....
In this thread I'll try to learn you HOW TO MOD framework, settings (backgrounds, icons, colors) and how to use APKtool.
update 05/10/2013 !!!
O.K guys I found for you few excellent guides and tutorials.
Like always, post your questions here and we'll try to solve it together.
Update Zip creator/modifier
Great tool on windows to create and edit elements of updates zips
ADW Themes
If you want to create AWD themes - great tutorial...
I've got many PM from guys who want to theme their apps but dont't know where to look and what to modified so....read this.
this is a excellent way to find out where to look and what to edit.
Wanna learn more about XML files?
Well , here we go...
What is an XML?
Wikipedia link to learn and understand general things and facts about XML files.
you will need:
1) A computer
2) The app you want to edit
3) Latest Java Development Kit (JDK) (Download and Install with default settings Java
4) Notepad++ Notepad++
5) The Framework-res.apk and SemcGenericResUxp.apk from /system/framework
6) ZipSigner (for signe your apps) ZipSigner
So let's start...
Download APKtool from here Click me
Copy/extract APKtool to C:\Android\APK
Copy framework-res.apk and SemcGenericResUxp.apk from your system/framework folder to C:\Android\APK
and follow this tutorial to set your environment so we could proceed "Click me"
So, you set environment and we could proced ; (you'll have to do that from above only one time )
*** FIRST ONE ***
1. How to change settings background to white (or to use light theme - to be precise):
We'll start with this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And end with this:
First copy settings.apk to C:\Android\APK
open cmd prompt ("SHIFT"+right click on empty space and select open command window here
...and write this to decompile settings.apk
apktool d settings.apk
Close cmd window and open newly created folder "settings" (it's in the C:\Android\APK)
Open \settings\res\values\styles.xml (open it with Notepad++)
You'll see this :
So..we have to add ".Light" to our style.xml file(to activate/select white theme) and we MUST change color to our fonts/text
to white (I guess it would be hard to read white text on white backgroung).
We will add ".Light" in every theme style and add ff000000 to set our text to black.
For example - on the left side is black settings and on the right is what we need - compare those two styles.xml.
You'll notice that I add word ".Light" to change this part/style to use light/white theme - we'll do that for every style in this file.
And the most important is third line on selected text - #ff000000.
With "#ff000000" we are telling our device to use black colour for text.
It's not hard at all....just continue to read.
You'll get all when you compare your style.xml to this one:
Here is complete style.xml , download it and compare this one with yours.
Just open both files and add ".Light" and "#ff000000" to every stile you see I've change.
https://app.box.com/s/ezd4k68li6g6f1mqp8u2
After you change all style in style.xml it's time for recompiling.
Again, open cmd prompt ("SHIFT"+right click) and write :
apktool b settings (without ".apk")
If you did all like you should you won't get any error.
Now open c:\Android\APK\dist
and you'll see settings.apk.
Copy it to your device
Wait......
It's not finished
As settings.apk is system app we have to sign it.
Open ZipSigner on your device and :
1.click "Choose In/Out...." - find and select your settings.apk (the one you just copied)
2.click "Key/mode": select "platform"
3.click "Sign The File"
........wait......
...and that's it, now just find your newly MODed and signed file and simple install it like any other app.
Next tutorial : how to change solid background colour to show your picture (any picture) in "calls" "email" "settings" clock" - MOD framework-res.apk....
Something like this:
Or even this...hahaha
update 05/10/2013 !!!
edit .9.png file correctly!
Remember, decompile apk and then edit .9.png files!
If you open the .9.png in the decompiled app and edit it with "Gimp" or "Photoshop" while leaving the pre-drawn boarder there, you'll be able to recompile the apk with a properly edited and themed .9png
How to edit smali files!
This is for advanced users or developers.
I'm still learning and trying to understand smali files so I won't trying to get smart ...
I'll share one great thread (TUTORIAL) and we could learn together.
tnx to @Yorzua for this awesome tutorial.
...and do awesome things like this :
SMALI editing TUTORIAL
Another nice tutorial for smali editing (beginners friendly)
SMALI editing TUTORIAL for beginners
I put this to the end of this thread purposely - editing or even understanding smali files isn't simple.
So go one step by step, don't try to edit smali files immediately after you learned how to decompile apk file - you'll failed and probably quit from any other MODing, theming or editing.
All great developers spent hours and hours to learn all this so you can't expect you'll know everything after 15min.
You'll get errors while compiling and decompiling and that"s perfectly normal, don't get angry...
Read what apktool "said" , fix your mistakes and move on.
It's very important to go step by step , especially when you trying to find bug.
Fix or edit line by line and compile after each part, compile and test app.
That's all for now guys...
see ya later
..............................................................
Tnx to: @niaboc79 (for tips and learning me some tricks) @abo hani (I used his settings.apk for screenshots) @Xda For many stuff
If I helped you - say tnx ...:thumbup:
if you need help...well just ask here
nice funky
GoodJob Funky
Tnx guys
Thanks guys...
It's not much and I hope you could understand what I wrote.
I just wanna give back something to this great community which gave me so much
Really nice tut
Just, please, guys when someone finish editing - let me know is it o.k, should I add something or you completed all without any problems
Tnx
Sent from my LT26i using Tapatalk 4
thanks very much for this easy tutorial, and yeah, it was way easier than others that i saw in some threads....
im bookmarking ur thread for now, and sure one day i'll be back and start up with practice
i love to mess around with the phone as i learned few things until i reach the level of an DEV (why not )
:good:
Tonight I'll post a tutorial for framework editing.
[HOW TO] change all backgrounds to your favourite picture.
In settings, email, clock, call....
Your background will stay there which ever settings or clock you using, you can change your settings.apk but your background will stay...
(as long as you don't change framework).
See ya tonight
Sent from my LT26i using Tapatalk 4
Actually.. Mate, when r u releasing ur work?? I'm looking for a bug free build of Honami settings.. Tried all of em in Themes secion.. Apparently they all have the stuttering when sliding for the fist time(just like in .200 and .211 builds).. Do urs too have it??
Hmm....mine work?
My work, for now , is helping guys in their ROMs.
I don't know that much to BUILD ROM from the sources.
So the question is do we really need one more rom based on stock 96?
I think we don't.
When I learn all stuff I need (and there's plenty stuff to learn - smali for example) I will build something.
But that won't be (most likely) for XS but for Z1.
Swipe settings, modified Home launcher will have all options like we saw in 2.0.5b.
Modified framework and many stuff more.
That's why I prepare everything.
I just don't wanna release clone of a clone...
If I can't make something really different I'll rather skip it for now.
Sent from my LT26i using Tapatalk 4
@funky0308, mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha thanks mate!
EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^
slink722 said:
@funky0308, mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha thanks mate!
EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^
Click to expand...
Click to collapse
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.
I'll write one for stock firmware.
Sent from my LT26i using Tapatalk 4
funky0308 said:
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.
I'll write one for stock firmware.
Sent from my LT26i using Tapatalk 4
Click to expand...
Click to collapse
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak!
slink722 said:
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak!
Click to expand...
Click to collapse
There is no my new ROM guys...
If you heard somewhere something you could only heard that I helped some guys.
There was some plans but as I said - nothing for now.
No sense to release same ROM or copy of the copy...
If I succeed on some things I'm working on - then I'll release something but only if I succeed.
Sent from my LT26i using Tapatalk 4
@funky0308 Im Studying Java and Smali.. I Know maybe 6% Already.. Buy suggestion on your case, if you want to port or to be themer. use Virotus Ten studio. It Can Generate the smali to java class. but you need to edit it on smali.
Tnx mate, very nice
Sent from my LT26i using Tapatalk 4
funky0308 said:
Tnx mate, very nice
Sent from my LT26i using Tapatalk 4
Click to expand...
Click to collapse
Mate? Im Getting Dizzyy. could you help me Changing it to white? my Settings// Im getting Crazy with my developments. Kernels + ROM.. Could you help me on my white? Setting
---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------
Nvm.. Im Done.
How you change wifi and bluetooth on off switch????
Which file i need to edit to remove on and off in round switch
Sent from my ST21i2 using xda premium
I want to edit on off switch like you
Help me
AND also how to choose different backround color for on off switch
Sent from my ST21i2 using xda premium
Hello sir plz help me to port ios like on/off switch
I ported by editing framework-res.apk
And i have a problem
1.how to remove on off in round switch
2.how to change backround colour
To red
And how to resize it to correct round shape and small one
Sent from my ST21i2 using xda premium