[android-building] Re: android 12 to build pixel 6 oriole

2022-01-28 Thread jw wang
Hi All

oriole build could be done by lunch aosp_oriole-userdebug, this lunch 
number didn't appear on the common lunch list.

On Wednesday, January 26, 2022 at 10:13:20 AM UTC+8 jw wang wrote:

>
> Hi Bill, 
>
> I repo sync the following
> https://source.android.com/setup/start/build-numbers
>
> SQ1D.220105.007
> android-12.0.0_r27
> this should support the build option for pixel 6 (oriole), I'm gonna build 
> a userdebug image for my pixel 6, however unfortunately I can't see any 
> oriole build option when performing lunch, the latest in the list is pixel 
> 5a(barbet),
> is anything about pixel 6 missing in this R27 branch ?
>
> On Saturday, January 15, 2022 at 5:01:17 AM UTC+8 Bill Yi wrote:
>
>> Android 12 source code is now available. The following builds, tags, and 
>> devices are supported:
>>  - SQ1D.220105.007, android-12.0.0_r27, Pixel 6 Pro, Pixel 6
>>
>> The corresponding factory images, ota images, and proprietary binaries 
>> are available at
>>  https://developers.google.com/android/images
>>  https://developers.google.com/android/ota
>>  https://developers.google.com/android/drivers
>>
>> We have pushed the corresponding kernel projects for the following 
>> devices:
>> Tag  Project Branch
>> android-12.0.0_r0.36 device/google/raviole-kernel 
>> android-gs-raviole-5.10-android12-qpr1-d
>>
>> bill
>>
>>

-- 
-- 
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/55e5c98e-ded6-4241-9807-a079e5224e55n%40googlegroups.com.


[android-building] android 12 to build pixel 6 oriole

2022-01-25 Thread jw wang

Hi Bill, 

I repo sync the following
https://source.android.com/setup/start/build-numbers

SQ1D.220105.007
android-12.0.0_r27
this should support the build option for pixel 6 (oriole), I'm gonna build 
a userdebug image for my pixel 6, however unfortunately I can't see any 
oriole build option when performing lunch, the latest in the list is pixel 
5a(barbet),
is anything about pixel 6 missing in this R27 branch ?

On Saturday, January 15, 2022 at 5:01:17 AM UTC+8 Bill Yi wrote:

> Android 12 source code is now available. The following builds, tags, and 
> devices are supported:
>  - SQ1D.220105.007, android-12.0.0_r27, Pixel 6 Pro, Pixel 6
>
> The corresponding factory images, ota images, and proprietary binaries are 
> available at
>  https://developers.google.com/android/images
>  https://developers.google.com/android/ota
>  https://developers.google.com/android/drivers
>
> We have pushed the corresponding kernel projects for the following devices:
> Tag  Project Branch
> android-12.0.0_r0.36 device/google/raviole-kernel 
> android-gs-raviole-5.10-android12-qpr1-d
>
> bill
>
>

-- 
-- 
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/dd51f009-664e-4f75-a922-86772175b583n%40googlegroups.com.


[android-building] Re: No valid operating system could be found Pixel 3a XL

2019-11-25 Thread jw wang
Hi Dhanyu Eshaka

*did you download the blob into the root of AOSP ?*

https://source.android.com/setup/build/downloading
Obtain proprietary binaries

AOSP can't be used from pure source code only and requires additional 
hardware-related proprietary libraries to run, such as for hardware 
graphics acceleration. See the sections below for download links and Device 
binaries  for 
additional resources.
Some devices package these proprietary binaries on their /vendor 
partition.Download 
proprietary binaries

You can download official binaries for the supported devices running tagged 
AOSP release branches from Google's drivers 
. These binaries add access 
to additional hardware capabilities with non-open source code. To build the 
AOSP master branch, use the Binaries Preview 
 instead. When 
building the master branch for a device, use the binaries for the most 
recent numbered release 
 or with the most 
recent date.


