[Q] sdcard permission denied - myTouch 4G Q&A, Help & Troubleshooting

I have rooted my OG MyTouch 3g, so I am familiar with the process, and now I am trying to root my MyTouch 4g.
I am trying to:
Code:
adb push su /sdcard/su
and every time i try it says:
Code:
failed to copy 'su' to '/sdcard/su': Permission denied
Any suggestions?

rbmako69 said:
I have rooted my OG MyTouch 3g, so I am familiar with the process, and now I am trying to root my MyTouch 4g.
I am trying to:
Code:
adb push su /sdcard/su
and every time i try it says:
Code:
failed to copy 'su' to '/sdcard/su': Permission denied
Any suggestions?
Click to expand...
Click to collapse
Okay what Rooting process are you trying to follow? And in what step are you.
The main reason you are getting that error is the file "su" doesn't exist.... but if you answer the question above we can help you more.

I am trying the Cyanogen Mod: TMobile_myTouch_4G:_Full_Update_Guide

rbmako69 said:
I am trying the Cyanogen Mod: TMobile_myTouch_4G:_Full_Update_Guide
Click to expand...
Click to collapse
Make sure you have ADB Debugging turned on
- Settings > applications > development
Make sure you have the SD Card mounted to the computer
Make sure you changed your ADB target folder to the one store that rooting package.
Those would be the three places i'd start if i were you.
However alot of people will contest that this method is simpler with a high percentage of "" when you are done with the rooting process.

neidlinger said:
Make sure you have ADB Debugging turned on
- Settings > applications > development
Click to expand...
Click to collapse
Yes, I did that.
neidlinger said:
Make sure you have the SD Card mounted to the computer
Click to expand...
Click to collapse
I have access to all the files on the SDCARD on my mac
neidlinger said:
Make sure you changed your ADB target folder to the one store that rooting package.
Click to expand...
Click to collapse
Not sure what you mean by this.
Those would be the three places i'd start if i were you.
However alot of people will contest that this method is simpler with a high percentage of "" when you are done with the rooting process.[/QUOTE]

I'm going to try the method that you linked.

rbmako69 said:
I have access to all the files on the SDCARD on my mac
Click to expand...
Click to collapse
Being that you are using a Mac you might run into some problems along the road. I've see quite a few "problematic" threads pop up regarding Mac and Android's ADB not working correctly.
you could also try This Method < it doesn't require the use of a PC @ all.

I did that other method and it seems to have worked.
Now do I continue with the walkthrough of installing cyanogen now that the phone is rooted?

rbmako69 said:
I did that other method and it seems to have worked.
Now do I continue with the walkthrough of installing cyanogen now that the phone is rooted?
Click to expand...
Click to collapse
Do you have a Super User icon on your screen?
If you do
-Downloaded Terminal Emulator from the market.
- go to it and type "su" you should get a window asking you to approve the Super User request.
If the dollar sign ($) changes to a pound (#) sign then you are rooted.
next turn off the phone and hold the volume down rocker and the power button that will boot into engineering scree (HBoot) look on the top line and see if you have "s=off"...
If the s=off then you are perma rooted w/o the security check. temp root with VISIONary one last time, then install Clockwork ROM Manager and change the Recovery Image to 3.0.0.06 (Here or Here) From their you can do what you want to do regarding Cyanogen(mod).
*The reason i recommend flashing 3.0.0.6 prior to flashing it ROMs is it handles 2.2 (ext3) and 2.3 (ext4) style roms. Where every other version is either or, not both.

I sucessfully installed cyanogen, and everything seems to be working correctly, but i must not have installed the google apps, and i do have the market place to download them again.
Where can i get those from?
EDIT: I found them.

rbmako69 said:
I sucessfully installed cyanogen, and everything seems to be working correctly, but i must not have installed the google apps, and i do have the market place to download them again.
Where can i get those from?
Click to expand...
Click to collapse
http://android.d3xt3r01.tk/cyanogen/gapps/gapps-gb-20110120-signed.zip
wipe (factory reset) before flashing the g/apps via the recovery image.

I had found them before, but the market wasn't working, and I was trying to sync my contacts back to the phone from my gmail account. I didn't do a factory reset through, so I'm trying again. Hopefully it works this time.

I'm guessing the market isn't working because I haven't signed in with my gmail account.
Any idea on how to set that back up?

rbmako69 said:
I'm guessing the market isn't working because I haven't signed in with my gmail account.
Any idea on how to set that back up?
Click to expand...
Click to collapse
Settings > accounts & Sync > menu button > add account.

Related

super user

sorry to bring this up i have the rooted phone 2.1(droid eris) i have an app that saying super permission, i click on it and show just black screen what does this so pose to do
and how do i remove the factory apps
sorry i think its a stupid question but what should i see in superuser permission one time i only saw this +2000-2000 and something else
I was having trouble with super user too. I reverted to a working back up
ampinc said:
sorry to bring this up i have the rooted phone 2.1(droid eris) i have an app that saying super permission, i click on it and show just black screen what does this so pose to do
and how do i remove the factory apps
Click to expand...
Click to collapse
Enable USB Debugging in
Settings > Applications > Development
If you have SDK set up on your computer, do ,
adb shell
$
type SU
$ su
Wait a while, you should see on your phone, press Always Accept
#
From now on ,it should work for everything.
Framework43 said:
From now on ,it should work for everything.
Click to expand...
Click to collapse
"Always Allow" only allows connections from the same source (computer, etc) so if you load up Terminal Emulator, youll have to Always Accept for that too...etc etc
gohamstergo said:
"Always Allow" only allows connections from the same source (computer, etc) so if you load up Terminal Emulator, youll have to Always Accept for that too...etc etc
Click to expand...
Click to collapse
Yeah but if you do it via adb shell first,
it will work everytime after that.
If not, it will always force close on you.
Framework43 said:
Enable USB Debugging in
Settings > Applications > Development
If you have SDK set up on your computer, do ,
adb shell
$
type SU
$ su
Wait a while, you should see on your phone, press Always Accept
#
From now on ,it should work for everything.
Click to expand...
Click to collapse
iam sorry but i dont know where adb shell is
ampinc said:
iam sorry but i dont know where adb shell is
Click to expand...
Click to collapse
have you downloaded the Android SDK? If so, open a command prompt and navigate to the SDK's Tools folder. then do adb shell
Framework43 said:
Yeah but if you do it via adb shell first,
it will work everytime after that.
If not, it will always force close on you.
Click to expand...
Click to collapse
no, what i meant was, clicking Always Allow only allows the current process to be always allowed.
ex: if you connect via adb on a computer and Always Allow, then you still have to allow other programs like Terminal Emulator, drocap2, etc also Always Allow isn't universal, only applies to the current app that is requesting the permission.
don't remove this app
and there is no need to run this app manually
if an app requests root-rights, this app will auto popup
i dont know what i did wrong but its not working please some help thanks
jriley60 said:
I was having trouble with super user too. I reverted to a working back up
Click to expand...
Click to collapse
can you please link me to a working backup of superuser.....I am having issues too.
there isn't a fully working one. the version we are using is from another phone completely. Until the author of superuser.apk writes one for us. the only method of getting superuser.apk to work right is.
1. enable usb debugging
2. plug your usb into your phone
3. choose HTC sync and wait for it to fail to connect if not installed.
4. while in sync mode start the app that needs root access and wait for the su prompt
5. select always allow
6. enjoy your app
some root apps like wifi tether require multiple access prompts to be fully functional.
hope this helps

All Uses For ADB For NON-ROOTED Eris

I jumped the gun installed the original and the latest 2.1 leaks, so I am not rooted. I just recently learned how to use the ADB push feature in the tools of the Android SDK to install a custom boot animation and I'm stoked at how awesome it works.
I was wondering what all you can use the ADB push feature for on a NON-rooted Eris. Any help is greatly appreciated.
Thanks devs for all your hard work!
Adding custom boot images.
Thanks jcase! I was seriously hoping that there was there would be other things that I could use it for. Oh well, guess I'll just wait until the Official OTA 2.1 is released, then wait until you genius devs crack it open and get it rooted. Thanks again!
You can make a script to quickly install apps in mass.
#!/bin/sh
echo "Installing apps..."
./adb install apps/app1.apk
echo "app1 Installed."
./adb install apps/app2.apk
echo "app2 Installed."
./adb install apps/app3.apk
echo "app3 Installed."
./adb install apps/app4.apk
echo "app4 Installed."
./adb install apps/app5.apk
echo "app5 Installed."
echo "done"
how do i install ADB on my computer. I downloaded SDk and in the tools when i click or ADB or Emulator it opens and instantly disappears. im running windows 7.
interscion said:
how do i install ADB on my computer. I downloaded SDk and in the tools when i click or ADB or Emulator it opens and instantly disappears. im running windows 7.
Click to expand...
Click to collapse
....
EDIT: check your inbox interscion, I sent you a message in order to keep this thread uncluttered and on subject.
Android22 said:
....
EDIT: check your inbox interscion, I sent you a message in order to keep this thread uncluttered and on subject.
Click to expand...
Click to collapse
would you send me one too i have sdk setup and when i click adb a screen pops up and disapears ,,, help!! please please
trhanks
PM
Jimmie's 2.1 Eris said:
would you send me one too i have sdk setup and when i click adb a screen pops up and disapears ,,, help!! please please
trhanks
Click to expand...
Click to collapse
Sent, check your inbox...
I know this is an old thread, but I just got a replacement eris and i'm trying to avoid signing into the market before I root (for a completely clean install, probably doesn't matter, I'm just funny like that), in which case, I want to install 1-click root before I do anything. So, if someone could point me in the right direction to do an adb install on an un-rooted eris, that would be great.
demmo86rt said:
I know this is an old thread, but I just got a replacement eris and i'm trying to avoid signing into the market before I root (for a completely clean install, probably doesn't matter, I'm just funny like that), in which case, I want to install 1-click root before I do anything. So, if someone could point me in the right direction to do an adb install on an un-rooted eris, that would be great.
Click to expand...
Click to collapse
No need to bypass activation, skip account setup, Settings->Applications->Unknown sources, Settings->Applications->Development->USB Debugging.
Then this plus this:
Code:
adb install erisone010.apk
You are making unnecessary work for yourself - if you want a Nandroid backup of the factory ROM in a near virginal state, root the phone with OneClick (so that a custom recovery gets installed) - NOT including insallation of the engtools (or rootme, whatever it is called), and then perform a factory reset afterwards. (That will clear accounts & account data from the phone, and you can then boot to the recovery to make a backup of the virginal ROM).
bftb0 said:
No need to bypass activation, skip account setup, Settings->Applications->Unknown sources, Settings->Applications->Development->USB Debugging.
Then this plus this:
Code:
adb install erisone010.apk
You are making unnecessary work for yourself - if you want a Nandroid backup of the factory ROM in a near virginal state, root the phone with OneClick (so that a custom recovery gets installed) - NOT including insallation of the engtools (or rootme, whatever it is called), and then perform a factory reset afterwards. (That will clear accounts & account data from the phone, and you can then boot to the recovery to make a backup of the virginal ROM).
Click to expand...
Click to collapse
That's basically what I ended up doing (got impatient and didn't wait for a reply), except I did sign in to the market and picked up 1-click that way. Thanks for your reply though, to my question asked in an attempt to feed my OCD tendencies.
Sent from my FroyoEris using XDA App

EVO 4G & Hero Root & the Eris

Hi All,
I viewed the video posted by the Unrevoeked team a little while back about their EVO 4G root and it definitely caught my attention.
http://grack.com/blog/2010/05/23/root-on-an-htc-evo-4g/comment-page-1/#comment-8123
I just noticed today they posted an update on the thread and a link to:
http://unrevoked.com/
If you follow the site they let you download unrevoked.apk
If this APK running in some way means we can root. Well It installs successfully and when you actually run it it says "done." So I believe it does what it is suppose to do on the Eris, I just dont know what steps to take from their.
I have tried installed 2 different superuser apks and neither seems to work. Not sure if I should be doing something else.
PS I am using unrooted OTA
jvward said:
Hi All,
I viewed the video posted by the Unrevoeked team a little while back about their EVO 4G root and it definitely caught my attention.
http://grack.com/blog/2010/05/23/root-on-an-htc-evo-4g/comment-page-1/#comment-8123
I just noticed today they posted an update on the thread and a link to:
http://unrevoked.com/
If you follow the site they let you download unrevoked.apk
If this APK running in some way means we can root. Well It installs successfully and when you actually run it it says "done." So I believe it does what it is suppose to do on the Eris, I just dont know what steps to take from their.
I have tried installed 2 different superuser apks and neither seems to work. Not sure if I should be doing something else.
PS I am using unrooted OTA
Click to expand...
Click to collapse
well just plug in to your pc and go to your adb command window and enter adb remount
adb shell
if you get a # you have root...
jvward said:
Hi All,
I viewed the video posted by the Unrevoeked team a little while back about their EVO 4G root and it definitely caught my attention.
http://grack.com/blog/2010/05/23/root-on-an-htc-evo-4g/comment-page-1/#comment-8123
I just noticed today they posted an update on the thread and a link to:
http://unrevoked.com/
If you follow the site they let you download unrevoked.apk
If this APK running in some way means we can root. Well It installs successfully and when you actually run it it says "done." So I believe it does what it is suppose to do on the Eris, I just dont know what steps to take from their.
I have tried installed 2 different superuser apks and neither seems to work. Not sure if I should be doing something else.
PS I am using unrooted OTA
Click to expand...
Click to collapse
By meaning neither one of them "work" you mean when you press on the app and all you see is a black screen thats all it will do until a program that requires root requires permission to do whatever the app was designed to do. Ohh usb debugging in setting->applications->Development-> USB debugging should be checked.
Hey,
I tested out ADB its not working and by not working I mean neither prompt for superuser permission.
doesnt work
It doesn't work sadly. The Dev's blog is shadowmite. com/blog/ (without the space) if you are looking for any followups though.
It looks like all it does is try and replace/write /system/bin/su but I can't entirely tell. This app is supposed to run something on boot so you may want to try rebooting. Also, it creates a log: /data/DxDrm/unrevoked.log

[Q] How do I load Clockwork Recovery

So I just rooted my Aria with Unrevoked 3 and when it was done I got this cool green Clockwork Recovery menu. I clicked "reboot system" and now I'm wondering how I ever load or access that menu again.
Also, when I click Superuser Permission there is nothing there yet. Is that normal?
Lastly, can I delete HTC Driver Installer and HTC BMP USB Driver or should I leave them. I had to remove HTC Sync to root the phone. I assume I'll want to be able to communicate the phone with my PC in the future, so how do I go about doing that?
Also, I used Astro to create a new folder in the root directory and it said "operation failed". Am I not really fully rooted?
Sorry for the newbie questions.
echodun said:
So I just rooted my Aria with Unrevoked 3 and when it was done I got this cool green Clockwork Recovery menu. I clicked "reboot system" and now I'm wondering how I ever load or access that menu again.
Click to expand...
Click to collapse
Clockwork Recovery has replaced the stock recovery, and you access it by holding the vol-down button as you power on the phone.
echodun said:
Also, when I click Superuser Permission there is nothing there yet. Is that normal?
Click to expand...
Click to collapse
Yes, it's normal. Applications will appear on the list as they request superuser permissions and you take action.
echodun said:
Lastly, can I delete HTC Driver Installer and HTC BMP USB Driver or should I leave them. I had to remove HTC Sync to root the phone. I assume I'll want to be able to communicate the phone with my PC in the future, so how do I go about doing that?
Click to expand...
Click to collapse
You do not need HTC sync to for basic communication with the phone (file transfer & adb) but if you continue using and HTC based rom, you can reinstall it and continue to use it.
echodun said:
Also, I used Astro to create a new folder in the root directory and it said "operation failed". Am I not really fully rooted?
Click to expand...
Click to collapse
Hey, that's another question after "lastly".
Yes, you're fully rooted, but even root access does not give you permission to write on a read only partition. Most Android phones are nand locked - meaning when the system is booted, the /system partition is read-only.
Until we get an engineering SPL (or equivelent) for the Aria, we can only access the system partition reliably for write access in Clockwork Recovery. This is how we flash custom ROMs.
Really, these are good noob questions but don't belong in the development area and should be in general. This isn't the only post in the wrong area.

