FORUMS
Remove All Ads from XDA

(Guide) how To port Ics Lockscreen To Gb Devices(Qualcom)

166 posts
Thanks Meter: 328
 
Post Reply Subscribe to Thread Email Thread
25th July 2015, 05:52 AM |#71  
Droidbuster's Avatar
OP Senior Member
Thanks Meter: 328
 
More
Wink
Quote:
Originally Posted by Jedz77

awesome guide sir. but my googleplay store keeps on forceclosing, anyways thank you for the awesome guide! thumbs up!, one more thing. do you know how to make this lockscreen transparent? thank you!

its simple edit lockscreen_simulateics.xml make it full transparent <RelativeLayout android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
 
 
25th July 2015, 05:57 AM |#72  
Droidbuster's Avatar
OP Senior Member
Thanks Meter: 328
 
More
Wink
Quote:
Originally Posted by aerithanne

.class Lcom/android/internal/policy/impl/LockPatternKeyguardView$1;
.super Ljava/lang/Object;
.source "LockPatternKeyguardView.java"

# interfaces
.implements Landroid/content/DialogInterface$OnDismissListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/internal/policy/impl/LockPatternKeyguardView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/android/internal/policy/impl/LockPatternKeyguardView;


# direct methods
.method constructor <init>(Lcom/android/internal/policy/impl/LockPatternKeyguardViewV
.locals 0
.parameter

.prologue
.line 226
iput-object p1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView$1;->this$0:Lcom/android/internal/policy/impl/LockPatternKeyguardView;

invoke-direct {p0}, Ljava/lang/Object;-><init>()V

return-void
.end method


# virtual methods
.method public onDismiss(Landroid/content/DialogInterfaceV
.locals 2
.parameter "dialog"

.prologue
const/4 v1, 0x0

.line 228
iget-object v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView$1;->this$0:Lcom/android/internal/policy/impl/LockPatternKeyguardView;

#setter for: Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mBatteryDialog:Landroid/app/AlertDialog;
invoke-static {v0, v1}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->access$002(Lcom/android/internal/policy/impl/LockPatternKeyguardView;Landroid/app/AlertDialogLandroid/app/AlertDialog;

.line 229
iget-object v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView$1;->this$0:Lcom/android/internal/policy/impl/LockPatternKeyguardView;

#setter for: Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mLowBatteryDialog:Landroid/app/AlertDialog;
invoke-static {v0, v1}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->access$102(Lcom/android/internal/policy/impl/LockPatternKeyguardView;Landroid/app/AlertDialogLandroid/app/AlertDialog;

.line 230
iget-object v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView$1;->this$0:Lcom/android/internal/policy/impl/LockPatternKeyguardView;

#setter for: Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mBatteryWarningTextView:Landroid/widget/TextView;
invoke-static {v0, v1}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->access$202(Lcom/android/internal/policy/impl/LockPatternKeyguardView;Landroid/widget/TextViewLandroid/widget/TextView;

.line 231
return-void
.end method

that's my lockpatternkeyguardview$1.smali

I can't find the .method you mentioned.

simple every device have different codes .if you want find that method find in different smalis related to
lockpatternkeyguardview
The Following User Says Thank You to Droidbuster For This Useful Post: [ View ] Gift Droidbuster Ad-Free
27th July 2015, 04:54 PM |#73  
aerithanne's Avatar
Member
Flag Manila,Philippines
Thanks Meter: 2
 
More
Found it. Took me 2 hours of looking inside the smalis and xmls

Sent from my GT-S5300 using XDA Free mobile app
19th September 2015, 10:52 PM |#74  
raisul2010.5396's Avatar
Senior Member
Flag Bangladesh
Thanks Meter: 276
 
More
A help needed
Quote:
Originally Posted by Droidbuster

I am Suraj

again with New guide

How to port ICs lockscreen TO GB

Tested On micromax a57 a54 Both are qualcom so cant say about samsung and other Mediatech or mtk device

THis is full explained Guide dont bore

So let start

We have to Follow 5 step for gettings ics lockscreen

first step here start

download this zip firststep.zip

1.copy res folder to your framework-res folder

2.
Open ids.xml under res/values foler and add these in last above

Code:
false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false

3.. compile the framework-res.apk

4.Now decompile your
framework-res.apk

Now open your public.xml
Leave it alone Now first step complete


TIME TO DO SECOND SEC0ND STEP

HERE WE START

dOWNLAOD THIS zIP.(SECOND STEP.ZIP)

thats our smalli editing part

1.Now decompile your android.policy.jar ( I GIVEN TOOL INSIDE)

NOW copy all smalli to your decompiled android.policy .jar folder one by one

Now open all files related to com\android\internal\policy\impl mine files

Search " 0x10" Copy the whole id .

Open my provided public.xml

Search for that id in my public.xml

Copy the text of that id.

Like if my Public id is "0x101000e"

but in you pubilc.xml it start from
"0x0101000e" means you have to add 0 before 1


in easy language(
When changing ids in the smali, make sure you remove one "0" after the x. For example, if your public.xml id is "0x010002b", make it "0x10002b". This is actually very important,)

its a boring part naa but its too much neccesarry too soo better you Do it carefully slow slow dont do fast other it will create reason for bootloop

NOW OUR 2ND PART IS COMPLETE nOW TIME TO START 3 PART

SO HERE WE START


DOWNLOAD THIS ZIP (THIRD PART.ZIP)

thats our Main and difficult part

in your android.policy.jar decompiled folder
search for LockPatternKeyguardView.smalli
open it ..
then search for

then below it add
then search for
then after

add this

then search for

then add this code under

Now our third step is completed
---------------------------------------------------------------------------------

Now our forth step here start

1. go to com\android\internal\policy\impl ( your decompiled android.policy.jar)


search for LockPatternKeyguardView$1.smalli

Now open it

then search for
then you will see this method



so delete this full method

and add this

Now search for


then above it add this

================================================== ================================================== ====

Now search for
replace full method with

--------------------------------------------------------------------------------------------------------------------------------------

Now save this Smalli


Now search for this

KeyguardScreenCallback.smalli

then search for

then add this below this code

Here our fourth step is completed


Now here we start our 5th step

downlaod this Zip (5th step)


Now open zip copy this fonts to your system/fonts (necceassry step other wise you will face bootloop)


Now open you build.prop


then search for


then above it add

I provided this flashable zip you can use it for your Flashing lockscreen (FLASHABLE.ZIP)






Note:

1 .if you are using my work so plz give me credit . because i spend many night and days for getting success.

and

If you are porting this guide to To another inform me first . then i will create a seprate guide for your device.
by giving you credit and tester


Hi there , its my rom http://forum.xda-developers.com/gala...orted-t3202021 can ya take the framework-res.apk from that and mod yjr lockscreen for me so that i can add credit of ya and I get tooo lollipop lockscreen? This guy is upto lollipop lockscreen >>>> http://forum.xda-developers.com/andr...-ring-t3012766 if ya can pm me that ll be more appreciated if ya have problem I can give ya only androidpolicy.jar and framework-res.apk @Droidbuster
Last edited by raisul2010.5396; 28th September 2015 at 12:57 PM.
26th May 2016, 12:16 PM |#75  
Junior Member
Thanks Meter: 0
 
More
link error, step 5 file not found
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes