Possible explanation why nexus 5 didn't have the new device protection topic

SOCIALIZE IT ⇨

So, just posted this a while ago at reddit, and some guy over there points out that maybe XDA is better place for this.

I'm just realized this afternoon by looking my android one device (sprout_b, indonesian version).
The Indian version (sprout) got updated to lollipop, and have the new device protection. Even if I flashed and used the said update on my device, I can't use the new device protection.

So I tried to compare both system files and boot.img, and found 1 partition missing on my device, FRP.
I investigated more about this, and it seems that both nexus 6 and 9 got this partition too (under the name PST).

And then, wild sudden clarity appears! FRP = Factory Reset Protection.
So, both my devices (nexus 5 and nexian journey 1 -android one- ) probably didn't receive this protection, because the partition needed for it isn't there.

For more info, here's the fstabs from both android one branch (sprout and sprout_b):

sprout:

Code:


# Android fstab file.
#<src>          <mnt_point>        <type>    <mnt_flags and options>                <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/platform/mtk-msdc.0/by-name/system    /system    ext4  ro                                                          wait
/dev/block/platform/mtk-msdc.0/by-name/userdata  /data      ext4  noatime,nosuid,nodev,noauto_da_alloc,discard                wait,check,encryptable=/dev/block/platform/mtk-msdc.0/by-name/metadata
/dev/block/platform/mtk-msdc.0/by-name/cache    /cache      ext4  noatime,nosuid,nodev,noauto_da_alloc,discard                wait,check
/dev/block/platform/mtk-msdc.0/by-name/protect1  /protect_f  ext4  noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc    wait,check
/dev/block/platform/mtk-msdc.0/by-name/protect2  /protect_s  ext4  noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc    wait,check
/dev/block/platform/mtk-msdc.0/by-name/oem      /oem        ext4  ro,context=u:object_r:oemfs:s0,nosuid,nodev                wait
/devices/platform/mtk-msdc.1/mmc_host*          auto        vfat  defaults                                                    voldmanaged=sdcard0:auto,noemulatedsd
/dev/block/platform/mtk-msdc.0/by-name/frp      /persistent emmc  defaults                                                    defaults


sprout_b:

Code:


# Android fstab file.
#<src>          <mnt_point>        <type>    <mnt_flags and options>                <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/platform/mtk-msdc.0/by-name/system    /system    ext4  ro                                                          wait
/dev/block/platform/mtk-msdc.0/by-name/userdata  /data      ext4  noatime,nosuid,nodev,noauto_da_alloc,discard                wait,check,encryptable=/dev/block/platform/mtk-msdc.0/by-name/metadata
/dev/block/platform/mtk-msdc.0/by-name/cache    /cache      ext4  noatime,nosuid,nodev,noauto_da_alloc,discard                wait,check
/dev/block/platform/mtk-msdc.0/by-name/protect1  /protect_f  ext4  noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc    wait,check
/dev/block/platform/mtk-msdc.0/by-name/protect2  /protect_s  ext4  noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc    wait,check
/dev/block/platform/mtk-msdc.0/by-name/oem      /oem        ext4  ro,context=u:object_r:oemfs:s0,nosuid,nodev                wait
/devices/platform/mtk-msdc.1/mmc_host*          auto        vfat  defaults                                                    voldmanaged=sdcard1:auto


FRP is also mentioned in file_contexts file in boot.img:

Code:


/dev/block/mmcblk0p18 u:object_r:frp_block_device:s0


xda-developers


  1. How to roll back to KK topic
  2. What is this in Greenify settings topic
  3. [Q] How to update? topic
  4. OTA 5.1 Update Fails on my Unrooted Nexus 5 topic
  5. Can the nexus 5 turn on without a power button? topic
  6. HTC Sense ROM Nexus 5 topic
  7. [Q] Text Messages Get Split Up - Nexus 6 on Verizon Wireless topic
  8. Nexus 5 shutting off randomly topic
  9. Nexus 6 SMS issues topic
  10. [Q] Nexus 4 Lollipop 5.1 How do I enable LTE 4G topic
  11. Sprint Nexus 6 no mobile data on CM 12.1. topic
  12. [Q] Lost Root on my nexus 5 topic
  13. [Q] Nexus 4 endless Bootloop. Help !! topic
  14. [Q] Is it possible to use same icons as S6 Theme in Nova Launcher? topic
  15. [Q] Is it possible to have a file download on internal storage and external? topic
  16. Possible Fix for HRM / Google Fix Bug - Google Play Services Update topic
  17. Possible Root? topic
  18. [Q] External Mic possible? Any tips? topic
  19. [Q] Possible battery drain after root? topic
  20. [Q] Possible to make a ROM with these files? topic

0 commentaires:

Enregistrer un commentaire