What's up guys. I had found out about this quite a long time ago but I never really got to share it with you all. What my tutorial will do is show you how to enable hardware backlights for our devices. However, I do not know how to make the charging LED work so only keyboard and buttons will work.
What you need:
1. APK Manager from here: http://forum.xda-developers.com/showthread.php?t=695701
2. A framework-res.apk from your ROM
3. Notepad++ which is free: http://notepad-plus-plus.org/
INSTRUCTIONS:
1. Extract the APK Manager anywhere.
2. Place the framework-res.apk in the folder that says "place-apk-here-for-modding"
3. Open APK Manager by opening the file that is named "Script"
4. In the APK Manager window, input "22" for "Select Current Project"
5. Now input the number for framework-res.apk
6. You will be back at the main window, now press "9" to "Decompile APK"
7. Now, from the root of the APK Manager folder, go into "APK Manager\projects\framework-res.apk\res\values"
8. Open up "bools.xml" with Notepad++
9. Find
<bool name="config_automatic_brightness_available">true</bool>
Click to expand...
Click to collapse
and replace it with
<bool name="config_automatic_brightness_available">false</bool>
Click to expand...
Click to collapse
10. Save it and close it.
11. Open up "arrays.xml"
12. Look for:
<integer-array name="config_autoBrightnessLevels">
<item>11</item>
<item>41</item>
<item>91</item>
<item>161</item>
<item>226</item>
<item>321</item>
<item>641</item>
<item>1281</item>
<item>2601</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>90</item>
<item>90</item>
<item>90</item>
<item>170</item>
<item>170</item>
<item>210</item>
<item>210</item>
<item>255</item>
<item>255</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValuesUp">
<item>90</item>
<item>90</item>
<item>90</item>
<item>170</item>
<item>170</item>
<item>210</item>
<item>210</item>
<item>255</item>
<item>255</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValuesDown">
<item>90</item>
<item>90</item>
<item>170</item>
<item>170</item>
<item>210</item>
<item>210</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessButtonBacklightValues">
<item>255</item>
<item>255</item>
<item>-1</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
<integer-array name="config_autoBrightnessKeyboardBacklightValues">
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
Click to expand...
Click to collapse
and Replace it with
<array name="config_autoBrightnessLevels" />
<array name="config_autoBrightnessLcdBacklightValues" />
<array name="config_autoBrightnessLcdBacklightValuesUp" />
<array name="config_autoBrightnessLcdBacklightValuesDown" />
<array name="config_autoBrightnessButtonBacklightValues" />
<array name="config_autoBrightnessKeyboardBacklightValues" />
Click to expand...
Click to collapse
13. Save it and close the file.
14. Go back to the APK Manager window and input "11" to "Compile APK"
15. When asked for "Is this a system apk" input "y"
16. Input "y" when it asks
Aside from the signatures, would you like to copy
over any additional files that you didn't modify
from the original apk in order to ensure least
# of errors (y/n)
Click to expand...
Click to collapse
17. IT WILL GIVE YOU SOME INSTRUCTIONS, HERE IS WHAT TO DO:
18. Go into "APK Manager\keep" and delete "resources.arsc"
19. NOW GO BACK INTO APK MANAGER WINDOWS AND PRESS ENTER"
20. You are done, go into "APK Manager\place-apk-here-for-modding" and use "unsignedframework-res.apk" for your rom.
Thanks man
---------- Post added at 05:22 PM ---------- Previous post was at 05:16 PM ----------
Is it normal that the file is 2mb smaller now?^^
Rushness said:
Thanks man
---------- Post added at 05:22 PM ---------- Previous post was at 05:16 PM ----------
Is it normal that the file is 2mb smaller now?^^
Click to expand...
Click to collapse
Yeah, the manager compresses the file.
Does it work and everything?
Have to test it first. But in apk-manager everything worked pretty well.
id like to add a tiny piece of info i learned myself lol, the framework-res.apk is very very sensitive while decompiling, so to be sure it re compiles with no issues it needs to be un edited, (png wise) if you added ANY png file to the framework-res.apk file you need to put all the stock images back in or properly edit them with a patch tool for the .9.png files, as long as you have the stock image files in it , there will be no issue with re compiling... you can always add them again later with 7zip or a simmilar program, or by extracting via apk manager
o another thing too is in apk manager i suggest setting compression level to 0 and heap size as 512mb
ldrifta said:
id like to add a tiny piece of info i learned myself lol, the framework-res.apk is very very sensitive while decompiling, so to be sure it re compiles with no issues it needs to be un edited, (png wise) if you added ANY png file to the framework-res.apk file you need to put all the stock images back in or properly edit them with a patch tool for the .9.png files, as long as you have the stock image files in it , there will be no issue with re compiling... you can always add them again later with 7zip or a simmilar program, or by extracting via apk manager
o another thing too is in apk manager i suggest setting compression level to 0 and heap size as 512mb
Click to expand...
Click to collapse
What's the advantage with using heap size of 512MB?
well honestly i think it may be just for larger apk files... but i was having issues with my framewrk-res.apk compiling so i googled the issue and read through hundreds of threads to figure out why, and someone replied on one of the threads saying to change that and compression level to 0 and sure enough it helped me out so i just do it whenever i decompile/recompile framework-res.apk files
it may notbe required for us, but it doesn't hurt anything and i had no issues, but if you can recompile without doing that that do it lol just basically adding my 2 cents haha
Damn. It's not working on GBSense. Already tried the stuff that ldrifta said but that also didn't work.... :/
Rushness said:
Damn. It's not working on GBSense. Already tried the stuff that ldrifta said but that also didn't work.... :/
Click to expand...
Click to collapse
You're work on that? Is it faster?
Its much faster now. As you can see, device ive sent it with.
Sent from my HTC Salsa fake... xD using XDA App
Thank you this worked perfectly, however, i had to use different steps.
I decompile apk with apktool
I only change bool.xml and did not edit arrays.xml
I compiled apk with apktool
I unzipped the compiled apk
I copied from the original apk the META-INF folder to the unzipped new apk
I zipped the file again and it worked
Related
Hello to all.
I consider UK 3.4.2-117 the best rom so far. However the haptic feedback missing was killing me so I started digging. Long story short, by a mistake I found that the responsible file for this was framework-res.apk. So I decompiled with apkmanager 4.9 and compared with the TMO file. I found some differences in res\values\arrays.xml with suggestive names: "VibePattern".
Solution: use the file attached and put it to the root of ramework-res.apk
The reason for not providing the whole file "ramework-res.apk" is because I made interface modifications to mine (black status bar and so on...)
Please let me know if this worked for you!
Update: Seems there is no problem on odexed roms either so install with confidence. Do not use ApkManager to recompile. Simply replace the file inside the apk with winrar or 7zip. If you are on stock rom MadStu has prepared a nandroid zip for you. Read further.
Sorry for the stupid question but the only thing I've to to is to copy your resources file and paste it into the ramework-res.apk?
I tried it but nothing happend, even after a restart. Could someone an untouched ramework-res.apk reupload it after the fix?
Awesome dude, thanks, it works!!!
Dude-01 said:
Sorry for the stupid question but the only thing I've to to is to copy your resources file and paste it into the ramework-res.apk?
I tried it but nothing happend, even after a restart. Could someone an untouched ramework-res.apk reupload it after the fix?
Click to expand...
Click to collapse
Yes you have to drag and drop it to framework-res.apk overwriting the existing one. You also have to enable vibration from settings... In sound settings check haptic feedback. First thing you have to notice is vibration on the 4 bottom buttons (menu / home / back / search)
Work on deodex or/and odex ROM ?
Thanks for this FIX !
mick711 said:
Work on deodex or/and odex ROM ?
Thanks for this FIX !
Click to expand...
Click to collapse
I think it will work on both. Mine is deodexed but I think it will not matter.
I had issues after inserting into a standard / odexed install. My handset is now looping so it looks like im going to have reflash the rom again
Should i have pushed the apk back using adb? i just used root explorer.
Less than happy.
Andy
After making a backup, I've tried this as well and indeed - you've done good work and Haptic Feedback is as it used to be. Thank you for sharing your solution.
Various system-settings had been reset though, but that was as expected.
andyfletcher said:
I had issues after inserting into a standard / odexed install. My handset is now looping so it looks like im going to have reflash the rom again
Should i have pushed the apk back using adb? i just used root explorer.
Less than happy.
Andy
Click to expand...
Click to collapse
Sorry for the inconvenience. However framework-res.apk does not have a classes.dex inside so there is no odex file either. So I think it was a problem with pushing the file back or with the ziping process.
But where is the framework-res.apk?
Ok i found it ; but how can i overwrite the file? Do i have to use the adb shell?
andyfletcher said:
I had issues after inserting into a standard / odexed install. My handset is now looping so it looks like im going to have reflash the rom again
Click to expand...
Click to collapse
Mine too
Great work!
Could you say exactly what you changed in arrays.xml?
These are the default values:
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>18</item>
</integer-array>
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>6</item>
</integer-array>
<integer-array name="config_keyboardTapVibePattern">
<item>0</item>
<item>6</item>
</integer-array>
<integer-array name="config_safeModeDisabledVibePattern">
<item>0</item>
<item>18</item>
</integer-array>
<integer-array name="config_safeModeEnabledVibePattern">
<item>0</item>
<item>18</item>
<item>500</item>
<item>600</item>
</integer-array>
<integer-array name="config_scrollBarrierVibePattern">
<item>0</item>
<item>12</item>
<item>12</item>
<item>12</item>
</integer-array>
breezasib said:
Great work!
Could you say exactly what you changed in arrays.xml?
These are the default values:
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>18</item>
</integer-array>
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>6</item>
</integer-array>
<integer-array name="config_keyboardTapVibePattern">
<item>0</item>
<item>6</item>
</integer-array>
<integer-array name="config_safeModeDisabledVibePattern">
<item>0</item>
<item>18</item>
</integer-array>
<integer-array name="config_safeModeEnabledVibePattern">
<item>0</item>
<item>18</item>
<item>500</item>
<item>600</item>
</integer-array>
<integer-array name="config_scrollBarrierVibePattern">
<item>0</item>
<item>12</item>
<item>12</item>
<item>12</item>
</integer-array>
Click to expand...
Click to collapse
I've replaced the entire arrays.xml with the one from TMO firmware. Anyways all keys containing "VibePattern" seem to be changed.
I think I may have had problems as I don't how to use apk manager correctly. I replaced the apk which I made but I have no idea if I did it right
how do i find out, if i have odex or de-odex rom?
MadStu said:
I think I may have hadn't problems as I don't how to use apk manager correctly. I replaced the apk which I made but I have no idea if I did it right
Click to expand...
Click to collapse
Do not use apkmanager for this. Use simply winrar or 7zip. Do not even unzip and then zip again. Use drag and drop and overwrite the file inside apk.
Sent from my MB525 using XDA App
Can anyone, who successfully applied the fix, provide a step-by-step "tutorial" to how to do it? I've never used apkmanager before, I have a few ideas how to do it, but I don't want to ruin the system with picking an incorrect idea. Thanks.
Edit: So no apkmanager, just simple plain winrar. Thanks.
mcm_xyz said:
Do not use apkmanager for this.
Click to expand...
Click to collapse
LOL, I'm a stoopid boy.
I just used winrar and it's working perfectly now
I also added it to my Protected Market Apps Fix and Camera Mod .zip file to install via recovery and it works.
The modified stock framework-res.apk is within this zip if anyone wants to download just for that.
Cheers.
can i install this twice?
i alredy habe the market and cam mod installed!
Yes no problem, it will only overwrite a couple of your existing files with the same ones
Hope this isn't a double post.... I would like to change the lockscreen image to something other than the background of the phone. Maybe through editing the .xml file on the phone? etc. Anyone know of how to do this?
PS... PLEASSEEEEE don't reply with anything about widgetlocker. I know it exists I know it can do this but and I am not trying to nor do I want to use it for various reasons ...
Thanks in Advance.
-Adam
Here your are
had a little trouble with this, but here's a full guide that worked for me "tools used apk manager 4.9"
using the apk manager
1. pull /system/framework/framework-res.apk (option 0)
2. Decompile apk (option 9)
3. add your pic to drawable-mdpi (must be a .png) eg. lockscreen_background.png
4. open the file res\layout\keyguard_screen_tab_unlock.xml with notepad, and find the line
<RelativeLayout android:gravity="center_horizontal" android:id="@id/root" android:background="#70000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
change to
<RelativeLayout android:gravity="center_horizontal" android:id="@id/root" android:background="@drawable/lockscreen_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
5. compile the apk (option 9)
(when recompile do)
5.1. Hit yes to "system app".
5.2. Hit yes to restoring the files:
6. -Open the "keep" folder and delete resources.arsc and res\layout\keyguard_screen_tab_unlock.xml
7. when done rename unsignedframework-res.apk to framework-res.apk and put it back to /system/framework/ again (i did this in recovery)
Done
Awesome... Thanks.. Did you try this on the Droid X?
or can you change the lockscreen background to a dedicated image through ninjamorph? anyone have a quick tut on how to do this with a droid x?
This is my FIRST time trying something like this so bear with me...
So I'm really trying to make my froyo rom look like my old SE 2.1 rom...
I've been trying to add a background to the ORIGINAL SE calculator.apk (ORIGINAL Calculator.apk is below). I used apktool to decomplie it and build it with my modifications.
I edited androidmanifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest android:versionCode="7" android:versionName="2.1-update1" package="com.android.calculator2"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="7" />
<application android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:theme="@style/calcBackgroundTheme" android:name="Calculator">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
^I put in the line <activity android:theme="@style/calcBackgroundTheme"
and I edited the Styles.xml in the values folder..
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<style name="button_style">
<item name="android:textSize">40.0dip</item>
<item name="android:background">@drawable/transparent_button</item>
<item name="android:focusable">true</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_margin">2.0dip</item>
<item name="android:layout_marginLeft">1.0dip</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="digit_button_style" parent="@style/button_style">
<item name="android:background">@drawable/transparent_button</item>
</style>
<style name="button_small_style" parent="@style/button_style">
<item name="android:textSize">30.0dip</item>
</style>
<style name="display_style">
<item name="android:textSize">36.0dip</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:gravity">right|center</item>
<item name="android:padding">8.0dip</item>
<item name="android:scrollbars">none</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:maxLines">1</item>
<item name="android:scrollHorizontally">true</item>
</style>
<style name="calcBackgroundTheme" parent="@android:style/Theme">
<item name="android:windowBackground">@drawable/calc_bg</item>
</style>
</resources>
^I put in <style name="calcBackgroundTheme" parent="@android:style/Theme">
<item name="android:windowBackground">@drawable/calc_bg</item>
</style>
Then I placed my calc_bg.apk in my drawable and drawable_hdpi folders....
Then i built the application and put it on my phone but when I try to install it, it would say application not installed, when i put it through xrecovery it wouldnt show up at all... Did I mess up the background? Is it a signing issue?
The modified Calculator.apk and its decompiled files can be found here
HTML:
http://www.mediafire.com/?i70bh1pzbcmvhbi
Any help is appreciated...please...
Sent from a pyramid in Canadada
egyptshun said:
Any help is appreciated...please...
Sent from a pyramid in Canadada
Click to expand...
Click to collapse
i think its signing issues. not the background issues.
Try that see if its working.
you can't install it as it is a system application. and you should not sign it too.
you need to push it to /system/app through adb or use root explorer and set the right permission.
realunited123 said:
you can't install it as it is a system application. and you should not sign it too.
you need to push it to /system/app through adb or use root explorer and set the right permission.
Click to expand...
Click to collapse
agree with the push it but you should also sign it...
rdannar said:
agree with the push it but you should also sign it...
Click to expand...
Click to collapse
If it's going to /system/app, you don't have to sign it.
I've modified Smart Keyboard Pro and pushed it to /system without signing.
If you are using Root Explorer, copy it into /system/app, replace the original,
then change permissions to rw-r-r (meaning, check all the first column, and the first one from the second) reboot and enjoy!
take the apk file from your froyo rom
open it with 7zip
search in the files to see the backgroung image
change it with anything you want and reinstall the new apk
it's simple
اذا كان هذا قصدك :d
اما اذا انت جالس تبرمج حاجه ثانيه ما اقدر افيدك لووول
لو عاوز اي حاجه تانيه عالبي ام يا مان
Ghaith Alshareef said:
take the apk file from your froyo rom
open it with 7zip
search in the files to see the backgroung image
change it with anything you want and reinstall the new apk
it's simple
Click to expand...
Click to collapse
The original apk points to an image in 2.1 framework-res for the background so he had to add the code that points to an image he added to the apk itself and therefore has to recompile, but not sign since it's a system apk.
It's safe to say My_Immortal knows what she's talking about. If you do what she said & it still doesn't install, check the new code for errors.
Sent from my X10a using XDA App
It still doesn't went to instal with my mods...WTF DO I DO? MY FIRST PROJECT IS LOOKING LIKE MY LAST... GRAHH, STUPID CODES.....
Sent from a pyramid in Canadada
Ghaith Alshareef said:
take the apk file from your froyo rom
open it with 7zip
search in the files to see the backgroung image
change it with anything you want and reinstall the new apk
it's simple
اذا كان هذا قصدك :d
اما اذا انت جالس تبرمج حاجه ثانيه ما اقدر افيدك لووول
لو عاوز اي حاجه تانيه عالبي ام يا مان
Click to expand...
Click to collapse
No bud, thats not what I'm trying to do, thanks tho..
hierarchy666 said:
i think its signing issues. not the background issues.
Try that see if its working.
Click to expand...
Click to collapse
Nope... thanks tho aswell..
egyptshun said:
No bud, thats not what I'm trying to do, thanks tho..
Nope... thanks tho aswell..
Click to expand...
Click to collapse
have you tried addin this
Code:
android:background="@drawable/calc_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
to styles it mite work lol , but dont give up dude
jase81 said:
have you tried addin this
Code:
android:background="@drawable/calc_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
to styles it mite work lol , but dont give up dude
Click to expand...
Click to collapse
Isnt it already there?
Sent from a pyramid in Canadada
Tutorial How to change setting background In my themes
http://www.mediafire.com/?49f25u9n0y9s75u
1.download the attached zip
2.Right click the zip open it with winrar
3.A new window open in winrar then browse vrtheme/system/framework/framework-res.apk/res/drawable-hdpi
There you will see a background_own.png now replace it with yours image[make sure it is a.png image and name as background_own]
4.Close the winrar copy this zip to your sd card and flash as always
Thanks tarun for the tutorial.
But can you share the tutorial from scratch? Because just replacing the png on a stock framework-res won't work right?
So if you can then can you explain which xml or smali are to edited?
Sent from my GT-I9003 using xda premium
really thanx buddy. It will help me a lot to play more with my phone
exctngdude said:
Thanks tarun for the tutorial.
But can you share the tutorial from scratch? Because just replacing the png on a stock framework-res won't work right?
So if you can then can you explain which xml or smali are to edited?
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
Try this:
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>(if u need an image as background)
<item name="windowBackground">@color/white</item>(if u need a color as background)
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
<item name="windowBackground">@drawable/mybackground</item>(if u need an image as background)
<item name="windowBackground">@color/white</item>(if u need a color as background)
9. Create a 240x400 png to your liking, name it mybackground.png and place it in drawable, drawable-ldpi, drawable-mdpi folder
9. Recompile framework-res.apk
NOTE: U can give any color which is available in res/values/color.xml.
Sent from my GT-I9003 using XDA App
Nice work tarunagg
Thanks a lot. which tools do you recommend to decompile the apk and to edit the.xml?
jaskiratsingh said:
Try this:
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>(if u need an image as background)
<item name="windowBackground">@color/white</item>(if u need a color as background)
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
<item name="windowBackground">@drawable/mybackground</item>(if u need an image as background)
<item name="windowBackground">@color/white</item>(if u need a color as background)
9. Create a 240x400 png to your liking, name it mybackground.png and place it in drawable, drawable-ldpi, drawable-mdpi folder
9. Recompile framework-res.apk
NOTE: U can give any color which is available in res/values/color.xml.
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Uan_ar said:
Thanks a lot. which tools do you recommend to decompile the apk and to edit the.xml?
Click to expand...
Click to collapse
Use apk manager to decompile
And notepad++ to edit files
send from gt-i9003 using android keyboard
tarunagg said:
Tutorial How to change setting background In my themes
http://www.mediafire.com/?49f25u9n0y9s75u
1.download the attached zip
2.Right click the zip open it with winrar
3.A new window open in winrar then browse vrtheme/system/framework/framework-res.apk/res/drawable-hdpi
There you will see a background_own.png now replace it with yours image[make sure it is a.png image and name as background_own]
4.Close the winrar copy this zip to your sd card and flash as always
Click to expand...
Click to collapse
how about other theme? beside urs.
Followed the steps but i cant change the background...
Thank you very much!! I did everything but didn't work for me...
1. Download .rar
2. Open vrtheme/system/framework/framework-res.apk/res/drawable-hdpi and replace that png with another one with the same size and with the same name
3. Flash in CWM
An advice, you could edit the updater-script, because when u are flashing it, it says "get prepared for ICS world" lol.
luiseteyo said:
Thank you very much!! I did everything but didn't work for me...
1. Download .rar
2. Open vrtheme/system/framework/framework-res.apk/res/drawable-hdpi and replace that png with another one with the same size and with the same name
3. Flash in CWM
An advice, you could edit the updater-script, because when u are flashing it, it says "get prepared for ICS world" lol.
Click to expand...
Click to collapse
i always do same thing. It worked perfectly for me.
really thanx buddy. It will help me a lot to play more with my phone
does it work on xxkpu
Dear Tarunagg,
How i want changed font colour if i used this background
Sent from my GT-I9100G using XDA
Dear Tarunagg,
How i want changed font colour if i used this background
Sent from my GT-I9100G using XDA
Thanks! Worked for me!
Sent From My Galaxy SL
brothers if you can help me to change the color of progress ram in setting.apk base jelly bean unofficial 4.2.2
This is how you can change all the system backgrounds plain colors (settings, contacts, etc) to an actual image instead of a color
The how to:
1. Decompile the framework-res.apk using Android Multitool
2. navigate to the res>styles>styles.xml and with notepad++ locate <style name="Theme"> and edit these lines:
change:
Code:
<item name="colorBackground">@color/background_dark</item>
to this
Code:
<item name="colorBackground">@color/transparent</item>
then change:
Code:
<item name="windowBackground">@drawable/screen_background_dark</item>
to this one to use a png for the background:
Code:
<item name="windowBackground">@drawable/backgroundftw</item>
3. Locate <style name="Theme.Black" parent="@style/Theme">
and change this line:
Code:
<item name="colorBackground">@color/black</item>
to this:
Code:
<item name="colorBackground">@color/transparent</item>
then change:
Code:
<item name="windowBackground">@color/black</item>
to this for the png image:
Code:
<item name="windowBackground">@drawable/backgroundftw</item>
4. Use a 512x512 png , name it "backgroundftw" and place it in drawable-nodpi folder
5. Recompile the framework-res.apk and replace it with the old framework-res.apk in system/framework
6. Enjoy
Things required for this tutorial:
1. Android Miltitool to decompile and replace image
2. notepad++ for the coding
3. Your brain
4. You have to know where to obtain the framework-res.apk from on your phone. Just go to system/framework using root explorer
5. Make a backup of ur ROM or a flashable of your old framework-res.apk just incase if you make a mistake while coding. So that you dont encounter a bootloop
6. Find a video on youtube to learn how to compile and decompile your framework-res.apk
Difficulty for this tutorial: medium
For images CLICK HERE
good but wrong way bro......
ur steps are correct but method is wrong....
u cannot obtain styles.xml or find value folder with 7 zip....
u need apktool for that....
n just adding images or edited styles.xml ...to framework-res.apk
bootloops n fcs.....
i
Avenger4droid said:
good but wrong way bro......
ur steps are correct but method is wrong....
u cannot obtain styles.xml or find value folder with 7 zip....
u need apktool for that....
n just adding images or edited styles.xml ...to framework-res.apk
bootloops n fcs.....
i
Click to expand...
Click to collapse
Will update the thread tomorrow
nathanjp said:
will update the thread tomorrow
Click to expand...
Click to collapse
update the thread then i will try for sure don't want bootloop
upload video bro
awesome workk bro but if u upload a video step by step then its very useful to every one or if not possible then plzz upload a image bro
Thread updated try it now
gaurav247star said:
update the thread then i will try for sure don't want bootloop
Click to expand...
Click to collapse
Bro i updated the thread a couple days ago. Try it now
great work and helpful guide
nathanjp said:
This is how you can change all the system backgrounds plain colors (settings, contacts, etc) to an actual image instead of a color
The how to:
1. Decompile the framework-res.apk using Android Multitool
2. navigate to the res>lstyles>styles.xml and with notepad++ locate <style name="Theme"> and edit these lines:
change:
Code:
<item name="colorBackground">@color/background_dark</item>
to this
Code:
<item name="colorBackground">@color/transparent</item>
then change:
Code:
<item name="windowBackground">@drawable/screen_background_dark</item>
to this one to use a png for the background:
Code:
<item name="windowBackground">@drawable/backgroundftw</item>
3. Locate <style name="Theme.Black" parent="@style/Theme">
and change this line:
Code:
<item name="colorBackground">@color/black</item>
to this:
Code:
<item name="colorBackground">@color/transparent</item>
then change:
Code:
<item name="windowBackground">@color/black</item>
to this for the png image:
Code:
<item name="windowBackground">@drawable/backgroundftw</item>
4. Use a 512x512 png , name it "backgroundftw" and place it in drawable-nodpi folder
5. Recompile the framework-res.apk and replace it with the old framework-res.apk in system/framework
6. Enjoy
Things required for this tutorial:
1. Android Miltitool to decompile and replace image
2. notepad++ for the coding
3. Your brain
4. You have to know where to obtain the framework-res.apk from on your phone. Just go to system/framework using root explorer
5. Make a backup of ur ROM or a flashable of your old framework-res.apk just incase if you make a mistake while coding. So that you dont encounter a bootloop
6. Find a video on youtube to learn how to compile and decompile your framework-res.apk
Difficulty for this tutorial: medium
Click to expand...
Click to collapse
Good work keep it up
djrkb24 said:
Good work keep it up
Click to expand...
Click to collapse
Have u tried the tutorial??
Guys do post your screenshots if you have tried out the tutorial
Will post a newer and simpler tutorial to make it easy for u guys. All you have to do is replace the image in this. Flash able zip will so be available
Hit the thanks button if you guys would like that
nathanjp said:
Will post a newer and simpler tutorial to make it easy for u guys. All you have to do is replace the image in this. Flash able zip will so be available
Hit the thanks button if you guys would like that
Click to expand...
Click to collapse
Isn't the settings background located in /res/drawable/background_holo_dark.xml?
DonDizzurp said:
Isn't the settings background located in /res/drawable/background_holo_dark.xml?
Click to expand...
Click to collapse
Nope you dont wanna edit that
nathanjp said:
Nope you dont wanna edit that
Click to expand...
Click to collapse
That's what I edited in order to remove the gradient and get an all black background. I did the styles.xml mod to get the wallpaper working though.
Its A Brilliant Guide Brother..Thanks..!
Thunder_Droid said:
Its A Brilliant Guide Brother..Thanks..!
Click to expand...
Click to collapse
Thanks bro.
work..thank you bro
could any1 let me know that how to make background transpearent
Copied Post GARBAGE