[MOD][GUIDE] ICS Lockscreen on Samsung Stock Rom XXLPH - Galaxy S II Android Development

Hi... I don't know if this already has been posted but here it goes...
How to change the Samsung Circle lockscreen to the Ice Cream Sandwich lockscreen on XXLPH:
1) Decompile android.policy.jar
2) Edit the file called: LockPatternKeyguardView.smali
3) change the line:
iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z
to
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z
it's in the beginning of the init contructor (about line 152)
What this does is that it tells the createLockScreen method to use the Lockscreen class instead of the CircleLockscreen class.
4) Compile the android.policy.jar again and you are done.
I have included the odexed and the deodexed CWM files ready to flash.
Have fun...
Please NOTE: Menu key will unlock your phone unless you edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml

Thanks for sharing, man. Like always you are first

Very great work mate!
Best regards,
Big!

Work in Resurrection Remix ics v9.6?

Works on WanamLite 9.1 LPH, but the menu softkey unlocks the phone. This is unwanted actually...

Michael2207 said:
Works on WanamLite 9.1 LPH, but the menu softkey unlocks the phone. This is unwanted actually...
Click to expand...
Click to collapse
Thanks! Yeah it's not perfect.... yet.... In my upcoming JKay Deluxe I will included this ICS lockscreen.... but modded to fix this and included music widgets, live wallpaper etc, etc...
What you need to do is this:
Edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml

Thanks a million JKay!!!!
sachs said:
Work in Resurrection Remix ics v9.6?
Click to expand...
Click to collapse
Yes it does!!!!! Attached!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Thx Jkay your work is wonderful

Who else
Bravo JKAY!

Thanks!!!very good!!!
Sent from my GT-I9100 using xda premium

great job mate.
now all we need is jkay deluxe to allow modding it. like for example select from2 / 4 or 8 unlock options and manual attrib an app to each one.

Really nice to have aosp lockscreen.
Now i just want an official ics build
Sent from my iPad using Tapatalk

thats what im talking about !!jkay fantastic ....

Amazing JKay, like always. I have no words. Simply remarkable, thank you alot.

westcrip said:
thats what im talking about !!jkay fantastic ....
Click to expand...
Click to collapse
Wes, please add this to your ROM, and also this:
_JKay_ said:
What you need to do is this:
Edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml
Click to expand...
Click to collapse

Hi JKAY
U R awesome. Keep up the good work.
Wish u all the best man

Working in WanamLite 9.1 LPH. Thanks JKay!

Great work , many Thanks to JKay. It work perfect on Simplystic Rom

Works fine for me on Wanamlite 8.9.
Menu button doesn't unlock my phone, works like it should!

Many Thanks JKay, working fine on Wanam 9.1
And the "unlock via menu" is quite fine for me: you still have to press home button ant then menu to unlock the phone, so there is no risk of any unwanted unlock...
Finally I get rid of the horrible "Trascina il dito sullo schermo per sbloccare" that plagued the original unlock screen

Related

[CM7][STOCK][MOD]Transparent Stausbar And Custom Statusbar[FXP46/47/50/ Stock.42]

Hi i was so disappointed to see there was no thread for transparent statusbar for cm7 specifically
so i made this thread
How To:-
download the apk
Upload the apk in sd card
rename apk to SystemUI.apk
Move it to system folder
set the right permissions i.e. rw- r-- r--
and move it to app folder
overwrite the original file
reboot
enjoy
Click to expand...
Click to collapse
If U download this..PLEASE USE thanks button to show your appreciation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lunar UI like Statusbar for stock .42 is now also available for download​
abhisheak.bansal said:
Hi i was so disappointed to see there was no thread for transparent statusbar for cm7
Click to expand...
Click to collapse
+ 1
And I want to thank you for your efforts
can i use this for rooted stock rom ? (without cm7)
love it
whats the theme u are using in this screenshot?
zainthesnipe said:
love it
whats the theme u are using in this screenshot?
Click to expand...
Click to collapse
name of the theme is linarUI
comment deleted.......
Will this work for any CM7 theme in theme Chooser because I want this to work for my ICS theme?
Runnin' CM7 thirsty for ICS so I got the bootleg
Vicious Von said:
Will this work for any CM7 theme in theme Chooser because I want this to work for my ICS theme?
Runnin' CM7 thirsty for ICS so I got the bootleg
Click to expand...
Click to collapse
it will work for any cm7 theme
Will it work on the FXP046 update? Or could you make it work? Would be much appreciated
Cim_XII said:
Will it work on the FXP046 update? Or could you make it work? Would be much appreciated
Click to expand...
Click to collapse
i will upgrade my arc to fxp 46 today
and will port this patch today
BTW:-Can anybody tell me how to change the title of the thread?
I'm using an Atrix which doesn't have a stable cm7 build yet and I continue to get bootloops after attempting this method
Runnin' CM7 thirsty for ICS so I got the bootleg
since nobody is replying or posting any feedback
so should i continue updating this thread or stop posting new SytemUI.apk ?
Well I already have the transparent bar from one of my themes I believe its on of the lunar ones
I tried this and it works great but I don't need to use it
Sent from my LT15i using XDA App
Keep going please
I cannot get this to work on the FXP47 update sadly, it remains unchanged.
Hi there.
Can you please do a patch for FXP047?
Continue on this thread, you'll surely help a lot.
EDIT: Here are the files that you might need.
Thanks in advance buddy.
support for fxp47 added
Thanks for the patch. Unfortunately, LPP doesn't support transparency arrghhhhh!
try go launcher or adw or stock miui launcher or sony launcher
Can you adapt it on stock rom? I love this bar but i don't want to lose the retail features of stock rom by installing CM7

[UPDATED!]Xperia 2.3.7 and Xperia S lockscreen CM7 roms

Hi all i started this project some time ago when SemcDebrandEngine was released and i wanted to have stock looking lockscreen. Then came the requests. I m glad you are so interested in it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Supported roms:
GDX v022-v023b-v024
PrimeHD v6.0
SemcDebrandEngine.
Upcoming roms to be supported:
miniCM7 2.2.0
------------------------------------------
Installation:
Flash in CWMRecovery.
"BUGS"???
Changelog:
- nothing
------------------------------------------------------
Have a nice day
Xmaster8
[UPDATED!]Xperia 2.3.7 and Xperia S lockscreen for PrimeHDv6, SDE and GDXv22 and up!
Downloads:
1: Xperia 2011 (2.3.4) line style
PrimeHD v6.0
GingerDXv22
GingerDXv23b
GingerDXv24
SemcDebrandEngine
2: Sony Xperia S style
PrimeHD v6.0
GingerDXv24
Lepo bo ja. Samo daj naredi da bo kot oni pravi SE Lockscreen!
it look great man! thank you, and the problem with "sound" and "lock" is not that big i can live with it love this lockscreen ja!
I think those strings are in framework-res.apk. Managed to edit it, but fail while recompiling in apkmanager
fundre said:
I think those strings are in framework-res.apk. Managed to edit it, but fail while recompiling in apkmanager
Click to expand...
Click to collapse
yes they are in framework-res.apk and i edited them. And they work
looking good, waiting for croatian language
Xmaster8 said:
yes they are in framework-res.apk and i edited them. And they work
Click to expand...
Click to collapse
Great maybe you could look to bakabon's framework files, he fit the slider background nicely.
Sent from my E15i using XDA App
thanks, waiting for italian =D
+1
xperia lockscreen:
edited: fix now......Download Xperia Lockscreen SDE
Is it possible to also make this work on other ROMs?
zephiel said:
Is it possible to also make this work on other ROMs?
Click to expand...
Click to collapse
this is only for the mentioned rom but maybe i ll do it for other roms to.
i tried with root explorer and i had reinstall the rom
What? Explain please
i replaced the framework res and immediately after the phone is rebooted and showed me an infinite bootanimation, so i had reinstall the rom
Just installed this and it's working great
For next version could you make the lock icon overlay on the right side of arrow icon like this
It's xperia ray, sorry for poor photo quality. Taken from X8. Gratz
Sent from my E15i using XDA
fundre said:
Just installed this and it's working great
For next version could you make the lock icon overlay on the right side of arrow icon like this View attachment 929523
It's xperia ray, sorry for poor photo quality. Taken from X8. Gratz
Sent from my E15i using XDA
Click to expand...
Click to collapse
i did it. if it works ok i ll upload it it ll be last version i think
tnx for the stock lockscreen look.
btw, can you help me edit Home.apk to become 4x4 apptray,
i decompile, change res/values/integer apptrayrows to 4, then compile, retains signature and delete resources.arsc from keep folder
but I cannot install it with root explrr or flashtool , is ther somthing wrong?
Tnx
moaj said:
tnx for the stock lockscreen look.
btw, can you help me edit Home.apk to become 4x4 apptray,
i decompile, change res/values/integer apptrayrows to 4, then compile, retains signature and delete resources.arsc from keep folder
but I cannot install it with root explrr or flashtool , is ther somthing wrong?
Tnx
Click to expand...
Click to collapse
have you tried pushing to system/app adn setting permisions?
yes ofcourse, it's a must
can you make it 4x4?

[MOD][HarshJelly v1.1]Smart rotation

Hello,this is my second attempt of modding my phone.This time i "ported" smart rotation.But I'm not sure if it's working because I don't see the eye icon when turning the screen.
I used mr.harsh's ROM as base because I'm using it.So if you want to use this mod without HarshJelly,please unpack the archive,take the app from the hidden folder,paste in system folder,and set permissions.
Download it from here.
For flashing in System partition download from here.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To get yourself it working do this:
Decompile SecSettings.apk,go to smali/com/android/settings,locate DisplaySettings.smali and open it with Notepad++.
Locate the following lines...
.line 406
invoke-virtual {p0}, Lcom/android/settings/DisplaySettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;
move-result-object v10
iget-object v11, p0, Lcom/android/settings/DisplaySettings;->mSmartRotation:Landroid/preference/CheckBoxPreference;
invoke-virtual {v10, v11}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/PreferenceZ
Click to expand...
Click to collapse
...and delete them.
ionescugeo9942 said:
Hello,this is my second attempt of modding my phone.This time i "ported" smart rotation.But I'm not sure if it's working because I don't see the eye icon when turning the screen.
I used mr.harsh's ROM as base because I'm using it.So if you want to use this mod without HarshJelly,please unpack the archive,take the app from the hidden folder,paste in system folder,and set permissions.
Download it from here.
Screenshots:
Click to expand...
Click to collapse
Can you post a zip file which only pushes the Smart Rotation into system?
Sent from my GT-I9070 using Tapatalk 4 Beta
Jeroenvk94 said:
Can you post a zip file which only pushes the Smart Rotation into system?
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
See the updated OP.:victory:
Its will not work I have done it earlier...more dependence files are required. In this way you can get multiwindow option also in setting. Just search in the same smali and delete the multiwindow lines (which has removePreference)
Jeroenvk94 said:
Can you post a zip file which only pushes the Smart Rotation into system?
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Please do not quote big ass OPs in your reply. There's a simple post reply button at the bottom. :banghead:
P123456 said:
Its will not work I have done it earlier...more dependence files are required. In this way you can get multiwindow option also in setting. Just search in the same smali and delete the multiwindow lines (which has removePreference)
Click to expand...
Click to collapse
S2 has them?
Can i revert it back ?
Divyashwar said:
Can i revert it back ?
Click to expand...
Click to collapse
pass the apk secsettings, some deodex
I have a question
Is it possible to port smart stay???
We was supposed to have it,but Samsung was bad with us
Can we port it from the s3 mini??
Shiningb said:
I have a question
Is it possible to port smart stay???
We was supposed to have it,but Samsung was bad with us
Can we port it from the s3 mini??
Click to expand...
Click to collapse
I really don't know.I looked for Smart Stay files in the settings and framework-res files,but didn't find any.
ionescugeo9942 said:
I really don't know.I looked for Smart Stay files in the settings and framework-res files,but didn't find any.
Click to expand...
Click to collapse
Its funny that, both the s advance and the s3 mini are in almost same price range
And each one has something that the other doesn't have!!
The s advance with auto brightness and see mini with smart stay
Hopefully there is a way we can come across all of the s advance weakness!!

