[Help] ADB Push Permission Denied - Vibrant Themes and Apps

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

Related

Clockworkmod for Cellular South Galaxy S Showcase

The Showcase is the Cellular South version of Fascinate and is very similar in structure to the Mesmerize. While it has been determined that the Mesmerize files work for the Showcase kernel and Clockworkmod, I was able to get jt1134 to compile the same files from a dump of my showcase. Attached is the kernel for clockworkmod as well as instructions for getting it installed. redbend_ua and zimage are located in the kernel_update folder of zip file.
You will also need to be rooted and have the sdk installed to use adb.
You will need to install redbend_ua first extract the zip file then;
Code:
adb push path/to/redbend_ua /sdcard/redbend_ua
then you need to make it executable
Code:
adb shell
su
chmod 777 /sdcard/redbend_ua
Now you need to move it to the /system/xbin
Code:
adb shell
su
mv /sdcard/redbend_ua /system/xbin/redbend_ua
Take the zImage file and push it to the sd card.
Code:
adb push path/to/zImage /sdcard/zImage
Finally we need to flash the zImage
Code:
redbend_ua restore /sdcard/zImage /dev/block/bml8
Now you can download clockworkmod from market and install the fascinate version of recovery. When you get done you can then flash the attached zip and it will replace your stock phone kernel with the modded one giving access to bln and some other stuff.
Big thanks to jt1134 for taking the time to answer my questions and compile the kernel zip for my phone. Also props to thescorpion420 who I borrowed the installations steps from, since he already had it so well layed out in the mesmerize post. http://forum.xda-developers.com/showthread.php?t=850898
Thanks for the writeup! And thanks for the help, got this going on my Showcase a couple of days ago... very nice to have the ability to make backups!
Hey, sorry, I'm having some odd trouble with this and I was wondering if someone could help. When I attempt to push the file, I'm getting a "permission denied" error. Any idea how to fix this?
I had similar troubles when I did it... I used Root Explorer to move the files into the proper locations, and Terminal Emulator to run the commands.
Hey. Is the zImage the zip file attached to the first post? Sorry, I'm learning. Managed to get to the last couple of steps!
ShadowDude said:
Hey. Is the zImage the zip file attached to the first post? Sorry, I'm learning. Managed to get to the last couple of steps!
Click to expand...
Click to collapse
the zImage file is in the kernel_update folder of the zip file... so open the zip file and extract it from there.
anyone else from cell south lose vibrate?
Sent from my SCH-I500 using Tapatalk
Pensacola06 said:
anyone else from cell south lose vibrate?
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
You lost vibrate after making some modification?
after flashing the above kernel
Sent from my SCH-I500 using Tapatalk
Pensacola06 said:
after flashing the above kernel
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
No problem with vibrate for me after flashing the kernel... did you make a backup?
Vibrate is working fine on mine.
Sent from my SCH-I500 using XDA App
restored from backup, vibrate still broke, even tried factory reset. do you think warranty will cover?
Sent from my SCH-I500 using Tapatalk
I am an idiot. I was reading "bml8" as "bm18." *facepalm* Thanks for the help!
Pensacola06 said:
restored from backup, vibrate still broke, even tried factory reset. do you think warranty will cover?
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
I'm sure it will... that sounds like a hardware issue at this point
Has anyone tried flashing super clean rom for the mesmerize?I figure since the showcase and the mezmerize have a lot of similarities it might be possible but i dont want to brick it.
Flip260z said:
Now you need to move it to the /system/xbin
Code:
adb shell
su
mv /sdcard/redbend_ua /system/xbin/redbend_ua
Click to expand...
Click to collapse
I'm still getting the error:
failed on '/sdcard/redbend_ua' -Cross-device link
downloading Astro Free* right now to see if I can move it with that... Doesn't look like the FREE version will let me move or copy the file. I'm wondering if it will work if I buy Root Explorer
Well Root Explorer solved my issue. For some reason xbin had RO rights.. I flashed the Recovery now I'm installing ROM Manager to do a back up..
Finally finished my first back up..
Worked with no issues. Thank you for getting us one step further in Showcase development
Sent from my SCH-I500 using XDA App
add144 said:
Worked with no issues. Thank you for getting us one step further in Showcase development
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
there's now a vudoo kernel jt posted for the fascinate, mersmerize, showcase and it's smoking fast..
Can someone tell me how to do this from the terminal on my phone? my phone isnt showing under devices.
paullytinkle said:
Can someone tell me how to do this from the terminal on my phone? my phone isnt showing under devices.
Click to expand...
Click to collapse
Essentially, you would download Terminal Emulator from the Android Market and run the commands in the terminal. Note that the files should be copied to your /sdcard/ first!
A little more info, since you're running it from the phone (and not adb shell) your first command will be: su. PM me if you need more help!

