Cleanup configs and fix sensor permissions

This commit is contained in:
Joel16 2019-12-18 21:46:24 -05:00
parent 267d2236ca
commit 32781d6522
9 changed files with 1198 additions and 382 deletions

138
audio/audio_policy.conf Normal file
View File

@ -0,0 +1,138 @@
# Global configuration section:
# - lists input and output devices always present on the device
# as well as the output device selected by default.
# Devices are designated by a string that corresponds to the enum in audio.h
# - defines whether the speaker output path uses DRC
# "TRUE" means DRC is enabled, "FALSE" or omission means DRC isn't used.
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_TELEPHONY_TX
default_output_device AUDIO_DEVICE_OUT_SPEAKER
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX|AUDIO_DEVICE_IN_TELEPHONY_RX|AUDIO_DEVICE_IN_FM_TUNER
}
# audio hardware module section: contains descriptors for all audio hw modules present on the
# device. Each hw module node is named after the corresponding hw module library base name.
# For instance, "primary" corresponds to audio.primary.<device>.so.
# The "primary" module is mandatory and must include at least one output with
# AUDIO_OUTPUT_FLAG_PRIMARY flag.
# Each module descriptor contains one or more output profile descriptors and zero or more
# input profile descriptors. Each profile lists all the parameters supported by a given output
# or input stream category.
# The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding
# to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n".
audio_hw_modules {
primary {
outputs {
primary {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL
flags AUDIO_OUTPUT_FLAG_PRIMARY
}
deep_buffer {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
}
hdmi {
sampling_rates 44100|48000
channel_masks dynamic
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_AUX_DIGITAL
flags AUDIO_OUTPUT_FLAG_DIRECT
}
compress_offload {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
}
voice_tx {
sampling_rates 8000|16000|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_MONO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_TELEPHONY_TX
}
}
inputs {
primary {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_FM_TUNER
}
voice_rx {
sampling_rates 8000|16000|48000
channel_masks AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_MONO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_TELEPHONY_RX
}
}
}
a2dp {
outputs {
a2dp {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_ALL_A2DP
}
}
inputs {
a2dp {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_BLUETOOTH_A2DP
}
}
}
usb {
outputs {
usb_accessory {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_USB_ACCESSORY
}
usb_device {
sampling_rates dynamic
channel_masks dynamic
formats dynamic
devices AUDIO_DEVICE_OUT_USB_DEVICE
}
}
inputs {
usb_device {
sampling_rates dynamic
channel_masks dynamic
formats dynamic
devices AUDIO_DEVICE_IN_USB_DEVICE
}
}
}
r_submix {
outputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
}
}
inputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
}
}
}

BIN
configs/BCM4356.hcd Normal file

Binary file not shown.

View File

