stericsons lockscreen - G1 Q&A, Help & Troubleshooting

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.

Related

Replacing .apk files?

I would like to use this Phone.apk file in this ROM.
Do I just unzip the ROM, replace the .apk, rezip the ROM, sign the .zip, and flash?
Is there only one Phone.apk file to replace?
Last thing I want is a paper-weight
Thanks!
I just thought of this: could I just install the .apk via a file manager (as long as unknown sources are checked)?
NViouz said:
I would like to use this Phone.apk file in this ROM.
Do I just unzip the ROM, replace the .apk, rezip the ROM, sign the .zip, and flash?
Is there only one Phone.apk file to replace?
Last thing I want is a paper-weight
Thanks!
Click to expand...
Click to collapse
First, you're not going to brick your phone.
Second, I don't know how CSDI works. Try it and find out.
NViouz said:
I just thought of this: could I just install the .apk via a file manager (as long as unknown sources are checked)?
Click to expand...
Click to collapse
No. Maybe if you remount /system in read-write, even then it's probably easier to try it by just replacing and resigning.
I know in donut, you can just replace it without any problems (like other system apps depending on it). Don't know about anything else.
Edit:
1. unzip and copy Phone.apk to /sdcard
2. remount system rw
3. cat /sdcard/Phone.apk > /system/app/Phone.apk
4. rm /system/app/Phone.odex (only do this if there is a Phone.odex file)
Click to expand...
Click to collapse
There's what the thread says about installing it, have you tried? (Nandroid in case that ROM doesn't like it.)

[MOD] Stock lockscreen

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.

[Req] Black Statusbar for Vanilla Fr15 Rom

Hello, you know give me a black stock statusbar mod for the vanilla rom Fr15?
Just flash a mod with black statusbar (or just the framework-res.apk from Fr15). You must also push services.jar from the Fr15 standard to the framework folder. If not your clock will be black together with the statusbar.
Novek said:
Just flash a mod with black statusbar (or just the framework-res.apk from Fr15). You must also push services.jar from the Fr15 standard to the framework folder. If not your clock will be black together with the statusbar.
Click to expand...
Click to collapse
I could change the rom zip files putting framework-res.apk and services.jar in vanilla from normal and install it by recovery?
Sorry for my bad English, i'm Italian.
You could if you do it right, but I wouldn't recommend it. The easiest is to install the vanilla ROM, then push the two files like this:
to push make sure you've got adb, then:
adb remount
adb push framework-res.apk /system/framework/
adb push services.jar /system/framework/
adb reboot
Novek said:
You could if you do it right, but I wouldn't recommend it. The easiest is to install the vanilla ROM, then push the two files like this:
to push make sure you've got adb, then:
adb remount
adb push framework-res.apk /system/framework/
adb push services.jar /system/framework/
adb reboot
Click to expand...
Click to collapse
I did it by changing the zip and it works Thanks for the help
I'd like to use the LG lockscreen, you know what file should Pushar? And you can do with the method you have described above?

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