ZNDS智能电视网 推荐当贝市场

TV应用下载 / 资源分享区

软件下载 | 游戏 | 讨论 | 电视计算器

综合交流 / 评测 / 活动区

交流区 | 测硬件 | 网站活动 | Z币中心

新手入门 / 进阶 / 社区互助

新手 | 你问我答 | 免费刷机救砖 | ROM固件

查看: 778005|回复: 878
上一主题 下一主题
[分享]

大佬玩机之随时随地玩(中兴盒子),前方高能!!!!!!!!!!!

  [复制链接]
跳转到指定楼层
楼主
发表于 2018-6-11 14:20 | 显示全部楼层 |只看大图 回帖奖励 |倒序浏览 |阅读模式


===============欢迎阅读==============


今天我来发个不用电脑中兴盒子的教程
前方高能,请准备好膝盖!


准备材料:


root过的安卓手机一部,
安装juicessh.apk
adb计算器(安卓apk),
中兴盒子一台接上网络接上电视机(例ip地址:192.168.1.146)。
dangbei.apk和其他的apk软件




切入正题


1,算码开adb,不再供述细节了,大把的帖子。


2,打开手机上的juicessh,点击连接,然后右下角有个加号+点击下,
大佬玩机之随时随地玩(中兴盒子),前方高能!!!!!!!!!!!
类型选择本地设备,然后点击右上角的√
大佬玩机之随时随地玩(中兴盒子),前方高能!!!!!!!!!!!


在连接里面就有个localhost,点击打开输入su,然后进行su授权。


大佬玩机之随时随地玩(中兴盒子),前方高能!!!!!!!!!!!
授权后是变成root@xxx:/ #而不是root@xxx:/$
然后输入adb看看是否有很长一串回应
出现bash: adb: command not fount之类的表示不行哟

3,由于我的这台手机没有root,之前的一台搞坏了。所以这次随便拿个盒子,采用一样的方式另一个盒子作为演示:
  1. root@p201_iptv:/ # adb
  2. Android Debug Bridge version 1.0.31

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

  27. device commands:
  28.   adb push <local> <remote>    - copy file/dir to device
  29.   adb pull <remote> [<local>]  - copy file/dir from device
  30.   adb sync [ <directory> ]     - copy host->device only if changed
  31.                                  (-l means list but don't copy)
  32.                                  (see 'adb help all')
  33.   adb shell                    - run remote shell interactively
  34.   adb shell <command>          - run remote shell command
  35.   adb emu <command>            - run emulator console command
  36.   adb logcat [ <filter-spec> ] - View device log
  37.   adb forward --list           - list all forward socket connections.
  38.                                  the format is a list of lines with the following format:
  39.                                     <serial> " " <local> " " <remote> "\n"
  40.   adb forward <local> <remote> - forward socket connections
  41.                                  forward specs are one of:
  42.                                    tcp:<port>
  43.                                    localabstract:<unix domain socket name>
  44.                                    localreserved:<unix domain socket name>
  45.                                    localfilesystem:<unix domain socket name>
  46.                                    dev:<character device name>
  47.                                    jdwp:<process pid> (remote only)
  48.   adb forward --no-rebind <local> <remote>
  49.                                - same as 'adb forward <local> <remote>' but fails
  50.                                  if <local> is already forwarded
  51.   adb forward --remove <local> - remove a specific forward socket connection
  52.   adb forward --remove-all     - remove all forward socket connections
  53.   adb jdwp                     - list PIDs of processes hosting a JDWP transport
  54.   adb install [-l] [-r] [-s] [--aLGo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>
  55.                                - push this package file to the device and install it
  56.                                  ('-l' means forward-lock the app)
  57.                                  ('-r' means reinstall the app, keeping its data)
  58.                                  ('-s' means install on SD card instead of internal storage)
  59.                                  ('--algo', '--key', and '--iv' mean the file is encrypted already)
  60.   adb uninstall [-k] <package> - remove this app package from the device
  61.                                  ('-k' means keep the data and cache directories)
  62.   adb bugreport                - return all information from the device
  63.                                  that should be included in a bug report.

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

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

  84.   adb help                     - show this help message
  85.   adb version                  - show version num

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

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

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

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

  110. environmental variables:
  111.   ADB_TRACE                    - Print debug information. A comma separated list of the following values
  112.                                  1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
  113.   ANDROID_SERIAL               - The serial number to connect to. -s takes priority over this if given.
  114.   ANDROID_LOG_TAGS             - When used with the logcat option, only these debug tags are printed.
  115. 1|root@p201_iptv:/ #
  116. root@p201_iptv:/ # busybox ifconfig
  117. eth0      Link encap:Ethernet  HWaddr E8:BB:3D:60:00:00
  118.           inet addr:192.168.1.151  Bcast:192.168.1.255  Mask:255.255.255.0
  119.           inet6 addr: fe80::eabb:3dff:fe60:0/64 Scope:Link
  120.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  121.           RX packets:321958 errors:0 dropped:0 overruns:0 frame:0
  122.           TX packets:882786 errors:0 dropped:0 overruns:0 carrier:0
  123.           collisions:0 txqueuelen:1000
  124.           RX bytes:49438559 (47.1 MiB)  TX bytes:1259331036 (1.1 GiB)
  125.           Interrupt:40

  126. lo        Link encap:Local Loopback
  127.           inet addr:127.0.0.1  Mask:255.0.0.0
  128.           inet6 addr: ::1/128 Scope:Host
  129.           UP LOOPBACK RUNNING  MTU:4096  Metric:1
  130.           RX packets:33 errors:0 dropped:0 overruns:0 frame:0
  131.           TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
  132.           collisions:0 txqueuelen:0
  133.           RX bytes:2572 (2.5 KiB)  TX bytes:2572 (2.5 KiB)
  134. root@p201_iptv:/ #
  135. root@p201_iptv:/ #cd /sdcard
  136. root@p201_iptv:/sdcard #
  137. root@p201_iptv:/sdcard # wget http://192.168.1.204:9056/dbzm_2.2.8_dangbei.apk -O dangbei.apk
  138. Connecting to 192.168.1.204:9056 (192.168.1.204:9056)
  139. dangbei.apk          100% |****************************************************************|  8038K  0:00:00 ETA
  140. root@p201_iptv:/sdcard #
  141. root@p201_iptv:/sdcard # chmod 0777 dangbei.apk
  142. root@p201_iptv:/ # adb connect 192.168.1.146
  143. * daemon not running. starting it now on port 5038 *
  144. * daemon started successfully *
  145. connected to 192.168.1.146:5555

  146. root@p201_iptv:/sdcard # adb devices
  147. List of devices attached
  148. emulator-5554   device
  149. 192.168.1.146:5555      device

  150. root@p201_iptv:/sdcard # adb -s 192.168.1.146:5555 install dangbei.apk
  151. 2107 KB/s (8231384 bytes in 3.814s)
  152.         pkg: /data/local/tmp/dangbei.apk
  153. Success
  154. root@p201_iptv:/sdcard # adb -s 192.168.1.146:5555 root
  155. adbd is already running as root
  156. root@p201_iptv:/sdcard # adb -s 192.168.1.146:5555 shell
  157. root@square:/ #
  158. root@square:/ #
  159. root@square:/ # mount -o remount,rw /system
  160. root@square:/ # echo "mount -o remount,rw /system" >> /system/etc/init.zte.post_boot.sh
  161. root@square:/ # echo "adbd&" >> /system/etc/init.zte.post_boot.sh
  162. root@square:/ # echo "setprop config.Android.AppInstallCtrl 3" >> /system/etc/init.zte.post_boot.sh
  163. root@square:/ # echo "setprop config.USBInstallCtrl 3" >> /system/etc/init.zte.post_boot.sh
  164. root@square:/ # echo "settings put secure install_non_market_apps 1" >> /system/etc/init.zte.post_boot.sh
  165. root@square:/ # echo "settings put global install_non_market_apps 1" >> /system/etc/init.zte.post_boot.sh
  166. root@square:/ # am start com.dangebi.tvlauncher
  167. root@square:/ #
  168. root@square:/ # cat /system/bu*
  169. # begin build properties
  170. # autogenerated by buildinfo.sh
  171. ro.build.version.sdk=19
  172. ro.build.version.codename=REL
  173. ro.build.version.release=4.4.2
  174. ro.product.sdk.software=V81511320.2001
  175. ro.build.sdk.date=Mon Apr  9 08:03:00 HKT 2018
  176. ro.build.sdk.date.utc=1523232180
  177. ro.build.type=userdebug
  178. ro.build.user=stb-android
  179. ro.build.host=ubuntu126
  180. ro.build.tags=release-keys
  181. ro.product.name=aosp_square
  182. ro.product.device=square
  183. ro.product.brand=ZXV10 B860AV1.1
  184. ro.product.board=ZX296716
  185. ro.product.manufacturer=ZTE Corporation
  186. net.zte.refactor=1
  187. ro.product.cpu.abi=armeabi-v7a
  188. ro.product.cpu.abi2=armeabi
  189. ro.product.locale.language=zh
  190. ro.product.locale.region=CN
  191. ro.wifi.channels=
  192. ro.board.platform=zx296716
  193. # ro.build.product is obsolete; use ro.product.device
  194. ro.build.product=square
  195. # Do not try to parse ro.build.description or .fingerprint
  196. ro.build.description=aosp_square-userdebug 4.4.2 KVT49L eng.stb-android.20180409.080129 release-keys
  197. ro.build.fingerprint=Android/aosp_square/square:4.4.2/KVT49L/V81511320.2001:userdebug/release-keys
  198. ro.build.characteristics=default
  199. # end build properties
  200. ro.stanby.new.solution=1
  201. ro.product.chipserial=zxic
  202. ro.build.operator=2
  203. ro.build.hard=ZTE
  204. ro.build.equipment=B860AV1.1-T2
  205. ro.product.devicesummary=B860AV2.2
  206. ro.product.SpdifHide=1
  207. #
  208. # from device/zxic/square/system.prop
  209. #
  210. #
  211. # system.prop for zx296702
  212. #

  213. # settings
  214. ro.screen.has.brightness=false
  215. ro.screen.has.tvout=true
  216. ro.screen.has.timeout=false

  217. hw.nobattery=true
  218. hw.nolocation=true
  219. hw.nophone=true
  220. hw.has.accelerometer=false
  221. persist.sys.ui.hw=true
  222. # disable strictmode
  223. persist.sys.strictmode.disable=true

  224. # dalvik heap
  225. dalvik.vm.heapstartsize=8m
  226. dalvik.vm.heapgrowthlimit=128m
  227. dalvik.vm.heapsize=384m
  228. dalvik.vm.heaptargetutilization=0.75
  229. dalvik.vm.heapminfree=512k
  230. dalvik.vm.heapmaxfree=8m

  231. # disable lockscreen
  232. ro.lockscreen.disable.default=true

  233. #
  234. # ADDITIONAL_BUILD_PROPERTIES
  235. #
  236. ro.com.android.dateformat=MM-dd-yyyy
  237. ro.config.ringtone=Ring_Synth_04.ogg
  238. ro.config.alarm_alert=Alarm_Classic.ogg
  239. ro.config.notification_sound=pixiedust.ogg
  240. ro.carrier=unknown
  241. debug.hwui.render_dirty_regions=false
  242. persist.sys.language=zh
  243. persist.sys.country=CN
  244. persist.sys.timezone=Asia/Shanghai
  245. persist.sys.app.rotation=force_land
  246. wifi.interface=wlan0
  247. ro.kernel.android.checkjni=0
  248. dalvik.vm.dex2oat-filter=speed
  249. dalvik.vm.dexopt-flags=v=n,o=a
  250. ro.opengles.version=131072
  251. zxic.benchmark.dvfs=true
  252. ro.product.target.category=OTT
  253. sys.bootanim.timeout=17000
  254. net.zte.refactor=1
  255. ro.config.max_starting_bg=20
  256. persist.sys.dalvik.vm.lib=libdvm.so
  257. ro.board.usb.camera=true
  258. dalvik.vm.lockprof.threshold=500
  259. net.bt.name=Android
  260. dalvik.vm.stack-trace-file=/data/anr/traces.txt
  261. ro.product.version.base=V81511341.1004 2018-04-09
  262. ro.product.version.software=V81511341.1004
  263. ro.build.display.id=V81511341.1004
  264. persist.sys.Version=V81511341.1004
  265. ro.product.113.software=V81541.1004
  266. ro.build.version.incremental=V81511341.1004
  267. ro.build.date=Mon Apr  9 08:41:05 HKT 2018
  268. ro.build.date.utc=1523234465
  269. ro.product.build.date=2017-11-25
  270. ro.build.display.id=V81511341.1004
  271. ro.build.version.incremental=V81511341.1004
  272. root@square:/ #



  273. END                 
  274. by kerry









复制代码
大佬玩机之随时随地玩(中兴盒子),前方高能!!!!!!!!!!!
大佬玩机之随时随地玩(中兴盒子),前方高能!!!!!!!!!!!

如果觉得赞不妨打赏一下???
↓↓↓↓↓↓↓↓↓↓↓↓





评分

参与人数 3威望 +10 金币 +15 Z币 +1 收起 理由
yrrek + 2 + 5 ZNDS有你更精彩:)
-Dove + 4 + 4 + 1 感谢分享^_^
eswgdeh + 4 + 6 ZNDS有你更精彩:)

