Hi Jose, I think that you probably need to disable adb secure mode.
I think that you need to set ro.adb.secure=0 in the properties file which is used when the phone boots into recovery mode. I'm not sure how you actually go about doing this, but I suspect its part of the initramfs image of the recovery kernel. I haven't messed with this - I just took a look at the the adb source code (in system/core/adb). Alternatively, you could modify the source so that the daemon never starts up in secure mode. Search for ro.adb.secure in the directory above. Dave Hylands ----- Original Message ----- > From: "Jose Vidal" <[email protected]> > To: [email protected] > Sent: Monday, March 31, 2014 10:31:49 AM > Subject: [b2g] How to authorize adb service from boot > > Hi everyone, > > I need to porting userdata.img > > I have a freescale connected to ubuntu host via serial port using minicom. > > From my host, when I put > > $ adb shell > > I get like response: > > error: device unauthorized. Please check the confirmation dialog on your > device. > > I need to access adb service for porting userdata. > > Can I to activate adb from init, boot or somewhere? > > > > I hope for your help > > Thanks in advance. > > > Best regards, > > jvidalsm > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
