Related
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
Hi all.
First, all credits go to Kyrillos and Hillbeast cause they show me how to fix that
Sooo here we go : You wanna enable 9 lockscreen mod without these ugly small bug icons and you want that with every deodexed JPU rom ?
Follow those steps !
* Download this .zip : Download here
It contains the framework and the libs that enable 9 lockscreen mod.
* Now you have two choices:
- Either you flash by CWM directly, without changing anything, so you will have by default the theme of Kyrillos v9.0+.
If you do so, then you can flash all themes that are compatible with 9 lockscreen mod (Delete all the .jar files in the update !! And follow the theme installation of course )
- Either you change the .zip, by adding your own framework-res.apk and twframework-res.apk (Do not forget your themed apps, add a folder 'app' in /system (Use 7-Zip to do so))
WARNING : Do not remove / modify the lib folder or these three files from framework folder : framework.jar, services.jar and android.policy.jar
* Reboot your phone, and enjoy
Credits :
Kyrillos for helping and his modified framework
Hillbeast for show me the way of missing libs
___________________________________________________________________
Got problems ? Read this :
I flash my theme and I got a bootloop ???
Click to expand...
Click to collapse
Try wipe dalvik cache.
If it doesnt work, check that you have removed all .jar in the .zip of your theme. You only need jars files from my zip that you downloaded.
Then if it doesnt work too, post in the thread, the community will help you
You should add that it works on JPU. On any other froyo firmware it may be buggy.
Ah sorry yes..
I always forgot that Indians got an other firmware... Sorry, will modify that ^^'
If someone on ddjp6 could try and tell us, would be great
Sent from my Elora galaxy 3
Is this 9 lockscreen MOD?
Yes, it's a way to enable it in JPU (with a default theme : Kyrillos v9.0+, and all libs required)
After flash it, u can flash every theme which requires 9 lockscreen mod, like Miui 1.4.5 by Ghost in the Ruins for example
I'm currently on a stock JPU deodexed with the Miui 1.4.5 theme
So do i have to install kyrllios 9+?
Sorry for questions. I'm noob.
Certainly not
You can just flash this .zip from CWM without modified anything and enjoy with 9 lsm. By default, you'll get Kyrillos v9.0 THEME, just the theme ^^
Then, you can flash every theme you want that requires 9lsm
Nice share mate. This should solve the confusion. I will redirect my theme threads to here for users who are not on custom ROMs.
Is every lib file is necessary in the package you provided, because I noticed that one lib file is of terminal emulator.
I put libs files from Hillbeast.
I will modify it when i can
Sent from my Elora galaxy 3
After flashing the file (wiping dalvik-cache and cache) and rebooting my bootanimation appears but after that booting stucks and all I see is a black screen. It won't start at all.
I tried flashing the zip as it is and a zip containing my framework-res.apk and twframework-res.apk from a UOT-Kitchen-Theme. I also did a third zip containing my SystemUI.apk (which is not affected by my UOT Theme)
For replacing I used 7zip as recommended and also Total Commander.
I'm using a Custom deodexed JPU with converted filesystem as follows:
stl6 ext2
stl7 ext4
stl8 ext2
Any idea on fixing this? (I have a CWM-Backup, so nothing can get lost )
t-rip said:
I tried flashing the zip as it is and a zip containing my framework-res.apk and twframework-res.apk from a UOT-Kitchen-Theme. I also did a third zip containing my SystemUI.apk (which is not affected by my UOT Theme)
For replacing I used 7zip as recommended and also Total Commander.
Any idea on fixing this? (I have a CWM-Backup, so nothing can get lost )
Click to expand...
Click to collapse
Is the framework that you put in the zip 9 lockscreen modded?? Either flash the zip as it is or put a framework-res.ap that is 9 lockscreen modded into the zip and flash,
And SystemUI.apk?? We don t have SystemUI.apk in Froyo. Please don t put that.
I flashed it as it is AND with my modded framework-res.apk and twframework-res.apk. So I flashed 2 different zips with restoring system and wiping caches between the flash operations. Both zips didn't work.
The SystemUI.apk I used is the one I took from my phone and I replaced the one in the zip for testing purposes.
Do I only have to replace the framework-res.apk and have to leave twframework-res.apk untouched?
t-rip said:
I flashed it as it is AND with my modded framework-res.apk and twframework-res.apk. So I flashed 2 different zips with restoring system and wiping caches between the flash operations. Both zips didn't work.
The SystemUI.apk I used is the one I took from my phone and I replaced the one in the zip for testing purposes.
Do I only have to replace the framework-res.apk and have to leave twframework-res.apk untouched?
Click to expand...
Click to collapse
No. twframework-res.apk is not modded for 9 locks. Its the same. If you flashed the zip as it is without replacing any files and it still didn t work?? Then I don t have any idea.:/
That's the problem. The provided zip doesn't work. I tried it.
alternative download link possible?
Hi all,
the link given in the first posting is dead -> goes to megaupload.
Would it be possible to get a mirror download link?
That would be very great.
Thanks in advance.
Cheers
qaysed
Yup, sorry. Due to down of MU, i'll give us an alternate download link, but it's not on this PC.
If someone else could up it for me (i could up it in 2 days) thanks in advance for all.
Here's a mirror while megaupload is down or you reuped the zip by yourself.
http://ul.to/ku5rvvya
runs perfect!
thanks for the quick mirror!
works like a charme.
No stopping services, no reboots or freezes.
Libs are also exchanged... that´s new to me.
I assume that is the root cause for my problems, in exchanging the frameworks.
Have to accustom myself to the four symbols on lock screen. First try: opened the phone
and thanks to halco for distributing the file
and of course hillbeast and kyrillos mentioned already in the first posting
Cheers
qaysed
hi, can you upload to other websites plz! Megaupload is dead
Hi @ all,
a short info what i was doing on cm11:
to include apps to my flashable zip i included my wanted apk's to /system/app and the depending libs of the apk's to /system/lib. This was working a long time perfect.
With CM12 there was not enough space in system partition so it is not longer possible.
To solve this in created an independend zip to flash which puts my wanted apk's to /data/app. Caused by the new structure in /data/app there is a subfolder for each app /data/app/appfolder/app.apk. For the needed libs on each appfolder there are subfolders /data/app/appfolder/lib/arm which contains the needed libs.
The Interesting part: some apps wont install on initial boot.
Another try was to create the structure /data/app/appfolder/app.apk without the subfolders for libs and the libs itselve then all apps will install but some crashes caused by the missing libs.
Has anybody knowhow to get it working correctly ?
PS: By try and error i noticed if apps are installed from playstore and later is updated by a new release the old one is not removed from /data/app. In older versions of android it was removed. Is this a normal behaviour now in android 5 ?
Thx
I didn't want to hijack/spam any of the established threads, but I'm hoping some of the people working with roms will be kind enough to respond to me here.
On clean MM installed rom, you'll find the following folders :
- /system/odex.app
- /system/odex.priv-app
- /system/odex.framework
They all contain .odex files for respective folders, and when compared to the ones included in each app's folder, they are the exact same, what are these folders for ?
There are also files named odex.app.sqsh (priv-app and framework too), so are all these files ok to delete ?
One more thing, if you go into /data/app you'll find all your apps odexed there, why ? is this some kind of forced action by MM ? can these files be safely deleted ?
I'm asking these question because I'm getting random reboots on my ROM, and the Z2_fixbootloop zip posted in other threads doesn't work for me (I'm on a 6502 model, so my sim is not detected if I flash this file), I'm going to restore all the files I've removed to debloat the rom and see if the random reboots disappear, and then continue from there, but meanwhile any help from those who know is much appreciated.
Edit 01 : after a bit of googling, I extracted the sqsh files and they contains the exact same odex files from the odex.**** folders or the ones included with the apps themselves, so we have 3 copies of odex files in the rom ????
Can anyone tell me how to deodex Xperia Z2 6.0.1 firmware step by step? Thanks in advance....
+1
I am also looking for the same. On MM rom, Sony is using symlinks to link odex files.
A step by step guide would be highly appreciated.
Thank you
I'm not gonna go into deep details, but this should help.
- flash MM rom for your device, make sure it is ROOTED as you'll need to use an explorer with root access,it's better if you do this on a clean install, but this is just me
- boot your device and go through the setup process
- once done, install a browser with root access, I recommend MiXplorer, root explorer
- browse into /system folder
- check your /app, /framework, /priv-app, they should have odex files inside them (this was the case for me)
- copy these folders, plus build.prop file into sd card or the phone memory
- connect phone to pc and copy files over
- look up and download SVADeodexerForArtx(32 or 64 based on your system), you also need to have java installed on your machine.
- extract the SVADeodexerForArtxxx to your c: drive, and create a folder named /system insides, and post the files from your phone inside that
- your final folder will look something like this : c:/SVADeodexerForArtxxx/system/ (app, framework,priv-app) and build.prop file
- remember to move the Semcxxx app folder from /framework into /app folder or it won't be deodexed
- run SVADeodexerForArtxxx and point it to your /system folder, it will show you your android version, tick the checkbox for app, framework, priv-app, hit the start button
- it'll run and once done the log file will open and tell you how many were deodexed.
- the deodexed folders will be in the base folder, make sure to return the Semcxxx folder from the /apps to /framework
- create a flashable zip and flash these folders back on your rom
now your rom is deodexed
install Rom eXistenZ MM, rom is rooted and deodex
lokitooxd said:
install Rom eXistenZ MM, rom is rooted and deodex
Click to expand...
Click to collapse
The intention of this post was to learn how to do it. I know there is existenz and ultraslim deodexed roms. Thanks anyway.
@ticktock666
Thanks for the steps.
These steps looks to be from older version. Anybody with 6.0 Sony MM steps?
@ticktock666
There are certain other folders such as odex.app, odex.framework, odex.priv-app...what about these? These folders also contains similar odex files for app, framework and pri-app...
AlanDS said:
These steps looks to be from older version. Anybody with 6.0 Sony MM steps?
Click to expand...
Click to collapse
I deodexed my MM rom about a week ago, so I'm saying this from experience : it is up-to-date.
vikrant7027 said:
@ticktock666
There are certain other folders such as odex.app, odex.framework, odex.priv-app...what about these? These folders also contains similar odex files for app, framework and pri-app...
Click to expand...
Click to collapse
I'm not sure, but here's some of the stuff I noticed during the deodex process :
- I used to get the files using adb pull command directly to pc after a fresh rom install (remember to install a pre-rooted rom), but I did not get any odex files with the apps this way, so deodexing didn't work.
- after pulling the files from the device using a root explorer, each app had the odex files with them inside the correct folders.
- about odex.xxx folders and odex.xxx.sqsh files : they contain an exact duplicate of the odex files, no idea why (you can extract the sqsh files, they're basically special compressed odex file container sort of thing), which means the rom contains 3 versions of the same odex file, makes no sense.....
after deodexing and flashing the deodexed rom/files, I deleted odex.xxx folders and odex.xxx.sqsh files, and my rom works fine, fully rooted and with xposed. My current issue is that now if I browse into /data/app on the root of the drive I'll find an odexed version of every app I have installed, be it a user app or system app, and it's driving me crazy.
ticktock666 said:
I deodexed my MM rom about a week ago, so I'm saying this from experience : it is up-to-date.
I'm not sure, but here's some of the stuff I noticed during the deodex process :
- I used to get the files using adb pull command directly to pc after a fresh rom install (remember to install a pre-rooted rom), but I did not get any odex files with the apps this way, so deodexing didn't work.
- after pulling the files from the device using a root explorer, each app had the odex files with them inside the correct folders.
- about odex.xxx folders and odex.xxx.sqsh files : they contain an exact duplicate of the odex files, no idea why (you can extract the sqsh files, they're basically special compressed odex file container sort of thing), which means the rom contains 3 versions of the same odex file, makes no sense.....
after deodexing and flashing the deodexed rom/files, I deleted odex.xxx folders and odex.xxx.sqsh files, and my rom works fine, fully rooted and with xposed. My current issue is that now if I browse into /data/app on the root of the drive I'll find an odexed version of every app I have installed, be it a user app or system app, and it's driving me crazy.
Click to expand...
Click to collapse
Can u make a deodex rom for Xperia z2 mm rom d6502 indian version and post it on gdrive?? thanku in advance..? @ticktock666
Silverstarjigar said:
Can u make a deodex rom for Xperia z2 mm rom d6502 indian version and post it on gdrive?? thanku in advance..? @ticktock666
Click to expand...
Click to collapse
sorry buddy, but although just the deodexed files from my rom should work perfectly (it's only the apks, no other settings from the rom are included), it is near impossible for me to upload anywhere due to slow & unstable connection and power situation, since none of the hosting services support upload resume on their apps/sites.
ticktock666 said:
sorry buddy, but although just the deodexed files from my rom should work perfectly (it's only the apks, no other settings from the rom are included), it is near impossible for me to upload anywhere due to slow & unstable connection and power situation, since none of the hosting services support upload resume on their apps/sites.
Click to expand...
Click to collapse
Okk.. I will give it a try then!
Is there any script or something that we can flash through recovery ?
do you mean a script to deodex the rom on the phone ? if so then the answer is no
You can try this
ticktock666 said:
I'm not gonna go into deep details, but this should help.
- flash MM rom for your device, make sure it is ROOTED as you'll need to use an explorer with root access,it's better if you do this on a clean install, but this is just me
- boot your device and go through the setup process
- once done, install a browser with root access, I recommend MiXplorer, root explorer
- browse into /system folder
- check your /app, /framework, /priv-app, they should have odex files inside them (this was the case for me)
- copy these folders, plus build.prop file into sd card or the phone memory
- connect phone to pc and copy files over
- look up and download SVADeodexerForArtx(32 or 64 based on your system), you also need to have java installed on your machine.
- extract the SVADeodexerForArtxxx to your c: drive, and create a folder named /system insides, and post the files from your phone inside that
- your final folder will look something like this : c:/SVADeodexerForArtxxx/system/ (app, framework,priv-app) and build.prop file
- remember to move the Semcxxx app folder from /framework into /app folder or it won't be deodexed
- run SVADeodexerForArtxxx and point it to your /system folder, it will show you your android version, tick the checkbox for app, framework, priv-app, hit the start button
- it'll run and once done the log file will open and tell you how many were deodexed.
- the deodexed folders will be in the base folder, make sure to return the Semcxxx folder from the /apps to /framework
- create a flashable zip and flash these folders back on your rom
now your rom is deodexed
Click to expand...
Click to collapse
But with file odex.app.sqsh format...are that no need to extract
Sent from my D6503 using XDA-Developers mobile app
A1nur said:
But with file odex.app.sqsh format...are that no need to extract
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
sorry for the late reply, haven't been checking much recently.
now about those sqsh files, I've tried extracting them, and they seem to contains a 2nd copy of the odex files, not sure how they work, but after deodexing my rom I simply deleted them, and everything worked normally.
ticktock666 said:
sorry for the late reply, haven't been checking much recently.
now about those sqsh files, I've tried extracting them, and they seem to contains a 2nd copy of the odex files, not sure how they work, but after deodexing my rom I simply deleted them, and everything worked normally.
Click to expand...
Click to collapse
In new build fw 291 i try deodex that rom sir, n i do not extract sqsh.file...all normally work but if i delete boot.art n boot.oat it butlop....
How to i delete that sir
A1nur said:
In new build fw 291 i try deodex that rom sir, n i do not extract sqsh.file...all normally work but if i delete boot.art n boot.oat it butlop....
How to i delete that sir
Click to expand...
Click to collapse
I don't have the latest rom yet (not released for 6502), but when you go into your /system/app folder using a root explorer, do you see "arm" folder inside any of the installed apps ? maybe they changed something in 291, and now they only use sqsh files, also what does the log from the app says when you deodex the rom says ? it should say something like "300 apps deodexed, 10 apps already deodexed" or something like that.
ticktock666 said:
I don't have the latest rom yet (not released for 6502), but when you go into your /system/app folder using a root explorer, do you see "arm" folder inside any of the installed apps ? maybe they changed something in 291, and now they only use sqsh files, also what does the log from the app says when you deodex the rom says ? it should say something like "300 apps deodexed, 10 apps already deodexed" or something like that.
Click to expand...
Click to collapse
Thanks sir for your answered...
Sent from my Sony Xperia Z2 using XDA Labs
Hi!
Thanks, for good instructions!
It is also working for Xperia Z3 Compact on MM .291. I failed in the past, cause of forgetting 'semcxxx' in framework.
Greetz, brockn