Hello friends ...!!
Here this is my first ever post on terminal emulator
I have searched about terminal commands and finally I found some of them really awesomeAlert -> I am not responcible for any brick or any data loss of your device. Do it on your own risk
Lets start step by step....
1 . phone must be rooted and must be superuser available
2 . install terimal emulator from google play
3 . open terminal emulator and type following commands
Code:
su
-> granting permission as superuser
Code:
rm data/system/gesture.key
After aplying this command Pattern lock will be removed successfully..
Hit thanks button If It really helps you
Thank you
Great
Related
Hi Guys,
I've just followed a guide to rooting my phone as it seems to be the 'in' thing round these parts
Just 1 question is there an easy way to check it's now rooted successfully?
Cheers
Paul
this topic has been answered multiple times in these forums!
but the answer is "adb shell su"
i have searched but not found the info you mention.
Ok i have run that command from windows and it just seems to freeze with
#
If i run this from CommandBot i get
adb: permission denied
so i presume the root didnt work?
If i look in the applications window i now have an option in there now called 'Superuser permissions' - there were 2 entries in here which i pressed on and now they've dissapeared, shouldnt i have done this?
Download terminal editor.
Type "su"
do you have a # now? No? Well you are not root.
So I feel like a total Noob, which i am, but I cannot get this new Kernel to work for me. I do the following steps:
1) Open Terminal Emulator (install it from market if you don't have it).
2) Type "su" (without quotes) and hit enter.
3) Type "speedtweak.sh" (without quotes) and hit enter.
When I type in and I get speadtweak.sh and i get Speedtweak.sh not found... what in the world am I doing wrong?
when terminal boots up I get:
$ export PATH=/data/local/bin:$PATH
$
when your terminal boots up-
$ export PATH=/data/local/bin:$PATH
$
-- You need remember ALWAYS lower sensitive case characters
type su hit return
it will come up #
then
type speedtweak.sh hit return
There you will access the dialog output from speedtweak.sh.
Good luck
You have to install BusyBox. If you haven't it'll show up as "not found".
Having same issue. Busybox is installed even tried using adb shell. Any advice?
Did you install the kernel through Rom Manager or through Recovery? If it was through Rom Manager it could have been a bad flash.
Also, you can try this
I found this thread through google, searching for "speedtweak.sh not found." I dislike necroposting but I tried various suggestions found on multiple websites and none of them worked for me. I kept getting the same error code. Hopefully this will help someone else with the same issue. I don't know much about Linux/Unix so I am always extremely methodical about typing in commands precisely as they're posted, double-checking each step so I'm certain I did everything correctly.
I finally solved the issue for me by entering in the following in Terminal Emulator.
su
/sbin/speedtweak.sh
Typing in the full path for the speedtweak script worked for me. Perhaps someone with more experience can explain why that was necessary. Were we working in DOS, I'd know to add C:/sbin/ to the autoexec.bat path line... :silly:
Terminal emulator from the market had something changed in the last update so for some reason now you have to manually enter it or change the path in the settings.
Sent from my ADR6400L using Tapatalk 2
Ok so some background, I am running the newest molten and enjoying it thouroughly but just noticed that when i open terminal emulator and type SU to get root access in the terminal it says permission denied and most other commands return same error, i downloaded a differant terminal emulator that checks for the su.bin and it shows no su binary is installed yet when i goto the directory system/bin/ in es file explorer su is indeed there?
Could someone please tell me why none of the terminal emulators are finding the superuser binary? I ve already tried opening superuser app and updating the su binary (it did update and i rebooted after) but it hasnt helped, I also read on other forums that there are multiple su binaries on some phones? could this be the problem and if so where would i find the right binaries?
It just seams odd that terminal emulator would be included in the build if it is completly unusable
su then hit enter
lol, thanks, im not the smartest with linux commands but i know to hit enter.
I tried typing su and hitting enter in 3 differant terminal emulators but keep getting permission denied in all of them
You should get a super user request once you hit enter. Maybe permission was already denied. Try clearing defaults for su.
Sent from my DROID X2 using xda premium
Did you recent apply the 2.3.5 update? When I went from rooted 234 to 235 I lost root privileges even though the superuser app was still there.
Could be your root isnt quite right. What setup do you have. Also try going into your superuser application and see if they are on the not allowed list.
Also should go from a "$" to a "#" sign after you hit enter if su took.
thanks for the ideas, that really narrowed it down, i cleared data for superuser and terminal, reinstalled terminal, still didnt work.....then i realised im a idiot, my keyboards autocap was on and su has to be "su" not "SU"
lol well thanks again for all the help
brilock42 said:
thanks for the ideas, that really narrowed it down, i cleared data for superuser and terminal, reinstalled terminal, still didnt work.....then i realised im a idiot, my keyboards autocap was on and su has to be "su" not "SU"
lol well thanks again for all the help
Click to expand...
Click to collapse
If it is solved then put (solved) in the OP subject line and list what fixed it for you. It can help future users
Pesky case sensitive terminal
Sent from my DROID X2 using xda premium
No SU in SSH
su did not work here as I did use a bad SSH-app.
I now use sshdroid
I am trying to Install apk and run it with command line
to Install apk
adb install myapk.apk
Now I am trying to run it with commands .. and after Googling I found something like
adb shell am start -n com.other.ProjectName/.MainActivity
How to know com.other.ProjectName and .MainActivity of an installed apk ..
any easier method will be helpful
U can use
adb pm list packages
command to view the packages installed in your device.
Regards,
Karthick
this command does not seems to work
how do i know and understand the logic of your.package/.YourActivity
stiphen said:
I am trying to Install apk and run it with command line
to Install apk
adb install myapk.apk
Now I am trying to run it with commands .. and after Googling I found something like
adb shell am start -n com.other.ProjectName/.MainActivity
How to know com.other.ProjectName and .MainActivity of an installed apk ..
any easier method will be helpful
Click to expand...
Click to collapse
Follow the steps below.
1. Install the attached .apk for ADW Launcher.
2. Open the Menu.
3. Swipe to the "Add" section of the menu and tap "Custom shortcut".
4. Now tap "Activities".
5. You will be presented with a list of all the apps you have installed; tapping on one of them will drop down a list of all of the packages available to launch for that app. Tapping on one of the packages will create a shortcut for it on the ADW Launcher homescreen.
Hope this helps! :good:
You can see in root/data/apps
Much easy if you use apk installer.exe. You can install apk, lunch, take screen short by singal click.
Sent from my Smartfren Andromax AD6B1H using XDA Free mobile app
thanks for all of your help .. got it
I have Termux and SuperSU installed on an android 8 old console, I am able to use su in terminal, when su command is executed, SU manager pops a window for permission, if I accept, terminal user goes into su. I installed tsu package, and when I try to run any command with sudo <command>, this error shows:
Code:
/data/data/com.termux/files/usr/bin/sudo: line 304: /sbin/su: No such file or directory
No superuser binary detected.
Are you rooted?
I noticed the su binary file is under the termux app location, /data/data/com.termux/files/usr/bin/su. And I checked the sudo script under /data/data/com.termux/files/usr/bin/sudo, all su related path reference are pointing to /sbin/su, knowing that I can try to modify the script to point to the su binary under termux path, or try to make /sbin/ writable and copy su file there.
But this way seems very sketchy, I haven't try those yet, just want to know is this the right way to deal with this problem?
Here are some extra info, in case they are relevant.
1. The device is a Xiaomi MI 5, gemini, running an official MIUI rom dev ver, bootloader unlocked, rooted before. But this issue seems more of general root and app problem so I posted here...
2. I flashed a Floppy kernel for Oreo, according to author's post, root is expected to be deleted, user should install root after kernel flashed, that is what I did.
3. After 2, adb root stops to work, not giving any error, but su won't be activated when adb shell is opened, but I am able to run su in the shell, permission window will pop on phone, after granted, it's su in PC terminal. This su is under /su/bin/su
4. Usually Miui has it's own security center where I can manage root permission, but after 2, it just shows bootloader is not unlocked, and apparently it shows it's unlocked when I try to unlock it again in fastboot.
I'm thinking...may be the default su (the one i get when i use MIUI's root manager) is under /sbin/su, that's why tsu is referring to that path, and adb root would referring to it as well, but it's not there now, because SuperSU is installing su at /su/bin/su? Not sure if this theory is right...
Any ideas? Thanks!
You may try tsu. It is working for me.
Please, give it a try:
GitHub - cswl/tsu: Gain root shell on Termux.
Gain root shell on Termux. Contribute to cswl/tsu development by creating an account on GitHub.
github.com
VD171 said:
You may try tsu. It is working for me.
Please, give it a try:
GitHub - cswl/tsu: Gain root shell on Termux.
Gain root shell on Termux. Contribute to cswl/tsu development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Can I get some help.....
Here is rest