yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
touch screen not working yet... but I can see a mouse arrow in the center of the screen....

on the other hand, I found I cannot dump the dmesg log from the phone, it says my device 'unauthorized'.... very strange... but I can connect my phone to my pc via adb shell if I boot into MIUI....
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
may I know what's your display model? is it r63350 IC + ebbg display?
[Xiaomi Redmi Note 4 Questions & Answers] Tomekb530:
Its r63350_ebbg

Wysłane z mojego Redmi Note 4X przy użyciu Tapatalka
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
oh my god, why the recovery not working on my phone … it is r63350_ebbg as well
[Xiaomi Redmi Note 4 Questions & Answers] Tomekb530:
I have sent my phone to repair lcd (broke) they only changed lcd my touch sensor is the same (i had tianma display) maybe this is the answer
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
i see . thanks!
[Xiaomi Redmi Note 4 Questions & Answers] vude95:
I have a recovery working with LCD r63350_ebbg

Link here:

"https://drive.google.com/file/d/1nITGJwRml0Wokq1_61wb3TuipaWrVOqv/view?usp=drivesdk"
[Xiaomi Redmi Note 4 Questions & Answers] DarthJabba9:
Which version of TWRP is it based on?
[Xiaomi Redmi Note 4 Questions & Answers] vude95:
I have TWRP ver 3.1.1-0.
[Xiaomi Redmi Note 4 Questions & Answers] jaytrixlopez:
I have the same issue too and I tried it so many times , Thanks for this TWRP sir , it realy works for me!

---------- Post added at 10:13 AM ---------- Previous post was at 10:07 AM ----------

I have the same problem with my RN4x , but thank you for this TWRP sir , it realy works for me.. thank you
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Do you have a link for the twrp your saying seems the link above is not clickable at least for me
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
New account, can't put in links directly, so instead -

google drive

/file/d/1nITGJwRml0Wokq1_61wb3TuipaWrVOqv/view

This should work. Credit to vude95, #75 in this thread.

