Re: [android-porting] Re: How to add support for USB WIFI for the RTL8192CU/EU module?

2020-01-21 Thread Tranphong Vu
There is existing rule in sepolicy that prohibit you to do it. Your new rule conflict with the old rule. You need to change the old rule or find another rule for this. Vào 23:00, T.3, 21 Th1, 2020 Dave McLaughlin đã viết: > I finally have something close to working. I managed to build Android

Re: [android-porting] How to add support for USB WIFI for the RTL8192CU/EU module?

2020-01-08 Thread Tranphong Vu
Hi Dave McLaughlin, First i think you need to check device driver for wifi usb in your kernel. It seems it is not work. st1. you can check it with below command : $ ifconfig -a $ifconfig up $yourinterface If this shows your wifi interface and you can up/down your wifi network interfacem you can

Re: [android-porting] Accelerometer Porting

2019-12-03 Thread Tranphong Vu
Hi Gianmaria, You need a HAL sensor implement to let Android system know that there is sensor in kernel. You can refer to this HAL sensor implement http://androidxref.com/9.0.0_r3/xref/hardware/invensense/65xx/ Thanks, Vu Tran Vào Th 2, 2 thg 12, 2019 vào lúc 21:54 Gianmaria Iaculo <

Re: [android-porting] USB remote wakeup : Wake up system from suspend via a USB HID device (e.g.wireless keyboard)

2019-07-16 Thread Tranphong Vu
ttp://test.zien.vn:8082/source/s?defs=device_set_wakeup_enable=MX50_N>( <http://test.zien.vn:8082/source/s?defs=dev=MX50_N>->dev <http://test.zien.vn:8082/source/s?defs=dev=MX50_N>, 1); } Regards, Vu Tran Vào Th 3, 16 thg 7, 2019 vào lúc 23:19 Tranphong Vu < tranp

Re: [android-porting] USB remote wakeup : Wake up system from suspend via a USB HID device (e.g.wireless keyboard)

2019-07-16 Thread Tranphong Vu
Hi Mohammad Saleh Dehghanpour, base on your description, i think you need to enable wake up feature in your usb wireless keyboard. 1. Base on my hardware experience, your usb hardware should support this. But we should confirm this Cat proc/interrupt to get the irq number of your usb wireless

Re: [android-porting] google android doesn't support ac3

2019-06-06 Thread Tranphong Vu
Hi Hai Nguyen, Can anyone can tell me why google does't support AC3 format on android? >> I don't have the answer for this. In this case, how i can play a video with ac3 audio? >> I gues you should develop your AOSP base on the the release from your SOC vendor. Google original does not support

Re: [android-porting] How to disable "Android is starting" animation

2019-06-04 Thread Tranphong Vu
Hi Jijo , You can disable this by replace above animation resource by a black image. Vào 20:57, T.2, 3 Th6, 2019 Jijo Joseph đã viết: > Hi All, > > When the phone boots up just before showing the home screen, I"m getting > an animation "Android is starting". Please see the attached file. > >

Re: [android-porting] how to enable android.hardware.thermal@1.1

2019-05-17 Thread Tranphong Vu
Hi Hai Nguyen, You need to find the service that implement this interface and add this to your build process. If you BSP does not have service that implements this interface you need to implement this by your self Regards, Vu Tran Vào Th 2, 13 thg 5, 2019 vào lúc 21:49 hai nguyen đã viết: >

Re: [android-porting] Re: How to remove a system service in Android

2019-04-30 Thread Tranphong Vu
Which android version are you working ? Vào 21:55, T.2, 29 Th4, 2019 hai nguyen đã viết: > in my systen, there is no android manifest.xml like you said, so i go to > ServiceManager.java to remove where initializes those services, right now, > i have only 1 service is ISecureElement/Sim1 and

Re: [android-porting] How to remove a system service in Android

2019-04-26 Thread Tranphong Vu
Hi friend, You can disable this by remove hidl definition in manifest file and build config include in your board configuration (usually it is in /device directory ) Vào Th 5, 25 thg 4, 2019 lúc 01:35 Hai Nguyen đã viết: > Hi All, > in my android, i dont use some services such > as IVibrator,

Re: [android-porting] Integrating Bluetooth module using HCI USB

2019-02-26 Thread Tranphong Vu
Hi friend, It seem you miss vendor lib . I assume your Bluetooth device driver already probed and creat a usb hci device. Your vendor lib will talk to usb hci device. In the past, I met a hci USB Bluetooth device. It’s kernel driver create a device at /dev/* and I have a vendor lib to talk to this

Re: [android-porting] Enabling dual mics in mixer paths .xml file

2019-02-05 Thread Tranphong Vu
Hi my friend, You need to check your mixer file. Use tinymix to check the work of your configuration file. If it work with tinymix configuration it should work with your configuration file, Android framework does not effects this. This happens in kernel layer. With my experience your mixer

[android-porting] enable fingerprint feature on Android P

2018-11-27 Thread Tranphong Vu
Hi all, I am enabling fingerprint feature on Android P with Upek Biometric Touchchip/Touchstrip Fingerprint Sensor. Please help to give me the basic step to enable this feature. Hal, driver, integration guide... Thank so much. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com

Re: [android-porting] Re: Implementation of HAL for one of the feature in Android O

2018-11-08 Thread Tranphong Vu
hi Alan Abraham, it is not necessary to create a new interface using HIDL for accessing a new hardware device. Of course, if you want you can follow the Android HIDL implementation.If you dig into Android HIDL you will see what do android do with them and it is not hard to refer. Vào Th 5, 8 thg

Re: [android-porting] New Display Porting

2018-10-18 Thread Tranphong Vu
Hi. Base on my knowledge I don’t know why you want to port display controller. It fits to snapdragon soc. about touch controller it bases on the peripheral interface that you connect your touch controller to soc. you only need to integrate the touch controller driver to your android bsp. Vào Th