[android-porting] Urgent : Audio and HAL porting

2021-05-03 Thread Pankaj Joshi
Hi, i want to port android for new ARCH can someone suggest are there any changes required with audio and HAL. If i want to port audio what and all things i should change to make audio working ? Kindly reply ASAP. Thanks -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com

[android-porting] Re: adding new device to AOSP

2021-04-23 Thread Shaik Malin
Hi, I do have same set of queries: 1) what all the BSP components needs to be changed for porting android to new device? 2) Do I need to write only hardware specific DTS file or any other files needs to be modified? Please give the inputs ASAP. Thanks & Regards, Shaik Malin. On Friday,

[android-porting] Re: adding new device to AOSP

2021-04-22 Thread Pankaj Joshi
Hi, i am newbie to android and just started to explore android and simply i have cloned AOSP sources but if i want to port device which AOSP doesnt support in that case i would like to know few things,Kindly guide me if someone can 1. What and all components of BSP should get changed if

[android-porting] Re: Android porting on new device on new ARCH

2021-04-22 Thread leander...@gmx.at
I'm not an expert, but I can tell you that you will need toolchain support for your architecture, which could be a lot of work to implement. From my perspective major changes are required to port android to a new arch. Just curious: Which architecture do you want to port it to?

[android-porting] adding new device to AOSP

2021-04-20 Thread Pankaj Joshi
Hi all, I want to add new device to AOSP , can someone tell how to do it ?? where will be the major changes required ? also is there any changes required inside kernel ? Thanks -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Stagefright getBufferAndFormat - not executing error by porting approach to Linux Desktop

2021-04-20 Thread MK
I am porting Stagefright to Linux Desktop So far get to the point when files is opened, sniffed, extractor and codec are created. However got stuck at point where Decoding should happen, it seems it is not executing and stream is not there: 04-20 09:29:34.658 20080 20080 E MediaCodec:

[android-porting] Re: building a basic android for any arm11 processor

2021-04-14 Thread Gaurav Kumar
Hi Guys, I am facing a similar issue while porting android 10 and Linux kernel over the raspberry pi 4. Error : init: untracked pid x existed with status 0. I am using the below link to compile the Andriod and Linux kernel. https://github.com/android-rpi/device_arpi_rpi4/tree/arpi-10

[android-porting] A question using shared library(.so) on the system app

2021-04-09 Thread Onesang You
Hello, I am currently developing using a shared library(.so) from a system app (frameworks/base/packages/SystemUI). However, there is a problem using the shared library(.so) that the system app cannot find lib.so file. Is there any advice using the shared library(.so) or any additional steps

[android-porting] Android porting on new device on new ARCH

2021-04-09 Thread Pankaj Joshi
Hi all, I want to port android to the new ARCH which is currently not supported by AOSP but linux is up and running on it. I want to understand my few concerns while getting started can someone kindly help me to get it clarified 1) what are efforts to port android to new ARCH 2) what and all

[android-porting] Re: Port Bionic to a new CPU

2021-03-20 Thread Notur Business
I can't give you a list of commands. But clang can compile to a target without use of multiple computers. However: news I heard is that compiling Linux Kernel for an unsupported architecture is NOT SIMPLE. If one of the known good architectures covers "many but not more" for your target

[android-porting] newbie question: how to open bash(1) without wifi after install

2021-03-20 Thread Notur Business
All I ask is: how do I open /usr/bin/sh (/system/sh?) OR a gui terminal after install of... The Android-x86 9.0-r2 released install didn't pick of any kind of networking or WIFI usb thumb either, so googleplaystore is out of the

[android-porting] Re: [Question] debug bionic linker with gdb

2021-03-20 Thread Notur Business
please post URL, do you mean https://android.googlesource.com/platform/bionic/+/master/linker/linker_main.cpp ? I assume being linux the linker makes a .o, first insure the make (script) does make an .o (sometimes, making a library, separate .o are not made or not made for one of all of the

[android-porting] Re: Camera Orientation issue: Android Pie default Camera application

