TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.95k stars 742 forks source link

Black Screen when loading into recovery on my Redmi Note 4X #1107

Open jevonsdu opened 6 years ago

jevonsdu commented 6 years ago

flash the TWRP (twrp-3.2.0-0-mido.img) successfully in bootloader mode, then reboot to recovery mode , the screen is black, however, the 'adb devices' command can show the phone is in recovery mode....

tried many times, same result!

below is the recovery log:

Starting TWRP 3.2.0-0-606cc915 on Fri Jan 23 22:04:14 1970 (pid 410) RECOVERY_SDCARD_ON_DATA := true I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled TW_INCLUDE_CRYPTO := true I:TW_BRIGHTNESS_PATH := /sys/class/leds/lcd-backlight/brightness I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness' I:TWFunc::Set_Brightness: Setting brightness control to 255 I:LANG: en Starting the UI... setting DRM_FORMAT_RGBX8888 and GGL_PIXEL_FORMAT_RGBX_8888 cannot find/open a drm device: No such file or directory cannot open fb0 (retrying): No such file or directory fb0 reports (possibly inaccurate): vi.bits_per_pixel = 32 vi.red.offset = 0 .length = 8 vi.green.offset = 8 .length = 8 vi.blue.offset = 16 .length = 8 setting GGL_PIXEL_FORMAT_RGBA_8888 double buffered framebuffer: 0 (1080 x 1920) Using fbdev graphics. TW_SCREEN_BLANK_ON_BOOT := true 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:Blacklisting input device: hbtp_vm => Linking mtab => Processing recovery.fstab I:Reading /etc/recovery.fstab I:Processing '/system' I:Processing '/data' I:Processing '/cache' I:Processing '/cust' I:Created '/cust' folder. I:Processing '/recovery' I:Processing '/boot' I:Processing '/misc' I:Processing '/efs1' I:Processing '/efs2' I:Processing '/firmware' I:Created '/firmware' folder. I:Processing '/persist' I:Created '/persist' folder. I:Processing '/sdcard1' I:Created '/sdcard1' folder. I:Processing '/usb-otg' I:Created '/usb-otg' folder. I:Processing '/aboot' I:Processing '/cmnlib' I:Processing '/tz' I:Processing '/rpm' I:Processing '/keymaster' I:Processing '/devcfg' I:Processing '/dsp' I:Processing '/efs1' I:Processing '/efs2' I:Processing '/efsg' I:Processing '/efsc' I:Done processing fstab files I:Setting up '/data' as data/media emulated storage. I:Created '/sdcard' folder. I:Can't probe device /dev/block/mmcblk0p49 I:Unable to mount '/data' I:Actual block device: '/dev/block/mmcblk0p49', current file system: 'ext4' I:Can't probe device /dev/block/mmcblk0p49 I:Unable to mount '/data' I:Actual block device: '/dev/block/mmcblk0p49', current file system: 'ext4' get_crypt_ftr_info crypto key location: 'footer' I:Backup folder set to '/data/media/TWRP/BACKUPS/33ced85e0504' I:Settings storage is '/data/media' I:Device is encrypted with the default password, attempting to decrypt. crypt_ftr->fs_size = 50322351 Using scrypt with keymaster for cryptfs KDF Invalid hex string Failed to convert passwd from hex, using passwd instead keymaster module name is Keymaster QTI HAL keymaster version is 256 Found keymaster1 module, using keymaster1 API. Signing safely-padded object Using scrypt with keymaster for cryptfs KDF Invalid hex string Failed to convert passwd from hex, using passwd instead keymaster module name is Keymaster QTI HAL keymaster version is 256 Found keymaster1 module, using keymaster1 API. Signing safely-padded object crypt_ftr->fs_size = 50322351 Using scrypt with keymaster for cryptfs KDF keymaster module name is Keymaster QTI HAL keymaster version is 256 Found keymaster1 module, using keymaster1 API. Signing safely-padded object Using scrypt with keymaster for cryptfs KDF keymaster module name is Keymaster QTI HAL keymaster version is 256 Found keymaster1 module, using keymaster1 API. Signing safely-padded object load_crypto_mapping_table: target_type = req-crypt load_crypto_mapping_table: real_blk_name = /dev/block/mmcblk0p49, extra_params = fde_enabled ice Password matches Data successfully decrypted, new block device: '/dev/block/dm-0' I:mount -o bind '/data/media' '/sdcard' process ended with RC=0 I:Backup folder set to '/data/media/0/TWRP/BACKUPS/33ced85e0504' Updating partition details... I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0 I:Data backup size is 2189MB, free: 21824MB. I:Unable to mount '/sdcard1' I:Actual block device: '', current file system: 'auto' I:Unable to mount '/usb-otg' I:Actual block device: '', current file system: 'auto' ...done I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0 /data | /dev/block/dm-0 | Size: 24059MB Used: 2189MB Free: 21824MB Backup Size: 2189MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Is_Encrypted Is_Decrypted 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/mmcblk0p49 Decrypted_Block_Device: /dev/block/dm-0 Length: -16384 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: 65537

