-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOnePlusROM.sh
1640 lines (1615 loc) · 39.8 KB
/
OnePlusROM.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/bin/bash
PREBUILT_PATH="vendor/oneplus/"
list="
bin
etc/acdbdata/Fluid
etc/acdbdata/Liquid
etc/acdbdata/MTP
etc/acdbdata/QRD
etc/bluetooth
etc/camera
etc/cne
etc/cne/wqeclient
etc/data
etc/dhcpcd
etc/dhcpcd/dhcpcd-hooks
etc/dpm
etc/dpm/nsrm
etc/drc
etc/firmware/mbn_ota/mcfg_sw
etc/firmware/mbn_ota/mcfg_sw_NoCDMA
etc/firmware/tp
etc/firmware/wlan/qca_cld
etc/hostapd
etc/mmi
etc/mmi/layout
etc/permissions
etc/qvop
etc/security
etc/security/cacerts
etc/sensors
etc/stargate/image_quality/templates
etc/stargate/wakeup/templates
etc/surround_sound_3mic
etc/usf
etc/usf/mixer
etc/usf/proximity/cfg_mtp
etc/wifi
fonts
framework
lib
lib64
lib64/hw
lib/egl
lib/hw
lib/modules
lib/modules/qca_cld
media/audio/alarms
media/audio/notifications
media/audio/ringtones
media/audio/ui
tts/lang_pico
usr/hyphen-data
usr/icu
usr/idc
usr/keychars
usr/keylayout
usr/qfipsverify
usr/share/bmd
usr/share/zoneinfo
vendor/bin
vendor/etc
vendor/etc/RIDL
vendor/etc/scve/facereco
vendor/etc/scve/textreco/chardecoder
vendor/etc/scve/textreco/textdetector
vendor/etc/scve/textreco/worddecoder
vendor/lib64
vendor/lib64/egl
vendor/lib64/hw
vendor/lib64/soundfx
vendor/lib/egl
vendor/lib/hw
vendor/lib/qcdrm/playready/lib
vendor/lib/qcdrm/playready/lib/drm
vendor/lib/qcdrm/playready/lib/mediadrm
vendor/lib/rfsa/adsp
vendor/lib/soundfx
sbin
"
for i in ${list}
do
mkdir -p ${PREBUILT_PATH}${i}
done
bin_list="
adsprpcd
am
appops
appwidget
ATFWD-daemon
athdiag
bdt
bmgr
btnvtool
bu
cnd
cnss-daemon
cnss_diag
content
diag_callback_sample
diag_dci_sample
diag_klog
diag_mdlog
diag_socket_log
diag_uart_log
dpm
dpmd
dun-server
energy-awareness
fmconfig
fmfactorytest
fmfactorytestserver
fm_qsoc_patches
ftmdaemon
garden_app
gpsone_daemon
gptest
hal_proxy_daemon
hci_qcomm_init
hid
hvdcp_opti
ime
imscmservice
imsdatadaemon
imsqmidaemon
ims_rtp_daemon
input
iop
ipacm-diag
irsc_util
ks
loc_launcher
lowi-server
mct-unit-test-app
mdm_helper
mdm_helper_proxy
media
mm-audio-ftm
mmi
mmi_agent32
mmi_agent64
mmi_debug
mmi_diag
mm-qcamera-daemon
mm-vidc-omx-test
monkey
msm_irqbalance
myftm
netmgrd
nl_listener
pktlogconf
PktRspTest
pm
pm-proxy
pm-service
port-bridge
qcom-system-daemon
qfipsverify
qfp-daemon
qmi_simple_ril_test
qmuxd
qseecomd
qseecom_sample_client
qseecom_security_test
qvop-daemon
radish
requestsync
rmt_storage
secure_camera_sample_client
secure_ui_sample_client
sensors.qcom
settings
sm
ssr_diag
ssr_setup
StoreKeybox
subsystem_ramdump
svc
tbaseLoader
telecom
test_bet_8996
test_diag
test_module_pproc
tftp_server
time_daemon
tloc_daemon
uiautomator
usf_proximity
usf_tester
wcnss_filter
wdsdaemon
wfdservice
WifiLogger_app
wm
xtwifi-client
xtwifi-inet-agent
yuvtool
"
for i in ${bin_list}
do
adb pull /system/bin/${i} ${PREBUILT_PATH}bin/${i}
done
cd ${PREBUILT_PATH}bin
chmod 775 *
cd -
etc_list="
acdbdata/Fluid/Fluid_Bluetooth_cal.acdb
acdbdata/Fluid/Fluid_General_cal.acdb
acdbdata/Fluid/Fluid_Global_cal.acdb
acdbdata/Fluid/Fluid_Handset_cal.acdb
acdbdata/Fluid/Fluid_Hdmi_cal.acdb
acdbdata/Fluid/Fluid_Headset_cal.acdb
acdbdata/Fluid/Fluid_Speaker_cal.acdb
acdbdata/Liquid/Liquid_Bluetooth_cal.acdb
acdbdata/Liquid/Liquid_General_cal.acdb
acdbdata/Liquid/Liquid_Global_cal.acdb
acdbdata/Liquid/Liquid_Handset_cal.acdb
acdbdata/Liquid/Liquid_Hdmi_cal.acdb
acdbdata/Liquid/Liquid_Headset_cal.acdb
acdbdata/Liquid/Liquid_Speaker_cal.acdb
acdbdata/MTP/MTP_Bluetooth_cal.acdb
acdbdata/MTP/MTP_General_cal.acdb
acdbdata/MTP/MTP_Global_cal.acdb
acdbdata/MTP/MTP_Handset_cal.acdb
acdbdata/MTP/MTP_Hdmi_cal.acdb
acdbdata/MTP/MTP_Headset_cal.acdb
acdbdata/MTP/MTP_Speaker_cal.acdb
acdbdata/QRD/QRD_Bluetooth_cal.acdb
acdbdata/QRD/QRD_General_cal.acdb
acdbdata/QRD/QRD_Global_cal.acdb
acdbdata/QRD/QRD_Handset_cal.acdb
acdbdata/QRD/QRD_Hdmi_cal.acdb
acdbdata/QRD/QRD_Headset_cal.acdb
acdbdata/QRD/QRD_Speaker_cal.acdb
apns-conf.xml
firmware/a225p5_pm4.fw
firmware/a225_pfp.fw
firmware/a225_pm4.fw
firmware/a300_pfp.fw
firmware/a300_pm4.fw
firmware/a330_pfp.fw
firmware/a330_pm4.fw
firmware/a420_pfp.fw
firmware/a420_pm4.fw
firmware/a530_gpmu.fw2
firmware/a530_pfp.fw
firmware/a530_pm4.fw
firmware/a530v1_pfp.fw
firmware/a530v1_pm4.fw
firmware/a530v2_seq.fw2
firmware/a530v3_gpmu.fw2
firmware/a530v3_seq.fw2
firmware/a530_zap.b00
firmware/a530_zap.b01
firmware/a530_zap.b02
firmware/a530_zap.elf
firmware/a530_zap.mdt
firmware/alipay.b00
firmware/alipay.b01
firmware/alipay.b02
firmware/alipay.b03
firmware/alipay.b04
firmware/alipay.b05
firmware/alipay.b06
firmware/alipay.mdt
firmware/cpp_firmware_v1_10_0.fw
firmware/cpp_firmware_v1_1_1.fw
firmware/cpp_firmware_v1_1_6.fw
firmware/cpp_firmware_v1_2_0.fw
firmware/cpp_firmware_v1_4_0.fw
firmware/cpp_firmware_v1_5_0.fw
firmware/cpp_firmware_v1_5_2.fw
firmware/cpp_firmware_v1_6_0.fw
firmware/cpp_firmware_v1_8_0.fw
firmware/leia_pfp_470.fw
firmware/leia_pm4_470.fw
firmware/mbn_ota/mcfg_sw/mcfg_sw_ATT-VoLTE.mbn
firmware/mbn_ota/mcfg_sw/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn
firmware/mbn_ota/mcfg_sw/mcfg_sw_CT_OpenMkt-Commercial.mbn
firmware/mbn_ota/mcfg_sw/mcfg_sw_CU_OpenMkt-Commercial.mbn
firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_CDMA-Commercial.mbn
firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_Test-VoLTE.mbn
firmware/mbn_ota/mcfg_sw/mcfg_sw_TMO-Commercial.mbn
firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn
firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CU_OpenMkt-Commercial.mbn
firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_NoCDMA-Commercial.mbn
firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_Test-VoLTE.mbn
firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_Reliance-Commercial.mbn
firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_YTL-Commercial.mbn
firmware/nvm_tlv_1.3.bin
firmware/nvm_tlv_2.1.bin
firmware/nvm_tlv_3.0.bin
firmware/nvm_tlv_3.2.bin
firmware/nvm_tlv.bin
firmware/rampatch_tlv_1.3.tlv
firmware/rampatch_tlv_2.1.tlv
firmware/rampatch_tlv_3.0.tlv
firmware/rampatch_tlv_3.2.tlv
firmware/rampatch_tlv.img
firmware/tfa98xx.cnt
firmware/tp/fw_synaptics_15801b.img
firmware/tp/fw_synaptics_15801.img
firmware/tp/fw_synaptics_touchkey.img
firmware/wlan/qca_cld/WCNSS_cfg.dat
cacert_location.pem
camera/imx179_chromatix.xml
camera/imx298_chromatix.xml
camera/msm8996_camera.xml
capability.xml
cne/andsfCne.xml
cne/SwimConfig.xml
cne/wqeclient/profile1.xml
cne/wqeclient/profile2.xml
cne/wqeclient/profile3.xml
cne/wqeclient/profile4.xml
cne/wqeclient/profile5.xml
data/dsi_config.xml
data/netmgr_config.xml
data/qmi_config.xml
dpm/dpm.conf
dpm/nsrm/NsrmConfiguration.xml
drc/drc_cfg_AZ.txt
flp.conf
ftm_test_config
ftm_test_config_msm8996-dtp-tasha-snd-card
izat.conf
lowi.conf
mmi/fail.png
mmi/fonts.ttf
mmi/layout/footer_fail.xml
mmi/layout/footer.xml
mmi/layout/header.xml
mmi/layout/layout_battery.xml
mmi/layout/layout_bluetooth.xml
mmi/layout/layout_button_backlight.xml
mmi/layout/layout_camera_back.xml
mmi/layout/layout_camera_front.xml
mmi/layout/layout_cb.xml
mmi/layout/layout_common.xml
mmi/layout/layout_confirm.xml
mmi/layout/layout_cpu.xml
mmi/layout/layout_emmc.xml
mmi/layout/layout_feedback.xml
mmi/layout/layout_flashlight.xml
mmi/layout/layout_fm.xml
mmi/layout/layout_gps.xml
mmi/layout/layout_gsensor.xml
mmi/layout/layout_gyroscope.xml
mmi/layout/layout_handset.xml
mmi/layout/layout_headset_key.xml
mmi/layout/layout_headset.xml
mmi/layout/layout_key.xml
mmi/layout/layout_lcd_backlight.xml
mmi/layout/layout_lcd.xml
mmi/layout/layout_led_blue.xml
mmi/layout/layout_led_green.xml
mmi/layout/layout_led_red.xml
mmi/layout/layout_loudspeaker.xml
mmi/layout/layout_lsensor.xml
mmi/layout/layout_memory.xml
mmi/layout/layout_msensor.xml
mmi/layout/layout_nfc.xml
mmi/layout/layout_pcba.xml
mmi/layout/layout_primary_mic.xml
mmi/layout/layout_psensor.xml
mmi/layout/layout_reboot.xml
mmi/layout/layout_report.xml
mmi/layout/layout_sdcard.xml
mmi/layout/layout_simcard1.xml
mmi/layout/layout_simcard2.xml
mmi/layout/layout_system_info.xml
mmi/layout/layout_touch.xml
mmi/layout/layout_vibrator.xml
mmi/layout/layout_wifi.xml
mmi/layout/main.xml
mmi/mmi.cfg
mmi/mmi-pcba.cfg
mmi/pagedown.png
mmi/pageup.png
mmi/pass.png
mmi/poweroff.png
mmi/qualsound.wav
mmi/reboot.png
mmi/report.png
mmi/reset.png
mmi/runall.png
mmi/strings.xml
mmi/strings-zh-rCN.xml
permissions/cneapiclient.xml
permissions/com.qti.dpmframework.xml
permissions/com.qti.location.sdk.xml
permissions/com.qti.snapdragon.sdk.display.xml
permissions/com.qualcomm.location.vzw_library.xml
permissions/com.qualcomm.location.xml
permissions/com.quicinc.cne.xml
permissions/ConnectivityExt.xml
permissions/dpmapi.xml
permissions/embms.xml
permissions/GBAHttpAuthentication.xml
permissions/imscm.xml
permissions/qcnvitems.xml
permissions/qcrilhook.xml
permissions/qti_permissions.xml
permissions/telephonyservice.xml
qdcm_calib_data_samsung_s6e3fa3_1080p_cmd_mode_dsi_panel.xml
qdcm_calib_data_samsung_s6e3fa3_1080p_video_mode_dsi_panel.xml
qvop/antispoofing.bin
qvop/cmudict.bin
qvop/noisesample.bin
qvop/poc_64_hmm.gmm
sap.conf
sensors/sensor_def_qcomdev.conf
stargate/image_quality/templates/template1.pgm
stargate/wakeup/templates/template_imaginary.bin
stargate/wakeup/templates/template_real.bin
surround_sound_3mic/surround_sound_rec_AZ.cfg
thermal-engine.conf
usf/form_factor_mtp.cfg
usf/mixer/mixer_paths_mtp.xml
usf/proximity/cfg_mtp/usf_pocket_apps_mtp.cfg
usf/proximity/cfg_mtp/usf_pocket_mtp_algo_transparent_data.bin
usf/proximity/cfg_mtp/usf_pocket_mtp.cfg
usf/proximity/cfg_mtp/usf_proximity_apps_mtp.cfg
usf/proximity/cfg_mtp/usf_proximity_mtp_algo_transparent_data.bin
usf/proximity/cfg_mtp/usf_proximity_mtp.cfg
usf/proximity/cfg_mtp/usf_proximity_mtp_debug.cfg
usf/proximity/cfg_mtp/usf_proximity_mtp_rx_transparent_data.bin
usf/proximity/cfg_mtp/usf_proximity_mtp_tx_transparent_data.bin
usf/proximity/cfg_mtp/usf_ranging_apps_mtp.cfg
usf/proximity/cfg_mtp/usf_ranging_mtp_algo_transparent_data.bin
usf/readme.txt
usf/version.txt
wfdconfigsink.xml
wfdconfig.xml
xtra_root_cert.pem
xtwifi.conf
"
for i in ${etc_list}
do
adb pull /system/etc/${i} ${PREBUILT_PATH}etc/${i}
done
fonts_list="
AndroidClock_Highlight.ttf
AndroidClock_Solid.ttf
AndroidClock.ttf
CarroisGothicSC-Regular.ttf
Clockopia.ttf
ComingSoon.ttf
CutiveMono.ttf
DancingScript-Bold.ttf
DancingScript-Regular.ttf
DroidSans-Bold.ttf
DroidSansMono.ttf
DroidSans.ttf
NotoColorEmoji.ttf
NotoNaskhArabic-Bold.ttf
NotoNaskhArabic-Regular.ttf
NotoNaskhArabicUI-Bold.ttf
NotoNaskhArabicUI-Regular.ttf
NotoSansArmenian-Bold.ttf
NotoSansArmenian-Regular.ttf
NotoSansBalinese-Regular.ttf
NotoSansBamum-Regular.ttf
NotoSansBatak-Regular.ttf
NotoSansBengali-Bold.ttf
NotoSansBengali-Regular.ttf
NotoSansBengaliUI-Bold.ttf
NotoSansBengaliUI-Regular.ttf
NotoSansBuginese-Regular.ttf
NotoSansBuhid-Regular.ttf
NotoSansCanadianAboriginal-Regular.ttf
NotoSansCham-Bold.ttf
NotoSansCham-Regular.ttf
NotoSansCherokee-Regular.ttf
NotoSansCoptic-Regular.ttf
NotoSansDevanagari-Bold.ttf
NotoSansDevanagari-Regular.ttf
NotoSansDevanagariUI-Bold.ttf
NotoSansDevanagariUI-Regular.ttf
NotoSansEthiopic-Bold.ttf
NotoSansEthiopic-Regular.ttf
NotoSansGeorgian-Bold.ttf
NotoSansGeorgian-Regular.ttf
NotoSansGlagolitic-Regular.ttf
NotoSansGujarati-Bold.ttf
NotoSansGujarati-Regular.ttf
NotoSansGujaratiUI-Bold.ttf
NotoSansGujaratiUI-Regular.ttf
NotoSansGurmukhi-Bold.ttf
NotoSansGurmukhi-Regular.ttf
NotoSansGurmukhiUI-Bold.ttf
NotoSansGurmukhiUI-Regular.ttf
NotoSansHanunoo-Regular.ttf
NotoSansHebrew-Bold.ttf
NotoSansHebrew-Regular.ttf
NotoSansJavanese-Regular.ttf
NotoSansJP-Regular.otf
NotoSansKannada-Bold.ttf
NotoSansKannada-Regular.ttf
NotoSansKannadaUI-Bold.ttf
NotoSansKannadaUI-Regular.ttf
NotoSansKayahLi-Regular.ttf
NotoSansKhmer-Bold.ttf
NotoSansKhmer-Regular.ttf
NotoSansKhmerUI-Bold.ttf
NotoSansKhmerUI-Regular.ttf
NotoSansKR-Regular.otf
NotoSansLao-Bold.ttf
NotoSansLao-Regular.ttf
NotoSansLaoUI-Bold.ttf
NotoSansLaoUI-Regular.ttf
NotoSansLepcha-Regular.ttf
NotoSansLimbu-Regular.ttf
NotoSansLisu-Regular.ttf
NotoSansMalayalam-Bold.ttf
NotoSansMalayalam-Regular.ttf
NotoSansMalayalamUI-Bold.ttf
NotoSansMalayalamUI-Regular.ttf
NotoSansMandaic-Regular.ttf
NotoSansMeeteiMayek-Regular.ttf
NotoSansMongolian-Regular.ttf
NotoSansMyanmar-Bold.ttf
NotoSansMyanmar-Regular.ttf
NotoSansMyanmarUI-Bold.ttf
NotoSansMyanmarUI-Regular.ttf
NotoSansNewTaiLue-Regular.ttf
NotoSansNKo-Regular.ttf
NotoSansOlChiki-Regular.ttf
NotoSansOriya-Bold.ttf
NotoSansOriya-Regular.ttf
NotoSansOriyaUI-Bold.ttf
NotoSansOriyaUI-Regular.ttf
NotoSansRejang-Regular.ttf
NotoSansSaurashtra-Regular.ttf
NotoSansSC-Regular.otf
NotoSansSinhala-Bold.ttf
NotoSansSinhala-Regular.ttf
NotoSansSundanese-Regular.ttf
NotoSansSylotiNagri-Regular.ttf
NotoSansSymbols-Regular-Subsetted.ttf
NotoSansSyriacEstrangela-Regular.ttf
NotoSansTagbanwa-Regular.ttf
NotoSansTaiLe-Regular.ttf
NotoSansTaiTham-Regular.ttf
NotoSansTaiViet-Regular.ttf
NotoSansTamil-Bold.ttf
NotoSansTamil-Regular.ttf
NotoSansTamilUI-Bold.ttf
NotoSansTamilUI-Regular.ttf
NotoSansTC-Regular.otf
NotoSansTelugu-Bold.ttf
NotoSansTelugu-Regular.ttf
NotoSansTeluguUI-Bold.ttf
NotoSansTeluguUI-Regular.ttf
NotoSansThaana-Bold.ttf
NotoSansThaana-Regular.ttf
NotoSansThai-Bold.ttf
NotoSansThai-Regular.ttf
NotoSansThaiUI-Bold.ttf
NotoSansThaiUI-Regular.ttf
NotoSansTibetan-Regular.ttf
NotoSansTifinagh-Regular.ttf
NotoSansVai-Regular.ttf
NotoSansYi-Regular.ttf
NotoSerif-BoldItalic.ttf
NotoSerif-Bold.ttf
NotoSerif-Italic.ttf
NotoSerif-Regular.ttf
Roboto-BlackItalic.ttf
Roboto-Black.ttf
Roboto-BoldItalic.ttf
Roboto-Bold.ttf
RobotoCondensed-BoldItalic.ttf
RobotoCondensed-Bold.ttf
RobotoCondensed-Italic.ttf
RobotoCondensed-LightItalic.ttf
RobotoCondensed-Light.ttf
RobotoCondensed-Regular.ttf
Roboto-Italic.ttf
Roboto-LightItalic.ttf
Roboto-Light.ttf
Roboto-MediumItalic.ttf
Roboto-Medium.ttf
Roboto-Regular.ttf
Roboto-ThinItalic.ttf
Roboto-Thin.ttf
"
for i in ${fonts_list}
do
adb pull /system/fonts/${i} ${PREBUILT_PATH}fonts/${i}
done
lib_list="
crtbegin_so.o
crtend_so.o
egl/egl.cfg
hw/audio.primary.msm8996.so
hw/gps.default.so
libclcore.bc
libclcore_debug.bc
libclcore_neon.bc
libFNVfbEngineHAL.so
libgps.utils.so
libjson.so
libloc_api_v02.so
libloc_core.so
libloc_eng.so
libminui.so
libmorpho_image_stab4.so
libmorpho_video_refiner.so
libOmxVpp.so
libopcamerahw_interface.so
libparam.so
libpdmapper.so
libqti_performance.so
libstagefright_soft_flacdec.so
libvpplibrary.so
modules/core_ctl.ko
modules/mmc_test.ko
modules/br_netfilter.ko
modules/ansi_cprng.ko
modules/spidev.ko
modules/lcd.ko
modules/msm-buspm-dev.ko
modules/rdbg.ko
modules/ufs_test.ko
modules/wil6210.ko
modules/mmc_block_test.ko
modules/evbug.ko
modules/test-iosched.ko
modules/backlight.ko
modules/generic_bl.ko
lib_fpc_tac_shared.so
hw/fingerprint.msm8996.so
"
for i in ${lib_list}
do
adb pull /system/lib/${i} ${PREBUILT_PATH}lib/${i}
done
lib64_list="
crtbegin_so.o
crtend_so.o
hw/audio.primary.msm8996.so
hw/gps.default.so
libclcore.bc
libclcore_debug.bc
libgps.utils.so
libjson.so
libloc_api_v02.so
libloc_core.so
libloc_eng.so
libminui.so
libOmxVpp.so
libparam.so
libpdmapper.so
libqti-iop.so
libqti_performance.so
libstagefright_soft_flacdec.so
libvpplibrary.so
libwifi-hal-qcom.so
lib_fpc_tac_shared.so
hw/fingerprint.msm8996.so
"
for i in ${lib64_list}
do
adb pull /system/lib64/${i} ${PREBUILT_PATH}lib64/${i}
done
usr_list="
hyphen-data/hyph-en-us.hyb
hyphen-data/hyph-en-us.lic.txt
hyphen-data/hyph-eu.hyb
hyphen-data/hyph-eu.lic.txt
hyphen-data/hyph-hu.hyb
hyphen-data/hyph-hu.lic.txt
hyphen-data/hyph-hy.hyb
hyphen-data/hyph-hy.lic.txt
hyphen-data/hyph-nb.hyb
hyphen-data/hyph-nb.lic.txt
hyphen-data/hyph-nn.hyb
hyphen-data/hyph-nn.lic.txt
hyphen-data/hyph-und-ethi.hyb
hyphen-data/hyph-und-ethi.lic.txt
icu/icudt55l.dat
idc/AVRCP.idc
idc/qwerty2.idc
idc/qwerty.idc
idc/usf_tsc_ext.idc
idc/usf_tsc.idc
idc/usf_tsc_ptr.idc
keychars/Generic.kcm
keychars/qwerty2.kcm
keychars/qwerty.kcm
keychars/Vendor_18d1_Product_5018.kcm
keychars/Virtual.kcm
keylayout/AVRCP.kl
keylayout/Generic.kl
keylayout/gpio-keys.kl
keylayout/qpnp_pon.kl
keylayout/qwerty.kl
keylayout/synaptics_dsx.kl
keylayout/Vendor_0079_Product_0011.kl
keylayout/Vendor_045e_Product_028e.kl
keylayout/Vendor_046d_Product_b501.kl
keylayout/Vendor_046d_Product_c216.kl
keylayout/Vendor_046d_Product_c219.kl
keylayout/Vendor_046d_Product_c21d.kl
keylayout/Vendor_046d_Product_c21f.kl
keylayout/Vendor_046d_Product_c294.kl
keylayout/Vendor_046d_Product_c299.kl
keylayout/Vendor_046d_Product_c532.kl
keylayout/Vendor_054c_Product_0268.kl
keylayout/Vendor_0583_Product_2060.kl
keylayout/Vendor_05ac_Product_0239.kl
keylayout/Vendor_0b05_Product_4500.kl
keylayout/Vendor_1038_Product_1412.kl
keylayout/Vendor_12bd_Product_d015.kl
keylayout/Vendor_1532_Product_0900.kl
keylayout/Vendor_1689_Product_fd00.kl
keylayout/Vendor_1689_Product_fd01.kl
keylayout/Vendor_1689_Product_fe00.kl
keylayout/Vendor_18d1_Product_2c40.kl
keylayout/Vendor_18d1_Product_5018.kl
keylayout/Vendor_1949_Product_0401.kl
keylayout/Vendor_1bad_Product_f016.kl
keylayout/Vendor_1bad_Product_f023.kl
keylayout/Vendor_1bad_Product_f027.kl
keylayout/Vendor_1bad_Product_f036.kl
keylayout/Vendor_1d79_Product_0009.kl
keylayout/Vendor_22b8_Product_093d.kl
keylayout/Vendor_2378_Product_1008.kl
keylayout/Vendor_2378_Product_100a.kl
qfipsverify/bootimg.hmac
qfipsverify/qfipsverify.hmac
share/bmd/RFFspeed_501.bmd
share/bmd/RFFstd_501.bmd
share/zoneinfo/tzdata
"
for i in ${usr_list}
do
adb pull /system/usr/${i} ${PREBUILT_PATH}usr/${i}
done
vendor_list="
bin/audioflacapp
bin/chamomile_provision
bin/hdcp1prov
bin/mdtpd
bin/mm-pp-daemon
bin/mm-qjpeg-dec-test
bin/mm-qjpeg-enc-test
bin/mm-qomx-idec-test
bin/mm-qomx-ienc-test
bin/pd-mapper
bin/perfd
bin/qjpeg-dma-test
bin/qseeproxydaemon
bin/qseeproxysampledaemon
bin/qti
bin/RIDLClient.exe
bin/slim_daemon
bin/thermal-engine
etc/audio_effects.conf
etc/audio_output_policy.conf
etc/msm_irqbalance.conf
etc/perf-profile0.conf
etc/perf-profile1.conf
etc/perf-profile2.conf
etc/perf-profile3.conf
etc/perf-profile4.conf
etc/perf-profile5.conf
etc/perf-profile6.conf
etc/RIDL/GoldenLogmask.dmc
etc/RIDL/OTA-Logs.dmc
etc/RIDL/qdss.cfg
etc/RIDL/RIDL.db
etc/scve/facereco/gModel.dat
etc/scve/textreco/chardecoder/character.cost
etc/scve/textreco/chardecoder/CharType.dat
etc/scve/textreco/chardecoder/ChinesePunctuation.rst
etc/scve/textreco/chardecoder/_conf_eng_num_sym_font40_4transd_zscore_morph_.trn2876.trn
etc/scve/textreco/chardecoder/_conf_eng_num_sym_font40_conc2_meshrn__de__1_1__zscore_morph.trn10158.trn
etc/scve/textreco/chardecoder/_conf_eng_num_sym_font40_rbp_data5100_patch500_5x5_24x24_dim727.trn31585.trn
etc/scve/textreco/chardecoder/_eng_font40_4transmeshrnorm6x6_leaflda85_ligature_ext14_c70_sp1lI_newxml3.trn31299.trn
etc/scve/textreco/chardecoder/GLVQDecoder_fixed.ohie
etc/scve/textreco/chardecoder/glvq_kor_consonant_19classes_64_16dim_i0_linearNorm.dat
etc/scve/textreco/chardecoder/hGLVQ_kor_RLF80_float.hie
etc/scve/textreco/chardecoder/LDA_kor_consonant_19classes_64dim_linearNorm.dat
etc/scve/textreco/chardecoder/_numpunc_font40_4transmeshrnorm_leafnum1.trn9614.trn
etc/scve/textreco/chardecoder/_numpunc_font40_conc2_DEFn__BGTouchy6x6n__1_1__morph.trn32025.trn
etc/scve/textreco/chardecoder/_numpunc_parteng_font40_4transmeshr_morph.trn400.trn
etc/scve/textreco/chardecoder/punRangeData.rst
etc/scve/textreco/textdetector/cnn_multiLang1020.bin
etc/scve/textreco/worddecoder/chinese_address_20150304.bin
etc/scve/textreco/worddecoder/english_address_20150213.bin
etc/scve/textreco/worddecoder/english_dictionary_20150213.bin
etc/scve/textreco/worddecoder/korean_address_20150129.bin
etc/scve/textreco/worddecoder/korean.pos.20141226.bin
lib/egl/eglSubDriverAndroid.so
lib/egl/libEGL_adreno.so
lib/egl/libGLESv1_CM_adreno.so
lib/egl/libGLESv2_adreno.so
lib/egl/libq3dtools_adreno.so
lib/egl/libq3dtools_esx.so
lib/egl/libQTapGLES.so
lib/hw/activity_recognition.msm8996.so
lib/hw/flp.default.so
lib/hw/gatekeeper.msm8996.so
lib/hw/keystore.msm8996.so
lib/hw/sound_trigger.primary.msm8996.so
lib/libacdb-fts.so
lib/libacdbloader.so
lib/libacdbmapper.so
lib/libacdbrtac.so
lib/libactuator_rohm_bu63165gwl.so
lib/libadiertac.so
lib/libadm.so
lib/libadpcmdec.so
lib/libadreno_utils.so
lib/libadsp_default_listener.so
lib/libadsprpc.so
lib/libalarmservice_jni.so
lib/libasn1cper.so
lib/libasn1crt.so
lib/libasn1crtx.so
lib/libaudcal.so
lib/libaudioalsa.so
lib/libaudiodevarb.so
lib/libbccQTI.so
lib/libbtnv.so
lib/libbt-vendor.so
lib/libC2D2.so
lib/libc2d30-a3xx.so
lib/libc2d30-a4xx.so
lib/libc2d30-a5xx.so
lib/libc2d30_bltlib.so
lib/libCB.so
lib/libChamomilePA.so
lib/libchromatix_imx179_3a_1640x924_30fps_preview.so
lib/libchromatix_imx179_3a_1640x924_30fps_video.so
lib/libchromatix_imx179_3a_3280x1846_30fps_preview.so
lib/libchromatix_imx179_3a_3280x1846_30fps_video.so
lib/libchromatix_imx179_3a_3280x2464_30fps_facebeauty.so
lib/libchromatix_imx179_3a_3280x2464_30fps_preview.so
lib/libchromatix_imx179_3a_3280x2464_30fps_video.so
lib/libchromatix_imx179_common.so
lib/libchromatix_imx179_cpp_1640x924_30fps_liveshot.so
lib/libchromatix_imx179_cpp_1640x924_30fps_preview.so
lib/libchromatix_imx179_cpp_1640x924_30fps_snapshot.so
lib/libchromatix_imx179_cpp_1640x924_30fps_video.so
lib/libchromatix_imx179_cpp_3280x1846_30fps_liveshot.so
lib/libchromatix_imx179_cpp_3280x1846_30fps_preview.so
lib/libchromatix_imx179_cpp_3280x1846_30fps_snapshot.so
lib/libchromatix_imx179_cpp_3280x1846_30fps_video.so
lib/libchromatix_imx179_cpp_3280x2464_30fps_facebeauty.so
lib/libchromatix_imx179_cpp_3280x2464_30fps_liveshot.so
lib/libchromatix_imx179_cpp_3280x2464_30fps_nomultiframe.so
lib/libchromatix_imx179_cpp_3280x2464_30fps_preview.so
lib/libchromatix_imx179_cpp_3280x2464_30fps_snapshot.so
lib/libchromatix_imx179_cpp_3280x2464_30fps_video.so
lib/libchromatix_imx179_isp_1640x924_30fps_preview.so
lib/libchromatix_imx179_isp_1640x924_30fps_snapshot.so
lib/libchromatix_imx179_isp_1640x924_30fps_video.so
lib/libchromatix_imx179_isp_3280x1846_30fps_preview.so
lib/libchromatix_imx179_isp_3280x1846_30fps_snapshot.so
lib/libchromatix_imx179_isp_3280x1846_30fps_video.so
lib/libchromatix_imx179_isp_3280x2464_30fps_facebeauty.so
lib/libchromatix_imx179_isp_3280x2464_30fps_preview.so
lib/libchromatix_imx179_isp_3280x2464_30fps_snapshot.so
lib/libchromatix_imx179_isp_3280x2464_30fps_video.so
lib/libchromatix_imx179_postproc.so
lib/libchromatix_imx298_3a_clearshot.so
lib/libchromatix_imx298_3a_panorama.so
lib/libchromatix_imx298_4K_preview.so
lib/libchromatix_imx298_4K_video.so
lib/libchromatix_imx298_common_manual.so
lib/libchromatix_imx298_common.so
lib/libchromatix_imx298_cpp_hfr_120.so
lib/libchromatix_imx298_cpp_hfr_60.so
lib/libchromatix_imx298_cpp_hfr_90.so
lib/libchromatix_imx298_cpp_liveshot.so
lib/libchromatix_imx298_cpp_panorama_preview.so
lib/libchromatix_imx298_cpp_panorama_snapshot.so
lib/libchromatix_imx298_cpp_preview.so
lib/libchromatix_imx298_cpp_snapshot_clearshot.so
lib/libchromatix_imx298_cpp_snapshot_flash.so
lib/libchromatix_imx298_cpp_snapshot_hdr.so
lib/libchromatix_imx298_cpp_snapshot_manual.so
lib/libchromatix_imx298_cpp_snapshot_nomultiframe.so
lib/libchromatix_imx298_cpp_snapshot.so
lib/libchromatix_imx298_cpp_video_hdr.so
lib/libchromatix_imx298_cpp_video.so
lib/libchromatix_imx298_default_preview.so
lib/libchromatix_imx298_default_video.so
lib/libchromatix_imx298_hdr_snapshot_3a.so
lib/libchromatix_imx298_hdr_video_3a.so
lib/libchromatix_imx298_hfr_120_3a.so
lib/libchromatix_imx298_hfr_120.so
lib/libchromatix_imx298_hfr_60_3a.so
lib/libchromatix_imx298_hfr_60.so
lib/libchromatix_imx298_hfr_90_3a.so
lib/libchromatix_imx298_hfr_90.so
lib/libchromatix_imx298_isp_panorama.so
lib/libchromatix_imx298_liveshot.so
lib/libchromatix_imx298_postproc.so
lib/libchromatix_imx298_preview.so
lib/libchromatix_imx298_snapshot_hdr.so
lib/libchromatix_imx298_snapshot.so
lib/libchromatix_imx298_video_hdr.so
lib/libchromatix_imx298_video.so
lib/libchromatix_imx298_zsl_preview.so
lib/libchromatix_imx298_zsl_video.so
lib/libcneapiclient.so
lib/libcneconn.so
lib/libcneqmiutils.so
lib/libcne.so
lib/libconfigdb.so
lib/libconnctrl.so
lib/libcppf.so
lib/libdataitems.so
lib/libdiag.so
lib/libdisp-aba.so
lib/lib-dplmedia.so
lib/libdpmctmgr.so
lib/libdpmfdmgr.so
lib/libdpmframework.so
lib/libdpmnsrm.so
lib/libdpmtcm.so
lib/libdrc.so
lib/libdrmfs.so
lib/libdrmtime.so
lib/libdsi_netctrl.so
lib/libdsutils.so
lib/libEGL_adreno.so
lib/libExtendedExtractor.so
lib/libextendedremotedisplay.so
lib/libfastcvadsp_stub.so
lib/libfastcvopt.so
lib/libFidoCryptoJNI.so
lib/libFidoCrypto.so
lib/libFIDOKeyProvisioning.so
lib/libFidoSuiJNI.so
lib/libFileMux.so
lib/libFlacSwDec.so
lib/libflash_pmic.so
lib/libflp.so
lib/libgdtap.so
lib/libgeofence.so
lib/libGPreqcancel.so
lib/libGPreqcancel_svc.so
lib/libGPTEE.so
lib/libgsl.so
lib/libhdcp1prov.so
lib/libI420colorconvert.so
lib/libidl.so
lib/libimscamera_jni.so
lib/lib-imscamera.so
lib/lib-imsdpl.so
lib/libimsmedia_jni.so
lib/lib-imsqimf.so
lib/lib-imsrcscmclient.so
lib/lib-ims-rcscmjni.so
lib/lib-imsrcscmservice.so
lib/lib-imsrcscm.so
lib/lib-imsrcs.so
lib/lib-imsSDP.so
lib/lib-imss.so
lib/lib-imsvt.so
lib/lib-imsxml.so
lib/libizat_core.so
lib/libjpegdhw.so
lib/libjpegdmahw.so
lib/libjpegehw.so
lib/liblbs_core.so
lib/liblistenjni.so
lib/liblistensoundmodel2.so
lib/libllvd_smore.so
lib/libllvm-glnext.so
lib/libllvm-qcom.so
lib/liblocationservice_glue.so
lib/liblocationservice.so
lib/libloc_ext.so
lib/liblowi_client.so
lib/liblqe.so
lib/libmare-1.1.so
lib/libmare-cpu-1.1.so
lib/libmdmdetect.so