[tut] change system background from transparent to black - Galaxy Y GT-S5360 General

This would be helpful to those who are using rom with trans. Background and want to convert it to black like in Hyperion rom!!!!!!!!!!
So let's begin
1. Decompile your framework-res.apk (dont ask me how to)
2. Go to res folder, open values folder and then styles.xml
3. In that scroll down and find <style name="theme">
4. Under that you will find <item name="colorbackground">
change its color from transparent to black.
5. It should look something like this <item name="colorbackground">@color/black........
6. Now scroll down and find <item name=windowbackground> and do same
for it as above.
7. Now scroll almost to last and find <style name="theme.expandedmenu"> and change
the values under it as done above.
8. Compile it and copy META-INF and androidmanifest.xml from original apk to the
new one.
9. Most important= enjoy and do press thanks!!!!!!

Thanks)

reserved

EzazyHenry said:
how to use stockrom
Click to expand...
Click to collapse
What do u mean sir????

ScaryMonsterrr said:
Thanks)
Click to expand...
Click to collapse
Don't say just press it!!!!

Related

[Q] Remove recent apps

After decompiling SystemUI.apk, what needs to be done in order to remove the recent apps section from the notification pulldown?
The easy way to remove the recent apps is to edit dimens.xml in SystemUI.apk in /res/values-hdpi. Change the line "recent_app_icon_height" from 120.0 px to 0.0 px.
To remove 4G from the Quick Settings tab, edit /res/layout/quick_settings.xml (also in SystemUI.apk) and change the line from
<include android:id="@id/wimax" layout="@layout/status_bar_preference" />
To:
<include android:id="@id/wimax" layout="@layout/status_bar_preference" android:visibility="gone" />
nvm, fixed it
Goldeneye877 said:
I'm using apk manager. Whenever I compile then push to my device, I end up with no status bar. I restart the device and stll no bar and systemui force closes.
Click to expand...
Click to collapse
You'll have to open the original and modded apk side by side using 7zip and pull the META-INF and the android manifest.xml from the original apk into your modded one. adb push that once you got that done and reboot. You should be good to go now.
Thanks so much, everything worked so far. One last thing. I used UOT to make some modifications to the pulldown such as transparency and just changing colors. However, it doesnt seem to change the color of the notification text (switched from white background to black transparent). What xml edit do I have to make to change the text in notifcations and quick settings to white instead of the original black?

[tutorial]**Fix for recompiling framework-res with apktool** 4/15/2012

