Re: [android-building] How to maintain android binaries checksum intact. after rebuild of AOSP.

2018-12-21 Thread Colin Cross
We work pretty hard to make sure that the contents of the system image
don't change unless the source tree is changed, and AOSP master should be
in pretty good shape, although bugs do creep in sometimes.  The build time
and build number are stored in system/build.prop and change on every build
though.  The build number can be fixed on the command line with m
BUILD_NUMBER=12345, but there is currently no way to fix the build date.
You would need to edit build/make/tools/buildinfo_common.sh to not use
$DATE to get the current timestamp.  We would accept patches that made the
build date settable from the command line.

On Fri, Dec 21, 2018 at 7:58 AM  wrote:

> Hi Android Experts,
>
>
>
>We need some help / information that, Is there any way
> to keep android images (system.img, boot.img etc ) checksum [md5sum/crc32]
> same even after fresh build or recompilation??. Even though without
> changing a single bit in the AOSP Source code if we rebuild it, Android
> binaries checksum keeps changing. As I can understand that the
> compilers/linkers adds the date and time-stamp to the images/binaries after
> each build which causes the change in the checksum.  So my question, Is
> there any way to avoid this change in image checksum after every rebuild.
> it should change only when we change any source code. kindly update.
>
> --
> --
> 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.
>

-- 
-- 
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] AOSP flashing Pixel 3 XL with fastboot

2018-12-21 Thread Peder Møller
I am trying to flash my Google Pixel 3 XL with my locally built AOSP.

The build and flash seem to go smoothly, but the phone does not start up.
At startup, the Google logo is seen shortly and then the phone boots again.
I do not think there is anything wrong with the phone.
When the phone is flashed with a factory image 
(crosshatch-pq1a.181205.006-factory-96b23504), everything works fine

The AOSP repository has been retrieved with

repo init -u https://android.googlesource.com/platform/manifest -b 
android-9.0.0_r21 --depth=1

compilation seems to work fine, flashing with

fastboot -w flashall

also completes without problems, but the phone doesn't start up.
The interesting thing is that I have previously built an AOSP for a Pixel 
XL and that went fine, so it looks like some strange difference between 
Pixel and Pixel 3.

I realize that there is a previous thread on something similar

https://groups.google.com/forum/#!topic/android-building/lmCUWEgoaKQ

but it was not clear what could be done to solve the problem.

Any feedback would be highly appreciated.

-- 
-- 
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] How to maintain android binaries checksum intact. after rebuild of AOSP.

2018-12-21 Thread ltephonetwo


Hi Android Experts,

 

   We need some help / information that, Is there any way 
to keep android images (system.img, boot.img etc ) checksum [md5sum/crc32]  
same even after fresh build or recompilation??. Even though without 
changing a single bit in the AOSP Source code if we rebuild it, Android 
binaries checksum keeps changing. As I can understand that the 
compilers/linkers adds the date and time-stamp to the images/binaries after 
each build which causes the change in the checksum.  So my question, Is 
there any way to avoid this change in image checksum after every rebuild. 
it should change only when we change any source code. kindly update.

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