[Samsung Galaxy Nexus] picklefish:
I can't seem to get adb working on the SETUP front page. Is there some way to enable USB Debugging via a flash or root from recovery so that I can logcat?

EDIT:

My attempt to get USB debugging enabled from recovery.... I still just get a black screen on launch after doing all of this. I'm guessing I'm missing another setting somewhere...

following this http://stackoverflow.com/questions/13326806/enable-usb-debugging-through-clockworkmod-with-adb

Installed clockworkmod recovery

http://wiki.cyanogenmod.org/w/Install_CM_for_toro#Unlocking_the_device

Section: Installing recovery using fastboot

With CWM installed I could then adb in. (I mounted system and data in the recovery menu)

updated build.prop

> adb pull /system/build.prop build.prop

open build.prop in notepad++ and add "persist.service.adb.enable=1" (without quotes)

> adb push build.prop /system/build.prop

then edited adb_enabled to 1 in settings db

> adb pull /data/data/com.android.providers.settings/databases/settings.db

edit

> adb push settings.db /data/data/com.android.providers.settings/databases/settings.db

following this guide if you need help editing settings.db

http://xdaforums.com/showthread.php?t=774507 (i would use this sqlliteadmin though http://sqliteadmin.orbmu2k.de/ but replace the dll following this stack overflow top answer http://stackoverflow.com/questions/9991162/viewing-dumping-encrypt-android-sms-database)

[EDIT 2]

I ended up just installing Cyanogen to see if it crashes on that. I am logcating it since it has USB logging on by default apparently.

[EDIT 3]

So this reboot even happens in cyanogenmod. I managed to get to USB Debugging checkbox, but when the popup showed up it froze and crashed :( It only happens if i click on buttons in the ui. If i never click anything (just swipe around the desktop) it will never reboot. This is so weird. as long as I don't press any UI buttons it won't reboot. I wish I could get logcat to work.

[EDIT 4]

Here's a logcat right before it crashed. I can attach the whole thing but I am not sure if there are any serial numbers in it or not that I would need to sanitize.

W/ActivityManager( 313): Permission denied: checkComponentPermission() owningUid=1000

W/BroadcastQueue( 313): Permission Denial: broadcasting Intent { act=android.appwidget.action.APPWIDGET_UPDATE_OPTIONS flg=0x10 cmp=com.android.settings/.widget.SettingsAppWidgetProvider (has extras) } from android (pid=550, uid=10045) is not exported from uid 1000 due to receiver com.android.settings/com.android.settings.widget.SettingsAppWidgetProvider

I/HeadsetService( 776): Headset=false; Bluetooth=false

I/HeadsetService( 776): Selected configuration: speaker

D/EventHub( 313): No input device configuration file found for device 'sec_jack'.

I/EventHub( 313): New device: id=12, fd=230, path='/dev/input/event6', name='sec_jack', classes=0x1, configuration='', keyLayout='/system/usr/keylayout/sec_jack.kl', keyCharacterMap='/system/usr/keychars/sec_jack.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false

I/InputReader( 313): Device added: id=12, name='sec_jack', sources=0x00000101

V/WiredAccessoryObserver( 313): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=1, DEVPATH=/devices/virtual/switch/h2w, SEQNUM=4580, ACTION=change, SWITCH_NAME=h2w, SWITCH_TIME=102717987063}

V/WiredAccessoryObserver( 313): updateState name: h2w state 1

V/WiredAccessoryObserver( 313): updateState switchState: 1

V/WiredAccessoryObserver( 313): newState = 1, headsetState = 1,mHeadsetState = 0

V/WiredAccessoryObserver( 313): device h2w connected

I/HeadsetService( 776): Headset=true; Bluetooth=false

I/HeadsetService( 776): Selected configuration: headset

D/PhoneStatusBar( 401): disable: < expand icons alerts TICKER* system_info back home recent clock >

W/InputMethodManagerService( 313): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42747db0 attribute=null

D/PhoneStatusBar( 401): disable: < expand icons alerts ticker* system_info back home recent clock >

W/ThrottleService( 313): unable to find stats for iface rmnet0

I/ActivityManager( 313): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.mms/.ui.ConversationList bnds=[428,1040][565,1168] u=0} from pid 550

I/EventHub( 313): Removing device sec_jack due to epoll hang-up event.

I/EventHub( 313): Removed device: path=/dev/input/event6 name=sec_jack id=12 fd=230 classes=0x1

D/dalvikvm( 313): GC_FOR_ALLOC freed 946K, 39% free 7497K/12288K, paused 52ms, total 52ms

I/dalvikvm-heap( 313): Grow heap (frag case) to 16.786MB for 380496-byte allocation

I/InputReader( 313): Device removed: id=12, name='sec_jack', sources=0x00000101

I/EventHub( 313): Removing device '/dev/input/event6' due to inotify event

V/WiredAccessoryObserver( 313): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=0, DEVPATH=/devices/virtual/switch/h2w, SEQNUM=4835, ACTION=change, SWITCH_NAME=h2w, SWITCH_TIME=106985137942}

V/WiredAccessoryObserver( 313): updateState name: h2w state 0

V/WiredAccessoryObserver( 313): updateState switchState: 0

V/WiredAccessoryObserver( 313): newState = 0, headsetState = 0,mHeadsetState = 1

V/WiredAccessoryObserver( 313): device h2w disconnected

I/HeadsetService( 776): Headset=true; Bluetooth=false

D/libEGL ( 891): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so

D/libEGL ( 891): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so

D/libEGL ( 891): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so

D/OpenGLRenderer( 891): Enabling debug mode 0

I/ActivityManager( 313): Displayed com.android.mms/.ui.ConversationList: +452ms

I/HeadsetService( 776): Headset=false; Bluetooth=false

I/HeadsetService( 776): Selected configuration: speaker

I/ActivityManager( 313): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher u=0} from pid 313

D/dalvikvm( 313): GC_CONCURRENT freed 1000K, 39% free 8502K/13763K, paused 3ms+12ms, total 95ms