FORUMS

AOSP 5.1 Lollipop for Nexus Q

Google Nexus Q is an intriguing device released with Android 4.0 Ice Cream Sandwich. It was abandoned by … more

XDA Picks: Best Apps of the Week (Apr 17 – 24)

Apps are at the front and center of any smartphone experience, and with over a … more

Glimpse Notifications: Easier Lockscreen Notifications

Lollipop brought a revamp to the lockscreen, taking away custom widgets but … more

What Are the Best Looking Apps on Android?

As more developers are updating their apps with Material Design elements, we’re … more
Post Reply Subscribe to Thread Email Thread

[Tip] Activating Ink effect with fingers (4.3)

31st October 2013, 02:10 PM |#1  
OP Member
Flag Leon
Thanks Meter: 196
 
Donate to Me
More
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
Attached Files
File Type: zip Activating Ink effect with fingers.zip - [Click for QR Code] (796.4 KB, 374 views)
Last edited by kenet; 25th November 2013 at 08:06 AM.
The Following 2 Users Say Thank You to kenet For This Useful Post: [ View ]
 
 
31st October 2013, 03:10 PM |#2  
Senior Member
Thanks Meter: 13
 
More
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
1st November 2013, 03:26 AM |#3  
Senior Member
Flag KLang
Thanks Meter: 170
 
More
Could you share the files.. TQ
1st November 2013, 05:15 AM |#4  
OP Member
Flag Leon
Thanks Meter: 196
 
Donate to Me
More
here it is.
Attached Files
File Type: zip Activating Ink effect with fingers.zip - [Click for QR Code] (796.4 KB, 110 views)
3rd November 2013, 02:27 PM |#5  
Junior Member
Thanks Meter: 0
 
More
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.
3rd November 2013, 02:46 PM |#6  
Senior Member
Flag KLang
Thanks Meter: 170
 
More
Safe way to replace any files in framework folder is using cwm.zip

Sent from my GT-N7100 using XDA Premium 4 mobile app
The Following User Says Thank You to inamie For This Useful Post: [ View ]
16th October 2014, 03:16 PM |#7  
amk19's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 307
 
Donate to Me
More
Post ink effect for kitkat 4.4.2 with fingers.
please go here

Thanks.


Hit THANKS button, If I helped You.
Last edited by amk19; 16th October 2014 at 03:22 PM.
The Following User Says Thank You to amk19 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes