[Q] ROM MANAGER question - Nook Color General

I accidentally selected HTC ( next to NOOK COLOR ) when trying to install CWM in ROM MANAGER. Now it says current version is 2.5.0.7 and suggests to update to latest v3.2.0.1. However, when I select the upgrade option I get the error " An error occurred while attempting to run privileged commands"
The same error shows up when I try to run permissions. Market doesn't give me the option to uninstall ( only open ).
I am running CM7 #114 & OC 20110618 on EMMC.
Thanks for your help.

Griffith500 said:
I accidentally selected HTC ( next to NOOK COLOR ) when trying to install CWM in ROM MANAGER. Now it says current version is 2.5.0.7 and suggests to update to latest v3.2.0.1. However, when I select the upgrade option I get the error " An error occurred while attempting to run privileged commands"
The same error shows up when I try to run permissions. Market doesn't give me the option to uninstall ( only open ).
I am running CM7 #114 & OC 20110618 on EMMC.
Thanks for your help.
Click to expand...
Click to collapse
your "An error occurred while attempting to run privileged commands" is coming from a lack of SU access to that program. Try going to the SU icon and making sure your ROM Manager has the elevated SU access permission.
You can always download the recovery image from Koush's website Recovery Image Link .
store just the image in the root of the SCard then from you CMD ADB prompt or the terminal emulator type. only type the ADB shell if you are using the SKD ADB to talk to the device.
Code:
adb shell
su
flash_image recovery /sdcard/recovery.img
and that should reflash the correct image.

Thank you so much - that fixed the issue right away.
Tom

Griffith500 said:
Thank you so much - that fixed the issue right away.
Tom
Click to expand...
Click to collapse
NP glad i could help you out.

Related

SU - Reboot - not permitted!

Hi all,
Didn't find anything on this, hoping for some clarification.
Shell snippet(terminal on phone):
$su
#reboot
not permitted!
in short - reboot and reboot recovery commands do not work via terminal. want this ability for GScript.
i installed the super boot image from modaco, i've re-installed the superuser.apk and also ran the commands manually from /superboot/superboot.sh on the phone...is any one else having this problem or has anyone found a solution to the issue? please also note that i have in fact reflashed the superboot image twice now, still no resolve. halp!
Same issue
I still have the same issue... I can't do it
check permissions in SuperUSER.apk and see if you have it enable to do so
Hi all,
i get the same issue on my EVO 4G. not permited! when i type reboot or reboot recovery and i know for a fact that supersuer allowed root access to TU. this used to work before on superuser 2.1 now i have SU 2.3.5. anyone ?
i have the same problem -.-
Do you have the toolbox binary in /system/bin as well as a symlink named reboot pointing to it? 'reboot' is not a native command and you'll find that most (if not all) "shell commands" are actually binaries and shell scripts. Even something as simple as 'mv' (move) is a binary, not built into the shell. Ensure that you have a reboot symlink that points to toolbox. It's quite possible that your rom (or superboot) doesn't include it.
You can also download Quick Boot by Sirius Applications Ltd. From the market. It lets you reboot, reboot into recovery and reboot into fastboot, plus you can make shortcuts to each different reboot on your home screen. (market link)
Have busybox installed..(think thats what Chains jus said)
if you do.. try this
Busybox reboot
ilostchild said:
Have busybox installed..(think thats what Chains jus said)
if you do.. try this
Busybox reboot
Click to expand...
Click to collapse
I was using the extended controls widget but that stopped working.
running su, reboot, gives not permitted!
running su, busybox reboot, gives no error but doesn't reboot the phone.
trying the quickboot app now ...
*** quickboot works great ... I don't know what the problem is though ..
this command work well!
command : busybox restart -f
i can use this command to restart samsung and htc phone
here's the latest--
http://dl.dropbox.com/u/28338566/Superuser-3.0.7-efghi-signed.zip
Had same issue till I flashed this
I forget if I just flashed or extracted the apk and pushed--sorry--just had sugery and not remembering all that well
I flash different roms so hope someone can ok this for any rom--not sure why not
Anything new on this? I am having the same issue with my HTC one. With busy box installed there is a reboot bin in /system/bin that gives the "Not permitted!" Message when ran from the phone.
Busy box installs reboot in /system/xbin and when you disable or remove the reboot binary in /system/bin it executes the one in /system/xbin however it does nothing unless you add a -f to the command' and all you can do is regular reboot (no bootloader or recovery)
Works:
/system/xbin/reboot -f
Reboot recovery command using adb shell on computer
Does not work:
/system/bin/reboot [anything]
/system/xbin/reboot -f recovery (boot loader,etc)
This stinks because rebooting to recovery from apps won't work
There must be a way to hack this into a working reboot recovery command
Ok
Sent from my SGH-M919G using xda premium
orthonovum said:
Anything new on this? I am having the same issue with my HTC one. With busy box installed there is a reboot bin in /system/bin that gives the "Not permitted!" Message when ran from the phone.
Busy box installs reboot in /system/xbin and when you disable or remove the reboot binary in /system/bin it executes the one in /system/xbin however it does nothing unless you add a -f to the command' and all you can do is regular reboot (no bootloader or recovery)
Works:
/system/xbin/reboot -f
Reboot recovery command using adb shell on computer
Does not work:
/system/bin/reboot [anything]
/system/xbin/reboot -f recovery (boot loader,etc)
This stinks because rebooting to recovery from apps won't work
There must be a way to hack this into a working reboot recovery command
Click to expand...
Click to collapse
I'm having the same problem. I did notice that my system/xbin folder is missing quite a bit of the files as the system/bin folder, including the reboot file. I assume it doesn't need to mirror it exactly, but should it have the reboot file also? If not, should there be a symbolic link in the xbin folder to link the reboot file in the bin folder? Thanks in advance for any and all help.
By the way, I am rooted, boot unlocked, and s-off running the Android Revolution HD rom.
I had this issue now reboot works (in a way)
This might be naughty of me to bring up an old thread but others have done and its only a few weeks sincle last post...
Anyways I had this issue from what I have read it only happens to people to certain people on certain phones.
I was able to reboot though a mobile terminal emulator, ssh, and though the shell while in usb.
I noticed that only though ADB would it accept reboot (security reasons?) so I read a nifty article on using ADB though tcp and to make it more secure I used it though localhost since only I can use it.
here is the commands that I used:
Code:
stop adbd && stop adb && setprop service.adb.tcp.port 5555 && start adbd && sleep 4 && adb connect localhost && adb reboot
It feels more like a work around but my personal goal was reboot my phone though a remote sms (remote terminal) and it worked within a shell so wohoo. I hope it helps someone and setting ADB to listen on usb is
Code:
setprop service.adb.tcp.port -1
I had to use sleep to make sure ADB started before I tried to connect... you can add reboot bootloader...etc..adb commands....
I guess you can make this into a file called myReboot.sh and link it to make it a "command"
My solution
To root, updated version of Android Gingerbread, from there, I downloaded the same version, but Japanese, walked into the boot, and updated to version japonsa from there to root nexus one and go.
Download quick reboot form the play store
Sent from my Nexus 7 using XDA Premium 4 mobile app
SU - Reboot - not permitted! solved
SOLVED:
Not all linux commands r available on andriod(depends upon rooting how u did that), to do that just install BUSYBOX.
After installing busybox u have every command. Enjoy

[Q] Need help installing a recovery image

I have a Sprint HTC Hero which until yesterday had never been rooted. Software version was 2.31.651.7. I'm trying to install CM6 using these instructions.
http://wiki.cyanogenmod.com/index.php?title=Full_Update_Guide_-_Sprint_Hero_with_Android_2.1
I have rolled it back to 2.27.651.5, as suggested in the above article and I used the universal root method, which seems to have worked. Then when I started the Flashing Radio step I realized that they left out how to install a custom recovery image. I searched and found these instructions:
http://forum.xda-developers.com/showpost.php?p=4898505
After figuring out what adb and fastboot are, I was able to run 'adb devices' which shows:
List of devices attached
HT99RHF03843 device
I then ran 'adb shell reboot bootloader' which gave me the screen with the three androids riding skateboards. Info from that screen:
HERC XC SHIP S-ON
HBOOT-1.47.0000 (HERO20000)
MICORP-0110
TOUCH PANEL-SYN0104
RADIO-2.42.01.04.27
Mar 1 2010,16:02:39
When I try to run 'fastboot boot recovery-RA-heroc-v1.6.2.img' I get:
downloading 'boot.img'... FAILED (remote: not allow)
This is were I'm stuck. 'fastboot devices' shows:
HT99RHF03843 fastboot
I've tried searching and most of what I found is over a year old and says something about a perfect SPL, but I gotta believe there is some way around this. I do believe the root worked because I can do an 'adb shell' then 'su' and I get the # prompt. If I can't get a custom image on I'm just going to buy a new phone so I'm willing to risk bricking the phone to get this to work. If anyone knows a way around this I would greatly appreciate some assistance. Thanks.
-Iz-
1. I think you have the latest radio - might not need to flash a new one.
2. About flashing recovery, it's pretty easy -
a. Download the recovery image you want and put it on the SD card (not in any folder)
b. Goto ADB shell and run following commands:
- "flash_image recovery </sdcard/image name>" without quotes and "<>" - replacing image name with the actual file name with extension that you saved to the SD card
- reboot recovery
I am assuming once rooted, you can get to adb shell from your computer.
Let me know if you have further questions.
Thanks for the suggestion here is where I'm at now.
adb shell puts me at the $ prompt, when I type 'flash_image recovery recovery-RA-heroc-v1.6.2.img' from there I get 'flash_image: permission denied'. I also get that if I type gibberish for example if I type 'djherjn' i get 'djherjn: permission denied'. If I use 'su' to get to a # prompt, then run the command I get 'flash_image: not found', If I type gibberish at the # prompt I get 'djherjn: not found'. So it looks like it does not recognize the command flash_image. I checked path using 'echo $PATH' on both prompts it returns '/sbin:/system/sbin:/system/bin:/system/xbin'. Odd thing is there is no /system/sbin directory and flash_image is not located in any other directory. I'm starting to think the phone isn't really rooted. But when I run the universal root again it says phone is already rooted.
You are missing some words on the flashing I think...try this instead.
Connect your USB from the phone to PC choose Charge only.
Now open up Command Prompt(CMD) and type adb shell. Then just to be safe type SU...if SuperUser asks for permission on your phone, give it permission. Should give a # sign instead of $.
Then type ---- flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img
You forgot the /sdcard/ from what I read from your post.
With the device set to charge only, adb does not see it. I've been having to set it to HTC Sync, just tried again to make sure. I'm still getting 'flash_image: not found' when I type the command 'flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img' from the # prompt. I also tried 'cd sdcard' and then 'flash_image recovery recovery-RA-heroc-v1.6.2.img' still same error. 'ls sdcard' does show the image in that directory and I'm using copy and paste to avoid typos. I'm still thinking it is complaining that there is no flash_image command. I'm going to re-flash it with the HTC software and start over just in case I screwed something up.
I had the same problem.
Before you go ahead with flashing HTC software, try the ROM manager app from the market. You could flash the ClockWorkMod recovery from ROM manager.
If that does not work, don't waste any more time - go the RUU route (preferbaly using the 2.27.651.5 release) and root using: http://forum.xda-developers.com/showthread.php?t=694572.
I just went through a bunch of issues with recovery/backup/restore and such, so consider this fresh advice ;-).
izard said:
With the device set to charge only, adb does not see it. I've been having to set it to HTC Sync, just tried again to make sure. I'm still getting 'flash_image: not found' when I type the command 'flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img' from the # prompt. I also tried 'cd sdcard' and then 'flash_image recovery recovery-RA-heroc-v1.6.2.img' still same error. 'ls sdcard' does show the image in that directory and I'm using copy and paste to avoid typos. I'm still thinking it is complaining that there is no flash_image command. I'm going to re-flash it with the HTC software and start over just in case I screwed something up.
Click to expand...
Click to collapse
EDIT: Andy beat me to it!
If you want Amon-Ra you have to choose Flash Alternate Recovery.
Finally got it! I used the ROM manger app. I swear last night when I was considering it, I only saw the paid version. That was so much easier then what I was doing. Thanks everyone for your help. It is highly appreciated.
-Iz-

Droid root issues: update.zip successful but no root

I've been trying to figure this out all day and I'm stumped.
My stock Droid recently failed to get past the bootloader.
I'm following the directions from the CM Wiki titled "Motorola Droid: Full Update Guide" (no direct link because of my new account, sorry) and others I've found and they all seem to be exactly the same.
I've got SPRecovery installed no problem and after I run the update.zip I get a successful install message, including "enjoy your root".
The problem is in the next step where I ADB it doesn't appear I actually have root access.
I think this may be because I'm connecting to my phone from the SPRecovery menu, but I'm not sure.
This is what my cmd screen looks like when I try to follow the steps under "Installing ClockworkMod Recovery" > "Second Method (manual method)".
Code:
C:\Users\XXXX>adb shell
/ # su
su
/system/bin/sh: su: not found
I noticed that in SPRecovery there are "mount options", so I tried mounting /system and trying again and I get basically the same thing, but without the "/" and without the directory
Code:
C:\Users\XXXX>adb shell
# su
su
su: not found
I'm not Linux savvy enough to know the difference unfortunately. I've tried 3 different update.zip from 3 different sources, but all appear to be the exact same thing.
Typing "busybox" in the ADB shell kicks back all the functions so it appears to be installed.
"adb devices" kicks back "040388990E0EDITED recovery"
Any ideas would be greatly appreciated, it's getting very frustrating.
Do you have the opportunity to root your phone from the Recovery-Menu?
I have OpenRecovery (OR) and when I boot in OR i can manually chose to root my phone.
----wrong----
Quinity said:
You can also simply download the SuperUser App from the market. This roots your phone.
Click to expand...
Click to collapse
I'm about 99% certain that is false. If it was that easy, I would have heard about it. Plus the only SU app on the market states " Grant and manage Superuser rights for your phone. This app requires that you already have root.."

[Q] ADB "device not found" after "adb reboot recovery"

I am trying to install the Cynogenmod 12 ROM on my Ouya. One of the prerequisites is the Ouya Bootmenu, which requires a recent ClockworkMod to be installed.
I have ADB installed.
On my Windows PC, I type "adb reboot recovery" and my Ouya reboots to a screen that says OUYA with a red exclamation mark.
On the OUYA, I hit my HOME key, and select to sideload from ADB. Yellow text appears on my OUYA screen that says "Now send the package you want to apply to the device with "adb sideload <filename>" ..."
Back on the Windows PC, I try typing "adb sideload recovery-clockwork-6.0.4.8-ouya.zip" and get "error: device not found".
It appears that the OUYA isn't visible to the PC when it is in recovery mode, which seems to be a bit of a problem.
Well you might get told this is the wrong section for this question but I'll just try and answer here.. The red ! is stock recovery so sideloading probably won't work, you'll have to follow instructions HERE to ensure adb is working and superuser is good, then I personally used the manual method HERE to get CMW installed, finally you just flash the boot menu zip and you're good to go!
The issue was that the CWM was getting over written every time the OUYA booted.
By deleting all the partitions, and then installing Bootmenu, CWM, and the new ROM without rebooting I kept it from doing that.

Aishon A19--have root, sort of, need to install SuperSU

Problem: I have an Aishon A19 tablet, which it is very hard to find information about. It is an RK3288 tablet running Android 5.1.1.
It is not really rooted in the normal sense. However, "adb root" works; I can get a root shell and mount /system as writeable, I can push any app I want to the device, etc.
Things that will not work:
-- I tried to put on a /system/xbin/su (from SuperSU 2.76), with mode 6755 (rwsr-sr-x) and it didn't work. I also made symbolic links to /system/bin/su and /system/xbin/daemonsu. Running it from a non-root shell in adb prints a 1 and doesn't give me root. Running it from a non-root shell on the tablet does the same thing. Running it from a root shell gives me no error, but that obviously isn't much use.
-- Running SuperSU as an app gives me the error message about "There is no SU binary installed, and SuperSU cannot install it. This is a problem! If you just upgraded to Android 5....." I have no idea if it actually can't see the ./system/xbin/su or if the error message just isn't that good.
-- Trying to use "adb reboot bootloader" or getting into the bootloader using buttons doesn't work. It reboots the tablet into a blank screen, with the same vendor ID and a new product ID; however, "fastboot devices" shows nothing. This happens both under Windows and Linux, and even when run as root under Linux (thus not having to worry about udev rules). This means that I cannot install TWRP unless someone can explain to me how to install TWRP without using the bootloader.
I *can* use "adb reboot recovery" and get into the recovery menu. And as I mentioned, I can get root access to the tablet and a root shell using "adb root", and push any file I want to it.
Is it possible to use this root shell and/or recovery to install SuperSU somehow, even if I have to just copy files one at a time?
Edit: Moderators., you can lock this. Someone had the same problem in http://forum.xda-developers.com/apps/supersu/how-to-manually-update-su-supersu-file-t3238991 and I was able to folloow that, manually running the commands in update-binary.

Categories

Resources