title: Enable USB debugging through Clockworkmod with adb
body: <p>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. <br>
  I have found a way to completely control it through adb, and through this I rooted it. <br>
  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. <br>
  Clockworkmod has adb built in. I can fully control CWM from my pc, and access my tablet's files etc. <br>
  <br>
  Now my question is, is it possible to enable USB debugging through Clockworkmod with adb or any other method, and if yes, how? <br>
  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). <br>
  I also have an <code>adb backup -all -system</code> backup on my pc, but I can't restore it through CWM as far as I can see. <br>
  I have access to both Linux and Windows.<br>
  <br>
  Update: I have tried enabling adb in <code>/data/data/com.android.providers.settings/databases/settings.db</code> with sqlite3, but after a reboot the value of <code>adb_enabled</code> was deleted and reinserted at the bottom, with value 0. However some other setting I changed did persist. <br>
  I have also tried to modify /init.rc, but this file is also being rewritten on boot it seems.</p>