* Credits: first big thanks to user raffaele88 to port this effects on android 4.3. I have taken smali that command mod and used to make mod working fine for another fw base.
* What do this mod?
- fixed, no random reboots
- work with deodex roms, if you have custom rom like omega or another be sure to not have another mod that work with services.jar file, to not have some issue
- add 2 lines in your bluid.prop:
- replace your services.jar (located in system/framework, where is build this mod)
1) have a minimum knowledge of modding and decompiling
3) use this tool to decompile/compile your jar files: http://forum.xda-developers.com/show....php?t=1582468
2) take services.jar of your deodex rom and decompile it
3) download this smali DisplayPowerController.smali and replace original inside "\classout\com\android\server\power"
4) compile, and put new class.dex inside your services.jar (open it with program like 7zip and drag inside class.dex, than close 7zip)
5) use one zip like this (CRT off test for 4.3 firmware.zip) to try your mod. Of course, put your services.jar inside framework folder of this zip
6) inside zip you also found propvalues file, where is located the second part of mod. If you open this file with notepad++ you will see 2 strings:
Not touch this, is all ready, only make mod with services.
7) remember to do a nandroid backup before try everything
The XDA Portal is a place where we like to talkabout things that are interesting, fun, and sometimes … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?