{Mini/MiniPro}[MOD] TouchWiz Lockscreen Style mod for CM10/FXP Extended [20130602]

Samsung TouchWiz Lockscreen for CM10/FXP Extended ROM​
This mod is ported by me to work on our Xperia Mini and Mini Pro devices (Actually for all Xperia MDPI but not widely tested)
And originally made from [MOD][GSM] ICS Lockscreen mods - HTC, Acer and Samsung style [AOKP b40/CM9 20120628]
by @evilisto, thank you so much for this awesome mod :good:​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Edited:
It would be great if someone can make an xposed module for this!
Warning:
I'm not responsible for devices that undergo bootloops or any errors, it's your choice to make these changes.
This:
Before you flash this mod, make sure your lockscreen is set to "Default wallpaper"
and DO NOT change that option or else you'll get bootloop.
Download:
For Mini:http://goo.gl/FBWXlW
For MiniPro: http://goo.gl/7v8qHO
Instructions:
-Flash via CWM recovery
-Wipe Cache
-Reboot
Bugs:
-Difficulties on unlocking, just swipe it up
Credits to all of these awesome devs :victory:
@Adi Aisiteru Rebornfor the guides and the much easier smali method!
@yayakuya for his resized smali files!
@raziel23x for using his very convinient APK MultiTool!
@M66B for using his CM10 Extended ROM which is very smooth and stable
And last but not the least, @evilisto for his beautiful lockscreen mods
CyanogenMod
Google
Samsung
Can you make this for mini pro a.k.a mango, please...:beer:
meatballstz said:
Can you make this for mini pro a.k.a mango, please...:beer:
Click to expand...
Click to collapse
I will try but first provide me Services.jar, Framework.jar, Android.Policy.jar and Framework-res.apk so I can start working on it.
JovieBrett said:
I will try but first provide me Services.jar, Framework.jar, Android.Policy.jar and Framework-res.apk so I can start working on it.
Click to expand...
Click to collapse
this is what you need... :good:
meatballstz said:
this is what you need... :good:
Click to expand...
Click to collapse
I'll tell you if I'm done.
EDIT @meatballstz, it's done, kindly report if it's working.
all of your lockscreen mod is great bro , please make it for cm10.1 ,it would be amazing .. :thumbup:
Sent from my Xperia Live with Walkman using Tapatalk 2
wawan20 said:
all of your lockscreen mod is great bro , please make it for cm10.1 ,it would be amazing .. :thumbup:
Sent from my Xperia Live with Walkman using Tapatalk 2
Click to expand...
Click to collapse
Thank you!
Sorry but 4.2+ are not capable of having different types of lockscreen because of it's System widget lockscreen "DeskClock" or "cLock" whatever used to call it. Only CM10 or 4.1.2 versions are the one can modify it's System lockscreen.
JovieBrett said:
I'll tell you if I'm done.
EDIT @meatballstz, it's done, kindly report if it's working.
Click to expand...
Click to collapse
Downloading,
I will report soon..
JovieBrett said:
I'll tell you if I'm done.
EDIT @meatballstz, it's done, kindly report if it's working.
Click to expand...
Click to collapse
Great work dude! No bug. Everyhing is fine, but I need a few minute to open the lockscreen. BTW thanks for that. God bless you :beer:
meatballstz said:
Great work dude! No bug. Everyhing is fine, but I need a few minute to open the lockscreen. BTW thanks for that. God bless you :beer:
Click to expand...
Click to collapse
That's the bug we're facing right now I'm still waiting of the other Dev's answer to fix this to our MDPI devices. Just try to swipe it on the very bottom below the status bar... Btw, thank you for the report! :highfive:

[MOD][HOW-TO] Enable theme support on N3 launcher