@ -1,272 +1,274 @@
/* IPC Security Config */
/* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
16:4294967295:1000:3004
16:4294967295:1000:1021
/* Allow SS CTL service to be used by system and net_raw processes */
43:4294967295:1000:3004
/* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
71:4294967295:1001
/* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
50:4294967295:1001
/* Allow Sensor services to be used by sensor process */
256:4294967295:3011
257:4294967295:3011
258:4294967295:3011
259:4294967295:3011
260:4294967295:3011
261:4294967295:3011
262:4294967295:3011
263:4294967295:3011
264:4294967295:3011
265:4294967295:3011
266:4294967295:3011
267:4294967295:3011
268:4294967295:3011
269:4294967295:3011
270:4294967295:3011
271:4294967295:3011
272:4294967295:3011
273:4294967295:3011
274:4294967295:3011
275:4294967295:3011
276:4294967295:3011
277:4294967295:3011
278:4294967295:3011
279:4294967295:3011
280:4294967295:3011
281:4294967295:3011
282:4294967295:3011
283:4294967295:3011
284:4294967295:3011
285:4294967295:3011
286:4294967295:3011
287:4294967295:3011
288:4294967295:3011
289:4294967295:3011
290:4294967295:3011
291:4294967295:3011
292:4294967295:3011
293:4294967295:3011
294:4294967295:3011
295:4294967295:3011
296:4294967295:3011
297:4294967295:3011
298:4294967295:3011
299:4294967295:3011
300:4294967295:3011
301:4294967295:3011
302:4294967295:3011
303:4294967295:3011
304:4294967295:3011
305:4294967295:3011
306:4294967295:3011
307:4294967295:3011
308:4294967295:3011
309:4294967295:3011
310:4294967295:3011
311:4294967295:3011
312:4294967295:3011
313:4294967295:3011
314:4294967295:3011
315:4294967295:3011
316:4294967295:3011
317:4294967295:3011
318:4294967295:3011
319:4294967295:3011
320:4294967295:3011
321:4294967295:3011
322:4294967295:3011
323:4294967295:3011
324:4294967295:3011
325:4294967295:3011
326:4294967295:3011
327:4294967295:3011
328:4294967295:3011
329:4294967295:3011
330:4294967295:3011
331:4294967295:3011
332:4294967295:3011
333:4294967295:3011
334:4294967295:3011
335:4294967295:3011
336:4294967295:3011
337:4294967295:3011
338:4294967295:3011
339:4294967295:3011
340:4294967295:3011
341:4294967295:3011
342:4294967295:3011
343:4294967295:3011
344:4294967295:3011
345:4294967295:3011
346:4294967295:3011
347:4294967295:3011
348:4294967295:3011
349:4294967295:3011
350:4294967295:3011
351:4294967295:3011
352:4294967295:3011
353:4294967295:3011
354:4294967295:3011
355:4294967295:3011
356:4294967295:3011
357:4294967295:3011
358:4294967295:3011
359:4294967295:3011
360:4294967295:3011
361:4294967295:3011
362:4294967295:3011
363:4294967295:3011
364:4294967295:3011
365:4294967295:3011
366:4294967295:3011
367:4294967295:3011
368:4294967295:3011
369:4294967295:3011
370:4294967295:3011
371:4294967295:3011
372:4294967295:3011
373:4294967295:3011
374:4294967295:3011
375:4294967295:3011
376:4294967295:3011
377:4294967295:3011
378:4294967295:3011
379:4294967295:3011
380:4294967295:3011
381:4294967295:3011
382:4294967295:3011
383:4294967295:3011
384:4294967295:3011
385:4294967295:3011
386:4294967295:3011
387:4294967295:3011
388:4294967295:3011
389:4294967295:3011
390:4294967295:3011
391:4294967295:3011
392:4294967295:3011
393:4294967295:3011
394:4294967295:3011
395:4294967295:3011
396:4294967295:3011
397:4294967295:3011
398:4294967295:3011
399:4294967295:3011
400:4294967295:3011
401:4294967295:3011
402:4294967295:3011
403:4294967295:3011
404:4294967295:3011
405:4294967295:3011
406:4294967295:3011
407:4294967295:3011
408:4294967295:3011
409:4294967295:3011
410:4294967295:3011
411:4294967295:3011
412:4294967295:3011
413:4294967295:3011
414:4294967295:3011
415:4294967295:3011
416:4294967295:3011
417:4294967295:3011
418:4294967295:3011
419:4294967295:3011
420:4294967295:3011
421:4294967295:3011
422:4294967295:3011
423:4294967295:3011
424:4294967295:3011
425:4294967295:3011
426:4294967295:3011
427:4294967295:3011
428:4294967295:3011
429:4294967295:3011
430:4294967295:3011
431:4294967295:3011
432:4294967295:3011
433:4294967295:3011
434:4294967295:3011
435:4294967295:3011
436:4294967295:3011
437:4294967295:3011
438:4294967295:3011
439:4294967295:3011
440:4294967295:3011
441:4294967295:3011
442:4294967295:3011
443:4294967295:3011
444:4294967295:3011
445:4294967295:3011
446:4294967295:3011
447:4294967295:3011
448:4294967295:3011
449:4294967295:3011
450:4294967295:3011
451:4294967295:3011
452:4294967295:3011
453:4294967295:3011
454:4294967295:3011
455:4294967295:3011
456:4294967295:3011
457:4294967295:3011
458:4294967295:3011
459:4294967295:3011
460:4294967295:3011
461:4294967295:3011
462:4294967295:3011
463:4294967295:3011
464:4294967295:3011
465:4294967295:3011
466:4294967295:3011
467:4294967295:3011
468:4294967295:3011
469:4294967295:3011
470:4294967295:3011
471:4294967295:3011
472:4294967295:3011
473:4294967295:3011
474:4294967295:3011
475:4294967295:3011
476:4294967295:3011
477:4294967295:3011
478:4294967295:3011
479:4294967295:3011
480:4294967295:3011
481:4294967295:3011
482:4294967295:3011
483:4294967295:3011
484:4294967295:3011
485:4294967295:3011
486:4294967295:3011
487:4294967295:3011
488:4294967295:3011
489:4294967295:3011
490:4294967295:3011
491:4294967295:3011
492:4294967295:3011
493:4294967295:3011
494:4294967295:3011
495:4294967295:3011
496:4294967295:3011
497:4294967295:3011
498:4294967295:3011
499:4294967295:3011
500:4294967295:3011
501:4294967295:3011
502:4294967295:3011
503:4294967295:3011
504:4294967295:3011
505:4294967295:3011
506:4294967295:3011
507:4294967295:3011
508:4294967295:3011
509:4294967295:3011
510:4294967295:3011
511:4294967295:3011
256:4294967295:1000:1006:1013:1021:1047
257:4294967295:1000:1006:1013:1021:1047
258:4294967295:1000:1006:1013:1021:1047
259:4294967295:1000:1006:1013:1021:1047
260:4294967295:1000:1006:1013:1021:1047
261:4294967295:1000:1006:1013:1021:1047
262:4294967295:1000:1006:1013:1021:1047
263:4294967295:1000:1006:1013:1021:1047
264:4294967295:1000:1006:1013:1021:1047
265:4294967295:1000:1006:1013:1021:1047
266:4294967295:1000:1006:1013:1021:1047
267:4294967295:1000:1006:1013:1021:1047
268:4294967295:1000:1006:1013:1021:1047
269:4294967295:1000:1006:1013:1021:1047
270:4294967295:1000:1006:1013:1021:1047
271:4294967295:1000:1006:1013:1021:1047
272:4294967295:1000:1006:1013:1021:1047
273:4294967295:1000:1006:1013:1021:1047
274:4294967295:1000:1006:1013:1021:1047
275:4294967295:1000:1006:1013:1021:1047
276:4294967295:1000:1006:1013:1021:1047
277:4294967295:1000:1006:1013:1021:1047
278:4294967295:1000:1006:1013:1021:1047
279:4294967295:1000:1006:1013:1021:1047
280:4294967295:1000:1006:1013:1021:1047
281:4294967295:1000:1006:1013:1021:1047
282:4294967295:1000:1006:1013:1021:1047
283:4294967295:1000:1006:1013:1021:1047
284:4294967295:1000:1006:1013:1021:1047
285:4294967295:1000:1006:1013:1021:1047
286:4294967295:1000:1006:1013:1021:1047
287:4294967295:1000:1006:1013:1021:1047
288:4294967295:1000:1006:1013:1021:1047
289:4294967295:1000:1006:1013:1021:1047
290:4294967295:1000:1006:1013:1021:1047
291:4294967295:1000:1006:1013:1021:1047
292:4294967295:1000:1006:1013:1021:1047
293:4294967295:1000:1006:1013:1021:1047
294:4294967295:1000:1006:1013:1021:1047
295:4294967295:1000:1006:1013:1021:1047
296:4294967295:1000:1006:1013:1021:1047
297:4294967295:1000:1006:1013:1021:1047
298:4294967295:1000:1006:1013:1021:1047
299:4294967295:1000:1006:1013:1021:1047
300:4294967295:1000:1006:1013:1021:1047
301:4294967295:1000:1006:1013:1021:1047
302:4294967295:1000:1006:1013:1021:1047
303:4294967295:1000:1006:1013:1021:1047
304:4294967295:1000:1006:1013:1021:1047
305:4294967295:1000:1006:1013:1021:1047
306:4294967295:1000:1006:1013:1021:1047
307:4294967295:1000:1006:1013:1021:1047
308:4294967295:1000:1006:1013:1021:1047
309:4294967295:1000:1006:1013:1021:1047
310:4294967295:1000:1006:1013:1021:1047
311:4294967295:1000:1006:1013:1021:1047
312:4294967295:1000:1006:1013:1021:1047
313:4294967295:1000:1006:1013:1021:1047
314:4294967295:1000:1006:1013:1021:1047
315:4294967295:1000:1006:1013:1021:1047
316:4294967295:1000:1006:1013:1021:1047
317:4294967295:1000:1006:1013:1021:1047
318:4294967295:1000:1006:1013:1021:1047
319:4294967295:1000:1006:1013:1021:1047
320:4294967295:1000:1006:1013:1021:1047
321:4294967295:1000:1006:1013:1021:1047
322:4294967295:1000:1006:1013:1021:1047
323:4294967295:1000:1006:1013:1021:1047
324:4294967295:1000:1006:1013:1021:1047
325:4294967295:1000:1006:1013:1021:1047
326:4294967295:1000:1006:1013:1021:1047
327:4294967295:1000:1006:1013:1021:1047
328:4294967295:1000:1006:1013:1021:1047
329:4294967295:1000:1006:1013:1021:1047
330:4294967295:1000:1006:1013:1021:1047
331:4294967295:1000:1006:1013:1021:1047
332:4294967295:1000:1006:1013:1021:1047
333:4294967295:1000:1006:1013:1021:1047
334:4294967295:1000:1006:1013:1021:1047
335:4294967295:1000:1006:1013:1021:1047
336:4294967295:1000:1006:1013:1021:1047
337:4294967295:1000:1006:1013:1021:1047
338:4294967295:1000:1006:1013:1021:1047
339:4294967295:1000:1006:1013:1021:1047
340:4294967295:1000:1006:1013:1021:1047
341:4294967295:1000:1006:1013:1021:1047
342:4294967295:1000:1006:1013:1021:1047
343:4294967295:1000:1006:1013:1021:1047
344:4294967295:1000:1006:1013:1021:1047
345:4294967295:1000:1006:1013:1021:1047
346:4294967295:1000:1006:1013:1021:1047
347:4294967295:1000:1006:1013:1021:1047
348:4294967295:1000:1006:1013:1021:1047
349:4294967295:1000:1006:1013:1021:1047
350:4294967295:1000:1006:1013:1021:1047
351:4294967295:1000:1006:1013:1021:1047
352:4294967295:1000:1006:1013:1021:1047
353:4294967295:1000:1006:1013:1021:1047
354:4294967295:1000:1006:1013:1021:1047
355:4294967295:1000:1006:1013:1021:1047
356:4294967295:1000:1006:1013:1021:1047
357:4294967295:1000:1006:1013:1021:1047
358:4294967295:1000:1006:1013:1021:1047
359:4294967295:1000:1006:1013:1021:1047
360:4294967295:1000:1006:1013:1021:1047
361:4294967295:1000:1006:1013:1021:1047
362:4294967295:1000:1006:1013:1021:1047
363:4294967295:1000:1006:1013:1021:1047
364:4294967295:1000:1006:1013:1021:1047
365:4294967295:1000:1006:1013:1021:1047
366:4294967295:1000:1006:1013:1021:1047
367:4294967295:1000:1006:1013:1021:1047
368:4294967295:1000:1006:1013:1021:1047
369:4294967295:1000:1006:1013:1021:1047
370:4294967295:1000:1006:1013:1021:1047
371:4294967295:1000:1006:1013:1021:1047
372:4294967295:1000:1006:1013:1021:1047
373:4294967295:1000:1006:1013:1021:1047
374:4294967295:1000:1006:1013:1021:1047
375:4294967295:1000:1006:1013:1021:1047
376:4294967295:1000:1006:1013:1021:1047
377:4294967295:1000:1006:1013:1021:1047
378:4294967295:1000:1006:1013:1021:1047
379:4294967295:1000:1006:1013:1021:1047
380:4294967295:1000:1006:1013:1021:1047
381:4294967295:1000:1006:1013:1021:1047
382:4294967295:1000:1006:1013:1021:1047
383:4294967295:1000:1006:1013:1021:1047
384:4294967295:1000:1006:1013:1021:1047
385:4294967295:1000:1006:1013:1021:1047
386:4294967295:1000:1006:1013:1021:1047
387:4294967295:1000:1006:1013:1021:1047
388:4294967295:1000:1006:1013:1021:1047
389:4294967295:1000:1006:1013:1021:1047
390:4294967295:1000:1006:1013:1021:1047
391:4294967295:1000:1006:1013:1021:1047
392:4294967295:1000:1006:1013:1021:1047
393:4294967295:1000:1006:1013:1021:1047
394:4294967295:1000:1006:1013:1021:1047
395:4294967295:1000:1006:1013:1021:1047
396:4294967295:1000:1006:1013:1021:1047
397:4294967295:1000:1006:1013:1021:1047
398:4294967295:1000:1006:1013:1021:1047
399:4294967295:1000:1006:1013:1021:1047
400:4294967295:1000:1006:1013:1021:1047
401:4294967295:1000:1006:1013:1021:1047
402:4294967295:1000:1006:1013:1021:1047
403:4294967295:1000:1006:1013:1021:1047
404:4294967295:1000:1006:1013:1021:1047
405:4294967295:1000:1006:1013:1021:1047
406:4294967295:1000:1006:1013:1021:1047
407:4294967295:1000:1006:1013:1021:1047
408:4294967295:1000:1006:1013:1021:1047
409:4294967295:1000:1006:1013:1021:1047
410:4294967295:1000:1006:1013:1021:1047
411:4294967295:1000:1006:1013:1021:1047
412:4294967295:1000:1006:1013:1021:1047
413:4294967295:1000:1006:1013:1021:1047
414:4294967295:1000:1006:1013:1021:1047
415:4294967295:1000:1006:1013:1021:1047
416:4294967295:1000:1006:1013:1021:1047
417:4294967295:1000:1006:1013:1021:1047
418:4294967295:1000:1006:1013:1021:1047
419:4294967295:1000:1006:1013:1021:1047
420:4294967295:1000:1006:1013:1021:1047
421:4294967295:1000:1006:1013:1021:1047
422:4294967295:1000:1006:1013:1021:1047
423:4294967295:1000:1006:1013:1021:1047
424:4294967295:1000:1006:1013:1021:1047
425:4294967295:1000:1006:1013:1021:1047
426:4294967295:1000:1006:1013:1021:1047
427:4294967295:1000:1006:1013:1021:1047
428:4294967295:1000:1006:1013:1021:1047
429:4294967295:1000:1006:1013:1021:1047
430:4294967295:1000:1006:1013:1021:1047
431:4294967295:1000:1006:1013:1021:1047
432:4294967295:1000:1006:1013:1021:1047
433:4294967295:1000:1006:1013:1021:1047
434:4294967295:1000:1006:1013:1021:1047
435:4294967295:1000:1006:1013:1021:1047
436:4294967295:1000:1006:1013:1021:1047
437:4294967295:1000:1006:1013:1021:1047
438:4294967295:1000:1006:1013:1021:1047
439:4294967295:1000:1006:1013:1021:1047
440:4294967295:1000:1006:1013:1021:1047
441:4294967295:1000:1006:1013:1021:1047
442:4294967295:1000:1006:1013:1021:1047
443:4294967295:1000:1006:1013:1021:1047
444:4294967295:1000:1006:1013:1021:1047
445:4294967295:1000:1006:1013:1021:1047
446:4294967295:1000:1006:1013:1021:1047
447:4294967295:1000:1006:1013:1021:1047
448:4294967295:1000:1006:1013:1021:1047
449:4294967295:1000:1006:1013:1021:1047
450:4294967295:1000:1006:1013:1021:1047
451:4294967295:1000:1006:1013:1021:1047
452:4294967295:1000:1006:1013:1021:1047
453:4294967295:1000:1006:1013:1021:1047
454:4294967295:1000:1006:1013:1021:1047
455:4294967295:1000:1006:1013:1021:1047
456:4294967295:1000:1006:1013:1021:1047
457:4294967295:1000:1006:1013:1021:1047
458:4294967295:1000:1006:1013:1021:1047
459:4294967295:1000:1006:1013:1021:1047
460:4294967295:1000:1006:1013:1021:1047
461:4294967295:1000:1006:1013:1021:1047
462:4294967295:1000:1006:1013:1021:1047
463:4294967295:1000:1006:1013:1021:1047
464:4294967295:1000:1006:1013:1021:1047
465:4294967295:1000:1006:1013:1021:1047
466:4294967295:1000:1006:1013:1021:1047
467:4294967295:1000:1006:1013:1021:1047
468:4294967295:1000:1006:1013:1021:1047
469:4294967295:1000:1006:1013:1021:1047
470:4294967295:1000:1006:1013:1021:1047
471:4294967295:1000:1006:1013:1021:1047
472:4294967295:1000:1006:1013:1021:1047
473:4294967295:1000:1006:1013:1021:1047
474:4294967295:1000:1006:1013:1021:1047
475:4294967295:1000:1006:1013:1021:1047
476:4294967295:1000:1006:1013:1021:1047
477:4294967295:1000:1006:1013:1021:1047
478:4294967295:1000:1006:1013:1021:1047
479:4294967295:1000:1006:1013:1021:1047
480:4294967295:1000:1006:1013:1021:1047
481:4294967295:1000:1006:1013:1021:1047
482:4294967295:1000:1006:1013:1021:1047
483:4294967295:1000:1006:1013:1021:1047
484:4294967295:1000:1006:1013:1021:1047
485:4294967295:1000:1006:1013:1021:1047
486:4294967295:1000:1006:1013:1021:1047
487:4294967295:1000:1006:1013:1021:1047
488:4294967295:1000:1006:1013:1021:1047
489:4294967295:1000:1006:1013:1021:1047
490:4294967295:1000:1006:1013:1021:1047
491:4294967295:1000:1006:1013:1021:1047
492:4294967295:1000:1006:1013:1021:1047
493:4294967295:1000:1006:1013:1021:1047
494:4294967295:1000:1006:1013:1021:1047
495:4294967295:1000:1006:1013:1021:1047
496:4294967295:1000:1006:1013:1021:1047
497:4294967295:1000:1006:1013:1021:1047
498:4294967295:1000:1006:1013:1021:1047
499:4294967295:1000:1006:1013:1021:1047
500:4294967295:1000:1006:1013:1021:1047
501:4294967295:1000:1006:1013:1021:1047
502:4294967295:1000:1006:1013:1021:1047
503:4294967295:1000:1006:1013:1021:1047
504:4294967295:1000:1006:1013:1021:1047
505:4294967295:1000:1006:1013:1021:1047
506:4294967295:1000:1006:1013:1021:1047
507:4294967295:1000:1006:1013:1021:1047
508:4294967295:1000:1006:1013:1021:1047
509:4294967295:1000:1006:1013:1021:1047
510:4294967295:1000:1006:1013:1021:1047
511:4294967295:1000:1006:1013:1021:1047
/* Allow RCS service to aquire net_raw permission */
18:4294967295:1001:3004
/* Allow QMID service to aquire net_raw permission */
3:4294967295:1001:3004
2:4294967295:1001:3004
3:4294967295:1001:1021:3004
2:4294967295:1000:1001:3004
42:4294967295:1001:3004
18:4294967295:1001:3004
9:4294967295:1001:3004
@ -300,10 +302,15 @@
33:4294967295:1001
/* CSVT */
29:4294967295:1001
/* SERVREG_NOTIF */
64:4294967295:1001
66:4294967295:1001
/* LTE */
70:4294967295:1001
/* Allow Data dpmd to access QMI DFS */
48:4294967295:1000:3004
/* DIAG */
4097:4294967295:3009
4097:4294967295:2002:2950:3009:2901
/* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
57:4294967295:1000
/* COEX */

View File

@ -0,0 +1,312 @@
#
# File: sensor_def_qcomdev.conf
#
# Tihs file contains default sensor registry values for Qualcomm development
# test platforms.
#
# Copyright (c) 2013 Qualcomm Technologies, Inc. All Rights Reserved.
# Qualcomm Technologies Proprietary and Confidential
#
# NOTE: This file has been modified by Sony Mobile Communications Inc.
# Modifications are Copyright (C) 2014 Sony Mobile Communications Inc.,
# and licensed under the license of the file.
# File format:
#
# Lines starting with "#" are comments and ignored.
#
# File metadata uses this format:
# :key value1 value2
#
# The following keys are defined:
# - "version" : value1 is non-zero positive version number of the file. This
# number will be stored in the sensors registry. It should be equal to the
# largest version of any item. It will be saved in the sensors registry for
# later use when initializing values. See the item format below.
# This value should only be specified once in the file.
#
# - "hardware" : The value1 will be compared to the "Hardware" string from
# the property of ro.board.platform.
# Items will only be used as default values in the registry if the hardware
# string value is a substring of the ro.board.platform string.
# This metadata key can be used more than once, so that one file can support
# more than one type of hardware.
# The value may be NULL, indicating common item values for all hardware.
#
# - "platform" : Similar to the "hardware" key, but this string will need to
# match the text of either /sys/devices/soc0/hw_platform or
# /sys/devices/soc0/platform_subtype.
#
# - "soc_id" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/soc_id.
#
# - "property" : value1 is the Android system property key, and value2 is
# the desired property value. If the system property value matches the
# desired property value, then the following items will be applied.
# This metadata key can be used more than once, in which case the new
# property value overrides the old.
# value1 and 2 may be NULL, indicating common item values for all properties.
#
# Registry items are in lines with the following format:
# <itemID> <value> <version>
# Where:
# itemID is the numeric item ID defined in sns_reg_api_v02.h
#
# "value" is the numeric value of the item.
#
# "version" is a non-zero version of the item value.
# The version field will be compared against the previous saved
# value in the sensors registry. If this value is greater than the
# saved value, the default will be applied. Otherwise, the default
# will be skipped.
#
# Registry item values will only be applied if the hardware, platform, and
# property values match for the current hardware configuration.
#
# The numeric fields are parsed with the strtoull function, base 0.
#
:version 0x00010001
########################################################################
### 8994 Chipsets
########################################################################
:hardware 8994
:platform
:property
# Orientation of sensors
# accel x/y/z
700 1 0x00010001 #accel-x-axis
701 -2 0x00010001 #accel-y-axis
702 -3 0x00010001 #accel-z-axis
# gyro x/y/z
800 1 0x00010001 #gyro-x-axis
801 -2 0x00010001 #gyro-y-axis
802 -3 0x00010001 #gyro-z-axis
# mag x/y/z
900 -2 0x00010001 #mag-x-axis
901 3 0x00010001 #mag-y-axis
902 -1 0x00010001 #mag-z-axis
# SSI SMGR Version
1900 1 0x00010001 #Maj Ver
1901 1 0x00010001 #Min Ver
# SAM config
#
203 65536 0x10001 # AMD
225 327680 0x10001 # RMD
504 65536 0x10001 # Gyro Cal
1703 65536 0x10001 # Ped
2800 327680 0x10001 # basic ges
2900 327680 0x10001 # Facing
3400 65536 0x10001 # CMC
609 65536 0x10001 # FMV
1005 65536 0x10001 # Grav
1103 65536 0x10001 # orientation
3000 65536 0x10001 # gyro quat
3100 65536 0x10001 # rot vec
3500 65536 0x10001 # game rv
4112 65536 0x10001 # SMD
# SSI SMGR Cfg 0 ICM-20628 Accelerometer DRI
1903 0x0b25b8431bfd46bc 0x00010001 #UUID
1902 0xc14075963795c661 0x00010001 #UUID
1904 500000 0x00010001 #off_to_idle
1905 2000 0x00010001 #idle_to_ready
1906 5 0x00010001 #i2c_bus
1907 1000 0x00010001 #reg_group_id
1908 0 0x00010001 #cal_grp_id
1909 64 0x00010001 #gpio1
1910 0xFFFF 0x00010001 #gpio2
1911 0 0x00010001 #sensor_id
1912 0x68 0x00010001 #i2c_address
1913 1 0x00010001 #data_type1
1914 0 0x00010001 #data_type2
1915 1 0x00010001 #rel_sns_idx
1916 1 0x00010001 #sens_default
1917 0xD0 0x00010001 #flags
1982 0 0x00010001 #device_select
# SSI SMGR Cfg 1 ICM-20628 Gyroscope DRI
1919 0x0b25b8431bfd46bc 0x00010001 #UUID
1918 0xc14075963795c661 0x00010001 #UUID
1920 500000 0x00010001 #off_to_idle
1921 2000 0x00010001 #idle_to_ready
1922 5 0x00010001 #i2c_bus
1923 1010 0x00010001 #reg_group_id
1924 10 0x00010001 #cal_grp_id
1925 64 0x00010001 #gpio1
1926 0xFFFF 0x00010001 #gpio2
1927 10 0x00010001 #sensor_id
1928 0x68 0x00010001 #i2c_address
1929 3 0x00010001 #data_type1
1930 0 0x00010001 #data_type2
1931 0 0x00010001 #rel_sns_idx
1932 3 0x00010001 #sens_default
1933 0xD0 0x00010001 #flags
1983 0 0x00010001 #device_select
# SSI SMGR Cfg 2 AK09912C DRI
1935 0x0b25b8431bfd46bc 0x00010001 #UUID
1934 0xc14075963795c661 0x00010001 #UUID
1936 500000 0x00010001 #off_to_idle
1937 2000 0x00010001 #idle_to_ready
1938 5 0x00010001 #i2c_bus
1939 1020 0x00010001 #reg_group_id
1940 0xFFFF 0x00010001 #cal_grp_id
1941 64 0x00010001 #gpio1
1942 0xFFFF 0x00010001 #gpio2
1943 20 0x00010001 #sensor_id
1944 0x0c 0x00010001 #i2c_address
1945 2 0x00010001 #data_type1
1946 0 0x00010001 #data_type2
1947 0xFF 0x00010001 #rel_sns_idx
1948 0 0x00010001 #sens_default
1949 0xD0 0x00010001 #flags
1984 0 0x00010001 #device_select
# SSI SMGR Cfg 3: HSPPAD038A POLL
1951 0x5588c14de03f6490 0x00010001 #UUID
1950 0x69469b7038b0dde8 0x00010001 #UUID
1952 7680 0x00010001 #off_to_idle
1953 10000 0x00010001 #idle_to_ready
1954 5 0x00010001 #i2c_bus
1955 0xFFFF 0x00010001 #reg_group_id
1956 0xFFFF 0x00010001 #cal_grp_id
1957 76 0x00010001 #gpio1
1958 0xFFFF 0x00010001 #gpio2
1959 30 0x00010001 #sensor_id
1960 0x48 0x00010001 #i2c_address
1961 7 0x00010001 #data_type1
1962 0 0x00010001 #data_type2
1963 0xFF 0x00010001 #rel_sns_idx
1964 0 0x00010001 #sens_default
1965 0 0x00010001 #flags
1985 0 0x00010001 #device_select
# SSI SMGR Cfg 4: APDS9910 DRI
1967 0x2c95aafbde68bd9d 0x00010001 #UUID
1966 0xc04992988b1365d3 0x00010001 #UUID
1968 10000 0x00010001 #off_to_idle
1969 5000 0x00010001 #idle_to_ready
1970 5 0x00010001 #i2c_bus
1971 1040 0x00010001 #reg_group_id
1972 0xFFFF 0x00010001 #cal_grp_id
1973 40 0x00010001 #gpio1
1974 0xFFFF 0x00010001 #gpio2
1975 40 0x00010001 #sensor_id
1976 0x39 0x00010001 #i2c_address
1977 5 0x00010001 #data_type1
1978 6 0x00010001 #data_type2
1979 0xFF 0x00010001 #rel_sns_idx
1980 0 0x00010001 #sens_default
1981 0x80 0x00010001 #flags
1986 0 0x00010001 #device_select
103 0x384 0x00010001 #prx_near_thresh
104 0x320 0x00010001 #prx_far_thresh
105 0 0x00010001 #prx_factor
106 100 0x00010001 #als_factor
107 1 0x00010001 #version_num
108 0x58 0x00010001 #id
109 7 0x00010001 #als_change_pcnt
110 0x04 0x00010001 #prx_pulse
111 0x00 0x00010001 #prx_drive
112 0x08 0x00010001 #prx_gain
113 1999 0x00010001 #als_coe_b
114 252 0x00010001 #als_coe_c
115 450 0x00010001 #als_coe_d
116 326 0x00010001 #als_dgf
117 12800 0x00010001 #als_ch0_default
118 3117 0x00010001 #als_ch1_default
119 0x00 0x00010001 #prx_offset
# SSI SMGR Cfg 5 ICM-20628 Game Rotation Vector DRI
3603 0x0b25b8431bfd46bc 0x00010001 #UUID
3602 0xc14075963795c661 0x00010001 #UUID
3604 500000 0x00010001 #off_to_idle
3605 2000 0x00010001 #idle_to_ready
3606 5 0x00010001 #i2c_bus
3607 0xFFFF 0x00010001 #reg_group_id
3608 0xFFFF 0x00010001 #cal_grp_id
3609 64 0x00010001 #gpio1
3610 0xFFFF 0x00010001 #gpio2
3611 226 0x00010001 #sensor_id
3612 0x68 0x00010001 #i2c_address
3613 26 0x00010001 #data_type
3614 34 0x00010001 #data_type2
3615 0xFF 0x00010001 #rel_sns_idx
3616 0 0x00010001 #sens_default
3617 0xD0 0x00010001 #flags
3682 0 0x00010001 #device_select
# SSI SMGR Cfg 6 ICM-20628 SMD DRI
3619 0x0b25b8431bfd46bc 0x00010001 #UUID
3618 0xc14075963795c661 0x00010001 #UUID
3620 500000 0x00010001 #off_to_idle
3621 2000 0x00010001 #idle_to_ready
3622 5 0x00010001 #i2c_bus
3623 0xFFFF 0x00010001 #reg_group_id
3624 0xFFFF 0x00010001 #cal_grp_id
3625 64 0x00010001 #gpio1
3626 0xFFFF 0x00010001 #gpio2
3627 224 0x00010001 #sensor_id
3628 0x68 0x00010001 #i2c_address
3629 25 0x00010001 #data_type1
3630 0 0x00010001 #data_type2
3631 0xFF 0x00010001 #rel_sns_idx
3632 0 0x00010001 #sens_default
3633 0xC0 0x00010001 #flags
3683 0 0x00010001 #device_select
# SSI SMGR Cfg 7 ICM-20628 Step Counter DRI
3635 0x0b25b8431bfd46bc 0x00010001 #UUID
3634 0xc14075963795c661 0x00010001 #UUID
3636 500000 0x00010001 #off_to_idle
3637 2000 0x00010001 #idle_to_ready
3638 5 0x00010001 #i2c_bus
3639 0xFFFF 0x00010001 #reg_group_id
3640 0xFFFF 0x00010001 #cal_grp_id
3641 64 0x00010001 #gpio1
3642 0xFFFF 0x00010001 #gpio2
3643 222 0x00010001 #sensor_id
3644 0x68 0x00010001 #i2c_address
3645 24 0x00010001 #data_type1
3646 0 0x00010001 #data_type2
3647 0xFF 0x00010001 #rel_sns_idx
3648 0 0x00010001 #sens_default
3649 0xC0 0x00010001 #flags
3684 0 0x00010001 #device_select
# SSI SMGR Cfg 8 ICM-20628 Step Detector DRI
3651 0x0b25b8431bfd46bc 0x00010001 #UUID
3650 0xc14075963795c661 0x00010001 #UUID
3652 500000 0x00010001 #off_to_idle
3653 2000 0x00010001 #idle_to_ready
3654 5 0x00010001 #i2c_bus
3655 0xFFFF 0x00010001 #reg_group_id
3656 0xFFFF 0x00010001 #cal_grp_id
3657 64 0x00010001 #gpio1
3658 0xFFFF 0x00010001 #gpio2
3659 220 0x00010001 #sensor_id
3660 0x68 0x00010001 #i2c_address
3661 23 0x00010001 #data_type1
3662 0 0x00010001 #data_type2
3663 0xFF 0x00010001 #rel_sns_idx
3664 0 0x00010001 #sens_default
3665 0xD0 0x00010001 #flags
3685 0 0x00010001 #device_select
#
# SSI GPIO configuration
#-----------------------------
2700 1 0x00010001 #maj ver
2701 0 0x00010001 #min ver
2702 23 0x00010001 #I2C SDA_1
2703 24 0x00010001 #I2C SCL_1
2704 0xFFFF 0x00010001 #I2C SDA_2(Reserved)
2705 0xFFFF 0x00010001 #I2C SCL_2(Reserved)
# Mag Cal config
#-----------------------------
3801 1 0x00010001
3804 0x000a0000 0x10001 #Sample Rate