[How To] New Swype betas are installable on the Atrix - Root Required

Theres a new version of the Swype beta that is IMMENSELY better than the preloaded swype that comes with the atrix, it literally fixes all the annoying things of the older Swype versions:
http://beta.swype.com/
Swype 3.x beta works with the method below!
Process:
1) Use Root Explorer/Terminal/ADB to backup and then delete Swype.apk from /system/app and libSwypecore.so from /System/lib
2) Download the installer from https://beta.swype.com/android/get/ (on your phone)
3) Use installer to login and install latest version of swype
After your first phone reboot, if you are experiencing Swype Force closes after installing the latest swype, uninstall swype from your phone and then reinstall it; it should no longer force close after reboot.
If you are still experiencing force crashing after reinstall, try wiping your dalvik cache within CWM. Thanks Dudeman Broguy.
If you want to get in the latest beta, sign up over here. Registrations are open right now, hurry before they close them again!
Thanks to playin4sheezy for figuring this out: post #12
yes, i have been using it all day and it looks and feels great! if you have sideloading enabled, when you start the install it will ask to over write the current one.
graemegb said:
yes, i have been using it all day and it looks and feels great! if you have sideloading enabled, when you start the install it will ask to over write the current one.
Click to expand...
Click to collapse
Im trying to use the installer and it tells me to disable swype, and you cant disable the built in one. Can you pm me the apk?
Yea, I get to the point where it says "Licensing Swype, please wait...." and it doesn't get past that.
You need to go into /system/app and move Swype.apk to a backup folder on /mnt/sdcard
Then go into /system/lib and do the same for libSwypeCore.so
Give it a reboot and then try to install the beta. It worked for me
How did you move the apk, it wont allow me to do so
playin4sheezy said:
You need to go into /system/app and move Swype.apk to a backup folder on /mnt/sdcard
Then go into /system/lib and do the same for libSwypeCore.so
Give it a reboot and then try to install the beta. It worked for me
Click to expand...
Click to collapse
woo nice! thanks that worked for me! no more stupid tip window!
Krshaw18 said:
How did you move the apk, it wont allow me to do so
Click to expand...
Click to collapse
you have to use root explorer (and be rooted) or you could use terminal/adb (still have to be rooted)
Sorry for the noob questions! Move it completely? or make a back up of it? and also any apps out there like root explorer but free ?
I tried the above steps but the libswypecore is still in the system folder when i move it as it is read only...
Krshaw18 said:
Sorry for the noob questions! Move it completely? or make a back up of it? and also any apps out there like root explorer but free ?
Click to expand...
Click to collapse
If youre rooted, root explorer is worth the money. You have to move Swype.apk completely, and make sure its not there after moving or the install wont work.
Make sure if you are in Root Explorer that you click the R/W button at the top to make the system folder Read/Write access. Then long press the files and click move and goto sdcard and make a folder named "whatever you want" then click paste..
Or you could do this using adb with Atrix plugged into the computer:
goto command prompt
type the following:
adb shell
su
mkdir /mnt/sdcard/swype_backup
mount -o rw,remount /dev/block/mmcblk0p12 /system
cp /system/app/Swype.apk /mnt/sdcard/swype_backup
cp /system/lib/libSwypeCore.so /mnt/sdcard/swype_backup
rm /system/app/Swype.apk
rm /system/lib/libSwypeCore.so
Hopefully this gets you going
playin4sheezy said:
Make sure if you are in Root Explorer that you click the R/W button at the top to make the system folder Read/Write access. Then long press the files and click move and goto sdcard and make a folder named "whatever you want" then click paste..
Or you could do this using adb with Atrix plugged into the computer:
goto command prompt
type the following:
adb shell
su
mkdir /mnt/sdcard/swype_backup
mount -o rw,remount /dev/block/mmcblk0p12 /system
cp /system/app/Swype.apk /mnt/sdcard/swype_backup
cp /system/lib/libSwypeCore.so /mnt/sdcard/swype_backup
rm /system/app/Swype.apk
rm /system/lib/libSwypeCore.so
Hopefully this gets you going
Click to expand...
Click to collapse
Thanks a bunch!
Wont let me delete
Sent from my Atrix 4G using XDA App
joshuajoshua said:
Wont let me delete
Sent from my Atrix 4G using XDA App
Click to expand...
Click to collapse
Is your phone rooted? If so, then when you typed su in adb shell(not terminal) did it ask you for superuser permission? If so, then you should make sure and accept it.
If your phone is not rooted, then I don't think your gonna get this working
Sent from my MB860 using XDA App
I didnt need to move/delete libSwypeCore.so and the install worked fine.
andy2na said:
I didnt need to move/delete libSwypeCore.so and the install worked fine.
Click to expand...
Click to collapse
Ok. Be aware that I've had previous issues with swype after few days of use because I didn't remove that file
Sent from my MB860 using XDA App
I would suggest someone testing that you can in fact put it back to the stock setup. Mine somehow got deleted when i first got the phone, and it doesn't come back, factory reset or otherwise.
cegna09 said:
I would suggest someone testing that you can in fact put it back to the stock setup. Mine somehow got deleted when i first got the phone, and it doesn't come back, factory reset or otherwise.
Click to expand...
Click to collapse
i have been messing with swype for the last few days
i can guarentte you that if u installed / mounted a messed up version of swype (WVGA with a language pack in my case), you can just use put the backup stock swype back on /system/app and it'll be fine again
i get an error on sign-in into the installer, says device id dont match. any ideas?
EDIT: I had to log into mySwype and remove my old phone (nexus one) and then now it works!

CRT Animation [WORKING]

For those of you who don't know exactly what the CRT animation is, it is the animation that Gingerbread uses when you press the power button and the screen gives a neat power off effect.
Well I wanted this. A lot. So I went out and did it. Just enabled it, and it looks gorgeous on my phone.
Please note, that you must be rooted in order to use this, and on Gingerbread.
It is a straightforward process.
PLEASE NOTE THIS REQUIRES ADB AND JAVA TO BE INSTALLED
A good idea to nandroid before this, as if something goes wrong it can screw up a lot of things.
Installation 1:
Download DX2-CRT-Animation.zip
Copy to sdcard
Flash in CWR
BIG THANKS TO p3droid FOR PACKAGING AS A ZIP
Installation 2 (the complicated, make you feel cooler, hardcore, original way):
This is modifying your framework-res so some themes may not work any longer.
Instructions:
[]Have phone plugged into computer, and in Charge Mode.
[]Download DX2-CRT-Animation.apk
[]Open Command Prompt (or Terminal) window in DX2-CRT-Animation.apk's location. (This can be accomplished by shift clicking on the folder where this resides, and clicking open command prompt here).
[]Push files onto the phone
Code:
adb push DX2-CRT-Animation.apk /data/local/tmp/framework-res.apk
[]Get shell access
Code:
adb shell
su
---When you enter this, make sure your phone is awake, as a Super User access allow/deny will pop up. Allow it.
In command prompt, you should now have a #.
[]Remove and copy files to proper location, reboot
Code:
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/framework-res.apk
cp /data/local/tmp/framework-res.apk /system/framework/
rm /data/local/tmp/framework-res.apk
reboot
Whats next:
-Reverse CRT animation (hopefully!!!)
Any input is appreciated.
I am new to this. Give me your input, and help me get better.
Works great! Thanks!
I think everything is working as it should with crt animation working.
Directions worked well, I just had to change how I got into adb.
Great job.
This is awesome, however I'm a little confused. I'm no beginner by any means, but this looks to be outside the realm of what I've done.
When I go into the terminal, am I doing this from my computer? Or my phone (via Terminal Emulator)?
Here is what I'm thinking, and please tell me if I'm wrong:
Download apk
Enter terminal emulator
Type in all of your commands
Voila?
Sorry for all the newbness on this, but I'm dying for some CRT.
Thanks man!
Nevermind, I'm a fail.
I'm downloading the Android and Java SDK now.
I downloaded the necessary files. I can't get the first part to work.
"Open Command Prompt (or Terminal) window in DX2-CRT Animation.apk's location.
Can you explain this step more? I tried right-clicking...
People set up there adb differently. Important thing is to copy file to the directory of where your adb tools are. In my case its
/sdk/platform-tools
Hope this helps
Sent from my DROID X2 using XDA Premium App
Couldn't get it to work. Even had the IT guy from my work try to get it going. We couldn't get the terminal to find swt.jar
Is it possible for me to do this through root explorer, all through my phone? Change permissions and push it into the correct folder?
That would be awesome.
I am out of town but when I get back I will try to package a zip to flash.
Are you on linux?
If I can elaborate for you here:
When you download the apk, copy it to your documents folder. The use the cd command to change the directory to your documents folder. This is assuming you have your path files set up correctly. Hope this helps!
Sent from my DROID X2 using XDA Premium App
religi0n said:
I am out of town but when I get back I will try to package a zip to flash.
Are you on linux?
If I can elaborate for you here:
When you download the apk, copy it to your documents folder. The use the cd command to change the directory to your documents folder. This is assuming you have your path files set up correctly. Hope this helps!
Sent from my DROID X2 using XDA Premium App
Click to expand...
Click to collapse
Haha, it doesn't help. I'm clueless man. A zip file, or instructions on how to do it SOLELY from my phone (using root explorer) would be all I know.
Dying for this
I think you just need adb.
Nice work man! I'm on my way home to hook this up. This is a good excuse for me to get the Android SDK set up on my home machine.
Sent from my DROID X2 using XDA Premium App
can someone make this a file that I can flash in recovery?
I love this animation, but I have a mac and can't get this to work.
thanks
hodges1301 said:
can someone make this a file that I can flash in recovery?
I love this animation, but I have a mac and can't get this to work.
thanks
Click to expand...
Click to collapse
I've spent all day trying to get it to work. No dice.
Would love a zip as well...
Well, I tried both download links in the original post and each time it would successfully boot up but no CRT animation. I finally got it figured out as I have the X2 spare parts installed and had to turn off fancy input animations and now it works. Thanks for posting this.
EDIT: I take that back. I had to put the speed of transition animations to normal and can have fancy input animations enabled. For some reason this won't work when "fast" is checked.
Handing out cleveland steamers for a flashable zip file...
mistawolfe said:
Handing out cleveland steamers for a flashable zip file...
Click to expand...
Click to collapse
Do you have a pc?
I just put his file is /android-sdk-windows/tools
And followed his commands.
Just got this working. Thanks again to OP. I love this animation. Reverse would be cool. Or like a really old school crt that that has to warm up and slowly fades in. Haha.
Sent from my DROID X2 using XDA Premium App
rancifer said:
Do you have a pc?
I just put his file is /android-sdk-windows/tools
And followed his commands.
Just got this working. Thanks again to OP. I love this animation. Reverse would be cool. Or like a really old school crt that that has to warm up and slowly fades in. Haha.
Sent from my DROID X2 using XDA Premium App
Click to expand...
Click to collapse
Do you have to have the Android SDK kit? With the Java JDK? I could not get that to work at all...
Works great!
@mistawolfe I can help you out if you want man
Sent from my DROID X2 using XDA Premium App
mistawolfe said:
Do you have to have the Android SDK kit? With the Java JDK? I could not get that to work at all...
Click to expand...
Click to collapse
Nope. I just have the android sdk installed. The adb is not included in the dl from google so you have to dl and extract that into the android-sdk-windows/tools
http://www.megaupload.com/?d=RTEY0Q97
Then do the steps from beginning and test to confirm your device is recognized
Then proceed and follow the steps.
Sent from my DROID X2 using XDA Premium App
rancifer said:
Nope. I just have the android sdk installed. The adb is not included in the dl from google so you have to dl and extract that into the android-sdk-windows/tools
http://www.megaupload.com/?d=RTEY0Q97
Then do the steps from beginning and test to confirm your device is recognized
Then proceed and follow the steps.
Sent from my DROID X2 using XDA Premium App
Click to expand...
Click to collapse
Why link to mega upload when all you need to do is launch the sdk manager and add the platform tools package? I'd rather get my software from the distro than some megaupload. No offense.
Sent from my DROID X2 using XDA Premium App

[Q] Trying to replace a system apk

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.

[recovery][ALPHA]CWR-5.0.2.7-cvpcs+DK_RECOV.zip

Notice this could hose,break,trash or brick your phone. You are warned.
Update
Thanks to both CVPCS and Dragonzkiller and the DX2-Dev-Team. And of course thanks to koush. And Tenfar too did he did find the /preinstall hack? Did Dragonzkiller fixed the graphics or what? IDNK, it is fixed(/sbin/recovery in DK, cvpcs is broken). Hence the hybrid zip.
The UL zip works some what from /preinstall see my thread. http://forum.xda-developers.com/showpost.php?p=20634404&postcount=1 It may do the same if flashed via Tenfars,our bootstrap, just flash it as you would any zip and it will take over.
It backs up and will restore, from adv restore, /cache and(if set in recovery.fstab) sd-ext. A full restore bombs:
Checking MD5 sums...
cache.ext3.tar: OK
data.ext3.tar: OK
system.ext3.tar: OK
couldn't find default
Found new backup image: /sdcard/clockworkmod/backup/2012-01-02.05.08.01//system.ext3.tar
Restoring system...
E:format_volume failed to unmount "/system"
Error while formatting /system!
Other features may work. I find that zipping from win7 winrar fails but Root Explorer zipping results work.
/sbin/recovery is distorted (main screen):
https://github.com/cvpcs/DroidX2Bootstrap/tree/master/assets
Distortion fixed;
https://github.com/DX2-Dev-Team/DX2-CWMR/tree/master/assets
Edit What is the "/preinstall cwr hack"?
TO PUT IN PLAIN TERMS : ALL YOU NEED FOR ANY CHARGE ENABLED RECOVERY:
THE FILES: "hijack" AND (THE HACKED) "charge_only_mode" IN /system/bin
AND ".revovery_mode" IS IN /data
YOU DO NOT NEED ANYTHING ELSE BUT TO LOAD /preinstall
WITH YOUR FAV RECOVERY NAMED: "update-recovery.zip", ALONG WITH IT'S BINARY (SAME AS INSIDE THE ZIP/meta-inf....) CALLED: "update-binary" AND "hijack" (SAME AS ABOVE). Thats it! 6 files. With permissions- See above link.
Older post
5.0.2.0 http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-olympus.zip
Not everything works: when flashing between recoveries they need to be on internal sd, and, of course, backup and restore may work but its for ul bootloaders only.
DO NOT FLASH FROM ROM MANAGER. IT WILL BE SBF time.
Flash from tenfars and keep a copy of both on int sd (tenfars update-recovery.zip and the DL) to go back and forth. Do not backup and restore with this.
Just checked out the updater script and it looks like it should work, barring no needed changes on the scripts in sbin that it copies. I wonder if ADB works in it on this one. This could be a huge bonus for what were trying to do since BSR is kinda old and crappy
No adb in adv menu.
skwoodwiva said:
No adb in adv menu.
Click to expand...
Click to collapse
ADB shouldnt be in a menu. Should just be enabled by default. Course it only would work if it was plugged into a computer at the time you dropped into CWR. It doesnt support USB state changing.
So if the cwr in charge mode triggered, as is the preinstall hack, then no adb?
Log from cwr
init.svc.battd running
.usbd running
.touch stopped
.atvc stopped
.adb running
Extended commands not found.
See if you can run any adb commands like:
adb devices
adb pull /system/build.prop
etc...
It fails to mount sdcard. When recovering or manual mount.
I'm done messing this one.
I was able to overwrite the one in /data/data/tenfar folder but not in /preinstall folder anything special I need to try? Still went into BSR when I rebooted to recovery.
Sent from my DROID X2 using XDA App
I am learing as I go, but the point I realized is when you go to adv menu,in cwr,and reboot recov the current cwr gets loaded to /preinstall. So paste to data/data...files run sr then do reboot recov. Then paste to preinstall.
Cool ill give that a shot thanks!!!
Sent from my DROID X2 using XDA App
If I had the knowhow I would hack the garphics from 5010atrix to 5025x2!! .
But why would the newest Dx2 be any good and NOT a failure and be so messed for all this time? Unless one failure hides the other.
It probably can't mount SD due to a wrong mountpoint in one of the scripts. Should be easy to fix.
http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-olympus.zip
newer atrix 5020 all works but restore fails as boot img, of course, won't load.
skwoodwiva said:
http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-olympus.zip
newer atrix 5020 all works but restore fails as boot img, of course, won't load.
Click to expand...
Click to collapse
how hards that going to be to fix?
Ha ha ha ha!
You got me!
But it easy to flash between these cwrs even back to tenfars. Want to find a way to recwr after a wipe or flash.
The skewed graphics problem is from within the recovery (binary) in /sbin of the
zip: http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.5-daytona.zip .
I pasted the file from the above into this http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-olympus.zip and got same graphics skewing.
balltongue said:
See if you can run any adb commands like:
adb devices
adb pull /system/build.prop
etc...
Click to expand...
Click to collapse
Is this from android/sdk in win7?
Can you give me a prep? I am just a NooB.
Within your sdk folder look for platform tools, adb is within this folder. Navigate to platform tools directory using cmd then enter the commands.
Sent from my DROID X2 using xda premium
skwoodwiva said:
Is this from android/sdk in win7?
Can you give me a prep? I am just a NooB.
Click to expand...
Click to collapse
I pm'd you with some info about setting up sdk.

Categories

Resources