[MOD] Stock lockscreen - Fascinate Themes and Apps

Ok i managed to get the stock lockscreen if you all want to use it.
There is a possibility that the file i signed has a different signature, but i dont think it will.
Remember make a backup! always.
If your phone gets messed up it is not my fault.
I have warned you, so here you are. EDIT: Unzip the file then push the one inside of the zip.
put the file i uploaded in /system/framework ............. let me know what you think!
Thank to : Ateisti for giving the info on how to modify it.
If you want to go back to your old lockscreen download the enable_glass_lock.zip, unzip it, and push the enable_glass_lock to /data/local
If your signature is different it will get stuck on the samsung, you can then restore your backup.
and if you want it then run these instructions:
You need to use adb not rootexplorer
DO this while in cwm recovery
1. Rename the file you downloaded to patched.odex
2. adb push it to your /system/framework
3. adb shell then cd into /system/framework
4. run this
dd if=android.policy.odex of=patched.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
5. exit shell
6. adb pull the android.policy.odex for backup
7. adb shell cd /system/framework
8. rm android.policy.odex
9. mv patched.odex android.policy.odex
reboot and you should have stock lockscreen.

You are the ****ing man!

How well does this work with the alarm silencing and incoming calls? Thanks!!!
EDIT: Never mind...testing it out.

wasupwithuman said:
Ok i managed to get the stock lockscreen if you all want to use it.
There is a possibility that the file i signed has a different signature, but i dont think it will.
Remember make a backup! always.
If your phone gets messed up it is not my fault.
I have warned you, so here you are.
put the file i uploaded in /system/framework ............. let me know what you think!
Thank to : Ateisti for giving the info on how to modify it.
Click to expand...
Click to collapse
I'm a little confused... do we need to just change the file to android.policy.jar or leave it the name that it is and just move it to /system/framework
thanks!

taypotts said:
I'm a little confused... do we need to just change the file to android.policy.jar or leave it the name that it is and just move it to /system/framework
thanks!
Click to expand...
Click to collapse
Keep the name and adb push it to /system/framework (you might want to backup your old one) you can backup by "adb pull /system/framework/android.policy.jar"
You can also install it using root explorer if you want.

wasupwithuman said:
Keep the name and adb push it to /system/framework (you might want to backup your old one) you can backup by "adb pull /system/framework/android.policy.jar"
You can also install it using root explorer if you want.
Click to expand...
Click to collapse
See I'm still confused, cause there is no file named android.policy (samsung fascinate) in the folder "framework" but there is android.policy.jar
Should I unzip the downloaded file then push that?

taypotts said:
See I'm still confused, cause there is no file named android.policy (samsung fascinate) in the folder "framework" but there is android.policy.jar
Should I unzip the downloaded file then push that?
Click to expand...
Click to collapse
yep, unzip first...

Quick question, does this take away the option for the other two lockscreens, ie glass and puzzle? If not I can throw this in my theme port (with your permission of course) and also theme this lockscreen as well.

frostman89 said:
Quick question, does this take away the option for the other two lockscreens, ie glass and puzzle? If not I can throw this in my theme port (with your permission of course) and also theme this lockscreen as well.
Click to expand...
Click to collapse
Your more then welcome to use it, but It does not give an option. So you would have to create a seperate theme for people who would just want the stock lockscreen.

I've tried installing this twice with root explorer, and both times my phone gets stuck on the Samsung logo when I reboot.
To install the file, I unzip the download and then place the .odex file in /system/framework. Any ideas on what I'm doing wrong?
Sent from my Fascinate using XDA App

tiger4life said:
I've tried installing this twice with root explorer, and both times my phone gets stuck on the Samsung logo when I reboot.
To install the file, I unzip the download and then place the .odex file in /system/framework. Any ideas on what I'm doing wrong?
Sent from my Fascinate using XDA App
Click to expand...
Click to collapse
your signature isnt the same as my file. you can try to do this but you need to use adb not rootexplorer
DO this while in cwm recovery
1. Rename the file you downloaded to patched.odex
2. adb push it to your /system/framework
3. adb shell then cd into /system/framework
4. run this
dd if=android.policy.odex of=patched.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
5. exit shell
6. adb pull the android.policy.odex for backup
7. adb shell cd /system/framework
8. rm android.policy.odex
9. mv patched.odex android.policy.odex
reboot and you should have stock lockscreen.

hey man, i'm new to all this i've done all that u said, but what is the command to pull the android.policy.odex from the phone? I think i'm putting the wrong directory in the command because I keep getting "remote object '......android.policy.odex' does not exist" thanks for this, btw i really dislike that puzzle piece unlock bs.
nevermind, I wasn't in cwm when doing it the first time. Thanks again.

I like this, can't wait to try it.

wasupwithuman said:
your signature isnt the same as my file. you can try to do this but you need to use adb not rootexplorer
DO this while in cwm recovery
1. Rename the file you downloaded to patched.odex
2. adb push it to your /system/framework
3. adb shell then cd into /system/framework
4. run this
dd if=android.policy.odex of=patched.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
5. exit shell
6. adb pull the android.policy.odex for backup
7. adb shell cd /system/framework
8. rm android.policy.odex
9. mv patched.odex android.policy.odex
reboot and you should have stock lockscreen.
Click to expand...
Click to collapse
That did the trick. Thanks for the help!

Sweet, put that file in the xultimate and deodex'ed and got it working.. Thanks

Followed step by step from adb, and got stuck with the Samsung screen.

DUNC4N said:
Followed step by step from adb, and got stuck with the Samsung screen.
Click to expand...
Click to collapse
hmm... you used the file i attached and did eveything in adb? try again, i'd like to help more, but if you did everything step by idk...
You did it in cwm recovery right?

Thanks for the reply.
Yes I did it in clockwork recovery. I may of had some confusion on the second to last step. I'll try again when I get home.
Two questions: Is the silent slide functional, and are the last two steps verbatim.
Thanks again.
Sent from my SCH-I500 using XDA App

DUNC4N said:
Thanks for the reply.
Yes I did it in clockwork recovery. I may of had some confusion on the second to last step. I'll try again when I get home.
Two questions: Is the silent slide functional, and are the last two steps verbatim.
Thanks again.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
not sure about the silent slide....i don't use this lockscreen. i just made it for you guys... and yes follow the last two steps exactly how i have them.

Silent mode is functional.

Related

stericsons lockscreen

im sure this is something alot of people wanna know....
what are the files needed to add stericsons lockscreen to a cyan build that doesnt contain it?...and where do those files go?
in /system/framework
services.jar
framework-res.apk
android.policy.jar
framework.jar
in /system/app
Settings.apk
thanks for your help i really needed this info...hey is there any way i can bring these files to jacxrom?....or are they made specifically for cyanogen's roms?
g1junky said:
thanks for your help i really needed this info...hey is there any way i can bring these files to jacxrom?....or are they made specifically for cyanogen's roms?
Click to expand...
Click to collapse
Jacxrom actually already has this in the latest build. But I did try to load the v7(i think) files and all it did was freeze at the G1 splash screen
nolimit78 said:
Jacxrom actually already has this in the latest build. But I did try to load the v7(i think) files and all it did was freeze at the G1 splash screen
Click to expand...
Click to collapse
ahh that sucks
so we cannot have the stericson lockscreen on jachero roms? damn. looks awesome and wanted to have that on there. bdw when you said:
"in /system/framework
services.jar
framework-res.apk
android.policy.jar
framework.jar
in /system/app
Settings.apk"
do we have to input in console or go to file path and drop the files in there?
sorry just not clear with the actual directions
Akademist101 said:
so we cannot have the stericson lockscreen on jachero roms? damn. looks awesome and wanted to have that on there. bdw when you said:
"in /system/framework
services.jar
framework-res.apk
android.policy.jar
framework.jar
in /system/app
Settings.apk"
do we have to input in console or go to file path and drop the files in there?
sorry just not clear with the actual directions
Click to expand...
Click to collapse
there can be some problems with pushing settings.apk when it is not in an update.zip but here are recovery console commands you can try. have all of the files on the root of your sdcard
Code:
mount sdcard
mount system
cp /sdcard/android.policy.jar /system/framework/android.policy.jar
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
cp /sdcard/framework.jar /system/framework/framework.jar
cp /sdcard/services.jar /system/framework/services.jar
cp /sdcard/Settings.apk /system/app/Settings.apk
(if [B]cp[/B] does not work try [B]mv[/B])
reboot
even if they don't work you will learn something about the how push files in the recovery console. so whenever some says adb push this is the same thing basically.

Hide Battery Status

is there a way to hide the android battery status or display the % on it? there are plenty of apps that show % but its kinda redundant to have both displaying on the task bar.
i am runing rooted stock rom. any ideas are apreciated, thanks
You can do both with CyanogenMod. Or you can just replace the images in framework-res.apk
Here is a red round battery with percentages:
thanks everyone
thank you, i just deleted the images from framework-res and installed a battery indicator from market. so now i have 1 battery with correct %. too bad i cant move it to the right
dkhait said:
thank you, i just deleted the images from framework-res and installed a battery indicator from market. so now i have 1 battery with correct %. too bad i cant move it to the right
Click to expand...
Click to collapse
How do you do this? Do you copy the original framework-res.apk to PC and then open and remove the battery pictures then move the modified framework-res.apk back to the device and install? I tried this but the apk wont install.
nfcrockett said:
Here is a red round battery with percentages:
Click to expand...
Click to collapse
How do you install this file? I tried installing it from clockwork mod recovery, but it didn't take.
Asterdroid said:
How do you install this file? I tried installing it from clockwork mod recovery, but it didn't take.
Click to expand...
Click to collapse
you cant install that file. you have to pull framework-res.apk from the /system/framework. then open it with 7zip and overwrite the exiting images with those. then push it back into the phone.
adb pull /system/framework/framework-res.apk
then after injecting new images
adb push framework-res.apk /system/framework/
dkhait said:
you cant install that file. you have to pull framework-res.apk from the /system/framework. then open it with 7zip and overwrite the exiting images with those. then push it back into the phone.
adb pull /system/framework/framework-res.apk
then after injecting new images
adb push framework-res.apk /system/framework/
Click to expand...
Click to collapse
Worked like a charm. Thanks!
Any idea where I can get my hands on red-themed 3g/location/clock/wifi/gps/alarm etc. notification icons?
I can't get the file to push. I am connected via USB with USB debugging on in charge only mode. At CMD prompt I can adb shell and su.
adb push framework-res.apk /system/framework/
gives error adb: not found
I have edited the file by removing some png and then saving it back to the sdk root and the sdk/tools folders.
If I get this to push do you have to then install the apk from the device?
wpbear said:
do you have to then install the apk from the device?
Click to expand...
Click to collapse
-Install 7zip (just google it)
-Reboot phone into recovery.
-Connect USB cable
-Go into Partitions menu in recovery
-Mount /System
-Open your command prompt on your PC
-Change the directory to wherever your sdk/tools are located
-type the following command line: adb pull /system/framework/framework-res.apk
Now the file is in your sdk/tools folder
-Right click on framework-res.apk and open with 7zip
-Copy the files from the round battery zip folder to the corresponding folder with the 7zip archive. They will automatically overwrite
-Exit 7zip
-Back in the command prompt type the following command line: adb push framework-res.apk /system/framework/
-On your phone, unmount /system, then back out of the partitions menu and reboot your phone.
Should be all set!
wpbear said:
I can't get the file to push. I am connected via USB with USB debugging on in charge only mode. At CMD prompt I can adb shell and su.
adb push framework-res.apk /system/framework/
gives error adb: not found
If I get this to push do you have to then install the apk from the device?
Click to expand...
Click to collapse
I think you need to mount the system folder in the partitions menu of recovery. My instructions are one post up.
Thanks got it. I switched back to the orignal apk though. I wanted the status hidden, and while deleting the png worked, it still leaves a blank space instead of moving the icons over so it doens't look good. Thanks for the help.
nfcrockett said:
Here is a red round battery with percentages:
Click to expand...
Click to collapse
I really like this icon, but is there any way to use this without the percentages in the middle? It makes it look more cluttered, and it's not very useful as they only change between 100, 80, 60, etc.
So is there any way to either make them more accurate, or remove them completely? I really like this indicator otherwise, more neat-looking than the one that comes with the jonnybueno theme (which rocks otherwise!)
Thanks all.
I made a white round battery meter if you don't care for the red.
Why can't this be packaged up into a zip for us to just go into recovery and clockwork and install zip. Don't really understand why we have to go through all the steps of adb to get this to work. So if possible could someone please put it all together to make it easier to use. Thanks
wpbear said:
How do you do this? Do you copy the original framework-res.apk to PC and then open and remove the battery pictures then move the modified framework-res.apk back to the device and install? I tried this but the apk wont install.
Click to expand...
Click to collapse
you cant install it, you have to overwrite it in recovery mode.
adb pull /system/framework/framework-res.apk
modify
then
adb push framework-res.apk /system/framework/
corywf said:
I made a white round battery meter if you don't care for the red.
Click to expand...
Click to collapse
Is there one for blue please?
What color blue do you want? Just regular blue?
WingHater said:
Why can't this be packaged up into a zip for us to just go into recovery and clockwork and install zip. Don't really understand why we have to go through all the steps of adb to get this to work. So if possible could someone please put it all together to make it easier to use. Thanks
Click to expand...
Click to collapse
It probably could be packaged, but it is a pretty simple change so I doubt anyone would go through the trouble.
Do not fear ADB. Follow the steps. It is as easy as 1. 2. 3... 4567.
nfcrockett said:
Here is a red round battery with percentages:
Click to expand...
Click to collapse
Is there anyway to do this so it is like the old days where a zip could be installed through clockwork recovery? I hate doing anything through ABD half the time my phone is not recognized?

ADB help...

OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Demented71 said:
OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
Click to expand...
Click to collapse
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
bobbylx said:
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
Click to expand...
Click to collapse
My backed up framework file was on my PC. The first one I was trying to get to was on my phone, in a folder called Battery Mod, which I could not get into because ADB kept saying wrong substitution or something?
Either way, I was able to get it done, so I learned something new again.
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Click to expand...
Click to collapse
That makes sense, it may not let you Push to the file system while it's in use.
As for 2 names, do you mean from a windows command box or in the android command line. Windows you just type it as is. Linux is a little more picky, I usually try to remove spaces from directory names so I don't run into any problems with that. In linux a backslash works, ie, cd /sdcard/Battery\ Mod
Not sure if it will work on our phones.

Battery icon request for KH3

Is it possible to make this battery icon http://forum.xda-developers.com/showthread.php?t=977983 work with KH3?! Thanks..
chasesavestheday said:
Is it possible to make this battery icon http://forum.xda-developers.com/showthread.php?t=977983 work with KH3?! Thanks..
Click to expand...
Click to collapse
You can do a bunch of battery icons in the UOT kitchen
There are a couple for KH3 in this thread
http://forum.xda-developers.com/showthread.php?t=1248826
Yes I just created one at uot. I really liked the one on the OP though. Thanks for your efforts!
I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?
chasesavestheday said:
I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?
Click to expand...
Click to collapse
There's an easier way, assuming you have the android SDK and ADB.
First, reboot into CWM recovery (it'll save you any troubles of root permissions).
Type this command into adb:
adb pull /system/framework/framework-res.apk
Then go into your SDK folder where adb is stored (usually platform-tools) and make a copy of that apk file to somewhere else. That will be your safe backup.
Then get 7zip and right-click on the apk sitting in the directory with adb, and select "open archive". Navigate to /res/drawable-hdpi and copy all the files you extracted into this directory (overwriting where necessary).
Once you've done that, close the archive. Assuming it's still in the same directory as adb, type:
adb push /system/framework/framework-res.apk framework-res.apk
(Yes, it's typed twice on purpose.)
Then just reboot. If all goes well, your battery should show up. If it messes up, just move your backup to the adb folder, reboot to recovery, and reissue the adb push command above.
chasesavestheday said:
I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?
Click to expand...
Click to collapse
you dont need to sign system apks

[Q] After reboot phone stop at logo frame

1、Deodex android.policy.jar and android.policy.odex,get intact android.policy.jar.then Decompile android.policy.jar. after Modfied Recompileandroid.policy.jar.use dexopt-wrapper re-odex to get android.policy.odex.copy new android.policy.jar and android.policy.odex to /system/framework.modified file permissions and reboot.oh,phone alway stop at logo frame.
2、Deodex Original android.policy.jar and android.policy.odex,get intact android.policy.jar and do nothing.now, reodex android.policy.jar.copy to phone folder and reboot. phone stop at logo frame too.
first,I according to this GUID(http://forum.xda-developers.com/show....php?t=2125196) add a menu item.
second,After finished,my thread to deal with modfied files and operate phone.
that all.But reboot ...phone stop at logo frame
process
Code:
adb push odex /data/local/tmp/odex
adb shell chmod 755 /data/local/tmp/odex/*
adb shell /data/local/tmp/odex/dexopt-wrapper /data/local/tmp/odex/android.policy.jar /data/local/tmp/odex/android.policy.odex
adb shell /data/local/tmp/odex/dexopt-wrapper /data/local/tmp/odex/framework.jar /data/local/tmp/odex/framework.odex
adb shell
su
busybox cp -f /data/local/tmp/odex/android.policy.odex /system/framework/android.policy.odex
busybox cp -f /data/local/tmp/odex/framework.odex /system/framework/framework.odex
busybox cp -f /data/local/tmp/odex/framework-res.apk /system/framework/framework-res.apk
reboot
quywz said:
1、Deodex android.policy.jar and android.policy.odex,get intact android.policy.jar.then Decompile android.policy.jar. after Modfied Recompileandroid.policy.jar.use dexopt-wrapper re-odex to get android.policy.odex.copy new android.policy.jar and android.policy.odex to /system/framework.modified file permissions and reboot.oh,phone alway stop at logo frame.
2、Deodex Original android.policy.jar and android.policy.odex,get intact android.policy.jar and do nothing.now, reodex android.policy.jar.copy to phone folder and reboot. phone stop at logo frame too.
Click to expand...
Click to collapse
Maybe you should stop playing with things you do know nothing about.
Never saw a question looking so complicated and so empty at the same time.
What did you want to do? On what Rom?
ha.
official ROM V4.1.2
I try to add menu and so.And want to DIY.
quywz said:
ha.
official ROM V4.1.2
I try to add menu and so.And want to DIY.
Click to expand...
Click to collapse
Help yourself and so. Maybe DIY will come next morning. Sorry I disturbed your thread.
ThaiDai said:
Help yourself and so. Maybe DIY will come next morning. Sorry I disturbed your thread.
Click to expand...
Click to collapse
ok,I have modified my problem context.
ThaiDai said:
Help yourself and so. Maybe DIY will come next morning. Sorry I disturbed your thread.
Click to expand...
Click to collapse
first,I according to this GUID(http://forum.xda-developers.com/showthread.php?t=2125196) add a menu item.
second,After finished,my thread to deal with modfied files and operate phone.
that all.But reboot ...phone stop at logo frame
What are you trying to add? 4 way reboot menu? Try this tutorial
http://forum.xda-developers.com/showthread.php?t=2038675
now problem is when update android.policy.odex and reboot,system stop at samsung logo frame
if u want a deodex to change it to odex u just need a autoOdex.bat n do it with a PC connect to ur phone.
i'm not sure how u do it but it's seem so complicated !
quywz said:
now problem is when update android.policy.odex and reboot,system stop at samsung logo frame
Click to expand...
Click to collapse
you cannot directly compile to and odex file,
1. decompile odex, do the changes
2. compile back to classes.dex file and add to the original Jar file using 7z to get a deodexed jar
3 now use any of the odexing scripts here in XDA
nokiamodeln91 said:
you cannot directly compile to and odex file,
1. decompile odex, do the changes
2. compile back to classes.dex file and add to the original Jar file using 7z to get a deodexed jar
3 now use any of the odexing scripts here in XDA
Click to expand...
Click to collapse
THX.You said alread had done.update that file to phone and reboot,phone is stop.process
Code:
adb push odex /data/local/tmp/odex
adb shell chmod 755 /data/local/tmp/odex/*
adb shell /data/local/tmp/odex/dexopt-wrapper /data/local/tmp/odex/android.policy.jar /data/local/tmp/odex/android.policy.odex
adb shell /data/local/tmp/odex/dexopt-wrapper /data/local/tmp/odex/framework.jar /data/local/tmp/odex/framework.odex
adb shell
su
busybox cp -f /data/local/tmp/odex/android.policy.odex /system/framework/android.policy.odex
busybox cp -f /data/local/tmp/odex/framework.odex /system/framework/framework.odex
busybox cp -f /data/local/tmp/odex/framework-res.apk /system/framework/framework-res.apk
reboot
first just use the deodexed one and see if its working or not.
nokiamodeln91 said:
first just use the deodexed one and see if its working or not.
Click to expand...
Click to collapse
thx for answering the question.pls look at http://forum.xda-developers.com/showthread.php?t=2272027.
I had update files one by one.

Categories

Resources