[Q] After reboot phone stop at logo frame - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

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.

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.

question about removing apps from ROMS: easy way?

hi, i just had an idea and idk if this has been posted before, so if it has been posted, im sorry.
instead of using terminal emulator, is it possible for me to go into the .zip of the ROM and delete the apps i do not want in the /system/app folder? i want to know if it will "screw up" the ROM and make it unflashable in my hero's recovery. it takes me too long to remove all the apps i want in terminal emulator and think it would be faster doing it the way i described.
**if this question sounds extremely stupid, then im sorry, im still somewhat of a noob at all this rooting stuff**
The zip's have to be signed in order to be flashed. You cannot just open them, modify them, rezip and install. Find out how to sign the OS zip and you can modify all you want.
thanks for answering, thats all i wanted to know
make a bat
open note pad and paste this:
Code:
adb remount
adb shell rm system/app/*Stock*
adb shell rm system/app/IM.apk
adb shell rm system/app/*Facebook*
adb shell rm system/app/Flickr.apk
adb shell rm system/app/Sprint_Navigation.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/HTCNew.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
adb shell rm system/app/com.htc.FriendStreamWidget.apk
adb shell rm system/app/com.damaged.DConfig.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/FriendStream.apk
the add or remove lines accordingly, substitute one apk for another if you want then save as a .bat file (mine is named removeapks.bat) place in the tools folder if you wish, flash a rom once booted run the .bat file and poof theyre gone
alexnaoumi said:
thanks for answering, thats all i wanted to know
Click to expand...
Click to collapse
There's a tool written in Java that makes signing zip's really easy. It's included in a suite of apps called AndroidMod.zip
Once you have it, the syntax to sign the new zip is simple. Just:
java -jar signapk.jar testkey.x509.pem testkey.pk8 Inputfile.zip outputfile.zip
Or you can get "root manager" from market which does a lot including removal of unwanted system apps.
Sent from my HERO200 using XDA App
I think Fresh Pre kitchen does it also.
Titanium backup is what I use. Haven't had any trouble using it.
Moved to Q&A.
alexnaoumi said:
hi, i just had an idea and idk if this has been posted before, so if it has been posted, im sorry.
instead of using terminal emulator, is it possible for me to go into the .zip of the ROM and delete the apps i do not want in the /system/app folder? i want to know if it will "screw up" the ROM and make it unflashable in my hero's recovery. it takes me too long to remove all the apps i want in terminal emulator and think it would be faster doing it the way i described.
**if this question sounds extremely stupid, then im sorry, im still somewhat of a noob at all this rooting stuff**
Click to expand...
Click to collapse
I like Root Manager also because there is a "multi-select" option so you can select all of the files you'd like to delete. For the "/system/app" folder you can mount as "read/write", then delete the files. I then reboot into recovery, wipe the cache and Dalvick cache, and reboot. I've had no issues doing this. It's not so much how you delete, rather than what you delete. The forums here at XDA (as well as others that you can Google) that tell you what apps are safe to delete and which should remain untouched. As long as you don't delete an apk that is critical to ROM, you should be okay.
bombaatomica said:
The zip's have to be signed in order to be flashed. You cannot just open them, modify them, rezip and install. Find out how to sign the OS zip and you can modify all you want.
Click to expand...
Click to collapse
Since this is my first post, and I cannot post links, do a search on "modaco zipsigner". This is the utility I found for re-signing zip files, and it has worked flawlessly for me.

[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.

Need help making flash zip

can anyone guide me on making a flash zip..? i managed to edit my lockscreen by editing the framework,put it back into the ROM and flash the ROM. but i reallt think it would be a lot easier if i can just make a flash zip so i can change my lockscreen without flashing the whole ROM.
I think it's hard to make a flash zip with noobs (like me ) because of making a update-script file. But there is a easier way to change your framework, just use Root Explorer to see permission of framework-res.apk (644 for this), then boot to recovery, mount /system and /sdcard, and use adb shell to
backup framework:
Code:
mv /system/framework/framework-res.apk /system/framework/framework-res.apk.bak
then copy framework from your sdcard:
Code:
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
Finally, set permission:
Code:
chmod 644 /system/framework/framework-res.apk
I always do that to change a system apk
Does anyone know what modules i need to delete if i want to flash kernel?
Sent from my X8 using xda premium

[Help]

i have problem here
i goto the system/app and i replace the file SystemUI.apk with other file and i restart phone and not load with startup
and i back original file SystemUI.apk and not get load i need help please to make it load again
You probably used the wrong systemUI for your ROM. Just reflash your ROM.
U can try ADB push to put the SystemUI.apk and set permissions..
Code:
adb push SystemUI.apk /system/app
adb shell
chmod 755 /system/app/SystemUI.apk

Categories

Resources