Again, bearing in mind that flashing some ROMs (eg LOS mido) does not work - the touchscreen is not functioning. Referred to many times in this thread.
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
But it's still not clickable. I hope ROM devs address this problem so that we can flash custom rom
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
It's working fine on my Note 4x, which I checked has exact same specs as OP of this thread. But yeah, I agree - hopefully the new touchscreen drivers are patched in soon (maybe other ROMs work? I'm focused only on lineage, so not sure at all about the others).
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
hope lineageos can resolve this issue asap... i have raised a bug report in lineageos Jira website in Dec 2017, it is still in open status ……?
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Touchscreen in recovery works right? If it is, can we flash magisk to have root?
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
Yes, touchscreen works. Not sure if flashing magisk will give root (don't see why not).
[Xiaomi Redmi Note 4 Questions & Answers] highwaystar_ru:
Please try this test recovery twrp-mido-r63350-v15.img. It based on lineage mido kernel with integrated code for newer displays and goodix touchscreen. Please post dmesg.
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
thanks!will test it and post the dmesg log shortly.

if it works, does it mean current lineageos mido (latest nightly build ver 14.1 on 18jan ) support this newer display?
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
The touch screen works well! however I found another issue:

if I press the Power key to turn off the screen, and then press the Power key again, the screen cannot be lighted on, it is black......
[Xiaomi Redmi Note 4 Questions & Answers] highwaystar_ru:
Please try if screen wakeup fixed in new build: twrp-mido-r63350-v16.img
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
tested, screen wakeup issue is still there
[Xiaomi Redmi Note 4 Questions & Answers] highwaystar_ru:
Please try one more twrp-mido-r63350-v17.img wakeup issue should be fixed now.
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
I can confirm its working 100% on my phone which has a replaced LCD , thanks
[Xiaomi Redmi Note 4 Questions & Answers] highwaystar_ru:
Please try this lineage build, if everything ok this kernel goes to official weekly builds. check if keydisabler and dt2w works.
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
Tested the ROM and everything is working save for dt2w which is missing in the settings so I didn't test it.
[Xiaomi Redmi Note 4 Questions & Answers] abhishek987:
do you have ebbg panel and goodix touch?
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
I replaced my LCD with an ebbg panel but im not sure if my touch is fpc or goodix, but have attached a terminal output the following lines

[sys.fp.goodix] : [0]

[sys.fp.vendor]: [searchf]
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
Also confirm TWRP and ROM is working (though the ROM double tap to wake does not work - found under Display settings), and I am running ebbg + goodix firsthand phone, never replaced the screen.

Found in Display settings as "Tap to wake".
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Is the wakeup issue fixed?
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
The wakeup issue? Not sure what you mean by that.

So far, the only problems I have encountered (only been dabbling for about an hour) are that the hardware button for the app switcher simply does not work. I circumvented this through installing GravityBox, and now it is working OK.
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Take a look, this is what I meant

---------- Post added at 01:14 AM ---------- Previous post was at 01:03 AM ----------

Can you upload this file in Google Drive? cuz I can't download it from Chrome
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
Yup, that's all fixed.
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
You can copy the link and use ADM downloader or uc browser.

---------- Post added at 03:06 AM ---------- Previous post was at 02:55 AM ----------

I have used it to restored an Oreo backup of cardinal 5.3.1 running velvet kernel which I had made using redwolf recovery and everything seems OK other than dt2w.
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Do you have ebbg panel?
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
Sure mine has ebbg
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
How cardinal works then, I thought touchscreen doesn't work
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
I can confirm it's working using velvet kernel, tried Crdroid Oreo and it didn't work.
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Do you have a link for cardinal with velvet kernel? I really want to try that rom
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
For the ROM check the development section, use this link for velvet kernel.

https://drive.google.com/uc?id=15LVmBmLfaEVPrnYvVpQ32-2hdek2KsTf
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
The link for the velvet is not clickable at least for me
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
Just long click and copy the link then paste in a browser.
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
I already flashed the cardinal ROM but I'm getting error 7 maybe because of the v17 is based on 3.1.1-0 and that's an outdated twrp. Do you use the v17 for ebbg to restore yours? cuz that's what I'm using but I'm getting error 7
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
Confirm it works well now! the screen wake up issue is fixed too.... Thanks!
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
Confirmed the touch screen works well in this lineage build!!!

dt2w works well in this lineage build too!!!

for the keydisabler, sorry that I do not know what is it & how to test it... could you elaborate more? Thanks!
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
I am not sure whether the keydisabler is referring to 'settings' -> buttons -> Enable on screen nav bar

I tested the 'enable on screen nav bar' function, it works well!
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
[MENTION=7658957]JevonsDU[/MENTION]

Is your dt2w consistent? As mine isn't, at the very least. Keydisabler works too for me, and can use gravitybox to disable the hardware buttons if needed.
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
yes, it is consistent, not found any issue so far
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
i found another issue, not sure whether it is related to the display:

the 'recent button' not working as expected, i.e. phone cannot show recent apps after tapping this button. not responsive. i tried to change the setting of this button in 'setting ->buttons->recent button ', e.g, turn off screen, but not work neither .

however, if go back to the home screen, and tap the 'recent button ', the home screen setup ui will show up , like long press on the home screen

i also tested the 'on screen nav bar', the virtual recent button works well
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
I fixed it by installing gravity box, double tap on the recent button to switch recent apps works too
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
i didn't install gravity box , in the buttons setting, i setup double tap on Home button to switch recent apps,it works well
[Xiaomi Redmi Note 4 Questions & Answers] raimerik:
Thanks [MENTION=7737930]highwaystar_ru[/MENTION] and [MENTION=7658957]JevonsDU[/MENTION]! You guys are life-savers! I just got back my repaired phone and stumbled into the same problems because of the replaced screen!

I was going crazy (before finding your thread) after hours and hours trying to install TWRP and Lineage which had worked fine on the very phone before the screen replacement...

However - I have the slight problem that after installing the official Lineage 18.1.25 with the v17-TWRP I have the trouble of the screen not waking up.

And I can't install the lineage-14.1-20180126-UNOFFICIAL-mido.zip on top of the official 18.1.25...

TWRP stops the installation with 'Can't install this package on top of incompatible data.' + 'ERROR: 7'

Any tips?

Cheers! raimerik
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
you need to wipe system, data , and cache partition in twrp, before flashing the 20180126-UNOFFICIAL build , refer to below procedures

https://wiki.lineageos.org/devices/mido/install

BACK UP YOUR DATA BEFORE WIPE
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
I wonder if, being on this build, nightly flashes will be different? Or can we just flash over LOS each time still through TWRP?
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
Just found that dt2w works whether it is disabled or not in settings.
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
see below message from los official faq

<quote>

You are attempting to migrate from an unofficial build to official LineageOS.*A full data wipe is needed if you are coming from something other than an official build of LineageOS.

<end of quote>

btw, twrp is required for los update
[Xiaomi Redmi Note 4 Questions & Answers] raimerik:
Cheers for the clarification. I had hoped that the official and unofficial versions would be more compatible than that...

Hi [MENTION=7737930]highwaystar_ru[/MENTION] - how likely is it that your compatibility improvements will find their way into the next official nightly (1Feb18)?

Cheers! raimerik
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
i know that the touch screen fix has been merged into next official build and then going forward, no such compatibility issue.
[Xiaomi Redmi Note 4 Questions & Answers] raimerik:
Cheers! But what about the screen wakeup issue (phone won't turn screen back on once it has turned off)?

That's the issue keeping me from using my phone... (Screen turns off when a phone call comes in - afterwards you have to restart your phone...).

The touchscreen itself works fine in the official 25Jan18 nightly, already...

raimerik

PS: BTW there is another touchscreen problem within the official 25Jan18-LOS: during a call the screen turns black, but the touchscreen still reacts to touches (which is annoying during phone calls)... How I found out? Phone started to vibrate and turned on the flashlight while I held it to my ear! ;)
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
no screen wakeup issue in the unofficial build 26jan on my redmi note4x. anyway, lets wait for next official build to see whether it is ok
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
Yup - so just confirming, we can't actually restore data or anything from the current unofficial build? It's been a long time since I've merged from an unofficial LOS.
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
sorry that i cannot confirm you, i am only a los user as well .

maybe you can create a new thread on this problem, see any los developer or expert can help you
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Latest unofficial build fixes it tho, it works right away, now I don't have to install gravity box just for that cuz I don't really use gravity box lol
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
could you share with me the link of the latest unofficial build you mentioned ?
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Go to redmi note 4 forums and look for lineage 14.1 7.1.2 weekly, the op is abhishek987. There, you can find the link for the latest unofficial build
[Xiaomi Redmi Note 4 Questions & Answers] sparklingspanky:
I have an ebbg device and got a blackscreen after flashing unofficial los 29.01.18. All turned black and stayed black: twrp, fastboot, and los itself that actually booted but was not visible due to blackscreen.

Hope someone can see what i did wrong:

Unlocked phone

Fastboot installed ebbg twrp v17

Booted twrp without a problem

Wiped cache, dalvic cache, data, internal data, system

Installed firmware from official los thread, unofficial los zip, gapps nano, magisk, xposed (in this order)

Rebooted

Black screen now in any mode

Only stock rom reflash could restore it.

Any help appreciated
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Can you make twrp for this ebbg panel that is based on 3.2.1?

---------- Post added at 12:54 AM ---------- Previous post was at 12:53 AM ----------

Do you flash all of that in one go?
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
to narrow down the problem, suggest you flash los first, to see whether it is ok.

not flash so many packages in one go
[Xiaomi Redmi Note 4 Questions & Answers] sparklingspanky:
Yes, all in one go.

Tried again:

fastboot flashed recovery v17.

booted into twrp succesfully.

booted into twrp succesfully the second time to make sure.

Wiped both cache, system and data

Flashed firmware and unofficial LOS 29.01

reboot to recovery -> blackscreen in all states

will try again without flashing firmware.

and if that doesnt work try an older unofficial LOS.

Am I really doing it right?

This is the phone btw:

[IMG="specs"]https://image.ibb.co/bRMbKR/Screenshot_2018_01_31_03_17_05_636_com_huaqin_factory2.png[/IMG]
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
what firmware ? i don't know why you need flash firmware.

boot into twrp, then flash los ,that's it

please read the installation guide on los official site

https://wiki.lineageos.org/devices/mido/install
[Xiaomi Redmi Note 4 Questions & Answers] sparklingspanky:
The firmware from the official LOS thread. Got fooled by the red important sign lol.

Flashed LOS again without the firmware and it worked finally! Thanks for all the help.

Guess that firmware is not compatible with our ebbg mido?
[Xiaomi Redmi Note 4 Questions & Answers] coldplug:
Thats probably old firmware. Theres newer firmware in the firmware thread. Always flash firmware from that thread to get the latest one.
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
may i know what is this firmware for? if it is so important, why it is not mentioned in official los installation guide?

thanks!
[Xiaomi Redmi Note 4 Questions & Answers] coldplug:
Its for low level drivers.. modem, baseband etc. Should have if already if flash full miui rom via miflash but its extracted from the full miui rom to make flashing easier via twrp.
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
got it . thanks for your clarification
[Xiaomi Redmi Note 4 Questions & Answers] raimerik:
Hooray - there was no Lineage update yesterday until ~22h and I was becoming disappointed - but then they put it online (180201) and it fixes the 'phone won't turn screen back on once it went black'-issue! :)

I can't say anything concerning the touchscreen issue with Lineage, because I have the weird combination of Tianma(Biel)-Touchpanel but repaired EBBG-display.

However, what I can say is, that the Double-Tap-To-Wake-feature does NOT work in my setup although it is turned on... :(

Cheers, raimerik
[Xiaomi Redmi Note 4 Questions & Answers] Tomekb530:
I had tianma display and touchscreen but my screen broke and i got ebbg display, now i am using ressurection remix (official) with electrablue kernel that has drivers (the newest versions have drivers)

Wysłane z mojego Redmi Note 4 przy użyciu Tapatalka
[Xiaomi Redmi Note 4 Questions & Answers] hcnulma:
Can anyone confirm whether 2nd february official build fixed ebbg touchscreen? As I don't see it explicitly in changes.
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
confirmed the touch screen related functions works well!

including :

- touch screen is responsive (not work in last official build)

- dt2k works and can disable /enable in settings

- screen wakeup works (by double tap/power key/fingerprint )

- recent apps button works well

thanks los team!
[Xiaomi Redmi Note 4 Questions & Answers] uaevuon:
What version are you using now?

Ressurection Remix 7.1.2?
[Xiaomi Redmi Note 4 Questions & Answers] highwaystar_ru:
updated twrp 3.2.1 (able to install oreo roms) with new displays and goodix touch screen code twrp-3.2.1-ebbg.img.
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Thanks for this I will try to flash some Oreo Roms see if touchscreen works, might take some time tho, downloading Roms with my WiFi is a pain in the a**
[Xiaomi Redmi Note 4 Questions & Answers] JevonsDU:
thanks,bro.

any chance to put this update to the official twrp build ?

i mean this one :https://dl.twrp.me/mido/

so that more people can get this update. thanks !
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
the latest official redwolf recovery has also been updated with the new display drivers, i can report its working fine.
[Xiaomi Redmi Note 4 Questions & Answers] jaka45:
#need help

After found this thread i try to flash twrp 3.1.1.1ebbg from gdrive link,,everything works well i go to back up my roms and go to instal new roms that multirom 8.2.3.0 after that i back to reboot my device but blackscreen again..worst my fastboot are black screen to..so what must i do now..are i can restore my backup before from other?
[Xiaomi Redmi Note 4 Questions & Answers] jaka45:
Update..done with flash nougat roms,with mi flash..seems its won't downgrade to marsmallow
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
But still there's no Oreo Rom that is compatible for ebbg displays yet...I try Cardinal, it boots up to system but no response to touchscreen
[Xiaomi Redmi Note 4 Questions & Answers] stanstevo:
But surely you just need to improvise to boot oreo on ebbg.
[Xiaomi Redmi Note 4 Questions & Answers] raimerik:
From what I read in the Xiaomi forum, the blackscreen is the result of not even Xiaomi supporting the EBBG-display in their own MIUI8-ROM...

If it weren't Xiaomi it would be an incredible epic fail - because it's Xiaomi it's just their normal ignorance and incompetence of getting rid of bugs...

Introducing a new display in a 1-year-old device and not supporting it in their own ROM (before MIUI9)?

Nauseating... :eek:

:\ raimerik
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Unofficial Los 15.1 just released and it got full treble support. They rebased the kernel to support new displays, hope it'll work. Just check Abhishek's post for the instructions and links
[Xiaomi Redmi Note 4 Questions & Answers] jaka45:
Yess i think so,,after i upgrade to nougat its back to normal..but when i go flash custom roms based miui nougat its go with blackscreen again..so wheres custom rom based miui are compatible with this display..its really s**k.
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
Hi everyone!

I followed the thread when I encountered the black screen issue after flashing redwolf and official twrp several times. Got one of the two working twrp's I found here, I believe right now it's the twrp-mido-r63350-v17.img

Thing is, can't get a single rom with touchscreen working.

I have read the whole thread a bit quick and I know that issue has been reported and you guys seem to have official LOS 15.1 (or was it 14.1??) working but ... Why does this happen? Is it related to twrp? I can't understand how that can make any kind of sense...

If it's a rom issue, then it's all about finding a rom that's cooked with these display dirvers apart from the other lcd's ones?

I tried with Cardinal and Velvet as it was suggested somewhere and it didn't work.

Still have to try some other combinations of roms, firmwares and kernels but this really is very very annoying...

Thanks in advance!

UPDATE: well at least FrancoKernel makes it work :)
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
Newer manufactured rn4 have a different lcd panel compare to that old ones so developers need to update their kernel to work for this, I'm using Unofficial LineageOs 15.1 with treble support right now. I can't find any kernel that works for me at least right now but we'll see if devs adapt to project treble
[Xiaomi Redmi Note 4 Questions & Answers] IThinkALot:
https://xdaforums.com/android/help/ebbg-mido-solution-xiaomi-note-4x-t3755330/post75698812

Can someone confirm if this actually works? He says that that is a guide on how to install "any" custom rom on ebbg even if the rom doesn't support ebbg
[Xiaomi Redmi Note 4 Questions & Answers] tisil:
Hi, I come from the future and, if you still exist - Thanks, You Are My Hero! I have been losing my mind for about a week with this rooting process and I nearly wanted to kill myself about this black screen issue, but you saved the world!
[Xiaomi Redmi Note 4 Questions & Answers] haekalsatriawan:
touchscreen is not working

how about custom rom lineage os 15 mido??? touchscreen is not working
[Xiaomi Redmi Note 4 Questions & Answers] XiaomiRedUser:
Thanks a lot. When I thought I have lost all my stuff I found this
[Xiaomi Redmi Note 4 Questions & Answers] peregrine777:
Heads up for anyone that gets black screen instead of menu after installing TWRP (I installed twrp-3.2.1-0-mido.img).

I was following the install steps outlined here (though I skipped the unlock steps, bought it unlocked):

(I can't post links, but search reddit r/Xiaomi for lineageos redmi note 4x tutorial)

After the step where I installed TWRP recovery, I got black screen. This is a known issue described here:

(I cant post link, its issue 1107 on github Team-Win-Recovery-Project)

Device visible in adb devices and shows in recovery mode.

I can't use the TWRP menu, but via adb was able to run twrp command line to wipe partitions and install the lineageos 15.1 rom (mido) onto my Redmi Note 4x.

Now happily running LineageOS 15.1 Oreo on my Redmi Note 4X!

Reference for TWRP command line here:

(I can't post links, the site is twrp.me/faq/openrecoveryscript.html)
[Xiaomi Redmi Note 4 Questions & Answers] highwaystar_ru:
Can you post output of

adb shell dmesg

when in twrp with black screen?
[Xiaomi Redmi Note 4 Questions & Answers] XiaomiRedUser:
You only have to flash via fastboot a TWRP EBBG (because it has the drivers to makethe screen works). I read that it works by flashing Redwolf Recovery too.

I had this issue last week and I can make it by flashing twrp-ebbg