[Q] Superuser (#) Question - Eee Pad Transformer Q&A, Help & Troubleshooting

Hi All,
I would have posted this in the Root Guide thread, but I did not have permission yet. Please close if this should not be here...
Anyways, I've been trying to do the root as described in the guide and I'm able to get to the point where I have the SU (#) symbol. I then do the next steps in a separate command prompt and am at the step where I have to run the following:
dd if=/data/local/CWM_BLOB_V5 of=/dev/block/mmcblk0p4
My issue is I'm not able to type anything at the # prompt in the original command line window. I can't type, paste, etc...so I'm unable to run that command. Is there anything I'm missing when I get to this:
[!] dance forever my only one
#
Do I have to wait for some time before I'm able to type?
Thanks,
Tony

Related

{Howto}Downgrrade form rooted 1.47.651.1

Ok... If your wimax isn't working and you want to downgrade to try to get it working this is how to do it...
1st get all of the files like you want to do Toast's Part-2. link: http://forum.xda-developers.com/showthread.php?t=701835
Then do this part:
STEP 2~FLASHING MTD PARTITION TO ENABLE DOWNGRADE:
- download all files posted above
- unzip the flash_image.zip and the mtd-eng.zip
- put the flash_image and mtd-eng.img on the root of your sdcard
- go into shell on ur pc and do:
adb shell
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image misc /sdcard/mtd-eng.img
- this should only take a second or two
- now put the PC36IMG.zip on the root of your sdcard
- power off the phone
STEP 3~FLASHING ENG BUILD:
- hold volume down + power to boot into hboot
- it should now find and verify the PC36IMG.zip on the root of your sdcard. itll show a blue status bar on the top right of the screen.
- after a minute or so it will ask u if u wanna flash SAY YES
- affter it flashes the PC36IMG.zip it will ask if you wanna reboot. SAY YES
After if finally boots you should see HTC quietly brilliant which hangs forever but it should eventually get past it. Once it does you will have the oldest everything. This is a beta build and has a bunch of tools but just do an upgrade to root like you normally would. I would suggest going to .6 then upgrading to the latest 47 from there.
Hope that this helps someone.
P.S. is anyone willing to dump all of the tools that are included in this rom. It might be helpful for the other devs.
Thats the hard way... but yeah it'l work.
Why is everyone so hype on adb everything...?
Tell me the easy way. I would love to do it instead.
kthejoker20 said:
Thats the hard way... but yeah it'l work.
Why is everyone so hype on adb everything...?
Click to expand...
Click to collapse
It's just easier to copy and paste stuff, even typing on a real keyboard. It's a pain in the ass doing it via terminal emulator with the lack of a physical keyboard on our Evo's.
Can anyone confirm if this helps fix the 4g issue?
krosemm said:
Can anyone confirm if this helps fix the 4g issue?
Click to expand...
Click to collapse
If you used the unrevoked, no it wont.
There is no fix for 4g from unrevoked yet.
Neotelos_com said:
If you used the unrevoked, no it wont.
There is no fix for 4g from unrevoked yet.
Click to expand...
Click to collapse
I used the toast method. And if i'm not mistaken I should flash roms w/o the 1.47.651.1 OTA update after downgrading right?
Nope, I try this method and it is not working. Some how the new OTA encrypted a code that any lower version will not over write it.
You don't have root access to even copy/paste or push the files to /data. I tried this and got a permission denied error message.
How do you input adb shell into Vista, I clicked "start", "run" and type "cmd" it bring up C:\users\XXXXX\ cd c:\android hit "enter"
then I type
c:\android>adb remount
Access is denied
Please advise what I did wrong. thanks
It worked for me... you have to make sure that when you enter the su command in adb to look at your phone. There should be a super user permission box that pops up. Accept it and youll be able to adb. It went fine for me after that.
urcboss07 said:
How do you input adb shell into Vista, I clicked "start", "run" and type "cmd" it bring up C:\users\XXXXX\ cd c:\android hit "enter"
then I type
c:\android>adb remount
Access is denied
Please advise what I did wrong. thanks
Click to expand...
Click to collapse
1) Put your phone on USB Debug
2) On your Phone make sure the Ninja(SuperUserPermission) is set to prompt you when you have a request.
3) go to your PC and type in adb shell
4) type in SU
5) Once do you that you will see a prompt from the Ninja asking for a request. Allow for it. And it will remember from that point forward.
6) Look at your cmd prompt screen for a # - if you have it you have full access.
Then so what commands you have been given to do.
It can also be done from the Android Terminal Emulator but some might not like working with a smaller screen I like it myself. Makes me feel geeky
mrmomoman said:
1) Put your phone on USB Debug
2) On your Phone make sure the Ninja(SuperUserPermission) is set to prompt you when you have a request.
3) go to your PC and type in adb shell
4) type in SU
5) Once do you that you will see a prompt from the Ninja asking for a request. Allow for it. And it will remember from that point forward.
6) Look at your cmd prompt screen for a # - if you have it you have full access.
Then so what commands you have been given to do.
It can also be done from the Android Terminal Emulator but some might not like working with a smaller screen I like it myself. Makes me feel geeky
Click to expand...
Click to collapse
This would only work if after the messup your still has root access. Some people have root and the "SU" will work but for the people w/o root will get access denied.
also
From above (I hate quoting) have you tried going to your tools folder inside your android folder and from there try your adb commands?
If you applied the OTA sent from Sprint, you lost root access. There will be no Ninja in the programs folder, because it was a new rom that the was flashed with the OTA. Root access has been closed for those that downloaded the update. If you try and type su, you will get permission denied.
Those of you that still have the root and superuser rights, DON'T DOWNLOAD THE OTA!! You are in a better position then the rest of us. I wanted the good battery life, so that's why I did it.

[Q] Help in "How to downgrade 1.72/1.75 to 1.32"!

I did every thing as it is mentioned in the Post, but after i enter
"./misc_version -s 1.31.405.6"
it says:
"permission Denied"
any thing else i can do?
There are two reasons which came into my mind:
1) psneuter did not manage to gain root access.
Otherwise you had permissions to access /dev/block/mmcblk0p17
Did you have "#" prompt when you entered "./misc_version -s 1.31.405.6" command or was the prompt "$" ?
2) there's something wrong with /data/local/tmp/psneuter file. Maybe missing execute permission so it gives "permission Denied" when you are trying to execute it?
Copy-paste of terminal session would help a lot.
Problem solved!
I tried the procedure 3 or 4 times and in all of them I got "#" sign I do not know what was the problem but this last time it worked!
Thank You Very Much
I have the same problem!
Thank You Very Much

"ADB Shell" gives me "#" instead of "$" when rooting MyTouch Slide, why??

"ADB Shell" gives me "#" instead of "$" when rooting MyTouch Slide, why??
trying to root my MyTouch 3G Slide. Ive tried various methods from different sites to do it but they all seem to come down to running something called "ADB Shell". On the screenshots, it seems to always give you a $ prompt. When I do it, I get a # prompt. Also, anything I type after that is just repeated back to me along with another # prompt. I find where other people get the same problem but cant find any solutions with it. What am I doing wrong?
kellyjaye said:
trying to root my MyTouch 3G Slide. Ive tried various methods from different sites to do it but they all seem to come down to running something called "ADB Shell". On the screenshots, it seems to always give you a $ prompt. When I do it, I get a # prompt. Also, anything I type after that is just repeated back to me along with another # prompt. I find where other people get the same problem but cant find any solutions with it. What am I doing wrong?
Click to expand...
Click to collapse
In Linux and Unix systems (Android Included) a # (Pound Symbol) signifies Root level access or su (Superuser) so since you're rooting your device this means you have done it, $ appears for any other user of the system
i have the same problem too. I'm using window xp and it giving me the # symbol instead of $. any suggestion to fix it? i have checked all the drivers, slideroot files are in androidsdk file
like Captainkrtek said, if you're getting a # for your adb shell, you ARE rooted.
root shell should look something like this:
Code:
$ adb shell
#

[Q] Why do I get bash-4.1# instead of [email protected]:~# ?

[deleted]
[deleted]
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
if i'm not mistaken, there is no big difference whether it displays bash# or [email protected] as long as you see the hash tag, you are under the super user or root.
The bash prompt probably was not exported so it back to it's default when you open another shell.
The prompt can be changed to whatever you want, using PS1="my_prompt".
You want your prompt to be export PS1="\[email protected]\h:\W\$ ". You can add it to the initial command (add an semicolon as a separator if you have other initial command). Don't forget to left an space to the final of PS1 or your commands will appear concatenated with the prompt.
As conectix said, the only important character is the last one: if it is a sharp the shell is executing as user, and if it is a dollar then you have root privileges.
---------- Post added at 06:05 PM ---------- Previous post was at 05:30 PM ----------
Another thing to observe is that in the post you mentioned was said that a shell is open, what fits on what I said above.
Another observation is that sh and bash are different shells. On my Terminal Emulator the default shell is sh. So if I type 'bash' it enters on bash shell and the prompt changes. Once I exit (typing 'exit') of bash it returns to sh with a simple dollar prompt (which is wrong because I'm running as a user).
You can verify your prompt by typing 'echo $PS1'. On mine it just have a dollar with an space.
Oke sure thank you for this, but why can't I use "ui" ?
it will say that the command is not found but in the tutorials and videos on youtube you can see that after they do this they immediately get a red "[email protected]:~#" instead of the "bash-4.1" and after they enter "ui" it works for them. I do exactly the same but get to command not found error.
F4LLCON said:
Oke sure thank you for this, but why can't I use "ui" ?
it will say that the command is not found but in the tutorials and videos on youtube you can see that after they do this they immediately get a red "[email protected]:~#" instead of the "bash-4.1" and after they enter "ui" it works for them. I do exactly the same but get to command not found error.
Click to expand...
Click to collapse
Probably the command ui isn't in your path. The path is where your shell searches for the binaries to execute.
You need to locate the ui binary (his path) and export a new path:
Code:
export PATH=$PATH:[B]ui-binary-path[/B]
Where ui-binary-path is the path (directory) where the ui binary is located.
PS: You need to reply me so I'll be notified of your response.
This can help you to get solution
Try executing list of following commands:
cd /etc/profile.d/
vi bash_prompt.sh and type: export PS1='[\[email protected]\h \W]$ '
su - root
Hope so the problem is fixed :fingers-crossed:
Regards,
Abhishek Kalekar

[question] adb / ubuntu shell scripting

so before i start i apologize if im just being lazy but if i have posted this somehow "wrong" or whatever i probally messed up but hey!
ok. to whom it may have answers,
first of all. i realize what i am asking is a "easySBF" but i would like to learn and write my own shell script that will do these steps.
(since this is just for me, my "required files" will be located for sure. and some of the script i got, its just some i dont)
1) adb shell ln -s /data/local.prop /data/preinstall_md5/magic.md5
2) i suppose this would require a "pause?" or whatever until it was ready to throw the next command at it?
3) sbf a custom preinstall image (sbf -r --preinstall dx.img 621.sbf)
4) have it wait for the boot after the flash is done? then reboot the phone one more time?
5) then if possible i want it to "adb shell" and check for a root prompt (# not $) ?
6) if it returns "#" (root) it would then go onto installing superuser files? if its "$" (not root) have it (if possible a countdown timer of like 10 seconds?) ask if i want to try again with another reboot or something. the timer would automatically send it into a reboot | return to #5
7) from here i have to send 6 more adb shell/push commands (dont know if i need to allow a "pause" or something between the commands to insure a working command?"
then if all goes well it would say something lame of course but ya.
i hope i am asking this in a readable way, if ive confused you (probally) then blame my upbringing or lack of concern for the english language
but if you can help then uhm. good looking out and either post it or pm me (makes it easier actually for me but anything is better than nuttin)
thank you in advance
@deadseth
"i die alot"

Categories

Resources