Unable to Re-Root Droid 2 after Gingerbread OTA

Here's my problem,
I had the Droid 2 with stock ROM rooted and all was well. My phone installed the Gingerbread ROM (4.5.601) when Verizon pushed it out a few days ago. Thankfully, this did not totally jack up my phone. However, I no longer have root access.
I have tried three different 1 click root methods for the Gingerbread ROM but none of them worked. I tried un-rooting and re-rooting with one clicks and that's not working. I tried manually removing the Superuser app and rooting, no joy.
The one clicks are connecting with the phone but the phone does not seem to want to allow access to change files.
Before anyone asks, YES I have the drivers installed and the connection with the PC is good. I have attempted to run the 1 click roots in "charge only" AND "PC Mode". Debugging is on and I am set to allow non-market applications.
Suggestions?
Thanks,
Tracker
Update: in trying to manually remove old superuser file with adb shell, I just can't seem to get the # prompt to execute the commands even after running Pete Souza's exploits.
suggestions?
Hope somebody comes up with an answer - same thing happened to me.
did you use the d3 root method? thats the only one that works 100% on gingerbread.
Yes. I used the "Pete's Motorola Root Tools.exe" program on Win7:
psouza4.com/droid3/#root
I also followed the "Droid X Notes" section at the bottom even though I have the D2 and I'm not able to get the "adb shell" ending with #.
SOS!!
Thank you for such a clear, concise post! I am in the same boat with no luck. I used the one click root for D3 which says it will work for a number of Android phones, including the D2 Global, but is NOT working with my D2. I have run the application two times and both times it went through the entire process, rebooted my phone three times and said success but...no success... I am sooo bummed as the only way I get internet at home is via Wireless Tether which I can no longer use because I do not have Root access!
Desperate in Cool (the name of the town I live in), I need help!!
Thanks in advance,
Jeni
Yeah, still no joy here. I've retried everything that I mentioned in the OP and still can't get the # so I can execute an un-root and/or re-root as described on Pete's website.
I've tried it on both a Win XP and a Win 7 machine.
Anyone have any suggestions? It appears the D2 Gingerbread firmware doesn't want to allow permissions to modify certain portions that were allowed before.
Success
I didn't so much fix the problem as hit it with a bat until it shattered, then rebuilt it.
My fix was to SFB the phone back to Froyo with factory defaults, activate it with Verizon (at this point I have no software added or accounts set up on it so obviously no root), apply the OTA update to GB, perform the 1-click Root which worked this time, then setup my google accounts and install Titanium Backup which I had previously used, and restored all my data from it.
At this point I'm getting some force-close errors which I'm sure are related to the Titanium restore but I was able to ADB Shell in and SU so I know I have rooted it properly and at the very least I will do another clean wipe and restore individual applications one at a time so I know which aren't working right and go from there.
Good luck everyone!
My fix was to SFB the phone back to Froyo with factory defaults, activate it with Verizon (at this point I have no software added or accounts set up on it so obviously no root), apply the OTA update to GB, perform the 1-click Root which worked this time, then setup my google accounts and install Titanium Backup which I had previously used, and restored all my data from it.
Click to expand...
Click to collapse
I kinda figured that this would work. I'm trying to avoid a full nuke of the phone, but so far it appears that this is the only work around.
Anyone else got a plan?
Only option I was going to provide was SBF to 2.3.2 with RSDlite and re-flash the OTA, then run the Droid3 exploit.
I have a D2G and I had the exact same problem. I did an OTA upgrade without un-rooting (I was earlier rooted using z4root). I had a long discussion with Pete Souza, the guy who created 1-Click root. And he agreed to help me out. He did a remote to my computer and rooted my D2G. I am going to try to reproduce all the steps here.
Situation: Was rooted using z4root. Had Superuser and su binary both on my phone but root was not recognized by titanium Backup, SetCPU, etc.
Resolution:
Run Psouza's 1-cick root http://www.psouza4.com/droid3 (ensure u have motorola drivers)
First try the Root, and if that does not work only then continue with the following steps. I got an error after step 3 which said the phone cannot be rooted (or something like that). The first two steps were a success.
Now that the root is not working, run the Temp ADB Root from the same app. In my case even that failed - but Pete said that ignore the failure message.
Now, I need to delete the su and busybox which are leftovers from the earlier root.
Open a command prompt in the support_files folder where adb is located.
Get into the shell by typing: "adb shell"
type "/system/xbin/su"
This will pop-up a prompt on your phone to allow Superuser access - just click Okay.
The $ sign will change to #
Now type "busybox mount -o remount,rw /dev/block/mtdblock3 /system"
now type "cd /system/bin" This is where your su and busybox are.
Type "rm su"
Type "rm busybox"
After this just exit out of everything and run the 1-click root again. It should work now.
======================
All credits to psouza www.psouza4.com
======================
drumster said:
I have a D2G and I had the exact same problem. I did an OTA upgrade without un-rooting (I was earlier rooted using z4root). I had a long discussion with Pete Souza, the guy who created 1-Click root. And he agreed to help me out. He did a remote to my computer and rooted my D2G. I am going to try to reproduce all the steps here.
Situation: Was rooted using z4root. Had Superuser and su binary both on my phone but root was not recognized by titanium Backup, SetCPU, etc.
Resolution:
Run Psouza's 1-cick root http://www.psouza4.com/droid3 (ensure u have motorola drivers)
First try the Root, and if that does not work only then continue with the following steps. I got an error after step 3 which said the phone cannot be rooted (or something like that). The first two steps were a success.
Now that the root is not working, run the Temp ADB Root from the same app. In my case even that failed - but Pete said that ignore the failure message.
Now, I need to delete the su and busybox which are leftovers from the earlier root.
Open a command prompt in the support_files folder where adb is located.
Get into the shell by typing: "adb shell"
type "/system/xbin/su"
This will pop-up a prompt on your phone to allow Superuser access - just click Okay.
The $ sign will change to #
Now type "busybox mount -o remount,rw /dev/block/mtdblock3 /system"
now type "cd /system/bin" This is where your su and busybox are.
Type "rm su"
Type "rm busybox"
After this just exit out of everything and run the 1-click root again. It should work now.
======================
All credits to psouza www.psouza4.com
======================
Click to expand...
Click to collapse
IMO this instruction should be stickied.
This worked perfectly on my wife's D2G. Rooted Gingerbread = a good start to the day!
Awesome! Thanks!
Just wanted to say I think i love you...this worked for me after two tries on my Droid 2.
First time I was able to remove su and busybox...then when I applied the one click root again, it said there were a bunch of errors but still succeeded. After the reboot I didn't get superuser access yet so I went through deleting su and busybox again (but busybox wasn't found)
The second time i decided to restart my phone before running the script again and when attempting to verify if su was still installed by going into adb shell...it said my phone was already rooted.
Thanks!!
Awesome!
Thanks! This worked for me as well! (after additional reboot)
Good Info but one problem for me
Since I did the OTA Gingerbread, I cannot get into debugging mode. I have uninstalled the Moto drivers & reinstalled using my administrator profile on Windows 7. I have also sbf my phone. Wipe cache. Factory reset. Activate service (NOT download or sync w/ google). OTA Gingerbread. This is on a regualr D2. Anyone have any ideas on how I can get into debugging mode. Otherwise I can't do anything.
Thank you!
I am so glad I found this post and the directions posted by drumster. I had previously used z4root and had not unrooted before allowing the Gingerbread upgrade. Pete's application fixed my Droid 2 on the first attempt; no other steps were needed.
Thanks again,
Andrew
awesome
psouzas 1 click worked for me. Droid 2. previously had rooted with deroot method until it updated by itself to gingerbread which broke root.
enabled usb debugging
in pc mode, clicked on souza's link and followed instructions
i have win 7 64 bit computer
It works
I just got it to work. I was on rooted froyo. Sbf'd back to stock froyo. Downloaded and installed OTA G bread. Then I had to run the D3 one click root method twice but the 2nd time it worked fine.

Categories

Resources