Originally Posted by 0lvin
May be in the future.
For today i have finished my code for logs on screen.
But without real useful results, from code can be generated recovery and flash rom, but resulted code stuck on adb enable state. May be someone want check code for propose some idea "how check what is going wrong?" and propose some solution for resolve.
For check current state use this local manifest and update system/core by commits from this state.
I think the problem is userland, but the logs are only from init. you also need the logs from the kernel and userland.
I think the phone tries to load the rest of the os, which fails, and then it tries again. But you can't see that, because you only see the logs from init. I assume adb doesn't work?
Try adding this line: write /sys/class/android_usb/android0/f_adb/on 1
It should enable adb, no matter what the rest of the settings is, but I'm not sure it'll work.