[android-porting] Porting Android 11 Automotive for Raspberry Pi 4

2021-03-10 Thread Vinayak Soni
Hi folks,

Has anyone been able to port Android 11 Automotive for Raspberry Pi 4 or 
any Raspberry Pi for that matter?

Thanks,
Vinayak

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/64a31063-9a26-48fa-b1f5-62677f43cbbcn%40googlegroups.com.


Re: [android-porting] Re: How do I set the build for Landscape mode only?

2021-03-10 Thread Developer 420
Does any one have configuration to make the build for landscape only  mode 
in AOSP 10?

Thanks In Advance

On Monday, 30 November 2020 at 05:44:14 UTC+5:30 hou...@yahoo.com wrote:

> 안녕하세요.
>
> landscape feature 설정을 해보는 건 어떤가요?
>
> android/frameworks/native/data/etc/handheld_core_hardware.xml
>
> ignore "android.hardware.screen.portrait"
> 감사합니다.
> 2020년 9월 3일 목요일 오전 8시 5분 18초 UTC+9에 rashadro...@gmail.com님이 작성:
>
>> Thank so much for the I was trying to upgrade and had not been able 
>> succeeded 
>>
>> On Wed, Sep 2, 2020, 7:42 AM Dave McLaughlin  
>> wrote:
>>
>>> I have Android 7.1 and I implemented all of the changes you indicated, 
>>> although you do indicate P or higher I thought I would try it. During the 
>>> boot, the boot logo was still in portrait mode due to the fact that the 
>>> default orientation of the LCD display is portrait mode (the timings are 
>>> for 800x1280 and not 1280x800)
>>>
>>> When I flash the new OS to the board and then boot it and Android 
>>> finally starts, the display is initially in landscape mode but quickly 
>>> changes to portrait. Subsequent reboots are straight into portrait. I've 
>>> not been able to track down which part of the source is selecting portrait.
>>>
>>> By the way, the exact same build running on the same processor board but 
>>> with an 800x480 LCD that is default landscape timing, comes up as 
>>> landscape. 
>>>
>>> On Wednesday, 8 July 2020 at 01:28:37 UTC+7 khab1...@gmail.com wrote:
>>>
 Hi Dave, 

 Please refer below steps to force orientation to landscape: 

 1. Make sure only landscape permission is available on your build 
 environment 

 Only add android.hardware.screen.landscape.xml to your makefile by 
 below command: 

 PRODUCT_COPY_FILES += 
 frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.hardware.screen.landscape.xml
  
 \ 

 Remove android.hardware.screen.portrait.xml if it exists 

 2. Add an overlay to force landscape mode 
 Assume you have device/company/device_x 

 Create a config.xml file and put it in 

 device/company/device_x/overlay/framework/base/res/res/values 

 Contents of config.xml: 

  
 true 
  

 3. Make sure your overlay in config.xml is used 

 PRODUCT_PACKAGE_OVERLAYS += device/company/device_x/overlay 

 Done! Your system is always landscape! 

 Note: This solution only works on Android P or older Android version. 
 From Android Q, Google changes to use new solution. 

 Limitation: The app which sets portrait as orientation in 
 AndroidManifest.xml can’t display properly! Ex: Antutu Benmark. 

 By the way, I had found solution for above limitation by creating a 
 broadcast service which tried to convert rotation of the application. But 
 i 
 just forgot the reference. I will try to find it and share you later! 

 Best Regards, 
 KHA Tran 




 -- 
>>> -- 
>>> unsubscribe: android-porti...@googlegroups.com
>>> website: http://groups.google.com/group/android-porting
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "android-porting" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to android-porti...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/android-porting/150fb306-42d2-45c2-9c67-f75d1961186en%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/fd8c0f88-c9e2-48e5-8910-5acd6a76090fn%40googlegroups.com.


Re: [android-porting] How to debug Android build in detailed.

2021-03-10 Thread Wesley Emanuel Da Silva
Em sex, 26 de fev de 2021 14:05, ghalib khan 
escreveu:

> Hello,
>
>  Am trying to build Android 10 with sources, i have noted the flow of
> build as follows,
>
> $ source ./build/envsetup.sh
>
> $ print_lunch_menu -  -> Lunch menu building on Linux
>
> $ lunch aosp_riscv64-eng
>
> $ m –j
>
> $ 
> /home/performance-server/ghalib-khan/android/t-head/aosp-riscv/aosp/build/soong/soong_ui.bash
>  --make-mode
> –j
>
> $ exec
> /home/performance-server/ghalib-khan/android/t-head/aosp-riscv/aosp/out/soong_ui
>  --make-mode
> –j
>
>
> As you see, i stucked at soong_ui --make-mode –j command,  can any one
> help me out to debug or know how the build was happening, if i want make
> any change in build sources so how can i do it.
>
> Please help out in soong build system in detailed.
>
>
> Thanks in advance,
>
> ghalib khan.
>
>
> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-porting/7a109d29-6186-4fcf-88c8-6e296c210ccen%40googlegroups.com
> 
> .
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/CAMdm0gd2X1ke6_LQ65nMrqEN5cSEyXDcydq%2BZuHKQkTmFFLBfw%40mail.gmail.com.


