Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Problems with ADB in Android 6.0.X #341
For some reason, (still unknown), when flashing the kernel/rooting/twrp the ADB is gone (only happening in 6.0.X android version)
This is confirmed (we also suffer it), but by now, you can:
We are still not sure if is a problem with android 6, with nethunter kernel, or the mix of both.
i have a temporal solution, it's not necessary the adb for doing the stock reset, we made an alternative solution to the RSA problem with your script, My friend @acidobinario and I modify the script so that the verification skips adb and the user have to be in fastboot mode. if you can, you can name the script "DesesperatedStockRestaurationNexusMM.sh", only it has been tested on Nexus 7.
https://github.com/acidobinario/nethunter-LRT/commit/1bca4faf1a2ac0791a16c23e1c7a523a06433b5e (sorry for the sense of humor of my argentinean friend)
edit: I realized that the problem is marshmallow. I installed a factory image and have the same problem
@vay3t Thanks for reporting this issue.
@ALL Any news on a workaround for Marshmallow that one can apply via terminal?
This way you don't have to wait for a bugfix or reflash stock and so on.
@H8to worked like a charm for one of my nexus devices! Copied over nexus 7's adbkey to my second nexus 5 and it got it out of that damn aunuthorized state in adb.
My first nexus 5 seemed to have fixed itself and the RSA fingerprint prompt finally came up after several hours of being off. Ok, now lets try this again....
I think this might be due to some devices interaction with ro.secure prop, if built in release mode and you switch that to off it has some unintended consequences probably because ro.secure=0 on a release build isn't something aosp/Google devs are testing.