Results 1 to 4 of 4

Thread: Nexus 6p + LineageOS 17.1 + NetHunter = corrupt /data partition

  1. #1
    Join Date
    2019-Nov
    Posts
    169

    Nexus 6p + LineageOS 17.1 + NetHunter = corrupt /data partition

    I?ve done this now more than 2 dozen times. Everything works fine, until I install NetHunter. Then it boot loops.
    I have installed the correct Android 10 compatible Version of TWRP 3.3.1.0
    I have installed Magisk, and disabled DM-Verity and Force Encryption. This was done after installing LineageOS, but before initial boot.
    NetHunter was installed after initial boot and I completed the device setup before attempting to install NetHunter.
    I verified the FS before installing NetHunter zip package, and determined there was none.
    I verified the FS after installing NetHunter zip package, and found unrepairable damage.
    There were no reboots in between FS checks or installation of NetHunter.

    I am trying to attach the log file from TWRP to this message, but I am being told ?invalid file?.

    Relevant part of log file:
    Code:
    I:Data backup size is 6575MB, free: 47540MB....done
    I:Set page: 'flash_done'
    I:TWFunc::Set_Brightness: Setting brightness control to 255
    I:operation_end - status=0
    I:Set overlay: ''
    I:Set page: 'clear_vars'
    I:Set page: 'install'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'wipe'
    I:Set page: 'advancedwipe'
    I:checkpartitionlist list '/data;'
    I:checkpartitionlist part_path '/data'
    I:Set page: 'checkpartitionlist'
    I:getpartitiondetails list '/data;'
    I:getpartitiondetails part_path '/data'
    I:Set page: 'partitionoptions'
    Truncating string cache entries.
    I:Set page: 'confirm_action'
    I:Set page: 'action_page'
    I:operation_start: 'Repair Partition'
    I:sending message to remove 65537
    I:[MTP] mtppipe remove storage 65537
    I:Message sent, remove storage ID: 65537
    Repairing Data using e2fsck...
    I:Repair command: /sbin/e2fsck -fp /dev/block/mmcblk0p44
    /dev/block/mmcblk0p44: Inode 3032717, i_blocks is 8, should be 16.  FIXED.
    /dev/block/mmcblk0p44: Duplicate or bad block in use!
    /dev/block/mmcblk0p44: Multiply-claimed block(s) in inode 3032717: 3014657
    /dev/block/mmcblk0p44: (There are 1 inodes containing multiply-claimed blocks.)
    
    
    /dev/block/mmcblk0p44: File /local/9cM-^TM-7M-^E7T/M-0M-B^Fwba2M-^M-@ToM-^M^B=wM-}/M-@M-^]DM-XM-cLM-`?^HM-][M-^EM-u*M-WM-Y/3^CM-!F^\^?M-`M-7jM-|M-QM-^JM-$2^C^E/*M-DM-,M-dM-^K)(M-^M^ZLM-fM-^R^AhqM-^] (inode #3032717, mod time __bionic_open_tzdata: couldn't find any tzdata when looking for PST8PDT,M3.2.0,M11.1.0!
    __bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
    Fri Jan 23 12:01:41 1970) 
      has 1 multiply-claimed block(s), shared with 1 file(s):
    /dev/block/mmcblk0p44: 	<filesystem metadata>
    /dev/block/mmcblk0p44: 
    
    
    /dev/block/mmcblk0p44: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
    	(i.e., without -a or -p options)
    /sbin/e2fsck -fp /dev/block/mmcblk0p44 process ended with ERROR: 4
    Unable to repair Data.
    I:Set page: 'action_complete'
    I:operation_end - status=1
    I:Set page: 'clear_vars'
    I:Set page: 'partitionoptions'
    I:Set page: 'advancedwipe'
    I:checkpartitionlist list '/system_root;'
    I:checkpartitionlist part_path '/system_root'
    I:Set page: 'checkpartitionlist'
    I:getpartitiondetails list '/system_root;'
    I:getpartitiondetails part_path '/system_root'
    I:Set page: 'partitionoptions'
    I:Set page: 'confirm_action'
    I:Set page: 'action_page'
    I:operation_start: 'Repair Partition'
    Repairing System using e2fsck...
    I:Repair command: /sbin/e2fsck -fp /dev/block/mmcblk0p43
    /: 4149/4224 files (0.5% non-contiguous), 420105/774155 blocks
    I:/sbin/e2fsck -fp /dev/block/mmcblk0p43 process ended with RC=0
    Done.
    I:Set page: 'action_complete'
    I:operation_end - status=0
    I:Set page: 'clear_vars'
    I:Set page: 'partitionoptions'
    I:Set page: 'advancedwipe'
    I:Set page: 'wipe'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set overlay: 'slideout'
    I:Set overlay: ''
    I:Set overlay: 'slideout'
    I:Set overlay: ''
    I:Set overlay: 'slideout'
    I:Set overlay: ''
    I:Set page: 'advanced'
    I:Set page: 'copylog'
    I:Set page: 'action_page'
    I:operation_start: 'Copy Log'
    I:Copying file /tmp/recovery.log to /usb-otg/recovery.log

  2. #2
    Join Date
    2020-Oct
    Posts
    1
    Hi aaronouthier

    Did you already solve that problem?

    Thx


    Quote Originally Posted by aaronouthier View Post
    I?ve done this now more than 2 dozen times. Everything works fine, until I install NetHunter. Then it boot loops.
    I have installed the correct Android 10 compatible Version of TWRP 3.3.1.0
    I have installed Magisk, and disabled DM-Verity and Force Encryption. This was done after installing LineageOS, but before initial boot.
    NetHunter was installed after initial boot and I completed the device setup before attempting to install NetHunter.
    I verified the FS before installing NetHunter zip package, and determined there was none.
    I verified the FS after installing NetHunter zip package, and found unrepairable damage.
    There were no reboots in between FS checks or installation of NetHunter.

    I am trying to attach the log file from TWRP to this message, but I am being told ?invalid file?.

    Relevant part of log file:
    Code:
    I:Data backup size is 6575MB, free: 47540MB....done
    I:Set page: 'flash_done'
    I:TWFunc::Set_Brightness: Setting brightness control to 255
    I:operation_end - status=0
    I:Set overlay: ''
    I:Set page: 'clear_vars'
    I:Set page: 'install'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'wipe'
    I:Set page: 'advancedwipe'
    I:checkpartitionlist list '/data;'
    I:checkpartitionlist part_path '/data'
    I:Set page: 'checkpartitionlist'
    I:getpartitiondetails list '/data;'
    I:getpartitiondetails part_path '/data'
    I:Set page: 'partitionoptions'
    Truncating string cache entries.
    I:Set page: 'confirm_action'
    I:Set page: 'action_page'
    I:operation_start: 'Repair Partition'
    I:sending message to remove 65537
    I:[MTP] mtppipe remove storage 65537
    I:Message sent, remove storage ID: 65537
    Repairing Data using e2fsck...
    I:Repair command: /sbin/e2fsck -fp /dev/block/mmcblk0p44
    /dev/block/mmcblk0p44: Inode 3032717, i_blocks is 8, should be 16.  FIXED.
    /dev/block/mmcblk0p44: Duplicate or bad block in use!
    /dev/block/mmcblk0p44: Multiply-claimed block(s) in inode 3032717: 3014657
    /dev/block/mmcblk0p44: (There are 1 inodes containing multiply-claimed blocks.)
    
    
    /dev/block/mmcblk0p44: File /local/9cM-^TM-7M-^E7T/M-0M-B^Fwba2M-^M-@ToM-^M^B=wM-}/M-@M-^]DM-XM-cLM-`?^HM-][M-^EM-u*M-WM-Y/3^CM-!F^\^?M-`M-7jM-|M-QM-^JM-$2^C^E/*M-DM-,M-dM-^K)(M-^M^ZLM-fM-^R^AhqM-^] (inode #3032717, mod time __bionic_open_tzdata: couldn't find any tzdata when looking for PST8PDT,M3.2.0,M11.1.0!
    __bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
    Fri Jan 23 12:01:41 1970) 
      has 1 multiply-claimed block(s), shared with 1 file(s):
    /dev/block/mmcblk0p44:     <filesystem metadata>
    /dev/block/mmcblk0p44: 
    
    
    /dev/block/mmcblk0p44: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)
    /sbin/e2fsck -fp /dev/block/mmcblk0p44 process ended with ERROR: 4
    Unable to repair Data.
    I:Set page: 'action_complete'
    I:operation_end - status=1
    I:Set page: 'clear_vars'
    I:Set page: 'partitionoptions'
    I:Set page: 'advancedwipe'
    I:checkpartitionlist list '/system_root;'
    I:checkpartitionlist part_path '/system_root'
    I:Set page: 'checkpartitionlist'
    I:getpartitiondetails list '/system_root;'
    I:getpartitiondetails part_path '/system_root'
    I:Set page: 'partitionoptions'
    I:Set page: 'confirm_action'
    I:Set page: 'action_page'
    I:operation_start: 'Repair Partition'
    Repairing System using e2fsck...
    I:Repair command: /sbin/e2fsck -fp /dev/block/mmcblk0p43
    /: 4149/4224 files (0.5% non-contiguous), 420105/774155 blocks
    I:/sbin/e2fsck -fp /dev/block/mmcblk0p43 process ended with RC=0
    Done.
    I:Set page: 'action_complete'
    I:operation_end - status=0
    I:Set page: 'clear_vars'
    I:Set page: 'partitionoptions'
    I:Set page: 'advancedwipe'
    I:Set page: 'wipe'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set overlay: 'slideout'
    I:Set overlay: ''
    I:Set overlay: 'slideout'
    I:Set overlay: ''
    I:Set overlay: 'slideout'
    I:Set overlay: ''
    I:Set page: 'advanced'
    I:Set page: 'copylog'
    I:Set page: 'action_page'
    I:operation_start: 'Copy Log'
    I:Copying file /tmp/recovery.log to /usb-otg/recovery.log

  3. #3
    Join Date
    2019-Nov
    Posts
    169
    @Feanor, yes I did. I also thought I had responded already. It turns that when I disable force-encrypt, it caused the data partition to be corrupt. You have to format /data after disabling force-encrypt. make sure you copy of anything important first!

    When I realized this, I was like "duh, that actually makes sense!". Disabling encryption of the data partition causes the encrypted data to become unreadable!

  4. #4
    Join Date
    2021-Apr
    Posts
    1
    Thank you for solving this problem

Similar Threads

  1. Replies: 0
    Last Post: 2020-07-24, 00:11
  2. Replies: 3
    Last Post: 2018-09-27, 23:28
  3. Replies: 3
    Last Post: 2017-06-08, 20:13
  4. XZ-compressed data is corrupt - System halted
    By Morteryler in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-12-19, 16:16
  5. Error starting Live USB - XZ-compressed data is corrupt
    By hackin88 in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2015-06-04, 15:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •