yashsingh1/xdaforums huggingface dataset:
[HTC Wildfire S] Cup_Cake:
Guide for the official Xperia™ S lock screen for CM9 based ROM's

​

I have been going through a lot of threads asking for this MOD so, I thought of making one...

Assuming you Know how to De/Re-compile....

Here's

STEP 1: Decompile your android.policy.jar

And put THESE files into \smali\com\android\internal\policy\impl

Done.Recompile your android.policy

STEP 2: Add THIS to \framework

STEP 3: Add THIS to \fonts

STEP 4: And THIS to \etc\permissions

STEP 5: Now for the Lockscreen Settings(in order to change app shortcuts, notification settings....)

Decompile you Settings.apk

Navigate to \res\xml

Open settings_headers.XMl

Add the following Lines

<header android:icon="@drawable/ic_settings_lockscreen" android:id="@id/lock_screen_settings" android:title="Xperia Settings">
<intent android:targetPackage="com.sonyericsson.lockscreen.uxpnxt" android:action="android.intent.action.MAIN" android:targetClass="com.sonyericsson.lockscreen.settings.Setup" />
</header>

Add this to ids.xml

(search for it, if you have it ignore.)

<item type="id" name="lock_screen_settings">false</item>

Recompile your Settings.apk

STEP 6: Add THIS to \system\app

All done :) .

SCREENSHOTS:

CREDITS

AeonWorld for the original Xperia S lockscreen

[MENTION=4663990]Sky_Walker[/MENTION]

[MENTION=5204709]Adi Aisiteru Reborn[/MENTION] for their support.:cool:

If you want to use this MOD in your ROM's, Don't forget to mention me.:good:;)

Feel free to hit

thanks

.This encourage's me!!​
[HTC Wildfire S] matyhew:
Good Guide :D everything but the settings mod works :L youve forgot to write about adding the relevant ids and strings to what youve added in settings_headers cause what you've put here doesnt compile :( but as i say works good :)

Matyhew
[HTC Wildfire S] Cup_Cake:
Thanks for reporting that!;)
[HTC Wildfire S] metrixx02:
thx for lock screen good job:D
[HTC Wildfire S] kobeduck:
yapamadım. android.policy.jar buraya yüklesem siz yapar mısınız?
[HTC Wildfire S] Cup_Cake:
Are you asking me to help you out with Android.policy.jar??

If so, provide me your android.policy.jar :thumbup:
[HTC Wildfire S] giacomix5:
Compatible with the new update? :confused: cm10.1

Sorry for my bad english
[HTC Wildfire S] Cup_Cake:
Nope, we need to wait and see what sony does and then we can probably get it working for 4.2.2...:fingers-crossed:
[HTC Wildfire S] elzafir:
You mean your mod is only for Jelly Bean 4.1.2 based CyanogenMod?

If I try it on 4.2.2 CM 10.1 with Nexus 4 will it break?
[HTC Wildfire S] Cup_Cake:
It will bootloop.
[HTC Wildfire S] noowb00:
Is there anyway that you can create another guide to port the latest 4.2.2 lockscreen to CM10.1 or AOSP at least? I don't know how much it has changes so... It's up to you :) I'm sure there's many users waiting for Sony's lockscreen on AOSPs :D
[HTC Wildfire S] hassouna:
how to decompile

Pls just tell me how to decompile and recompile android.policy.jar
[HTC Wildfire S] thehacka1:
Download apktool https://code.google.com/p/android-apktool/

Extract files to only one directory.

Put androidpolicy.jar in same location.

Open cmd.

cd to your diectory. e.g. for me it's 'cd C:\Users\temp\Desktop\TOOLS\apktool1.5.2'

Issue the command:

apktool d android.policy.jar

Make your changes.

Then issue the command:

apktool b android.policy

Done.
[HTC Wildfire S] hassouna:
thx
[HTC Wildfire S] thehacka1:
MIUI V5 android.policy.jar that has been modded.
[HTC Wildfire S] Cup_Cake:
MIUI-v5

OP updated, link added.:good:

EDIT: link removed
[HTC Wildfire S] hassouna:
Didn't work

just let my phone stuck in boot animation
[HTC Wildfire S] Cup_Cake:
Thanks for reporting! will test and report back.
[HTC Wildfire S] Cup_Cake:
GUIDE for CM9 based ROM's added!:)
[HTC Wildfire S] thehacka1:
So you are saying this is definitely a no-no for 4.2 roms?

If it is then why don't you work on a 4.2 version.
[HTC Wildfire S] Cup_Cake:
I'm not saying, its not possible..i'm trying my best(Downloaded the whole X-Z 4.2.2 System DUMP only for that:laugh:)
[HTC Wildfire S] Cup_Cake:
Ported the Xperia S lockscreen!:victory:

FOR CM9...

GUIDE, flashable zip coming soon.........

here are some screens from Marvel

needs some layout fixes
[HTC Wildfire S] :
Once again Awesome work sir.

Will we be getting this for CM 10 also our it will be is based only.

It looks quite promising along with shortcuts on lock screen for apps which is not on XperiaZ lock screen.

"Hitting Thanks Don't Cost You Anything, so, Try Hitting It Once......"
[HTC Wildfire S] Cup_Cake:
Will be making it for CM10 also!

Hopefully for CM10.1 also(fingers crossed)
[HTC Wildfire S] :
Your guide is awesome sir, ported it for 4 different ROM, including MIUI5.:thumbup::thumbup::thumbup:

Thanks in advance for this S lock screen as well.

Will be waiting for this like.....

:eek::eek::eek::eek::eek::eek::eek:

"Hitting Thanks Don't Cost You Anything, so, Try Hitting It Once......"
[HTC Wildfire S] Cup_Cake:
Yea it will, try and report back!:)
[HTC Wildfire S] Cup_Cake:
Will post the guide tonight or tomorrow for sure.:cool::thumbup:
[HTC Wildfire S] noowb00:
Here's what the original guide creator said about porting the awesome Sony lockscreen to 4.2.2. Let's just hope for the best! And support him!!

Edit: Haha! I posted in the wrong thread :P
[HTC Wildfire S] Abd121:
Thanks for the lock screen

It's nice
[HTC Wildfire S] noowb00:
-deleted-
[HTC Wildfire S] cw3tai:
thank you but does it work marvellous cm10 ?
[HTC Wildfire S] Cup_Cake:
YES it does!:)
[HTC Wildfire S] Cup_Cake:
Xperia S lockscreen for CM9

GUIDE FOR Xperia S LS

HERE:http://xdaforums.com/showthread.php?t=2352104
[HTC Wildfire S] hassouna:
Are you working on xperia z lockscreen for MIUI v5 ?

If you don't want to do it

say

at least i don't wait you

and if you wand to do it

tell me if you need something
[HTC Wildfire S] thehacka1:
http://xdaforums.com/showthread.php?t=2283225&page=2 I already modded.
[HTC Wildfire S] hassouna:
If didn't work

just let my phone stuck in boot animation

and he told me that he will fix it

and I'm still waitting
[HTC Wildfire S] noowb00:
Dude come on. Relax. I'm waiting for a port too but don't rush him. Subscribe to the thread and wait patiently. I'm sure he's doing his best to meet everyone's expectations. :)
[HTC Wildfire S] Cup_Cake:
Can you post a screenshot?
[HTC Wildfire S] thehacka1:
Its been confirmed that it doesn't work.
[HTC Wildfire S] cw3tai:
thank you I will try :D
[HTC Wildfire S] Cup_Cake:
Try and report back!:)
[HTC Wildfire S] noowb00:
I'm more than willing to test for a CM10.1 version :D hehe
[HTC Wildfire S] hassouna:
MIUI has a theme manager like xperia z

that you can change hole rom theme

and you can download and change the lockscreen from theme store

but the theme file is not .apk file

it's .mtz file and u can put any lockscreen such that it's .mtz file

if that help you

or if u can convert xperia z lockscreen.apk to .mtz
[HTC Wildfire S] SpaceCaker:
there is already xperia s lockscreen for miui
[HTC Wildfire S] thehacka1:
He wants Xperia Z lockscreen.
[HTC Wildfire S] :
Does xperia z lockscreen for cm9 work for galaxy ace? Thanks in advance :)

And how about the ram usage?
[HTC Wildfire S] Cup_Cake:
It works, i've tested it...not much of RAM usage...it should be smooth!:)
[HTC Wildfire S] csoulr666:
Would it be okay if I did this without decompiling, i.e. by just opening it via Winrar(Not extracting of course)
[HTC Wildfire S] thehacka1:
Without decompiling you won't get smali files.
[HTC Wildfire S] csoulr666:
Aw damn it........well no problem,I just wanted to play around a bit with it.....installing apktool for just one thing is too much hard work :p
[HTC Wildfire S] thehacka1:
I can do it for you. Which rom?
[HTC Wildfire S] csoulr666:
Aokp 4.0.4(06.06.2013 build)

TIA
[HTC Wildfire S] error01671:
Does someone can do it for me? I have a problem with recompile.

I'm using HTC Legend with AOKP(based on CM10).

So I guess it will work on my device.

Please help me,thanks!

*if you done for me,then pm me the file please

http://www.mediafire.com/?tr4lz9tbcqpnf19 android.policy.jar

http://www.mediafire.com/?bbfdnxebglk7dkg Settings.apk
[HTC Wildfire S] Cup_Cake:
framework-res ?:confused:
[HTC Wildfire S] error01671:
Sorry,I forgot:D

http://www.mediafire.com/?rmh6h744ex94bca framework-res.apk
[HTC Wildfire S] Cup_Cake:
Here you go!

try and report back.....:fingers-crossed:

feel free to hit thanks!!:good:
[HTC Wildfire S] error01671:
Thank you very much,it works!:D:thumbup:

But I found a bug,I can't set pattern lock,it will cause bootloop.
[HTC Wildfire S] traybourne:
Worked great! Thanks!! :D
[HTC Wildfire S] BlackPie:
Will this work on Cm10.1?
[HTC Wildfire S] csoulr666:
Not yet
[HTC Wildfire S] BlackPie:
Well that's sad..
[HTC Wildfire S] jo6gjp40524:
When the operator to modify Lockscreen font with charging

I want to modify the operator with Lockscreen charging font but can not find the location you do not know does not know where to tell me thank you
[HTC Wildfire S] noowb00:
Is there any port of the lockscreen to work with CM10.1/ Android 4.2? I thought with the latest 4.2.2 firmware for Xperia Z is released, it'd be a lot easier.
[HTC Wildfire S] Thanaya:
Hello everyone.

I want to decompile the UxpNxtLockscreen.apk for Xperia S lockscreen (for CM9), but i am missing the necessary framework file required..

Can anyone kindly share the framework file required? (I think it may be the framework-res.apk from Xperia S stock rom)

Thanks!
[HTC Wildfire S] piyush95:
Any way for Xperia S on Cm10.1...?
[HTC Wildfire S] rizkyfariz:
i need help. i've followed your guide about xperia s lockscreen with CM9 as a base, and it succeded. and i touched xperia setting in setting it forced close. and if i push the power off button to lock the screen suddenly it rebooting and bootlop, how can i fix that??
[HTC Wildfire S] Bigs Boony:
Need some help

Hi there and thanks for the guide.

This lock screen was one of the things I was missing in SJB8.0 Rom, and now I have it thanks to You. I still need to fix some things though for it to work flawless.

• First of all, the shortcut to camera from lockscreen doesn't work. It shows an animation for a couple of seconds, and then goes back to lockscreen.

• Other thing is I get a duplicated "lock Screen" setting in "Settings", so I'd like to merge them somehow :). I think it should be easy, but I'm not familiar with this, or any other, programming language at all :D.

• And the last annoying thing is I cant change wallpaper of the lockscreen. I have an option in settings to do this, however it gives me an option to choose from non-existing apps, and none of them does the trick. I think it's due to a broken links, because SJB uses QuickPic as media manager, but lockscreen wallpaper setting links to "albums" and "Xperia Wallpapers", which does not exists on my device.

