Target Device: Nexus 5X
Development Host: Linux, Slackware 14.2, 64-Bit, x86_64 Desktop Hardware.

This posting is regarding installing, (flashing) a "userdebug" build of 
marlin, (repo sync'd on 21 Sept. 2018), to a Nexus 5X Device, 
that is built unmodified via the "repo" commands, "lunch" and "make droid".

Android Studio, and Platform Tools are installed and up to date. Android 
Studio has been used successfully to build sample Apps, push them to device,
and run them on device.

The repo folder on the Development Host is sync'd, (as of 21 September 
2018). 

After a "repo init" and "repo sync", the lunch menu has 37 items. Item #19 
is "aosp_marlin-userdebug"

After selecting "aosp_marlin-userdebug", (#19), from the Lunch Menu, "make 
"adb" and "make fastboot" work.   

adb and fastboot command line programs,  (whether from Platform Tools,  or 
after "make adb" or "make fast boot"), work fine for shell access to the 
device, push, pull, bootloader unlock, and flashing with files obtained 
from here:

https://developers.google.com/android/images

The commands in flash-all.sh all work fine to successfully flash device 
with its latest "Factory" image, (Bullhead),  ID: 8.1.0 
(OPM6.171019.030.K1, Sep 2018)


Then, running "make droid", (for aosp-marlin-userdebug"), successfully 
builds the various Target Device Image Files, for Marlin, and puts them in 
$OUT. (After a Glacial Epoch of Time).


Prior to flashing the device with the Image Files created from "make 
droid", I tried to flash the device with a Marlin System Image, ID: 
image-marlin-njh34c.zip from  *marlin-njh34c-factory-be914eaa.zip*
)
The error message I get is:

*fastboot -w update image-marlin-njh34c.zip*

*--------------------------------------------       *

*Bootloader Version...: BHZ31b*

*Baseband Version.....: M8994F-2.6.41.5.01*

*Serial Number........: 0255046c4c403d85*

*--------------------------------------------       *

*extracting android-info.txt (0 MB) to RAM...*

*Checking 'product'                                 FAILED*


*Device product is 'bullhead'.*

*Update requires 'marlin' or 'sailfish'.*


So, as far as I can tell, the "build" process works fine, but if the 
"stock" Marlin image cannot be installed on the device, how can one built
from source be flashed onto the device?


I picked an earlier release, Major Version "7" Because I thought it should 
work. I will update this post after I try the latest "marlin" and 
"sailfish" Updates in version "8" and "9"

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to