国产小品牌纽麦平板T118的ADB清楚锁屏手势之旅

前几天在家里出一个平板电脑,纽麦的,听起来好像纽曼,充电后但是因为长时间不用导致反应缓慢,想要恢复出厂设置。

尝试了以下办法都是不行:

1.直接在设置--备份和重置--恢复出厂设置,需要绘制手势图案,试了几十次,问遍了家人都不记得,放弃。

2.关机后,按住音量+按键 和电源按键重启,进入recover模式,有三个选项,recover mode,fast boot, normal ,按提示通过音量+进行选择,音量-进行确认,但是可以上下选择,就是无法确认,无论是按多少次,多长时间,连电源键都试了也无法进入恢复。只有长按住电源键关机。

3.关机后,按住音量- 和 电源键 重启,进入工厂模式,没有网上说的wipe,erase 等擦除选项,所有的选项都是了也无法进入恢复模式。

 

最后看到删除gesture.key方案,于是

1.按住电脑360手机助手,连接平板端手机助手,在data/system下面找到gesture.key文件,但是无法删除,复制也无权限。

2.安装刷机精灵,NND,根本不管用,上网一查公司倒闭,但是暗地里安装了一大坨垃圾软件,吓得我赶紧重启,360删除。

3.最后还是在360软件管家里面下载“手机刷机管家”,放心安装。成功连接平板后,无法识别平板,肯定的,网上那么多人查找纽麦刷机包都没有。点击  Adb命令行

 

不懂ADB的可以上网搜索一下资料

下面贴出命令,包括试错操作,给大家参考

欢迎使用adb或fastboot命令行功能,您可以使用命令对手机进行操作,例如:

  显示adb设备:adb devices
  发送电脑端文件到设备SD卡:adb push 文件路径/文件名 /sdcard/
  发送设备SD卡文件到电脑端:adb pull /sdcard/文件路径/文件名 D:\
  进行shell操作:adb shell
  查看adb命令帮助:adb help
  显示fastboot设备:fastboot devices
  查看fastboot命令帮助:fastboot help

C:\Program Files (x86)\手机刷机管家\AdbTools>
C:\Program Files (x86)\手机刷机管家\AdbTools>adb devices
List of devices attached
0123456789ABCDEF        device


C:\Program Files (x86)\手机刷机管家\AdbTools>adb shell
shell@joya82_wet_kk:/ $ ls
ls
FWUpgradeInit.rc
acct
cache
config
custom
d
data
default.prop
dev
emmc@android
emmc@cache
emmc@custom
emmc@ebr1
emmc@fat
emmc@protect_f
emmc@protect_s
emmc@sec_ro
emmc@usrdata
enableswap.sh
etc
factory_init.project.rc
factory_init.rc
file_contexts
fstab
fstab.fat.nand
fstab.nand
init
init.aee.customer.rc
init.charging.rc
init.environ.rc
init.modem.rc
init.no_ssd.rc
init.project.rc
init.protect.rc
init.rc
init.trace.rc
init.usb.rc
init.xlog.rc
meta_init.modem.rc
meta_init.project.rc
meta_init.rc
mnt
persist
proc
property_contexts
protect_f
protect_s
root
sbchk
sbin
sdcard
seapp_contexts
sepolicy
storage
sys
system
ueventd.rc
vendor
shell@joya82_wet_kk:/ $ cd data
cd data
shell@joya82_wet_kk:/data $ ls
ls
opendir failed, Permission denied
255|shell@joya82_wet_kk:/data $ cd ..
cd ..
shell@joya82_wet_kk:/ $ ls
ls
FWUpgradeInit.rc
acct
cache
config
custom
d
data
default.prop
dev
emmc@android
emmc@cache
emmc@custom
emmc@ebr1
emmc@fat
emmc@protect_f
emmc@protect_s
emmc@sec_ro
emmc@usrdata
enableswap.sh
etc
factory_init.project.rc
factory_init.rc
file_contexts
fstab
fstab.fat.nand
fstab.nand
init
init.aee.customer.rc
init.charging.rc
init.environ.rc
init.modem.rc
init.no_ssd.rc
init.project.rc
init.protect.rc
init.rc
init.trace.rc
init.usb.rc
init.xlog.rc
meta_init.modem.rc
meta_init.project.rc
meta_init.rc
mnt
persist
proc
property_contexts
protect_f
protect_s
root
sbchk
sbin
sdcard
seapp_contexts
sepolicy
storage
sys
system
ueventd.rc
vendor
shell@joya82_wet_kk:/ $ cd system
cd system
shell@joya82_wet_kk:/system $ ls
ls
app
bin
build.prop
data
etc
fonts
framework
lib
lost+found
media
mobile_toolkit
priv-app
res
tts
usr
vendor
xbin
shell@joya82_wet_kk:/system $ pwed
pwed
/system/bin/sh: pwed: not found
127|shell@joya82_wet_kk:/system $ pwd
pwd
/system
shell@joya82_wet_kk:/system $ cd /
cd /
shell@joya82_wet_kk:/ $ ls
ls
FWUpgradeInit.rc
acct
cache
config
custom
d
data
default.prop
dev
emmc@android
emmc@cache
emmc@custom
emmc@ebr1
emmc@fat
emmc@protect_f
emmc@protect_s
emmc@sec_ro
emmc@usrdata
enableswap.sh
etc
factory_init.project.rc
factory_init.rc
file_contexts
fstab
fstab.fat.nand
fstab.nand
init
init.aee.customer.rc
init.charging.rc
init.environ.rc
init.modem.rc
init.no_ssd.rc
init.project.rc
init.protect.rc
init.rc
init.trace.rc
init.usb.rc
init.xlog.rc
meta_init.modem.rc
meta_init.project.rc
meta_init.rc
mnt
persist
proc
property_contexts
protect_f
protect_s
root
sbchk
sbin
sdcard
seapp_contexts
sepolicy
storage
sys
system
ueventd.rc
vendor
shell@joya82_wet_kk:/ $ pwd
pwd
/
shell@joya82_wet_kk:/ $ dir
dir
/system/bin/sh: dir: not found
127|shell@joya82_wet_kk:/ $ ls
ls
FWUpgradeInit.rc
acct
cache
config
custom
d
data
default.prop
dev
emmc@android
emmc@cache
emmc@custom
emmc@ebr1
emmc@fat
emmc@protect_f
emmc@protect_s
emmc@sec_ro
emmc@usrdata
enableswap.sh
etc
factory_init.project.rc
factory_init.rc
file_contexts
fstab
fstab.fat.nand
fstab.nand
init
init.aee.customer.rc
init.charging.rc
init.environ.rc
init.modem.rc
init.no_ssd.rc
init.project.rc
init.protect.rc
init.rc
init.trace.rc
init.usb.rc
init.xlog.rc
meta_init.modem.rc
meta_init.project.rc
meta_init.rc
mnt
persist
proc
property_contexts
protect_f
protect_s
root
sbchk
sbin
sdcard
seapp_contexts
sepolicy
storage
sys
system
ueventd.rc
vendor
shell@joya82_wet_kk:/ $ cd data/system
cd data/system
shell@joya82_wet_kk:/data/system $ ls
ls
appops.xml
batterystats.bin
bootreceiver_1001.xml
cache
called_pre_boots.dat
device_policies.xml
dropbox
entropy.dat
framework_atlas.config
gesture.key
ifw
inputmethod
locksettings.db
locksettings.db-shm
locksettings.db-wal
ndebugsocket
netpolicy.xml
netstats
packages.list
packages.xml
procstats
registered_services
shared_prefs
sync
uiderrors.txt
usagestats
users
shell@joya82_wet_kk:/data/system $ rm -rf gesture.key
rm -rf gesture.key
rm failed for gesture.key, Permission denied
1|shell@joya82_wet_kk:/data/system $ sudo rm -rf gesture.key
sudo rm -rf gesture.key
/system/bin/sh: sudo: not found
127|shell@joya82_wet_kk:/data/system $ rm gesture.key
rm gesture.key
rm failed for gesture.key, Permission denied
255|shell@joya82_wet_kk:/data/system $ adb rm gesture.key
adb rm gesture.key
Android Debug Bridge version 1.0.31

 -a                            - directs adb to listen on all interfaces for a connection
 -d                            - directs command to the only connected USB device
                                 returns an error if more than one USB device is present.
 -e                            - directs command to the only running emulator.
                                 returns an error if more than one emulator is running.
 -s <specific device>          - directs command to the device or emulator with the given
                                 serial number or qualifier. Overrides ANDROID_SERIAL
                                 environment variable.
 -p <product name or path>     - simple product name like 'sooner', or
                                 a relative/absolute path to a product
                                 out directory like 'out/target/product/sooner'.
                                 If -p is not specified, the ANDROID_PRODUCT_OUT
                                 environment variable is used, which must
                                 be an absolute path.
 -H                            - Name of adb server host (default: localhost)
 -P                            - Port of adb server (default: 5037)
 devices [-l]                  - list all connected devices
                                 ('-l' will also list device qualifiers)
 connect <host>[:<port>]       - connect to a device via TCP/IP
                                 Port 5555 is used by default if no port number is specified.
 disconnect [<host>[:<port>]]  - disconnect from a TCP/IP device.
                                 Port 5555 is used by default if no port number is specified.
                                 Using this command with no additional arguments
                                 will disconnect from all connected TCP/IP devices.

