FORUMS

OnePlus Addresses Reservation List Cheating

Jake Cooper figured out how to bump his place up on OnePlus’ reservation list and … more

OnePlus 2 Benchmark Scores Show Its Muscle

This video by FoneArena contains all the popular benchmarks being tested on the OnePlus 2, … more

Sony’s Emergence in The Middle: Is The Price Right?

Sony’s Electronics Division is not in its best days, and its smartphone … more

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

Ink without S-Pen on 4.4.2

8,228 posts
Thanks Meter: 13,632
 
Post Reply Subscribe to Thread Email Thread
Does anyone know how to get this to work?

Samsung moved the CircleUnlockRippleRenderer files to Keyguard.apk, and com.sec.android.visualeffects.jar. However, I've tried the usual method of editing the values near the constant for S-Pen (0x4002)...

Code:
    and-int/lit16 v1, v1, 0x4002

    const/16 v2, 0x4002

    if-ne v2, v2, :cond_9
But this does not enable the ink effect with your finger.
The Following User Says Thank You to MattBooth For This Useful Post: [ View ]
 
 
31st August 2014, 03:29 PM |#3  
Thecrazyskull's Avatar
Senior Member
Thanks Meter: 1,411
 
Donate to Me
More
Quote:
Originally Posted by Kryten2k35

No-one?

This rom for Note 2 has it so if its related to keyguard you can take it from the rom and use it with ArchiPort.
http://forum.xda-developers.com/show....php?t=2060389
EDIT: I tried replacing keyguard.apk and com.sec.android.visualeffects.jar with the ones from archiport but it didn't work.
EDIT 2: It was wrong file xD when i do it i get systemui fc.
And i discovered that its related to the keyguard because when i replace custom com.sec.android.visualeffects.jar with stock one and keep custom keyguard the fc is still there, and if i replace com.sec.android.visualeffects.jar with the original one i get nothing (no fc and no custom color on lockscreen).
Last edited by Thecrazyskull; 31st August 2014 at 04:42 PM.
12th September 2014, 08:16 PM |#4  
Thecrazyskull's Avatar
Senior Member
Thanks Meter: 1,411
 
Donate to Me
More
@Kryten2k35
I have made some progress in making the ripple effect working but i really need your help:
I downloaded sweetrom 4.4.2 and extracted keyguard.apk and com.sec.android.visualeffect.jar and replaced them in ArchiPort.
Then i go into settings->lockscreen and selected ripple effect as lock effect.
Then i locked the phone: i got a black background.. but the sound isn't from ripple effect it is from watercolor effect (the one from the note 3).
When i choose lighteffect i get systemui fc.
When i choose none then is everything working fine (wallpaper too).
13th September 2014, 11:16 AM |#5  
MattBooth's Avatar
OP Recognized Contributor
Flag Bradford
Thanks Meter: 13,632
 
Donate to Me
More
Quote:
Originally Posted by Anas Karbila

@Kryten2k35
I have made some progress in making the ripple effect working but i really need your help:
I downloaded sweetrom 4.4.2 and extracted keyguard.apk and com.sec.android.visualeffect.jar and replaced them in ArchiPort.
Then i go into settings->lockscreen and selected ripple effect as lock effect.
Then i locked the phone: i got a black background.. but the sound isn't from ripple effect it is from watercolor effect (the one from the note 3).
When i choose lighteffect i get systemui fc.
When i choose none then is everything working fine (wallpaper too).

You may need to change the public ID's in the Keyguard.apk to match those from the Note II/ArchiPort

For isntance, decompile Sweetrom's framework-res.apk. ArchiPort's framework-res.apk. Then decompile the Keyguard.apk that you have and look for any ID's that start with "0x10" (Notepad++ has a handy feature to search entire folders's documents for strings like this). You should find any public Id's (that are in public.xml) for the Keyguard.apk, match it with Sweetrom's framework-res.apk's public.xml, then match the item NAME in the Archiport's framework-res.apk public.xml... If the ID's match, move to the next, fi they do not, correct the ID in Ketguard.apk to match ArchiPort's ID, not sweetroms'
The Following User Says Thank You to MattBooth For This Useful Post: [ View ]
13th September 2014, 11:55 AM |#6  
Thecrazyskull's Avatar
Senior Member
Thanks Meter: 1,411
 
Donate to Me
More
Quote:
Originally Posted by Kryten2k35

You may need to change the public ID's in the Keyguard.apk to match those from the Note II/ArchiPort

For isntance, decompile Sweetrom's framework-res.apk. ArchiPort's framework-res.apk. Then decompile the Keyguard.apk that you have and look for any ID's that start with "0x10" (Notepad++ has a handy feature to search entire folders's documents for strings like this). You should find any public Id's (that are in public.xml) for the Keyguard.apk, match it with Sweetrom's framework-res.apk's public.xml, then match the item NAME in the Archiport's framework-res.apk public.xml... If the ID's match, move to the next, fi they do not, correct the ID in Ketguard.apk to match ArchiPort's ID, not sweetroms'

thanks but im unable to it because i always get problems with decompiling and recompiling.
if you want to do it i can give you the files so you don't have to download the whole rom.
16th October 2014, 03:25 PM |#7  
amk19's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 462
 
Donate to Me
More
Post ink effect for kitkat 4.4.2 with fingers for Galaxy Note.
please go here

Thanks.


Hit THANKS button, If I helped You.
The Following User Says Thank You to amk19 For This Useful Post: [ View ]
18th October 2014, 06:11 PM |#8  
Member
Thanks Meter: 2
 
More
how to root note 2 N7100 android version 4.4.2. sorry I am new to note 2
22nd February 2015, 11:50 AM |#9  
Thecrazyskull's Avatar
Senior Member
Thanks Meter: 1,411
 
Donate to Me
More
I succesfully managed to get it working on ArchiPort.
extract this zip in system:
https://drive.google.com/file/d/0B0C...ew?usp=sharing
Then wipe cache and dalvik and reboot.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes