Trackball Wake
Push this to /system/framework/android.policy.jar.
Trackball Wake & Unlock
Push this to /system/framework/android.policy.jar.
Trackball Skip (works with stock music player only, screen must be off)
Push this to /system/framework/android.policy.jar.
Make sure the permissions on the file are the same as the original:
Code:
chmod 644 /system/framework/android.policy.jar
After pushing the file, reboot for changes to take affect.
This is not my work, original code pulled from CM5.0.8 and merged in by me.
*Requires rooted and deodexed rom
Hope it works, will give a try. Thanks!
It works! But now when I dial *#*#4636#*#* and select phone information it crashes.
Sent from my Nexus One using Tapatalk
toyanucci said:
It works! But now when I dial *#*#4636#*#* and select phone information it crashes.
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
I just tried that and it doesn't crash for me...
this is good news.
Its work, thanks you
Sent from my Nexus One using XDA App
Will this work on stock Froyo FRF85B? Thanks.
Update: Nope.
This is excellent news.
Curious. Has anyone tried this on Froyo FRF83? And/Or Modaco's r19
good stuff now for trackball skip and ill be in heaven with froyo.
Edit: everytime i try to push says read only....hmm im on MCR20????
Edit2: my pc blocked it for some reason better to be safe than sorry thanks working great.
it works for me too , no crash on r20
crimsondr said:
I just tried that and it doesn't crash for me...
Click to expand...
Click to collapse
Woking on Kang-o-rama 0.9 w/SP2(FRF85), No problem at all..
Thanks..
WORKED!
Confirmed work on Kang-o-rama 0.9 Final. Good job one of the necessities for froyo. Now can anyone get vibrate on answer and hang up like cyanmod on froyo?
Works great for me too on Kang-o-rama 0.9 Final.
I'm sorry to ask this. I don't know how to get this to work.
When I try: adb push android.policy.jar /system/framework/android.policy.jar
I get this error: cannot stat 'android.policy.jar': No such file or directory
When I try: adb push C:/android.policy.jar /system/framework/android.policy.jar
I get this error: failed to copy 'C:/android.policy.jar' to '/system/framework/android.policy.jar': Read-only file system
I have android.policy.jar copied to the AndroidSDK/tools folder as well as C root directory. My device is listed when I type command line "adb devices".
My phone is on, in debugging mode. What am I doing wrong?
crimsondr said:
Push this file to /system/framework and you're all set.
Click to expand...
Click to collapse
Nice. Any chance for unlock too?
edit123456
Edit: I'm retarded. CM6 comes with trackball unlock/wake.
Yey! This is the most awaited feature we waited for more than a month!!
Yes, is it possible to add trackball unlock?
wutang01 said:
I'm sorry to ask this. I don't know how to get this to work.
When I try: adb push android.policy.jar /system/framework/android.policy.jar
I get this error: cannot stat 'android.policy.jar': No such file or directory
When I try: adb push C:/android.policy.jar /system/framework/android.policy.jar
I get this error: failed to copy 'C:/android.policy.jar' to '/system/framework/android.policy.jar': Read-only file system
I have android.policy.jar copied to the AndroidSDK/tools folder as well as C root directory. My device is listed when I type command line "adb devices".
My phone is on, in debugging mode. What am I doing wrong?
Click to expand...
Click to collapse
adb remount then adb push android.policy.jar /system/framework/
Related
I'm trying to push touchwizcalendar but it doesn't work. This is what I get:
C:\sdk\tools>adb push touchwizcalendar.apk /system/app/touchwizcalendar.apk
failed to copy 'touchwizcalendar.apk' to '/system/app/touchwizcalendar.apk': Per
mission denied
Click to expand...
Click to collapse
keep your phone unlocked, run the command and you'll see the Superuser app pop up. Hit allow.
The end.
Eugene has a init script that will have staten as rw always.. Its an update.zip you flash from cwmod recovery.. If you don't have a lag fix it will flash fine, if you do it will over write it so you have to modify...
His newest rom supports both, maybe you could just kang it..
I currently have his mount script on my phone bc im always editing my services.jar and need that ability..
Sent from my SGH-T959 using XDA App
cashless said:
keep your phone unlocked, run the command and you'll see the Superuser app pop up. Hit allow.
The end.
Click to expand...
Click to collapse
It didn't work and I got the same message.
junkdruggler said:
Eugene has a init script that will have staten as rw always.. Its an update.zip you flash from cwmod recovery.. If you don't have a lag fix it will flash fine, if you do it will over write it so you have to modify...
His newest rom supports both, maybe you could just kang it..
I currently have his mount script on my phone bc im always editing my services.jar and need that ability..
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Really appreciate that you are trying to help but I don't have a clue what you said. I'm totally new to this.
We had are First Sleepless Night with the New baby Boy.... Between Trying Figure out what was Wrong & taking turns with the Wife Holding Aries, I tried Pushing File's & forgot adb push didn't work...
Now this Script originally is what I made for the Behold 2, but the Basic still works For the SGV..
Just mod the script if your using the userinit.sh
Using this script you can place the userinit.sh any place you would Like...
I hope ever gets Good use out of this & Please Enjoy!
~Eugene
Download > adbpushGS1.zip
Installing*
Reboot to recovery, run the update.zip to run ClockworkMod Recovery, then installed the ZIP..
Quoted from eugene's post-- hope this helps...
Sent from my SGH-T959 using XDA App
How do I "Reboot to recovery" and I think I already run the "update.zip" when I rooted the phone. Do I have to download ClockworkMod Reovery or something? Like said I'm new to this so I'm sorry if I'm a nuisance.
Edit: Is it the same thing as this?
http://awdisk.com/2010/01/how-to-reboot-your-motorola-milestone-in-recovery-mode/
Now we can start. Plug your device to your computer and enable the debugging mode of your phone (Go to MENU->SETTINGS->APPLICATIONS->DEVELOPMENT->Enable the “USB debugging”).
Then you need the adb tool that is given with the SDK. (You can find it it the “Tools” directory of the SDK).
Open a command prompt, go to the directory of “adb.exe” and type:
adb.exe devices
You should see your device. If there is no device connected, maybe your phone is not in the “debugging mode” see above. If your device appears, you can now type:
adb.exe -d reboot recovery
Then your phone will reboot in recovery mode and you will see this logo:
Click to expand...
Click to collapse
You can go to the market and download rom manager and use it to flash a custom recovery...
Flash cwmod recovery from the app
Reboot into cwmod recovery from the app
First thing to do its go to the nandroid option and do a backup (always recommended before changing anything)
Then dl the link from above.. This is a new .zip make sure its on the internal sdcard (the 16gb one).. When you reboot into recovery (from the app like last time) go to flash any zip from sdcard.. Choose the new .zip file you just downloaded.. Your /system should now be rw upon reboot
Sent from my SGH-T959 using XDA App
do we rename the adbpushGS1.zip file??
i reboot into recovery and chose reinstall packages because that's all there was, besides deleting ?
edit: i ionstalled the push zip but when i reboot i get stuck at the galaxy s logo
junkdruggler said:
We had are First Sleepless Night with the New baby Boy.... Between Trying Figure out what was Wrong & taking turns with the Wife Holding Aries, I tried Pushing File's & forgot adb push didn't work...
Now this Script originally is what I made for the Behold 2, but the Basic still works For the SGV..
Just mod the script if your using the userinit.sh
Using this script you can place the userinit.sh any place you would Like...
I hope ever gets Good use out of this & Please Enjoy!
~Eugene
Download > adbpushGS1.zip
Installing*
Reboot to recovery, run the update.zip to run ClockworkMod Recovery, then installed the ZIP..
Quoted from eugene's post-- hope this helps...
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
So can I just go into userinit script and add this to the top...
Code:
show_progress 0.100000 0
show_progress 0.500000 0
delete SYSTEM:bin/playlogos1
copy_dir PACKAGE:system SYSTEM:
set_perm 0 1000 0755 SYSTEM:bin/playlogos1
set_perm 0 1000 0755 SYSTEM:bin/playlogosnow
show_progress 0.100000 10
Or was it a diff script we pull from and add to it? Also do I have to put anything after I copy this into the script before the normal script in userinit to signify a pause or finishing one task and starting another?
I saw ;fi placed throughthe script alot and im guessing its afinish point or something to start the next set of commands fresh m???
Pooped from my Samsung Vibrant using XDA app...
Dont mind the skidmarks...
p()()pypants said:
So can I just go into userinit script and add this to the top...
Code:
show_progress 0.100000 0
show_progress 0.500000 0
delete SYSTEM:bin/playlogos1
copy_dir PACKAGE:system SYSTEM:
set_perm 0 1000 0755 SYSTEM:bin/playlogos1
set_perm 0 1000 0755 SYSTEM:bin/playlogosnow
show_progress 0.100000 10
Or was it a diff script we pull from and add to it? Also do I have to put anything after I copy this into the script before the normal script in userinit to signify a pause or finishing one task and starting another?
I saw ;fi placed throughthe script alot and im guessing its afinish point or something to start the next set of commands fresh m???
Pooped from my Samsung Vibrant using XDA app...
Dont mind the skidmarks...
Click to expand...
Click to collapse
I would hate to tell you something wrong... If you use twitter I would ask eugene... or you can send him a pm or here is a link to the OP, you could ask in there
http://forum.xda-developers.com/showthread.php?t=741664
sorry I wasnt more help
Ok so I added that except to the userinit script, lag fix still works, adb doesnt seem to...
Just ran .zip file through clockwork to overwrite other file then just fix later after adb use was done, still no positive results...
Keeps saying
Cannot stat 'touchwizcalendar.apk' : no such file our directory
And if I open a shell and type the same command i get push: not found
Maybe I am just approaching this all wrong and not getting adb set up right first or something...
Can some one just step me through this crap, I can almost always figure this kind of thing out and this is pissing me off that I can't do a simple command to reinstall a damn calendar apk I want and that's the whole frickin point of having root...
Starting fresh again...
Running a fresh flash of vibrant6, have an up to date busy box, no lag fix activated at this time (but files are there from vibe6 and had it installed in the past before nand restoring.stock w/root and flashing fresh vibe 6), no adb push script installed yet but.zip is in root of sd if needed, running version 1.0.26 of adb on my computer and have apk files pulled from deodexed rom that are desired to be pushed sitting in root of sdcard (files named; "TouchWizCalendar.apk", "TouchWizCalendarProvider.apk", "TouchWizCalculator.apk", "ClockPackage.apk".)
Again guys any help would be appreciated as this is driving me nuts and should be slot easier with how some of you make it sound...
Sent from my SGH-T959 using XDA App
Do you use droid explorer? It makes adb much easier...
Sent from my SGH-T959 using XDA App
Finally got the Calendar to show up. Thanks a lot Junkdruggler and other members!
what I got lost... What you trying to do now? What do you want in you system file?
Sent from my SGH-T959 using XDA App
junkdruggler said:
what I got lost... What you trying to do now? What do you want in you system file?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I deleted stock samsung calendar (touchwizcalendar) via titaniumbackup and I pushed it back.
oh so your good now? everything working fine?
if so glad I could help...
junkdruggler said:
oh so your good now? everything working fine?
if so glad I could help...
Click to expand...
Click to collapse
Yes, everything is working fine now. Thank you
Can I delete the .apk, .odex, and update.zip from the internal sdcard?
yes you can...they're not needed anymore..
junkdruggler said:
Do you use droid explorer? It makes adb much easier...
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
can i push a boot animation zip using root explorer??
and may i ask how does droid explorer make adb easier?
What kind of boot animation.zip? You prob have to flash that thru recovery...
Droid explorer makes install a one click thing... It adds the sdk to your paths and pushing apps just takes a double click.. Prob more things I don't use also..
Sent from my SGH-T959 using XDA App
Here comes the latest rooting method that works with 2.0.2.A.0.24 firmware.
Credits to Scotty2 for his psneuter exploit!
1. Download and unpack rootme.tar.bz2
2. Execute ./rootme (linux) or rootme.bat (windows)
3. Done.
---
You may also want to try SuperOneClickv1.5.5-ShortFuse.zip (modified by batman_112 to use the latest exploit).
Cheers,
z
Stop for me at Point 4)
I got back
./ratc: Permission denied
Click to expand...
Click to collapse
after
./ratc
i get ... permission denided
Wow, actually it seems that copying files with adb push via script messes thing up I corrected the instructions, so now it will work for you, but need to copy the files manually.
zdzihu said:
Wow, actually it seems that copying files with adb push via script messes thing up I corrected the instructions, so now it will work for you, but need to copy the files manually.
Click to expand...
Click to collapse
Your link is broken
Try now, I got rid of installation scripts
EDIT: Now it works flawlessly. I still have no clue why copying files with .bat file messes everything up, but manual copying does the job.
why the superone reach the root sometimes so slow?
your method uses the same exploit, and works at first try
check the files plz: Invalid or Deleted File
can't download the ratc-pack --> Invalid or Deleted File
please reup - THX
EDIT: Link is OK now --> THX
Link is OK. Downloading at the moment.
Tried it manually (as described)...
But same problem... :-(
UserX10 said:
Tried it manually (as described)...
But same problem... :-(
Click to expand...
Click to collapse
I just reflashed my phone and it worked for me at 1st attempt.
Could you please got rid of the old files and retry from the beggining?
Cheers!
meta96 said:
after
./ratc
i get ... permission denided
Click to expand...
Click to collapse
Same thing for me
:-( Same Problem
I flashed my X10 with nordic FW and tried it again Step by Step... but "permission denied"... even if i remove and make the tmp directory as described...
Ok, last thing to try... After you copy the files, go with:
Code:
adb shell
chmod 777 /data/local/tmp/*
I added some screenshots to show how the process works for me.
is this a full root? i mean, is root+shell root?
zdzihu said:
Hi guys, I've noticed some people still can't get their phones rooted with SuperOneClick method. So do I, never managed to get it working Here is a simple method of rooting, using the same exploit (rageagainstthecage - credits to author). This is quick and 100% guaranteed to work but I'd rather recommend it to advanced users.
1. Install Android Terminal Emulator from the market http://bit.ly/9B46Nl
2. Download and unpack http://www.mediafire.com/?s0428zxc7n50i28
3. Plug in the phone (usb debugging mode), copy the following files with adb and change permissions:
Code:
adb push ratc /data/local/tmp/ratc
adb push busybox /data/local/tmp/busybox
adb push su /data/local/tmp/su
adb push rootme /data/local/tmp/rootme
adb push superuser.apk /data/local/tmp/superuser.apk
adb shell
chmod /data/local/tmp/*
4. Start Terminal Emulator on your phone and issue those commands:
Code:
cd /data/local/tmp
./ratc
5. Exit out of Terminal Emulator using BACK button.
6. Start any other application and exit out of it using BACK button.
7. Start Terminal Emulator again - note that you're running it as root (#)
8. Issue those commands:
Code:
cd /data/local/tmp
./rootme
Your phone will reboot - and it's done. I suggest installing Busybox from the Market. Hope it helps.
Cheers!
EDIT: Fixed.
Click to expand...
Click to collapse
Finally I was able to root my phone
just one correction, you got to use chmod 777 /data/local/tmp/*
it was not allowing to root otherwise
i kept breaking my head using the "simple" SuperOneCLick but could not show my rage against the machine
thank you for explaining this process for Root.
zdzihu said:
Ok, last thing to try... After you copy the files, go with:
Code:
adb shell
cd /data/local/tmp
chmod 777 *
I added some screenshots to show how the process works for me.
Click to expand...
Click to collapse
chmod 777 *
did it. thanx. btw like your oldstyle-skills
Just saw this thread and wanted to root my phone also...I downloaded the files provided in the first post and extracted onto my PC. When I tried running the adb application, I only get a command window only for a split second and then it disappears. Am I doing something wrong?
Everything works fine until the final step where I write ./rootme in the emulator.
Before the phone reboots, it says something right after, something about superuser.apk.
Once the phone is back on the emulator goes back to $. As well as not being able to download Busybox.
Appreciate your efforts
EDIT: No worries, I managed to get root using SuperOneClick (finally!). It was rather sketchy, would've preferred your way tbh.
Hi,
I'm attempting to replace Email.apk on my miui rom. This is the method I am using:
Code:
adb push Email.apk /sdcard/
adb shell
su
rm /system/app/Email.apk
rm /system/app/Email.odex
mount -o rw,remount /dev/block/mmcblk0p9 /system
cp /sdcard/Email.apk /system/app
reboot
When the phone has rebooted, my changes do not take affect. To check, I pulled the /system/app/Email.apk back, and found it to be the original version.
Can anyone tell me what I'm doing wrong here?
Thanks,
Have figured this out...
adb appears to send some kind of cached version over. Renaming the file before transferring forced adb to use the correct file, and all is well.
jimhaddon said:
Have figured this out...
adb appears to send some kind of cached version over. Renaming the file before transferring forced adb to use the correct file, and all is well.
Click to expand...
Click to collapse
How? I like to know too, guide step by step....thanks
You mean renaming the original file first to any name then copy the moded file with the original name ?
If that what u mean , so I better to delete the original one first then but enstead my moded file . Is that right ?
Sent from my GT-I9100 using XDA App
Just use something like root explorer, no need for adb...
Joey2o11 said:
Just use something like root explorer, no need for adb...
Click to expand...
Click to collapse
I tried to use root explorer to change phone.apk, it didnt work.. i changed the file but it kept on crashing all the time ...
Sent from my GT-I9100 using XDA App
hielo_te said:
I tried to use root explorer to change phone.apk, it didnt work.. i changed the file but it kept on crashing all the time ...
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
You'll get lots of FCs until you reboot the phone then it should be fine.
Hi, i have problem deodexing miro sdsl v1.1. I use xUltimate-v2 3.3 app but every time pull proces stop and never finish to end. I try to putt phone to airplane mode, mount system from recovery... Anybody know what i doing wrong?
bataya said:
Hi, i have problem deodexing miro sdsl v1.1. I use xUltimate-v2 3.3 app but every time pull proces stop and never finish to end. I try to putt phone to airplane mode, mount system from recovery... Anybody know what i doing wrong?
Click to expand...
Click to collapse
You can try to not pull apps from phone but unpack files from flashable zip (/app and /framework folders).
tnx, i forgat that i can do that. Rom deodexed...
bataya said:
tnx, i forgat that i can do that. Rom deodexed...
Click to expand...
Click to collapse
That's why I love Android so much. You can do lots of things in so many ways.
Glad I could help.
Anybody try this mod http://forum.xda-developers.com/showthread.php?t=1174202 ?
I always stay without status bar after repacing SystemUI.apk.
bataya said:
Anybody try this mod http://forum.xda-developers.com/showthread.php?t=1174202 ?
I always stay without status bar after repacing SystemUI.apk.
Click to expand...
Click to collapse
I tried that with Zdune's patcher and it worked.
http://forum.xda-developers.com/showthread.php?t=1202866
hm... i dont see option in zune patcher to move notification widget down?
bataya said:
hm... i dont see option in zune patcher to move notification widget down?
Click to expand...
Click to collapse
Its miui isnt it?
Sent from my LG GT540 using xda premium
Noup, CM7 with notification widget moved down. I manage to deodex rom, decompile apk, edit xtml, compile apk, but i doing something wrong... dont know what.
bataya said:
hm... i dont see option in zune patcher to move notification widget down?
Click to expand...
Click to collapse
Sorry, I thought you were talking about center clock. Well try again, it is a tricky job, and is easy to make mistake in the process. In CM settings there is option bottom statusbar so the notification icons are down . I will also try to apply the tweak, if it works will share.
Well, seeing a thread with this name I thought to just join in rather than openning a new one well, I downloaded xUltimate, pulled and deodexed the apks and....now what ? I assume I have to switch the original system files with these new ones, but how ? Sorry for the nooby question
create 2 folder on sdcard, in first copy deodexed file from /system/app, in second from /system/framework then boot in recovery, mount system and sdcard run adb and replace file in /system/app and /system/framework. After that use adb to remove .odex files form /syste/app and /system/framework.
Code:
adb shell
su
cp /sdcard/(noame of the folder)/*.* /system/app/
cp /sdcard/name of the folder)/*.* /system/framework
rm /system/app/*.odex
rm /system/framework/*.odex
reboot
If i miss some command make somebody corect me.
bataya said:
create 2 folder on sdcard, in first copy deodexed file from /system/app, in second from /system/framework then boot in recovery, mount system and sdcard run adb and replace file in /system/app and /system/framework. After that use adb to remove .odex files form /syste/app and /system/framework.
Code:
adb shell
su
cp /sdcard/(noame of the folder)/*.* /system/app/
cp /sdcard/name of the folder)/*.* /system/framework
rm /system/app/*.odex
rm /system/framework/*.odex
reboot
If i miss some command make somebody corect me.
Click to expand...
Click to collapse
Thank you everything works, and my rom is finally fast AND themed Oh, and for anyone reading this: because I have a 150MB system partition I had errors while first trying the cp lines, so I had to first remove the odex files (rm lines) and then use the cp ones to transfer the deodexed files
np ;-)
Sent by tT!
hi guys
im a newbie at deodexing and i have no idea what to do
could some give me step by step instructions and a link to the xultimate.zip
i would really be grateful
thx in advance
mohnim said:
hi guys
im a newbie at deodexing and i have no idea what to do
could some give me step by step instructions and a link to the xultimate.zip
i would really be grateful
thx in advance
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=765270
google is helping always
When I type adb shell it says device not found, do I need to go to fastboot or should I enable USB debugging
Sent from my GT540 using XDA
mohnim said:
When I type adb shell it says device not found, do I need to go to fastboot or should I enable USB debugging
Sent from my GT540 using XDA
Click to expand...
Click to collapse
either USB debugging or recovery mode
i got another method dsixda's kitchen gimme the rom and il do it in no time
hi guys
i have now deodexed the rom i think
i want to apply ics statusbar layout by zdunex25 but his video tutorial and xda tutorial is confusing, so can anyone who has applied the ics statusbar help me out.
thx in advance
So I flashed the wrong .zip and now SystemUI.apk is force-closing. Rather than reflash the ROM I'm just going to replace SystemUI.apk using adb (I happen to have the ROM unzipped on my laptop), but want to make sure I have the procedure right.
Reboot to recovery
Then
adb shell
su
rm system/app/SystemUI.apk
exit
And then to push the SystemUI.apk
just
adb push SystemUI.apk system/app/SystemUI.apk
reboot
Do I need to mount system as writable before all of this?
Yes I believe you do
You could put the system.apk into a flashable zip by itself and flash that tho
Less room for error
Sent from my ADR6425LVW using Tapatalk 2
superchilpil said:
Yes I believe you do
You could put the system.apk into a flashable zip by itself and flash that tho
Less room for error
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
Thanks.
Now I'm wondering if the permissions will be all mucked up if I just push the file. Is there a way to set permissions in adb?
never mind, got it, chmod 644 system/app/SystemUI.apk
Worked too!
tekhna said:
Thanks.
Now I'm wondering if the permissions will be all mucked up if I just push the file. Is there a way to set permissions in adb?
Click to expand...
Click to collapse
There is, I can't remember the command off the top of my head
Sent from my ADR6425LVW using Tapatalk 2
Adb remount will mount as rrw and you don't have to set permissions the folder already has it. You can also just use a root file explorer app to place it in their
Sent from my ADR6425LVW using XDA
tekhna said:
So I flashed the wrong .zip and now SystemUI.apk is force-closing. Rather than reflash the ROM I'm just going to replace SystemUI.apk using adb (I happen to have the ROM unzipped on my laptop), but want to make sure I have the procedure right.
Reboot to recovery
Then
adb shell
su
rm system/app/SystemUI.apk
exit
And then to push the SystemUI.apk
just
adb push SystemUI.apk system/app/SystemUI.apk
reboot
Do I need to mount system as writable before all of this?
Click to expand...
Click to collapse
hi, i have the same problem. i flashed the wrong zip from here http://forum.xda-developers.com/showthread.php?t=2526039&page=2 and now when i put the usb cable into the pc to backup from nexus root toolkit, it says that driver are not installed, and when i make the test for the drivers systemui crash. so i cant go back to stock rom or restore backup. any ideas? please help me