[Tip] Activating Ink effect with fingers (4.3)

Search This thread

kenet

Senior Member
Jun 15, 2010
355
528
Leon
www.androidmod.net
A. android.policy.jar file:
1. Copy the contents of “to android.policy.jar” folder.
2. Decompile android.policy.jar by backsmali/smali program.
3. Go to classout\com\android\internal\policy\impl\sec\ folder open CircleUnlockRippleRenderer.smali and search for "const/16 v1, 0x4002" and change this line.

search

Code:
const/16 v1, 0x4002

if-ne v0, v1, :cond_138
change

Code:
 const/16 v1, 0x4002

if-ne v1, v1, :cond_138
Now recompile android.policy.jar and push them to your device.

Credits. majdinj

Sorry for my English
 
Last edited:
  • Like
Reactions: clau_la2 and luju

jacob_stallone1

Senior Member
May 23, 2013
109
14
Great! Havent tried it yet, but it should work.. Any other way though? Like to flash via recovery? I have 4.3 leaked, stock, rooted, twrp, odexed

Sent from my GT-N7100 using XDA Premium 4 mobile app
 

singlaire

New member
Nov 3, 2013
1
0
please help me.

sorry for bothering you with my newbies question.
i have problem,, i hope you can help me regarding to this thread.

first i used [4.3][MI6]DN3(Ditto Note 3) ROM from Electron Team(E-team)
in that ROM the ripple effect is basically mod like in this thread, what i want to do is to reverse it to the original note 2 which is the ink only out when using s-pen.
i already follow steps like you said on post#1
1. copy my android.policy.jar to my sd and move to my computer
2. decompile with backsmali/smali program
3. unlike you i go to classout\com\android\internal\policy\impl\keyguard\sec folder open CircleUnlockRippleRenderer.smali and search for "const/16 v1, 0x4002" and change

i change the value
Code:
const/16 v1, 0x4002

if-ne v1, v1, :cond_138

into the original

Code:
const/16 v1, 0x4002

if-ne v0, v1, :cond_138

4. Recompile android.policy.jar and copy to my sdcard.

5. move the android.policy.jar with rootbrowser to its original location and replace the original android.policy.jar

but i ended with many error when i push the android.policy.jar that i mod with steps like you said in post#1.
my error is non stop FC and non stop TW, NFC, and etc stopped working.

can you tell me where do i made mistake? please give me solution about this problem, thanks before.
 

inamie

Senior Member
Aug 16, 2012
606
193
KLang
Safe way to replace any files in framework folder is using cwm.zip

Sent from my GT-N7100 using XDA Premium 4 mobile app
 
  • Like
Reactions: singlaire

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    A. android.policy.jar file:
    1. Copy the contents of “to android.policy.jar” folder.
    2. Decompile android.policy.jar by backsmali/smali program.
    3. Go to classout\com\android\internal\policy\impl\sec\ folder open CircleUnlockRippleRenderer.smali and search for "const/16 v1, 0x4002" and change this line.

    search

    Code:
    const/16 v1, 0x4002
    
    if-ne v0, v1, :cond_138
    change

    Code:
     const/16 v1, 0x4002
    
    if-ne v1, v1, :cond_138
    Now recompile android.policy.jar and push them to your device.

    Credits. majdinj

    Sorry for my English
    1
    Safe way to replace any files in framework folder is using cwm.zip

    Sent from my GT-N7100 using XDA Premium 4 mobile app
    1
    ink effect for kitkat 4.4.2 with fingers.

    please go here

    Thanks.


    Hit THANKS button, If I helped You.