device commands:
  adb push <local> <remote>    - copy file/dir to device
  adb pull <remote> [<local>]  - copy file/dir from device
  adb sync [ <directory> ]     - copy host->device only if changed
                                 (-l means list but don't copy)
                                 (see 'adb help all')
  adb shell                    - run remote shell interactively
  adb shell <command>          - run remote shell command
  adb emu <command>            - run emulator console command
  adb logcat [ <filter-spec> ] - View device log
  adb forward --list           - list all forward socket connections.
                                 the format is a list of lines with the following format:
                                    <serial> " " <local> " " <remote> "\n"
  adb forward <local> <remote> - forward socket connections
                                 forward specs are one of:
                                   tcp:<port>
                                   localabstract:<unix domain socket name>
                                   localreserved:<unix domain socket name>
                                   localfilesystem:<unix domain socket name>
                                   dev:<character device name>
                                   jdwp:<process pid> (remote only)
  adb forward --no-rebind <local> <remote>
                               - same as 'adb forward <local> <remote>' but fails
                                 if <local> is already forwarded
  adb forward --remove <local> - remove a specific forward socket connection
  adb forward --remove-all     - remove all forward socket connections
  adb jdwp                     - list PIDs of processes hosting a JDWP transport
  adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>
                               - push this package file to the device and install it
                                 ('-l' means forward-lock the app)
                                 ('-r' means reinstall the app, keeping its data)
                                 ('-s' means install on SD card instead of internal storage)
                                 ('--algo', '--key', and '--iv' mean the file is encrypted already)
  adb uninstall [-k] <package> - remove this app package from the device
                                 ('-k' means keep the data and cache directories)
  adb bugreport                - return all information from the device
                                 that should be included in a bug report.

  adb backup [-f <file>] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]
                               - write an archive of the device's data to <file>.
                                 If no -f option is supplied then the data is written
                                 to "backup.ab" in the current directory.
                                 (-apk|-noapk enable/disable backup of the .apks themselves
                                    in the archive; the default is noapk.)
                                 (-obb|-noobb enable/disable backup of any installed apk expansion
                                    (aka .obb) files associated with each application; the default
                                    is noobb.)
                                 (-shared|-noshared enable/disable backup of the device's
                                    shared storage / SD card contents; the default is noshared.)
                                 (-all means to back up all installed applications)
                                 (-system|-nosystem toggles whether -all automatically includes
                                    system applications; the default is to include system apps)
                                 (<packages...> is the list of applications to be backed up.  If
                                    the -all or -shared flags are passed, then the package
                                    list is optional.  Applications explicitly given on the
                                    command line will be included even if -nosystem would
                                    ordinarily cause them to be omitted.)

  adb restore <file>           - restore device contents from the <file> backup archive

  adb help                     - show this help message
  adb version                  - show version num

