On Thu, Mar 22, 2018 at 2:26 AM, <aparr...@d3engineering.com> wrote:

> Is there a way for a service team to get root access on a user build, for
> diagnosing issues with a device?
>
> We're working on a new device based on Android. Of course, the devices,
> once released, will be running user builds of the software, which do not
> allow root access through ADB.
>
> However, we need our client's service team to be able to run diagnostic
> tools on defective devices that they are servicing. These tools need access
> to several hardware device files, and we would rather not allow normal
> end-users to be able to run these tools, so they require root. But since
> there's no way to run programs as root on a user build of Android, we are
> investigating options for allowing the manufacturer to run the tools while
> disallowing end users.
>
> I've looked through source.android.com, but I didn't see anything
> relevant. I'm also having a hard time with Google; most of the results are
> for end-users who want to root their devices, not the manufacturer.
>
> Is there a standard way for the company that built the device to gain root
> access to devices running user builds, without erasing the user's data?
>
​Possibly to default stock Android - Answer is no. But you can induce a
custom system service which can run these tests with special credential
checks (offline or online)

 ​


>
> ---
> Sincerely, Alex Parrill
> D3 Engineering
>
> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
satish patel

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to