remount failed: Operation not permitted - Desire Q&A, Help & Troubleshooting

My original problem is that I ran the OTA upgrade of Froyo like an idiot the day I bought my Desire here in India. Now, I am trying to downgrade the HBOOT so that I can root my device.
Now the issue is that I am not able to follow the procedure to downgrade the HBOOT as I am unable to push the flash_image and the mtd0.img into the data folder as I get an error "remount failed: Operation not permitted" when I try to remount.
I have tried to access shell and do a 'su' which again comes up with the 'access denied' message.
Can anyone help me get rid of the access issue so that I can downgrade the HBOOT and root my device?

Related

[Q] Q - Undo Simple Root, ADB & Bootloader Issues

I have completed SimpleRoot 1.47 and want to go back to 100% stock, non-rooted, non-nand. I know there is a wealth of information here, and have tried searching for the resolution for the past two and a half hours with no luck.
Here is what I've done so far:
I have tried simply using the RUU_Supersonic_1.32.651.1_Radio_1.39.00.04.26_release_171253 but that gives me the "Error 140 Bootloader Version" issue. Trying to install from the sdcard from a .zip file returns "Main Version is older - update fail!"
I there went to Toast's Part 2 (as I found I was supposed to) but cannot follow his directions. First I get the "No such file or directory" error when trying to issue the "cat" command. I then tried "adb push" and "adb shell mount /sdcard"; both these commands return the error "adb: not found".
Trying "adb remount" lists the error "adb: not found" again. If I try "adb remount" before "adb shell" I get the error "remount failed: invalid argument"
Device Details:
Recovery RA-evo-v1.7.0.1
HBoot 0.79.0000
Radio 1.39.00.04.26

su: unknown user root

I permrooted pre-OTA, and received the OTA shortly after rebooting, which broke my permroot. I wiped, downgraded, installed OTA and tried permrooting again but now when I type su, term returns 'su: unknown user root' rage works to drop me in a root term, but following the process does not succeed in giving me permroot.
When trying to find any more information about the error I've been getting, I've tried 'whoami' and 'passwd' and they both return 'uknown uid 0'
Any thoughts?
Sent from my T-Mobile G2 using XDA App
the initial root was done with visionary, but i have tried rage in addition.
bump..any ideas?
do i need to play with any permissions when i get temproot via rage??
bump......
bump msglength
jakobdroid said:
When trying to find any more information about the error I've been getting, I've tried 'whoami' and 'passwd' and they both return 'uknown uid 0'
Click to expand...
Click to collapse
whoami and passwd are failing because there is no passwd file. But it's saying you are uid 0, so you are the root user.
What happens when you try the rage method, do you get error messages ? Which bit isn't working exactly ?
If you got temp root then try the gfree method for perm root.
Sent from my HTC Vision using XDA App
following the steps everything goes well until
# /data/local/tmp/root
i get:
mkdir failed for /system/xbin, File exists
cp: can't stat '/system/bin/su/su' : Not a Directory
jakobdroid said:
following the steps everything goes well until
# /data/local/tmp/root
i get:
mkdir failed for /system/xbin, File exists
cp: can't stat '/system/bin/su/su' : Not a Directory
Click to expand...
Click to collapse
The "mkdir failed" message is normal, just ignore that.
But the "cp" message indicats a problem. Check the files on your sd card, have you already got a folder called "su" on it before you started this procedure ? Because that will make things go wrong, there needs to be a *file* su on your SD card, after you have copied it across from your PC using "adb push". If you already have an "su" directory, rename it as something else, then start again with the procedure.

[Q] Problem with shell

I upgraded my desire HD to build 1.83 and accidentally deleted system/bin/sh. Now im trying to downgrading as shown in this post
http://forum.xda-developers.com/showthread.php?t=905003
but when I trying execute command adb shell chmod 777 /data/local/tmp/psneuter I get
- exec 'system/bin/sh' failed: No such file or directory (2) -
is there a way to downgrade my phone?
Thanks in advance.
Try a factory reset see if that helps.

[Q] Downgrading Issue

I want badly to root my phone but when I try to downgrade from 2.36 to 1.3x build number so I could root the phone I have an issue. when tiping the comand lines in cmd, after the line:
adb shell /data/local/tmp/psneuter
I get an error in CMD saying:
Failed to set prot mask (Inappropriate ioctl for device)
I don't know what is causing that problem .
Thanks in advance for any replies.
Use Gingerbreak.
but don't I have to downgrade before using Gingerbreak? ://
If you have S-ON you will have to downgrade first.
Check the Downgrade and gingerbreak threads.
Yep, read the Downgrade guide more carefully. The FAQ in downgrade thread would have also answered your question...

/system/bin/debuggerd error

Hi guys,
here's the thing.
I'm rooted with stock rom and want to have lollipop by OTA.
steps I've been doing until now:
1. full unroot thru supersu setting
2. flash stock recovery, extracted from OTA
3. Got error /system/bin/debuggerd unexpected blabla.. (status 7)
4. Tried to relock the bootloader
5. same error as point no 3
I think it's because link2sd messing my debuggerd file.
any advise?
where can I find original debuggerd and debuggerd.bin file?
really need those files
edit: try to replace debuggerd with debuggerd.bin, but adb shell give me error "read only"
edit 2: managed to replace debuggerd with /system/bin/debuggerd.bin with adb shell
but when every time it boots, file "link2sd" debuggerd always come back
Guess this is link2sd issue

Categories

Resources