TeamWin / android_device_xiaomi_tissot

working twrp for Xiaomi Mi A1
19 stars 17 forks source link

Mi A1 black screen issue #5

Open micw opened 3 years ago

micw commented 3 years ago

Device codename: tissot TWRP version: twrp-3.5.2_9-0-tissot.img

WHAT STEPS WILL REPRODUCE THE PROBLEM?

I tried to run TWRP on my Mi A1. I unlocked the bootloader, upgraded to the latest stock image (fastboot version, overwriting all partitions to have a clean start). Then I booted to fastboot and ran twrp (fastboot boot twrp-3.5.2_9-0-tissot.img).

WHAT IS THE EXPECTED RESULT?

TWRP should boot up and be shown at screen.

WHAT HAPPENS INSTEAD?

TWRP booted up (I can access it with ADB) but screen remains black.

ADDITIONAL INFORMATION

/tmp/recovery.log: https://ghostbin.co/paste/d6xokz2 dmesg: https://ghostbin.co/paste/d6xokz2

niclimcy commented 3 years ago

Does the panel work with the stock recovery / stock ROM in the first place?

micw commented 3 years ago

Yes, without any issues (both, rom and recovery)

micw commented 3 years ago

Found this thread regarding a similar issue with custom rom kernels on non-original displays: https://forum.xda-developers.com/t/custom-roms-result-in-black-screen.4034279/

niclimcy commented 3 years ago

I find it an issue to have to add custom panel configurations to the kernel. I see this as a non-issue

niclimcy commented 3 years ago

If official LineageOS supports your panel, I am more than willing to update the kernel. Just let me know if it works on that ROM

picblog229 commented 3 years ago

So i had this exact same issue. It was booting to twrp but screen was just blank. i was trying to root the devive so i flashed the zip file by following command through adb

adb shell twrp install /sdcard/Magisk-v23.0.zip

it flashed the magisk and it was done. Similarly you can flash any zip file. If zip file is not copied to internal memory you can copy it using following command adb push Magisk-v23.0.zip /sdcard/

I hope it helps someone in need. Thanks.

micw commented 3 years ago

I almost forgot that I had this issue (I managed to install with black screen the same way via ADB) but had no use of the phone and but it into my drawer. I took it out a few days ago because my daugther needed a phone and started to flash from scratch using some online tutorial. They linked to the TWRP at https://github.com/Giovix92/twrp_device_xiaomi_tissot which I installed and which does not seem to have this issue at all.

LillyWho commented 2 years ago

Same thing for me on my replacement panel, on both 3.6 and 3.6.1. I at first thought it was another issue, because the Lineage recovery absolutely works with it.

mustofa-id commented 2 years ago

@picblog229

adb shell twrp ...

Didn't know that TWRP has great cli Thanks it really help!

faketucker commented 1 year ago

So i had this exact same issue. It was booting to twrp but screen was just blank. i was trying to root the devive so i flashed the zip file by following command through adb

adb shell twrp install /sdcard/Magisk-v23.0.zip

it flashed the magisk and it was done. Similarly you can flash any zip file. If zip file is not copied to internal memory you can copy it using following command adb push Magisk-v23.0.zip /sdcard/

I hope it helps someone in need. Thanks.

Man, you're the GOAT.

niclimcy commented 1 year ago

I'm trying to update the kernel with little success :(

zignas commented 1 year ago

I'm trying to update the kernel with little success :(

I faced about 2 years ago one thing: black screen issue appears only on FT8716 panel.

When Xiaomi devs update kernel sources from Android Nougcat capable to Pie they changed config overlay for that panels. And only "pie" version works properly, why "nougcat" one's doesn't - no one knows.

Pie dtsi

Nougat dtsi

Just compare mdss-dsi-on-command and mdss-dsi-off-command bit massive.

(In TWRP device tree repo prebuilt kernel got old "nougcat" config inside, that's why we still got that issue)

For 4.9.x kernel sources u can grab that commit, it solve that issue completely

I hope that info is might be helpful.

ali32768 commented 1 year ago

At last I found a way to run TWRP on tissot correctly without black screen. Just install oreo 3.2.1-2 on Mi A1 (tissot). This file (recovery-3.2.1-2-oreo.img) is working well.

Download it from this site: https://androidfilehost.com/?fid=818070582850498337

Reference: https://forum.xda-developers.com/t/official-recovery-tissot-twrp-3-2-1-2-oreo-touch-recovery-2018-03-06.3688472/

Download Android 13.00 unofficial ROM for Mi A1 and install it easily by TWRP oreo 3.2.1-2: https://sourceforge.net/projects/lafactorial-tissot/files/

Good luck, Sed

RudradevArya commented 1 year ago

I almost forgot that I had this issue (I managed to install with black screen the same way via ADB) but had no use of the phone and but it into my drawer. I took it out a few days ago because my daugther needed a phone and started to flash from scratch using some online tutorial. They linked to the TWRP at https://github.com/Giovix92/twrp_device_xiaomi_tissot which I installed and which does not seem to have this issue at all.

Can you please link to which youtube video did you follow for solving the black screen issue?