So that's kinda it :) ..I'd appreciate Your help guys with fixing theese things.
[HTC Wildfire S] Toby0501:
After following the instructions I got bootloop. I'm using this ROM.
[HTC Wildfire S] legolaas:
Will this work on Cm7 ?
[HTC Wildfire S] Ashish_ex:
Work on AOSP JB & ICS ROM ???

I am using aosp rom of ICS & JB , CM Are not working on my device,

so Both of these lockscreen will work on ics & JB AOSP ROM ???
[HTC Wildfire S] Vortelf:
I don't know what I'm doing wrong with settings.apk

Hello,guys.

Can someone helme with the settings.apk. I'm trying to make it work on ParanoidAndroid ICS 4.0.4 CM9 based. The lockscreen works perfect but I can't manage to build the settings.apk properly.

Here's a zip with settings.apk and framework-res.apk -> d-h.st/OV7

Thanks in advance :)
[HTC Wildfire S] giskur11:
you try for cm 10.1 ?
[HTC Wildfire S] dragonlofd:
request for permission

Can i use your guide to port this lockscreen for galaxysl i9003. I am on CM11.

Is it possible ??
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] parasverm:
hi guys

my N7000 hang/freeze a lot with XXLT5... worst battery backup and always freeze n stuck on some app or on some screen..due to this I have to wait few min. in front of my friends which is very embracing situation.. its literally stuck either I have to wait or I have to restart my phone.

I did flash completely with all wipes but still it happens :(:(:(

Please suggest me what to do??? Or any other JB Rom or ICS or GB? please tell me I can move to any rom..

Thanks in advance
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] grandcity89:
hi... i just want to ask did you brick your phone before?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] xtremestyle:
I¨ve got the same problem here :( And yes i bricked my phone before. Soft brick :(
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] grandcity89:
maybe that is the problem ... Me too ...

soft brick make your phone reduced 3 gb ,right?

and i had tried this yesterday ... ""http://xdaforums.com/showthread.php?t=1661590&page=2 ""

i need to take some time to see weather my phone still got hang or freeze issues...

i will let u know ...
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] xtremestyle:
I have done this, and yes, my note has reduced space. But my phone still freezes. Tried custom JB rom, stock JB roms, same problem.

And when i charge my phone, ill do it over night, phone shuts down when its full. But not always. So i got problems with my alarm, to wake me up in the morning. What should i do? Sorry for my bad english. Im from slovenia. Should i return to stock ICS from my provider and give them my phone for service on warranty??? Realy dont know what to do.

Thanks in advance ;)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] grandcity89:
your phone still got warranty left ?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] xtremestyle:
Yes. Little less then 1 year left.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] grandcity89:
actually i got this issues also... but i got no idea the price if i replace the motherboard:laugh:
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] xtremestyle:
You have no warranty??
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] parasverm:
Hi

No i havent brick my phone ever... its so laggy n freeze even aftr sevral wipes :(:(
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] zai89:
how do you flash it?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] parasverm:
Using pc odin
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] grandcity89:
i am malaysian ...

I got no idea about the warranty

because last time it was 2 year warranty ,if i no mistaken ...

any idea about the warranty period?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] zai89:
try flash it again,

full wipe..

make sure your on safe kernel..

wipe data/factory reset

wipe cache/dalvik cache

format system

format preload

reboot to download mode an flash

or

flash latest philz kernel

reboot to recovery

flash philz kernel

select Advanced and reboot recovery

you should on philz recovery now

select Wipe Data/Factory Reset

select Clean to Install a New Rom

select Yes, I will install a new ROM!

reboot to download mode an flash

good luck.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] grandcity89:
hi... maybe u cant try to backup all your thing to computer and back to your note' setting >storage>Format USB storage

and flash a new custom rom...