2021-03-17 Thread riccardo...@gmail.com
Hi. I have working with basically the same configuration. Since the OV5640 has a flip logic at camera level, my suggestion is to edit the kernel driver in order to set the flip parameter at 90 (or 270, depending on the orientation) degree. If needed, it support also mirroring of the image.

[android-porting] Running background task and updating values in different fragements.

2021-03-16 Thread Devendra Devadiga
I have two fragments in my android application I had created a JNI library which will call C API (Reading CAN values.) CAN_Init() JNI need to call only once. Read_Pid() JNI API I implemented and it will return integer array of 16 values and it should be call for every 250ms. In each fragment I

[android-porting] Camera Orientation issue: Android Pie default Camera application

2021-03-12 Thread Devendra Devadiga
Hi, I am using an (Android Pie) AOSP Camera2 application. (packages/apps/Camera2) I am working on NXP's i.MX8MMini board with Android Pie AOSP. We are using Camera module OV5640 as back camera module. Able to preview and capture the image and video in reverse landscape mode. But the

[android-porting] Re: How do I rotate the frame buffer during boot?

2021-03-12 Thread Devendra Devadiga
In your BoardConfig.mk try to add this line: For Portrait mode: +SF_PRIMARY_DISPLAY_ORIENTATION=0 or not required For Landscape mode: +SF_PRIMARY_DISPLAY_ORIENTATION=90 For Reverse-Portrait mode: +SF_PRIMARY_DISPLAY_ORIENTATION=180 For Reverse Landscape mode: +SF_PRIMARY_DISPLAY_ORIENTATION=270

[android-porting] LCD Desnity value for 5.46 Inch and 1080x1920 resolution LCD in android Pie

2021-03-12 Thread Devendra Devadiga
Hi Team, I am working on Android Pie AOSP. We are using LCD (1080x1920) 5.46 Inch. I had configured the android such that by default launcher should come in Reverse Landscape mode. I chnaged the LCD Density values as below: - setprop ro.sf.lcd_density 401 + setprop ro.sf.lcd_density 285 If

[android-porting] CAN communication as background service

2021-03-12 Thread Devendra Devadiga
Hi, I have CAN library to read OBD PID values in Linux. I created JNI layer and call the JNI API in my android application with simple activity and list view. I am able to read the CAN values properly in a loop. But I have two issues: 1) I am using fragments in my android application. If I am

