Enable the Hidden Notification LED on the Google Nexus 6!

LED notification lights have existed on Android devices since the very beginnings … more

MX Player Ready to Rock on Lollipop

A good video player should be reliable and free. One of the XDA Community Apps, MX Player, meets both of … more

How to Disable Data Encryption on Nexus 6

In late September, Google decided to step on NSA’s toes and turn on encryption by default in … more

DJI Phantom 2 Vision+ Review – XDA TV

The holidays will be here in no time, so why not start thinking about gifts now? Youll be ahead … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Enable Ripple ink effect with fingers or without S-Pen on Note 3 4.4.2 Kitkat

OP amk19

16th October 2014, 04:04 PM   |  #1  
amk19's Avatar
OP Member
Thanks Meter: 38
 
64 posts
Join Date:Joined: Jul 2014
More
Hi all, I am a newbie and this thread is about enabling the Ripple ink effect with fingers or without S-pen on Note 3 Kitkat.

My Note 3 details:
Variant: SM-N9005,
ROM: Stock odexed ROM-rooted,
Firmware: N9005XXUGNG1,
Region: BTU.


Thanks to:
@kenet for Activating Ink effect with fingers (4.3)


Their might be other ways to implement it. but I am writing the steps which I have followed.
You Need:
1. Windows PC.
2. JRE installed.
3. Download aapt.exe here, apktool.jar here, baksmali.jar and smali.jar files here.

So here is the step by step guide on how to do it.
1. copy framework folder (/system/framework) from your Note 3 to the folder (say, C:\apktool\system\framework) in your PC.
2. copy the com.sec.android.visualeffect.odex and com.sec.android.visualeffect.jar from Framework folder to aoktool folder (C:\apktool), now baksmali the com.sec.android.visualeffect.odex present in C:\apktool folder using the command
Quote:

Code:
java -jar baksmali.jar -d C:\apktool\system\framework -x com.sec.android.visualeffect.odex