I:Unmounting main partitions... Successfully decrypted with default password. 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 2189MB, free: 21824MB. I:Unable to mount '/sdcard1' I:Actual block device: '', current file system: 'auto' I:Unable to mount '/usb-otg' I:Actual block device: '', current file system: 'auto' ...done I:Unmounting main partitions...

Partition Logs: /system | /dev/block/mmcblk0p24 | Size: 2929MB Used: 2630MB Free: 299MB Backup Size: 2630MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Mount_Read_Only Primary_Block_Device: /dev/block/mmcblk0p24 Display_Name: System Storage_Name: System Backup_Path: /system Backup_Name: system Backup_Display_Name: System Storage_Path: /system Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

/data | /dev/block/dm-0 | Size: 24059MB Used: 2189MB Free: 21824MB Backup Size: 2189MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Is_Encrypted Is_Decrypted 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/mmcblk0p49 Decrypted_Block_Device: /dev/block/dm-0 Length: -16384 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: 65537

/cache | /dev/block/mmcblk0p25 | Size: 247MB Used: 1MB Free: 246MB Backup Size: 1MB 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/mmcblk0p25 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

/cust | /dev/block/mmcblk0p48 | Size: 805MB Used: 575MB Free: 230MB Backup Size: 575MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent Primary_Block_Device: /dev/block/mmcblk0p48 Display_Name: Cust Storage_Name: Cust Backup_Path: /cust Backup_Name: cust Backup_Display_Name: Cust Storage_Path: /cust Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

/recovery | /dev/block/mmcblk0p22 | Size: 64MB Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img Primary_Block_Device: /dev/block/mmcblk0p22 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

/boot | /dev/block/mmcblk0p21 | Size: 64MB Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img Primary_Block_Device: /dev/block/mmcblk0p21 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

/misc | /dev/block/mmcblk0p27 | Size: 1MB Flags: IsPresent Primary_Block_Device: /dev/block/mmcblk0p27 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

/efs1 | /dev/block/mmcblk0p13 | Size: 1MB Flags: Can_Be_Backed_Up Has_SubPartition IsPresent Primary_Block_Device: /dev/block/mmcblk0p13 Display_Name: EFS Storage_Name: EFS Backup_Path: /efs1 Backup_Name: efs1 Backup_Display_Name: EFS Storage_Path: /efs1 Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/efs2 | /dev/block/mmcblk0p14 | Size: 1MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /efs1 Primary_Block_Device: /dev/block/mmcblk0p14 Display_Name: efs2 Storage_Name: efs2 Backup_Path: /efs2 Backup_Name: efs2 Backup_Display_Name: efs2 Storage_Path: /efs2 Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/firmware | /dev/block/mmcblk0p1 | Size: 83MB Used: 74MB Free: 9MB Backup Size: 74MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Has_SubPartition IsPresent Mount_To_Decrypt Primary_Block_Device: /dev/block/mmcblk0p1 Display_Name: Firmware Storage_Name: Firmware Backup_Path: /firmware Backup_Name: firmware Backup_Display_Name: Firmware Storage_Path: /firmware Current_File_System: vfat Fstab_File_System: vfat Backup_Method: files

/persist | /dev/block/mmcblk0p26 | Size: 27MB Used: 0MB Free: 26MB Backup Size: 0MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent Primary_Block_Device: /dev/block/mmcblk0p26 Display_Name: Persist Storage_Name: Persist Backup_Path: /persist Backup_Name: persist Backup_Display_Name: Persist Storage_Path: /persist Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

