CaptainThrowback / android_device_htc_m8

Updated device files for TWRP M8 - All variants
8 stars 7 forks source link

TWRP 3.3.1-3 Lineage OS 17.1 Update still not working #6

Open N3m3515 opened 4 years ago

N3m3515 commented 4 years ago

Hi,

i still can´t Update LineageOS 17.1 over your Recovery. Screenshot_2020-04-05-14-10-36

`Starting TWRP 3.3.1-3-3dc87b03 on Sun Apr 5 19:38:36 2020 (pid 228) I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' TW_INCLUDE_CRYPTO := true I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness' I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness' I:TWFunc::Set_Brightness: Setting brightness control to 255 I:LANG: en Starting the UI... setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565 cannot find/open a drm device: No such file or directory fb0 reports (possibly inaccurate): vi.bits_per_pixel = 32 vi.red.offset = 24 .length = 8 vi.green.offset = 16 .length = 8 vi.blue.offset = 8 .length = 8 setting GGL_PIXEL_FORMAT_RGBX_8888 double buffered framebuffer: 0 (1080 x 1920) Using fbdev graphics. I:TWFunc::Set_Brightness: Setting brightness control to 255 I:Loading package: splash (/twres/splash.xml) I:Load XML directly I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly I:Checking resolution... I:Loading resources... I:Loading variables... I:Loading mouse cursor... I:Loading pages... I:Loading page splash I:Switching packages (splash) I:minui: /sys/board_properties/virtualkeys.synaptics-rmi-touchscreen is 5 % 6 => Linking mtab => Processing /etc/recovery.fstab for SAR-detection I:Reading /etc/recovery.fstab I:Done processing fstab files I:SAR-DETECT: SAR System detected I:Not overriding ro.build.fingerprint with empty value from system property ro.build.fingerprint => Processing /etc/recovery.fstab I:Reading /etc/recovery.fstab I:Processing '/boot' I:Processing '/cache' I:Processing '/system' I:Processing '/data' I:Processing '/misc' I:Processing '/recovery' I:Processing '/devlog' I:Created '/devlog' folder. I:Processing '/carrier' I:Created '/carrier' folder. I:Processing '/reserve' I:Created '/reserve' folder. I:Processing '/external_sd' I:Created '/external_sd' folder. I:Processing '/usb_otg' I:Created '/usb_otg' folder. I:Processing '/sd_ext' I:Created '/sd_ext' folder. I:Done processing fstab files I:Using automatic handling for /data/media emulated storage device. I:Setting up '/data' as data/media emulated storage. I:Backup folder set to '/data/media/0/TWRP/BACKUPS/SH459WM06866' I:Settings storage is '/data/media/0' I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0 I:Decrypt adopted storage starting I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly I:No /data/system/storage.xml for adopted storage Updating partition details... I:Data backup size is 1934MB, free: 8030MB. I:Unable to mount '/external_sd' I:Actual block device: '', current file system: 'vfat' I:Unable to mount '/usb_otg' I:Actual block device: '', current file system: 'vfat' I:Unable to mount '/sd_ext' I:Actual block device: '', current file system: 'ext4' ...done I:Unmounting main partitions...

Partition Logs: /boot | /dev/block/mmcblk0p42 | Size: 16MB Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img Primary_Block_Device: /dev/block/mmcblk0p42 Display_Name: Boot Storage_Name: boot Backup_Path: /boot Backup_Name: boot Backup_Display_Name: Boot Storage_Path: /boot Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/cache | /dev/block/mmcblk0p46 | Size: 377MB Used: 6MB Free: 371MB Backup Size: 6MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Primary_Block_Device: /dev/block/mmcblk0p46 Display_Name: Cache Storage_Name: Cache Backup_Path: /cache Backup_Name: cache Backup_Display_Name: Cache Storage_Path: /cache Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

/system_root | /dev/block/mmcblk0p45 | Size: 2645MB Used: 1318MB Free: 1327MB Backup Size: 1318MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Mount_Read_Only Primary_Block_Device: /dev/block/mmcblk0p45 Display_Name: System Storage_Name: System Backup_Path: /system_root Backup_Name: system Backup_Display_Name: System Storage_Path: /system_root Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

/data | /dev/block/mmcblk0p47 | Size: 10961MB Used: 1934MB Free: 8030MB Backup Size: 1934MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage Symlink_Path: /data/media/0 Symlink_Mount_Point: /sdcard Primary_Block_Device: /dev/block/mmcblk0p47 Crypto_Key_Location: /dev/block/platform/msm_sdcc.1/by-name/extra Display_Name: Data Storage_Name: Internal Storage Backup_Path: /data Backup_Name: data Backup_Display_Name: Data Storage_Path: /data/media/0 Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files MTP_Storage_ID: 65539

/misc | /dev/block/mmcblk0p24 | Size: 1MB Flags: IsPresent Primary_Block_Device: /dev/block/mmcblk0p24 Display_Name: misc Storage_Name: misc Backup_Path: /misc Backup_Name: misc Backup_Display_Name: misc Storage_Path: /misc Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/recovery | /dev/block/mmcblk0p43 | Size: 24MB Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img Primary_Block_Device: /dev/block/mmcblk0p43 Display_Name: Recovery Storage_Name: recovery Backup_Path: /recovery Backup_Name: recovery Backup_Display_Name: Recovery Storage_Path: /recovery Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/devlog | /dev/block/mmcblk0p39 | Size: 29MB Used: 25MB Free: 3MB Backup Size: 25MB Flags: Can_Be_Mounted Can_Be_Wiped IsPresent Primary_Block_Device: /dev/block/mmcblk0p39 Display_Name: devlog Storage_Name: devlog Backup_Path: /devlog Backup_Name: devlog Backup_Display_Name: devlog Storage_Path: /devlog Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

/carrier | /dev/block/mmcblk0p37 | Size: 24MB Used: 4MB Free: 20MB Backup Size: 4MB Flags: Can_Be_Mounted Can_Be_Wiped IsPresent Primary_Block_Device: /dev/block/mmcblk0p37 Display_Name: carrier Storage_Name: carrier Backup_Path: /carrier Backup_Name: carrier Backup_Display_Name: carrier Storage_Path: /carrier Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

/reserve | /dev/block/mmcblk0p41 | Size: 45MB Used: 0MB Free: 45MB Backup Size: 0MB Flags: Can_Be_Mounted Can_Be_Wiped IsPresent Primary_Block_Device: /dev/block/mmcblk0p41 Display_Name: reserve Storage_Name: reserve Backup_Path: /reserve Backup_Name: reserve Backup_Display_Name: reserve Storage_Path: /reserve Current_File_System: vfat Fstab_File_System: vfat Backup_Method: files

/external_sd | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage Primary_Block_Device: /dev/block/mmcblk1p1 Alternate_Block_Device: /dev/block/mmcblk1 Display_Name: Micro SDcard Storage_Name: Micro SDcard Backup_Path: /external_sd Backup_Name: external_sd Backup_Display_Name: Micro SDcard Storage_Path: /external_sd Current_File_System: vfat Fstab_File_System: vfat Backup_Method: files MTP_Storage_ID: 65537

/usb_otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage Primary_Block_Device: /dev/block/sda1 Alternate_Block_Device: /dev/block/sda Display_Name: USB-OTG Storage_Name: USB-OTG Backup_Path: /usb_otg Backup_Name: usb_otg Backup_Display_Name: USB-OTG Storage_Path: /usb_otg Current_File_System: vfat Fstab_File_System: vfat Backup_Method: files MTP_Storage_ID: 65538

/sd_ext | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Primary_Block_Device: /dev/block/mmcblk1p2 Alternate_Block_Device: /dev/block/mmcblk1 Display_Name: SD-Ext Storage_Name: SD-Ext Backup_Path: /sd_ext Backup_Name: sd_ext Backup_Display_Name: SD-Ext Storage_Path: /sd_ext Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip) I:Loading zip theme I:Loading package: TWRP (/twres/ui.xml) I:Load XML directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_PT.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly parsing languageFile parsing languageFile done I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly I:Checking resolution... I:Loading resources... I:Failed to load image from indeterminate013, error -1 I:Loading variables... I:Loading mouse cursor... I:Loading pages... I:Including file: /twres/portrait.xml... I:PageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly I:Loading resources... I:Loading variables... I:Loading mouse cursor... I:Loading pages... I:Loading page main I:Loading page main2 I:Loading page install I:Loading page flash_confirm I:Loading page flash_zip I:Loading page flash_done I:Loading page flash_sleep_and_reboot I:Loading page flashimage_confirm I:Loading page clear_vars I:Loading page reboot_system_routine I:Loading page confirm_action I:Loading page action_page I:Loading page singleaction_page I:Loading page action_complete I:Loading page filecheck I:Loading page rebootcheck I:Loading page appcheck I:Loading page wipe I:Loading page advancedwipe I:Loading page formatdata I:Loading page formatdata_confirm I:Loading page checkpartitionlist I:Loading page partitionoptions I:Loading page refreshfilesystem I:Loading page selectfilesystem I:Loading page backup I:Loading page backup_options I:Loading page backupname1 I:Loading page backupname2 I:Loading page backupencryption I:Loading page backupencryption2 I:Loading page checkbackuppassword I:Loading page backup_run I:Loading page restore I:Unable to open '/data/media/0/TWRP/BACKUPS/SH459WM06866' I:Loading page restore_read I:Loading page restore_decrypt I:Loading page try_restore_decrypt I:Loading page restore_select I:Loading page renamebackup I:Loading page restore_run I:Loading page mount I:Loading page usb_mount I:Loading page usb_umount I:Loading page system_readonly_check I:Loading page reboot I:Loading page rebootapp I:Loading page system_readonly I:Loading page settings I:Loading page settings_timezone I:Loading page settings_screen I:Loading page settings_vibration I:Loading page settings_language I:Loading page copylog I:Loading page advanced I:Loading page partsdcardsel I:Loading page partsdcardcheck I:Loading page partsdcard I:Loading page htcdumlock I:Loading page repackselect I:Loading page repackconfirm I:Loading page lock I:Loading page filemanagerlist I:Loading page filemanageroptions I:Loading page choosedestinationfolder I:Loading page filemanagerrenamefile I:Loading page filemanagerrenamefolder I:Loading page filemanagerchmod I:Loading page filemanagerconfirm I:Loading page filemanageraction I:Loading page decrypt I:Loading page decrypt_pattern I:Loading page trydecrypt I:Loading page terminalcommand I:Loading page sideload I:Loading page fixcontexts I:Loading page slideout I:Loading page select_storage I:Loading page select_language I:Set page: 'clear_vars' I:Set page: 'main2' I:Switching packages (TWRP) Boot command: boot-recovery Got arguments from boot message Startup Commands: '--update_package=@/cache/recovery/block.map'I:Inserting 'install @/cache/recovery/block.map' '--locale=de-DE' sys.usb.ffs.ready=1 service.adb.root=1 ro.persistent_properties.ready=true ro.build.fingerprint=htc/twrp_m8/m8:16.1.0/OPM8.181105.002/jenkin04042305:eng/test-keys ro.boottime.adbd=9799001078 ro.boottime.init=9195 ro.boottime.init.selinux=53 ro.boottime.init.cold_boot_wait=231 ro.boottime.ueventd=9265880193 ro.boottime.recovery=9533291365 ro.boottime.chargeled=9776553628 ro.boottime.choice_fn=9553761368 ro.boottime.set_permissive=9522087249 ro.boot.serialno=SH459WM06866 ro.serialno=SH459WM06866 net.bt.name=Android sys.usb.controller=f9200000.dwc3 persist.sys.usb.config=adb persist.sys.dalvik.vm.lib.2=libart.so persist.sys.disable_rescue=true debug.atrace.tags.enableflags=0 ro.dalvik.vm.native.bridge=0 dalvik.vm.isa.arm.variant=krait dalvik.vm.isa.arm.features=default dalvik.vm.dexopt.secondary=true dalvik.vm.usejit=true dalvik.vm.lockprof.threshold=500 dalvik.vm.dex2oat-Xms=64m dalvik.vm.dex2oat-Xmx=512m dalvik.vm.appimageformat=lz4 dalvik.vm.usejitprofiles=true dalvik.vm.stack-trace-dir=/data/anr dalvik.vm.image-dex2oat-Xms=64m dalvik.vm.image-dex2oat-Xmx=64m dalvik.vm.image-dex2oat-filter=verify-at-runtime 0=0 pm.dexopt.boot=extract pm.dexopt.ab-ota=speed-profile pm.dexopt.shared=speed pm.dexopt.install=quicken pm.dexopt.inactive=verify pm.dexopt.bg-dexopt=speed-profile pm.dexopt.first-boot=extract ro.com.android.dataroaming=false ro.boot.dq=PASS ro.boot.lb=1 ro.boot.cid=11111111 ro.boot.mid=0P6B10000 ro.boot.emmc=true ro.boot.mode=recovery ro.boot.podt=0x3E8 ro.boot.engid=0 ro.boot.ddrmid=(0x3) ro.boot.carrier=ALL ro.boot.keycaps=qwerty ro.boot.selinux=permissive ro.boot.baseband=1.29.214500021.12G ro.boot.hardware=qcom ro.boot.pagesize=2048 ro.boot.rom_type=NORMAL ro.boot.devicerev=5 ro.boot.hwversion=B ro.boot.bootdevice=msm_sdcc.1 ro.boot.bootloader=3.19.0.0000 ro.boot.efuse_info=SL ro.boot.batt_poweron=good_battery ro.omni.device=m8 ro.twrp.sar=true ro.twrp.boot=1 ro.twrp.version=3.3.1-3 ro.wifi.channels= ro.allow.mock.location=1 ro.board.platform=msm8974 ro.build.id=OPM8.181105.002 ro.build.date=Sat Apr 4 23:05:25 EDT 2020 ro.build.date.utc=1586055925 ro.build.host=build ro.build.tags=test-keys ro.build.type=eng ro.build.user=jenkins ro.build.flavor=twrp_m8-eng ro.build.display.id=twrp_m8-eng 16.1.0 OPM8.181105.002 eng.jenkin.20200404.230525 test-keys ro.build.product=htc_m8 ro.build.selinux=1 ro.build.version.sdk=27 ro.build.version.base_os= ro.build.version.release=16.1.0 ro.build.version.codename=REL ro.build.version.incremental=eng.jenkin.20200404.230525 ro.build.version.preview_sdk=0 ro.build.version.all_codenames=REL ro.build.version.security_patch=2025-12-05 ro.build.description=twrp_m8-eng 16.1.0 OPM8.181105.002 eng.jenkin.20200404.230525 test-keys ro.build.characteristics=default ro.bionic.ld.warning=1 ro.kernel.android.checkjni=1 ro.secure=0 ro.treble.enabled=false ro.vendor.product.name=twrp_m8 ro.vendor.product.brand=htc ro.vendor.product.model=HTC One_M8 ro.vendor.product.device=htc_m8 ro.vendor.product.manufacturer=htc ro.zygote=zygote32 ro.carrier=unknown ro.product.cpu.abi=armeabi-v7a ro.product.cpu.abi2=armeabi ro.product.cpu.abilist=armeabi-v7a,armeabi ro.product.cpu.abilist32=armeabi-v7a,armeabi ro.product.cpu.abilist64= ro.product.name=twrp_m8 ro.product.board=MSM8974 ro.product.brand=htc ro.product.model=HTC One_M8 ro.product.device=htc_m8 ro.product.locale=en-US ro.product.manufacturer=htc ro.baseband=1.29.214500021.12G ro.bootmode=recovery ro.hardware=qcom ro.revision=0 ro.bootimage.build.date=Sat Apr 4 23:05:25 EDT 2020 ro.bootimage.build.date.utc=1586055925 ro.bootimage.build.fingerprint=htc/twrp_m8/m8:16.1.0/OPM8.181105.002/jenkin04042305:eng/test-keys ro.bootloader=3.19.0.0000 ro.debuggable=1 ro.property_service.version=2 init.svc.adbd=running init.svc.ueventd=running init.svc.recovery=running init.svc.chargeled=running init.svc.choice_fn=stopped init.svc.set_permissive=stopped twrp.crash_counter=0 twrp.action_complete=0 keyguard.no_require_sim=true recovery=recovery load-modem=load-modem tombstoned.max_tombstone_count=50 rmt_storage=rmt_storage

SELinux contexts loaded from /file_contexts Full SELinux support is present. tw_get_context got selinux context: u:object_r:media_rw_data_file:s0 I:Got default contexts and file mode for storage files. I:TWFunc::Fixup_Time: Pre-fix date and time: 2020-04-05--19-38-38 I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch I:TWFunc::Fixup_Time: Date and time corrected: 2020-04-05--19-38-38 I:Unable to find source file /cache/recovery/log.gz I:Attempt to load settings from settings file... I:InfoManager loading from '/data/media/0/TWRP/.twrps'. I:Backup folder set to '/data/media/0/TWRP/BACKUPS/SH459WM06866' I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab I:Version number saved to '/cache/recovery/.version' I:Unable to mount '/external_sd' I:Actual block device: '', current file system: 'vfat' I:Unable to mount '/usb_otg' I:Actual block device: '', current file system: 'vfat' I:TWFunc::Set_Brightness: Setting brightness control to 255 I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly parsing languageFile parsing languageFile done I:Translating partition display names I:Backup folder set to '/data/media/0/TWRP/BACKUPS/SH459WM06866' I:Switching packages (TWRP) I:Set page: 'action_page' I:operation_start: 'OpenRecoveryScript' Running Recovery Commands I:command is: 'install' I:value is: '@/cache/recovery/block.map' I:Installing mapped zip file '/cache/recovery/block.map' Installing zip file '@/cache/recovery/block.map' Installing zip file '@/cache/recovery/block.map' Checking for Digest file... Failed to map file '@/cache/recovery/block.map' Error installing zip file '@/cache/recovery/block.map' Done processing script file I:Set page: 'action_complete' I:operation_end - status=1 I:Set page: 'main' I:Set page: 'clear_vars' I:Set page: 'main2' I:Starting MTP I:[MTP] Starting MTP I:sending message to add 65539 '/data/media/0' 'Internal Storage' I:Message sent, add storage ID: 65539 '/data/media/0' MTP Enabled I:Check_Lifetime_Writes result: '388725' I:Switching packages (TWRP) I:Starting Adb Backup FIFO I:Set page: 'main' I:Set page: 'clear_vars' I:Set page: 'main2' I:[MTP] created new mtpserver object I:[MTP] MtpServer::run fd: 18 I:[MTP] mtppipe add storage 65539 '/data/media/0' I:[MTP] MtpStorage id: 65539 path: /data/media/0 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'`

CaptainThrowback commented 4 years ago

Yes, this is still WIP, it seems. I can't even get it working when building in an LOS tree. I'm going to have to wait until TWRP is buildable in a 10 tree and try again then. It works periodically but inconsistently. I'll leave this open until it's truly confirmed to be fixed.

The -3 version you used is less likely to work as data missing an important patch I added to get it working previously.

N3m3515 commented 4 years ago

I downloaded the Version after your Edit was in the message. Did I still get the older Version?

CaptainThrowback commented 4 years ago

No, the version after the edit is still missing the patch, but it doesn't matter, as that patch doesn't reliably fix the problem. As I said, this issue is currently WIP. If you need the OTA to be able to install automatically, and you're not using GApps or Magisk, then you can use the Lineage Recovery. Otherwise, you're just stuck installing them manually for the time being.