Use it at your own risk!
This mod is NOT for XXJPM!
It has been made from the framework files of a JPQ and JPS, so on an odexed JPM rom it causes bootloop!
It's for XXJPQ and XXJPS.
So it wont make the Browser.apk crash like the older 5 Lockscreen Mod did it.
(Check out the last part of this post!)
(You must be rooted and know how to push files to the phone. And one more thing: first of all you should check the free space in /system (e.g. if you use RootExplorer), especially on the odexed roms.)
5 Lockscreen Mod and Extended Power Menu for Odexed XXJPQ and XXJPS.
5 Lockscreen Mod and Extended Power Menu for Deodexed XXJPQ and XXJPS.
(Framework-res.apk and Settings.apk are stock themed.)
Android LockScreen for odexed/deodexed JPS/JPQ* rom and also for odexed XWJPK is attached below.
* 'android.policy' has been made from JPS, but it works on JPQ too
HOW-TO:
5 Lockscreen Mod
It’s started from the point you have flashed a clean, stock JPS or JPQ via Odin: the device is already booted and you have unplugged the USB cable from it.
Getting root access
- Go to ’Settings > Applications > Development’ and enable ’USB debugging’
- Plug the USB cable back into the phone > run SuperOneClick.exe > press ’Root’ and wait
- When the ’Test?’ dialogue is popped up, say ’Yes’ > you can close SuperOneClick
- Your device has been rooted
- Directly after these steps, do the followings:
Pushing modified files to the phone
- Download the suitable zip for your odexed or deodexed JPQ or JPS rom
- Extract the downloaded zip
- Navigate into the extracted folder
- Run ’push_5lckscr....bat’ and wait*, your device will have rebooted
- Modded files are already pushed to the phone, now you can use your favourite lockscreen and the extended power menu
Of course there are other methods, RootExplorer etc.
*If you are on an odexed rom and see something like this in cmd: "failed to copy 'system\framework/framework.odex' to '/system/framework/framework.odex': No space left on device" and "rm failed for /system/framework/framework.jar, No such file or directory", don't panic, it's normal due to the low free space.
History:
Hi again! Now I have come with a very nice and well known mod. However this one is for people who want to have the 5 Lockscreen Mod and Extended Power menu, but don't want to have a deodexed rom!
So you can download this mod for your odexed XXJPQ/XXJPS from above. I've just realized that the only reason for me to deodex a rom is because of those damn lockscreens and the extended power menu. But I could not find this mod for odexed roms, so I had to odex it by myself.
---
Hello to All, I've attached an android.policy.odex for those who want stock Android lockscreen on their odex XWJPK.
---
Hi All!
After I had deodexed a stock (only rooted) XXJPQ rom, I tried to apply the 5 lockscreen mod on it. Seemed like everything was good... But when I had opened the "Internet", it force-closed immediately (nor factory reset didn't help).
So I had started to search the reason of this issue. After a while I figured out that the FCing of the Internet app was because of the "non-JPQ" framework.jar. So I took the JPQ's framework.jar and added a .smali file to its classes.dex what is necessary for the extended power menu (com\android\internal\app\ShutdownThread.smali).
The result: working 5 lock screen mod with extended power menu on JPQ without crashing of the Internet app!
If interested, you can download it from here. Framework-res.apk and Settings.apk are stock themed files, so you can delete that lines from the batch... Actually, the relevant file is the framework.jar.
Try 5lockscreen mod
mY custom rom has stock lockscreen :L
Stock lockscreen for stock XWJPI and XXJPQ: http://www.megaupload.com/?d=SNJ3ZI17
Credits by Halco
Here is the way to add Stock lockscreen on a firmware.
But care, on this step :
4. Replace the contents of this method with the attached file getLockScreenMode.txt.
Dont do this, juste replace on you method getLockScreenMode()Lcom :
PuzzleLock by TapLock
GlassLock by TapLock
Then follow the rest of the steps
I tried this tutorial with XWJPK, but when I try to deodex the file I always get this error:
Code:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
at org.jf.baksmali.main.main(main.java:278)
Can you help me, please?
Which file do you try to deodex? Do you mean all of them? In that case, I use this one, so I recommend. It always works for me. Sorry, but I don't understand exactly the source of your problem (maybe I'm too tired)... What's your goal at all? 5 lockscreen mod on a deodexed XWJPK?
Sry, but I don't understand you exactly, too
I tried this Tutorial and therefore I need android.policy.odex and so a odexed framework, right?
But I'm sorry, at this topic I'm totally new at this topic. It would be nice if you could upload the modded files for JPK...
I am using stock rom jpm rooted by default..i want this 5 lock screen..
Can I get that..?
Please tell me the step by step procedure..
Sent from my GT-I5800 using XDA App
JPM is no problem!
You can use Kitchen 2.0!
GalaxyDrei said:
JPM is no problem!
You can use Kitchen 2.0!
Click to expand...
Click to collapse
Please give me the link to download kitchen 2
Sent from my GT-I5800 using XDA App
Sry, it was deleted...
I think it also should work with Kitchen 3.0...
Ask benzyniarz1
GalaxyDrei said:
I tried this tutorial with XWJPK, but when I try to deodex the file I always get this error:
Code:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
at org.jf.baksmali.main.main(main.java:278)
Can you help me, please?
Click to expand...
Click to collapse
You got this error because when you tried to deodex android.policy, you forgot to pull all the .odex files from /system/framework. For some reason it is not enough to pull only the android.policy.odex
No, I pulled the whole framework, so I can't understand why I get this error!
Strange... By the way, I've uploaded the modified file you asked for.
Thanks a lot
Is there any tutorial about pushing this to the phone? I didnt see it anywhere...
I will update my first post as soon as I have enough time. It will be a few days since now I have to work...
Hi,
Can you make a only Android Lockscreen for XXJPS? I dislike the Extended Powermenu and the Option of more lockscreens, but only want Android Lock.
Hopefully someone can provide me that!
Stylooo
Nice job could you please post some basic instructions for porting this to some other stock(odexed) rom I know how about compiling and decompiling using smali etc just tell me which files to edit .
Sent from my GT-I5800 using Tapatalk
I am on ShishirROM ICS and I really like the Rom over all. However in his latest up date he included the stock ICS lock screen and scrolling wallpaper and I personally prefer the ones from the previous release. I am willing to do the work to revert them to what I want but want to make sure I am on the right track. Is this guide from the walkthrough sticky the correct way to do this (How to manually replace modded/stock system files)? I have both versions of the ROM on my laptop so I am thinking I can pull what I want from one and use the guide above to replace it in the other. Thank you in advance for your help.
Switch the android.policy.jar file and that should give you the old lockscreen.
That's generally all you should do for deodex, so I do not know since his rom is odex.
LiLChris06 said:
Switch the android.policy.jar file and that should give you the old lockscreen.
That's generally all you should do for deodex, so I do not know since his rom is odex.
Click to expand...
Click to collapse
Thanks Ill give it a shot and see. Whats the worst that can happen? Lol
Bootloop, reflash the rom without wipe.
LiLChris06 said:
Switch the android.policy.jar file and that should give you the old lock screen.
That's generally all you should do for deodex, so I do not know since his ROM is odex.
Click to expand...
Click to collapse
Not sure why but when I replace the android.policy.jar file and reboot I still have the same lock screen.
what I am doing. Unpack ROM, copy android.policy.jar from laptop to external SD, move file to system, change permissions to match existing file(rw-r-r), confirm permission change, move file to framework, replace existing file OK, back out of root explorer and reboot.
Any suggestions would be appreciated thanks.
I have a rooted HTC EVO V 4g with no ROM, just on the original OS. I wanted to try and use a Jelly Bean User interface that I found on the system/app folder of my Galaxy Tab 10.1 when I flashed CM9 onto it. I installed the apk (SystemUi.apk) by placing it in the system/app folder and rebooting the phone. When it turned back on, the notification bar was gone and the ICS task manager that shows up when you hold the home button was gone. It wasn't smart of me to do this, I know. I've tried rebooting, factory wiping, going through settings, using launchers, installing an ICS Systemui.apk (with the right permissions). I am currently trying to grab SystemUI.apk from different Evo V roms and installing them. This has not worked yet. None of that has worked. Hope someone can help. My wallpapers also can not also be set.
I installed the Systemui.apk from the Harmonia ROM and my wallpaper started working again but the notification bar is still missing, and the ICS Task manager isn't working.
Fixed the problem
I fixed the problem by downloading the original ROM and placing the systemui.apk and systemui.odex files in place of the old ones.
fixed it
I fixed the problem by downloading the original odex rom and putting the systemui.apk and systemui.odex files in place of the old ones in the system/app folder.
I'm working in a custom ROM over Lollipop 5.1 (launcher5.bid)
To make pre-positioned some widgets in the home screens I use launcher.db.
After positioning the widgets in the screens I extract the launcher.db file and I put this file in the folder /media/config in the system.img.
It's work, after flashing the phone alls widgets are in the place BUT....
If I change the system language launcher crash and some widgets are replace for others widgets and the home become a mess.
Why?
Please HELP!!!
i'm trying to replace my touchwiz home with another from a custom ROM but when i do it i get FC so i need to know what are the other files and libs i should move with it and thanks