in the name of god
hi all
as you know , we have two select in usb conect mod in cm 10
media device
camera
{
"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 just mtp in miui 5 (jb)
i think this simple guide can help u
you need :
apk tool ( & apk manager & ...) - to decompile and recompile framework-res.apk
notepad++ - to edit the xml file
root explorer - to copy file from rom to sd card
Click to expand...
Click to collapse
================================================================================
1- copy framework-res.apk to your pc from /system/framework
2- decompile it with apk tool
3- go to created framework-res.apk/res/xml/
4-open " storage_list.xml " with notepad++
5- in this line
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:maxFileSize="4096" />
add this line Among its
Code:
android:allowMassStorage="true"
after edit you must have this
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" android:maxFileSize="4096" />
screen shot
6- save edit and recompile the framework-res.apk
7- copy build.prop in pc and open it with notepad++
8- for cm 10
edit this line
Code:
persist.sys.usb.config=mtp
to
Code:
persist.sys.usb.config=mass_storage
for miui 5 (jb)
edit this line
Code:
persist.sys.usb.config=mtp
to
Code:
persist.sys.usb.config=mass_storage,adb
9- save change and replace build.prop and framework-res.apk in rom
you can putt them in flashable zip and install with recovery (attached for u)
hit the thank button if i help u
reserved
sean.paul said:
reserved
Click to expand...
Click to collapse
test miui v5 3.4.26 NOT WORKING!!!
tankyou man
thank you(damet garm dadash)
Works nice on Miui V5 3.5.4
Sent from my LT18i
Trollizas said:
Works nice on Miui V5 3.5.4
Sent from my LT18i
Click to expand...
Click to collapse
Sadly, this doesn't work for my Xperia Z. Please help, there's no mass storage option even after flashing the zip.
It Works!
Was using FreeXperia (234) CM10 but sadly enough no mass storage support. Followed this article from sean.paul and it worked out great!
See attached file for installable zip (CWM) for FXP234.
Thanks! :good:
phagenauw said:
Was using FreeXperia (234) CM10 but sadly enough no mass storage support. Followed this article from sean.paul and it worked out great!
See attached file for installable zip (CWM) for FXP234.
Thanks! :good:
Click to expand...
Click to collapse
it works thanks
works very well
thank you for this :highfive:
MIUIv5 [email protected]
Thank you!!
It works perfectly in a Galaxy SII with MIUI v5 3.11.8 :laugh:
is it working on cm10.1? or miui jb 4.2.2?
looking for working mass storage on JB4.2.2
Sent from my C5303 using Tapatalk
sean.paul said:
in the name of god
hi all
as you know , we have two select in usb conect mod in cm 10
media device
camera
and just mtp in miui 5 (jb)
i think this simple guide can help u
================================================================================
1- copy framework-res.apk to your pc from /system/framework
2- decompile it with apk tool
3- go to created framework-res.apk/res/xml/
4-open " storage_list.xml " with notepad++
5- in this line
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:maxFileSize="4096" />
add this line Among its
Code:
android:allowMassStorage="true"
after edit you must have this
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" android:maxFileSize="4096" />
screen shot
6- save edit and recompile the framework-res.apk
7- copy build.prop in pc and open it with notepad++
8- for cm 10
edit this line
Code:
persist.sys.usb.config=mtp
to
Code:
persist.sys.usb.config=mass_storage
for miui 5 (jb)
edit this line
Code:
persist.sys.usb.config=mtp
to
Code:
persist.sys.usb.config=mass_storage,adb
9- save change and replace build.prop and framework-res.apk in rom
you can putt them in flashable zip and install with recovery (attached for u)
hit the thank button if i help u
Click to expand...
Click to collapse
Didn't work on xperia miro running cm10 fxp 221. please help
Related
Many of us having problem with this SemcGenericUxpRes.apk
All of us can decompile it but some of us having problem in recompile it even if we didn't change anything.
We got that error everytime we try to recompile SemcGenericUxpRes.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"
}
That's why I want to make a TUTORIAL on How to Decomplie/Recompile SemcGenericUxpRes.apk :laugh:
My fixing method working for me, hope will be working for you all too. :fingers-crossed:
So here we go... :good:
What we need :
1. Any Decompiler/Recompiler Tool (in my case ApkTool)
2. Notepad++ (if you OS is windows)
3. Your SemcGenericUxpRes.apk
4. A Working Brain
5. Patience :silly:
==> First of all decompile your SemcGenericUxpRes.apk
ApkTool Command is :
Code:
java -jar apktool.jar d SemcGenericUxpRes.apk SemcGenericUxpRes
==> Now goto SemcGenericUxpRes\res\values Folder
==> Now open Notepad++ and Type the below texts on that window
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="BDFreak">true</bool>
</resources>
It will be look like this...
==> Now save it with bools.xml name (in notepad++ goto File > Save As... than type bools.xml in file name and save it)
==> Now copy bools.xml file and paste it in SemcGenericUxpRes\res\values Folder
==> Now open public.xml file with notepad++ from SemcGenericUxpRes\res\values Folder
==> Find <public type="dimen" name="semc_tab_indicator_icon_max_height" id="0x02070016" /> line in public.xml file (in notepad++ goto Search > Find and type <public type="dimen" name="semc_tab_indicator_icon_max_height" id="0x02070016" /> and press Find Next Button)
==> Under the line type this line
Code:
<public type="bool" name="BDFreak" id="0x02080000" />
It will be look like this...
==> Now save public.xml file
==> Now try to recompile your SemcGenericUxpRes.apk, it will be recompiled without any error
ApkTool Command is :
Code:
apktool b SemcGenericUxpRes SemcGenericUxpRes.apk
==> Whoaaaaa! You did it man, CONGRATULATION!!! :good:
If you like my tutorial or it helped you in any way than don't forget to press the THANKS :good: button
AW: [TUTORIAL] How to Decomplie/Recompile SemcGenericUxpRes.apk [15/3/2013]
Nice idea!
I never tried any SemcGenericUXP.apk modification, but I assume that one really works. Hehe
Oh, and sorry if I choose another bool... I rather want Chuck_norris set to true
jader13254 said:
Nice idea!
I never tried any SemcGenericUXP.apk modification, but I assume that one really works. Hehe
Oh, and sorry if I choose another bool... I rather want Chuck_norris set to true
Click to expand...
Click to collapse
I found many thread about recompile problem of SemcGenericUxpRes.apk, but i didn't get any good solution.
Thtat's why I post this thread...
An easier thing would be to just delete the public.xml instead of modifying it. IT will be regenerated during recompiling of the apk. Saves you from unfortunate errors.
emwno said:
An easier thing would be to just delete the public.xml instead of modifying it. IT will be regenerated during recompiling of the apk. Saves you from unfortunate errors.
Click to expand...
Click to collapse
Ow... I don't know this... Thanks for your info. I will give it a try...
Finally! Thanks!
oh yeah ! finally works ! thanks !
XperienceD said:
Finally! Thanks!
Click to expand...
Click to collapse
godlesplay said:
oh yeah ! finally works ! thanks !
Click to expand...
Click to collapse
You both are welcome...
BDFreak said:
You both are welcome...
Click to expand...
Click to collapse
Thanks for this bro....
if you guys can help me out.... I tried editing the Semc file of JB for XSOLA and faced some error but with method stated above it recompiled properly but then when i pushed it to my fone and after settings permissions my fone is stuck at boot animation only not moving further.... what could be the problem???
@[email protected] said:
Thanks for this bro....
if you guys can help me out.... I tried editing the Semc file of JB for XSOLA and faced some error but with method stated above it recompiled properly but then when i pushed it to my fone and after settings permissions my fone is stuck at boot animation only not moving further.... what could be the problem???
Click to expand...
Click to collapse
Bro, I don't have this device, that's why I can't try myself and can't help you as I am not that advanced member. I just can say sorry because I can't help you...
Awesome job on this, I kept trying myself without success, but now, finally it works
Thanks dude
Thanks for the nice tut:good:
Good work
Thanks.. very helpful and successful :good:
{
"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"
}
Hello, i just try to make my phone like a phablet/tablet with 4.0.4 or 4.1.2 android os last time, but i don't know i can make it a simple or not.
But now i can make it a "pop up manipulation" with some background manipulation too. So, here we go the tutorial will start now!
The first of this tutorial you must know about :
1. How to decompile/compile the apk file (don't ask here, you can search on google how to do that)
2. How to coding a xml file with some code
3. You must have a Apktool/ApkManager/ToolAlite by KuyaGaol
4. You must have a JDK and Latest Net framework for run Apktool/ApkManager/ToolAlite by KuyaGaol
5. You must take a beer! lol
Oke the first method is :
1. Download my Floating.zip
2. Pull the Framework-res.apk and SystemUI.apk
3. Do "if framework" on your Apktool/ApkManager/ToolAlite by KuyaGaol
4. Decompile SystemUI.apk
5. Extract my Floating.zip to your drawable directory. (you can extract on "drawable" or "drawable-mdpi" folder).
6. Open status_bar.xml from /res/layout/here and find this code, modify and save :
Code:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon"
and add this line code :
Code:
android:background="@drawable/trans"
or paste my line :
Code:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#00000000" android:gravity="center" android:id="@id/date" android:background="@drawable/trans" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
7. Open status_bar_expanded.xml from /res/layout/here and find this code, modify and save :
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical"
and add this line code :
Code:
android:background="@drawable/bg"
or paste my line :
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:background="@drawable/bg" android:focusable="true" android:descendantFocusability="afterDescendants"
8. Open status_bar_tracking.xml from /res/layout/here and find this code. modify and save :
Code:
<View android:background="@drawable/shade_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" />
and change to this line :
Code:
<View android:background="@drawable/shade_bg" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_weight="1.0" />
Find this line :
Code:
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
and change to this line :
Code:
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/trans" android:scaleType="fitXY" />
9. Recompile your SystemUI.apk project and push it to your phone to the /system/app directory
Note :
- If you have any error upload your log.txt here from apktool
- If you have a force close systemui upload your logcat here from your device
Thanks To :
- Rizalien
- Official Group Galaxy Young Indonesia
- Official Group Sony Xperia X8 Indonesia
- Tiny Anastasia Development Group
- DCSMS
- and YOU!
Once again an awesome job from you bro!! :good:
Many THANKS for this!
wow
nice i will try this one
Does it work on CM10
Sent from my E15i using xda premium
Does this work with Cm7
Sent from my E15i using xda app-developers app
akoypinoy said:
nice i will try this one
Click to expand...
Click to collapse
thx dont forget to if framework
Vardaan007 said:
Does it work on CM10
Sent from my E15i using xda premium
Click to expand...
Click to collapse
i dont know, cause i never try cm9/cm10. if you want to try just do it, dont forget to make a backup. if success with it, tell me asap so i will edit my post
petrukgrinder said:
thx dont forget to if framework
i dont know, cause i never try cm9/cm10. if you want to try just do it, dont forget to make a backup. if success with it, tell me asap so i will edit my post
Click to expand...
Click to collapse
OK i'll try it for you soon and tell you asap!!!!!!!:laugh::highfive:
Doubt + Thanks
Hi bro, 'if framework' command how it works?
I know how to decompile and edit an apk but, I have to copy an file to ApkTool dir?
Sorry my bad english and I hit button thanks
Is a question am asking if u can help..
Any status bar app for Android 2.1 e15i...Help
Sent from my E15i using xda app-developers app
andyblessing said:
Is a question am asking if u can help..
Any status bar app for Android 2.1 e15i...Help
Sent from my E15i using xda app-developers app
Click to expand...
Click to collapse
Use omega statusbar app from market..
cool
I'm using Galaxy Y
I'm using Galaxy Y, I am very interested in your status
Can you make me one for the Galaxy Y does not
Tks :good:
Noob question my statusbar dissapear,logcat say its about not match shared id bla bla.its my first xml editing.Tia
Im using galaxy y s5360 cm 7 by percy.
Sent from my GT-S5360
thank you bro!
Edit:how to move carrier label aka cyanogenmod 7 word to the bottom of floating png?thanks in advance
Sent from my GT-S5360
i have mod in cm7...but there are problem ...when click settings button to fc status bar
how can I solve problem...?
Thanks
aldzi said:
cool
Click to expand...
Click to collapse
can i get ur statusbar and lidroid-res.apk
Looks pretty awesome. I'm going to try if I can get it working on my Galaxy Young :fingers-crossed:
I'll try this at work. hope it will work with my sgy...
Sent from SgY Evo-x 4.2 using xda-developers app .... btw, i'm a girl, don't call me sir... ;p
Nice guide om, i'll try it for SGW :thumbup:
Hi friends and visitors xda. Well I'll pass on to you a bit adding apks in your Settings. I tried to do the best possible way to understanding all, hope you like it and read it carefully. Let's start
Requirements:
Virtuous Ten Studio
Apktool
Install Framework-res.apk
Installation SemcGenericUxpRes.apk
This tutorial works on Custom roms and stock roms based firmware 587. Devices MDPI and HDPI! just what we need to have is a little attention to codes in public.xml file
In my opinion the VST and most complete program for editing in general .. then the procedure was done for him!
*Decompile your Settings.apk
*After decompile ... check the folder >>>> res / values / strings.xml <<<< edit it. See the image below
*Add the code below to your Strings.xml.
<string name="loc_based_wifi">Location Based Wi-Fi</string>
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"
}
*Now open Public.xml is add the following code below
<public type="string" name="loc_based_wifi" id="0x7f0b0656" />
Click to expand...
Click to collapse
*Then open the folder and xml file settings_headers proucure the open and see where the code will be added below!
<header android:icon="@drawable/ic_wifi_lock_signal_4" android:title="@string/loc_based_wifi">
<intent android:targetPackage="com.sonyericsson.android.locationbasedwifi" android:action="android.intent.action.MAIN" android:targetClass="com.sonyericsson.android.locationbasedwifi.LbwPreferenceActivity" />
</header>
Click to expand...
Click to collapse
*Now place the images in the following folder drawable-MDPI
*Once added the images in drawable-MDPI folder ... You will compile your Settings.apk according to the program you are using for editing. In my case as I use the VST I compile my file in Build all.
Compiling ...
If all goes well will compile the following message appears telling you that everything went well and without errors!
Screenshot Xperia Mini Pro
Installation mode
Install with the flashable zip apk placing the Wifi Settings and location-based app folder in the zip with Root explorer or giving the permissions [rw-r--r--]
Ready. I hope everything goes well in the settings of you ... look carefully the hexadecimal code in public! is and of course, give me a Thanks kkkk
Credits >> @saqib nazm / @M4ST3R-V
Until next time friends.
Great, i will try on my touchwiz based rom for s3 mini :laugh: :good:
JynAlek said:
Great, i will try on my touchwiz based rom for s3 mini :laugh: :good:
Click to expand...
Click to collapse
Thank you. Test and answer me to know if everything went right.
if this tutorial can work on a custom rom cyanogen base cm10.1 ...
D2Y aka E said:
if this tutorial can work on a custom rom cyanogen base cm10.1 ...
Click to expand...
Click to collapse
I have not tested ... but I think yes you can :good:
Marília de Oliveira said:
I have not tested ... but I think yes you can :good:
Click to expand...
Click to collapse
okay I'll try my review later if this works on a custom rom that I use
D2Y aka E said:
okay I'll try my review later if this works on a custom rom that I use
Click to expand...
Click to collapse
Okay more and you get better and change the original settings.apk from the beginning. anything send me your settings if you do not get. good luck :good:
I want to delete this thread
CM7 Guide
CM 7
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"
}
Steps -
1 - You have to decompile Framework-res.apk.
2 - Open res/values/bools.xml
3 - Find this
<bool name="cm_default_has_soft_buttons">false</bool>
4 - Change it to
<bool name="cm_default_has_soft_buttons">true</bool>
5 - Then recompile framework-res and Put it to Framework folder in you phone.
6 - Reboot
CM11 Guide
CM 11
Screenshots -
Steps -
1 - You have to decompile Framework-res.apk.
2 - Open res/values/bools.xml
3 - Find this
<bool name="config_showNavigationBar">false</bool>
4 - Change it to
<bool name="config_showNavigationBar">true</bool>
5 - Then Open res/values/dimens.xml
6 - Find
<dimen name="navigation_bar_height">28.0dip</dimen>
<dimen name="navigation_bar_width">28.0dip</dimen>
7- Change it to
<dimen name="navigation_bar_height">26.0dip</dimen>
<dimen name="navigation_bar_width">26.0dip</dimen>
8 - You can change 28.0dip as You Want. (I like 26.0dip)
9 - Then recompile framework-res and Put it to Framework folder in you phone.
10 - Reboot
Reserved
..
On cm 11 there is no need for this complicated method.
Just type following line in end of build.prop.
qemu.hw.mainkeys=0
After this its look like
GREEETZ FROM TEAM-OPTIMA!!!
-CALIBAN666- said:
On cm 11 there is no need for this complicated method.
Just type following line in end of build.prop.
qemu.hw.mainkeys=0
After this its look like
GREEETZ FROM TEAM-OPTIMA!!!
Click to expand...
Click to collapse
Sire, which cm rom u r using now ?plz give me the link nd is their any bugs in that ?
Last jenkins,i dont share links anymore,sorry.to much peeps cant understand why its not for public.
GREEETZ FROM TEAM-OPTIMA!!!
CM11
imElectronica said:
Sire, which cm rom u r using now ?plz give me the link nd is their any bugs in that ?
Click to expand...
Click to collapse
LINK REMOVED
Try at your own risk.
Its not good to share links,its not for public,better u remove the link.its only a suggestion,but its your choice.
GREEETZ FROM TEAM-OPTIMA!!!
-CALIBAN666- said:
Its not good to share links,its not for public,better u remove the link.its only a suggestion,but its your choice.
GREEETZ FROM TEAM-OPTIMA!!!
Click to expand...
Click to collapse
why sire its not public ??
imElectronica said:
why sire its not public ??
Click to expand...
Click to collapse
see
http://forum.xda-developers.com/showpost.php?p=53175708&postcount=127
please stop asking - iv had enough of it in the general thread
If you read the threads you will have all the answers
keep threads on topic please - this thread is meant to be for adding softkeys to the given roms not for any other discussion
gkasunkodagoda said:
CM 11
Screenshots -
Steps -
1 - You have to decompile Framework-res.apk.
2 - Open res/values/bools.xml
3 - Find this
<bool name="config_showNavigationBar">false</bool>
4 - Change it to
<bool name="config_showNavigationBar">true</bool>
5 - Then Open res/values/dimens.xml
6 - Find
<dimen name="navigation_bar_height">28.0dip</dimen>
<dimen name="navigation_bar_width">28.0dip</dimen>
7- Change it to
<dimen name="navigation_bar_height">26.0dip</dimen>
<dimen name="navigation_bar_width">26.0dip</dimen>
8 - You can change 28.0dip as You Want. (I like 26.0dip)
9 - Then recompile framework-res and Put it to Framework folder in you phone.
10 - Reboot
Click to expand...
Click to collapse
I M USING STOCK ROM THEN HOW SHOULD I ENABLE IT??
cwm
akki jain said:
I M USING STOCK ROM THEN HOW SHOULD I ENABLE IT??
Click to expand...
Click to collapse
flash this with cwm
Hi Geeks
Here's a small tutorial to provide colorization to Battery,Data Usage and Ram bar
Requirements:
1. Apktool or derivatives
2. Settings.apk
3. A good text editor
4.A framework with colorizable support . Link for framework . || Link for tut by BDFreak
5. Little common sense,as always
Click to expand...
Click to collapse
Tutorial:
1. Decompile Settings.apk
2. Download the Tutorial.zip in attachments View attachment Color_Settings_tut.zip
3. Replace the LinearColorBar.smali from downloads into your smali\com\android\settings\applications folder
4. Place the sonymobile folder inside smali\com.
This will make your Ram Curve color changing according to theme accent.
5. Now, downloaded zip inside resources and paste the three pngs inside res drawable-nodpi or drawable-hdpi folder of your Settings.
semc_progress_bg_holo_dark.9.png
semc_progress_primary_holo_dark_colored.9.png
semc_progress_secondary_holo_dark_colored.9.png
Click to expand...
Click to collapse
6. Now, go to res/drawable folder and open data_usage_bar.xml and replace everything with this code
PHP:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background" android:drawable="@drawable/semc_progress_bg_holo_dark" />
<item android:id="@android:id/secondaryProgress">
<scale android:drawable="@drawable/semc_progress_secondary_holo_dark" android:scaleWidth="100%" />
</item>
<item android:id="@android:id/progress">
<scale android:drawable="@drawable/semc_progress_primary_holo_dark" android:scaleWidth="100%" />
</item>
</layer-list>
7. Now write a NEW xml named semc_progress_primary_holo_dark.xml inside res/drawable and paste the code
PHP:
<?xml version="1.0" encoding="utf-8"?>
<colorizable android:drawable="@drawable/semc_progress_primary_holo_dark_colored" android:color="@color/theme_accent"
xmlns:android="http://schemas.android.com/apk/res/android" />
8. Now write a NEW xml named semc_progress_secondary_holo_dark.xml inside res/drawable and paste the code
PHP:
<?xml version="1.0" encoding="utf-8"?>
<colorizable android:drawable="@drawable/semc_progress_secondary_holo_dark_colored" android:color="@color/theme_accent"
xmlns:android="http://schemas.android.com/apk/res/android" />
This will add colorization for the battery and data usage bar.
9. Go to res/values/colors.xml and add this color
PHP:
<color name="theme_accent">@com.sonyericsson.uxp:color/semc_theme_accent_color</color>
10. Open apktool.yml and it should have the following code
Code:
...
usesFramework:
ids:
- 1
[COLOR="Red"]- 2[/COLOR]
...
For an apk to take colorizable attributes from SemcGeneric it should be declared in apktool.yml.
Here -2 ids means SemcGenricUxpRes.apk
9. Recompile Settings.apk and Done!
Click to expand...
Click to collapse
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"
}
Click to expand...
Click to collapse
Hit Thanks if you like my work and always mention in credits when you use it!
Interesting tutorial. I will try it on Fluorescent Feather and tell you if it works .
You rock dude. Nice tutorial. And useful too. Keep giving us such things.
Nice tutorial, already implemented on Nextgen update
Nice Tutorial bro... :good: :highfive:
karandpr said:
Interesting tutorial. I will try it on Fluorescent Feather and tell you if it works .
Click to expand...
Click to collapse
Am waiting for your respose
BDFreak said:
You rock dude. Nice tutorial. And useful too. Keep giving us such things.
Click to expand...
Click to collapse
Thank you Bd,your tuts also helped!
Ayush Singh said:
Nice tutorial, already implemented on Nextgen update
Click to expand...
Click to collapse
Wow! Thats amazing.
Aneel said:
Nice Tutorial bro... :good: :highfive:
Click to expand...
Click to collapse
Thank you
Aweeeeeeeeeesome tutorial.
Definitely one to try.
PS: Can you make a tutorial on colorized check boxes/radio buttons?
NeoTrix said:
Aweeeeeeeeeesome tutorial.
Definitely one to try.
PS: Can you make a tutorial on colorized check boxes/radio buttons?
Click to expand...
Click to collapse
Refer to the tut by BdFreak linked in the OP
That should help
Not managed to make the tut. Can you help me? :crying:
nice tutor bro...thanks...
I still can not :/
Sent from my C5303 using XDA Free mobile app
I've tried it but it did not work for samsung galaxy young s6310 4.1 jb
please guide for touchwiz 4.1 jb..
takurcuy69 said:
I've tried it but it did not work for samsung galaxy young s6310 4.1 jb
please guide for touchwiz 4.1 jb..
Click to expand...
Click to collapse
Its for Xperia Devices mate
Needs an Xperia Framework
nice