Edit: looks like the problem was not related to the /data partition.
Data partition unreadable was caused by QUOTA feature of ext4 which seems to be used in Android 9 Pie. I solved the problem by DD zeros into the partition, then formatting it manually to ext2, afterwards formatting to ext4 using TWRP. TWRP still does not show a screen. I installed PBRP again through fastboot. Everything fine now
But still: wiping or formatting DATA should *NOT* depend on TWRP able to mount it.
original post:
Hi
TWRP does not show a screen, only vertical bars.
Phone: Redmi 4A (rolex)
OS: PixelExperience 9
TWRP: 3.3.1
I had PBRP installed, but this messed up the data partition somehow and is not able to wipe or format the /data partition.
Since the PBRP logs are rather messed up (all the time trying to mount data) I went back to TWRP.
But TWRP shows only vertical bars.
I installed TWRP twice, once from PBRP through install image, then via fastboot as shown in this thread.
System still boots fine, /data is not encrypted.
any idea?
BTW: TWRP version shown in first post is outdated.
thanks
I attached to ADB and fetched /tmp/recovery.log:
Code:
ro.baseband=msm
ro.bootmode=recovery
ro.hardware=qcom
ro.revision=0
ro.serialno=67c1c2b47d24
ro.bootimage.build.date=Tue May 21 05:16:42 UTC 2019
ro.bootimage.build.date.utc=1558415802
ro.bootimage.build.fingerprint=Xiaomi/omni_rolex/rolex:7.1.2/NJH47F/10:eng/test-keys
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=OmniROM-7.1.2-20190521-rolex-HOMEMADE
ro.setupwizard.enterprise_mode=1
init.svc.adbd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.set_permissive=stopped
twrp.crash_counter=0
twrp.action_complete=0
keyguard.no_require_sim=true
service.adb.root=1
debug.atrace.tags.enableflags=0
sys.usb.ffs.ready=1
net.bt.name=Android
net.change=net.bt.name
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib.2=libart.so
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
tw_get_context failed to get selinux context
I:Failed to get default contexts and file mode for storage files.
I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p49', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p49', current file system: 'ext4'
Unable to mount /data/media/TWRP/.twrps
I:Attempt to load settings from settings file...
I:InfoManager file '/data/media/TWRP/.twrps' not found.
I:Backup folder set to '/data/media/TWRP/BACKUPS/67c1c2b47d24'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p49', current file system: 'ext4'
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/TWRP/BACKUPS/67c1c2b47d24'
I:Check_Lifetime_Writes result: '42669'
I:Switching packages (TWRP)
I:Starting Adb Backup FIFO
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0