[android-building] Re: Encountering error while building

2018-12-29 Thread American Justice Corp

Try deleting the sdm845 directory. Under it are two symbolic links to files 
under a non-existent data/ directory, therein.

After I did that, an re-ran the build, the build continued from where it 
left off, and made it to 994/994, whereas before it choked
at 493/995. (note that the total is now 994, not 995, since we deleted one 
folder). 

This was during a "make adb" command, and ultimately it got made 
successfully.

The branch I had checked out was  android-8.1.0_r52 for bullhead.





On Tuesday, October 30, 2018 at 10:48:44 AM UTC-4, Vincent Victor wrote:
>
> Hi Brian,
>
> Please suggest latest branch which do not have any problem for sailfish. I 
> am getting bootloops with 9.0.0_r10 branch...
>
> Thanks!
>
> On Monday, 29 October 2018 20:03:39 UTC+5:30, Brian Moore wrote:
>>
>> I've never built from the master branch. I always build with the latest 
>> branch for my device. 
>>
>> Since you're building for Pixel (sailfish), try repo init with the 
>> 9.0.0_r10 branch, which is the most recent according to this link: 
>> https://source.android.com/setup/start/build-numbers 
>> This branch will also match with the version on binaries that you already 
>> downloaded. 
>>
>> Note: Even if you successfully build, there seems to be a bug with the 
>> current binaries supplied by Google for AOSP 9.0 for Sailfish. Some files 
>> are missing and the SIM is not found. There is another thread in this group 
>> right now that addresses this issue and a workaround. 
>
>

-- 
-- 
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.


Re: [android-building] Building Marlin For Nexus 5X -- Cannot Flash Build Product To Device.

2018-09-25 Thread American Justice Corp

I understand this now. Thanks. I misunderstood the codename as referring to 
an Android build, not the device itself. 

This topic can be closed.
Thanks.
 



On Tuesday, September 25, 2018 at 1:33:10 PM UTC-4, Colin Cross wrote:
>
> marlin images are for the Pixel XL, they are not compatible with the Nexus 
> 5x (bullhead).
>
> On Tue, Sep 25, 2018 at 12:31 AM American Justice Corp <
> americanj...@gmail.com > wrote:
>
>> 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 android-...@googlegroups.com 
>> 
>> To unsubscribe from this group, send email to
>> android-buildi...@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-buildi...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
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.


[android-building] Building Marlin For Nexus 5X -- Cannot Flash Build Product To Device.

2018-09-25 Thread American Justice Corp
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 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.