scripting:
  adb wait-for-device          - block until device is online
  adb start-server             - ensure that there is a server running
  adb kill-server              - kill the server if it is running
  adb get-state                - prints: offline | bootloader | device
  adb get-serialno             - prints: <serial-number>
  adb get-devpath              - prints: <device-path>
  adb status-window            - continuously print device status for a specified device
  adb remount                  - remounts the /system partition on the device read-write
  adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
  adb reboot-bootloader        - reboots the device into the bootloader
  adb root                     - restarts the adbd daemon with root permissions
  adb usb                      - restarts the adbd daemon listening on USB
  adb tcpip <port>             - restarts the adbd daemon listening on TCP on the specified port
networking:
  adb ppp <tty> [parameters]   - Run PPP over USB.
 Note: you should not automatically start a PPP connection.
 <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
 [parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
  <localdir> can be interpreted in several ways:

  - If <directory> is not specified, both /system and /data partitions will be updated.

  - If it is "system" or "data", only the corresponding partition
    is updated.

environmental variables:
  ADB_TRACE                    - Print debug information. A comma separated list of the following values
                                 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
  ANDROID_SERIAL               - The serial number to connect to. -s takes priority over this if given.
  ANDROID_LOG_TAGS             - When used with the logcat option, only these debug tags are printed.
1|shell@joya82_wet_kk:/data/system $ adb root
adb root
* daemon not running. starting it now on port 5038 *
* daemon started successfully *

C:\Program Files (x86)\手机刷机管家\AdbTools>adb rm data/system/gesture.key
Android Debug Bridge version 1.0.31

 -d                            - directs command to the only connected USB device
                                 returns an error if more than one USB device is present.
 -e                            - directs command to the only running emulator.
                                 returns an error if more than one emulator is running.
 -s <specific device>          - directs command to the device or emulator with the given
                                 serial number or qualifier. Overrides ANDROID_SERIAL
                                 environment variable.
 -p <product name or path>     - simple product name like 'sooner', or
                                 a relative/absolute path to a product
                                 out directory like 'out/target/product/sooner'.
                                 If -p is not specified, the ANDROID_PRODUCT_OUT
                                 environment variable is used, which must
                                 be an absolute path.
 devices [-l]                  - list all connected devices
                                 ('-l' will also list device qualifiers)
 connect <host>[:<port>]       - connect to a device via TCP/IP
                                 Port 5555 is used by default if no port number is specified.
 disconnect [<host>[:<port>]]  - disconnect from a TCP/IP device.
                                 Port 5555 is used by default if no port number is specified.
                                 Using this command with no additional arguments
                                 will disconnect from all connected TCP/IP devices.

device commands:
  adb push <local> <remote>    - copy file/dir to device
  adb pull <remote> [<local>]  - copy file/dir from device
  adb sync [ <directory> ]     - copy host->device only if changed
                                 (-l means list but don't copy)
                                 (see 'adb help all')
  adb shell                    - run remote shell interactively
  adb shell <command>          - run remote shell command
  adb emu <command>            - run emulator console command
  adb logcat [ <filter-spec> ] - View device log
  adb forward <local> <remote> - forward socket connections
                                 forward specs are one of:
                                   tcp:<port>
                                   localabstract:<unix domain socket name>
                                   localreserved:<unix domain socket name>
                                   localfilesystem:<unix domain socket name>
                                   dev:<character device name>
                                   jdwp:<process pid> (remote only)
  adb jdwp                     - list PIDs of processes hosting a JDWP transport
  adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>
                               - push this package file to the device and install it
                                 ('-l' means forward-lock the app)
                                 ('-r' means reinstall the app, keeping its data)
                                 ('-s' means install on SD card instead of internal storage)
                                 ('--algo', '--key', and '--iv' mean the file is encrypted already)
  adb uninstall [-k] <package> - remove this app package from the device
                                 ('-k' means keep the data and cache directories)
  adb bugreport                - return all information from the device
                                 that should be included in a bug report.

  adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]
                               - write an archive of the device's data to <file>.
                                 If no -f option is supplied then the data is written
                                 to "backup.ab" in the current directory.
                                 (-apk|-noapk enable/disable backup of the .apks themselves
                                    in the archive; the default is noapk.)
                                 (-shared|-noshared enable/disable backup of the device's
                                    shared storage / SD card contents; the default is noshared.)
                                 (-all means to back up all installed applications)
                                 (-system|-nosystem toggles whether -all automatically includes
                                    system applications; the default is to include system apps)
                                 (<packages...> is the list of applications to be backed up.  If
                                    the -all or -shared flags are passed, then the package
                                    list is optional.  Applications explicitly given on the
                                    command line will be included even if -nosystem would
                                    ordinarily cause them to be omitted.)

  adb restore <file>           - restore device contents from the <file> backup archive

  adb help                     - show this help message
  adb version                  - show version num

scripting:
  adb wait-for-device          - block until device is online
  adb start-server             - ensure that there is a server running
  adb kill-server              - kill the server if it is running
  adb get-state                - prints: offline | bootloader | device
  adb get-serialno             - prints: <serial-number>
  adb get-devpath              - prints: <device-path>
  adb status-window            - continuously print device status for a specified device
  adb remount                  - remounts the /system partition on the device read-write
  adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
  adb reboot-bootloader        - reboots the device into the bootloader
  adb root                     - restarts the adbd daemon with root permissions
  adb usb                      - restarts the adbd daemon listening on USB
  adb tcpip <port>             - restarts the adbd daemon listening on TCP on the specified port
networking:
  adb ppp <tty> [parameters]   - Run PPP over USB.
 Note: you should not automatically start a PPP connection.
 <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
 [parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
  <localdir> can be interpreted in several ways:

  - If <directory> is not specified, both /system and /data partitions will be updated.

  - If it is "system" or "data", only the corresponding partition
    is updated.

environmental variables:
  ADB_TRACE                    - Print debug information. A comma separated list of the following values
                                 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
  ANDROID_SERIAL               - The serial number to connect to. -s takes priority over this if given.
  ANDROID_LOG_TAGS             - When used with the logcat option, only these debug tags are printed.

C:\Program Files (x86)\手机刷机管家\AdbTools>adb remount
error: device not found

C:\Program Files (x86)\手机刷机管家\AdbTools>adb devices
List of devices attached


C:\Program Files (x86)\手机刷机管家\AdbTools>adb devices
List of devices attached
0123456789ABCDEF        device


C:\Program Files (x86)\手机刷机管家\AdbTools>adb shell "rm -r data/system/gesture.key"
rm failed for data/system/gesture.key, Permission denied

C:\Program Files (x86)\手机刷机管家\AdbTools>chmod 777 data/system/gesture.key
'chmod' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Program Files (x86)\手机刷机管家\AdbTools>chmod
'chmod' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Program Files (x86)\手机刷机管家\AdbTools>adb shell
shell@joya82_wet_kk:/ $ chmod
chmod
Usage: chmod [OPTION] <MODE> <FILE>
  -R, --recursive         change files and directories recursively
  --help                  display this help and exit
10|shell@joya82_wet_kk:/ $ chmod 777 data/system/gesture.key
chmod 777 data/system/gesture.key
Unable to chmod data/system/gesture.key: Operation not permitted
10|shell@joya82_wet_kk:/ $ root
root
/system/bin/sh: root: not found
127|shell@joya82_wet_kk:/ $

127|shell@joya82_wet_kk:/ $ su root
su root
root@joya82_wet_kk:/ # chmod 777 data/system/gesture.key
chmod 777 data/system/gesture.key
root@joya82_wet_kk:/ # rm data/system/gesture.key
rm data/system/gesture.key
root@joya82_wet_kk:/ #
C:\Program Files (x86)\手机刷机管家\AdbTools>

 

 

发布了7 篇原创文章 · 获赞 2 · 访问量 1637
App 阅读领勋章
微信扫码 下载APP
阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览