Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,418 Members 46,319 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE / HOW-TO] Add screen off animations to KitKat 4.4 [CRT/FADE/NONE]

Tip us?
 
dwss
Old
#21  
Member
Thanks Meter 5
Posts: 62
Join Date: Apr 2010
Is there a way to push this through ODIN to a device on stock?
 
tdunham
Old
#22  
tdunham's Avatar
Recognized Contributor
Thanks Meter 18,003
Posts: 8,171
Join Date: Jun 2008
Location: TampaBay

 
DONATE TO ME
Quote:
Originally Posted by dwss View Post
Is there a way to push this through ODIN to a device on stock?
See my reply in one of the other threads you posed this question.
You cannot odin mods anyway.
 
ocoot
Old
#23  
ocoot's Avatar
Senior Member
Thanks Meter 620
Posts: 570
Join Date: Apr 2012
Location: Semarang, Central Java
this guide will work on aosp device? thx


Current Device: Galaxy Young GT-S6310
Rom: Purekat Touchwiz Version
Kernel: Tyrssdx Kernel (My own kernel, not published)

 
tdunham
Old
#24  
tdunham's Avatar
Recognized Contributor
Thanks Meter 18,003
Posts: 8,171
Join Date: Jun 2008
Location: TampaBay

 
DONATE TO ME
Quote:
Originally Posted by ocoot View Post
this guide will work on aosp device? thx
Hard to say. It is based on the touchwiz 4.4.2 that the Galaxy S5 is using.
 
ocoot
Old
(Last edited by ocoot; 21st August 2014 at 06:51 PM.)
#25  
ocoot's Avatar
Senior Member
Thanks Meter 620
Posts: 570
Join Date: Apr 2012
Location: Semarang, Central Java
Quote:
Originally Posted by tdunham View Post
Hard to say. It is based on the touchwiz 4.4.2 that the Galaxy S5 is using.
ok already try it. got looping on boot animation
can you see my log and give me the solution? i'll attach my services.jar original too
Attached Files
File Type: txt services-log.txt - [Click for QR Code] (462.2 KB, 3 views)
File Type: jar services.jar - [Click for QR Code] (1.86 MB, 0 views)


Current Device: Galaxy Young GT-S6310
Rom: Purekat Touchwiz Version
Kernel: Tyrssdx Kernel (My own kernel, not published)

 
tdunham
Old
#26  
tdunham's Avatar
Recognized Contributor
Thanks Meter 18,003
Posts: 8,171
Join Date: Jun 2008
Location: TampaBay

 
DONATE TO ME
Quote:
Originally Posted by ocoot View Post
ok already try it. got looping on boot animation
can you see my log and give me the solution? i'll attach my services.jar original too
I see null pointer exceptions in your log.
More than likely, you need to change the registers in the mod to match the surrounding code of your rom.
Rompnit uploaded diff files to compare so what I would do is open them up, see where he made his changes and you're going to have to figure out how your surrounding code is similar (but with different register values) and match up registers.
There are two places in the guide you definitely need to address this... this part:
Code:
iput-object v0, p0, Lcom/android/server/power/DisplayPowerController;->mPowerState:Lcom/android/server/power/DisplayPowerState;

const v4, 0x2

iget-object v0, p0, Lcom/android/server/power/DisplayPowerController;->mPowerState:Lcom/android
and also the part he added on 08/03 that is highlighted in red in the guide.
Using the example above, I can pretty much guarantee that you're going to have to change v4 to some other value.
Same goes for v2, v3 & v4 in the 08/03 add-on.
 
ocoot
Old
#27  
ocoot's Avatar
Senior Member
Thanks Meter 620
Posts: 570
Join Date: Apr 2012
Location: Semarang, Central Java
Quote:
Originally Posted by tdunham View Post
I see null pointer exceptions in your log.
More than likely, you need to change the registers in the mod to match the surrounding code of your rom.
Rompnit uploaded diff files to compare so what I would do is open them up, see where he made his changes and you're going to have to figure out how your surrounding code is similar (but with different register values) and match up registers.
There are two places in the guide you definitely need to address this... this part:
Code:
iput-object v0, p0, Lcom/android/server/power/DisplayPowerController;->mPowerState:Lcom/android/server/power/DisplayPowerState;

const v4, 0x2

iget-object v0, p0, Lcom/android/server/power/DisplayPowerController;->mPowerState:Lcom/android
and also the part he added on 08/03 that is highlighted in red in the guide.
Using the example above, I can pretty much guarantee that you're going to have to change v4 to some other value.
Same goes for v2, v3 & v4 in the 08/03 add-on.
ok thanks you. will try it


Current Device: Galaxy Young GT-S6310
Rom: Purekat Touchwiz Version
Kernel: Tyrssdx Kernel (My own kernel, not published)

 
bombaybadboy
Old
#28  
bombaybadboy's Avatar
Recognized Contributor
Thanks Meter 17,604
Posts: 7,664
Join Date: Apr 2012
Location: wolverhampton
Thanks for this guide it works great on my i9500 :thumbup:

Sent from my GT-I9500 using Tapatalk 2

The Following User Says Thank You to bombaybadboy For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes