Hello,
I am attempting to follow the instructions to root the S8+ on the SamPWND thread. I have successfully flashed the four files with ODIN and booted my phone. However, whenever I attempt to use adb to push the systemroot folder to the phone, I am met with the following error:
adb: error: failed to copy 'systemroot\debloat.sh' to '/data/local/temp/debloat.sh': secure_mkdirs failed: Permission denied
I have tried rebooting the phone several times and reflashing, to no avail. Does anyone know what I need to do to fix this?
Thanks!
EDIT: I've figured it out, incase anyone is running into this same issue, please right click the "cmd-here" file and run it as an administrator.
pilotp94 said:
Hello,
I am attempting to follow the instructions to root the S8+ on the SamPWND thread. I have successfully flashed the four files with ODIN and booted my phone. However, whenever I attempt to use adb to push the systemroot folder to the phone, I am met with the following error:
adb: error: failed to copy 'systemroot\debloat.sh' to '/data/local/temp/debloat.sh': secure_mkdirs failed: Permission denied
I have tried rebooting the phone several times and reflashing, to no avail. Does anyone know what I need to do to fix this?
Thanks!
EDIT: I've figured it out, incase anyone is running into this same issue, please right click the "cmd-here" file and run it as an administrator.
Click to expand...
Click to collapse
Have you rooted your G955W ?
Related
Hey guy's, I've beentrying to install clockworkmod on my Epic for some time now to no avail. See, I just rooted my phone using the noobnl's "one click method v2.2.6". The only recovery I have on my phone as of right now is tthe stock recovery. I've read just about every post about the installation on clockworkmod recovery and tried accordingly. Still no custom ecovery. Im really noob to all this "wiz stuff", and would greatly appreciate any help you guy's could give me. Perhaps some DETAILED step by step instructions ( CUZ IM REAL BRAIN DEAD AT TIMES )?? I have DI11 installed on my phone as of now, and im running the stock kernel v2.6.29. again, Im rooted with "noobnl's one click" and I do have root. Also, I need to know if you download to my pc, then push it to my phone using command prompt? Do I flash it with Odin? And what do I do after I run the clockworkmod exploit? Will I have custom recovery after that, is there anymore steps involved? Thank you all for making this site the best web site I"ve been on so far. You guy's are the best. Please hel[p with my dumb question, and sorry to waste your time. Thankx IA..
http://forum.xda-developers.com/showthread.php?t=782300
Download the .zip from that. Extract it to your desktop and rename the folder "cwm". Open up command prompt. Type this:
Code:
cd C:\Users\YOUR USER NAME\Desktop\cwm
adb shell
su
remount rw
exit
exit
After that, run the run.bat from the folder.
Download the .zip from that. Extract it to your desktop and rename the folder "cwm". Open up command prompt. Type this:
Code:
cd C:\Users\YOUR USER NAME\Desktop\cwm
adb shell
su
remount rw
exit
exit
After that, run the run.bat from the folder.
Click to expand...
Click to collapse
Excuse the stupid question please, do I have the sdcard mounted, or unmounted? I heard it can be done either way...
The only thing you use Odin for is to flash a complete .tar file. Ie, returning to stock, or updating to a new release DG27, DI07, or DI18
sniperkill said:
Excuse the stupid question please, do I have the sdcard mounted, or unmounted? I heard it can be done either way...
Click to expand...
Click to collapse
Make sure it is NOT mounted as a mass storage device. Make sure you can access it from the phone. So, don't mount it.
LSanna1488 said:
The only thing you use Odin for is to flash a complete .tar file. Ie, returning to stock, or updating to a new release DG27, DI07, or DI18
Click to expand...
Click to collapse
Technically, custom ROMs can be made for Odin, too... But since it's not a very good method, everyone prefers the recovery method. noobnl released his first rooted kernel for Odin. Odin does a lot more than just complete .tars.
LSanna1488 said:
The only thing you use Odin for is to flash a complete .tar file. Ie, returning to stock, or updating to a new release DG27, DI07, or DI18
Click to expand...
Click to collapse
I ran the commands as you stated, then ran the exploit. It keeps saying,
"remove stock recovery patcher"
"device not found"
system (something) install recovery.sh permission denied
"system/recovery-from-boot.p permission denied
failed to copy 'zImage' to /sdcard/zImage: permission denied
reboot: operation not permitted
im failed for /sdcard/zImage, permission denied
So what do you think is going on? Any thoughts?
I had same exact issue. Went back to completely stock then rooted then did clockwork. Do not mount sd card. Follow instructions exactly.
Sent from my SPH-D700 using XDA App
I'm having the same issue. When trying to 'su' to do the remount I'm getting a permission denied... but apps that require root seem to be working.
sniperkill said:
I ran the commands as you stated, then ran the exploit. It keeps saying,
"remove stock recovery patcher"
"device not found"
system (something) install recovery.sh permission denied
"system/recovery-from-boot.p permission denied
failed to copy 'zImage' to /sdcard/zImage: permission denied
reboot: operation not permitted
im failed for /sdcard/zImage, permission denied
So what do you think is going on? Any thoughts?
Click to expand...
Click to collapse
Is your phone in debug mode? (Settings -> Applications -> Development -> USB Debugging) Did it actually let your run those commands I told you?
Yes, my phone is in fact in debugg mode. My desktop command prompt does let me run the commands.
Adb devices
Adb shell
Su #
Remount rw
Exit
Exit
After I type the command "su" it gives me the #. Then on my phone a superuser request comes thru and askes to chose "yes" or "no". So I hit "yes". But when I run the exploit in the beginning it says "mount", and it says that the operation is not permitted... then it starts saying "I'm failed for" and "operation not permitted" and so on.. I think I'm missing a step somewhere but I don't kno...
Sent from my SPH-D700 using XDA App
Running su through adb shouldn't ask for permission the phone... that is weird.
Sent from my SPH-D700 using XDA App
I spent the weekend trying to get my Epic rooted and cwm installed. I was finally successful with both. CWM I had to install by typing in each command that was in the bat through the cmd window with adb.
Flak said:
I spent the weekend trying to get my Epic rooted and cwm installed. I was finally successful with both. CWM I had to install by typing in each command that was in the bat through the cmd window with adb.
Click to expand...
Click to collapse
So exactly what are the steps you took to install clockworkmod manually through windows command prompt? Do I just look in the bat exploit?
okay so I have tried installing clockwork too many times to count and it flat out will not install. i have gotten a series of errors, but have just today been able to keep a consistent error. I downloaded one click clockworkmod 2.5.1.0. plugged in my device, extracted to my desktop and ran both bat files. This is a copy of the cmd prompt window:
remove stock recovery patcher
mount: operation not permitted
rm failed for /system/etc/install-recovery.sh, Read-only file system
rm failed for /system-recovery-from-boot.p, Read-only file system
copy kernel and flasher
2043 KB/s <313888 bytes in 0.150s>
failed to copy 'zImage' to '/sdcard/zImage': Permission denied
flashing kernel
RedBend Update Agent 6,1,14,1
and then it goes on through there... bottom line, it looks like i don't have permissions for the install. and i have already tried remounting rw through adb shell, it comes back and say remounting and then thats it. and ideas? i can give the reset of the scripting in cmd prompt if needed. Thanks in advance.
4nic8
dude theres like 10 other threads on this page about the same exact thing... and this doesn't go in this forum!
Download rom manager from the market and. ...that would do it for u automatically....... and yes pls next time try to search all the forums before posting
Sent from my SPH-D700 using XDA App
Hi amigos on the internet!
I recently purchased an Asus TF700T about a week ago and still I'm having trouble rooting it.
Tried basically every method I could. I desperately seek help!
My device is unlocked though SU say's there is no binary installed.
I don't have fastboot on my device it only shows three images which is the RCK logo ANDROID logo and WIPE DATA logo.
There is not USB logo.
I have JB 4.2.1
Build number :
JOP40D
If you need anymore information I would be glad to provide! Please and thank you for taking the time! I just want to root and have TWRP on it
Unfortunately I do not know how to get TWRP
When trying to root it with DeBugfs I get this
Waiting for device to be detected…
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Found system partition at: /dev/block/mmcblk0p1
Step 1 – Pushing files…
failed to copy ‘debugfs’ to ‘/data/local//debugfs’: Permission denied
failed to copy ‘su’ to ‘/data/local//su’: Permission denied
failed to copy ‘debugfsinput’ to ‘/data/local//debugfsinput’: Permission denied
failed on ‘/data/local/tmp’ – Permission denied
link failed File exists
Rebooting…
Once your devices has finished restarting,
Press any key to continue . . .
Step 2 – Rooting…
For this step, ignore any error messages that say “File not found”
Unable to chmod /data/local/debugfs: No such file or directory
/system/bin/sh: can’t open /data/local/debugfsinput: No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on ‘/data/local/tmp.bak’ – No such file or directory
rm failed for /data/local/su, No such file or directory
rm failed for /data/local/debugfs, No such file or directory
rm failed for /data/local/debugfsinput, No such file or directory
Rebooting…
Once your devices has finished restarting,
Press any key to continue . . .
Finally the following appears:
Rooting FAILED! You may want to try running this tool again.
Your device region may not be supported if you see this message again.
Press any key to continue . . .
Your help will be greatly appreciated it! I will also donate through pay-pal since I'm very desperate, haha. Thanks again!
You need to run the tool as administrator
Also, have you used the unlock file from Asus. You must be unlocked, bootloader unlocked, for this to work.
http://forum.xda-developers.com/showthread.php?t=2094746
Sent from my ASUS Transformer Pad TF700T using Tapatalk 4
Mkami said:
Your help will be greatly appreciated it! I will also donate through pay-pal since I'm very desperate, haha. Thanks again!
Click to expand...
Click to collapse
What is your firmware version? If you are on anything later than 10.6.1.14.8, then you have to downgrade in order to root... You are already unlock and why don't install custom recovery and custom rom...
You don't have to donate to me because I am here trying to help out new user....
Mkami said:
My device is unlocked though SU say's there is no binary installed.
I don't have fastboot on my device it only shows three images which is the RCK logo ANDROID logo and WIPE DATA logo.
There is not USB logo.
Click to expand...
Click to collapse
Apparently you didn't read the text in the upper left corner - recent bootloaders activate fastboot already in the bootloader menu.
So you can use fastboot to install TWRP (read the guide on the teamw.in website or here on xda), then TWRP will offer you to install a root app.
And ignore the "you have to downgrade to root" advice - that's only relevant if you don't want to or can't unlock.
Hey guys thanks for replying to this post! Luckily I was able to get full step by step help by a member on XDA he was super helpful! Got my tablet rooted and rommed Thanks for looking at my post! Much obliged
So I have setup adb by following a video another user posted to an earlier question of mine that being said adb is setup correctly my phone is recognized it is online I can reboot the phone along with other adb actions. the problem Im having is where do i put the pie.jar and root.sh files i have put them in platform tools and it says cannot stat no such file or directory i moved them to sdk folder and still getting the same message please help i have been trying to root for over a week now im not stupid im just doing something wrong im close to just giving up any feedback is greatly appreciated
I posted a vid in other thread that may help not sure exacly what you are doing.
mrwinkle said:
I posted a vid in other thread that may help not sure exactly what you are doing.
Click to expand...
Click to collapse
Yeah I followed that video got adb setup got all the expected output except for the last two I get
C:\Android-SDK\sdk>adb shell /data/local/atvc/root.sh
rm failed for /data/local/atvc/blop.asec, No such file or directory
rm failed for /data/local/atvc/blop, No such file or directory
pie by jcase
want to buy me pie? paypal-> [email protected]
And my device does not reboot but it acts like it reboots on my pc it discovers it again like I unplugged it then plugged it back in and when I install super su it says no binaries are installed what should I do This process is the bane of my exscitence but I will get it
ojodetigre said:
Yeah I followed that video got adb setup got all the expected output except for the last two I get
C:\Android-SDK\sdk>adb shell /data/local/atvc/root.sh
rm failed for /data/local/atvc/blop.asec, No such file or directory
rm failed for /data/local/atvc/blop, No such file or directory
pie by jcase
want to buy me pie? paypal-> [email protected]
And my device does not reboot but it acts like it reboots on my pc it discovers it again like I unplugged it then plugged it back in and when I install super su it says no binaries are installed what should I do This process is the bane of my exscitence but I will get it
Click to expand...
Click to collapse
those are okay just ignore your phone should be rooted now but will unroot if you reboot b/c write protection is still on. to be completely rooted (non-tethered) follow steps HERE.
mrwinkle said:
those are okay just ignore your phone should be rooted now but will unroot if you reboot b/c write protection is still on. to be completely rooted (non-tethered) follow steps HERE.
Click to expand...
Click to collapse
but its not as soon as that happens i try to install super su and it says no binaries are installed i installed root checker and it says my device is not rooted i read whhere it says to ignore those messages i guess i should just keep trying until i get root but do i have to start back with the push commands or just the shell commands and i have evrything else ready for perma root just need to get root first
Can someone who has an Essential Phone (PH-1) upload a zip of the system dump. Run the command below in ADB to pull the dump (no root required):
Code:
adb pull /system PH1_system_dump
The dump will be pulled to a folder called "PH1_system_dump". Zip and upload that folder so we can begin development on this device.
I just tried...it stopped at 18% with the following message:
adb: error: failed to copy '/system/vendor/firmware/msadp' to 'PH1_system_dump/system/vendor/firmware/msadp': remote open failed: Permission denied
cabegol said:
I just tried...it stopped at 18% with the following message:
adb: error: failed to copy '/system/vendor/firmware/msadp' to 'PH1_system_dump/system/vendor/firmware/msadp': remote open failed: Permission denied
Click to expand...
Click to collapse
Try to pull like this:
Code:
adb pull /system/app PH1_system_apps
Code:
adb pull /system/priv-app PH1_system_priv_app
Code:
adb pull /system/framework PH1_system_framework
Code:
adb pull /system/media PH1_system_media
Code:
adb pull /system/etc PH1_system_dump_etc
Shawn5162 said:
Try to pull like this:
Code:
adb pull /system/app PH1_system_apps
Code:
adb pull /system/priv-app PH1_system_priv_app
Code:
adb pull /system/framework PH1_system_framework
Code:
adb pull /system/media PH1_system_media
Code:
adb pull /system/etc PH1_system_dump_etc
Click to expand...
Click to collapse
Here you go, this is off of the newest update, NMJ20D. The zip contains only system apps, priv_system apps, framework, and media.
Extracting /system/etc gave me this error, may be an error on my side but I'm not sure:
Code:
adb: error: cannot create 'PH1_system_etc\firmware\TFA9891.cnt': No such file or directory
I tried a workaround (specifying a folder rather than extracting to root), and it ended with this:
Code:
adb: error: failed to copy '/system/etc/firmware/wlan/qca_cld/wlan_mac.bin' to 'C:\Users\bmg10\Documents\dump\etc\firmware\wlan\qca_cld\wlan_mac.bin': open failed: Permission denied
DOWNLOAD
bmg1001 said:
Here you go, this is off of the newest update, NMJ20D. The zip contains only system apps, priv_system apps, framework, and media.
Extracting /system/etc gave me this error, may be an error on my side but I'm not sure:
Code:
adb: error: cannot create 'PH1_system_etc\firmware\TFA9891.cnt': No such file or directory
I tried a workaround (specifying a folder rather than extracting to root), and it ended with this:
Code:
adb: error: failed to copy '/system/etc/firmware/wlan/qca_cld/wlan_mac.bin' to 'C:\Users\bmg10\Documents\dump\etc\firmware\wlan\qca_cld\wlan_mac.bin': open failed: Permission denied
DOWNLOAD
Click to expand...
Click to collapse
Without root and factory images, I think this is the best we'll be able to get via ADB. This should be enough for a starting point though. Thanks for your help
Shawn5162 said:
Here you go, this is off of the newest update, NMJ20D. The zip contains only system apps, priv_system apps, framework, and media.
Extracting /system/etc gave me this error, may be an error on my side but I'm not sure: I tried a workaround (specifying a folder rather than extracting to root), and it ended with this:
Without root and factory images, I think this is the best we'll be able to get via ADB. This should be enough for a starting point though. Thanks for your help
Click to expand...
Click to collapse
Someone in this thread managed to get the boot.img. I downloaded it and tried rooting it with Magisk but it didn't work. He already has TWRP and Lineage but they're still unreleased as its being worked on. I can't try the boot image anymore since I'm on the newest update and the image posted was for the previous update.
https://forum.xda-developers.com/essential-phone/help/bootloader-root-t3695583/page3
You need root to get actual dumps. Our TWRP is still only usable via adb since they're loading touchscreen firmware in userspace via a daemon that doesn't want to run without the rest of android up, otherwise we'd have released something.
We have dumps of the latest OTA (NMJ20D) already. If anyone is interested in contributing or following development of this device (TWRP/Lineage/etc) here's a link to our discord: https://discord.gg/DTtY2nb
Look on the post below the guy already pulled the zip file already. I pushed it to my device via adb.
invisiblek said:
You need root to get actual dumps. Our TWRP is still only usable via adb since they're loading touchscreen firmware in userspace via a daemon that doesn't want to run without the rest of android up, otherwise we'd have released something.
We have dumps of the latest OTA (NMJ20D) already. If anyone is interested in contributing or following development of this device (TWRP/Lineage/etc) here's a link to our discord: https://discord.gg/DTtY2nb
Click to expand...
Click to collapse
is the touchscreen daemon the last piece of the TWRP puzzle? Can it be manipulated with vol + - and power buttons?