i had tried this morning... and my phone working good without any hang or freeze
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] parasverm:
I did dat too... all wipes n format preload system n emmc but still having same problem..
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] xtremestyle:
Yes its 2 years
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] grandcity89:
i got no idea about that ... last time when i bought it ...the shop didnt help me to register the warranty ...

Can samsung centrel can able to check our warranty ?
[Sony Xperia T, TL, TX, V] Revobase:
I just got my new T, which I decided to update via the official way (downloaded the software via Wi-Fi in settings, then clicked install).

But now, my phone keeps rebooting. First I get the Sony logo, then a box with a bar underneath it (which means it's installing, I guess), and then a yellow triangle with (!) in it, then it reboots and does the same cycle.

Help anyone?
[Sony Xperia T, TL, TX, V] gregbradley:
download pccompanion and do a software update using that.

Have you previously done any modifications to the phone?
[Sony Xperia T, TL, TX, V] Revobase:
No, it's brand new, I just started it and the first thing I did was the software update.

And I can't seem to use PCcompanion since it needs to be fully started, but I can't get my T to start.
[Sony Xperia T, TL, TX, V] gregbradley:
No it doesn't.

Run pccompanion and run the software upate, Then click repair my phone.

Your phone just has to be turned off.

In order to turn it of fin bootloop press and hold both volume up and power button until it vibrates once, and keep holding it until vibrates 3 more times.

But if I was you, if the phone is brand new I would take it back
[Sony Xperia T, TL, TX, V] Revobase:
Why would I bring the phone back if I can fix it myself?

I'll try the repair now.
[Sony Xperia T, TL, TX, V] gregbradley:
because if its brand new and you have not done anything yourself to it then I would suspect a faulty handset.

If I break my phone because I flash something bad then I would fix it, but if it came out of the box like that I would want a new one.

If I bought a brand new car and when they gave me the keys and I walked to it and it had a flat tire I would ask them to fix it even though I know how to do it myself, because I want a fully working car if I buy a brand new one.
[Sony Xperia T, TL, TX, V] Revobase:
No, like I said, I updated to Jelly bean via the Wireless method. It probably was a faulty update. I did the repair via PCcompanion and updated and it works fine now.
[Galaxy Note II Q&A, Help & Troubleshooting] jeggen:
I thought this would be easy enough, but I'm looking for a PDF app that supports S-Pen so that I can have markups on and have touches register for changing pages or zooming but use my S-Pen to annotate the PDF. I thought for sure an app like this would exist but haven't found it yet. Sure, I can do markups in ezPDF but what I wish is I could have ezPDF only do markups with my S-Pen and not touch. Has anyone found such an app?
[Galaxy Note II Q&A, Help & Troubleshooting] MurrayBarn:
Have you found anything yet? Everything I have tried starts drawing squiggles when my palm touches the screen!!!!
[Galaxy Note II Q&A, Help & Troubleshooting] jeggen:
It's in EzPDF now. Settings and then check "palm rejection" under the annotation section and this will limit input to Spen input.
[Galaxy Note II Q&A, Help & Troubleshooting] Stylus Annotator:
Annotating PDFs

Hi guys,

I have just released a new slim pdf annotation app that targets those of us who want to annotate while we are reading documents. This app is not for note taking (for those who need that I recommend Papyrus).

My app is the slimmest PDF reader, with pen and marker annotation, I have seen. It is easy to use, and it allows you to annotate and highlight as you read. Exactly as you do on paper. It is extremely easy to switch between the pen and the marker; and to toggle colours.

Also – the app recognizes the difference between your finger and the stylus. Fingers are used to move, zoom and erase. The stylus is used to annotate.

A free version of Stylus Annotator is available on Play. Please try it and rate it.
[Galaxy Note II Q&A, Help & Troubleshooting] peterhugelberg:
Not sure if this is what you want but Xodo PDF Reader & Editor has an option to turn the Stylus into a Pen while the normal Touch input is used to scroll, click through menus and so o

edit: just saw that this was a very old thread
[General Questions and Answers] panjicraft:
Hi guys,

I really like the feature that we can pick different spot of focus lock and exposure lock. I just found that in Procamera (iphone).is there any apps in Android that can give us such that thing?

Thanx

Pj

View attachment 1969721
[General Questions and Answers] amir-kia:
Best Camera App for android is :

1.Camera360 Ultimate v4.0

2.Camera ZOOM FX v4.0.1

3.Stock Camera
[MDA II, XDA II, 2060 ROM Development] hbatista:
Hi

I have an old sim card i'm not using since a long time ago.. and "#!!, i forgot the pin... :oops: Now i want to use for some tests...but no pin.

Since i'm new in these "bootloader" and "so on" things, can anybody help me how to get rid of the sim card pin ?

thanks!
[MDA II, XDA II, 2060 ROM Development] markutah:
Use the PUK code

Use the PUK code delivered with your SIM to reset the PIN for the SIM. It has nothing to do with the bootloader.

If you've also lost the paper with the PUK code on it then try calling the Service Provider from whom the SIM came.

If the Service Provider can't help you then you're on your own.

Regards,

Mark
[MDA II, XDA II, 2060 ROM Development] hbatista:
yeah

IF i had the PUK . . . :)
[MDA II, XDA II, 2060 ROM Development] cruisin-thru:
Vodafone online will provide puk, just log on to internet.
[7" Kindle Fire HD General] gornog:
Today I decided to unleash my kfhd7 and install CyanogenMod.

After installing the 2nd Bootloader and the recovery, I 'accidentally' removed all my data in the hurry (anyway, I forgot to place the ROM on the SDCard folder before :silly:). I was quite confident while doing this, based on my experience with other Android devices, I thought it would be easy to mount the SDCard folder to the computer using TWRP... But that wasn't the case. And my device was not recognize by ADB while in Recovery Mod.

After some research on the forum I noticed that the poor people who had this problem before had to reflash the stock image through the recovery. I used another method, mostly by finding a way to reinstall the drivers. So I decided to share my experience. I know that is maybe a bit noob, but I would enjoyed to find this tutorial while I was despaired and stuck on recovery mod.

Last precision : I am using Windows 8 (and I'm French, so pardon my French :o).

What you need

ADB version 1.0.29 or higher you can find the version by typing "adb version" at the command terminal

Kindle Fire HD ADB drivers already installed, I guess it was the case if you were able to install the recovery. Other wise try to install it, you should find the the file executable easily on this forum.

The .zip file of whatever you want to flash, dont forget the gapps if you want to flash Cyanogen

That's all, no need of factory cable.

1. Install drivers

The first step is to reinstall the driver, considering the device was recognised before the flash but not anymore.

Open the Device Manager (hint: by typing directly devmgmt.msc)

You should see "Amazon Kindle Fire HD" under the "Other Devices"

Right click "update driver"

"Browse my computer for driver software"

"Let me pick from a list of device drivers on my computer"

"All devices" then next

At the bottom of the window you can choose a custom driver. Go this path:

C:\Windows\System32\DriverStore\FileRepository\android_winusb.inf_amd64_048d6e54936abbc3

The last number might be different (or may not, in fact I have no idea).

And voilà!!

Now adb should work.

2. Use sideload

You can now push your .zip to the sdcard, but TWRP have a really useful and smart way to do it.

Go into the advanced option of ADB. The click ADB sideload and swipe to start.

Just type

adb sideload yourfile.zip

and it's done! Don't forget to repeat it for googleapps if you need it.

For some reasons I had an error from TWRP complaining that he didn't find any OS installed. It worked anyway for me.
[7" Kindle Fire HD General] Mistaz:
Just wanted to say merci bc.

Running the stock rom (rooted + 2nd boot-loader) I´ve flashed the "1.4 GHz(try me first)" by Maromi.

I made a backup before of everything but unfortunately

moved.

the files to my PC.

With the result of stucking at the blue Kindle logo.

A fastboot cable has been ordered but didn´t arrived in time before the week-end.

Just like you I´ve looked around quite a long time, tried several options but then your thread was the only solution!

By your advice I´ve sideloaded the last 7.3.1 (provided by hashcode) flashed and voilà - my kindle´s back!!

thx again!