Adbd secure feature on wicom mt2735

Hi all,

I’m running a Wicom-MT2735-Yocto-Telematics-Baseline distro in my AG56 EVB and I would need to know how to able the adbd secure feature to prevent ADB connections from others.

I have mounted the file /vendor/build.prop in read-write mode with a bind mount and added the property ro.adb.secure=1 to it so its contents is as follows;

ro.build.type=user
ro.hardware=mt2735
ro.product.board=mt2735evb-ivt-main-user
ro.product.device=mt2735evb-ivt-main-user
ro.product.model=mt2735evb-ivt-main-user
ro.product.name=mt2735evb-ivt-main-user
ro.product.vendor.device=mt2735evb-ivt-main-user
ro.product.vendor.model=mt2735evb-ivt-main-user
ro.product.vendor.name=mt2735evb-ivt-main-user
###### FO <=> property mapping end ######
ro.adb.secure=1

If have also added my public key to the /data/misc/adb/adb_keys file and restarted the adbd daemon in order for it to reload those changes.
However, the system keeps admitting connections other than mine so I guess those changes are not well applied or they are not enough.

Does anyone know how to configure that distribution to able such secure adbd feature properly?
Thank you in advance

Please try to regenerate rootfs with above changes, then update firmware and test.