On Monday, November 25, 2019 at 5:51:35 AM UTC+8, Dr. Dhanyu Eshaka wrote:
>
> Hi,
>
> I am using build for   "Pixel 3a XL bonito aosp_bonito-userdebug" 
> configuration.
>
> I build the android version based on 
> "QP1A.191105.003 android-10.0.0_r10 Android10 Pixel 3a XL, Pixel 3a, 
> Pixel 3 XL, Pixel 3 2019-11-05"
>
> After flash the device the system complains as  "No valid operating 
> system could be found. The device will not boot."
>
> Reasoning for this error explain as "Show a RED screen is shown if no 
> valid version of Android can be found".
>
> I have used the given version from AOSP. And build exactly as they 
> advised. 
>
> What am I missing here?
>
> Thx
>
>

-- 
-- 
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/a0784832-6ac5-4f1f-909c-4a64d60bad10%40googlegroups.com.


[android-building] Re: repo 1.26 cause AOSP sync break..

2019-10-21 Thread jw wang
Hi Mr. Li

any wrong doing about my configuration ?
the same environment worked well in 1.25.


On Tuesday, October 15, 2019 at 11:28:01 PM UTC+8, jw wang wrote:
>
> Hi Mr. Li
>
> following are the information, any wrong doing ?
>
>
> LC_PAPER=lzh_TW
> LC_ADDRESS=lzh_TW
> LC_MONETARY=lzh_TW
> LC_NUMERIC=lzh_TW
> LC_TELEPHONE=lzh_TW
> LC_IDENTIFICATION=lzh_TW
> LANG=en_US.UTF-8
> LC_MEASUREMENT=lzh_TW
> LC_TIME=lzh_TW
> LC_NAME=lzh_TW
>
>
>
>
> On Tuesday, October 15, 2019 at 12:46:33 AM UTC+8, jw wang wrote:
>>
>>
>> have updated my ~/bin/repo  with the suggestion from AOSP, but get the 
>> following
>>
>>
>> :~/work/agent/_work/android-10.0.0_r4$ repo --version
>> repo version v1.13.7
>>(from https://gerrit.googlesource.com/git-repo)
>> repo launcher version 1.26
>>(from /home/jericho/bin/repo)
>>(currently at 1.13.7)
>> repo User-Agent git-repo/1.13.7 (Linux) git/2.7.4 Python/2.7.12
>> git 2.7.4
>> git User-Agent git/2.7.4 (Linux) git-repo/1.13.7
>> Python 2.7.12 (default, Oct  8 2019, 14:14:10)
>> [GCC 5.4.0 20160609]
>>
>>
>>
>> :~/work/agent/_work/android-10.0.0_r4$ repo init -u 
>> https://android.googlesource.com/platform/manifest -b android-10.0.0_r4
>> Get https://gerrit.googlesource.com/git-repo/clone.bundle
>> Get https://gerrit.googlesource.com/git-repo
>> remote: Counting objects: 1, done
>> remote: Finding sources: 100% (64/64)
>> remote: Total 64 (delta 9), reused 64 (delta 9)
>> Unpacking objects: 100% (64/64), done.
>> From https://gerrit.googlesource.com/git-repo
>>fb527e3..d1e93dd  master -> origin/master
>>a2cd6ae..e778e57  stable -> origin/stable
>>  * [new tag] v1.13.7-> v1.13.7
>> Traceback (most recent call last):
>>   File "/home/jericho/bin/repo", line 939, in 
>> main(sys.argv[1:])
>>   File "/home/jericho/bin/repo", line 905, in main
>> _Init(args, gitc_init=(cmd == 'gitc-init'))
>>   File "/home/jericho/bin/repo", line 378, in _Init
>> rev = _Verify(dst, branch, opt.quiet)
>>   File "/home/jericho/bin/repo", line 715, in _Verify
>> err = proc.stderr.read().decode('utf-8')
>>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
>> return codecs.utf_8_decode(input, errors, True)
>> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 66-67: 
>> invalid continuation byte
>>
>>
>>
>> any idea ?  from https://gerrit.googlesource.com/git-repo/+refs   I can 
>> see the latest version is v1.13.7 
>> <https://gerrit.googlesource.com/git-repo/+/refs/tags/v1.13.7>
>>
>> but the suggestion from aosp is repo launcher 1.26, what's the difference 
>> between repo and repo launcher ?
>>
>>
>>
>>
>>

-- 
-- 
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/05bf0b06-5727-4f64-a1e0-f230e785a2ab%40googlegroups.com.


[android-building] Re: repo 1.26 cause AOSP sync break..

2019-10-15 Thread jw wang
Hi Mr. Li

following are the information, any wrong doing ?


LC_PAPER=lzh_TW
LC_ADDRESS=lzh_TW
LC_MONETARY=lzh_TW
LC_NUMERIC=lzh_TW
LC_TELEPHONE=lzh_TW
LC_IDENTIFICATION=lzh_TW
LANG=en_US.UTF-8
LC_MEASUREMENT=lzh_TW
LC_TIME=lzh_TW
LC_NAME=lzh_TW




On Tuesday, October 15, 2019 at 12:46:33 AM UTC+8, jw wang wrote:
>
>
> have updated my ~/bin/repo  with the suggestion from AOSP, but get the 
> following
>
>
> :~/work/agent/_work/android-10.0.0_r4$ repo --version
> repo version v1.13.7
>(from https://gerrit.googlesource.com/git-repo)
> repo launcher version 1.26
>(from /home/jericho/bin/repo)
>(currently at 1.13.7)
> repo User-Agent git-repo/1.13.7 (Linux) git/2.7.4 Python/2.7.12
> git 2.7.4
> git User-Agent git/2.7.4 (Linux) git-repo/1.13.7
> Python 2.7.12 (default, Oct  8 2019, 14:14:10)
> [GCC 5.4.0 20160609]
>
>
>
> :~/work/agent/_work/android-10.0.0_r4$ repo init -u 
> https://android.googlesource.com/platform/manifest -b android-10.0.0_r4
> Get https://gerrit.googlesource.com/git-repo/clone.bundle
> Get https://gerrit.googlesource.com/git-repo
> remote: Counting objects: 1, done
> remote: Finding sources: 100% (64/64)
> remote: Total 64 (delta 9), reused 64 (delta 9)
> Unpacking objects: 100% (64/64), done.
> From https://gerrit.googlesource.com/git-repo
>fb527e3..d1e93dd  master -> origin/master
>a2cd6ae..e778e57  stable -> origin/stable
>  * [new tag] v1.13.7-> v1.13.7
> Traceback (most recent call last):
>   File "/home/jericho/bin/repo", line 939, in 
> main(sys.argv[1:])
>   File "/home/jericho/bin/repo", line 905, in main
> _Init(args, gitc_init=(cmd == 'gitc-init'))
>   File "/home/jericho/bin/repo", line 378, in _Init
> rev = _Verify(dst, branch, opt.quiet)
>   File "/home/jericho/bin/repo", line 715, in _Verify
> err = proc.stderr.read().decode('utf-8')
>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
> return codecs.utf_8_decode(input, errors, True)
> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 66-67: 
> invalid continuation byte
>
>
>
> any idea ?  from https://gerrit.googlesource.com/git-repo/+refs   I can 
> see the latest version is v1.13.7 
> <https://gerrit.googlesource.com/git-repo/+/refs/tags/v1.13.7>
>
> but the suggestion from aosp is repo launcher 1.26, what's the difference 
> between repo and repo launcher ?
>
>
>
>
>

-- 
-- 
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/e98cf43c-1cf5-4099-bba5-4e67b126ade7%40googlegroups.com.


[android-building] repo 1.26 cause AOSP sync break..

2019-10-14 Thread jw wang

have updated my ~/bin/repo  with the suggestion from AOSP, but get the 
following


:~/work/agent/_work/android-10.0.0_r4$ repo --version
repo version v1.13.7
   (from https://gerrit.googlesource.com/git-repo)
repo launcher version 1.26
   (from /home/jericho/bin/repo)
   (currently at 1.13.7)
repo User-Agent git-repo/1.13.7 (Linux) git/2.7.4 Python/2.7.12
git 2.7.4
git User-Agent git/2.7.4 (Linux) git-repo/1.13.7
Python 2.7.12 (default, Oct  8 2019, 14:14:10)
[GCC 5.4.0 20160609]



:~/work/agent/_work/android-10.0.0_r4$ repo init -u 
https://android.googlesource.com/platform/manifest -b android-10.0.0_r4
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Counting objects: 1, done
remote: Finding sources: 100% (64/64)
remote: Total 64 (delta 9), reused 64 (delta 9)
Unpacking objects: 100% (64/64), done.
>From https://gerrit.googlesource.com/git-repo
   fb527e3..d1e93dd  master -> origin/master
   a2cd6ae..e778e57  stable -> origin/stable
 * [new tag] v1.13.7-> v1.13.7
Traceback (most recent call last):
  File "/home/jericho/bin/repo", line 939, in 
main(sys.argv[1:])
  File "/home/jericho/bin/repo", line 905, in main
_Init(args, gitc_init=(cmd == 'gitc-init'))
  File "/home/jericho/bin/repo", line 378, in _Init
rev = _Verify(dst, branch, opt.quiet)
  File "/home/jericho/bin/repo", line 715, in _Verify
err = proc.stderr.read().decode('utf-8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 66-67: 
invalid continuation byte



any idea ?  from https://gerrit.googlesource.com/git-repo/+refs   I can see 
the latest version is v1.13.7 


but the suggestion from aosp is repo launcher 1.26, what's the difference 
between repo and repo launcher ?




-- 
-- 
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/6f78d02c-7aeb-4864-ac37-b95f2f76d532%40googlegroups.com.


[android-building] Re: android Q AOSP available ?

2019-09-05 Thread jw wang
Hello Glenn

I've successfully repo sync the correct branch today, thanks  

On Thursday, September 5, 2019 at 12:46:15 PM UTC+8, Glenn Kasten wrote:
>
> Did you try the branch name or tag at
> https://groups.google.com/forum/#!topic/android-building/Zj5VVapM8H8
>
>
> On Wednesday, September 4, 2019 at 9:42:13 PM UTC-7, jw wang wrote:
>>
>> Hi google
>>
>> android Q factory is already available for pixel 3a, however, when I try 
>> to get android-10.0.0_r1, it fail, any idea which tag/branch name should I 
>> take to repo init ??
>>
>>
>> jericho@jericho-System-Product-Name:~/work/agent/_work/android-10.0.0_r1$ 
>> repo init -u https://android.googlesource.com/platform/manifest -b 
>> android-10.0.0_r1
>> Get https://gerrit.googlesource.com/git-repo/clone.bundle
>> Get https://gerrit.googlesource.com/git-repo
>> remote: Counting objects: 2, done
>> remote: Finding sources: 100% (41/41)
>> remote: Total 41 (delta 8), reused 41 (delta 8)
>> Unpacking objects: 100% (41/41), done.
>> From https://gerrit.googlesource.com/git-repo
>>3069be2..46702ed  master -> origin/master
>>745be2e..46702ed  stable -> origin/stable
>>  * [new tag] v1.13.5-> v1.13.5
>>  * [new tag] v1.13.5.1  -> v1.13.5.1
>> Get https://android.googlesource.com/platform/manifest
>>   % Total% Received % Xferd  Average Speed   TimeTime Time  
>> Current
>>  Dload  Upload   Total   SpentLeft  
>> Speed
>>   0 00 00 0  0  0 --:--:-- --:--:-- --:--:--  
>>0
>> curl: (22) The requested URL returned error: 404 Not Found
>> Server does not provide clone.bundle; ignoring.
>> fatal: Couldn't find remote ref refs/heads/android-10.0.0_r1
>>
>>

-- 
-- 
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/623d1756-8e9d-4536-af1c-a4acf32bc990%40googlegroups.com.


[android-building] android Q AOSP available ?

2019-09-04 Thread jw wang
Hi google

android Q factory is already available for pixel 3a, however, when I try to 
get android-10.0.0_r1, it fail, any idea which tag/branch name should I 
take to repo init ??


jericho@jericho-System-Product-Name:~/work/agent/_work/android-10.0.0_r1$ 
repo init -u https://android.googlesource.com/platform/manifest -b 
android-10.0.0_r1
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Counting objects: 2, done
remote: Finding sources: 100% (41/41)
remote: Total 41 (delta 8), reused 41 (delta 8)
Unpacking objects: 100% (41/41), done.
>From https://gerrit.googlesource.com/git-repo
   3069be2..46702ed  master -> origin/master
   745be2e..46702ed  stable -> origin/stable
 * [new tag] v1.13.5-> v1.13.5
 * [new tag] v1.13.5.1  -> v1.13.5.1
Get https://android.googlesource.com/platform/manifest
  % Total% Received % Xferd  Average Speed   TimeTime Time  
Current
 Dload  Upload   Total   SpentLeft  
Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:--
 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
fatal: Couldn't find remote ref refs/heads/android-10.0.0_r1

-- 
-- 
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/c5659451-4f95-47a3-ad61-473be5b9fd68%40googlegroups.com.


Re: [android-building] Re: Some questions on Android.bp files

2019-09-02 Thread jw wang
Hello Amit Agrawal

I need to create some items as marked by red in the following to avoid 
proguard_dictionary', needed by 'out/target/common/obj/APPS/
AudioEFXService_intermediates/proguard_dictionary

 optimize: {
proguard_flags_files: ["proguard.flags"],
enabled: false,
},


but I don't know why it is acting like this way, anyone can explain ?


On Monday, August 26, 2019 at 10:51:11 PM UTC+8, Amit Agrawal wrote:
>
> Hi wang,
>
> I have also faced such issues. This comes when you are building a Module 
> which is written in Android.bp and you want to include some dependency(a 
> module like shared library) which is written in Android.mk. The soong build 
> system can not resolve such dependencies. I haven't got any solution for 
> this. Only way I have got is you need to convert all the dependencies to 
> Android.bp. 
>
> Let me know if you find any solution other than this conversion to bp file.
>
> Thanks,
> Amit
>
> On Wednesday, August 21, 2019 at 10:26:14 PM UTC+5:30, jw wang wrote:
>>
>>
>> Hi google
>>
>> is there anything missing so I got this ?
>>
>> ninja: error: 
>> 'out/soong/.intermediates/FOO/android_common/proguard_dictionary', needed 
>> by 'out/target/common/obj/APPS/FOO_intermediates/proguard_dictionary', 
>> missing and no known rule to make it
>> 11:43:21 ninja failed with: exit status 1
>>
>>
>>
>>
>>
>> On Tuesday, August 6, 2019 at 2:03:33 AM UTC+8, Dan Willemsen wrote:
>>>
>>> proguard_flag_files was a typo -- it should be proguard_flag*s*_files. 
>>> It was fixed here: 
>>> https://android-review.googlesource.com/c/platform/build/soong/+/691330
>>>
>>> - Dan
>>>
>>> On Wed, Jul 31, 2019 at 11:32 PM jw wang  wrote:
>>>
>>>> Hi Google
>>>>
>>>> I'm coming across two similar build break after converting the mk to bp 
>>>> :
>>>>
>>>> 1. 1. service/Android.bp:7:28: unrecognized property "
>>>> optimize.proguard_flag_files“
>>>>
>>>>  2. /android_common/proguard_dictionary', needed by 
>>>> 'out/target/common/obj/APPS/AudioEFXService_intermediates/
>>>> proguard_dictionary’
>>>>
>>>>
>>>> I think the error comes from the optimize item which generated by 
>>>> androidtomk tool
>>>>  optimize: {
>>>>  proguard_flag_files: ["proguard.flags"],
>>>>  
>>>> },
>>>>
>>>>
>>>>
>>>> On Tuesday, 30 July 2019 22:10:07 UTC+8, jyoti kulkarni wrote:
>>>>>
>>>>> Hello Sir/madam,
>>>>>
>>>>> Im trying to convert some of the .mk files to .bp 
>>>>> I am using androidmk tool for initial conversion.
>>>>>
>>>>> But later I m trying to change the converted files to add some more 
>>>>> properties and some conditional statement.
>>>>>
>>>>> I have below questions:
>>>>> 1. Any new property added is giving an error "unrecognized property" 
>>>>> for eg: unrecognized property "host_required"
>>>>>
>>>>> 2. If I'am trying to include other .mk file in .bp its giving "Path 
>>>>> Outside directory"
>>>>> Iam trying to do something like this:
>>>>> srcs: ["../Android.mk"]
>>>>>
>>>>> Please help in addressing these questions.
>>>>>
>>>>> Thanks
>>>>>
>>>> -- 
>>>> -- 
>>>> 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-...@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-...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com?utm_medium=email_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/1d1f6b15-1023-4355-90cf-5cdc2e229a79%40googlegroups.com.


Re: [android-building] Re: Some questions on Android.bp files

2019-08-21 Thread jw wang

Hi google

is there anything missing so I got this ?

ninja: error: 
'out/soong/.intermediates/FOO/android_common/proguard_dictionary', needed 
by 'out/target/common/obj/APPS/FOO_intermediates/proguard_dictionary', 
missing and no known rule to make it
11:43:21 ninja failed with: exit status 1





On Tuesday, August 6, 2019 at 2:03:33 AM UTC+8, Dan Willemsen wrote:
>
> proguard_flag_files was a typo -- it should be proguard_flag*s*_files. It 
> was fixed here: 
> https://android-review.googlesource.com/c/platform/build/soong/+/691330
>
> - Dan
>
> On Wed, Jul 31, 2019 at 11:32 PM jw wang > 
> wrote:
>
>> Hi Google
>>
>> I'm coming across two similar build break after converting the mk to bp :
>>
>> 1. 1. service/Android.bp:7:28: unrecognized property "
>> optimize.proguard_flag_files“
>>
>>  2. /android_common/proguard_dictionary', needed by 
>> 'out/target/common/obj/APPS/AudioEFXService_intermediates/
>> proguard_dictionary’
>>
>>
>> I think the error comes from the optimize item which generated by 
>> androidtomk tool
>>  optimize: {
>>  proguard_flag_files: ["proguard.flags"],
>>  
>> },
>>
>>
>>
>> On Tuesday, 30 July 2019 22:10:07 UTC+8, jyoti kulkarni wrote:
>>>
>>> Hello Sir/madam,
>>>
>>> Im trying to convert some of the .mk files to .bp 
>>> I am using androidmk tool for initial conversion.
>>>
>>> But later I m trying to change the converted files to add some more 
>>> properties and some conditional statement.
>>>
>>> I have below questions:
>>> 1. Any new property added is giving an error "unrecognized property" 
>>> for eg: unrecognized property "host_required"
>>>
>>> 2. If I'am trying to include other .mk file in .bp its giving "Path 
>>> Outside directory"
>>> Iam trying to do something like this:
>>> srcs: ["../Android.mk"]
>>>
>>> Please help in addressing these questions.
>>>
>>> Thanks
>>>
>> -- 
>> -- 
>> 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-...@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-...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com?utm_medium=email_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/ab0120cc-1094-4f97-9d84-b08e9697e400%40googlegroups.com.


Re: [android-building] Re: Error when building Reference TV App

2019-08-01 Thread jw wang

Hi Nick

what do you mean for "partner engineering source " ?

is it a android Q pre aosp that available for the pixel device, I mean, I'm 
looking for some way to get a pre-Q AOSP that I'm able to build Q userdebug 
image for my pixels, 

so I can start some migration of the project inside framework (no source 
code available in androidsource for general public) on the upcoming OS, 

I've tried to write to android-partnersh...@google.com but end up nothing, 
can you give me some clue ?






On Friday, 2 August 2019 03:12:01 UTC+8, Nick Chalko wrote:
>
> Sorry about that.  
>
>
> I have verified that my latest internal version build on Q.
> I am working with my build team to get the source on Q updated and that 
> will be released to public when Q is released.
>
> Meanwhile do you have access to partner engineering source ?
>
>
> On Thu, Aug 1, 2019 at 7:54 AM Haris Zukanović  > wrote:
>
>> I tried building today... it still does not work...
>> Any updates to expect soon?
>>
>> -- 
>> -- 
>> 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-...@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 a topic in the 
>> Google Groups "Android Building" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/android-building/f6aGR9qo9WI/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> android-...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/6fea0bfe-0e69-43ad-a4ed-327d74f7a576%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Nick Chalko | Software Engineer | nch...@google.com  |   :-) 
> Generate your java flags for easier testing.
> go/java-flags-generator
>

-- 
-- 
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/3eaabfba-77c9-4ade-b9e5-7b7279cee2a6%40googlegroups.com.


[android-building] Re: Some questions on Android.bp files

2019-08-01 Thread jw wang
Hi Google

I'm coming across two similar build break after converting the mk to bp :

1. 1. service/Android.bp:7:28: unrecognized property "
optimize.proguard_flag_files“

 2. /android_common/proguard_dictionary', needed by 
'out/target/common/obj/APPS/AudioEFXService_intermediates/
proguard_dictionary’


I think the error comes from the optimize item which generated by 
androidtomk tool
 optimize: {
 proguard_flag_files: ["proguard.flags"],
 
},



On Tuesday, 30 July 2019 22:10:07 UTC+8, jyoti kulkarni wrote:
>
> Hello Sir/madam,
>
> Im trying to convert some of the .mk files to .bp 
> I am using androidmk tool for initial conversion.
>
> But later I m trying to change the converted files to add some more 
> properties and some conditional statement.
>
> I have below questions:
> 1. Any new property added is giving an error "unrecognized property" 
> for eg: unrecognized property "host_required"
>
> 2. If I'am trying to include other .mk file in .bp its giving "Path 
> Outside directory"
> Iam trying to do something like this:
> srcs: ["../Android.mk"]
>
> Please help in addressing these questions.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com.


[android-building] Q-preview AOSP availability ?

2019-07-01 Thread jw wang
Hello google

is it possible that we can repo sync Q-preview AOSP, and build the 
userdebug version into pixel 3a ?
now the preview are mostly used to test API level, but when it comes to 
testing the component compatibility under native layer for example
frameworks/av/service/audioflinger, this obvious need a right aosp and 
userdebug privilege to do so.

I can see there so far are many Q-preview tags 
https://android.googlesource.com/platform/frameworks/av/+/refs/tags/android-q-preview-4/services/audioflinger/

but according to the experience in past few years, this ends up totally 
different to the formal release..

which branch in the current aosp git resemble the Q preview most ??

is it the master branch repo init -u 
https://android.googlesource.com/platform/manifest???

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/a767324f-7961-409f-a0e5-a02d151f9f0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] [pixel 3] build the userdebug version to gain adb remount, adb push permission

2019-06-28 Thread jw wang
Hi Alessio

I was missing the steps of binary blob for pixel 3, after installing the 
blob into root of aosp, it works as a charm !

On Thursday, June 27, 2019 at 4:50:21 PM UTC+8, Alessio Balsini wrote:
>
> Hi Jw, 
>
> There are some missing pieces in your procedure, e.g., you didn't 
> mention the device binaries and the flashing procedure is not 
> complete. 
> Please, try again following the documentation: 
> https://source.android.com/setup/build/building. 
>
> Cheers, 
> Alessio 
>
>
> On Mon, Jun 24, 2019 at 4:45 PM jw wang > 
> wrote: 
> > 
> > Hello google, 
> > 
> > not sure if this is the right place for this topic, I bought pixel 3, 
> apparently came with the user build which mean I'm unable to perform adb 
> remount, adb push, so I repo sync android-9.0.0_r11 AOSP, 
> > lunch 19. aosp_blueline-userdebug, , make -j4, after building finish and 
> generate binary result,  my questions are : 
> > 
> > 1. if it's possible to gain adb remount, and adb push permissions from 
> this userdebug build image ?  or additional configuration is needed ? 
> > 2. I'm coping the system.img and boot.img from 
> ubuntu/android-9.0.0_r11/out/target/product/blueline   to windows folder, 
> perform fastboot flash system system.img,   and fastboot flash system 
> boot.img, but it ends up entering a bootloop in bootloader,  should I 
> better do the entire flash in the 
> android-9.0.0_r11/out/target/product/blueline  at my ubuntu  ?? 
> > 
> > 
> > thanks 
> > 
> > -- 
> > -- 
> > 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-...@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-...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/android-building/fa07f02a-2a7d-482e-abc3-3612072a3189%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/b10db5c4-fcf3-471d-856b-6139d495affa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] Re: Flashing AOSP on Pixel3/Blueline

2019-06-24 Thread jw wang
Hi Doug Swalen

I came across the same issue of yours, do you at the end perform fastboot 
flashall in your /aosp/ANDROID_PRODUCT_OUT/ folder ?
were you flashing a userdebug build from aosp ?   is it possible to get 
every adb permission like adb remount, disable-verity, adb push. ?

thanks


On Wednesday, November 14, 2018 at 8:18:49 AM UTC+8, Doug Swalen wrote:
>
> I had tried fastboot flashall before but it didn't work. However when I 
> tried it this time it did. Not sure what was wrong last time but at least 
> now I know the correct method going forward for those non Sailfish devices. 
> Thanks.
>
> On Monday, November 12, 2018 at 5:57:34 PM UTC-8, Colin Cross wrote:
>>
>> The documented way to flash a device is fastboot flashall.  I'd suggest 
>> trying that first, and it will tell you which images it's flashing.
>>
>> On Mon, Nov 12, 2018, 4:22 PM Doug Swalen >
>>> Add Crosshatch and Walleye to the list of Pixel devices I can't flash 
>>> and boot AOSP on. 
>>>
>>> So in summary, Sailfish I can build straight clean unmodified AOSP and 
>>> flash and successfully boot to. But Walleye, Blueline, and Crosshatch all 
>>> try to boot after flashing but then wind up back at the bootloader. I don't 
>>> have Marlin or Taimen devices so I can't check them.
>>>
>>> This is very frustrating. It sure seems like beginning with Walleye 
>>> something has changed in the flashing procedures because what worked for 
>>> Sailfish no longer works. But I have been unable to locate any information 
>>> suggesting any change has taken place. 
>>>
>>> So I don't get what's going on except that I can't make AOSP and 
>>> successfully flash it to Walleye, Blueline, or Crosshatch.
>>>
>>> On Monday, October 22, 2018 at 12:22:50 PM UTC-7, Doug Swalen wrote:

 I'm not entirely sure this is the right forum for this question but I 
 don't see any other forum that is a better fit either...

 So previously with Pixel/Sailfish when I would build and flash AOSP it 
 was straightforward. I'd do the build and then flash four files copied 
 from 
 the out/target/product/sailfish directory...

 fastboot flash boot boot.img
 fastboot flash system system.img
 fastboot flash userdata userdata.img
 fastboot flash vendor vendor.img

 This procedure would work on Pixel...as it had worked for my Nexus 
 devices previously as well.

 But with Pixel 3 the steps outlined above do not work. After flashing 
 the aforementioned files, I do fastboot reboot and a splash screen appears 
 for a second like the boot is going to go through but then I'm taken back 
 to the bootloader.

 I can still put the Factory back on but whenever I try to put AOSP on 
 the way I'd been doing it, it doesn't work. I don't think this is a build 
 issue because I'm doing an unmodified AOSP build with no code changes so 
 the build should be good.

 I went looking for instructions to see if there's been any change in 
 flashing procedure or a listing of what needs to be flashed but the only 
 document I found was located here...

 https://source.android.com/setup/build/running

 ...and it's not current (doesn't mention either the Pixel 2 or 3 line 
 of devices when doing builds)

 I did notice that it recommended using fastboot flashall but it wasn't 
 clear on what was to be flashed. Am I to just grab every .img file out of 
 my out/target/product/blueline directory and run flashall? Or some subset 
 of those files?

 If anyone can clue me in on the best method for flashing AOSP on the 
 Pixel 3, given that my old method is apparently no longer operative, I 
 would be very grateful.

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

[android-building] [pixel 3] build the userdebug version to gain adb remount, adb push permission

2019-06-24 Thread jw wang
Hello google,

not sure if this is the right place for this topic, I bought pixel 3, 
apparently came with the user build which mean I'm unable to perform adb 
remount, adb push, so I repo sync android-9.0.0_r11 AOSP, 
lunch 19. aosp_blueline-userdebug, , make -j4, after building finish and 
generate binary result,  my questions are :

1. if it's possible to gain adb remount, and adb push permissions from this 
userdebug build image ?  or additional configuration is needed ?
2. I'm coping the system.img and boot.img from 
ubuntu/android-9.0.0_r11/out/target/product/blueline   to windows folder, 
perform fastboot flash system system.img,   and fastboot flash system 
boot.img, but it ends up entering a bootloop in bootloader,  should I 
better do the entire flash in the 
android-9.0.0_r11/out/target/product/blueline  at my ubuntu  ??


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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/fa07f02a-2a7d-482e-abc3-3612072a3189%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.