查看全部评分


上一篇:b860av1.1-t 怎么去除光猫检测?
下一篇:湖南移动芒果TV B860A_V2016.03.05_2016-03-05生产版本
沙发
 楼主| 发表于 2018-6-11 15:04 | 显示全部楼层

大佬玩机之随时随地玩(中兴盒子),前方高能!!!!!!!!!!!
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2018-6-11 15:28 | 显示全部楼层
彼此的羁绊 发表于 2018-6-11 15:10
这个似乎是新的验证码了

干它
回复 支持 1 反对 0

使用道具 举报

地板
 楼主| 发表于 2018-6-12 08:24 | 显示全部楼层
cxshuxj 发表于 2018-6-12 07:52
root过的安卓手机?

没root过的,你打个busybox试试,都不一定有权限
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|新帖|标签|软件|Sitemap|ZNDS智能电视网 ( 苏ICP备2023012627号 )

网络信息服务信用承诺书 | 增值电信业务经营许可证:苏B2-20221768 丨 苏公网安备 32011402011373号

GMT+8, 2024-4-24 10:25 , Processed in 0.081148 second(s), 15 queries , Redis On.

Powered by Discuz!

监督举报:report#znds.com (请将#替换为@)

© 2007-2024 ZNDS.Com

快速回复 返回顶部 返回列表