Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,721 Members 52,338 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][GUIDE][JB 4.1.2][MULTI-THREAD/NATIVE] Lockscreen Blur Effect/MULTITHREAD

Tip us?
 
Toni5830
Old
#81  
Toni5830's Avatar
Senior Member
Thanks Meter 317
Posts: 505
Join Date: Jul 2012
Location: Somewhere over the Rainbow
Quote:
Originally Posted by nokiae668 View Post
Hi, I want to modify a android.policy.jar file, because I would like to do the "new" lockscreen.
I copy .jar file to apktool folder and open the file with (7zip, winRAR) and no classes.dex file.

This is why?

I attached a screenshot and android.policy.jar file.

Thanks in advanced. Sorry for my English.
you must deoedex your firmware before..
search a deodexed zip of your firmware version
Do not seek for information
of which you cannot make use.

 
nokiae668
Old
#82  
nokiae668's Avatar
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Jun 2013
Quote:
Originally Posted by Toni5830 View Post
you must deoedex your firmware before..
search a deodexed zip of your firmware version
I have a stock firmware version (Hungarian Tmobile firmware) with root.
I download a stock fw and deodex.
Please, how to?
 
pang34
Old
#83  
Senior Member
Thanks Meter 27
Posts: 216
Join Date: Jan 2014
Location: Kuala Lumpur
This guide work on cm11???

send for I8190N CM11 using XDA Premium 4 mobile app
 
shut_down
Old
#84  
shut_down's Avatar
Senior Member
Thanks Meter 3287
Posts: 7,366
Join Date: Sep 2010
Location: Belgrade
Quote:
Originally Posted by pang34 View Post
This guide work on cm11???

send for I8190N CM11 using XDA Premium 4 mobile app
CM11 is not 4.1.2, like it is written in title. And it needs TW framework, so it is for stock based JB 4.1.2.
 
nokiae668
Old
#85  
nokiae668's Avatar
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Jun 2013
Hi, I only make a toggle on lockscreen.

I added a some lines in top:

.class public
const-string v0, "ro.harsh.blurlockscreen"

invoke-static {v0, v2}, Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z

move-result v0

if-eqz v0, :cond_2

Lcom/android/internal/policy/impl/sec/WallpaperWidget;

And added 2-3 lines a bottom.

.end method
:cond_2
invoke-direct {p0}, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->setLockScreenWallpaper()V

goto :goto_0


I follow this guide.
This is good?
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes