Can anyone give me the command for terminal emulator like copy, rename, move and any other cammands? And how do I use it. Someone said mv is to rename so I tried (mv /mnt/sdcard/"my_file_name" > "the name I wanted it to be") and it says (cannot create "the name I wanted it to be": read-only file system. I was like what!!! I typed there "/mnt/sdcard/" and it says system. So can anyone help me? I new to all this
you are new but you can search
mnt/sdcard is a system mounted path you cannot rename it with mv command
actually mv command was created for moving but it can also be used to rename (like:- mv /sdcard/file /sdcard/file.apk)
copy:- cp
go to /system/bin and /system/xbin , every file there is a command you can use all of them in terminal but before doing anything with the command read about its working properly
Thanks
A command you must never run:
stop
It instanly freezes your phone xD
Sent from my sending thing..
Android terminal commands help
http://forum.xda-developers.com/showthread.php?t=1598653
domini99 said:
A command you must never run:
stop
It instanly freezes your phone xD
Sent from my sending thing..
Click to expand...
Click to collapse
How do u stop the stop?lol if thi makes sence
Sent from my GT-S5570 using xda premium
apklike18 said:
How do u stop the stop?lol if thi makes sence
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
with the help of adb type start
apklike18 said:
How do u stop the stop?lol if thi makes sence
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
You dont understand.
My galaxy mini freezes, if i open terminal emulator, type su
And then type stop.
IT instantly freezes the phone
Sent from my sending thing..
domini99 said:
A command you must never run:
stop
It instanly freezes your phone xD
Sent from my sending thing..
Click to expand...
Click to collapse
I tried that but my phone is still working fine..................
gaganmurthy07 said:
I tried that but my phone is still working fine..................
Click to expand...
Click to collapse
Maybe you didn't su? It works, to get back to normal just pull battery and boot up
gaganmurthy07 said:
I tried that but my phone is still working fine..................
Click to expand...
Click to collapse
Mmhh.. Idk
On cm7 i open terminal emulator, type:
Su
Stop
Then the phone freezes.
Sent from my sending thing..
pls help
dheeraj (dhlalit11) said:
with the help of adb type start
Click to expand...
Click to collapse
how do i do that
domini99 said:
A command you must never run:
stop
It instanly freezes your phone xD
Sent from my sending thing..
Click to expand...
Click to collapse
I accidentally did this is there anyway I can revive my phone?
Found solution (OP 6t): hold down your power button and volume up button at the same time. It can take up to half a minute! Don’t stop after a few seconds and tip is to remove every kind of case
Related
ok this is where i am i unzipped android sdk6 on my c drive.. i put the asroot(unzipped) and the i.5 recovery image in the tools folder of the sdk.. i go to the windows prompt and type "cmd" (no quotes) screen comes up i type cd C\android-sdk-windows\tools.. press enter.. then i get "this system cannot find the path specicied" help.....
Run the setup dcs in the Android ask folder and make sure you do it as admin in Vista and 7. You'll probably have to force http in options, most people do.
-------------------------------------
Sent via the XDA Tapatalk App
darrick913 said:
ok this is where i am i unzipped android sdk6 on my c drive.. i put the asroot(unzipped) and the i.5 recovery image in the tools folder of the sdk.. i go to the windows prompt and type "cmd" (no quotes) screen comes up i type cd C\android-sdk-windows\tools.. press enter.. then i get "this system cannot find the path specicied" help.....
Click to expand...
Click to collapse
are you typing what you put above or cd c:\android-sdk-windows\tools ?
don't see the colon in there.
are you sure you installed it like Kcarp. says?
yeah i put colon still the same
ill try it again
u have a link foe kcarp.. i was doing it like fliptz says...
thanks for all your help...
i forced options but then what ther are nothing but update choices...
ok i got the problem solved it was file name... now i get down to the part where you install the 1.5 flash to the sd card and it cant find it.. yes i did remame it per the little glitch that fliptz said
darrick913 said:
ok i got the problem solved it was file name... now i get down to the part where you install the 1.5 flash to the sd card and it cant find it.. yes i did remame it per the little glitch that fliptz said
Click to expand...
Click to collapse
ok, can you provide a link of what tutorial you are following, and let us know what step # you are stuck on.
THis will make us helping you a lot easier.
i was following the thread of how to root 2.1.. i get down to the part where super user is installed on phone.. the su is there but when i open it its a blank program sheet and the cmd prompt says permission denied . what can i do? and thanks for your help..
--------------------------------------------------------------------------------
i followed the steps for rooting the 2.1 in thread.. i get down to the part where the super user is on phone i open it and the command propmt says permission denied.. and thanks for all your help....
darrick913 said:
--------------------------------------------------------------------------------
i followed the steps for rooting the 2.1 in thread.. i get down to the part where the super user is on phone i open it and the command propmt says permission denied.. and thanks for all your help....
Click to expand...
Click to collapse
is USB debugging enabled in Menu->Settings->Applications->Development
I have it.thanks.we are back.yes!
-------------------------------------
Sent via the XDA Tapatalk App
darrick913 said:
I have it.thanks.we are back.yes!
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
what fixed it?
Hello Everyone,
This is Just a small and easy mod/guide for all those who want Default Android Lockscreen and like me hate the HTC slide down Lockscreen:
Usual Warning : I am not responsible if by doing the steps below ::
You brick your phone (Highly unlikely if you follow only given steps).
Your GF starts loving your phone and wants it.
Your GF gets pregnant. Its you who did it .. well hopefully
Let's not delete your lockscreen just keep it in case you want it back. yeah yeah i am all for safety just like my rom.
(Always be safe)
STEP BY STEP GUIDE
Connect your phone and use ROM manager to reboot into recovery alternatively you can disconnect your phone reboot into recovery (vol down+power) and then connect your cable when you can see the green text.
Select partition menu or mount ** (dont remember the option its mount something something) depending on your recovery version and Mount system
Now i hope you know how to use adb. (Download and install android sdk)
Open command prompt (cd "path to android-sdk-windows/tools" without quotes) on my pc for example it is
Code:
cd C:\android-sdk-windows\tools
If you're on LINUX i am sure you know what to do.next all instructions are same:for Windows and Linux
Run following commands
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
Now you will get a nice transparent default android lockscreen.
In case you want your stock HTC lockscreen back do this
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.bak HtcLockScreen.apk
exit
I have tried this with SUnAaBh ROM and it works flawlessly and ideally should work with every ROM including those not meant for HTC Wildfire.
The suggestion in the next post i.e post No.2 will cause your framework to change i.e your Theme and look of icons on notification bar, dropdown bar, battery icon etc SO to Preserve your framework just INSTALL THIS FILE..its same from attachment.
Hit Thanks if it helped.
This doesnt fix the Alarm clock bug that appears when removing the HTC lockscreen.
This does:
http://forum.xda-developers.com/showpost.php?p=10192875&postcount=2
Using it on Wildpuzzle 0.1 with no problems.
Will using this work:
- If you set a alarm ( for waking up or something ), does it work then?
- If you start Angry Birds, to make it working I must power off my screen, go to lockscreen and unlock it. And then I could play. Does this work too with this lockscreen?
Thanks in advance!
Marc. said:
- If you start Angry Birds, to make it working I must power off my screen, go to lockscreen and unlock it. And then I could play. Does this work too with this lockscreen?
Click to expand...
Click to collapse
I am using CM7 which uses the default Android Lockscreen, and, the Lock Unlock Procedure works for Angry Birds.
Alex_GP said:
This doesnt fix the Alarm clock bug that appears when removing the HTC lockscreen.
This does:
http://forum.xda-developers.com/showpost.php?p=10192875&postcount=2
Using it on Wildpuzzle 0.1 with no problems.
Click to expand...
Click to collapse
Oops did not know of the fix.. i was working on my own thanks a lot..u saved me some work..people can use this only..i hope HewGballs wont mind..
A great post - for those that need it and much better then using ADP app etc.
warriorvibhu said:
Oops did not know of the fix.. i was working on my own thanks a lot..u saved me some work..people can use this only..i hope HewGballs wont mind..
Click to expand...
Click to collapse
No problem.
adb wont start!! help pls.. it opens just for a split second with some texts flashing then gone!!
wildfire.daniel said:
adb wont start!! help pls.. it opens just for a split second with some texts flashing then gone!!
Click to expand...
Click to collapse
Please give some details..did you double click ADB.. you should not do that::
Give some details ::
YOUR OS ?
what exactly you did.. ?
Screenshot would be nice!
Too few posts inlcude a screenshot of what they're talking about!
I have an HTC, so have no idea what the "Default One" looks like!?
Is it possible to start making these threads a "little" more user friendly?
flipmode_11 said:
Screenshot would be nice!
Too few posts inlcude a screenshot of what they're talking about!
I have an HTC, so have no idea what the "Default One" looks like!?
Is it possible to start making these threads a "little" more user friendly?
Click to expand...
Click to collapse
Can you please be a very little more tech savvy i google and found this image in less than 5 seconds.. Start using google...please
http://t3.gstatic.com/images?q=tbn:ANd9GcTupH281Sv4BurvML-kupZWBHeG014DvtPTX-edhaGLIa_PEvciJg&t=1
The background is transparent.. it will show ur wallpaper as background..Which is black here.. ::
in cmd, i typed c:/path to sdk/tools and a folder showed up.. i double clicked adb.exe and it ran for a split second then gone... my os is windows xp sp2.. so i should not double click.. what should i do??
Sent from my HTC Wildfire using XDA App
and the "cd" before the c:/blabla/blabla does not work..
Sent from my HTC Wildfire using XDA App
I've tried this a minute ago! And it's really simple.
1. Download the android-sdk-windows folder and place it anywhere
2. start cmd.exe ( open it via start > cmd.exe )
2. Enter: cd: C:\whatever\whatever\android-sdk-windows\platform-tools
3. enter: adb.exe
4. then enter the things from the first page ( the adb commands )
5. unmount system ( ! ) on phone
6. reboot phone.
And you got it! I really don't ever used adb! So it's really simple with instructions. Maybe you could include my instructions?
can somebody show screenshot with default screen lock and htc? because i dont understand know about what are you talking. I had one screen lock since i bought mob with 2.1 android and know i have other one with 2.2. / 2.3 android. I nothing changed, nothing deleted and i like it.
wildfire.daniel said:
in cmd, i typed c:/path to sdk/tools and a folder showed up.. i double clicked adb.exe and it ran for a split second then gone... my os is windows xp sp2.. so i should not double click.. what should i do??
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Did i ask you to double click adb?
please follow instructions..if u are not sure..
IN CMD u must type following in the code box..
Start cmd
Code:
cd c:/path to sdk/tools
adb remount
adb shell
Rest all follow as in first post..
vilks said:
can somebody show screenshot with default screen lock and htc? because i dont understand know about what are you talking. I had one screen lock since i bought mob with 2.1 android and know i have other one with 2.2. / 2.3 android. I nothing changed, nothing deleted and i like it.
Click to expand...
Click to collapse
read post 11
warriorvibhu said:
Did i ask you to double click adb?
please follow instructions..if u are not sure..
IN CMD u must type following in the code box..
Start cmd
Code:
cd c:/path to sdk/tools
adb remount
adb shell
Rest all follow as in first post..
read post 11
Click to expand...
Click to collapse
http://t3.gstatic.com/images?q=tbn:ANd9GcTupH281Sv4BurvML-kupZWBHeG014DvtPTX-edhaGLIa_PEvciJg&t=1
ok. so u hate this screen lock or like? because i have the same and i like very much. i also added to screen lock two buttons: sms and phone. thats faster to to write sms or call.
You can also type in adb Shell umount /system to unmount from command line
warriorvibhu said:
Did i ask you to double click adb?
please follow instructions..if u are not sure..
IN CMD u must type following in the code box..
Start cmd
Code:
cd c:/path to sdk/tools
adb remount
adb shell
Rest all follow as in first post..
read post 11
Click to expand...
Click to collapse
Sent from my HTC Wildfire using XDA App
vilks said:
http://t3.gstatic.com/images?q=tbn:ANd9GcTupH281Sv4BurvML-kupZWBHeG014DvtPTX-edhaGLIa_PEvciJg&t=1
ok. so u hate this screen lock or like? because i have the same and i like very much. i also added to screen lock two buttons: sms and phone. thats faster to to write sms or call.
Click to expand...
Click to collapse
you are talking about widget locker this is no external app its just stock AOSP android lock screen..
warriorvibhu said:
Oops did not know of the fix.. i was working on my own thanks a lot..u saved me some work..people can use this only..i hope HewGballs wont mind..
Click to expand...
Click to collapse
How to apply these HewGballpatches ... ?? by flashing them right ?? i am using wildpuzzle v8 .... shd work 4 it ryt ...
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Torin_93 said:
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Click to expand...
Click to collapse
Android Development is not for questions or Problems
Please post in the correct Forums
Moving to General
Torin_93 said:
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Click to expand...
Click to collapse
1 yes, you need cwm to put decrapified
2 once u install cwm, make sure ur battery is full (at least 50%, but i'll just say full) and make a backup using cwm of ur current system
3 see: 2
Sent from my VS910 4G using Tapatalk
S.Meezy said:
1 yes, you need cwm to put decrapified
2 once u install cwm, make sure ur battery is full (at least 50%, but i'll just say full) and make a backup using cwm of ur current system
3 see: 2
Sent from my VS910 4G using Tapatalk
Click to expand...
Click to collapse
Awesome thanks. Now I cant get the adb shell to work. ive done it on my dads phone before so im kinda familiar with it but the sdk still seems to be updating or whatever. Should it work when its finished?
Like when I type "adb devices" it says nothing can be found.
What operating system is ur computer on? Make sure you have installed the LG drivers if Windows.. also, doesn't hurt to be up to date w the sdk...
Sent from my VS910 4G using Tapatalk
Running windows 7 sdk updated drivers installed.
Im typing
cd C:\android-sdk\tools\
adb devices
nothing pops up. It says it isnt recognized?
1. install and update adb sdk.
2. Plug your phone in and install the drivers so it is recognized by windows as the revolution.
3. once 1 and 2 are done set your phone to internet only and turn on debugging.
4. now try adb
Torin_93 said:
Running windows 7 sdk updated drivers installed.
Im typing
cd C:\android-sdk\tools\
adb devices
nothing pops up. It says it isnt recognized?
Click to expand...
Click to collapse
also it is cd c:\android-sdk\platform-tools\
Haxcid said:
also it is cd c:\android-sdk\platform-tools\
Click to expand...
Click to collapse
I just figured out it was\platform-tools\
Like wtf they moved it? lol
I also forgot about internet mode. Im going to give it a go and if I bump into any problems I will let you know
Once I try to get su access (after checking adb access) it says not recognized. Why?
Torin_93 said:
Once I try to get su access (after checking adb access) it says not recognized. Why?
Click to expand...
Click to collapse
we're still getting cwm on...? and u already put recovery-cwm-pr1.img on ur sd?
S.Meezy said:
we're still getting cwm on...? and u already put recovery-cwm-pr1.img on ur sd?
Click to expand...
Click to collapse
Yes its there
But the su command wont work
You have skype? I could screen share.
Torin_93 said:
Yes its there
But the su command wont work
You have skype? I could screen share.
Click to expand...
Click to collapse
Make sure your screen is on when you type su so you can accept super user permission on your phone.
Sent from my VS910 4G using XDA Premium App
After I type adb devices I get the list then its:
C:\android-sdk\platform-tools>su
Right?
Cause it says not recognized
No type, adb shell, then at the next line enter su
Sent from my VS910 4G using XDA Premium App
mtmichaelson said:
No type, adb shell, then at the next line enter su
Sent from my VS910 4G using XDA Premium App
Click to expand...
Click to collapse
Great thanks!!! Im in
cat /dev/zero > /dev/block/mmcblk0p14
write: no space left on device
cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14
no such file or directory.
Im so confused. Now what.
Thanks for everyones help so far You guys are amazing!
Torin_93 said:
cat /dev/zero > /dev/block/mmcblk0p14
write: no space left on device
cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14
no such file or directory.
Im so confused. Now what.
Thanks for everyones help so far You guys are amazing!
Click to expand...
Click to collapse
If you are copying it in Windows, copy it to the drive marked "internal." If not, then this is telling you that file isn't on your sdcard. You need to move it there.
Its in the internal. Should it go in a folder? What about the fact that it says no space left on device?
I have plenty of space?
Torin_93 said:
Its in the internal. Should it go in a folder? What about the fact that it says no space left on device?
I have plenty of space?
Click to expand...
Click to collapse
It shouldn't need to go in a folder. The error message about space is normal (expected).
Just wondering if I have installed adb correctly I can open my command prompt using windows vista and type adb devices and I get my serial number displayed as a connected device does this confirm and is working? Thanks for your help! Completely new to this.
Beamer9408 said:
Just wondering if I have installed adb correctly I can open my command prompt using windows vista and type adb devices and I get my serial number displayed as a connected device does this confirm and is working? Thanks for your help! Completely new to this.
Click to expand...
Click to collapse
As far as I know that does mean you have it installed and running correctly.
I agree, that would tell me it's installed correctly. Shell into your phone. If you can do that, you should be all set. Directions for shelling into your phone can be found in the forums. If you can't find them, let me know and I'll help you out. We all have to start somewhere. Lol!
Sent from my VS910 4G using XDA Premium App
Are you rooted? Meant to ask that.
Sent from my VS910 4G using XDA Premium App
thermal_tim said:
Are you rooted? Meant to ask that.
Sent from my VS910 4G using XDA Premium App
Click to expand...
Click to collapse
Oh sorry I thought I mentioned that in my earlier post I am rooted running decrap..and the other mods that are on this forum
Ok so this is what is going on I go into command prompt type in CD then to the tools directory and hit enter then type adb devicesand hit enter serial number comes up so I type adb shell and I get $ ok so I read somewhere if you get that prompt type aubri hit enter ok so I do that superuser permission is asked on my phone so I said allow it. Retyped adb shell and it isn't recognizing what adb is? Not sure what is going on here thanks to anyone who helps explain if I'm doing something wrong.
Beamer9408 said:
Ok so this is what is going on I go into command prompt type in CD then to the tools directory and hit enter then type adb devicesand hit enter serial number comes up so I type adb shell and I get $ ok so I read somewhere if you get that prompt type su hit enter ok so I do that superuser permission is asked on my phone so I said allow it. Retyped adb shell and it isn't recognizing what adb is? Not sure what is going on here thanks to anyone who helps explain if I'm doing something wrong.
Click to expand...
Click to collapse
Once you
$adb shell
$su
#
You shouldn't need to type adb shell again bc ur already in it...
it would also help us to help you to know what you are trying to do with ADB shell... being that you are rooted, what else do you need to do with it?
Sent from my VS910 4G using Tapatalk
S.Meezy said:
Once you
$adb shell
$su
#
You shouldn't need to type adb shell again bc ur already in it...
it would also help us to help you to know what you are trying to do with ADB shell... being that you are rooted, what else do you need to do with it?
Sent from my VS910 4G using Tapatalk
Click to expand...
Click to collapse
Thanks honestly I'm not trying to do anything with it just trying to seeif I have it installed correctly someone suggested to see if I could go into shell so I tried and that was my results.
Beamer9408 said:
Thanks honestly I'm not trying to do anything with it just trying to seeif I have it installed correctly someone suggested to see if I could go into shell so I tried and that was my results.
Click to expand...
Click to collapse
assuming your screen looked like this...
$adb shell
$su
#
...and changed from $ to # when you did it, you're good. also, it showing as a device was a good indicator too.
What is it ? ADB Shell . is it CMD command on Windows or what ?
muslimbaha said:
What is it ? ADB Shell . is it CMD command on Windows or what ?
Click to expand...
Click to collapse
https://developer.android.com/tools/help/adb.html
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Sorry, but i know what it is now, how do i run it though? im trying to follow the htc desire hd guide to root my phone, which everything is done up until the point i have to test that i have root in debug mode. Not sure how to do this? run abd.exe? it just showed me a cmd window which runs and then dissapears.
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
bitdomo said:
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
What is likely to be the problem if it says SU permission denied?
If you are on stock, that means that you have no root access. If you have cm10 or cm10.1 you have to enable adb root access somewhere in the settings. I am sorry but I can not tell you at the moment where to enable it because I am on stock right now.
Sent from my LG-P990 using xda app-developers app
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Thanks Bro for this information