This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# system/bin | |
vendor/bin/hw/[email protected]:system/bin/[email protected] | |
vendor/bin/hw/[email protected]:system/bin/[email protected] | |
vendor/bin/qseecomd:system/bin/qseecomd | |
vendor/bin/hw/vendor.qti.hardware.vibrator.service:system/bin/vendor.qti.hardware.vibrator.service | |
# system/etc/init | |
#system/etc/init/ashmemd.rc | |
# system/etc/vintif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Copyright 2012 The Android Open Source Project | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./best-caf-kernel.py "LA.UM.8.3*" | |
number of tags to check: 12 | |
LA.UM.8.3.r1-05800-sdm845.0 has 587827 lines changed | |
LA.UM.8.3.r1-05800-sdm845.0 is the new best match with 587827 lines changed | |
LA.UM.8.3.r1-06100-sdm845.0 has 586714 lines changed | |
LA.UM.8.3.r1-06100-sdm845.0 is the new best match with 586714 lines changed | |
LA.UM.8.3.r1-06300-sdm845.0 has 585850 lines changed | |
LA.UM.8.3.r1-06300-sdm845.0 is the new best match with 585850 lines changed | |
LA.UM.8.3.r1-06600-sdm845.0 has 600610 lines changed | |
LA.UM.8.3.r1-06900-sdm845.0 has 603662 lines changed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11-26 12:15:43.282 929 929 W NxpFwDnld: firmware type not found. Taking default value: 1 | |
11-26 12:15:43.283 929 929 D NxpFwDnld: @@@/vendor/lib/libpn553_fw.so | |
11-26 12:15:43.283 929 929 E NxpFwDnld: NULL handler : unable to load the library file, specify correct path | |
11-26 12:15:43.283 929 929 D NxpFwDnld: FW Image Length - ImageInfoLen 0 | |
11-26 12:15:43.283 929 929 D NxpFwDnld: FW Image Info Pointer - pImageInfo 0x0 | |
11-26 12:15:43.283 929 929 E NxpFwDnld: Image extraction Failed - invalid imginfo or imginfolen!! | |
11-26 12:15:43.283 929 929 E NxpFwDnld: Error loading libpn54x_fw !! | |
11-26 12:15:43.283 929 929 D NxpHal : FW version for FW file = 0x0 | |
11-26 12:15:43.283 929 929 D NxpHal : FW version from device = 0x110114 | |
11-26 12:15:43.283 929 929 E NxpHal : Wrong FW Version >>> Firmware download not allowed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
payton:/ # ls -l /mnt/vendor/persist/ | |
total 276 | |
drwxrwx--- 2 system system 4096 1969-12-31 17:01 alarm | |
drwxr-xr-x 2 vendor_mot_pwric vendor_mot_pwric 4096 2020-11-08 19:39 batt_health | |
drwxrwx--- 2 bluetooth bluetooth 4096 2020-11-08 19:39 bluetooth | |
drwx------ 2 root system 4096 1969-12-31 17:01 bms | |
drwxr-xr-x 2 vendor_mot_tcmd bluetooth 4096 1969-12-31 17:01 bt | |
drwxrwx--- 3 root root 4096 2020-11-08 19:39 cache | |
drwxr-xr-x 7 vendor_mot_tcmd vendor_mot_tcmd 4096 2020-11-08 19:39 camera | |
-rwxrwx--- 1 root root 12 1969-12-31 17:00 captouch_basedata.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
payton:/ # ls -l /mnt/vendor/persist | |
total 260 | |
drwxrwx--- 2 system system 4096 1969-12-31 17:01 alarm | |
drwxr-xr-x 2 vendor_mot_pwric vendor_mot_pwric 4096 2018-11-06 17:53 batt_health | |
drwxrwx--- 2 bluetooth bluetooth 4096 1969-12-31 17:01 bluetooth | |
drwx------ 2 root system 4096 1969-12-31 17:01 bms | |
drwxr-xr-x 2 vendor_mot_tcmd bluetooth 4096 1969-12-31 17:01 bt | |
drwxrwx--- 3 root root 4096 2019-11-02 10:25 cache | |
drwxr-xr-x 7 vendor_mot_tcmd vendor_mot_tcmd 4096 1969-12-31 19:09 camera | |
-rw-r--r-- 1 9004 9004 12 1969-12-31 17:00 captouch_basedata.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make sure the device's and/or commonized device proprietary-files are updated with the same blobs that you want in your proprietary vendor repo. | |
Next, to use the kang and section mode we need the switches "-k -s". -k tells extract-files to only kang/pull updated blobs without deleting any blobs. -s tells it to only update ones from a commented section of your proprietary-files. | |
for example, if i have this in my proprietary-files | |
# ADSP - from oneplus3t - OnePlus/OnePlus3/OnePlus3T:9/PKQ1.181203.001/1911042108 - OOS 9.0.6 | |
vendor/lib/libadsp_hvx_callback_skel.so | |
vendor/lib/libadsp_hvx_stub.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you've installed adb and fastboot via apt install on Ubuntu and realize they're old versions, then here is how to manually update them. | |
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip | |
unzip \platform-tools-latest-linux.zip | |
sudo cp platform-tools/adb /usr/lib/android-sdk/platform-tools/ | |
sudo cp platform-tools/fastboot /usr/lib/android-sdk/platform-tools/ | |
check that it worked with: | |
adb --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make sure the device's and/or commonized device proprietary-files are updated with the same blobs that you want in your proprietary vendor repo. | |
In my example, I'll use the LeEco Le Max 2 (x2), so I would then copy the current LeEco msm8996-common and then x2 blobs (just to clarify, I mean the blobs themselves within the proprietary folder) to the desktop in a folder named vendorblobs | |
Then open terminal in the device tree and... | |
./extract-files.sh ~/Desktop/vendorblobs/ | tee ~/Desktop/extractor.log | |
Check extractor.log to ensure it worked ok and there was no errors / not found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# begin build properties | |
# autogenerated by buildinfo.sh | |
ro.letv.release.branch=ruby_dev_leui | |
ro.letv.release.version=6.0.030S | |
ro.letv.release.version_date=5.8.001D_09093 | |
ro.product.letv_model= | |
ro.product.letv_name= | |
ro.build.id=WAXCNFN6003009091S | |
ro.build.display.id=WAXCNFN6003009091S release-keys |