ADB issues with 2.2? - Kyocera Zio M6000

I getting permission denied errors when I try to re-copy mkfs.yaffs2 to /data/misc
D:>adb push mkfs.yaffs2 /data/misc/mkfs.yaffs2
failed to copy 'mkfs.yaffs2' to '/data/misc/mkfs.yaffs2': Permission denied
Anyone else having permission issues?

Resolved. Updated adb first.
while I was updating, I remembered you cant push straight to /data or /system.
Need to dump to sdcard first, then use cat.. o.0

Related

permission denied on /sdcard

Hi,
I cannot copy update.zip to my device using adb.
from my comman prompt:
C:\asdk\tools>adb devices
List of devices attached
9000b0c52740 device
=> connected
C:\asdk\tools>adb push root.zip /sdcard/update.zip
failed to copy 'root.zip' to '/sdcard/update.zip': Permission denied
=> the problem
C:\asdk\tools>adb shell
$ su
su
# ^C
=> popup on phone, access granted
C:\asdk\tools>adb push root.zip /sdcard/update.zip
failed to copy 'root.zip' to '/sdcard/update.zip': Permission denied
=> nothing changed
I have JM5, SamSet 1.9d. Busybox installer is installed.
busybox installer says that phone is rooted, but when I try to install busybox it says error. nand is not unlocked or remount is not possible.
If I use windows explorer I can copy an update.zip to /sdcard but then recovery mode says "cannot open".
What wrong?
How can this be fixed?
Thanks in advance
HolyFreak

[Q] adb mount system help

Hi guys i have read around and i have seen that some experienced the same problem but i couldn't find and answer so here i go: i am trying to push an app to /system/app but it seems that i can't remount the system as read-write:
C:\AndroidSDK\tools>adb push app.apk /system/app
failed to copy 'app.apk' to '/system/app/app.apk': Read-only file system
C:\AndroidSDK\tools>adb remount
remount failed: Operation not permitted
C:\AndroidSDK\tools>adb shell sysrw
sysrw: not found
do you think you can help, please?
i have superuser installed and busy box but when i try to update busy box it gives me an error saying that: The application failed, either because your device is not nand unlocked or we were unable to remount....

ADB Help

I have searched but haven't been able to find a solution to my problem.
I am on the latest CM9 nightly and I have installed ADB on my Windows 7 64bit computer and it seems to be working but when I try and use the 'push' command, I get this "C:\android-sdk-windows\platform-tools>adb push Trebuchet.apk /system/app
failed to copy 'Trebuchet.apk' to '/system/app/Trebuchet.apk' : Read-only file system"
I have tried the 'Remount' command, but that just throws back "Remount failed: Operation not permitted"
Any help is much appreciated.
You need to change permissions on the system folder
C:\android-sdk-windows\platform-tools>adb remount
then
C:\android-sdk-windows\platform-tools>adb push Trebuchet.apk /system/app
Didn't see that you had tried this !!
if you have root explorer or such navigate to system directory and change permissions to r/w...
otherwise...
adb shell
su
#mount -o rw,remount /dev/block/mtdblock3
Thank you for the help, however it still isn't working. I used the commands;
adb shell
su
#mount -o rw,remount /dev/block/mtdblock3
and it didn't throw me an error, but then when I tried to push the Trebuchet.apk it says the say as before. "failed to copy 'Trebuchet.apk' to '/system/app/Trebuchet.apk' : Read-only file system" "
Try
adb root
It could also be your version of busybox...
running out of ideas but one more...
Actually try this reboot into recovery (I presume you have some type installed), if you have an option to 'mount system' select it and then push the file...
Sent using my fingers and some technology from my HD2
Thank for your help! In the end it was my bad.
I didn't realise that on CM9 nightlies you have to go to Settings > Developer Options > Root Access > Apps and ADB.
Bling

[Q] media scanner permission denied on '/storage/sdcard0/.android_secure/',

Hi,
Trying to figure out why media scanner service is running all the time, draining my battery I came accross this error in logcat:
Code:
W/MediaScanner( 2774): Error opening directory '/storage/sdcard0/.android_secure/', skipping: Permission denied.
I tried fixing permissions, and it still happens.
I tried changing permissions, in order to make media scanner work without errors, by running:
Code:
chmod 777 /storage/sdcard0/.android_secure
which resulted in the following error:
Code:
Unable to chmod /storage/sdcard0/.android_secure: Read-only file system
I'm running slim bean 2.7 on my i9000 sgs.
Any idea how to resolve this issue?
ziflingus said:
Hi,
Trying to figure out why media scanner service is running all the time, draining my battery I came accross this error in logcat:
Code:
W/MediaScanner( 2774): Error opening directory '/storage/sdcard0/.android_secure/', skipping: Permission denied.
I tried fixing permissions, and it still happens.
I tried changing permissions, in order to make media scanner work without errors, by running:
Code:
chmod 777 /storage/sdcard0/.android_secure
which resulted in the following error:
Code:
Unable to chmod /storage/sdcard0/.android_secure: Read-only file system
I'm running slim bean 2.7 on my i9000 sgs.
Any idea how to resolve this issue?
Click to expand...
Click to collapse
Looking for something else and saw this old post. For future reference, just create a she'll script in /system/xbin and use busybox to run a short script with umask=0000 and the remount sdcard0 and probably extSdCard also just to be safe until it's figured out. Can use managers or taskbomb to run it...

Error installing Xposed Framework: can't create '/system/bin/app_process

This error is killing me :/
Could really use some help..
Error says:
Copying Xposed-Disabler-Recovery.zip...
Mounting /system writable...
Backup already exists at /system/bin/
app_process.orig
Copying app_process...
cp: can't create '/system/bin/app_process': File
exists
Tried looking around the forum but haven't found a solution yet
I'm on a huawei g7 using android 4.4 rooted
Still no solution. I tried finding a way to manually install the app_process but i can't find any tut on it
So i think every file on /system is write protected to i tried to unlock it with
su
mount -o rw,remount /system
cd /system
chmod -R -i *
But i didn't work :/
oke so i tried to run the installer one last time tonight and for some reason it installed the framework without problems. i have no idea why..

Categories

Resources