- Download these 2 files
- Compile AOSP without fcm from stock and wait for check_vintf to error out
- Delete Python prefix from all lines (e.g.
checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554]) - Paste the result in fqnames.txt
- Launch the script
This file contains hidden or 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
| ~ # find /sys -name scaling_available_frequencies | |
| /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies | |
| /sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies | |
| ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies | |
| 400000 691200 806400 1017600 1190400 1305600 1382400 1401600 | |
| ~ # cat /sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies | |
| 400000 883200 940800 998400 1056000 1113600 1190400 1248000 1305600 1382400 1612800 1747200 |
This file contains hidden or 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
| fogos:/tmp # ls /dev/block/ | |
| bootdevice dm-15 dm-24 dm-33 dm-46 dm-8 loop14 loop20 loop27 loop33 loop4 loop5 ram0 ram15 ram8 sdb2 sdd11 sdd18 sdd5 sde10 sde17 sde23 sde6 sdf11 sdf18 sdf5 | |
| by-name dm-16 dm-25 dm-34 dm-47 loop0 loop15 loop21 loop28 loop34 loop40 loop6 ram1 ram2 ram9 sdc sdd12 sdd19 sdd6 sde11 sde18 sde24 sde7 sdf12 sdf19 sdf6 | |
| dm-0 dm-17 dm-26 dm-36 dm-48 loop1 loop16 loop22 loop29 loop35 loop41 loop7 ram10 ram3 sda sdc1 sdd13 sdd2 sdd7 sde12 sde19 sde25 sde8 sdf13 sdf2 sdf7 | |
| dm-1 dm-19 dm-27 dm-39 dm-5 loop10 loop17 loop23 loop3 loop36 loop42 loop8 ram11 ram4 sda1 sdc2 sdd14 sdd20 sdd8 sde13 sde2 sde26 sde9 sdf14 sdf20 sdf8 | |
| dm-12 dm-2 d |
This file contains hidden or 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/bash | |
| if [[ -z "$1" ]]; then | |
| echo "Usage: $0 <rom_root_directory>" | |
| exit 1 | |
| fi | |
| ROM_DIR="$(cd "$1" 2>/dev/null && pwd)" | |
| if [[ -z "$ROM_DIR" ]]; then | |
| echo "Error: invalid directory: $1" |
This file contains hidden or 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
| T812:/tmp # ls /dev/block | |
| by-name loop12 loop3 loop8 ram0 ram13 ram4 ram9 sdc10 sdc15 sdc2 sdc24 sdc29 sdc33 sdc38 sdc42 sdc47 sdc51 sdc56 sdc60 sdc9 | |
| loop0 loop13 loop4 loop9 ram1 ram14 ram5 sda sdc11 sdc16 sdc20 sdc25 sdc3 sdc34 sdc39 sdc43 sdc48 sdc52 sdc57 sdc61 volmgr | |
| loop1 loop14 loop5 mmcblk0 ram10 ram15 ram6 sdb sdc12 sdc17 sdc21 sdc26 sdc30 sdc35 sdc4 sdc44 sdc49 sdc53 sdc58 sdc62 zram0 | |
| loop10 loop15 loop6 mmcblk0p1 ram11 ram2 ram7 sdc sdc13 sdc18 sdc22 sdc27 sdc31 sdc36 sdc40 sdc45 sdc5 sdc54 sdc59 sdc7 | |
| loop11 loop2 loop7 platform ram12 ram3 ram8 sdc1 sdc14 sdc19 sdc23 sdc28 sdc32 sdc37 sdc41 sdc46 sdc50 sdc55 sdc6 sdc8 | |
| T812:/tmp # ./parted /dev/block/sdc unit B print | |
| Warning: Not all of the s |
This file contains hidden or 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
| (bootloader) security-patch-level:2025-08-01 | |
| (bootloader) allow-wipe-userdata:yes | |
| (bootloader) crc:1 | |
| (bootloader) token:<redacted> | |
| (bootloader) snapshot-update-status:none | |
| (bootloader) parallel-download-flash:yes | |
| (bootloader) cpuid:0x0000045bb38a1cf6 | |
| (bootloader) hw-revision:10000 | |
| (bootloader) unlocked:yes | |
| (bootloader) off-mode-charge:1 |
This file contains hidden or 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
| (bootloader) crc:1 | |
| (bootloader) snapshot-update-status:none | |
| (bootloader) DP:0x0 | |
| (bootloader) token:redacted | |
| (bootloader) parallel-download-flash:yes | |
| (bootloader) hw-revision:10000 | |
| (bootloader) unlocked:yes | |
| (bootloader) off-mode-charge:1 | |
| (bootloader) charger-screen-enabled:1 | |
| (bootloader) battery-soc-ok:yes |
This file contains hidden or 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
| RMX1801:/ # find /sys -name scaling_available_frequencies | |
| /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies | |
| /sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies | |
| RMX1801:/ # cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies | |
| 633600 902400 1113600 1401600 1536000 1747200 1843200 | |
| RMX1801:/ # cat /sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies | |
| 1113600 1401600 1747200 1958400 |
This file contains hidden or 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
| 12-24 22:38:01.866 5528 5558 E AndroidRuntime: FATAL EXCEPTION: launcher-loader | |
| 12-24 22:38:01.866 5528 5558 E AndroidRuntime: Process: com.android.launcher3, PID: 5528 | |
| 12-24 22:38:01.866 5528 5558 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.appwidget.AppWidgetManager.getInstalledProvidersForProfile(android.os.UserHandle)' on a null object reference | |
| 12-24 22:38:01.866 5528 5558 E AndroidRuntime: at com.android.launcher3.widget.WidgetManagerHelper.lambda$allWidgetsSteam$0(WidgetManagerHelper.java:159) | |
| 12-24 22:38:01.866 5528 5558 E AndroidRuntime: at com.android.launcher3.widget.WidgetManagerHelper$$ExternalSyntheticLambda0.apply(D8$$SyntheticClass:0) | |
| 12-24 22:38:01.866 5528 5558 E AndroidRuntime: at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:288) | |
| 12-24 22:38:01.866 5528 5558 E AndroidRuntime: at java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) | |
| 12-24 22:38:01.866 552 |
This file contains hidden or 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
| X6739:/ # find /sys -name scaling_available_frequencies | |
| /sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies | |
| /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies | |
| /sys/devices/system/cpu/cpufreq/policy7/scaling_available_frequencies | |
| X6739:/ # cat /sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies | |
| 2600000 2507000 2354000 2200000 1985000 1855000 1740000 1624000 1537000 1451000 1335000 1162000 1046000 902000 700000 437000 | |
| X6739:/ # cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies | |
| 2000000 1800000 1725000 1625000 1525000 1450000 1350000 1250000 1075000 1000000 925000 850000 750000 675000 600000 500000 | |
| X6739:/ # cat /sys/devices/system/cpu/cpufreq/policy7/scaling_available_frequencies | |
| 3000000 2892000 2713000 2600000 2463000 2284000 2141000 1998000 1820000 1632000 1482000 1370000 1258000 11080 |
NewerOlder