/sdcard1 | | 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 Display_Name: MicroSD Storage_Name: MicroSD Backup_Path: /sdcard1 Backup_Name: sdcard1 Backup_Display_Name: MicroSD Storage_Path: /sdcard1 Current_File_System: auto Fstab_File_System: auto Backup_Method: files MTP_Storage_ID: 65538

/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 Display_Name: USB Storage Storage_Name: USB Storage Backup_Path: /usb-otg Backup_Name: usb-otg Backup_Display_Name: USB Storage Storage_Path: /usb-otg Current_File_System: auto Fstab_File_System: auto Backup_Method: files MTP_Storage_ID: 65539

/aboot | /dev/block/mmcblk0p19 | Size: 1MB Flags: Can_Be_Backed_Up Has_SubPartition IsPresent Primary_Block_Device: /dev/block/mmcblk0p19 Display_Name: Bootloader Storage_Name: Bootloader Backup_Path: /aboot Backup_Name: aboot Backup_Display_Name: Bootloader Storage_Path: /aboot Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/cmnlib | /dev/block/mmcblk0p39 | Size: 0MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /aboot Primary_Block_Device: /dev/block/mmcblk0p39 Display_Name: cmnlib Storage_Name: cmnlib Backup_Path: /cmnlib Backup_Name: cmnlib Backup_Display_Name: cmnlib Storage_Path: /cmnlib Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/tz | /dev/block/mmcblk0p8 | Size: 2MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /aboot Primary_Block_Device: /dev/block/mmcblk0p8 Display_Name: tz Storage_Name: tz Backup_Path: /tz Backup_Name: tz Backup_Display_Name: tz Storage_Path: /tz Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/rpm | /dev/block/mmcblk0p6 | Size: 0MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /aboot Primary_Block_Device: /dev/block/mmcblk0p6 Display_Name: rpm Storage_Name: rpm Backup_Path: /rpm Backup_Name: rpm Backup_Display_Name: rpm Storage_Path: /rpm Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/keymaster | /dev/block/mmcblk0p43 | Size: 0MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /aboot Primary_Block_Device: /dev/block/mmcblk0p43 Display_Name: keymaster Storage_Name: keymaster Backup_Path: /keymaster Backup_Name: keymaster Backup_Display_Name: keymaster Storage_Path: /keymaster Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/devcfg | /dev/block/mmcblk0p10 | Size: 0MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /aboot Primary_Block_Device: /dev/block/mmcblk0p10 Display_Name: devcfg Storage_Name: devcfg Backup_Path: /devcfg Backup_Name: devcfg Backup_Display_Name: devcfg Storage_Path: /devcfg Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/dsp | /dev/block/mmcblk0p12 | Size: 16MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /firmware Primary_Block_Device: /dev/block/mmcblk0p12 Display_Name: dsp Storage_Name: dsp Backup_Path: /dsp Backup_Name: dsp Backup_Display_Name: dsp Storage_Path: /dsp Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/efs1 | /dev/block/mmcblk0p13 | Size: 1MB Flags: Can_Be_Backed_Up IsPresent Primary_Block_Device: /dev/block/mmcblk0p13 Display_Name: EFS Storage_Name: EFS Backup_Path: /efs1 Backup_Name: efs1 Backup_Display_Name: EFS Storage_Path: /efs1 Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/efs2 | /dev/block/mmcblk0p14 | Size: 1MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /efs1 Primary_Block_Device: /dev/block/mmcblk0p14 Display_Name: efs2 Storage_Name: efs2 Backup_Path: /efs2 Backup_Name: efs2 Backup_Display_Name: efs2 Storage_Path: /efs2 Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/efsg | /dev/block/mmcblk0p16 | Size: 1MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /efs1 Primary_Block_Device: /dev/block/mmcblk0p16 Display_Name: efsg Storage_Name: efsg Backup_Path: /efsg Backup_Name: efsg Backup_Display_Name: efsg Storage_Path: /efsg Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/efsc | /dev/block/mmcblk0p2 | Size: 0MB Flags: Can_Be_Backed_Up Is_SubPartition IsPresent SubPartition_Of: /efs1 Primary_Block_Device: /dev/block/mmcblk0p2 Display_Name: efsc Storage_Name: efsc Backup_Path: /efsc Backup_Name: efsc Backup_Display_Name: efsc Storage_Path: /efsc Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

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_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/33ced85e0504' 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 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 installsu 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) SELinux contexts loaded from /file_contexts Full SELinux support is present. Startup Commands: ro.com.google.clientidbase=android-google ro.com.android.dataroaming=true ro.com.android.wifi-watchlist=GoogleGuest ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html ro.boot.emmc=true ro.boot.console=ttyHSL0 ro.boot.selinux=permissive ro.boot.baseband=msm ro.boot.hardware=qcom ro.boot.serialno=33ced85e0504 ro.boot.keymaster=1 ro.boot.bootdevice=7824900.sdhci ro.boot.secureboot=1 ro.boot.veritymode=enforcing ro.boot.boot_reason= ro.boot.verifiedbootstate=orange ro.omni.device=mido ro.omni.version=6.0.1-20171130-mido-HOMEMADE ro.twrp.boot=1 ro.twrp.version=3.2.0-0 ro.wifi.channels= ro.allow.mock.location=1 ro.board.platform=msm8953 ro.build.id=MOB30M ro.build.date=Thu Nov 30 17:23:30 UTC 2017 ro.build.date.utc=0 ro.build.host=0fd045ccc84f ro.build.tags=test-keys ro.build.type=eng ro.build.user=jenkins ro.build.flavor=omni_mido-eng ro.build.display.id=omni_mido-eng 6.0.1 MOB30M 3 test-keys ro.build.product=mido ro.build.version.sdk=23 ro.build.version.base_os= ro.build.version.release=6.0.1 ro.build.version.codename=REL ro.build.version.incremental=3 ro.build.version.preview_sdk=0 ro.build.version.all_codenames=REL ro.build.version.security_patch=2016-06-01 ro.build.description=omni_mido-eng 6.0.1 MOB30M 3 test-keys ro.build.fingerprint=Xiaomi/omni_mido/mido:6.0.1/MOB30M/3:eng/test-keys ro.build.characteristics=default ro.config.ringtone=Ring_Synth_04.ogg ro.config.alarm_alert=Argon.ogg ro.config.notification_sound=pixiedust.ogg ro.crypto.state=encrypted ro.crypto.fs_crypto_blkdev=/dev/block/dm-0 ro.dalvik.vm.native.bridge=0 ro.kernel.android.checkjni=1 ro.secure=0 ro.zygote=zygote32 ro.carrier=unknown ro.product.cpu.abi=arm64-v8a ro.product.cpu.abilist=armeabi-v7a,armeabi ro.product.cpu.abilist32=armeabi-v7a,armeabi ro.product.cpu.abilist64= ro.product.name=omni_mido ro.product.board=MSM8953 ro.product.brand=Xiaomi ro.product.model=Redmi Note 4 ro.product.device=mido ro.product.locale=en-US ro.product.manufacturer=Xiaomi ro.baseband=msm ro.bootmode=unknown ro.hardware=qcom ro.revision=0 ro.serialno=33ced85e0504 ro.bootimage.build.date=Thu Nov 30 17:26:27 UTC 2017 ro.bootimage.build.date.utc=1512062787 ro.bootimage.build.fingerprint=Xiaomi/omni_mido/mido:6.0.1/MOB30M/3:eng/test-keys ro.bootloader=unknown ro.debuggable=1 ro.modversion=OmniROM-6.0.1-20171130-mido-HOMEMADE ro.recovery_id=0x35e362f85fe492e10d920f6e3cffe3e78b6ddcbb000000000000000000000000 ro.setupwizard.enterprise_mode=1 net.bt.name=Android net.change=net.bt.name sys.usb.ffs.ready=1 sys.usb.state=adb sys.usb.config=adb sys.keymaster.loaded=true sys.listeners.registered=true init.svc.adbd=stopping init.svc.ueventd=running init.svc.recovery=running init.svc.sbinqseecomd=running init.svc.set_permissive=stopped twrp.crash_counter=0 twrp.action_complete=0 debug.atrace.tags.enableflags=0 dalvik.vm.isa.arm.variant=cortex-a53 dalvik.vm.isa.arm.features=default dalvik.vm.isa.arm64.variant=generic dalvik.vm.isa.arm64.features=default dalvik.vm.usejit=true dalvik.vm.lockprof.threshold=500 dalvik.vm.dex2oat-Xms=64m dalvik.vm.dex2oat-Xmx=512m dalvik.vm.dex2oat-filter=verify-at-runtime dalvik.vm.stack-trace-file=/data/anr/traces.txt dalvik.vm.image-dex2oat-Xms=64m dalvik.vm.image-dex2oat-Xmx=64m dalvik.vm.image-dex2oat-filter=verify-at-runtime persist.sys.usb.config=adb persist.sys.dalvik.vm.lib.2=libart persist.sys.root_access=1 service.adb.root=1 keyguard.no_require_sim=true