View File

@ -1,94 +0,0 @@
[msm_therm.DEFAULT]
algo_type monitor
sensor msm_therm
sampling 1000
thresholds 43000 45000 45500 47000 49000 50500 51500 52500 53000 53300 54000 54500 55500 56000 60200
thresholds_clr 41000 43000 43500 45000 47000 49500 50500 51500 52000 52300 53000 53500 54500 55000 56000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam
action_info 1555200+1958400+0+0+1+1+630000000+209+2+0+100000+0 1555200+1958400+0+0+1+1+630000000+171+3+0+100000+0 1555200+1958400+0+0+1+1+630000000+171+5+0+100000+0 1555200+1248000+0+0+1+1+630000000+141+5+0+100000+0 1478400+864000+0+1+1+1+630000000+141+8+0+001800+0 1344000+384000+1+1+1+1+630000000+115+8+0+001800+0 1248000+384000+1+1+1+1+630000000+95+8+0+001800+0 1248000+384000+1+1+1+1+450000000+78+8+0+001800+0 960000+384000+1+1+1+1+450000000+78+9+1+001800+0 864000+384000+1+1+1+1+390000000+64+11+1+001800+5 768000+384000+1+1+1+1+390000000+64+12+1+001800+5 600000+384000+1+1+1+1+180000000+51+12+1+001800+5 460800+384000+1+1+1+1+180000000+44+12+1+001800+5 384000+384000+1+1+1+1+180000000+44+12+1+001800+6 384000+384000+1+1+1+1+180000000+44+13+1+001800+6
[msm_therm.CAMERA-Step]
algo_type monitor
sensor msm_therm
sampling 1000
thresholds -100000 45500 47000 49000 52000 53500 56000 60200
thresholds_clr -110000 40000 45500 47000 49000 52000 53500 56000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam
action_info 1555200+1958400+0+0+0+0+630000000+141+8+0+100000+0 1555200+1728000+0+0+1+1+630000000+95+9+0+100000+0 1555200+1248000+0+1+1+1+305000000+78+12+0+100000+0 960000+384000+1+1+1+1+305000000+51+12+1+001800+0 960000+384000+1+1+1+1+305000000+51+12+1+001800+1 960000+384000+1+1+1+1+305000000+44+12+1+001800+5 960000+384000+1+1+1+1+305000000+44+12+1+001800+6 384000+384000+1+1+1+1+180000000+44+13+1+001800+6
disable
[msm_therm.CAMERA-Low]
algo_type monitor
sensor msm_therm
sampling 1000
thresholds -100000 45500 47000 49000 53500 57000 60200
thresholds_clr -110000 40000 45500 47000 49000 53500 57000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam
action_info 672000+384000+1+1+1+1+180000000+141+8+0+100000+0 672000+384000+1+1+1+1+180000000+95+9+0+100000+0 672000+384000+1+1+1+1+180000000+78+12+0+100000+0 672000+384000+1+1+1+1+180000000+51+12+1+001800+0 672000+384000+1+1+1+1+180000000+44+12+1+001800+5 672000+384000+1+1+1+1+180000000+44+12+1+001800+6 384000+384000+1+1+1+1+180000000+44+13+1+001800+6
disable
[msm_therm.CAMERA-Mid]
algo_type monitor
sensor msm_therm
sampling 1000
thresholds -100000 45500 47000 49000 53500 57000 60200
thresholds_clr -110000 40000 45500 47000 49000 53500 57000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam
action_info 960000+384000+1+1+1+1+180000000+141+8+0+100000+0 960000+384000+1+1+1+1+180000000+95+9+0+100000+0 960000+384000+1+1+1+1+180000000+78+12+0+100000+0 960000+384000+1+1+1+1+180000000+51+12+1+001800+0 960000+384000+1+1+1+1+180000000+44+12+1+001800+5 960000+384000+1+1+1+1+180000000+44+12+1+001800+6 384000+384000+1+1+1+1+180000000+44+13+1+001800+6
disable
[msm_therm.CAMERA-Hi]
algo_type monitor
sensor msm_therm
sampling 1000
thresholds -100000 45500 47000 49000 53500 57000 60200
thresholds_clr -110000 40000 45500 47000 49000 53500 57000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam
action_info 1344000+384000+1+1+1+1+305000000+141+8+0+100000+0 1344000+384000+1+1+1+1+305000000+95+9+0+100000+0 1344000+384000+1+1+1+1+305000000+78+12+0+100000+0 1344000+384000+1+1+1+1+305000000+51+12+1+001800+0 1344000+384000+1+1+1+1+305000000+44+12+1+001800+5 1344000+384000+1+1+1+1+305000000+44+12+1+001800+6 384000+384000+1+1+1+1+180000000+44+13+1+001800+6
disable
[msm_therm.CAMERA-All]
algo_type monitor
sensor msm_therm
sampling 1000
thresholds -100000 45500 47000 49000
thresholds_clr -110000 40000 45500 47000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem
action_info 1555200+1958400+0+0+0+0+630000000+141+8+0 1555200+1728000+0+0+1+1+630000000+95+9+0 1555200+1248000+0+1+1+1+305000000+78+12+0 1344000+384000+1+1+1+1+305000000+51+12+1
disable
[batt_therm]
algo_type monitor
sensor bms
sampling 1000
thresholds -100000 43000 44000 67000
thresholds_clr -110000 41000 42000 0
actions battery battery battery battery+s_shutdown
action_info 1 2 3 13+5
[msm_therm]
algo_type monitor
sensor msm_therm
sampling 1000
thresholds 54000 60200 62000 74000
thresholds_clr 50000 59000 60200 0
actions s_tether+s_tel+s_bg s_tether+s_tel+s_bg s_tether+s_tel+s_bg s_tether+s_tel+s_bg+s_shutdown
action_info 0+0+1 1+1+1 1+1+1 1+1+1+5
[bl_therm]
algo_type monitor
sensor quiet_therm
sampling 1000
thresholds 39000 39500 40000 41000 41500 42000
thresholds_clr 38000 38500 39000 40000 40500 41000
actions s_backlight s_backlight s_backlight s_backlight s_backlight s_backlight
action_info 209 171 141 115 78 44
[sony_camera]
algo_type monitor
sensor sony_camera_0
sampling 1000
thresholds 55000 59000 60000 62000 67000
thresholds_clr 49000 53000 57000 60000 61000
actions s_cam_ltb_tim+s_cam s_cam_ltb_tim+s_cam s_cam_ltb_tim+s_cam s_cam_ltb_tim+s_cam s_cam_ltb_tim+s_cam+s_shutdown
action_info 001800+0 001800+1 001800+5 001800+6 001800+6+5

