Thanks a lot David! Really appreciate the same.

Is there anyways that can I figure out, roughly around which dates  approx-
android's repo , branch, tags & the specific commit ID - the below patch
was applied and tried?

https://android-review.googlesource.com/c/platform/system/core/+/633925

based on the above patch, I see the parent commit ID is  "
https://android.googlesource.com/platform/system/core/+/d555e08224d2a08f4f12c16ae4109b63b9f7def9";,
but could you please let me know , is there anyways that can I figure out
the specific android's repo , branch, tags & the specific commit ID

As I am trying to bringup new usb host controller ip for android debugging,
that requires some custom changes on adbd,

I guess the andorid version that is being used is “android-9.0.0_r45” (but
I don't know the specific branch or commit id to get the same commit id),
but when I try to build this version and replace the adbd in
system.raw.img, I am unable to launch the settings icon, as it tries to
keep loading but it doesn't launch at all.

https://source.android.com/setup/build/downloading & the below is the build
procedure (please correct me if the below procedure is wrong for building
android)

2. Setup for build – This step has to be done only once
<repo dir> $ source env_setup.sh
<repo dir> $ lunch
Choose “aosp_x86_64-eng”

As I tried using the command "adb shell getprop | grep ro.build" it didn't
help on the target, to get the specific android repo with specific branch
tags & commit id.

Could you please provide any inputs or pointers on the above please, I
tried googling randomly for 2-3 days, I didn't get any clues on it.?

Many Thanks in advance



On Thu, May 14, 2020 at 12:54 AM David <dzeru...@inovex.de> wrote:

> Hey Appu,
>
> not an expert but on the source code go to the repo manifest branch `cd
> <repo dir>/.repo/manifests`.
> With `git show` you can see the latest commit and also the attached tags.
> (The manifests folder describes which repository version repo syncs.)
>
> https://gerrit.googlesource.com/git-repo/+/refs/heads/master/docs/manifest-format.md
>
> With `repo status` you can see your local changes.
> https://source.android.com/setup/develop/repo#status
>
>
> On the device you can get some build information with:
> `adb shell getprop | grep ro.build`
>
> But as far as I know you can't get the branch used for the build.
>
>
> I hope that helps.
>
> Cheers,
> David
>
>
> Am Montag, 11. Mai 2020 20:06:05 UTC+2 schrieb Appu:
>>
>> Dear Android Building experts,
>>
>> Could you please let me know, I am trying to build the android source
>> code from respective branch for ex: android-9.0.0_r45, how can I verify
>> that it is picking the android sources from this respective branch -
>> android-9.0.0_r45? once after it is downloaded or after it is built?
>>
>>
>> Steps to reproduce:
>>
>> 1. https://source.android.com/setup/build/downloading
>> Used branch “android-9.0.0_r45”
>>
>>
>> repo init -u https://android.googlesource.com/platform/manifest -b
>> android-9.0.0_r45
>>
>> 2. Setup for build – This step has to be done only once
>> <repo dir> $ source env_setup.sh
>> <repo dir> $ lunch
>> Choose “aosp_x86_64-eng”
>>
>> Many Thanks in advance,
>>
>> --
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/2b389bea-b61a-4e25-a8dc-a3b1ebaa1209%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/2b389bea-b61a-4e25-a8dc-a3b1ebaa1209%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CAFsTbWcc-jAis-0qNqvxdR%2BvPxvvZWEtZnW3NXsBgvxUTeo-8w%40mail.gmail.com.

Reply via email to