Android8.0.1 permission problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android8.0.1 permission problem

Jump to solution
1,421 Views
coindu
Contributor IV

Hi ALL:

     The bluetooth turn on  need to use wcnss_filter . When i got the wcnss_filter source file and push the file to /vendor/bin after compiled succuess. I found it can`t create file on /data directory . Only read permission access.

     How to do it  if I wan`t create file on any directory 

init.freescale.rc

service start_hci_filter /vendor/bin/wcnss_filter
class late_start
user bluetooth
group bluetooth diag
disabled

wcnss_filter/main.c

ALOGV("%s: open: %s", __func__, PROC_PANIC_PATH);
fd_sysrq = open(PROC_PANIC_PATH, O_RDWR);     ##PROC_PANIC_PATH set to /data/sysrq-trigger
if(fd_sysrq < 0) {
ALOGE("%s: open (%s) fail - %s (%d)", __func__,
PROC_PANIC_PATH, strerror(errno), errno);
return -1;
}

Labels (1)
0 Kudos
1 Solution
1,113 Views
joanxie
NXP TechSupport
NXP TechSupport

did you use 1CQ qca6174A? suggest customer to get help from vendor, 1CQ qca6174A,The wifi firmware / device driver is from them.  

View solution in original post

0 Kudos
5 Replies
1,113 Views
m919040_cheng
Contributor I

Sir, 

My Android BSP version is 8.1.0_1.3.0, I find the QCA6174A's firmware(original ) located on external/qca-linux/1CQ/xxxx.bin and external/linux-firmware/ath10k/QCA6174A/hw3.0/xxxx.bin. my question is , since the firmware have been included , why the buletooth function can't work too ?

PS: board name: i.MX8MQ_EVK

Eric

0 Kudos
1,113 Views
m919040_cheng
Contributor I

Sir,

I met the same problem , Could you please tell how to get qca61741a firmware binary? How can I porting android 8.1 BSP. 

 Thanks for you help.

Eric 

0 Kudos
1,112 Views
coindu
Contributor IV

Source code provided by the suppliSource code provided by the supplierer

0 Kudos
1,114 Views
joanxie
NXP TechSupport
NXP TechSupport

did you use 1CQ qca6174A? suggest customer to get help from vendor, 1CQ qca6174A,The wifi firmware / device driver is from them.  

0 Kudos
1,112 Views
coindu
Contributor IV

Thanks for your reply.

I got the wcnss_filter source code and compiled it ,ingored some write permission issue  .

Now the bluetooth works well.

0 Kudos