[HOW TO] Add Ambient Display on Settings [Lollipop] - Nexus 4 Themes and Apps

Thank for raffaele88 for this tutorial
Code:
You will need
framework-res.apk from the rom you are modding
SystemUI.apk from your Rom
Notepad++ or another text editor of your choice
apktool
First decompile Systemui.apk with this comand​
Code:
apktool d systemui.apk
Navigate to systemui/res/values/bools and open it with Notepad++ and change this line:
from
PHP:
<bool name="doze_display_state_supported">false</bool>
<bool name="doze_pulse_on_pick_up">false</bool>
to
Code:
<bool name="doze_display_state_supported">true</bool>
<bool name="doze_pulse_on_pick_up">true</bool>
Save and ricompile systemui with this comand:
PHP:
apktool b systemui
Now start to mod framework-res.apk
Decompile framework-res.apk with apktool with this comand:
Code:
apktool d framework-res.apk
Navigate to framework-res/res/values/string and open it with notepad++ and change this line:
from
PHP:
<string name="config_dozeComponent"></string>
to
PHP:
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
Save and close.....
Now in the same folder open bool.xml and with notepad++ and mod this line:
from
PHP:
<bool name="config_dozeAfterScreenOff">false</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
to
PHP:
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
Save it and close....
Now in the same folder open Interger.xml with notepad++ andmod this line:
from
PHP:
<integer name="config_screenBrightnessDoze">1</integer>
to
PHP:
<integer name="config_screenBrightnessDoze">17</integer>
Now recompile with this comand:
PHP:
apktool b framework-res.apk
Enjoy Ambient Display​

Not trying to be a jerk, but I noticed a typo in your commands:
apktool b systemui
should be $ apktool b systemui.apk
There are some people who would copy and paste and not realize why their apk wasn't compiling properly

Does it work well? However I cant decompile correctly apks because of this error: ".....could not decide arsc file." it will be great if we could have a flashable zip ?

Please post a flashable zip for stock 5.0 =)

Today i will make flash zip

Don't know why but caused bootloop. Maybe I made a mistake. Why I'm saying this is to remind that you should backup system first just in any case especially if you are going to flash new apk's on your existing rom.

hell !!! i need flashable zip for stock. i was editing systemui apk on kitkat but a few times i f.cked up

Can you upload the edited file? There's no need to do this procedure every time.

Sorry for noob questions, but what am I supposed to do after compiled framework-res.apk and systemUI.apk? And where can I find these file? (I have a flashable ROM zip)

IMO that "feature" would bring more issues than benefits... For example, huge battery drain.

I downloaded a zip from forum.frandroid and display settings shows ambient display. But I think there are some issue with the sensors. Sometimes my phone light up even if it is in my pocket, and pick up the phone from a table do not wake up the screen when a notification come

rskyline said:
IMO that "feature" would bring more issues than benefits... For example, huge battery drain.
Click to expand...
Click to collapse
i used it with lollipop port and now using app called "screen notifications" i think both battery drain not noticable

brsclkr said:
i used it with lollipop port and now using app called "screen notifications" i think both battery drain not noticable
Click to expand...
Click to collapse
Strangely even on the nexus 6 it says that battery won't last as much as with that feature off, even its screen is optimized for that feature (AMOLED)

