Firstly,
I have got the OPM5.171019.017 factory image and change the aosp code 
to refs/tags/android-8.1.0_r18

Then,
I config the build option as follow:

source build/envsetup.sh

lunch aosp_angler-userdebug

choosecombo
1. release
2. Which product would you like? [aosp_angler]
3. Variant choices are:
     1. user
     2. userdebug
     3. eng
Which would you like? [eng]

make bootimage -j4

Last I flash the boot image to my nexus 6p using the following cmd:
adb reboot bootloader
fastboot flash boot bootimage reboot

The issue comes:
I connect my phone to macOS and type add shell,  it is still in user 
mode: angler:/ $
The phone with root permission will show angler:/ #

So I want to know how to build bootimage with root permission

Looking forward the solutions

Thanks.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

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

Reply via email to