[MOD][TUTORIAL][GB]Xperia Go Lockscreen for Xperia MDPI(UPD: Mod your settings.apk)

dcaceres89

Senior Member
Oct 31, 2012
159
18
0
Copiapo
I was trying to edit my files multiple times, and every try resulted a bootloop. I even compared your edited framework-res with my edited and they were almost the same (except maybe couple of lines which i didn't find). Then I tried putting only my android.policy and then it WORKED!. I prefer though your android.policy because it has skipping tracks via holding volume buttons ;) So you don't have to modify your framework-res.apk, just push/modify android.policy and it will work :) Maybe you should add this info to OP. Thank you ;)

[email protected] 2
I've tried to do those steps to get the lockscreen but i cant get it. i have to push my own android.policy of the phone or the file of the zip??

I've flashed the zip only with the android.policy and the skip tracks mod is working not the lockscreen
 
Last edited:

sandy7

Inactive Recognized Developer
May 28, 2012
6,215
6,842
0
31
bangalore
I've tried to do those steps to get the lockscreen but i cant get it. i have to push my own android.policy of the phone or the file of the zip??

I've flashed the zip only with the android.policy and the skip tracks mod is working not the lockscreen
That's bcz u didn't push the framework-res.apk and upnxtlockscreen.apk

Sent from my SK17i using XDA Premium HD app
 

bluejulli

New member
Jan 2, 2013
1
0
0
Salvador - BA
I'm still noob when it comes to flashing. I never flashed anything, but I am willing to try... Thinking about flashing this mod.
My question is: is this mod very likely to cause bootloop? and if my device gets into bootloop, what can I do? I have a LWW, installed CWM using x-parts.
(please, be patient, I am still learning and reading a lot, but I'm not very sure of what to do)
 
Apr 22, 2013
23
1
0
Vadodara
Not Working in my Device !

This is the Lockscreen ported from Xperia Go. Tested and works very well with my XMP on HaSa ROM based on GB 2.3.7:D

Reported to be working with GB 2.3.4 too.:D

Download links updated with android.policy.jar modded to include skip track on long press volume button. down-previous track, up-next track.

WARNING:

I'm Not Responsible if you brick your phone or your phone gets stuck in a bootloop


FEATURES:

Very similar to the lockscreen ported from Xperia S to MDPI devices on ICS
1. Message and missed call notifications
2. Ability to change wallpaper of the lockscreen
3. Lockscreen music controls (without album art)
4. Lockscreen doesn't distort when in landscape mode

BUGS:

1. Gmail notifications aren't shown on the lockscreen:(
2. Lockscreen wallpaper isn't shown in landscape mode, no music controls in landscape. All in all nothing works in Lanscape as of now, I'l see if I can do something about it. But the good news is lockscreen doesn't get distorted. So you can still unlock the screen:)

SCREENSHOTS

View attachment 1265262 View attachment 1265263
View attachment 1265264 View attachment 1265265

Orochixxx's mods

View attachment 1267152

INSTALLATION:

Download and flash the zip file.

DOWNLOAD:

Mod with STOCK battery icons

Mod with NUMBERS battery icons

Orochixxx's mods ( Don't forget to thank him:) )
1.link No Shade Effect Lock Screen Wall
http://www.mediafire.com/?5drr4r6gxvsbpbk

2.link Shade effect lock Screen Wall
http://www.mediafire.com/?52sip88f58qp72s

Please press the THANKS button if you like my work.. Better than posting 'Thank you':)

CREDITS:

Gustavo RD78 for Xperia Go system folder dump

AeonWorld for his tutorial



NOTE: Only for people familiar with decoding and other modding stuff. I recommend others to use the file provided above:D

1)ANDROID.POLICY.JAR (/system/framework/android.policy.jar)

a)Download This http://dl.dropbox.com/u/59977570/XperiaGo-Androidpolicy.rar
b)DECOMPILE your android.policy.jar
c)Copy the files from the downloaded RAR (above) to the decompiled folder /policy and RECOMPILE. Thats it.

2)FRAMEWORK-RES.APK (/system/framework/framework-res.apk)

a)DECOMPILE your framework-res.apk
b)Add this line to the AndroidManifest
Code:
<permission android:label="@string/permlab_external_lockscreen" android:name="com.sonyericsson.permission.EXTERNAL_LOCKSCREEN" android:protectionLevel="signatureOrSystem" android:description="@string/permdesc_external_lockscreen" />
c)Add these lines to the end of the strings.xml (/res/values/strings.xml)
Code:
<string name="permlab_external_lockscreen">You May Write Anything Here</string>
<string name="permdesc_external_lockscreen"> You May Write Anything Here </string>
d)Add these to the end of string names in public.xml (/res/values/public.xml)
Code:
<public type="string" name="permlab_external_lockscreen" id="0x0104051b" />
<public type="string" name="permdesc_external_lockscreen" id="0x0104051c" />
0x0104051b,0x0104051c<<<< hex codes should be written in a way as a continuation of the codes that was above


http://forum.xda-developers.com/showpost.php?p=31012681&postcount=114


http://forum.xda-developers.com/showpost.php?p=30756142&postcount=83


I just Tried in my Rooted Xperia ST 15i on Stock Rom GB (4.0.2.A.84) and it simply gives me boot looping. restoring nandroid backup now.​
 

richard.elgh

Senior Member
Mar 24, 2013
339
42
0
No support for external message applications?

---------- Post added at 03:59 PM ---------- Previous post was at 03:33 PM ----------

Tried pushing android.policy.jar, framework-res.apk and lockscreen. Doesn't work. :(

Using xperia mini GB 2.3.4.

Tried flashing zip-file. Got another framework-res.apk. But that was everything that changed.

Tried reflashing ROM, now your lockscreen works perfect. :)
 
Last edited: