1

I am stuck in a weird situation where I have two Android 10 phones from Samsung. I have rooted the stock recovery of both device as instructions given here. The problem is when I change something via recovery like create a new /system/etc/init/custom.rc file then on One device it persist on /system after reboot but on another it doesn't. The changes does persist when I reboot to recovery back.

I want to understand which layer of Android applied this feature:

  • Kernel
  • Stock recovery
  • System
  • or another

Any suggestion? and how to fix it?

3
  • 1
    probably misleading but one thing i heard about recently is FEC
    – alecxs
    Apr 1 '20 at 11:38
  • I checked it in the kernel sources of both and its turned on(CONFIG_DM_VERITY_FEC=y) in both. Don't know what I am doing wrong. But its worth to know about FEC :) I should disable it as it will not affect the device functionality Right? Apr 1 '20 at 12:26
  • 1
    it is part of dm-verity and can be safely disabled
    – alecxs
    Apr 1 '20 at 12:49
1

Removing avb checks form boot.img/ramdisk/fstab.qcom has fixed the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.