I:Copying file /cache/recovery/log to /cache/recovery/last_log 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:Attempt to load settings from settings file... I:InfoManager file '/data/media/0/TWRP/.twrps' not found. I:Backup folder set to '/data/media/0/TWRP/BACKUPS/33ced85e0504' I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab I:Version number saved to '/cache/recovery/.version' I:Unable to mount '/sdcard1' I:Actual block device: '', current file system: 'auto' I:Unable to mount '/usb-otg' I:Actual block device: '', current file system: 'auto' 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/33ced85e0504' I:TWFunc::Fixup_Time: Pre-fix date and time: 1970-01-23--17-04-28 I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch I:TWFunc::Fixup_Time: will attempt to use the ats files now. I:TWFunc::Fixup_Time: Setting time offset from file /data/time/ats_2, offset 18446744073709551613 I:TWFunc::Fixup_Time: Date and time corrected: 1970-01-23--17-04-28 I:Starting MTP I:[MTP] Starting MTP I:sending message to add 65537 '/data/media/0' 'Internal Storage' I:Message sent, add storage ID: 65537 '/data/media/0' MTP Enabled I:Switching packages (TWRP) I:Set page: 'system_readonly' I:[MTP] created new mtpserver object I:[MTP] MtpServer::run fd: 18 I:[MTP] mtppipe add storage 65537 '/data/media/0' I:[MTP] MtpStorage id: 65537 path: /data/media/0