Greetings
i do not have have a one x but i have come up with a solution for the errors in apktool when recompiling framework-res.
i have a rezound and have run sense 4.0 on my phone. the screen res is also very similar to the one x.
there are four xmls in values that need to be rewritten.
anims.xml
layout.xml
a small change in plurals.xml
and raw.xml
the change made in plurals has to be made in all the foreign language plurals if you want to keep the languages. you can however delete them if you like. the framework i am posting has the plurals fixed for all languages though.
i am posting also my version of apktool which i have modified to properly smali htc apks.
to begin.
download the apktool linked here
unzip and place the folder wherever you want on your computer.
pull framework-res.apk and com.htc.resources.apk from your rom and place in the apktool folder
open a command window to apktool. (right click on your apktool folder and hit shift at the same time. one of the options will be to open a command window.)
type apktool if framework-res.apk hit enter
then type apktool if com.htc.resources.apk hit enter
now your needed dependencies are installed.
type apktool d framework-res.apk framework hit enter.
note im naming the out folder framework. you can name it anything you like.
this will create a decompiled framework-res. i named the folder framework so there will be a framework folder in your apktool folder now.
go to res/values anims.xml
change this
<anim name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</anim>
to this
<item type="anim" name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</item>
go to res/values layout.xml
change this
Code:
<layout name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</layout>
<layout name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</layout>
<layout name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</layout>
<layout name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</layout>
<layout name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</layout>
<layout name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</layout>
<layout name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</layout>
<layout name="pin_keyboard">@layout/zzzz_pin_keyboard</layout>
to this
Code:
<item type="layout" name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</item>
<item type="layout" name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</item>
<item type="layout" name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</item>
<item type="layout" name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</item>
<item type="layout" name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</item>
<item type="layout" name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</item>
<item type="layout" name="pin_keyboard">@layout/zzzz_pin_keyboard</item>
go to res/values plurals.xml
go to line 79
change this
%d of %d
to this
%1$d of %2$d
now remember every foreign language plural needs that change or just delete them.
go to res/values raws.xml
change this
<raw name="fallbackring_htc">@raw/zzzz_fallbackring_htc</raw>
to this
<item type="raw" name="fallbackring_htc">@raw/zzzz_fallbackring_htc</item>
now when all of the plurals are changed or deleted ( do NOT delete the plurals in res/values. that has to be changed.)
type apktool b framework hit enter. this will build your apk.
here are the res/values xmls modded already to make this easy.
download here replace the existing decompiled xmls with these.
now when you decompile to make further changes you will find that three of the xmls
anims.xml
layout.xml
raws.xml
compile back to their original format so save the modified decompiled xmls
this is the modified framework
framework-res
please post any issues
For compile I'm using apktool b <directory>. I got http://pastebin.com/quWsK7mP
i just finished the tutorial which addresses those errors
Nice to see you here Fern I did the same as your guide yesterday. Very simple fix. Now if we can solve resources....
rayford85 said:
Nice to see you here Fern I did the same as your guide yesterday. Very simple fix. Now if we can solve resources....
Click to expand...
Click to collapse
i believe it is along the same lines. ill take a look at it
fernando sor said:
i just finished the tutorial which addresses those errors
Click to expand...
Click to collapse
Thanks now trying it
I need a place here.
Thanks very much for the heads up, good to see this fix
@fernando if you don't decompile .apk with -t then you don't need to install framework. To decompile framework-res.apk no dependencies are needed.
+1 ...
Been using this exact method since first deodexing the build.. htc-resources is unfortunately a very different story
Sent from my One Xtreme LeeDrOiD loaded Beast
also keep in mind that:
<item type="layout" name="htc_list_item_image_2text_image_bright">@lay out/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layou t/zzzz_htc_list_item_imageicon_2text_2stamp</item>
XDA is doing space in "layout", so warning for users: don't just copy-paste!
mike1986. said:
also keep in mind that:
<item type="layout" name="htc_list_item_image_2text_image_bright">@lay out/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layou t/zzzz_htc_list_item_imageicon_2text_2stamp</item>
XDA is doing space in "layout", so warning for users: don't just copy-paste!
Click to expand...
Click to collapse
Yeah thanks for pointing that out. Also the xmls are posted. I just thought people would want to know the fix.
Sent from my ADR6425LVW using xda premium
LeeDroid said:
+1 ...
Been using this exact method since first deodexing the build.. htc-resources is unfortunately a very different story
Sent from my One Xtreme LeeDrOiD loaded Beast
Click to expand...
Click to collapse
Yeah hopefully with a combined effort that can be figured out
Sent from my ADR6425LVW using xda premium
mike1986. said:
@fernando if you don't decompile .apk with -t then you don't need to install framework. To decompile framework-res.apk no dependencies are needed.
Click to expand...
Click to collapse
True but it is needed for other system apks. Just being thorough
Sent from my ADR6425LVW using xda premium
LeeDroid said:
+1 ...
Been using this exact method since first deodexing the build.. htc-resources is unfortunately a very different story
Sent from my One Xtreme LeeDrOiD loaded Beast
Click to expand...
Click to collapse
all the pros are on the one x!
fernando sor said:
all the pros are on the one x!
Click to expand...
Click to collapse
Yes they are
Time for you to jump on board bro.
Sent from my HTC One X using XDA
rayford85 said:
Yes they are
Time for you to jump on board bro.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
Im def getting some form of this phone.
Sent from my PG86100 using xda premium
hey fern, will this process work for the whole One series of phones? or just the one x specifically?
pstevep said:
hey fern, will this process work for the whole One series of phones? or just the one x specifically?
Click to expand...
Click to collapse
It should work on any ics framework sense 4.0
Unfortunately com.htc. resources will not work until apktool is updated.
Sent from my ADR6425LVW using xda premium
fernando sor said:
It should work on any ics framework sense 4.0
Unfortunately com.htc. resources will not work until apktool is updated.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
That sucks. One of our guys themed resources image by image running them all thru draw 9 patch tool One by one
I felt sorry for him
Sent from my HTC One X using XDA

[REQ]On screen Nav Sprint

I'm trying to mod the framework to enable the ICS onscreen navigation keys but I can't get framework-res.apk to recompile after the mod has been made.
Anybody know what's going on?
Tried doing it using apktool 1.4.2/1.4.3 plus latest version of aapt. I've also tries the APK Mod toolkit thing, I just can't get it to recompile.
P.S. For those of you that ask "Why would you want On screen nav when there's physical/capacitive buttons?" I want to turn it on, then mod the key config to disable the back and menu keys and turn the home key into a dedicated camera key.
Any pointers, or a working framework-res upload would be great.
Also, I'm using the "stock" DeOdexed/Rooted LG2 release.
Try using 7zip to just replace the target file
Sent from my SPH-L710 using xda premium
gtuansdiamm said:
Try using 7zip to just replace the target file
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Haha, I haven't gone that route. But it sounds so idiotically simple that I'll bet it works.
-Edit-
Can't get access to the values folder in which the bools.xml resides.
Anybody get this to work? I would love a flashable!!!!
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
I've made a couple. I'll post a new zip tomorrow. This would be for stock LG2 Deodexed?
Sent from my SPH-L710 using Tapatalk 2
I bet you are having the plurals errors. Try this...
in res\values\plurals.xml
look for
Code:
<item quantity="other">%d of %d</item>
make it
Code:
<item quantity="other">%d of %%d</item>
res\values-en-rUS\plurals.xml
look for:
Code:
<item quantity="other">%d of %d</item>
make it
Code:
<item quantity="other">%d of %%d</item>
res\values-es\plurals.xml
look for:
Code:
<item quantity="other">%d de %d</item>
make it
Code:
<item quantity="other">%d de %%d</item>
It should compile just fine after that. I had the same errors.
Yes. Fergie. I have been using your Navy bar from blazer. I would like the bar to have the back and recent button reversed back to stock positions. Like the galaxy nexus button order. I sent a pm a fee days ago. THANKS
Sent from my galaxy s3
Tsudeily said:
I bet you are having the plurals errors. Try this...
in res\values\plurals.xml
look for
Code:
<item quantity="other">%d of %d</item>
make it
Code:
<item quantity="other">%d of %%d</item>
res\values-en-rUS\plurals.xml
look for:
Code:
<item quantity="other">%d of %d</item>
make it
Code:
<item quantity="other">%d of %%d</item>
res\values-es\plurals.xml
look for:
Code:
<item quantity="other">%d de %d</item>
make it
Code:
<item quantity="other">%d de %%d</item>
It should compile just fine after that. I had the same errors.
Click to expand...
Click to collapse
YES!
This would be sick if someone could get it working.
thekendog said:
This would be sick if someone could get it working.
Click to expand...
Click to collapse
I'm almost to my computer. If all goes well, I'll post the framework-res.apk shortly.
Good luck. If it doesn't compile let me know and I'll give a shot at enabling the on screen buttons. I just need to know the tutorial to follow.
holysmokesbatty said:
I'm almost to my computer. If all goes well, I'll post the framework-res.apk shortly.
Click to expand...
Click to collapse
Tsudeily said:
Good luck. If it doesn't compile let me know and I'll give a shot at enabling the on screen buttons. I just need to know the tutorial to follow.
Click to expand...
Click to collapse
Looks like it compiled, I'm about to backup my current framework and push this over, will report back in a minute.
Good to hear.
holysmokesbatty said:
Looks like it compiled, I'm about to backup my current framework and push this over, will report back in a minute.
Click to expand...
Click to collapse
Tsudeily said:
Good to hear.
Click to expand...
Click to collapse
Aaaaaand... Bootloop. Though weirdly when I copied framework-res.apk to /framework, the icon turned into the airplane mode icon just before I reboot, soo... I'm going to give this another shot.
Edit: Still no luck. I shouldn't be signing the apk, should I?
Did you give it the right permissions? 0644 I believe.
holysmokesbatty said:
Aaaaaand... Bootloop. Though weirdly when I copied framework-res.apk to /framework, the icon turned into the airplane mode icon just before I reboot, soo... I'm going to give this another shot.
Edit: Still no luck. I shouldn't be signing the apk, should I?
Click to expand...
Click to collapse
Tsudeily said:
Did you give it the right permissions? 0644 I believe.
Click to expand...
Click to collapse
How do I set permissions?
Depends on what you are using.. If Root Explorer, I believe you get the option if you tap and hold the file.
holysmokesbatty said:
How do I set permissions?
Click to expand...
Click to collapse
Tsudeily said:
Depends on what you are using.. If Root Explorer, I believe you get the option if you tap and hold the file.
Click to expand...
Click to collapse
I got it to boot. Sort of. But then it would have an error. SecPhone force closed, which was causing a soft boot.
This was after adb pushing the file instead of moving with Root Explorer. And whenever I replace system files using Root Explorer I always drop the file in root, which usually resets the permissions anyways.
Maybe adb push, boot to recovery and chmod from there?
If that would work, what's the shell command I should use to chmod for setting the permissions right?
Post the apk. Maybe we can get it to boot. And root explorer doesn't change the permissions for me. I have to do it manually.
Okay, so pushing the signed framework gets a boot but it crashes, and pushing an unsigned one causes a bootloop.
Gimme a sec, I'm upping to mediafire.
http://www.mediafire.com/?ff89zjoli50houi
That's the signed apk that sort of boots.