So it turns out that you can easily enable theme support on the stock N3 launcher that is the same as what you get on the S5 launcher
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Let's get started.
Items you will need
apktool or baksmali+smali
SecLauncher4.apk from /system/priv-app
Click to expand...
Click to collapse
Modding SecLauncher4.apk
Decompile SecLauncher4.apk
Navigate to com/android/launcher2
Open Launcher.smali and look for the following method
Code:
.method static constructor <clinit>()V
Take a look at the constants at the very beginning of this method, it should look something like this:
Code:
const/4 v1, -0x1
const/4 v3, 0x1
const/4 v2, 0x0
Take note of the register which holds the value 0x1. In the snippet above, this register would be v3
Now in this same method, scroll down until you find a line similar to the following:
Code:
sput-boolean [color=red]v2[/color], Lcom/android/launcher2/Launcher;->CSCFEATURE_LAUNCHER_HOMESCREENEDITMODE:Z
Replace v2 (or whatever register is used in your code) with the register that you took note of in the previous step. (Would be the v3 register using my snippet of code as an example). Your final code should look like this:
Code:
sput-boolean [color=blue]v3[/color], Lcom/android/launcher2/Launcher;->CSCFEATURE_LAUNCHER_HOMESCREENEDITMODE:Z
Now continue to scroll down in this same method until you find the first occurrence of CSCFEATURE_LAUNCHER_THEME_ENABLE. Code should look similar to this:
Code:
sput-boolean [color=red]v2[/color], Lcom/android/launcher2/Launcher;->CSCFEATURE_LAUNCHER_THEME_ENABLE:Z
Replace the register with the 0x1 register as you did for CSCFEATURE_LAUNCHER_HOMESCREENEDITMODE. Final code should look like this (v3 is the 0x1 register from my example code):
Code:
sput-boolean [color=blue]v3[/color], Lcom/android/launcher2/Launcher;->CSCFEATURE_LAUNCHER_THEME_ENABLE:Z
Save and close Launcher.smali
Recompile SecLauncher4.apk
Install SecThemeChooser.apk (you can grab it HERE) and that's it! You now have theme chooser support on your launcher. You can find themes in THIS THREAD as well as in the zip attached to this post. Enjoy!
Click to expand...
Click to collapse
[SIZE=+1]NOTE: Make sure to install SecThemeChooser.apk and themes (duh) or this mod will be useless!![/SIZE]
Or this http://forum.xda-developers.com/showthread.php?t=2722650
But still nice work
I like your flashlight mod from here http://forum.xda-developers.com/showthread.php?t=2617552
I wish you could update this brightness toggle mod for 4.4 (I'll really appreciate it) http://forum.xda-developers.com/showthread.php?t=2188503
Walter.White said:
Or this http://forum.xda-developers.com/showthread.php?t=2722650
But still nice work
I like your flashlight mod from here http://forum.xda-developers.com/showthread.php?t=2617552
I wish you could update this brightness toggle mod for 4.4 (I'll really appreciate it) http://forum.xda-developers.com/showthread.php?t=2188503
Click to expand...
Click to collapse
Yeah but I hate xposed with a passion. Whenever mods can be implemented natively I prefer to go that route
CNexus said:
Yeah but I hate xposed with a passion. Whenever mods can be implemented natively I prefer to go that route
Click to expand...
Click to collapse
I agree, I hate xposed in my roms....
I want to say thanks for this, awesome work....very cool indeed.
Again, thank you sir!
Walter.White said:
Or this http://forum.xda-developers.com/showthread.php?t=2722650
But still nice work
I like your flashlight mod from here http://forum.xda-developers.com/showthread.php?t=2617552
I wish you could update this brightness toggle mod for 4.4 (I'll really appreciate it) http://forum.xda-developers.com/showthread.php?t=2188503
Click to expand...
Click to collapse
4.4 already has the hide show brightness bar mod implemented,
you just need to broadcast 'notification_panel_brightness_adjustment' as your android id
Anyone have a flash able zip? I'm too scared to mess something up lol
Sent from my SM-N900V using XDA Premium 4 mobile app
Lol I know I'm late af on this. But how do we do this on lollipop? Seclauncher4 isn't there

Categories

Resources