[android-porting]

2021-03-10 Thread The Martian Man
Hi,

I am Shammi. I am an android BSP Developer. I am facing an issue when I am
trying to build the android10 source code.  I am getting an issue when I am
running lunch and imx-make.sh scripts. Please go through the attachment for
error logs .

Thanks & Regards,
Shamiullah

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/CAELrkzrxEKXcvVFAo_nKZgpvPL9sq_iKPt9kNvWReYJy%3DFFBzQ%40mail.gmail.com.
root@phytec1:/home/prasanth/new_shammi/android10/imx-android-10.0.0_2.0.0# 
root@phytec1:/home/prasanth/new_shammi/android10/imx-android-10.0.0_2.0.0# 
source build/envsetup.sh 
root@phytec1:/home/prasanth/new_shammi/android10/imx-android-10.0.0_2.0.0# 
lunch 65
[W][2021-03-09T11:05:39+0530][24553] void cmdline::logParams(nsjconf_t *)():250 
Process will be UID/EUID=0 in the global user namespace, and will have user 
root-level access to files
[W][2021-03-09T11:05:39+0530][24553] void cmdline::logParams(nsjconf_t *)():260 
Process will be GID/EGID=0 in the global user namespace, and will have group 
root-level access to files
[W][2021-03-09T11:05:41+0530][24629] void cmdline::logParams(nsjconf_t *)():250 
Process will be UID/EUID=0 in the global user namespace, and will have user 
root-level access to files
[W][2021-03-09T11:05:41+0530][24629] void cmdline::logParams(nsjconf_t *)():260 
Process will be GID/EGID=0 in the global user namespace, and will have group 
root-level access to files


PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=phyboard_polis
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-136-generic-x86_64-Ubuntu-16.04.7-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ2A.200305.004.A1
OUT_DIR=out

root@phytec1:/home/prasanth/new_shammi/android10/imx-android-10.0.0_2.0.0# ar   
 
ararm-linux-androideabi-gcc-ar  
arm-linux-androidkernel-gcc   arm-none-eabi-gcov
arch  arm-linux-androideabi-gcc-nm  
arm-linux-androidkernel-ldarm-none-eabi-gcov-dump
arecord   arm-linux-androideabi-gcc-ranlib  
arm-linux-androidkernel-nmarm-none-eabi-gcov-tool
arecordmidi   arm-linux-androideabi-gcov
arm-linux-androidkernel-objcopy   arm-none-eabi-gdb
aria_chk  arm-linux-androideabi-gcov-tool   
arm-linux-androidkernel-objdump   arm-none-eabi-gprof
aria_dump_log arm-linux-androideabi-gprof   
arm-linux-androidkernel-readelf   arm-none-eabi-ld
aria_ftdump   arm-linux-androideabi-ld  
arm-linux-androidkernel-size  arm-none-eabi-ld.bfd
aria_pack arm-linux-androideabi-ld.bfd  
arm-linux-androidkernel-strip arm-none-eabi-nm
aria_read_log arm-linux-androideabi-ld.gold 
arm-none-eabi-addr2line   arm-none-eabi-objcopy
arm-linux-androideabi-addr2line   arm-linux-androideabi-nm  
arm-none-eabi-ar  arm-none-eabi-objdump
arm-linux-androideabi-ar  arm-linux-androideabi-objcopy 
arm-none-eabi-as  arm-none-eabi-ranlib
arm-linux-androideabi-as  arm-linux-androideabi-objdump 
arm-none-eabi-c++ arm-none-eabi-readelf
arm-linux-androideabi-c++ arm-linux-androideabi-ranlib  
arm-none-eabi-c++filt arm-none-eabi-size
arm-linux-androideabi-c++filt arm-linux-androideabi-readelf 
arm-none-eabi-cpp arm-none-eabi-strings
arm-linux-androideabi-cpp arm-linux-androideabi-size
arm-none-eabi-elfedit arm-none-eabi-strip
arm-linux-androideabi-dwp arm-linux-androideabi-strings 
arm-none-eabi-g++ arm2hpdl
arm-linux-androideabi-elfedit arm-linux-androideabi-strip   
arm-none-eabi-gcc arp
arm-linux-androideabi-g++ arm-linux-androidkernel-ar
arm-none-eabi-gcc-7.3.1   arpd
arm-linux-androideabi-gcc arm-linux-androidkernel-as
arm-none-eabi-gcc-ar  arping
arm-linux-androideabi-gcc-4.9 arm-linux-androidkernel-cpp   
arm-none-eabi-gcc-nm  
arm-linux-androideabi-gcc-4.9.x   arm-linux-androidkernel-elfedit