CM211-1

这篇博客记录了作者如何刷机电视盒子并获取ROOT权限的过程。首先通过TTL连接,利用用户名和密码登录,安装了当贝市场和桌面。在无法开启WiFi的情况下,通过Debug工具的wifitest功能解决了问题。随后,作者通过手动复制su文件和安装SuperSu APK实现了ROOT,但重启后失去权限。最后,通过修改install-recovery.sh脚本成功保持了ROOT权限。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天到手了某百盒的电视盒子。试着看看能不能刷机。

ttl连接后,需要login。一番百度后试出来用户名密码: root   chcmccch  

然后用ttl安装了当贝市场和当贝桌面。看看效果。

可以安卓app了,只是无法打开wifi。如果用的有线,那么就可以收工了。

搜了半天,都没有找到破解wifi的方法,看来我只能刷机了。

在下载刷机包的时候,找到了一个叫Debug工具的app,点进去发现有一个wifi test的功能,在里面打开了wifi,也能搜索到无线信号。重启盒子后也能自动连上。

OK,能连无线,当贝桌面,可以安装APP,可以满足我的日常需求了。收工。

更新:获取root权限

第二次打开盒子准备安装一些软件的时候,发现没有root权限。恶心啊,忘记root了,难道必须得刷机了吗??

找了一堆安装包,都没有root权限。好像说是现在的rom制作者和当贝合作,都不给root权限了。

没办法了,只能想想ttl方法看看能不能root了。

一顿搜索后,发现还真有办法。就是手动复制su文件到/system/xbin目录下,并安装superSu.apk

可是su文件去哪找呢?去superSu官网看看。  https://supersuroot.org/

SuperSu的zip文件里找到了su文件,我的是armv7架构的,直接复制出来。SuperSU zip

apk也是用的对应的2.82版本。apk    (SuperSU-pro我也不知道是什么,装上看了看,发现啥用也没有)

开整

把su文件和apk文件复制到优盘,把优盘插到盒子上。

ttl连接,把 su文件复制到/system/xbin目录下,把su重命名为daemonsu,同样复制到/system/xbin目录下

更改这两个文件的权限  `chmod 0755 su`      `chmod 0755 daemonsu`

再运行 /system/xbin/daemonsu --auto-daemon & 命令让daemon运行在后台

可以用ps命令查看一下是否正常运行

安装apk文件  `pm install superSu.apk`

在盒子上打开superSu,提示我更新su文件,我选择了更新。更新完后让我重启。

重启后,打开需要root权限的apk,授权成功。

在我查到的文章里,需要复制其他好几个文件,我都没有复制,也成功了。不知道这是为什么。我先用用,再有问题的话,我继续更新

更新:上面的失败了

盒子断电重启后,root又没了。ps查看后,发现daemonsu进程没起

搜索后,发现常规解决方案是把起daemonsu命令放在install-recovery.sh脚本中。

按别人的博客,使用echo命令,把`/system/xbin/daemonsu --auto-daemonsu &`追加到install-recovery.sh文件中。

发现不好使,好像是脚本中前面的命令阻塞了新增的这一句。把这一句提到第一行,解决!

### CM211-1 Debian Configuration and Drivers For configuring a system with hardware model CM211-1 under Debian, specific attention must be paid to both the base installation process as well as ensuring compatibility of drivers especially for graphics cards like NVIDIA. The command `debootstrap etch /mnt ftp://ftp.de.debian.org/debian/` was used historically for setting up a basic Debian environment but this method is outdated given current versions such as Debian 12[^1]. For modern installations including those targeting systems similar to CM211-1, it's recommended to use more recent tools provided by Debian or other third-party solutions that support newer architectures better. Regarding driver issues observed after updating the Linux kernel to version `linux-image-6.6.13+bpo-amd64`, there have been reports indicating problems when using certain Nvidia drivers (version `535.154.05`) which prevent users from accessing graphical interfaces post-update[^2]. This suggests potential conflicts between updated kernels and existing proprietary drivers installed on the machine. To address these challenges: - Verify if official repositories contain compatible packages for your device. - Consider testing different versions of available drivers until finding one stable enough for daily usage. - Explore community forums where others might share experiences related specifically to CM211-1 configurations within Debian environments. Additionally, while not directly linked to CM211-1 setup, some general tips about managing software services in Debian could prove useful during troubleshooting phases; for instance, knowing how easily applications can now be managed via simple commands like installing FileZilla through APT package manager has streamlined many administrative tasks over time[^4]. Lastly, advanced debugging techniques involving tools like Valgrind may help identify memory leaks or performance bottlenecks associated with running particular daemons alongside GPU operations – although primarily focused here on NFS-Ganesha setups rather than direct application towards solving initial query regarding CM211-1 specifics[^5]. ```bash sudo apt-get update && sudo apt-get upgrade -y ```
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值