lwzheng12138 commented 6 years ago

We have the same problem.Can you check your LCD?If it is qcom,mdss_dsi_r63350_ebbg_fhd_video.Our problems are the same.

jevonsdu commented 6 years ago

yes, same display, i.e ebbg ,seems twrp and lineageos do not support this display in note4x so far .

you bought the phone from China market in nov2017, right ?

lwzheng12138 commented 6 years ago

NO.I bought it only 7 days ago.If you are Chinese , we can talk on QQ or WeChat.Also we cat talk on telegram or whatsapp

jevonsdu commented 6 years ago

a guy is helping to fix this issue …

see my post on xda https://forum.xda-developers.com/redmi-note-4/help/strange-problem-black-screen-redmi-note-t3716706

lwzheng12138 commented 6 years ago

I see.I will try it.Thank you so much.

lwzheng12138 commented 6 years ago

https://pan.baidu.com/s/1c1Mi4ik You can try this.I can use it.

jevonsdu commented 6 years ago

Thanks! may I know where you get this recovery image from? is it TWRP official version?

lwzheng12138 commented 6 years ago

I got it from a software called 奇兔刷机.I think you know it

lwzheng12138 commented 6 years ago

You can put it on xda and send it to that russian

lwzheng12138 commented 6 years ago

https://review.lineageos.org/#/c/200464/2/proprietary-files.txt hey look at here they added our display! 780th line

jevonsdu commented 6 years ago

Thanks for your info...

Seems the updated code is still under review... don't know when it can be included in the released lineageos code.....

hope lineageos can fix this issue asap.... i am still waiting for it... :(

jevonsdu commented 6 years ago

this problem has been fixed in an unofficial TWRP build on XDA, see below thread :

https://forum.xda-developers.com/redmi-note-4/help/strange-problem-black-screen-redmi-note-t3716706/page10

lwzheng12138 commented 6 years ago

I have a kernel, so I can use every rom .If you want,please join this qq group 欢迎加入红米note4x搞机群,群号码:622091373.