Jump to content


Photo

abd push permission denied (and not found when in shell mode)

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Athiril

Athiril

    Newbie

  • Members
  • Pip
  • 9 posts
  • Devices:Huawei Ascend G300 U8815
When I try to:

adb push file.zip /sdcard/file.zip
I get a permission denied error

adb remount
I get an operation not permitted

when I try to use:
adb shell
su
push file.zip /sdcard/file.zip
I get a not found error.

It's not the file that is not found, but the command push is not found... the same for all the other commands.. pull, find, remount etc...


It's in relation to this : http://www.modaco.co...e3d-egl-driver/

Trying to recover my phone.

It is already rooted, with su and busybox (with this one https://play.google....i5idXN5Ym94Il0.), in debug mode etc. Iirc it is in lock state iirc, the phone is not currently bootable into the Android gui.

I want to copy a rom to the internal SD and flash it to get rid of the problem (Chainfire3D EGL driver)


I've got the Genokolar custom recovery running atm from here - http://forum.xda-dev....php?p=35205790


I dont have a microSD card atm (phone is new) and really want to recover it asap. Broke atm for a few more days so I cant go out and get a cheap microSD for flashing with.




I read something somewhere about BusyBox breaking some symlinks or something, so is there anything else I can do from adb?

Edited by Athiril, 21 January 2013 - 05:29 AM.

  • 0

#2
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
Why don't you just mount storage?

Also you may need to do adb root before anything

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#3
Athiril2

Athiril2

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:Huawei G300 Ascend
Athiril account only works from work computer where I created it, wont log in anywhere else, so posting from secondary.

Because the phone wont boot into Android OS, I specified that in the OP.

adb root doesn't work on production builds.

I've managed to get the file over by going into shell and su and using chmod on the /data and remounting it, then using push after exiting shell, to /data/share which is /sdcard when browsing the custom recovery menu or the filesystem via the phone (when it was working).

I just don't know how to flash it now. It seems to do nothing when I tell it to use this file to update.

and there's no recovery command in my adb to tell it to update.

Edited by Athiril2, 21 January 2013 - 09:22 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users