[GUIDE][MOD] Enable navigation bar 4.2.2

This is a quick dev guide to enable navigation bar for S4.
Decompile SystemUI.apk go to res/values/drawables and add:
Code:
[COLOR=#8b008b]<item [COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="drawable"[/COLOR] [COLOR=#ff0000]name[/COLOR][COLOR=#0000ff]="tw_navigationbar_bg"[/COLOR]>[/COLOR]#ff000000[COLOR=#8b008b]</item>[/COLOR]
Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.
Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.
Now use any buil.prop editor and add line:
Code:
qemu.hw.mainkeys=0
You can also enable it now through framework-res method.
Reboot and your done.
Please hit thanks and give credits.
Hi OP,
This looks just what I've been waiting for - if only there was a way to disable the stock menu and back buttons; my only gripe with the S4 is that I'm always touching one of theses buttons accidentally
JibbaJoy said:
Hi OP,
This looks just what I've been waiting for - if only there was a way to disable the stock menu and back buttons; my only gripe with the S4 is that I'm always touching one of theses buttons accidentally
Click to expand...
Click to collapse
This can easily be done when I find time I will add how to.
Sent from my GT-I9505 using xda premium
works perfect but no text under buttons below could you add them
I can´t find the /values/drawables after extracted the SystemUI.apk ? And where to add the following code please.
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
missing /values/drawables
https://dl.dropboxusercontent.com/u/41923164/Untitled.png
janjan said:
I can´t find the /values/drawables after extracted the SystemUI.apk ? And where to add the following code please.
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
missing /values/drawables
https://dl.dropboxusercontent.com/u/41923164/Untitled.png
Click to expand...
Click to collapse
you have to put <item type="drawable" name="tw_navigationbar_bg">#ff000000</item> inside drawables.xml, you can find it under decompiled SystemUI.apk /res/values
edit: copy the files to SystemUI.apk/res and add the line qemu.hw.mainkeys=0 with root explorer (text editor mode) in build.prop
bruzski said:
you have to put <item type="drawable" name="tw_navigationbar_bg">#ff000000</item> inside drawables.xml, you can find it under decompiled SystemUI.apk /res/values
edit: copy the files to SystemUI.apk/res and add the line qemu.hw.mainkeys=0 with root explorer (text editor mode) in build.prop
Click to expand...
Click to collapse
But after decompiled SystemUI.apk. /res/values is missing. Se the picture which i post above. thanks
janjan said:
But after decompiled SystemUI.apk. /res/values is missing. Se the picture which i post above. thanks
Click to expand...
Click to collapse
decompiled SystemUI.apk doesn't seem complete !! do you get errors while decompiling ? what version of apktool do you use?
I am using APK-Multi-Tool-Stable-RELEASE which is the latest version. no error during decompiling.. Which version do you use? Iam going to decompile it once again.
Edit.. still missing https://dl.dropboxusercontent.com/u/41923164/missing.png
i use ApkManager V6.1, works great!
Deleted
it seems this method is not working for me. i followed the instructions on the OP
include framework-res.apk, twframework-res.apk with "apktool if"
decomplie systemui.apk
modify res/values/drawables.xml to include <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
copy and replace files from the Navigation.zip into the res folder
recompile systemui.apk
i get a lot of @Styles errors and no default warnings when i try to compile
I tried using both latest version of apktool v152 and aapt from feb 2013 method and apkmanager v6.1 method and the results are the same
after i cleared the @style warnings with the "+" solution I am able to compile systemui.apk but when I copy it onto my device I lost the status bar and I still cant enable the navigation bar.
anyone else getting the same results?
TIA
Decompile errors
I'm trying to decompile SystemUI.apk (copied it from my phone "system\app" to "\place-apk-here-for-modding" folder) using ApkManager V6.1.
I'm getting an error message. Can somebody help please ? Log is attached.
Thanks!
Ok. I was able to decompile SystemUI.apk using ApkManager V6.1. The problem was in missing framework-res.apk and twframework-res.apk in "apktool" folder.
Now I'm getting errors on apk compilation. Please take a look at the attached log file. What am I missing now ?
Thank you!
hocgwai said:
it seems this method is not working for me. i followed the instructions on the OP
include framework-res.apk, twframework-res.apk with "apktool if"
decomplie systemui.apk
modify res/values/drawables.xml to include <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
copy and replace files from the Navigation.zip into the res folder
recompile systemui.apk
i get a lot of @Styles errors and no default warnings when i try to compile
I tried using both latest version of apktool v152 and aapt from feb 2013 method and apkmanager v6.1 method and the results are the same
after i cleared the @style warnings with the "+" solution I am able to compile systemui.apk but when I copy it onto my device I lost the status bar and I still cant enable the navigation bar.
anyone else getting the same results?
TIA
Click to expand...
Click to collapse
I just noticed that I have exactly the same problem as you are. Were you able to get it working ?
Its is more difficult decompiling and recompiling S4 SystemUI and I don't have time to write a tut now so 2 options
Use this you can turn nav bar on off with settings app or
Use this SystemUI.apk I have done the work for you it will recompile as normal and the only mod is %battery apart from that it is stock.
gharrington said:
Its is more difficult decompiling and recompiling S4 SystemUI and I don't have time to write a tut now so 2 options
Use this you can turn nav bar on off with settings app or
Use this SystemUI.apk I have done the work for you it will recompile as normal and the only mod is %battery apart from that it is stock.
Click to expand...
Click to collapse
Thank you !
One question before I proceed with your advice. I have Canadian SGH-I337M version with rooted stock I337MUMUAMDJ rom.
Can I use your SystemUI.apk (%battery mode) with my ROM ?
fmark said:
Thank you !
One question before I proceed with your advice. I have Canadian SGH-I337M version with rooted stock I337MUMUAMDJ rom.
Can I use your SystemUI.apk (%battery mode) with my ROM ?
Click to expand...
Click to collapse
People have reported this working but just make a backup first nothing ventured nothing gained
All I do is have 2 zips on my sdcard the original and the modded one if the mod fails simply boot into recovery and reflash original it takes 1 min to be up and running again
fmark said:
Ok. I was able to decompile SystemUI.apk using ApkManager V6.1. The problem was in missing framework-res.apk and twframework-res.apk in "apktool" folder.
Now I'm getting errors on apk compilation. Please take a look at the attached log file. What am I missing now ?
Thank you!
Click to expand...
Click to collapse
If you get an error in decompiling the apk, remove the "system_bar_settings_view.xml" and "system_bar_notification_panel_title.xml" from the layout folder
(SystemUI.apk\res\layout\). Don't forget to put the files back after compiling the modded statusbar.
:fingers-crossed:
bruzski said:
If you get an error in decompiling the apk, remove the "system_bar_settings_view.xml" and "system_bar_notification_panel_title.xml" from the layout folder
(SystemUI.apk\res\layout\). Don't forget to put the files back after compiling the modded statusbar.
:fingers-crossed:
Click to expand...
Click to collapse
Decompiling is fine - no errors. I'm getting errors when compiling.
---------- Post added at 07:29 AM ---------- Previous post was at 07:26 AM ----------
gharrington said:
People have reported this working but just make a backup first nothing ventured nothing gained
All I do is have 2 zips on my sdcard the original and the modded one if the mod fails simply boot into recovery and reflash original it takes 1 min to be up and running again
Click to expand...
Click to collapse
No, unfortunately your systemui.apk is not compatible with my Rom.
I need to solve compilation errors. Any advice on that?
Thank you!

[GUIDE][MOD] Make full framework/rom transparent(any colour) Easiest Method

I was searching galaxy y forums to make my rom transparent and I got few guides but none of them worked
So I find a way my self (with help of my seniors) :laugh:
You need-->
* framework-res.apk of your rom
* apktool or any tool to recompile or decompile
* text editor like notepad++
* 7zip
* patience
* 5 minutes
Procedure-->
*Decompile framework-res.apk
* Open decompiled framework-res.apk folder and find res/values/styles.xml
* open it via notepad++
Note--> styles.xml is the key file, it control all apps layout and look.
* In styles.xml search for <style name="Theme"> this is the main theme layout. all app uses this.
* Under <style name="Theme"> search for <item name="colorBackground">@color/background_dark</item>
*Now change this to <item name="colorBackground">@color/transparent</item>
* Now add this line <item name="windowIsTranslucent">true</item>
below this line--> <item name="colorBackground">@color/transparent</item> this line makes all system apps background to transparent.
Now you have to ways to set transparency and colour [Very Important part] Use any one method you like
first method -->
Make a transparent image save it as png file. Make sure it has correct resolution(for galaxy y it's 240 x 320 )
Dont make full transparent, it looks odd
Save it and paste in drawable ldpi (Might be mdpi/hdpi for other devices)
Now open res/values/styles.xml and look for <item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">@drawable/image</item> *(here I save my png named with "image",You can save it with any name)
Save it and recompile with original signature and push it to your system/framework folder :laugh:
second method -->
open res/values/styles.xml and look for
<item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">#80ffffff</item> or any other color hex code as u want. First two digits control transparency.
Save it and recompile with Original Signature and push it to system/framework and done.
Important notes-->
1.I use TickelMyAndroid tool to recompile and decompile..It's easy to use and there's an option to sign with original signature..If u don't use tickel my android then u need to do below steps
Compile framework-res.apk and open it with 7zip and delete resources file . open stock framework (unedited) with 7zip,, and open edited framework with 7zip.
drag and drop resources file and res folder from unedited to edited framework..
Thats it. Push it to system/framework.
2.If u push framework through mobile (root explorer or any root browser) then first change permission of framework-res.apk to r-w--r--r and then push
3.This procedure for stock rom.. If you use any custom roms then in styles.xml the codes might be setted already to transparency.. Then you just need to skip those lines and leave them and do the Rest procedure
Awesome
[email protected] said:
I was searching galaxy y forums to make my rom transparent and I got few guides but none of them worked
So I find a way my self (with help of my seniors) :laugh:
You need-->
* framework-res.apk of your rom
* apktool or any tool to recompile or decompile
* text editor like notepad++
* 7zip
* patience
* 5 minutes
Procedure-->
*Decompile framework-res.apk
* Open decompiled framework-res.apk folder and find res/values/styles.xml
* open it via notepad++
Note--> styles.xml is the key file, it control all apps layout and look.
* In styles.xml search for <style name="Theme"> this is the main theme layout. all app uses this.
* Under <style name="Theme"> search for <item name="colorBackground">@color/background_dark</item>
*Now change this to <item name="colorBackground">@color/transparent</item>
* Now add this line <item name="windowIsTranslucent">true</item>
below this line--> <item name="colorBackground">@color/transparent</item> this line makes all system apps background to transparent.
Now you have to ways to set transparency and colour [Very Important part] Use any one method you like
first method -->
Make a transparent image save it as png file. Make sure it has correct resolution(for galaxy y it's 240 x 320 )
Dont make full transparent, it looks odd
Save it and paste in drawable ldpi (Might be mdpi/hdpi for other devices)
Now open res/values/styles.xml and look for <item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">@drawable/image</item> *(here I save my png named with "image",You can save it with any name)
Save it and recompile with original signature and push it to your system/framework folder :laugh:
second method -->
open res/values/styles.xml and look for
<item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">#80ffffff</item> or any other color hex code as u want. First two digits control transparency.
Save it and recompile with Original Signature and push it to system/framework and done.
Important notes-->
1.I use TickelMyAndroid tool to recompile and decompile..It's easy to use and there's an option to sign with original signature..If u don't use tickel my android then u need to do below steps
Compile framework-res.apk and open it with 7zip and delete resources file . open stock framework (unedited) with 7zip,, and open edited framework with 7zip.
drag and drop resources file and res folder from unedited to edited framework..
Thats it. Push it to system/framework.
2.If u push framework through mobile (root explorer or any root browser) then first change permission of framework-res.apk to r-w--r--r and then push
3.This procedure for stock rom.. If you use any custom roms then in styles.xml the codes might be setted already to transparency.. Then you just need to skip those lines and leave them and do the Rest procedure
Click to expand...
Click to collapse
Awesomeee work sir..I will try this ASAP
Ok
kismatmansi said:
Awesomeee work sir..I will try this ASAP
Click to expand...
Click to collapse
Test it and report here...I test it in my galaxy y in 4 roms... So I hope it'll work for u too
[email protected] said:
Test it and report here...I test it in my galaxy y in 4 roms... So I hope it'll work for u too
Click to expand...
Click to collapse
Ok sir
I don't know where did you search but here is an all in one guide and it works well on galaxy y
[GUIDE][MOD]Transparency for froyo,gb, ics
AbhiLP said:
I don't know where did you search but here is an all in one guide and it works well on galaxy y
[GUIDE][MOD]Transparency for froyo,gb, ics
Click to expand...
Click to collapse
Sir I never Got any working method.. Thatswhy I post this. I got this idea from marcussmith2626's post ..where he guide to make lockscreen and statusbar transparent. I also got help from my seniors.
[email protected] said:
Sir I never Got any working method.. Thatswhy I post this. I got this idea from marcussmith2626's post ..where he guide to make lockscreen and statusbar transparent. I also got help from my seniors.
Click to expand...
Click to collapse
Basically, They are all same guides. It doesn't matter which one you try, you'll be doing same steps. The link i've posted above contains 4 guides including the ones you've posted here.
Anyway, a nice try !
AbhiLP said:
Basically, They are all same guides. It doesn't matter which one you try, you'll be doing same steps. The link i've posted above contains 4 guides including the ones you've posted here.
Anyway, a nice try !
Click to expand...
Click to collapse
Sir As I told u I tried many methods before. None of them worked for me . And the method was not worked for rest members also(I see the comments on those threads)... In those tuts they didn't mention to use transparent images Thatswhy they didn't worked..but in your link the third method only seems to be working (see my 2nd method here in the post ) Rest three methods of your link didn't worked for me .(as I tried before)

Categories

Resources