Hi Dave,
Do you have reason.
I changed in init.rc file
# Enable adb security for JB4.2.2
setprop ro.adb.secure 0
by
# Enable adb security for JB4.2.2
setprop ro.adb.secure 1
Now, I can to access from adb
$ adb shell
Thanks so much.
Best regards,
jvidalsm
2014-03-31 18:06 GMT-05:00 Dave Hylands <[email protected]>:
> Hi Jose,
>
> That looks reasonable. I'm not sure why adb wouldn't be running.
>
> Does your /init.rc have commands to start it?
>
> Dave Hylands
>
> ----- Original Message -----
> > From: "Jose Vidal" <[email protected]>
> > To: "Dave Hylands" <[email protected]>
> > Cc: [email protected]
> > Sent: Monday, March 31, 2014 3:54:30 PM
> > Subject: Re: [b2g] How to authorize adb service from boot
> >
> > Hi Dave,
> >
> > Thanks for your response,
> >
> > I have a default.prop file inside the initramfs.cpio.gz file of boot.img:
> >
> > ========= initramfs.cpio.gz =============
> > #
> > # ADDITIONAL_DEFAULT_PROPERTIES
> > #
> > ro.secure=0
> > ro.allow.mock.location=1
> > ro.debuggable=1
> > persist.sys.usb.config=mtp,adb
> >
> > ====================================
> >
> >
> > Mainly, I need to porting userdata,img and I can not make that because I
> > can not to access via adb.
> >
> > What do you think ?
> > How I can porting userdata.img image?
> >
> > Thanks in advance
> >
> >
> > Best regards,
> >
> >
> > jvidalsm
> >
> >
> >
> >
> >
> >
> > 2014-03-31 17:43 GMT-05:00 Dave Hylands <[email protected]>:
> >
> > > 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