-d path of directory where framework files are placed.
-x target .odex file (in our case it's com.sec.android.visualeffect.odex)
3. once command is completed, you will see a folder named out .
4. Navigate to C:\apktool\out\com\sec\android\visualeffect\ripple ink, and open the file RippleInkRenderer$DVFSHandlerForRipple.smali.
5. Open the file and search for const/16 v9, 0x4002

Quote:

Code:

const/16 v9, 0x4002

if-ne v8, v9, :cond_ca

.line 669

6. Change the red line to, as shown below.
Quote:

Code:

const/16 v9, 0x4002

if-ne v9, v9, :cond_ca

.line 669

7. Once changes are done, smali the out folder present in C:\apktool using the command
Quote:

Code:
java -jar smali.jar -o classes.dex out

-o the name of newly created .dex file.
out is the folder name.
8. Once you see the classes.dex file in the folder, then push this .dex file into com.sec.android.visualeffect.jar file using the command
Quote:

Code:
aapt add com.sec.android.visualeffect.jar classes.dex

9. This is deodexed .jar file, and you can directly push this jar into your phone path /system/framework using RootExplorer and set the permission to rw-r--r--, and delete the com.sec.android.visualeffect.odex file from the framework folder.

Restart the phone, and you should be able to use ink effect with fingers.

10. If you want to create the com.sec.android.visualeffect.odex file from the com.sec.android.visualeffect.jar file then their are few more steps, which involves busybox, but this jar will work fine, please delete or remove the com.sec.android.visualeffect.odex file from the framework folder and keep only com.sec.android.visualeffect.jar, because this jar is deodexed and working fine for me.



P.S: This will not work if you have changed the ro.product.name or ro.product.device in build.prop



Update:
As i have told that I am new here and I don't know how to make an Xposed module.
Can anybody make an Xposed module for this and give credit?

For enabling Light/Lens Flare effect or Particle effect on Lockscreen, please check out here.


Hit THANKS button, If I helped You.
Attached Thumbnails
Click image for larger version

Name:	rsz_1screenshot_2014-10-16-15-29-00.png
Views:	589
Size:	188.0 KB
ID:	2973242   Click image for larger version

Name:	rsz_1rsz_22014-10-16_191254.png
Views:	601
Size:	182.2 KB
ID:	2973250  
Attached Files
File Type: jar com.sec.android.visualeffect.jar - [Click for QR Code] (48.6 KB, 45 views)
Last edited by amk19; 24th October 2014 at 05:00 PM.
The Following 10 Users Say Thank You to amk19 For This Useful Post: [ View ]
16th October 2014, 04:55 PM   |  #2  
Member
Thanks Meter: 8
 
31 posts
Join Date:Joined: Aug 2013
More
Thank you for sharing
16th October 2014, 05:00 PM   |  #3  
amk19's Avatar
OP Member
Thanks Meter: 38
 
64 posts
Join Date:Joined: Jul 2014
More
Quote:
Originally Posted by eemo69

Thank you for sharing

welcome.
16th October 2014, 08:42 PM   |  #4  
thahim's Avatar
Senior Member
Flag Karachi
Thanks Meter: 109
 
831 posts
Join Date:Joined: Dec 2006
More
An xposed mod will be appriciated.

Sent from Galaxy Note 3 SM-N9005
17th October 2014, 11:40 AM   |  #5  
rockadz9's Avatar
Senior Member
XDA
Thanks Meter: 18
 
109 posts
Join Date:Joined: Apr 2014
Quote:
Originally Posted by thahim

An xposed mod will be appriciated.

Sent from Galaxy Note 3 SM-N9005

+1
yeah xposed mod
The Following User Says Thank You to rockadz9 For This Useful Post: [ View ]
17th October 2014, 01:01 PM   |  #6  
david6910's Avatar
Senior Member
Thanks Meter: 18
 
128 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by rockadz9

+1
yeah xposed mod

Yes be would nice!
1st November 2014, 08:13 PM   |  #7  
Member
Flag Nagpur
Thanks Meter: 5
 
48 posts
Join Date:Joined: May 2013
Donate to Me
More
Quote:
Originally Posted by amk19

Hi all, I am a newbie and this thread is about enabling the Ripple ink effect with fingers or without S-pen on Note 3 Kitkat.

My Note 3 details:
Variant: SM-N9005,
ROM: Stock odexed ROM-rooted,
Firmware: N9005XXUGNG1,
Region: BTU.


Thanks to:
@kenet for Activating Ink effect with fingers (4.3)


Their might be other ways to implement it. but I am writing the steps which I have followed.
You Need:
1. Windows PC.
2. JRE installed.
3. Download aapt.exe here, apktool.jar here, baksmali.jar and smali.jar files here.

So here is the step by step guide on how to do it.
1. copy framework folder (/system/framework) from your Note 3 to the folder (say, C:\apktool\system\framework) in your PC.
2. copy the com.sec.android.visualeffect.odex and com.sec.android.visualeffect.jar from Framework folder to aoktool folder (C:\apktool), now baksmali the com.sec.android.visualeffect.odex present in C:\apktool folder using the command

-d path of directory where framework files are placed.
-x target .odex file (in our case it's com.sec.android.visualeffect.odex)
3. once command is completed, you will see a folder named out .
4. Navigate to C:\apktool\out\com\sec\android\visualeffect\ripple ink, and open the file RippleInkRenderer$DVFSHandlerForRipple.smali.
5. Open the file and search for const/16 v9, 0x4002


6. Change the red line to, as shown below.

7. Once changes are done, smali the out folder present in C:\apktool using the command
-o the name of newly created .dex file.
out is the folder name.
8. Once you see the classes.dex file in the folder, then push this .dex file into com.sec.android.visualeffect.jar file using the command

9. This is deodexed .jar file, and you can directly push this jar into your phone path /system/framework using RootExplorer and set the permission to rw-r--r--, and delete the com.sec.android.visualeffect.odex file from the framework folder.

Restart the phone, and you should be able to use ink effect with fingers.

10. If you want to create the com.sec.android.visualeffect.odex file from the com.sec.android.visualeffect.jar file then their are few more steps, which involves busybox, but this jar will work fine, please delete or remove the com.sec.android.visualeffect.odex file from the framework folder and keep only com.sec.android.visualeffect.jar, because this jar is deodexed and working fine for me.



P.S: This will not work if you have changed the ro.product.name or ro.product.device in build.prop



Update:
As i have told that I am new here and I don't know how to make an Xposed module.
Can anybody make an Xposed module for this and give credit?

For enabling Light/Lens Flare effect or Particle effect on Lockscreen, please check out here.


Hit THANKS button, If I helped You.

Hi..
Will your attached "com.sec.android.visualeffect.jar" file will work if I move it to /system/framework using RootExplorer and set the permission to rw-r--r-- and deleting .odex of it.?
2nd November 2014, 09:19 AM   |  #8  
mehdi.moha's Avatar
Senior Member
Flag tehran
Thanks Meter: 196
 
1,589 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by kushal.arora16

Hi..
Will your attached "com.sec.android.visualeffect.jar" file will work if I move it to /system/framework using RootExplorer and set the permission to rw-r--r-- and deleting .odex of it.?

+1
will it work ?

---------- Post added at 10:19 AM ---------- Previous post was at 09:45 AM ----------

Man !!!!!
there is not any {{ Code:
const/16 v9, 0x4002

if-ne v8, v9, :cond_ca

.line 669 }}}

on my RippleInkRenderer$DVFSHandlerForRipple.smali !!!!!!!!

that is on my RippleInkRenderer.smali !!
what is your opinion ?
Last edited by mehdi.moha; 2nd November 2014 at 09:22 AM.
2nd November 2014, 03:33 PM   |  #9  
amk19's Avatar
OP Member
Thanks Meter: 38
 
64 posts
Join Date:Joined: Jul 2014
More
Post
Quote:
Originally Posted by kushal.arora16

Hi..
Will your attached "com.sec.android.visualeffect.jar" file will work if I move it to /system/framework using RootExplorer and set the permission to rw-r--r-- and deleting .odex of it.?

It should work if the firmware is same.
2nd November 2014, 03:34 PM   |  #10  
amk19's Avatar
OP Member
Thanks Meter: 38
 
64 posts
Join Date:Joined: Jul 2014
More
Post
Quote:
Originally Posted by mehdi.moha

+1
will it work ?

---------- Post added at 10:19 AM ---------- Previous post was at 09:45 AM ----------

Man !!!!!
there is not any {{ Code:
const/16 v9, 0x4002

if-ne v8, v9, :cond_ca

.line 669 }}}

on my RippleInkRenderer$DVFSHandlerForRipple.smali !!!!!!!!

that is on my RippleInkRenderer.smali !!
what is your opinion ?

What's your firmware version?

Post Reply Subscribe to Thread

Tags
ink effect, ink effect lockscreen, ink effect with finger, note 3 lockscreen mod, ripple ink effect
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes