• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root how to change the system background

katracho

Well-Known Member
before leave i MADE this tut cuz alot people is ask me how to do it so here we go

1 decopile framerwork
2 Navigate to /res/values/ and open styles.xml.
3 Locate <style name=&#8221;Theme&#8221;>
4 Replace,
Code:
Code:
<item name="colorBackground">@color/background_dark</item>

with

Code:
<item name="colorBackground">@color/transparent</item>

* Replace,

Code:
<item name="windowBackground">@drawable/screen_background_dark</item>

with

Code: (if u need an image as background)
<item name="windowBackground">@drawable/mybackground</item>

OR

Code: (if u need a color as background)
<item name="windowBackground">@color/white</item>
* Locate <style name=&#8221;Theme.Black&#8221; parent=&#8221;@style/Theme&#8221;>

* Replace,

Code:
<item name="colorBackground">@color/black</item>

with

Code:
<item name="colorBackground">@color/transparent</item>

* Replace,

Code:
<item name="windowBackground">@color/black</item>

with

Code: (if u need an image as background)
<item name="windowBackground">@drawable/mybackground</item>

OR

Code: (if u need a color as background)
<item name="windowBackground">@color/white</item>
Create a 320x480 px (Dimensions equal to resolution of your phone) PNG to your liking, name it my_background.png and place it in drawable, drawable-mdpi folder.

copile the framerwork and put into a flashable zip and enjoy ur neu background have a good days guys :D:D

EDIT IF YOU ARE RUNNING EXPLOSION ROM(FORMERLY ULTRA ROM) JUST OPEN FRAMERWORK WITH 7ZIP AND REPLACE THE IMAGE MY_BACKGROUND.PNG FOR THE ONE U WANT


CREDITS
MY COUSIN CARLOS
 
+1 for the info and I will give you another +1 internets if your cousin changes his name to vinny.
 
one of my biggest reasons is because I have a lot of work and I have no time to work with the rom .. the second is because Im going to sell my ultra and get Samsung Galaxy S3 from metropcs

Cool bro. Have fun with the s3. Love your work.
 
Hello people, I am having a hard time following the instructions. Can anybody walk me through the steps.
decompile with apk tool just decompile don't include dependency"s just do option"9" then open the project folder open your now decompressed framework-res files open "res" look for "values" folder open follow instructions in first post.
 
also if you have further questions post were your having problems and we will help you
 
Just a quick question. I noticed in the instructions where we change the xml to look for an image, we use "mybackground", but then we name our photo "my_background". Don't we want the code and the name of the file to match?
 
screenshot-1349929377477_zpsd1c14302.png
 
before leave i MADE this tut cuz alot people is ask me how to do it so here we go

1 decopile framerwork

I cant get apktool to work every time I put in the command apktool d framework-res.apk I get this error: 'java' is not recognized as an internal or external command, operable program or batch file. Any help on this????
 
i have done every step and no luck on changing the system background for a png (not a color) background, can someone please help me..

this is what i have done:

1- decompile framework-res.apk
2- Navigate to /res/values/ and open styles.xml (with notepad++)
3- Locate <style name=&#8221;Theme&#8221;>
4- Replace,

Code:
Code:
<item name="colorBackground">@color/background_dark</item>

with

Code:
<item name="colorBackground">@color/transparent</item>

* Replace,

Code:
<item name="windowBackground">@drawable/screen_background_dark</item>

with

Code: 
<item name="windowBackground">@drawable/mybackground</item>

Then:
* Locate: <style name=&#8221;Theme.Black&#8221; parent=&#8221;@style/Theme&#8221;>

* Replace

Code:
<item name="colorBackground">@color/black</item>

with

Code:
<item name="colorBackground">@color/transparent</item>

*And Replace

Code:
<item name="windowBackground">@color/black</item>

with

Code: 
<item name="windowBackground">@drawable/mybackground</item>

5- Create a 320x480 PNG , name it mybackground.png and place it in drawable and drawable-mdpi folder.

6- Compile the framerwork and put into a flashable zip, flash it but my phone wont go past the bootani and after a few seconds starts to reboot non stop...

i'm i doing something wrong?
do i need to add another file into the flashable.zip other than the framework itself?
are those the right codes to add an image(PNG) as a background? :confused: :confused: :confused:
 
i have done every step and no luck on changing the system background for a png (not a color) background, can someone please help me..

this is what i have done:

1- decompile framework-res.apk
2- Navigate to /res/values/ and open styles.xml (with notepad++)
3- Locate <style name=&#8221;Theme&#8221;>
4- Replace,

Code:
Code:
<item name="colorBackground">@color/background_dark</item>

with

Code:
<item name="colorBackground">@color/transparent</item>

* Replace,

Code:
<item name="windowBackground">@drawable/screen_background_dark</item>

with

Code: 
<item name="windowBackground">@drawable/mybackground</item>

Then:
* Locate: <style name=&#8221;Theme.Black&#8221; parent=&#8221;@style/Theme&#8221;>

* Replace

Code:
<item name="colorBackground">@color/black</item>

with

Code:
<item name="colorBackground">@color/transparent</item>

*And Replace

Code:
<item name="windowBackground">@color/black</item>

with

Code: 
<item name="windowBackground">@drawable/mybackground</item>
5- Create a 320x480 PNG , name it mybackground.png and place it in drawable and drawable-mdpi folder.

6- Compile the framerwork and put into a flashable zip, flash it but my phone wont go past the bootani and after a few seconds starts to reboot non stop...

i'm i doing something wrong?
do i need to add another file into the flashable.zip other than the framework itself?
are those the right codes to add an image(PNG) as a background? :confused: :confused: :confused:

OK I did get this to work. First make sure you do everything from my guide on Decompile apk then follow the above steps as well but make sure the pic is .png and not .jpg... Simply renaming the pic does not work. Open the pic with paint then use "save as" and chose .png. Then follow rest of steps to recompile. I pushed the file (#8 on apk manager) to /system/framework/framework-res.apk. Your phone screen will reset and fc. Don't touch anything then reboot.

PM me if you need more instructions. Would be glad to assist.
 
ok this is what i did to change the system background for a png (not a color) background...

0- Type (0) for adb pull framework-res.apk from you phone (/system/framework/framework-res.apk)... follow niteNarmor guide (How To Decompile An Apk)
1- Decompile framework-res.apk
2- Navigate to /res/values/ and open styles.xml (with notepad or notepad++)
3- Locate <style name=&#8221;Theme&#8221;>
4- Replace,

Code:
Code:
<item name="colorBackground">@color/background_dark</item>

with

Code:
<item name="colorBackground">@color/transparent</item>

* Replace,

Code:
<item name="windowBackground">@drawable/screen_background_dark</item>

with

Code: 
<item name="windowBackground">@drawable/mybackground</item>

Then:
* Locate: <style name=&#8221;Theme.Black&#8221; parent=&#8221;@style/Theme&#8221;>

* Replace

Code:
<item name="colorBackground">@color/black</item>

with

Code:
<item name="colorBackground">@color/transparent</item>

*And Replace

Code:
<item name="windowBackground">@color/black</item>

with

Code: 
<item name="windowBackground">@drawable/mybackground</item>

5- Create a 320x480 PNG , name it mybackground.png and place it in drawable and drawable-mdpi folder.
6- Compile #(11) framerwork-res.apk ( again follow niteNarmor guide How To Decompile An Apk )

You will see the program extracting then:

Everything is OK
Folders: (# of folders it made)
Files: (# of files it extracted)
Size: (size of the files)
Compressed (size of compressed files)
In the apk manager folder u'll find a keep folder. Within it, delete everything you have modified and leave files that you haven't. If you have modified any xml, then delete resources.arsc from that folder as well. Once done then press enter on this script.
Press any key to continue...

When you get the message above:

7- Go to Apk_manager, there you will see a folder named>> (keep) ,double click on it and ***DELETE*** res folder and resources.arsc as well<<< (THIS IS THE STEP I WASN'T DOING) ... Then press enter on the script.


8- after is done compiling , Adb push it #(8) to your (/system/framework/framework-res.apk) phone.

Reboot your phone, and your are done... :smokingsomb:

Thanks to katracho for making this possible and niteNarmor for his Guide
 

Attachments

  • screen_20121025_1315.png
    screen_20121025_1315.png
    110.1 KB · Views: 173
Back
Top Bottom