rskyline said:
Strangely even on the nexus 6 it says that battery won't last as much as with that feature off, even its screen is optimized for that feature (AMOLED)
Click to expand...
Click to collapse
Definetely. In AMOLED screens, each pixel has its own backlight, black pixels don't produce light and don't require energy, so Ambient Display is suitable for AMOLED screens, but IPS LCD (Nexus 4's screen) costs more energy when backlight is on even if all pixels are black. Because of that, Ambient Display on Nexus 4 will drain much more battery.

I applied the changes but it ended up in a bootloop even though compiling and everything went fine. Luckily I've done a backup.

I used these instructions from Android Origins website and ambient display feature becomes available under display settings however as others have reported it really does not work correctly. When I pick up the phone nothing happens, notifications do turn on the display but at the cost of battery life. I would not suggest bothering with this as it is essentially useless on our devices. If you do want to try definitely backup in case you run into issues.

question
Is there a way that i can call this feature from an app? like an intent? i would like to setup a service to call this funtionality under other circustances also what is actually done at this point? are we just showing the same thing but in blank and white? how can i archive the same in other screens.
Thank you

Does it work well? However I cant decompile correctly apks because of this error: ".....could not decide arsc file." it will be great if we could have a flashable zip

[GS] said:
Thank for raffaele88 for this tutorial
Code:
You will need
framework-res.apk from the rom you are modding
SystemUI.apk from your Rom
Notepad++ or another text editor of your choice
.....
Enjoy Ambient Display[/CENTER][/QUOTE]
I want to translate into my language (now, it is only displayed in English). I have found in systemui and framework(values, values-vi....) but did not find the line that contains the word Ambient. Can you guide me? My Rom support multi language. thank you.
Click to expand...
Click to collapse

thank you for tutorial, worked well on my device

Related

[MOD]Lower Auto-Brightness levels to save battery

Hi,
I wanted to share a little mod that could help in extending battery life - lowering default auto-brightness levels. As all of You know our big, bright SuperAMOLED Plus is an excelent display but for that it uses most of our battery:/ I like the idea of auto-brightness but I find it too bright for most of the time. Setting brightness manualy to one level makes it either too dim or it uses too much battery and switching it all the time that You go outside or turn on the light is a little bit inconvenient. In order to lower auto-brightness levels You have to change values in framework-res.apk/res/values/arrays.xml
These are stock Samsung values:
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>32</item>
<item>69</item>
<item>118</item>
<item>177</item>
<item>255</item>
</integer-array>
These are values that I use (It is just an example):
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>30</item>
<item>70</item>
<item>130</item>
<item>255</item>
</integer-array>
These brightness levels are corresponding to the amount of light that light sensor is getting - the lowest value is while in the low light the highest when for example your phone is in direct sunlight. Brightness values are defined by numbers 1 is the lowest possible setting and 255 is the maximum brightness that can be set.
As You can see I was pretty aggressive with lowering these values and yet the screen is still bright in every situation. You can set them a little bit higher or lower in order to suit your preferences.
Here is a guide on how to perform this mod on any framework-res.apk using apk manager (thanks for the guide goes to desean):
1. Download APK manager and unpack somewhere
2. Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder
3. Run Script.bat and select option 9
4. Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.
5. Once edited, compile the apk using option 11
6. Qn: Is this a system apk. Ans: y
7. Qn: Aside from the signatures, would .... least. Ans: y
8. Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.
9. Once done, input 22 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk". Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk. Rename it back to framework-res.apk and adb push the file back to your phone
And here is a link for already modified framework-res.apk (originaly made by Kahvitahra with his modifications - APM + CRT + OS + JKays Green Battery I just added lower auto-brightness levels). It will work only with VillainRom 2.4.2:
http://www.multiupload.com/5TE5GY2J32
I hope that You'll like it
Thanks! 10char
LockeOn said:
Hi,
I wanted to share a little mod that could help in extending battery life - lowering default auto-brightness levels. As all of You know our big, bright SuperAMOLED Plus is an excelent display but for that it uses most of our battery:/ I like the idea of auto-brightness but I find it too bright for most of the time. Setting brightness manualy to one level makes it either too dim or it uses too much battery and switching it all the time that You go outside or turn on the light is a little bit inconvenient. In order to lower auto-brightness levels You have to change values in framework-res.apk/res/values/arrays.xml
These are stock Samsung values:
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>32</item>
<item>69</item>
<item>118</item>
<item>177</item>
<item>255</item>
</integer-array>
These are values that I use (It is just an example):
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>30</item>
<item>70</item>
<item>130</item>
<item>255</item>
</integer-array>
As You can see I was pretty aggressive with lowering these values and yet the screen is still bright in every situation. You can set them a little bit higher or lower in order to suit your preferences.
Here is a link for already modified framework-res.apk (originaly made by Kahvitahra with his modifications - APM + CRT + OS + JKays Green Battery I just added lower auto-brightness levels). It will work only with VillainRom 2.4.2:
http://www.multiupload.com/5TE5GY2J32
I hope that You'll like it
Click to expand...
Click to collapse
Thanks again
I'm on Batista 3.7.2..
open the framework-res.apk.. but couldn't find the arrays.xml
can i copy n paste the file.. ?
zoule HCo said:
I'm on Batista 3.7.2..
open the framework-res.apk.. but couldn't find the arrays.xml
can i copy n paste the file.. ?
Click to expand...
Click to collapse
You have to decompile the apk first!
zoule HCo said:
I'm on Batista 3.7.2..
open the framework-res.apk.. but couldn't find the arrays.xml
can i copy n paste the file.. ?
Click to expand...
Click to collapse
u need to decompile it /..smali..
kalpik said:
You have to decompile the apk first!
Click to expand...
Click to collapse
yup i already decompile the apk..
batista framework-res.apk i think fully modified..
will download the link above..
compiled, changed the values, can't notice any difference... but I'll keep watching.
Edit:
Ok, lower values - can notice the difference, it works!
My values - 255, 140, 90, 40, 10.
Yeah! Will try to compile later! Thx this was the mod I waiting for!
Sent from my GT-I9100 using XDA App
EDIT: Tryed to compile for cog 1.5 but stuck into bootloop...
EDIT2: Have made it work! Here the file for Cognition 1.5 with Lucid/Hyperdroid Theme with these params:
Code:
<item>3</item>
<item>30</item>
<item>70</item>
<item>140</item>
<item>255</item>
Can you outline the procedure and tools used..just simple steps would do.. Btw is the hack working as expected?
Sent from my GT-I9100 using Tapatalk
Excuse my ignorance, but how do I install this?
Sent from my GT-I9100
lostsoul said:
Excuse my ignorance, but how do I install this?
Sent from my GT-I9100
Click to expand...
Click to collapse
look for APK Manager links and how to
you need to decompil framework-res.apk
then compil back
sicopat said:
look for APK Manager links and how to
you need to decompil framework-res.apk
then compil back
Click to expand...
Click to collapse
Do you have to change anything in the apk manager setting? such as compression rate?
Also, during compiling, it will prompt whether this is a system apk, do I answer "y"?
I really wanted to try this out, using MoDaCo but there is no framework-res.apk/res/values/arrays.xml in the framework-res.apk. Am I pulling it from the right place? I pulled it from /system/framework/
prosumerhacks said:
Can you outline the procedure and tools used..just simple steps would do.. Btw is the hack working as expected?
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
lostsoul said:
Excuse my ignorance, but how do I install this?
Sent from my GT-I9100
Click to expand...
Click to collapse
ebliss said:
Do you have to change anything in the apk manager setting? such as compression rate?
Also, during compiling, it will prompt whether this is a system apk, do I answer "y"?
Click to expand...
Click to collapse
I will post a simple guide how to modify any framework-res.apk using apkmanager but it has to wait till midnight or so. Another thing is that I think that 70, 130 and 255 values can be lowered a little bit more - I have been using my phone all day while I was outside and the screen was really bright. If anyone will find some kind of perfect ultra low levels please share them, for now everybody can test their configuration. Last thing - i was using my phone a lot today and battery usage for display went down from usual 68-72% to 55-56%.
ebliss said:
Do you have to change anything in the apk manager setting? such as compression rate?
Also, during compiling, it will prompt whether this is a system apk, do I answer "y"?
Click to expand...
Click to collapse
yes
DanRyb said:
I really wanted to try this out, using MoDaCo but there is no framework-res.apk/res/values/arrays.xml in the framework-res.apk. Am I pulling it from the right place? I pulled it from /system/framework/
Click to expand...
Click to collapse
on post 5, it is already mentioned that you need to decompile the apk first!
Thanks for your reply, but I did decompile it! I do not see that file within the structure listed!
desean said:
yes
on post 5, it is already mentioned that you need to decompile the apk first!
Click to expand...
Click to collapse
ebliss said:
Do you have to change anything in the apk manager setting? such as compression rate?
Also, during compiling, it will prompt whether this is a system apk, do I answer "y"?
Click to expand...
Click to collapse
don't change compression rate
every apks located in /system folders are system apk so Yes.
you press Yes then Yes again. a keep folder is created delete ressources.acrs in it, then press any kay in apk manager windows
in place here apk to mod you have now unsignedframework-res.apk, just rename it in framework-res.apk and if you want you can zipallign it (it will work without last step)
Thanks LockeOn for sharing.
Just a quick how-to for everyone else before more people post on how to apply the MOD, using APK manager (I think this is the easiest method)
Steps
Download APK manager and unpack somewhere
Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder
Run Script.bat and select option 9
Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.
Once edited, compile the apk using option 11
Qn: Is this a system apk. Ans: y
Qn: Aside from the signatures, would .... least. Ans: y
Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.
Once done, input 22 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk". Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk
rename back to framework-res.apk and adb push the file back to your phone.
And here are the values I use, taking some values from my Hero days
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>25</item>
<item>60</item>
<item>125</item>
<item>255</item>
</integer-array>
Since some MOD (like APM for example) make changes to the framework-res.apk, it is better for you to do your own instead of begging others to do and post here.
Edit1: Updated steps as recommended by LockeOn
Edit2: using more aggressive values now after few days testing
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>2</item>
<item>15</item>
<item>32</item>
<item>100</item>
<item>200</item>
</integer-array>
before this, i was always using minimum brightness instead of auto brightness thus decided to set 32 and below for majority of the values. it works for me when i am indoor and outdoor under low light. when outdoors under brightness, the increase is bright enough for me so I believe i have found my sweet spot
note that my environment and preference may diff from everyone so what works for me may not work for you
DanRyb said:
Thanks for your reply, but I did decompile it! I do not see that file within the structure listed!
Click to expand...
Click to collapse
I think you unpacked, not decompile.

[Tutorial] Doing simple mods on framework-res.apk when apktool doesn't work properly

Hi again!
Some people asked how I did the mod I posted on the thread http://forum.xda-developers.com/showthread.php?t=1738094 and I promised I would say it.
First off, this method will require you to go deep inside binary files, so please don't try to do it if you didn't completely understand every step and know the basics about the hexadecimal, binary diffs, etc.
Before start
I will start saying what was supposed to work. You should use apktool to decode the apk, modify what you want, and then use apktool build it again. But, as of the latest version of apktool I tried (1.4.3), decode and build doesn't work for for Xperia S' framework-res.apk. (Maybe bug http://code.google.com/p/android-apktool/issues/detail?id=313 and http://code.google.com/p/android-apktool/issues/detail?id=256 are related?)
The closest I could get is using apktool 1.4.1, but the generated file was so smaller than the original and I wasn't brave enough to test on my phone.
Anyway, you will need to do this "normal" process (decode and build) for this method too. You can use any version of apktool that decode and build without errors. I used 1.4.1, but I believe a newer version could get a closer output, thus a easy file to do a binary diff. Don't worry, we won't flash these malformed apk's!
So, lets start.
PLEASE, read all the steps before start to understand the whole thing. The main idea is to find some bytes that precedes the value we want to change, then find these bytes on the original resources file and change the value we want.
1. Make sure you have adb, apktool, and everything needed on your path. I will give you the commands assuming all of them are in your path.
2. Get the necessary apk's from your phone:
Code:
[email protected]:~/Android/LT26i$ adb pull /system/framework/framework-res.apk
3972 KB/s (22227101 bytes in 5.463s)
[email protected]:~/Android/LT26i$ adb pull /system/framework/SemcGenericUxpRes.apk
4970 KB/s (2095961 bytes in 0.411s)
3. Install the apk's on apktool
Code:
[email protected]:~/Android/LT26i$ apktool if framework-res.apk nozomi
I: Framework installed to: /home/brunojcm/apktool/framework/1-nozomi.apk
[email protected]:~/Android/LT26i$ apktool if SemcGenericUxpRes.apk nozomi
I: Framework installed to: /home/brunojcm/apktool/framework/2-nozomi.apk
4. decode and build the framework-res.apk WITHOUT changing anything:
Code:
[email protected]:~/Android/LT26i$ apktool d -f -t nozomi framework-res.apk framework-res
(some lines, with warnings)
I: Done.
I: Copying assets and libs...
Code:
[email protected]:~/Android/LT26i$ apktool b framework-res unchanged/framework-res.apk
(few lines)
I: Building apk file...
5. Do the same of the step above, but CHANGING what you want before build. Pay attention to the output folder of the build, it's different from the previous step.
Code:
[email protected]:~/Android/LT26i$ apktool d -f -t nozomi framework-res.apk framework-res
(some lines, with warnings)
I: Done.
I: Copying assets and libs...
(CHANGE WHAT YOU WANT)
Code:
[email protected]:~/Android/LT26i$ apktool b framework-res changed/framework-res.apk
(few lines)
I: Building apk file...
I changed the config_showNavigationBar, inside framework-res/res/values/bools.xml, but you can try changing what you want. I recommend you to start changing one single boolean value, then you can try to do more advanced things.
6. Here starts the fun! Since we have almost the same apk file, because we built both using the same apktool version, the only different bytes must be the boolean we changed. So we can unpack both apk's and run a binary diff of the resources.arsc. I'm using the vbindiff (apt-get install vbindiff) on ubuntu, but there should be other binary diffs or hexadecimal editors. So unpack and run the following:
Code:
vbindiff unchanged/framework-res.apk_FILES/resources.arsc changed/framework-res.apk_FILES/resources.arsc
It will show you the binary representation of the two files, the changed and the unchanged. Press enter once and you will see some chars in red (if you don't see, you did something worng). These represent the changed value. It was 00 00 00 00 (false) and is FF FF FF FF (true) on the modified file. Now we can observe what we have around the value we want to changed. We need to observe because we're going to edit the original file. Note that there is a column containing a hexa sequence (27, 28, 29, 2A, 2B). Our changed value is in the same line of the 29. This is the line that starts with '0077 F500'.
Copy the text of the vbindiff, containing the changed value and everything around it, to a draft file for further reference. I've attached a print of this screen, se below.
7. Now we need to do the final ninja hit: Change the original apk. Actually, the original resources.arsc. But things are no so easy, because the value we need to change is not on the same position it was is the file we changed. If we go to the position 0077 F500, something completely diferent will be there. So we need to search for something near the value we want to change. I will search for the sequence '29 1D', which is 8 bytes before the value we want to change. Yes, it's a short sequence and will occours a lot of times, but it is the best we can use. Maybe '00 29 1D', but no more than that. Let's go, unpack the original framework-res.apk and run:
Code:
vbindiff framework-res.apk_FILES/resources.arsc
Now hit F to find the sequence, and H to Hexa sequence, and type the sequence you choose (here, '00 29 1D'). To find the next occourrence, press F, then N. Do it until you find this sequence in a similiar way of the original file, having one line below with 2A, and below 2B etc. It should be near '007D C5CF'. Now you need to press E, go to the column where you have '00 00 00 00' and change to 'FF FF FF FF'. Pay attention to the other lines to change the right columns. The edited values will be in yellow. You can see the second attached print screen.
8. This is the easiest step, just copy the modified resources.arsc to the original apk. It should not be the apktool-built one, it should be the file you modified on the vbindiff editor.
I did it using the Gnome archive manager, just drag and drop the resources.arsc inside the archiver window after open the framework-res.apk.
And voilà! Your modded apk is ready!
------
Hope someone can understand this and make some mods. I did my best to explain what I did, but it's a really hard procedure thus not easy to explain.
If you have any doubts, just post and I will try to answer!
And if you like, click thanks to me!
as far as i know SemcGenericUxpRes.apk is odexed, this doesn't affect the process?
iBotPeaches has taken over development of apktool. The development thread is here:
http://forum.xda-developers.com/showthread.php?t=1755243
The latest version seems a lot better than 1.4.3
---------- Post added at 10:36 AM ---------- Previous post was at 10:35 AM ----------
Yakandu said:
as far as i know SemcGenericUxpRes.apk is odexed, this doesn't affect the process?
Click to expand...
Click to collapse
i believe only the code is odexed so you can make changes to the resources without breaking the odex file.
Frist thanks to brunojcm for share this tutorial
finally with this tutorial i could make smaller on screen buttons .
Install via CWM : Smaller On Screen Buttons.zip
Tested on .58 stock rom
Some mods by me SHOULD come tomorrow after school. Nothing big, just a few things.
Sent from my LT26i with Tapatalk 2
Soheil_rf said:
Frist thanks to brunojcm for share this tutorial
finally with this tutorial i could make smaller on screen buttons.
Install via CWM : Smaller On Screen Buttons.zip
Tested on .58 stock rom
Click to expand...
Click to collapse
Cool you understood it!
What did you change to accomplish that? just booleans or integers too? were they easy to find?
brunojcm said:
Cool you understood it!
What did you change to accomplish that? just booleans or integers too? were they easy to find?
Click to expand...
Click to collapse
after enable navigation bar in bools.xml you can change size of bar in dimens.xml ( navigation_bar_height and navigation_bar_width )
Soheil_rf said:
Frist thanks to brunojcm for share this tutorial
finally with this tutorial i could make smaller on screen buttons .
http://img818.imageshack.us/img818/1254/screenshot2012080916234.png
http://img195.imageshack.us/img195/8084/screenshot2012080916240.png
http://img402.imageshack.us/img402/2717/screenshot2012080916242.png
Install via CWM : Smaller On Screen Buttons.zip
Tested on .58 stock rom
Click to expand...
Click to collapse
How you made that? I get confused on the file comparing thing... Or you just have to decompile, change the DPI and compile back?
Your file works fine on .452 firmware. However, it has some icon bugs on status bar (the USB connnection and debugging ones) and the carrier name stays a little over where it should be.
Felimenta97 said:
How you made that? I get confused on the file comparing thing... Or you just have to decompile, change the DPI and compile back?
Your file works fine on .452 firmware. However, it has some icon bugs on status bar (the USB connnection and debugging ones) and the carrier name stays a little over where it should be.
Click to expand...
Click to collapse
Try to reading Tutorial again , its simple but gets some time
maybe you are using moded SystemUI.apk or .58 FW had some difference
here its normal
Soheil_rf said:
Try to reading Tutorial again , its simple but gets some time
...
Click to expand...
Click to collapse
Could make your mod, Felimenta97?
brunojcm said:
Could make your mod, Felimenta97?
Click to expand...
Click to collapse
Nope. Always something Ib my way. Was replacing the resources.arsc after I rebuild the app. But I read I have to replace the Meta-Inf and Manifest.xml. But now no time.
Sent from my LT26i with Tapatalk 2
You wont be able to recompile and use the same apk that's the entire point to this article and getting around this limitaion.
Simply put hex edit the resources.arsc after binary dif finds the changes integers and replace with the original in the framework-res.apk.
-smc
somemadcaaant said:
You wont be able to recompile and use the same apk that's the entire point to this article and getting around this limitaion.
Simply put hex edit the resources.arsc after binary dif finds the changes integers and replace with the original in the framework-res.apk.
-smc
Click to expand...
Click to collapse
Well, I see. I'm just trying to see what would be the effect of setting True to the Animate Screen Lights line on bools.xml I'm no developer, just a simple user trying to do some mods by myself
Sent from my LT26i with Tapatalk 2
Felimenta97 said:
Well, I see. I'm just trying to see what would be the effect of setting True to the Animate Screen Lights line on bools.xml I'm no developer, just a simple user trying to do some mods by myself
Sent from my LT26i with Tapatalk 2
Click to expand...
Click to collapse
What was it supposed to do?
brunojcm said:
What was it supposed to do?
Click to expand...
Click to collapse
As far as I know, it's the responsible for the screen off animation, at least on GB.
Sent from my LT26i with Tapatalk 2
Don't get discouraged, i've never tried to play with the screen animations but maybe there's something else you need to find/edit? Seems like a fairly small change you tried to make.
If it's not a small change not being able to recompile the framework-res file makes doing more advanced mods frustratingly impossible, i've got several mods waiting to go for our phone when we're able to.
-smc
I want to try myself some mods too. 30 volume step, Sense multitasking, etc. And it compiles perfectly (except when it says that there it's something that it's missing a translation, a file I didn't even touched). One day, when I have more time, I will try to do such things, slowly.
Sent from my LT26i with Tapatalk 2
Why to use apktool instead of 7zip?
I tried replacing a .png in framework.res and get errors.
Erachter said:
Why to use apktool instead of 7zip?
I tried replacing a .png in framework.res and get errors.
Click to expand...
Click to collapse
Because it involves a lot more than just removing files
Sent from my LT26i with Tapatalk 2
Thanks to iBotPeaches the latest custom build of apktool is now out:
[UTIL][Sept 2 2012] Apktool v1.5.0 - a tool for reverse engineering apk files
A new version has been released!
v1.5.0 (Released September 2 - 2012 ) Codename : Pikmin
Fix for colours being decompiled with improper hex colours
Fix for <string-array> being treated as array on occasion
Support for Mac OS X user:home, instead of dumping frames into /home
Updated internal framework.jar to API16
Added <user-sdk> reading to insert into apktool.yml to help with aapt building
Supported -d mode
Added --verbose mode to output contents of AAPT (note this is a HUGE output). Only used for debugging.
Ignore bootclasspath on debug mode. (Causes some classes in smali to be fail decompile)
New AAPT (Linux only) - http://miui.connortumbleson.com/othe...apt/linux/aapt
Get the patched aapt.
@Felimenta97 if your getting the language error it should be normal depending on what framework you are using, single language is never set for a multilanguage firmware.
-smc

[MOD][DIY] Get Working MMS + SMS Auto-Split for CM10.1 and AOSP ROMs

So I've made this mod for myself for a long time now, I've had numerous requests from people to add this to CM's source, I have no idea nor interest in doing that but if anyone out there wants to, go ahead.
Anyway this mod is for users of CM 10.1 nightly's and other AOSP based ROMs (PACMan, Slim ROM, AOKP, etc) . I haven't used it in a while so I'm not sure if this is even needed.
This mod will get MMS working properly and will also allow you to send multiple messages without having to stop at 160 characters per message.
You need apktool to decompile the apk, I use this version (apktool.jar and aapt.exe)
-First, get these two apk's from your current CM 10.1 build onto your computer
*/system/app/Mms.apk
*/system/framework/framework-res.apk
-Next, place those apk's in your apktool directory. Open up a command prompt, CD your apktool folder and issue the following commands
Code:
apktool if framework-res.apk
apktool d Mms.apk
-In your decompiled Mms.apk folder, navigate to /res/xml/ and replace the mms_config.xml with this one
-Once that xml is replaced recompile the Mms.apk. In case you're not too familiar with apktool you do so my issuing this command
Code:
apktool b Mms Mms-mod.apk
-In your apktool folder you should see the Mms-mod.apk. Drag and drop the META-INF folder and AndroidManifest.xml from the original Mms.apk into your Mms-mod.apk
-Lastly, rename your modified apk to just Mms.apk and make a flashable zip for yourself. Here is a DIY I wrote up a while back for that.
I'm not on XDA much anymore so I won't take requests to this for every nightly, however if someone wants to add this to CM's code feel free!
Happy Holidays
if the link for the modified mms_config.xml isn't working use this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
</mms_config>
This doesn't seem to work for me. Got it all put together, pushed it to my device, and it runs but doesn't show the extra options.
bmxchampga said:
This doesn't seem to work for me. Got it all put together, pushed it to my device, and it runs but doesn't show the extra options.
Click to expand...
Click to collapse
It works, there's really no new options within the Settings menu besides the add a counter split, which folks should enable just to be safe.
Sent from my SPH-L710 using Tapatalk 2
nice work thank you
Anyway to get a zip for this so it's flashable? I'm not experience with code edits
interhawk1 said:
Anyway to get a zip for this so it's flashable? I'm not experience with code edits
Click to expand...
Click to collapse
Seconded, I'm currently at work and to be provided with a flashable zip would be awesome and I'd be eternally grateful.
This was the only thing I couldnt get working on this version of the rom but unfortunately the instructions are only for seasoned veterans and theres no way for anyone to learn anything here. Surely if nobodys going to teach people the full method then someone can make this a flashable zip and upload it.
xtool said:
This was the only thing I couldnt get working on this version of the rom but unfortunately the instructions are only for seasoned veterans and theres no way for anyone to learn anything here. Surely if nobodys going to teach people the full method then someone can make this a flashable zip and upload it.
Click to expand...
Click to collapse
Lol. What are you having trouble with? The only pre req is you have apktool set up. If you wanna get apktool set up, Google "How to Set up apktool Windows" (or Mac or whatever you have)
I gave a link to the apktool I use and I even typed out the commands needed. But don't say you can't learn anything here; when I was all into development I learned about 75% of easy mods on this site.
Sent from my SPH-L710 using Tapatalk 2
I've read it a bunch of times and haven't a clue where to start.
xtool said:
I've read it a bunch of times and haven't a clue where to start.
Click to expand...
Click to collapse
I edited my post above. The only pre req is you have apktool set up. Start there. I'll be @ my laptop later n can post a link to a tutorial for that. You only need to download JAVA, then use the link in my original post to get the latest apktool.jar and aapt.exe
Sent from my SPH-L710 using Tapatalk 2
Alright here is a guide on how to set up apktool (Windows)
Download JAVA found here. If you're not sure which version of Windows you have (x64 or x86) look under System Info, it'll be under System Type
After you install JAVA navigate to C:\Users\Owner (*Note: "Owner" can be your computer name. ex: C:\Users\Steve\)
Create a folder called apktool
Next, download this package I made for Windows users, it has the latest apktool files for Windows users
Extract it using 7-Zip
Open the extracted folder and copy/paste all of the contents into your C;\Users\Owner\apktool folder
Then follow the instructions in the OP
As soon as you open the command prompt type this
Code:
cd apktool
Then follow the rest as is. If you're having issues getting the framework-res.apk and Mms.apk from your phone to your computer you can email them to yourself or upload them to dropbox or some other file sharing site then download them to your computer
Thank you for the tutorial and how to unpackage (decompress) apks.
I did this for the JellyBean [4.2.1] Beta 2 Rom, got the MMS.APK outta there.
APKTooled it, added the splitsms to true.
Repackaged
Did the zip tutorial and made the zip.
Flashed the zip
It still doesn't auto split.
Any suggestions?
My MMS config:
"<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-GT-I9100-Mms</string>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-I9100.xml</string>
</mms_config>"
MadDucker said:
Thank you for the tutorial and how to unpackage (decompress) apks.
I did this for the JellyBean [4.2.1] Beta 2 Rom, got the MMS.APK outta there.
APKTooled it, added the splitsms to true.
Repackaged
Did the zip tutorial and made the zip.
Flashed the zip
It still doesn't auto split.
Any suggestions?
My MMS config:
"<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-GT-I9100-Mms</string>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-I9100.xml</string>
</mms_config>"
Click to expand...
Click to collapse
The mms_config.xml is wrong, I have the correct one for Sprint in the second post
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
The mms_config.xml is wrong, I have the correct one for Sprint in the second post
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Do the differences have to be in order?
Yours:
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
vs a recompiled one:
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
because I did it like the bottom one but it still didn't work.
MadDucker said:
Do the differences have to be in order?
Yours:
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
vs a recompiled one:
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
because I did it like the bottom one but it still didn't work.
Click to expand...
Click to collapse
I'm not sure, I did use CM 10.1 last night for a bit and this worked. I'm back on a TW thing right nw but you can try replacing the entire mms_config.xml with the one I have in the OP. Just d/l the xml and overwrite the one in /res/xml
If tht doesn't do it I'll check out the new CM 10.1 build tomorrow and see if anything changed
Sent from my SPH-L710 using Tapatalk 2
I just made this mod for the latest build 1-5-13 and it works fine. Just follow directions to a T, including using the mms_config.xml in the Op
Also, after you reboot open up the messaging app and go to its settings, select Split Counter and Strip Unicode. But yea I tested it a bunch of times and it works fine
Sent from my SPH-L710 using Tapatalk 2
Here is a flashable zip for this mod, includes a framework-res mod as well. Made for the CM 10.1 build only (1-5-13)
http://db.tt/FcgSsazo
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
Here is a flashable zip for this mod, includes a framework-res mod as well. Made for the CM 10.1 build only (1-5-13)
http://db.tt/FcgSsazo
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Man, I feel stupid now.
In your zip, you added the framework APK. That was probably important in adding to the flashable zip right?
Edit*
OMG It was even worse than that. I was addding the APK under the data/app folder instead of system/app.
Thanks for the zip, thanks for the info. Gave you as much thanks as I could.
Anyway to fix MMS rotation?
Sent from my SPH-L710 using xda app-developers app

[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