361
configs/thermanager.xml Normal file
View File

@ -0,0 +1,361 @@
<thermanager>
<resources>
<!-- thermal zones -->
<resource name="bms" type="tz">/sys/class/thermal/thermal_zone0</resource>
<resource name="flash_therm" type="tz">/sys/class/thermal/thermal_zone1</resource>
<resource name="tsens_tz_sensor0" type="tz">/sys/class/thermal/thermal_zone2</resource>
<resource name="tsens_tz_sensor1" type="tz">/sys/class/thermal/thermal_zone3</resource>
<resource name="tsens_tz_sensor2" type="tz">/sys/class/thermal/thermal_zone4</resource>
<resource name="tsens_tz_sensor3" type="tz">/sys/class/thermal/thermal_zone5</resource>
<resource name="tsens_tz_sensor4" type="tz">/sys/class/thermal/thermal_zone6</resource>
<resource name="tsens_tz_sensor5" type="tz">/sys/class/thermal/thermal_zone7</resource>
<resource name="tsens_tz_sensor6" type="tz">/sys/class/thermal/thermal_zone8</resource> <!-- cpu7 -->
<resource name="tsens_tz_sensor7" type="tz">/sys/class/thermal/thermal_zone9</resource> <!-- cpu0 -->
<resource name="tsens_tz_sensor8" type="tz">/sys/class/thermal/thermal_zone10</resource> <!-- cpu1 -->
<resource name="tsens_tz_sensor9" type="tz">/sys/class/thermal/thermal_zone11</resource> <!-- cpu2 -->
<resource name="tsens_tz_sensor10" type="tz">/sys/class/thermal/thermal_zone12</resource> <!-- cpu3 -->
<resource name="tsens_tz_sensor11" type="tz">/sys/class/thermal/thermal_zone13</resource> <!-- gpu0 -->
<resource name="tsens_tz_sensor12" type="tz">/sys/class/thermal/thermal_zone14</resource> <!-- gpu1 -->
<resource name="tsens_tz_sensor13" type="tz">/sys/class/thermal/thermal_zone15</resource> <!-- cpu4 -->
<resource name="tsens_tz_sensor14" type="tz">/sys/class/thermal/thermal_zone16</resource> <!-- cpu5 -->
<resource name="tsens_tz_sensor15" type="tz">/sys/class/thermal/thermal_zone17</resource> <!-- cpu6 -->
<resource name="pm8994_tz" type="tz">/sys/class/thermal/thermal_zone18</resource>
<resource name="msm_therm" type="tz">/sys/class/thermal/thermal_zone19</resource>
<resource name="emmc_therm" type="tz">/sys/class/thermal/thermal_zone20</resource>
<resource name="pa_therm0" type="tz">/sys/class/thermal/thermal_zone21</resource>
<resource name="pa_therm1" type="tz">/sys/class/thermal/thermal_zone22</resource>
<resource name="quiet_therm" type="tz">/sys/class/thermal/thermal_zone23</resource>
<resource name="xo_therm" type="tz">/sys/class/thermal/thermal_zone24</resource>
<resource name="battery" type="tz">/sys/class/thermal/thermal_zone25</resource> <!-- same values as zone0, bms -->
<resource name="temp-core" type="union">
<!-- <resource name="msm_therm" /> -->
<!-- <resource name="emmc_therm" /> -->
<resource name="pa_therm0" />
<resource name="pa_therm1" />
<!-- <resource name="quiet_therm" /> -->
<resource name="xo_therm" />
</resource>
<resource name="temp-cluster-a53" type="union">
<resource name="tsens_tz_sensor7" />
<resource name="tsens_tz_sensor8" />
<resource name="tsens_tz_sensor9" />
<resource name="tsens_tz_sensor10" />
</resource>
<resource name="temp-cluster-a57" type="union">
<resource name="tsens_tz_sensor6" />
<resource name="tsens_tz_sensor13" />
<resource name="tsens_tz_sensor14" />
<resource name="tsens_tz_sensor15" />
</resource>
<resource name="temp-adreno-430" type="union">
<resource name="tsens_tz_sensor11" />
<resource name="tsens_tz_sensor12" />
</resource>
<!-- generic cpufreq -->
<resource name="cluster-a53" type="sysfs">/sys/module/msm_performance/parameters/cpu_max_freq</resource>
<resource name="cluster-a57" type="sysfs">/sys/module/msm_performance/parameters/cpu_max_freq</resource>
<!-- hotplugging -->
<resource name="thermal-max-cpus" type="sysfs">/sys/devices/system/cpu/cpuquiet/nr_thermal_max_cpus</resource>
<!-- device-specific -->
<resource name="kgsl-3d0" type="sysfs">/sys/class/kgsl/kgsl-3d0/max_gpuclk</resource>
<resource name="usb" type="sysfs">/sys/class/power_supply/usb/current_max</resource>
<resource name="charge_speed" type="sysfs">/sys/class/power_supply/battery/system_temp_level</resource>
<resource name="charging_enabled" type="sysfs">/sys/class/power_supply/battery/charging_enabled</resource>
<!-- TODO: -->
<resource name="camera" type="echo" />
<resource name="modem" type="echo" />
<resource name="shutdown" type="halt" delay="5" />
</resources>
<control name="usb">
<mitigation level="off"><value resource="usb">1500000</value></mitigation>
<mitigation level="1"><value resource="usb">1100000</value></mitigation>
<mitigation level="2"><value resource="usb">900000</value></mitigation>
<mitigation level="3"><value resource="usb">700000</value></mitigation>
<mitigation level="4"><value resource="usb">500000</value></mitigation>
<mitigation level="5"><value resource="usb">300000</value></mitigation>
<mitigation level="6"><value resource="usb">150000</value></mitigation>
</control>
<control name="battery_protect">
<mitigation level="off"><value resource="charging_enabled">1</value></mitigation>
<mitigation level="1"><value resource="charging_enabled">0</value></mitigation>
<mitigation level="2"><value resource="shutdown" /></mitigation>
</control>
<control name="charging">
<mitigation level="off"><value resource="charge_speed">0</value></mitigation>
<mitigation level="1"><value resource="charge_speed">1</value></mitigation>
<mitigation level="2"><value resource="charge_speed">2</value></mitigation>
<mitigation level="3"><value resource="charge_speed">3</value></mitigation>
<mitigation level="4"><value resource="charge_speed">4</value></mitigation>
<mitigation level="5"><value resource="charge_speed">5</value></mitigation>
<mitigation level="6"><value resource="charge_speed">6</value></mitigation>
<mitigation level="7"><value resource="charge_speed">7</value></mitigation>
<mitigation level="8"><value resource="charge_speed">8</value></mitigation>
<mitigation level="9"><value resource="charge_speed">9</value></mitigation>
<mitigation level="10"><value resource="charge_speed">10</value></mitigation>
<mitigation level="11"><value resource="charge_speed">11</value></mitigation>
<mitigation level="12"><value resource="charge_speed">12</value></mitigation>
</control>
<control name="modem">
<mitigation level="off"><value resource="modem">0</value></mitigation>
<mitigation level="1"><value resource="modem">1</value></mitigation>
</control>
<control name="camera">
<mitigation level="off"><value resource="camera">NORMAL</value></mitigation>
<mitigation level="1"><value resource="camera">WARNING</value></mitigation>
<mitigation level="2"><value resource="camera">CRITICAL</value></mitigation>
</control>
<control name="shutdown">
<mitigation level="off" />
<mitigation level="1"><value resource="shutdown"/></mitigation>
</control>
<control name="gpu">
<mitigation level="off"><value resource="kgsl-3d0">600000000</value></mitigation>
<mitigation level="1"><value resource="kgsl-3d0">510000000</value></mitigation>
<mitigation level="2"><value resource="kgsl-3d0">450000000</value></mitigation>
<mitigation level="3"><value resource="kgsl-3d0">390000000</value></mitigation>
<mitigation level="4"><value resource="kgsl-3d0">305000000</value></mitigation>
<mitigation level="5"><value resource="kgsl-3d0">180000000</value></mitigation>
<mitigation level="6"><value resource="shutdown" /></mitigation>
</control>
<control name="cpu-a53">
<mitigation level="off"><value resource="cluster-a53">0:4294967295</value></mitigation>
<mitigation level="1"><value resource="cluster-a53">0:1478400</value></mitigation>
<mitigation level="2"><value resource="cluster-a53">0:1344000</value></mitigation>
<mitigation level="3"><value resource="cluster-a53">0:1248000</value></mitigation>
<mitigation level="4"><value resource="cluster-a53">0:960000</value></mitigation>
<mitigation level="5"><value resource="cluster-a53">0:864000</value></mitigation>
<mitigation level="6"><value resource="cluster-a53">0:768000</value></mitigation>
<mitigation level="7"><value resource="cluster-a53">0:672000</value></mitigation>
<mitigation level="8"><value resource="cluster-a53">0:600000</value></mitigation>
<mitigation level="9"><value resource="cluster-a53">0:460800</value></mitigation>
<mitigation level="10"><value resource="cluster-a53">0:384000</value></mitigation>
<mitigation level="11"><value resource="shutdown" /></mitigation>
</control>
<control name="cpu-a57">
<mitigation level="off"><value resource="cluster-a57">4:4294967295</value></mitigation>
<mitigation level="1"><value resource="cluster-a57">4:1824000</value></mitigation>
<mitigation level="2"><value resource="cluster-a57">4:1728000</value></mitigation>
<mitigation level="3"><value resource="cluster-a57">4:1632000</value></mitigation>
<mitigation level="4"><value resource="cluster-a57">4:1536000</value></mitigation>
<mitigation level="5"><value resource="cluster-a57">4:1440000</value></mitigation>
<mitigation level="6"><value resource="cluster-a57">4:1344000</value></mitigation>
<mitigation level="7"><value resource="cluster-a57">4:1248000</value></mitigation>
<mitigation level="8"><value resource="cluster-a57">4:960000</value></mitigation>
<mitigation level="9"><value resource="cluster-a57">4:864000</value></mitigation>
<mitigation level="10"><value resource="cluster-a57">4:768000</value></mitigation>
<mitigation level="11"><value resource="cluster-a57">4:633600</value></mitigation>
<mitigation level="12"><value resource="cluster-a57">4:480000</value></mitigation>
<mitigation level="13"><value resource="cluster-a57">4:384000</value></mitigation>
<mitigation level="14"><value resource="shutdown" /></mitigation>
</control>
<control name="hotplug-a57">
<mitigation level="off"><value resource="thermal-max-cpus">8</value></mitigation>
<mitigation level="1"><value resource="thermal-max-cpus">7</value></mitigation>
<mitigation level="2"><value resource="thermal-max-cpus">6</value></mitigation>
<mitigation level="3"><value resource="thermal-max-cpus">5</value></mitigation>
<mitigation level="4"><value resource="thermal-max-cpus">4</value></mitigation>
</control>
<!-- burn-out protection -->
<configuration sensor="temp-core">
<threshold>
<mitigation name="shutdown" level="off" />
</threshold>
<threshold trigger="120" clear="100">
<mitigation name="shutdown" level="1" />
</threshold>
</configuration>
<!-- USB and DC -->
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="usb" level="off" />
</threshold>
<threshold trigger="50500" clear="49500">
<mitigation name="usb" level="1" />
</threshold>
<threshold trigger="51500" clear="50500">
<mitigation name="usb" level="2" />
</threshold>
<threshold trigger="52500" clear="51500">
<mitigation name="usb" level="4" />
</threshold>
<threshold trigger="53300" clear="52300">
<mitigation name="usb" level="6" />
</threshold>
</configuration>
<!-- charging -->
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="charging" level="off" />
</threshold>
<threshold trigger="50500" clear="49500">
<mitigation name="charging" level="5" />
</threshold>
<threshold trigger="51500" clear="50500">
<mitigation name="charging" level="8" />
</threshold>
<threshold trigger="52500" clear="51500">
<mitigation name="charging" level="9" />
</threshold>
<threshold trigger="53300" clear="52300">
<mitigation name="charging" level="12" />
</threshold>
</configuration>
<configuration sensor="battery">
<threshold>
<mitigation name="battery_protect" level="off" />
</threshold>
<threshold trigger="43000" clear="41000">
<mitigation name="battery_protect" level="1" />
</threshold>
<threshold trigger="67000" clear="63000">
<mitigation name="battery_protect" level="2" />
</threshold>
</configuration>
<!-- GPU -->
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="gpu" level="off" />
</threshold>
<threshold trigger="52500" clear="51500">
<mitigation name="gpu" level="2" />
</threshold>
<threshold trigger="53300" clear="52300">
<mitigation name="gpu" level="3" />
</threshold>
<threshold trigger="54500" clear="53500">
<mitigation name="gpu" level="5" />
</threshold>
</configuration>
<!-- modem -->
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="modem" level="off" />
</threshold>
<threshold trigger="53500" clear="52000">
<mitigation name="modem" level="1" />
</threshold>
</configuration>
<!-- CPU A53 -->
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="cpu-a53" level="off" />
</threshold>
<threshold trigger="49000" clear="47000">
<mitigation name="cpu-a53" level="1" />
</threshold>
<threshold trigger="50500" clear="49500">
<mitigation name="cpu-a53" level="2" />
</threshold>
<threshold trigger="51500" clear="50500">
<mitigation name="cpu-a53" level="3" />
</threshold>
<threshold trigger="53000" clear="52000">
<mitigation name="cpu-a53" level="4" />
</threshold>
<threshold trigger="53300" clear="52300">
<mitigation name="cpu-a53" level="5" />
</threshold>
<threshold trigger="54000" clear="53000">
<mitigation name="cpu-a53" level="6" />
</threshold>
<threshold trigger="54500" clear="53500">
<mitigation name="cpu-a53" level="8" />
</threshold>
<threshold trigger="55500" clear="54500">
<mitigation name="cpu-a53" level="9" />
</threshold>
<threshold trigger="56000" clear="55500">
<mitigation name="cpu-a53" level="10" />
</threshold>
</configuration>
<configuration sensor="temp-cluster-a53">
<threshold>
<mitigation name="cpu-a53" level="off" />
</threshold>
<threshold trigger="75" clear="68">
<mitigation name="cpu-a53" level="2" />
</threshold>
<threshold trigger="78" clear="73">
<mitigation name="cpu-a53" level="4" />
</threshold>
<threshold trigger="120" clear="100">
<mitigation name="cpu-a53" level="11" />
</threshold>
</configuration>
<!-- CPU A57 -->
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="cpu-a57" level="off" />
</threshold>
<threshold trigger="47000" clear="45000">
<mitigation name="cpu-a57" level="7" />
</threshold>
<threshold trigger="49000" clear="47000">
<mitigation name="cpu-a57" level="9" />
</threshold>
<threshold trigger="50500" clear="49500">
<mitigation name="cpu-a57" level="13" />
</threshold>
</configuration>
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="hotplug-a57" level="off" />
</threshold>
<threshold trigger="44000" clear="41000">
<mitigation name="hotplug-a57" level="2" />
</threshold>
<threshold trigger="49000" clear="47000">
<mitigation name="hotplug-a57" level="3" />
</threshold>
<threshold trigger="50500" clear="49500">
<mitigation name="hotplug-a57" level="4" />
</threshold>
</configuration>
<configuration sensor="temp-cluster-a57">
<threshold>
<mitigation name="cpu-a57" level="off" />
</threshold>
<threshold trigger="75" clear="68">
<mitigation name="cpu-a57" level="9" />
</threshold>
<threshold trigger="78" clear="73">
<mitigation name="cpu-a57" level="11" />
</threshold>
<threshold trigger="120" clear="100">
<mitigation name="cpu-a57" level="14" />
</threshold>
</configuration>
</thermanager>

