2023年12月16日发(作者:鄞南蓉)
adb命令删除手机密码设置(ADB command delete phone password
settings)
Sino16918
First of all, what is the ADB command?:
The full name of ADB is Android Debug Bridge, which is the
function of debugging bridge. ADB is a tool in Android SDK
(Android's proprietary software development kit), which can be
used to directly manage Android simulators or real Andriod
devices (such as DEFY):
* run the device's shell (command line)
Manage port mapping for simulators or devices
* upload / download files between computers and devices
Install the local APK software to the simulator or Android
device
Write this post is to popularize some common commands ADB,
although there are many things on the Internet, but I think,
combined with the use of DEFY, you will remember more firmly.
If you want to use ADB, you have to build a platform first.
(there's an oil system that adds variable, and I think this is
still suitable for people with a certain base, and here I don't
say the way to add variables.). But Androidsdk is
Can you download it? The answer must be negative. Don't know
how to use defy tutorial given root tools students noticed in
the defy_toolsOneClickRoot+Recovery folder, ,
, three documents, in fact, use
the ADB command, the three file is sufficient, surely we have,
so here is not provided.
No, if you install a pea pod, then the root directory C:Program
FilesWandouJia please see the pea pods, you will find that
there are these three files. It is not difficult to find out,
ADB is widely used. Whether access to root permissions from DEFY
to the daily use of pea pods, can not do without it.
Of course, with this, or can not be used directly, we have to
install the corresponding ADB driver on the computer side.
Brushing machine students in the installation of motorcycle
drivers, in fact, have installed, if not, to find their own,
or directly connected to the phone with pea pods installed drive.
The method is to ensure that the driver installed mobile phone
[settings] - [program] - [-USB] debugging installation and
debugging, in the boot state linked to the computer after right
click computer (XP is my computer) into the management device
manager, see below.
Let's get down to business. How can I get into the ADB command
window? The simplest way is to hold the [shift] + right mouse
button in the window of the three files of ,
and , and select [open the
command window here]. Figure
Of course, you can also enter under the command prompt window
(). Press and hold [logo key] + [R] open operation, input
cmd,
Then input: CD (x86) C:Program Files WandouJia (or other
contains three files), as shown below (note there is space,
between the CD and the path of my system is 64 bits, pea pods
installed by default in C:Program Files (x86) 32 folder, the
system default is C:Program Files directory).
After entering the window, you can use the various commands
provided. Of course, if you don't know what the commands are,
you can make a line
1. ADB?
You print out all the available commands for your reference.
Here are all available ADB commands:
Android DebugBridge version 1.0.20
-d
- directs command to the only connected USB device
Returns an error if more than one USB device is
Present.
-e
- directs command to theonly running s an
running. error if more than one emulator is
- <编号>–指示命令的USB设备或模拟器与给定的序列号
P <产品名称或路径>–简单的产品namelike '早',或
相对/绝对路径的一个产品
输出目录类似“输出/目标/产品/更早”。
如果未指定-p,这android_product_out
使用环境变量,必须
绝对道路。
设备
–列出所有connecteddevices
设备的命令:
亚行将<地方> <远程>–复制文件/目录的设备
亚行将<远程> <地方>–复制文件/目录的网卡
<目录>亚行同步[复制]–主机-> deviceonly如果改变
(见“亚行帮助所有”)
adbshell–运行远程shell交互
ADB shell >命令>运行远程shell命令
运行模拟控制台命令
adb logcat [ <过滤器规格> ]–查看设备日志
亚行转发<本地> <远程>转发套接字连接
正向规范是:
TCP:<端口>
localabstract UNIX域套接字:<名称>
localreserved UNIX域套接字:<名称>
本地文件:<< Unix域套接字的名字>
<字符设备名称>
JDWP:<进程PID >(远程)
亚行JDWP
–名单发布会举办JDWP运输过程
ADB安装[ ] [ R ] <文件>–推这个包文件到设备和installit
(“L”表示正向锁定应用程序)
(“r”表示重新安装应用程序,保存数据)
亚行卸载< <包> -从设备中删除此应用程序包
(“K”表示保存数据和缓存目录)
adbbugreport–返回所有信息的装置
应该包含在bug报告中。
adbhelp–显示帮助信息
adbversion–显示版本号码
DATAOPTS:
(没有选择的余地)–不要碰数据分区
w -擦除数据分区
- d -闪存数据分区
脚本:
亚行等待设备-直到设备在线
adbstart服务器–确保有一个服务器运行
亚行杀服务器-杀死服务器,如果它正在运行
adbget状态–版画:离线| bootloader |装置
adbget serialno–版画:<序号>
adbstatus窗口–连续打印设备状态为一个指定的设备
adbremount–马匹/设备上的系统重新分区
自写
adbroot–重启adb root权限
网络:
亚行P TTY > [参数]–运行PPP的USB接口。
注意:您不应该自动启动PDP连接。
< tty >指PPP流TTY。如开发:/ dev / omap_csmi_tty1
[参数]–如默认路由调试转储当地usepeerdns调皮
亚行同步说明:亚行同步[目录>
< localdir >可以有多种解释:
-如果没有指定目录>,系统/ /或数据分区将更新。
-如果是“系统”或“数据”,只有相应的分区
更新
第一课就此结束,在以后的课程中,会尝试使用亚行命令,解决一些实际的问题~
sino16918
第一课,说了如何配置简单的亚行环境以及如何进入亚行环境,并列举了所有可用的命令,本节课,打算说下最基本的如何验证设备是否正确链接,以及如何使用重启命令重启设备。
首先进入【设置】-【程序】-【安装和调试】USB调试开,然后将手机连接至电脑。这点至关重要,否则亚行无法识别。上节课中在设备管理器中查看驱动是否安装正确是一种方法,其实使用亚行时候可以直接利用命令来查看设备是否链接好,以确保便于其他命令的操作。进入亚行环境后,输入
1、亚洲开发银行设备
即可当前所有链接的设备,如图,只插着一台不服,所以只显示了一个设备。
如果此处显示如下图,则说明你的手机未正确链接,或者驱动没有装好,或者USB借口松动等原因,重新检查前面的步骤,链接正确即可。
手机连上了我们能做些什么呢,当然,要从最简单的开始说。当你的手机突然死机了,我想大部分人都会选择抠电池来重启手机,但是这样子对手机好不好呢?这个我也不清楚,但是拿电脑来类比下,就觉得应该是有害而无利的。所以亚行的重启命令此时就发挥效力了。
当你手机死机了,恰好后盖又是那种不太容易抠开的,而身边恰好又有一台有亚行环境的电脑的时候,把手机链接电脑(当然,是在打开了USB调试的前提下)。按照之前的方法进入亚行命令窗口,输入
1、亚洲开发银行重启
死了的机子就会立马快速重启,恢复生机。如图
本节课说的东西比较少,下次会说一些更实用的。
为方便看不懂此系列课程的机油方便的解决密码遗忘的问题,特奉上【解答组】御法度(托尼)出品的密码移除工具,使用方法见包内说明文档。在法度兄指导下经鄙人修改后,本工具同样适用于启动模式。本工具仅供应急使用,不可用来偷窥他人隐私等从事其他违法背德行径。此工具经本人测试可以使用,如有问题请及时联系作者或本人,一经使用,则表示同意本声明。对于使用本工具操作不当造成的损失,作者及本人不承担任何责任,特此声明!(用过工具的可以来说下效果)
小工具下载地址:小工具暂停下载
大家还是自己看着弄吧
sino16918
在论坛里常常碰到求助的,说访问限制的密码忘记了,或者是锁屏密码忘记了,导致有些程序(如短信,通讯录等重要程序)打不开,影响正常使用。又嫌麻烦,不愿意刷机。是不是就没有办法解决了呢?答案也是否定的。别忘了,亚行还有个壳命令呢。(本教程针对违抗机型,其他机型方法类似,但个别地方有细微变动,恕不细说)
首先介绍下什么是壳。
Linux系统的壳作为操作系统的外壳,为用户提供使用操作系统的接
口。它是命令语言、命令解释程序及程序设计语言的统称。
Shell is the interface program between the user and the Linux
kernel. If you think of the Linux kernel as the center of a
sphere, shell is the outer layer around the kernel. When a
command is passed from shell or other program to Linux, the
kernel will react accordingly.
Shell is a command language interpreter that has its own
built-in shell command set, and shell can also be invoked by
other applications in the system. The commands entered by the
user at the prompt are solved by shell first and then delivered
to the Linux core.
There are commands, such as changing the work directory command
CD, which are included in the shell. There are commands, such
as copy command CP and mobile command RM, which are separate
programs that exist in a directory of the file system. For users,
there is no need to worry about whether a command is built inside
a shell or a separate program.
And what this class is going to talk about happens to be related
to the ADB shell command.
The first thing we need to know is that the access limit password
for MIUI is the graphical password, which is stored in the
/data/system path of the root directory, and the name is
access_, as shown in the figure below
When you forget the password, the first thing you think about
is to enter the RE manager to delete the file, but what if the
RE management is also accessed? The ADB command and the clap.
Link the phone to the computer, familiar with the ADB command
line interface, just input
1. ADB shell RM /data/system/access_
What the password is immediately resolved, try again to limit
the program, you can open it? Check the access limit menu again
and find that it has been automatically disabled!
Similarly, the lock screen password is also located in the
directory
If the lock screen password lock screen does not forget in the
case quickly on the screen lock prior to the RE manager
/data/system/ find (graphical password) or
(digital and password), delete. If you
accidentally forget the password in the lock screen state, you
can connect the phone to the computer, into the ADB
implementation
1. ADB shell RM /data/system/
You can delete the lock screen graphic password;
implement
1. ADB shell RM /data/system/
Can delete the lock screen digital password two encryption
methods
The peacock is not, do not need to enter the password? Again,
the password has been reset to nothing in the settings menu.
I think this is one of the most useful places in the ADB command.
Of course, all of these are based on the USB debug mode. If you
don't start the tragedy, as shown in the picture below
Then you can delete passwords in other ways.
Restart the mobile phone, when the blue light press the volume
into the [BootMenu] menu, select [Tools]
Connect the phone to the computer, and then select [ADB Daemon]
to open the ADB
You can find that the phone has been linked, and then you can
delete the password through the ADB shell command
According to the method given in the course, enter the ADB
environment,
Sequentially input
1. ADB shell
2. mount /data/
3. RM /data/system/access_
4. reboot
Of course, the above is completed in the shell, can also be
implemented one by one, the effect is the same
1. ADB shell mount /data/
2. ADB shell RM /data/system/access_
3. ADB reboot
Similarly, the lock screen password (graphics, digital
alphabet password) can also be deleted by this method, just to
change access_ to or just.
Millet models need to pay attention to, before using the shell
command, please input ADB root, access to root permissions
(thank you Java beans)
Of course not only way a delete password,
If you have a terminal emulator installed on your cell phone,
it's more convenient, whether or not you open the debug mode,
as long as the terminal simulator root permissions, and then
input
1. Su
2. RM /data/system/access_
You can quickly delete access restrictions password, lock
screen password the same.
Thank you for this lesson Gohatto, depressed wall, group
secretary and the 7 floor of the brothers show, I hope to help
the broad masses of oil! Do not use this knowledge to spy on
the privacy of others and other illegal and immoral acts! Please
mark it from the MIUI community and enclose this link.
2023年12月16日发(作者:鄞南蓉)
adb命令删除手机密码设置(ADB command delete phone password
settings)
Sino16918
First of all, what is the ADB command?:
The full name of ADB is Android Debug Bridge, which is the
function of debugging bridge. ADB is a tool in Android SDK
(Android's proprietary software development kit), which can be
used to directly manage Android simulators or real Andriod
devices (such as DEFY):
* run the device's shell (command line)
Manage port mapping for simulators or devices
* upload / download files between computers and devices
Install the local APK software to the simulator or Android
device
Write this post is to popularize some common commands ADB,
although there are many things on the Internet, but I think,
combined with the use of DEFY, you will remember more firmly.
If you want to use ADB, you have to build a platform first.
(there's an oil system that adds variable, and I think this is
still suitable for people with a certain base, and here I don't
say the way to add variables.). But Androidsdk is
Can you download it? The answer must be negative. Don't know
how to use defy tutorial given root tools students noticed in
the defy_toolsOneClickRoot+Recovery folder, ,
, three documents, in fact, use
the ADB command, the three file is sufficient, surely we have,
so here is not provided.
No, if you install a pea pod, then the root directory C:Program
FilesWandouJia please see the pea pods, you will find that
there are these three files. It is not difficult to find out,
ADB is widely used. Whether access to root permissions from DEFY
to the daily use of pea pods, can not do without it.
Of course, with this, or can not be used directly, we have to
install the corresponding ADB driver on the computer side.
Brushing machine students in the installation of motorcycle
drivers, in fact, have installed, if not, to find their own,
or directly connected to the phone with pea pods installed drive.
The method is to ensure that the driver installed mobile phone
[settings] - [program] - [-USB] debugging installation and
debugging, in the boot state linked to the computer after right
click computer (XP is my computer) into the management device
manager, see below.
Let's get down to business. How can I get into the ADB command
window? The simplest way is to hold the [shift] + right mouse
button in the window of the three files of ,
and , and select [open the
command window here]. Figure
Of course, you can also enter under the command prompt window
(). Press and hold [logo key] + [R] open operation, input
cmd,
Then input: CD (x86) C:Program Files WandouJia (or other
contains three files), as shown below (note there is space,
between the CD and the path of my system is 64 bits, pea pods
installed by default in C:Program Files (x86) 32 folder, the
system default is C:Program Files directory).
After entering the window, you can use the various commands
provided. Of course, if you don't know what the commands are,
you can make a line
1. ADB?
You print out all the available commands for your reference.
Here are all available ADB commands:
Android DebugBridge version 1.0.20
-d
- directs command to the only connected USB device
Returns an error if more than one USB device is
Present.
-e
- directs command to theonly running s an
running. error if more than one emulator is
- <编号>–指示命令的USB设备或模拟器与给定的序列号
P <产品名称或路径>–简单的产品namelike '早',或
相对/绝对路径的一个产品
输出目录类似“输出/目标/产品/更早”。
如果未指定-p,这android_product_out
使用环境变量,必须
绝对道路。
设备
–列出所有connecteddevices
设备的命令:
亚行将<地方> <远程>–复制文件/目录的设备
亚行将<远程> <地方>–复制文件/目录的网卡
<目录>亚行同步[复制]–主机-> deviceonly如果改变
(见“亚行帮助所有”)
adbshell–运行远程shell交互
ADB shell >命令>运行远程shell命令
运行模拟控制台命令
adb logcat [ <过滤器规格> ]–查看设备日志
亚行转发<本地> <远程>转发套接字连接
正向规范是:
TCP:<端口>
localabstract UNIX域套接字:<名称>
localreserved UNIX域套接字:<名称>
本地文件:<< Unix域套接字的名字>
<字符设备名称>
JDWP:<进程PID >(远程)
亚行JDWP
–名单发布会举办JDWP运输过程
ADB安装[ ] [ R ] <文件>–推这个包文件到设备和installit
(“L”表示正向锁定应用程序)
(“r”表示重新安装应用程序,保存数据)
亚行卸载< <包> -从设备中删除此应用程序包
(“K”表示保存数据和缓存目录)
adbbugreport–返回所有信息的装置
应该包含在bug报告中。
adbhelp–显示帮助信息
adbversion–显示版本号码
DATAOPTS:
(没有选择的余地)–不要碰数据分区
w -擦除数据分区
- d -闪存数据分区
脚本:
亚行等待设备-直到设备在线
adbstart服务器–确保有一个服务器运行
亚行杀服务器-杀死服务器,如果它正在运行
adbget状态–版画:离线| bootloader |装置
adbget serialno–版画:<序号>
adbstatus窗口–连续打印设备状态为一个指定的设备
adbremount–马匹/设备上的系统重新分区
自写
adbroot–重启adb root权限
网络:
亚行P TTY > [参数]–运行PPP的USB接口。
注意:您不应该自动启动PDP连接。
< tty >指PPP流TTY。如开发:/ dev / omap_csmi_tty1
[参数]–如默认路由调试转储当地usepeerdns调皮
亚行同步说明:亚行同步[目录>
< localdir >可以有多种解释:
-如果没有指定目录>,系统/ /或数据分区将更新。
-如果是“系统”或“数据”,只有相应的分区
更新
第一课就此结束,在以后的课程中,会尝试使用亚行命令,解决一些实际的问题~
sino16918
第一课,说了如何配置简单的亚行环境以及如何进入亚行环境,并列举了所有可用的命令,本节课,打算说下最基本的如何验证设备是否正确链接,以及如何使用重启命令重启设备。
首先进入【设置】-【程序】-【安装和调试】USB调试开,然后将手机连接至电脑。这点至关重要,否则亚行无法识别。上节课中在设备管理器中查看驱动是否安装正确是一种方法,其实使用亚行时候可以直接利用命令来查看设备是否链接好,以确保便于其他命令的操作。进入亚行环境后,输入
1、亚洲开发银行设备
即可当前所有链接的设备,如图,只插着一台不服,所以只显示了一个设备。
如果此处显示如下图,则说明你的手机未正确链接,或者驱动没有装好,或者USB借口松动等原因,重新检查前面的步骤,链接正确即可。
手机连上了我们能做些什么呢,当然,要从最简单的开始说。当你的手机突然死机了,我想大部分人都会选择抠电池来重启手机,但是这样子对手机好不好呢?这个我也不清楚,但是拿电脑来类比下,就觉得应该是有害而无利的。所以亚行的重启命令此时就发挥效力了。
当你手机死机了,恰好后盖又是那种不太容易抠开的,而身边恰好又有一台有亚行环境的电脑的时候,把手机链接电脑(当然,是在打开了USB调试的前提下)。按照之前的方法进入亚行命令窗口,输入
1、亚洲开发银行重启
死了的机子就会立马快速重启,恢复生机。如图
本节课说的东西比较少,下次会说一些更实用的。
为方便看不懂此系列课程的机油方便的解决密码遗忘的问题,特奉上【解答组】御法度(托尼)出品的密码移除工具,使用方法见包内说明文档。在法度兄指导下经鄙人修改后,本工具同样适用于启动模式。本工具仅供应急使用,不可用来偷窥他人隐私等从事其他违法背德行径。此工具经本人测试可以使用,如有问题请及时联系作者或本人,一经使用,则表示同意本声明。对于使用本工具操作不当造成的损失,作者及本人不承担任何责任,特此声明!(用过工具的可以来说下效果)
小工具下载地址:小工具暂停下载
大家还是自己看着弄吧
sino16918
在论坛里常常碰到求助的,说访问限制的密码忘记了,或者是锁屏密码忘记了,导致有些程序(如短信,通讯录等重要程序)打不开,影响正常使用。又嫌麻烦,不愿意刷机。是不是就没有办法解决了呢?答案也是否定的。别忘了,亚行还有个壳命令呢。(本教程针对违抗机型,其他机型方法类似,但个别地方有细微变动,恕不细说)
首先介绍下什么是壳。
Linux系统的壳作为操作系统的外壳,为用户提供使用操作系统的接
口。它是命令语言、命令解释程序及程序设计语言的统称。
Shell is the interface program between the user and the Linux
kernel. If you think of the Linux kernel as the center of a
sphere, shell is the outer layer around the kernel. When a
command is passed from shell or other program to Linux, the
kernel will react accordingly.
Shell is a command language interpreter that has its own
built-in shell command set, and shell can also be invoked by
other applications in the system. The commands entered by the
user at the prompt are solved by shell first and then delivered
to the Linux core.
There are commands, such as changing the work directory command
CD, which are included in the shell. There are commands, such
as copy command CP and mobile command RM, which are separate
programs that exist in a directory of the file system. For users,
there is no need to worry about whether a command is built inside
a shell or a separate program.
And what this class is going to talk about happens to be related
to the ADB shell command.
The first thing we need to know is that the access limit password
for MIUI is the graphical password, which is stored in the
/data/system path of the root directory, and the name is
access_, as shown in the figure below
When you forget the password, the first thing you think about
is to enter the RE manager to delete the file, but what if the
RE management is also accessed? The ADB command and the clap.
Link the phone to the computer, familiar with the ADB command
line interface, just input
1. ADB shell RM /data/system/access_
What the password is immediately resolved, try again to limit
the program, you can open it? Check the access limit menu again
and find that it has been automatically disabled!
Similarly, the lock screen password is also located in the
directory
If the lock screen password lock screen does not forget in the
case quickly on the screen lock prior to the RE manager
/data/system/ find (graphical password) or
(digital and password), delete. If you
accidentally forget the password in the lock screen state, you
can connect the phone to the computer, into the ADB
implementation
1. ADB shell RM /data/system/
You can delete the lock screen graphic password;
implement
1. ADB shell RM /data/system/
Can delete the lock screen digital password two encryption
methods
The peacock is not, do not need to enter the password? Again,
the password has been reset to nothing in the settings menu.
I think this is one of the most useful places in the ADB command.
Of course, all of these are based on the USB debug mode. If you
don't start the tragedy, as shown in the picture below
Then you can delete passwords in other ways.
Restart the mobile phone, when the blue light press the volume
into the [BootMenu] menu, select [Tools]
Connect the phone to the computer, and then select [ADB Daemon]
to open the ADB
You can find that the phone has been linked, and then you can
delete the password through the ADB shell command
According to the method given in the course, enter the ADB
environment,
Sequentially input
1. ADB shell
2. mount /data/
3. RM /data/system/access_
4. reboot
Of course, the above is completed in the shell, can also be
implemented one by one, the effect is the same
1. ADB shell mount /data/
2. ADB shell RM /data/system/access_
3. ADB reboot
Similarly, the lock screen password (graphics, digital
alphabet password) can also be deleted by this method, just to
change access_ to or just.
Millet models need to pay attention to, before using the shell
command, please input ADB root, access to root permissions
(thank you Java beans)
Of course not only way a delete password,
If you have a terminal emulator installed on your cell phone,
it's more convenient, whether or not you open the debug mode,
as long as the terminal simulator root permissions, and then
input
1. Su
2. RM /data/system/access_
You can quickly delete access restrictions password, lock
screen password the same.
Thank you for this lesson Gohatto, depressed wall, group
secretary and the 7 floor of the brothers show, I hope to help
the broad masses of oil! Do not use this knowledge to spy on
the privacy of others and other illegal and immoral acts! Please
mark it from the MIUI community and enclose this link.