android:delete avb

avb :https://source.android.google.cn/docs/core/architecture/kernel/mounting-partitions-early

file: vendor/etc/fstab.qcom

clears all AVB code (except for the 7 AVBs in the figure)

Find the line of code [userdata] with code similar to this, and delete it.

【fileencryption=ice,wrappedkey,keydirectory=/metadata/vold/metadata_encryption,】

MIUI delete screen lock

1
/data/system/locksettings

Similar to this kind of file, del two. The screen lock key was deleted.

crDroid delete screen lock

1
/data/system/locksettings.db

Already flashed Gapps’ crDroid, after re-flashing the rom. Then restore the backup and the screen passcode will change. At this time, you need to delete the locksettings.db file. If crDroid is stuck on the second screen after restarting, it may be caused by Gapps and needs to be re-flashed.

Check the current A/B slots for Android.

In the Android system, if the device supports A/B partitioning, the system will create two partitions in the device, one is the currently used partition and the other is the alternate partition. These two partitions are called slots. When using the adb shell command, you can see which slot the current system belongs to with the following command:

1
getprop ro.boot.slot_suffix

This command returns the slot number to which the current system belongs, for example, if the returned result is “_a”, it means that the current system belongs to slot A.

If the returned result is “_b”, it means that the current system belongs to slot B.

  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2020-2024 Lin