View File

@ -21,27 +21,32 @@ $(call inherit-product, device/sony/kitakami-common/device-common.mk)
# Get non-open-source specific aspects
$(call inherit-product, vendor/sony/satsuki/satsuki-vendor.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Screen density
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
DEVICE_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay
# Boot animation
TARGET_SCREEN_HEIGHT := 3840
TARGET_SCREEN_WIDTH := 2160
# Dalvik/HWUI
$(call inherit-product, frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk)
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
# init
# Init
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/bin/init.qcom.power.sh:system/bin/init.qcom.power.sh
# Audio configuration
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
$(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
$(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml
# Fingerprint
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service
# Input
PRODUCT_COPY_FILES += \
@ -49,7 +54,8 @@ PRODUCT_COPY_FILES += \
# IRSC
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sec_config:system/etc/sec_config
$(LOCAL_PATH)/configs/sec_config:system/etc/sec_config \
$(LOCAL_PATH)/configs/sensors/sensor_def_qcomdev.conf:system/etc/sensors/sensor_def_qcomdev.conf
# NFC configs
PRODUCT_COPY_FILES += \
@ -64,15 +70,9 @@ PRODUCT_COPY_FILES += \
# Thermal
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf
$(LOCAL_PATH)/configs/thermanager.xml:system/etc/thermanager.xml
# WLAN
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/wlan/bcmdhd.cal:system/etc/firmware/wlan/bcmdhd/bcmdhd.cal
# Fingerprint
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service
$(LOCAL_PATH)/configs/BCM4356.hcd:system/etc/firmware/BCM43xx.hcd \
$(LOCAL_PATH)/configs/wifi/bcmdhd.cal:system/etc/wifi/bcmdhd.cal

View File

@ -7,9 +7,6 @@ etc/acdbdata/Sony/Sony_Hdmi_cal.acdb
etc/acdbdata/Sony/Sony_Headset_cal.acdb
etc/acdbdata/Sony/Sony_Speaker_cal.acdb
# Bluetooth
etc/firmware/BCM43xx.hcd
# Camera
bin/mm-qcamera-daemon
lib/hw/camera.qcom.so
@ -139,6 +136,7 @@ vendor/lib/liboemcamera.so
vendor/lib/libqomx_jpegdec.so
vendor/lib/libqomx_jpegenc.so
vendor/lib/libqomx_jpegenc_pipe.so
vendor/lib/libseemore.so
vendor/lib64/libmmcamera2_q3a_core.so
vendor/lib64/libmmcamera2_sensor_debug.so
vendor/lib64/libmmcamera2_stats_algorithm.so
@ -534,23 +532,117 @@ vendor/lib64/lib-sec-disp.so
vendor/lib64/libssd.so
vendor/lib64/libStDrvInt.so
# Modem
etc/customization/modem/amss_fs_empty.mbn
etc/customization/modem/amss_fsg_satsuki_a1_austria_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_att_us_tar.mbn
etc/customization/modem/amss_fsg_satsuki_beeline_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_bouygues_france_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_china_mobile_hk_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_cht_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_csl_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ctm_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_docomo_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ee_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ee_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ee_vowifi_only_tar.mbn
etc/customization/modem/amss_fsg_satsuki_emt_estonia_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_fareastone_tar.mbn
etc/customization/modem/amss_fsg_satsuki_france_tar.mbn
etc/customization/modem/amss_fsg_satsuki_gteb_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_austria_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_austria_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_denmark_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_hk_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_ireland_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_italy_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_sweden_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_sweden_vowifi_only_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_uk_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_uk_tar.mbn
etc/customization/modem/amss_fsg_satsuki_hutch_uk_volte_vowifi_tar.mbn
etc/customization/modem/amss_fsg_satsuki_india_tar.mbn
etc/customization/modem/amss_fsg_satsuki_indonesia_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ir51_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ir51_ir92_ims_gte_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ir51_ir92_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ir92_ims_gte_tar.mbn
etc/customization/modem/amss_fsg_satsuki_ir92_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_jazztel_tar.mbn
etc/customization/modem/amss_fsg_satsuki_kpn_tar.mbn
etc/customization/modem/amss_fsg_satsuki_m1_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_megafon_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_movistar_tar.mbn
etc/customization/modem/amss_fsg_satsuki_mts_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_orange_france_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_orange_france_pp_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_orange_france_tar.mbn
etc/customization/modem/amss_fsg_satsuki_orange_poland_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_orange_romania_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_orange_spain_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_orange_spain_vowifi_only_tar.mbn
etc/customization/modem/amss_fsg_satsuki_orange_tar.mbn
etc/customization/modem/amss_fsg_satsuki_pccw_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_reliance_jio_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_salt_switzerland_vowifi_only_tar.mbn
etc/customization/modem/amss_fsg_satsuki_sfr_france_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_singtel_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_smartone_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_starhub_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_swisscom_switzerland_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_taiwanmobile_tar.mbn
etc/customization/modem/amss_fsg_satsuki_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telcel_tar.mbn
etc/customization/modem/amss_fsg_satsuki_tele2_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_tele2_netherlands_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telefonica_germany_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telefonica_germany_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telefonica_spain_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telefonica_spain_vowifi_only_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telefonica_uk_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telefonica_uk_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telekom_czech_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telekom_czech_volte_vowifi_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telekom_germany_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telekom_germany_volte_vowifi_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telekom_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telenor_norway_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telenor_norway_volte_vowifi_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telia_norway_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telia_sweden_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telstra_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telstra_tar.mbn
etc/customization/modem/amss_fsg_satsuki_telstra_trial_tar.mbn
etc/customization/modem/amss_fsg_satsuki_tim_italy_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_tim_italy_volte_vilte_tar.mbn
etc/customization/modem/amss_fsg_satsuki_tim_tar.mbn
etc/customization/modem/amss_fsg_satsuki_tmobile_us_tar.mbn
etc/customization/modem/amss_fsg_satsuki_vivo_tar.mbn
etc/customization/modem/amss_fsg_satsuki_vodafone3_tar.mbn
etc/customization/modem/amss_fsg_satsuki_vodafone4_tar.mbn
etc/customization/modem/amss_fsg_satsuki_vodafone5_tar.mbn
etc/customization/modem/amss_fsg_satsuki_vodafone_germany_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_vodafone_nl_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_vodafone_spain_ims_tar.mbn
etc/customization/modem/amss_fsg_satsuki_vodafone_uk_ims_tar.mbn
# NFC
lib64/hw/libpn547_fw.so
# Sensors
bin/sensors.qcom:vendor/bin/sensors.qcom
etc/sensors/hals.conf:vendor/etc/sensors/hals.conf
etc/sensors/sensor_def_qcomdev.conf
bin/sensors.qcom
vendor/lib/libdataitems.so
vendor/lib/hw/activity_recognition.msm8994.so
vendor/lib/libsensor1.so
vendor/lib/libsensor_reg.so
vendor/lib/sensors.ssc.so
vendor/lib64/libdataitems.so
vendor/lib64/hw/activity_recognition.msm8994.so
vendor/lib64/libsensor1.so
vendor/lib64/libsensor_reg.so
vendor/lib64/sensors.ssc.so
# Thermal
etc/thermal-engine.conf
vendor/bin/thermal-engine
vendor/lib/libthermalclient.so
vendor/lib64/libthermalclient.so