通过Clockworkmod与亚行启用USB调试 [英] Enable USB debugging through Clockworkmod with adb

查看:129
本文介绍了通过Clockworkmod与亚行启用USB调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,前几天我的Nexus 7得到了下降,现在有屏幕大的裂缝。触摸屏被破坏。也就是说,我仍然可以看到发生了什么,但没有反应。
我已经找到了一种方法,通过亚行完全控制它,通过这个我扎根了。
然而,生根它抹去我的所有数据和设置,包括USB调试。其结果是,我不能再在所有的控制它,除了将其关闭和改变音量。
Clockworkmod已ADB内置的。我可以完全控制CWM从我的电脑,并访问我的平板电脑中的文件等。

现在的问题是,是否有可能通过Clockworkmod启用USB调试与亚行或任何其他方法,如果是,怎么样?
我有根访问权限的所有文件和设置,我能够得到它所需的任何二进制文件,无论是原生的Andr​​oid文件,CyanogenMod的文件,任何原生ARM Linux程序,还是其他什么东西(认为sqlite3的举例) 。
我也有一个 ADB备份-all - 系统备份在我的电脑,但我无法通过CWM恢复,据我所看到的。
我有机会获得在Linux和Windows。

更新:我试图使亚行 /data/data/com.android.providers.settings/databases/settings.db 与sqlite3的,但重启后的值 adb_enabled 被删除并重新插入底部,与值0。然而我没有改变坚持一些其他的设置。
我也试图修改/init.rc,但这个文件也被改写的启动似乎。

So, a few days ago my Nexus 7 got dropped, and now there's a big crack in the screen. The touchscreen is broken. That is, I can still see what happens, but it is unresponsive.
I have found a way to completely control it through adb, and through this I rooted it.
However, rooting it wiped all my data and settings, including USB debugging. The result is that I can't control it anymore at all, other than turning it off and changing volume.
Clockworkmod has adb built in. I can fully control CWM from my pc, and access my tablet's files etc.

Now my question is, is it possible to enable USB debugging through Clockworkmod with adb or any other method, and if yes, how?
I do have root access to all files and settings, and I am able to get any needed binary file on it, be it a native Android file, a Cyanogenmod file, any native ARM Linux binary, or something else (think sqlite3 for example).
I also have an adb backup -all -system backup on my pc, but I can't restore it through CWM as far as I can see.
I have access to both Linux and Windows.

Update: I have tried enabling adb in /data/data/com.android.providers.settings/databases/settings.db with sqlite3, but after a reboot the value of adb_enabled was deleted and reinserted at the bottom, with value 0. However some other setting I changed did persist.
I have also tried to modify /init.rc, but this file is also being rewritten on boot it seems.

推荐答案

嗯,据我所知,你可以试试这样做:

Well, as far as I know, You can try doing this:

  • 运行亚行壳ClockworkMod
  • 在重新安装/系统在读写模式。
  • 将它添加到/system/build.prop: persist.service.adb.enable = 1
  • 保存文件。
  • Run an ADB shell in ClockworkMod
  • Remount /system in readwrite mode.
  • Add this to /system/build.prop: persist.service.adb.enable=1
  • Save the file.

这篇关于通过Clockworkmod与亚行启用USB调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