[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

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

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

[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] How to debug Android build in detailed.

2021-02-26 Thread ghalib khan
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 $

[android-porting] Re: how to add static libs to apex

2021-02-17 Thread bon ami
adding following line to the makefile of the lib works, apex_available: ["//apex_available:platform", "//apex_available:anyapex", ], Le mardi 9 février 2021 à 23:57:47 UTC+8, bon ami a écrit : > I have a static lib, whose Android.bp is like, > java_import { > name: "a-V0.1-java", >

Re: [android-porting] how to add static libs to apex

2021-02-10 Thread Evliyim Mutluyum Huzliyum
9 Şub 2021 Sal 17:57 tarihinde bon ami şunu yazdı: > I have a static lib, whose Android.bp is like, > java_import { > name: "a-V0.1-java", > host_supported: true, > installable: false, > jars: ["a.jar"], > } > > I can use it in modules other than this apex, since I have tried

[android-porting] how to add static libs to apex

2021-02-09 Thread bon ami
I have a static lib, whose Android.bp is like, java_import { name: "a-V0.1-java", host_supported: true, installable: false, jars: ["a.jar"], } I can use it in modules other than this apex, since I have tried binaries, prebuilts, java_libs and no tags works for this lib. I wonder

[android-porting] Address Sanitizer in AudioFlinger

2021-02-08 Thread varsha vanga
Hi, I am trying to use the address sanitizer tool in Android AOSP -(Android 10.) I am trying to check the possible memory leaks in AudioFlinger. I have added the foll. code in Android.bp file (frameworks/av/services/audioflinger/Android.bp) to enable ASAN: cflags: [ +"-Wno-error", +

[android-porting] Create AIDL with Callback returning multiple values

2021-01-13 Thread 'xxayku...@googlemail.com' via android-porting
I've successfully created an AIDL interface (in System Service - AOSP), with methods doing stuff. Now I want that a client using that system service can also receive data from the aidl interface. I want to implement a callback interface which shall return multiple values. Do you have any

[android-porting] Need help building kernel for Nvidia Shield TV 2017/Darcy

2021-01-13 Thread Tomasz Witke
Hi, In past I've created definitions and build first Android TV x86 ISO which was near perfection, so I have some knowlage about AOSP building and troubleshooting in *nix environment. This week I've decided to build kernel for my Nvidia Shield TV 2017 and I'm feeling like an idiot since I

[android-porting] Using external dependencies in system services in aosp

2021-01-13 Thread icou...@gmail.com
Hi, i just followed https://www.programmersought.com/article/19571648365/ for implementing an example system service inside my aosp. And it's working. Now I want to add features and need to use external libraries. How can I add/use them in frameworks/base/services/core/java/com/android/server?

[android-porting] Re: Android Bluetooth Stack/Profile Certification

2021-01-05 Thread 'Glenn Kasten' via android-porting
> Is there any QDID for profiles and stack for Android 10/11? As I interpret bullet 1 of https://www.bluetooth.com/develop-with-bluetooth/qualification-listing/ which reads: "Product qualifications cannot be inherited from your supplier, you must complete the qualification of your product for

[android-porting] Android Bluetooth Stack/Profile Certification

2021-01-04 Thread sbajaj
hi, Is there any QDID for profiles and stack for Android 10/11? If not, is there any opensource tools/any mechanism available to certify fluoride stack/profiles? -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You

[android-porting] Stop “Ethernet-service” from system server AOSP

2020-12-29 Thread Viraj Mistry
am working on a problem where i need to stop Java based ethernet service which is started by system server and need to get IP from native DHCP client. So far i have done following steps. 1. Removed the code from where the service (com.android.server.ethernet.EthernetService) is being

[android-porting] Re: Port Bionic to a new CPU

2020-12-28 Thread Chen Wang
hello, Jallen I find this old email from out of this group, how about your progress? I wonder what's the risc chip you were working with? Because I'm studying how to port android to RISC-v. 在2009年7月18日星期六 UTC+8 下午11:34:24 写道: > Hi, everybody! > > I'm a newbee of android development~ Recently,

[android-porting] [Question] debug bionic linker with gdb

2020-12-28 Thread Chen Wang
Hi, android team guys, I am working on port aosp to other isa than arm/x86. When I am debugging bionic/linker, I find a strange question, that is the gdb can not get file/line info from the linker_main.c, but for other files in linker, it works as normal. I am running qemu as gdb server and run

[android-porting] Porting android to new platform RISC-V

2020-12-21 Thread ghalib khan
Hi, I was interested in porting android to new paltform RISC-V, on this case i don't have knowledge on android porting but am interested in porting android to RISC-V platform. on this thread how can i start porting android to new platform. can any one help me out.

[android-porting] Adding Gapps in AOSP, Facing some errors while compiling

2020-12-21 Thread semw
I am trying to add OpenGapps in AOSP. Here is complete error I am facing any one know the solution ? https://stackoverflow.com/questions/65356966/adding-opengapps-in-aosp-build-failed -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

Re: [android-porting] Re: Port Bionic to a new CPU

2020-12-21 Thread ghalib khan
Hello Ouyang Jiannan, This is ghalib khan a senior software engineer, started working on android porting to RISC-V, can you help in porting android to new platform RISC-V, i think you are working with RISC but still wan't to know porting thinks, am new in porting line.

[android-porting] How to forward traffic from eth0 to ppp0 on Android

2020-11-29 Thread Riccardo Bruè
Hi, I am using Android 10 on a custom device. The Android image has been generated by AOSP. I need to forward the traffico from the eth0 to the ppp0 (LTE module) interface. I've managed to enable the ppp0 interface by using the pppd script (i.e.: `pppd call my-connection-info`) and I can see

[android-porting] How to share internet from android device through ppp0 to eth0 using iptables?

2020-11-29 Thread Umberto Di Trolio
I'm using the DART-MX8M-Mini of Veriscite with Android. -- -- 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

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

2020-11-29 Thread 'CHANG YONGHO' via android-porting
안녕하세요. 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 >

[android-porting] Android R build: unrecognized property issues

2020-11-11 Thread Balraj S
Hi Google, I am using Android R release code base and trying to integrate our old Q based Android bp files into this R version. During build i am facing the below list of unrecognized property issues. error: vendor/alliance/services/car/core/base/service/Android.bp:15:12: unrecognized

[android-porting] android 11 AOSP emulator problem

2020-11-06 Thread Emrah Mr
I try to develop android system, I have some problems about development. I get used to ubuntu18 and tag of android 11 is android-11.0.0_r17, I have built successfully with lunch 30 "aosp_x86-eng" and I have seen $OUT files and checked then I prepared test_aosp.sh file under ~/bin the results

Re: [android-porting] Re: RTL8192cu WiFi adapter fails to load drivers

2020-11-01 Thread Trần Kha
Hello Dave, There is some misunderstanding here. .ko is driver which supports for rtl8192. However, this wifi still requires firmware. So you need both. Base on your provided log, I assume you load your module successfully (with your provided log and your explanation). It seems your current

[android-porting] Re: RTL8192cu WiFi adapter fails to load drivers

2020-10-30 Thread Dave McLaughlin
I do have the BIN file but it has been copied to /system/vendor/realtek/rtlwifi as the .ko module file is located in the /system/vendor/realtek directory. The .mk file has the following: WIFI_DRIVER_FW_PATH_PARAM:="/system/vendor/realtek" The module is being loaded so I am assuming the

[android-porting] Re: RTL8192cu WiFi adapter fails to load drivers

2020-10-29 Thread khab1...@gmail.com
Hello Dave, According to your log, The issue is "failed to load firmware for rtl8192" This line "*[ 1707.16] usb 2-1.3: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin* *failed with error -2*". -2 mean -ENOENT (No such file or directory)". So to fix your issue, You need to have

[android-porting] RTL8192cu WiFi adapter fails to load drivers

2020-10-29 Thread Dave McLaughlin
I am trying to add an RTL8192cu WiFi module to an Android 7.1 build but I get the following when the device is detected. ifconfig shows nothing. Under Linux, it appears as an RTL8192cu but Android seems to recognise it as RTL8188CU but does attempt to load the correct driver but fails with the

[android-porting] [Custom Android] SELinux permission denial after update from Android L to Android P

2020-10-27 Thread Kishore Srinivas
Facing this denial, this only happens in few devices, looks like restorecon failed to label correctly in some devices. is this a known issue? Denial log: audit(0.0:129300): avc: denied { open } for comm=4173796E635461736B202332 path="/data/data/com.amazon.firelauncher/databases"

[android-porting] How to setup a ppp0 Internet connection on custom Android

2020-10-19 Thread Riccardo Bruè
Hi, I need to use a ppp0 interface using a 4/5G module. I've used this ip-up script and I can see my ppp0 interfasce which is up, but when I ping something (such as www.google.com) is prompts "unknown host www.google.it", what am I missing? IP-UP script: *#!/system/bin/sh* */system/bin/setprop

Re: [android-porting] error: overriding commands for target

2020-10-08 Thread Dave McLaughlin
That worked. Thanks. On Thursday, 8 October 2020 at 06:04:24 UTC+7 braganzas...@gmail.com wrote: > I think it’s this one ... > > https://android.googlesource.com/platform/system/extras/+/refs/heads/master/su/ > > > > > On Wed 7. Oct 2020 at 19:01, Dave McLaughlin > wrote: > >> I am trying to

Re: [android-porting] error: overriding commands for target

2020-10-07 Thread Braganza Roberts
I think it’s this one ... https://android.googlesource.com/platform/system/extras/+/refs/heads/master/su/ On Wed 7. Oct 2020 at 19:01, Dave McLaughlin wrote: > I am trying to use PRODUCT_COPY_FILES in a vendor mk file output to > system/xbin/su with a new su but I get an error that this copy

[android-porting] error: overriding commands for target

2020-10-07 Thread Dave McLaughlin
I am trying to use PRODUCT_COPY_FILES in a vendor mk file output to system/xbin/su with a new su but I get an error that this copy already exists. I've searched the mk files and cannot find where the exisitng copy is located. This is the full error out during the build. FAILED:

[android-porting] Adding System Application using application source code

2020-10-06 Thread semw
Hi everyone I am trying to add a system application through application source code (Complete working android studio project). My application is working in android studio but when I add it in packages/apps/myapplication ,write its make file and register its package name in aosp_product.mk and

[android-porting] Shipping FCM Version cannot be inferred from Shipping API level 29.

2020-10-05 Thread icou...@gmail.com
For a while when I'm building aosp, it does say: "Shipping FCM Version cannot be inferred from Shipping API level 29.Declare Shipping FCM Version in device manifest directly." Can't understand what I have changed, so I receive this message? Any clue where I do have to search, or what could be

[android-porting] No home screen found for Intent

2020-10-05 Thread icou...@gmail.com
What could be the reason or place to search for: system_process E/WindowManager: No home screen found for Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x100 } java.lang.Throwable at com.android.server.wm.RootWindowContainer.resolveHomeActivity(

[android-porting] Add and use PPP software tools on Android (AOSP project)

2020-09-24 Thread Riccardo Bruè
I need to configure a PPP interface on my AOSP project. I MUST follow this guide to share a PPP Internet access to another eth0 interface but I am facing the following issue: on Android I don't have the bridge-utils, iproute2 and

Re: [android-porting] Re: Driver development

2020-09-22 Thread Ignacio Moya
Hi, I managed to solved it setting selinux enforce policy to "permissive". It is possible to do that from adb shell with the commands "su", then "setenforce 0" and then use "getenforce" to see if your change worked. This setting is only valid until reboot. El martes, 15 de septiembre de 2020 a

[android-porting] Re: [pixel3] Touch screen driver problems when flashing custom kernel to Pixel3

2020-09-22 Thread Ahsan Pervaiz
Hi! I know this is from a while ago, Were you able to find a fix for this problem? On Wednesday, June 26, 2019 at 8:58:37 AM UTC-5 riwe...@gmail.com wrote: > Hi, > > I followed the steps mentioned in > https://source.android.com/setup/build/building to build my custom > Android ROM: > > $ repo

[android-porting] Error in settings activity

2020-09-22 Thread Nikhil Patil
Hi, I've added an activity in settings android manifest file and also created a class for that. When I build an image and install on device I'm able to see that option but when I click on that, the settings app crashes and in logcat getting error as - *Note: I've created an event in

[android-porting] Re: TelecomService

2020-09-17 Thread Dave McLaughlin
Check out the RIL and how this handles the modem and allows you to make a PPP connection and then use TCP/IP as you would with WiFi. The best way to use a modem is with USB as this allows the RIL to do PPP over one connection and monitor for SMS etc on a second connection. If you have a single

[android-porting] Settings page

2020-09-17 Thread Developer TPI
The version of AOSP that's running on my STM32MP157 board doesn't have cellular? What has to be done to get "Mobile network" to show up in "Network & internet" under settings? Anyone know? -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

Re: [android-porting] Re: Driver development

2020-09-15 Thread Ignacio Moya
Hi, I was trying to change permissions of the i2c files in /dev/i2c-x (x: from 0 to 3) adding the lines "chmod 777 /dev/i2c-x" inside the "on early-boot" action. But trying to run i2cdetectx from shell still throws "permission denied". Could someone show me where should I change permissions

[android-porting] TelecomService

2020-09-14 Thread Developer TPI
TelecomService I am developing on an STM32MP157F-evk board that has Android 10 on a 4.19 kernel. The git tag I'm using is st-android-10.0.0-2020-02-21. The board doesn't have a modem; which I'm trying to add. To use a modem, I'm trying to enable all the services I figure need to be enabled.

[android-porting] No change in the output directory for .mk file PRODUCT_COPY_FILES

2020-09-05 Thread Dave McLaughlin
I have the following in the device.mk file for the build. PRODUCT_TYPE := jartester # kernel PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/boot/uImage:boot/uImage PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/boot/battery.bmp:boot/battery.bmp \ $(LOCAL_PATH)/boot/update.bmp:boot/update.bmp ifeq

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

2020-09-02 Thread rashad roberson
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

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

2020-09-02 Thread Dave McLaughlin
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

[android-porting] How do I rotate the frame buffer during boot?

2020-09-01 Thread Dave McLaughlin
I have an LCD that is in portrait mode and the timing is configured for this mode so during the initial boot, everything is in portrait mode and the LCD is being used in landscape mode. How can I rotate the LCD during the initial boot? I've checked in u-boot and the kernel and the options to

[android-porting] Re: Porting linux library to android

2020-08-31 Thread Andrew Esh
Use the NDK: https://developer.android.com/ndk On Saturday, August 29, 2020 at 9:11:07 AM UTC-5 nandakum...@gmail.com wrote: > Hi Everyone, > > Warm Greetings, > > I am working on z-wave gateway project which has a application called Z/ip > Gateway running on Linux system and also raspberry

[android-porting] Re: Can not see android boot image and boot animation logo and not menu

2020-08-30 Thread Chee Huey Pun
Hi All, My custom board does not have these key, I am checking with H/W engineer what these pad is used or not. Do you think these button will cause issue to boot up ? gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default"; pinctrl-0 = <_gpio_keys>; power { label = "Power Button";

[android-porting] Re: Can not see android boot image and boot animation logo and not menu

2020-08-30 Thread khab1...@gmail.com
Hello Chee, I checked your logcat and doubted that your current issue is "No audio driver support" 08-19 09:50:44.052 371 412 I audio_hw_primary: Total 0 cards match 08-19 09:50:44.053 371 412 E audio_hw_primary: no supported sound card found, aborting. 08-19 09:50:44.053 371 412 E

[android-porting] Home, back and menu buttons are missing (Android 5.1)

2020-08-29 Thread Dave McLaughlin
I managed to sort out an issue with the display rotating to portrait when Launcher was started even though the fb default is landscape but now I find that the onscreeen home, back and menu buttons are missing. The area they usually occupy is just a black bar. I know that in

[android-porting] Enable Treble

2020-08-29 Thread Akshay Mhaske
Hi, I am trying to enable Treble in my source code. As per my understanding we have to use Generic System Image (GSI) to work with framework only update. But I am using latest mesa source downloaded from free desktop and removed original mesa which we get with AOSP source. So one thing I am

[android-porting] Porting linux library to android

2020-08-29 Thread NANDAKUMAR S
Hi Everyone, Warm Greetings, I am working on z-wave gateway project which has a application called Z/ip Gateway running on Linux system and also raspberry Pi. Now i want to port that application to run in android. Can anyone help me out how i can port the linux app to Android. Thanks and

[android-porting] Re: Can not see android boot image and boot animation logo and not menu

2020-08-29 Thread Chee Huey Pun
Hi All, My board is having this msg: init: Service 'surfaceflinger' (pid 211) exited with status 1 On Thursday, August 20, 2020 at 8:32:31 AM UTC+8 Chee Huey Pun wrote: > Hi All, > > console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,fbpix=RGB32,bpp=32 > video=mxcfb1:off video=mxcfb2:off

[android-porting] Re: Can not see android boot image and boot animation logo and not menu

2020-08-20 Thread Chee Huey Pun
Hi All, Kernel bootargs: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,fbpix=RGB32,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 cma=320M galcore.contiguousSize=33554432 I added androidboot.selinux=permissive and

[android-porting] Re: How to grant priv-app (pre-build) APK permissions by default

2020-08-20 Thread Riccardo Bruè
Hi, in my app Android.mk I have the following content: * LOCAL_PATH := $(call my-dir)* * include $(CLEAR_VARS)* * LOCAL_MODULE_TAGS := optional* * LOCAL_MODULE := MyApp* * LOCAL_CERTIFICATE := PRESIGNED* * LOCAL_SRC_FILES := $(LOCAL_MODULE).apk* * LOCAL_MODULE_CLASS := APPS* *

[android-porting] Re: Can not see android boot image and boot animation logo and not menu

2020-08-19 Thread Chee Huey Pun
Hi All, console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,fbpix=RGB32,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 cma=320M galcore.contiguousSize=33554432 On Wednesday, August 19, 2020 at 10:22:05 PM UTC+8 Chee Huey

[android-porting] Android Automotive emulator with AOSP build

2020-08-16 Thread HariGopal Gollamudi
I am trying to launch an automotive emulator with AOSP build image version *android-9.0.0_r59* on Android Studio. I have followed the same steps as for the Phone emulator. Phone emulator, I am able to launch but not for automotive. I have built the code for aosp_car_x86_64-userdebug variant I

[android-porting] Re: Blank screen between kernel logo and boot animation?

2020-08-14 Thread shile...@gmail.com
Can you tell me how to do that? I couldn't find any guide or information online. Thanks On Friday, August 14, 2020 at 9:41:03 AM UTC-5 Shashank wrote: > Worth to check that kernel display driver is not resetting during late > init. -- -- unsubscribe:

[android-porting] Blank screen between kernel logo and boot animation?

2020-08-14 Thread Shashank
Worth to check that kernel display driver is not resetting during late init. -- -- 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] Re: How to grant priv-app (pre-build) APK permissions by default

2020-08-12 Thread semw
Hi ricardo , How did you added the apk as system app ? Can you tell me what code you wrote in your make file ? and in which file you added its package name ? On Wednesday, August 5, 2020 at 9:56:05 PM UTC+5, Riccardo Bruè wrote: > > Hi, I have a prebuild APK which I've added in my AOSP system by

[android-porting] AOSP on RISC-V

2020-08-06 Thread Chen Wang
hello, Any people know the status about AOSP to porting to risc-v arch? Does google have plan on this? And is there any guide or clue on how to port a new arch for AOSP? Thanks in adv. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: How to grant priv-app (pre-build) APK permissions by default

2020-08-06 Thread Riccardo Bruè
Tried your solution, stil lhave to manually grant microphone, location and external storage writings. These are the permissions in both Android manifest and in the privapp-permissions-platform.xml file: What am I missing here? On Wednesday, August 5, 2020 at 9:49:02 PM UTC+2

[android-porting] Re: How to grant priv-app (pre-build) APK permissions by default

2020-08-06 Thread Riccardo Bruè
Thank you I'll try this ASAP. One question, which is the difference between your solution "control_privapp_permissions=enforce" and this other solution "*ro.*control_privapp_permissions=enforce" (if any or not a typo). On Wednesday, August 5, 2020 at 9:49:02 PM UTC+2 khab1...@gmail.com wrote:

[android-porting] How to grant priv-app (pre-build) APK permissions by default

2020-08-05 Thread Trần Kha
Hello Riccardo, Please set PRODUCT_PROPERTY_OVERRIDES += control_privapp_permissions=enforce to your current makefile of your product. To check missing permission and other information related to Privileged permission, please refer this reference:

[android-porting] How to grant priv-app (pre-build) APK permissions by default

2020-08-05 Thread Riccardo Bruè
Hi, I have a prebuild APK which I've added in my AOSP system by adding its name on the PRODUCT_PACKAGES variable. I can successfully see my app under "/system/priv-app" folder and I've added all its permissions in the "privapp-permissions-platform.xml" file. Now I was thinking that all the

[android-porting] Custom iMX8 board with Android 10, how to develop with C++ a I2C background service?

2020-08-03 Thread Riccardo Bruè
I have a specific client request where there is a custom carried board which is controlled by a iMX8 SOM. On this board there is installed the Android system because there are specific Android applications (Java and Kotlin) which need to be run. I need to create a background service which

[android-porting] How to store map inside HAL?

2020-07-30 Thread icould icould
I want to write Pair into HAL and store them inside a Map> What would be the best way to store such kind of data? -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed

[android-porting] FW: [mn. C t. android-porting] Ims.2Manager cannot find symbol - Build failure on android-7.1.2_r13 with additional modules

2020-07-22 Thread negradazo89
Sent from my Metro By T-Mobile 4G LTE Android Device Mensaje original De: Water Flame Fecha: 22/7/2020 11:53 (GMT-08:00) A: android-porting Asunto: [android-porting] ImsManager cannot find symbol - Build failure on android-7.1.2_r13 with additional modules TLDR : 

[android-porting] ImsManager cannot find symbol - Build failure on android-7.1.2_r13 with additional modules

2020-07-22 Thread Water Flame
TLDR : 7.1.2_r13 builds fine till I replace a few modules Hello. So I'm trying to build 7.1.2_r13 with some replaced modules. manifest: https://github.com/wfscans/platform_manifests/blob/anbox-7-1-2/default.xml included manifest replace modules:

[android-porting] PIN Scrambling (PIN LOCK Layout Scrambling) in AOSP

2020-07-22 Thread semw
Hi everyone I am Trying to implement PIN Scrambling in AOSP but I could not find code related to PIN Lock. I found some code related to Passwords/Pattern/PIN lock in packages/apps/settings/src/com/android/passwords but in that code I could not find code where PIN layout is implemented. Like

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

2020-07-07 Thread Trần Kha
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 +=

Re: [android-porting] Re: Driver development

2020-07-01 Thread Dave McLaughlin
Not likely as Android apps tend to work with phones which don't have the need for I2C or UART comms etc. I wrote a couple of JNI libraries to handle GPIO, I2C and UART, you can find it here. This can be added to your project. http://www.axoninstruments.biz/download/gpioserial.zip This is just

Re: [android-porting] Re: Driver development

2020-06-30 Thread NANDAKUMAR S
Thanks for your reply, I have tty in /dev directory. I'll check with permissions. Can i get any readily available app for testing. On Tue, 30 Jun, 2020, 7:50 PM Dave McLaughlin, wrote: > UART and I2C are simple enough. The underlying Linux drivers should be > part of the kernel and you

[android-porting] Access hal interface/service via Rest Service?

2020-06-30 Thread 'Aykut I' via android-porting
Hi, I implented my own HAL int o aosp, where I can access it via Service/Libraries. My wish would be to read and write this HAL via Rest Service. Is there any tuturial or introduction into this topic in case of android/aosp? thx for any hint. salutes! -- -- unsubscribe:

[android-porting] Re: Driver development

2020-06-30 Thread Dave McLaughlin
UART and I2C are simple enough. The underlying Linux drivers should be part of the kernel and you simply open them from /dev in your Android App. The only issue you may have is not having user rights access to them. What I did was give user access to GPIO, UART, I2C, and SPI from the init.rc

[android-porting] Re: adb during boot

2020-06-27 Thread Droid
Hi, I am still not able to get serial inputs working, I am getting all the output logs on my terminal but its not taking any inputs. Any suggestions on how to debug this further? Thanks. On Sunday, June 14, 2020 at 10:25:45 AM UTC+5:30, Droid wrote: > > Hi Kha, > > I use minicom and hardware

[android-porting] Driver development

2020-06-25 Thread NANDAKUMAR S
Hi all, Iam working on an android aosp project, in which now i want to develop drivers for UART,I2C communication protocols. But iam new to this LINUX and Android platform. Can anyone suggest me some resources or a procedure on how to learn this. -- -- unsubscribe:

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

2020-06-24 Thread Dave McLaughlin
Yeah, that works for each application but I was referring to the platform build itself not offering a portrait orientation as an option, similar to what it does when running on HDMI displays. I was given a solution that works but sadly, the running app is given a simulated portrait view

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

2020-06-23 Thread Budhdi Prakash Sharma
To get an Android application to display in landscape mode only (to lock it in landscape mode), add this line to your Activity definition in the AndroidManifest.xml file: android:screenOrientation="landscape" For example, I’m writing an Android football game right now, and this is the

  1   2   3   4   5   6   7   8   9   10   >