yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 Questions & Answers] speter2:
Hi there. This is my first Xiaomi phone (coming from Samsung), i've managed to get permission to unlock the bootloader; but i have a question: is it possible to install another rom, like oreo, and to install the original miui back, and get updates?

I've read that twrp will patch the rom, to support updates after unlocking the bootloader.

I am even thinking about using the official Miui rom, but with twrp and Magisk.

Please, if you can answer these questions, please do so; because this confuses me. Thanks!
[Xiaomi Redmi Note 4 Questions & Answers] saransh arya:
Hi eveyone.I bought a redmi note 4 snapdragon version(mido)on 8th October 2017 and applied for unlocking permission on 23th October 2017.I tried to unlock 3-4 times after getting unlock permissions but failed.After 1 week I just gave a random try and it got unlocked,I was really happy and flashed 2-3 Roms but ultimately went back to MIUI,I locked the bootloader at the same time.

Whenever a new ROM would come,I would unlock bootlader flash Rom use it for some days and then go back to MIUI,I really liked cardinal Aosp ROM and I'm currently on the same ROM.I locked and unlocked bootloader for about 20-25 times approximately.yesterday I decided to lock bootloader again and give up Roms for a while.

Today I was bored with MIUI a little bit so unlocked my phone's bootloader again installed twrp and flashed MIUI Global stable v 9.0.5 and lazy flasher zip file.but when it booted,it saw can't login to MIUI account even though I was connected to internet.I wiped internal storage at least 7 times installed Twrp flashed MIUI along with lazy flasher zip file but it still shows the same.

Please help me sir.I want my device back on MIUI

I'LL never again unlock and lock my bootloader unnecessarily.please help me I really don't know what to do.I had also flashed MIUI in morning in redwolf recovery but at that time it booted successfully but now it shows can't login to MIUI account. Please help me.I'm currently on cardinal Aosp Rom.
[Xiaomi Redmi Note 4 Questions & Answers] maxxx83:
Same problem...I think it's not related to unlocking bootloader.
[Xiaomi Redmi Note 4 Questions & Answers] jacross:
Just bought a 4X and it won't detect my sim. After searching for a solution I believe my phone also seems to have an issue where its IMEI isn't found.

Others seem to have this issue but its after flashing gone wrong whereas mine is fresh out of the box. Any advice on how to rectify this?
[Xiaomi Redmi Note 4 Questions & Answers] saransh arya:
It is a server related issue which is being addressed by xiaomi as of now, will be fixed in a week, till then happy flashing :P

Thanks man.I was scared as hell cause I went to the service centre and they asked me for 3600 rupees

Here's the explanation-

My screen has some crack at upper right corner of my screen.so they said that if they won't be able to solve problem then screen has to be replaced, since they would have to open the phone, which makes no sense to me (attest)

However I flashed epic rom in evening and logged in my mi account. Then I downloaded MIUI 8.2.2 and updated to through 2 OTAs of 1.3 GB each! Thanks anyway!
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
I know man, i am from india too lol. Always come to xda before you go to service centere lol.
[Xiaomi Redmi Note 4 Questions & Answers] desoooooo:
have a very noob question i have redmi note4 qualcom variant 64gb internal memory and 4 gb ram now the question is it comparible with all mido roms and can i install twrp recovery i mean same version as other mido
[Xiaomi Redmi Note 4 Questions & Answers] saransh arya:
Mido=Snapdragon variant. Go ahead our phone has over 100 Roms

P.S.- most of them are discontinued but you can imagine the amount of developer support!
[Xiaomi Redmi Note 4 Questions & Answers] desoooooo:
thanks bro i will unleash reflashing beast
[Xiaomi Redmi Note 4 Questions & Answers] speter2:
Thank you very much for the fast answer, my last question is: what about the xiaomi.eu rom? It says it is designed to be stock MIUI but for European users. Would you sugest using that? I've read that only with miui will this device have good battery life, is that true? Does the EU version of the rom have the same baterry life?
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
Yes the snapdragon version of redmi note 4 is code named "mido" which signifies the 2gb, 3gb and 4gb variant all at once, In short all the roms and kernels you see on the snapdragon forum are made to be used for the phone, irrespective of the internal storage or ram.
[Xiaomi Redmi Note 4 Questions & Answers] xiaomiHL-DE:
[/COLOR]

I think lineage will work perfectly for you! you should just replace the camera app with the one from pixel, there is a thread on xda on how to do that! Just wait for the lineage oreo and your good, at the momenat all the other oreos are still in development/beta state and if you want something stable, you should wait a while!
[Xiaomi Redmi Note 4 Questions & Answers] manu1493:
Hi.. I am using Redmi Note 4 Snapdragon version. I need to root the device and right now there is no pc/laptop available now. I heard the China Developer Rom comes prerooted. Can i Flash the China Dev Rom(mediatek) then install TWRP and then flash custom recovery?

Thanks in advance. Please help
[Xiaomi Redmi Note 4 Questions & Answers] naren12:
No. You are wrong. Your device is snapdragon variant and only if you want to brick your phone, you have to use the mediatek roms.
[Xiaomi Redmi Note 4 Questions & Answers] fantoms:
Hello,

how can I add "USB tethering" button in toggle menu (MIUI 9)?
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
It isn't there actually.
[Xiaomi Redmi Note 4 Questions & Answers] Jaisun:
it says "invalid sparse file format at unknown block" when i try to go back to the stock MiUI ROM via Fastboot flashing method. I formatted the internal storage when i tried to install the pixel experience ROM. What can i do now to solve this problem?
[Xiaomi Redmi Note 4 Questions & Answers] samad_47:
which is the best rom for Redmi note 4 , AOSP Extended or Pixel Experience ? please help me decide
[Xiaomi Redmi Note 4 Questions & Answers] MaT1020:
Hello.

I've been trying to extract my WhatsApp key using this tool, but I'm stuck in step 4.

After opening the bat file and connecting my device with an USB cable a screen titled "Full backup" should appear with the option to back up my data. However it does not.

I assume this is a problem with my phone, as I have all the necessary prerequisites.

I'm on a Xiaomi Redmi Note 4, Android 7.0.

I'm asking here too because I don't think the creator of the tool is active anymore.

Thanks.
[Xiaomi Redmi Note 4 Questions & Answers] Jaisun:
when someone calls me the phone won't ring. The volume is turned up to the max in settings and pop up menu, the phone is not in Do not disturb mode and the external speakers are working fine when i play media files. i have tried with both stock and external ringtones. However if i restart the phone then it will ring normally, but after sometimes it will stop ringing again. So i have to keep restarting my phone to not miss any calls. This is really annoying. I'm on the 22nd December version of the Pixel Experience Oreo 8.1 ROM. anyone facing a similar problem? any solution?
[Xiaomi Redmi Note 4 Questions & Answers] rossarnie:
Thanks for providing info like this - nobody else is prepared to take the time to do it.
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
Ok what was that?
[Xiaomi Redmi Note 4 Questions & Answers] xdaforo:
i guess he means that sometimes it seems you get no answer because questions are way to easy for most people to answer around here.
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
Maybe the software isn't able to communicate with the phone? Are the drivers working fine?
[Xiaomi Redmi Note 4 Questions & Answers] TheFieryBreeze:
Sim Card and SD slot not working

Just got a new Redmi Note 4, tried to put in a sim and micro sd and none got recognized, what course of action should I take? This is probably just a hardware problem, right?
[Xiaomi Redmi Note 4 Questions & Answers] arjun221b:
I've got RN4 miui 9.0. I am trying to root my phone but I cant unlock the bootloader. I've gone through almost every threads and posts. But still I cannot unlock it. The problem is with the 99% unknown error. I've tried disabling driver signature using cmd. Also done the find device thing. Still I cant. Please Can anyone help??

:rolleyes:

I've got permission like a month ago. I've tried 4 5 times but as I connect my phone to the lap the app shows unknown error found. I've done everything from OEM unlocking on , adding device , usb debugging everything. Still , it wont work.
[Xiaomi Redmi Note 4 Questions & Answers] robinlawrie:
ok , i have possibly the noobiest question ever asked on this forum:

im awaiting delivery of a note4.. there are three features id like: the google camera, as it seems to take great photos. 4k video, cos even downscaled to hd it looks much better than native hd captured by phone. and aptx for bluetooth, as i have a decent soundsystem with a bluetooth reciever.

i believe i need a custom rom at least for the aptx mod.

so , my ubernooby question: what do i lose/gain generally by choosing a custom rom? specifically regards to speed/battery life/general stability/features?

i see a few roms with claims of "most optimised for speed and battery life" etc etc, and bugs:none etc. however its not clear to me if the stock rom is always better for battery life/performance than a custom rom?

im quite happy to dive into custom roms etc.. i love to learn and fiddle. but i dont want a flaky new phone. i wanna make it *better* obviously!

so, second nooby question: which rom should i go for ? LOL :)
[Xiaomi Redmi Note 4 Questions & Answers] naren12:
I would say aoscp, it's stable enough for me.
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
Hi everyone!

I am back trying to get my Mido up and running but it's proving (probably) impossible. It might be hardware faulty and no solution but I won't give up yet.

Ok then. After like a month of purchase, and after mounting an SD card (no idea if it's related, device wasn't mine then), it started app crashing (mostly google apps but not only) and rebooting. Since it got into my hands I have tried absolutely everything I know of:

- Fastboot flashing all MIUI builds I found, stable and beta, with clean-all and with clean-all-lock options, back and forth a thousand times. Some of those flashes didn't even go through, some didn't even boot... Most of the times they succeeded, google play services and other apps started crashing after. The few times it was setup with no problems, it started giving problems after a while. And I couldn't update through updater not once. It alwas said update couldn't be verified and stuff like that.

- In the meantime, I also went for custom stuff in several intervals. Tried with both official TWRP and RedWolf. Tried all roms, kernels, gapps I found here at XDA. Behaviour in recovery has always been very strange to me with this device. I alwaays started with format data first time after flashing recovery, and most often it didn't mount or unmount a few of the volumes. I had to restart recovery several times and perform format data and full wipes for it to work "normally". Then when actually flashing stuff, most of the times flashing didn't even go through: stuck with bar stopped for half an hour. Xiaomi.eu or Epic rom did never get flashed, not once. I always started flashing with lazyflasher, always flashed SS or Magisk after rom and gapps.. The times flashes were successful and rebooted, most of them it got in a bootloop, others just stuck at MI logo. A few stuck at rom logo, not ever booting into system. Only literally a handful of times, recently, and after full wipes and format data and going into and out of recovery like a hundred times, it booted into system. I don't even remember which roms those were. Maybe Validus Oreo once, AICP and Nitrogen. They all had problems from setup with bluetooth and google play services and other stuff crashing.

Finally I managed to get ColtOs Oreo, do not remember which build exactly, to boot and work well enough for a while to get a logcat. It's attached. Full of errors and a couple of fatals (surprising, I thought it'd have plenty of those).

Anyway, some errors not finding storages or things like that are interesting...

So, anybody expert enough willing to have a look and give me a hint of what I am facing here and if it can have a fix??

Sorry for the lentgh and thanks!
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
Hi!

Thanks for the reply.

I do have flashed firmware, more or less all the ones I found, at some point previous to most roms :)

The last firmware I flashed was the last global stable I found in the rom's section, 9.0.5.0:

https://drive.google.com/file/d/1e7UL4ttdQIYJ4d2Dn9mP-4VWp1rZiutC/view

The model is 4X Sd 32gb.

Right now I am using latest offifial twrp:

https://androidfilehost.com/?fid=817550096634772061

I flashed it from computer fastboot command.

I am right now writing from the device with latest Epic Rom Pro, which is the first time that goes through...

Right after setup there was the expected crash and I copied the debug log:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'xiaomi/mido/mido:6.0.1/MMB29M/V8.5.3.0.MCFCNED:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 4996, tid: 5968, name: lowpool[3] >>> com.google.android.gms.persistent <<<
signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x7f88e1f73c
x0 0000000070c48fb0 x1 000000001393c6f0 x2 00000000131edf80 x3 00000000704507f8
x4 000000001393c6e0 x5 0000000000000000 x6 000000001b873593 x7 0000000012fbe71c
x8 0000000000000000 x9 0000000013c35e50 x10 0000000070522870 x11 0000000000000046
x12 0000000000003000 x13 0000000000000008 x14 0000000000000000 x15 0000000000000008
x16 0000000000000000 x17 00000000002786bc x18 5e5264bf0785a774 x19 0000007f94724600
x20 0000007f83de54b0 x21 00000000133f5400 x22 00000000133595b0 x23 0000000000000017
x24 0000000012fbe710 x25 00000000000000bb x26 00000000131edf80 x27 000000001393c6f0
x28 00000000704507f8 x29 000000001337c400 x30 0000000074a62524
sp 0000007f82e67ca0 pc 0000007f88e1f73c pstate 0000000080000000

backtrace:
#00 pc 000000000007c73c /dev/ashmem/dalvik-jit-code-cache (deleted)
#01 pc 0000000074a62520 /data/dalvik-cache/arm64/system@framework@boot.oat (offset 0x2c62000)

From previous log seemed to me the key fatal signals were of this kind: something's wrong with Dalvik and framework@boot.oat, whatever that is.

If that could be solved with firmware... It'd be fantastic.

If it can be solved at all it would be great actually... It sounds bad and scapes my present limited capabilities...

Thanks again!!!

---------- Post added at 09:02 PM ---------- Previous post was at 09:00 PM ----------

By the way, I did not flash firmware before this last flashing of Epic... Miui based roms come with firmware, or so I understand, and I deemed it unnecessary...
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
Did the same errors happened woth nougat roms? I've been using this firmware, and never had any problem.

https://drive.google.com/file/d/1Ja0pLMP2bpUhwfKcOwjYirt_PMgI3yb2/view?usp=drivesdk

Also,

And please note that, always get your recovery from twrp website.

https://dl.twrp.me/mido/twrp-3.2.1-0-mido.img.html
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
All the same problems flashing roms and not even succeeding and some not booting and all that booted crashing started happening even before Oreo came so yeah, same with nougat. Epic is nougat anyway...

I'll get official twrp from web as you recommend and flash it. I was thinking of using flashify or some such app but maybe better fastboot?

What would be your recommended process after I flash twrp? Just get there and flash firmware you link? Full wipe and flash firmware first thing?

THANKS!
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
Just to not make anybody waste time: I flashed recommended twrp and booted into it, wiped dalvik and flashed recommended firmware. Booted into system and as soon as it got there apps started crashing...

Thanks anyway!

Any more ideas about the main error will be greatly welcome:
[Xiaomi Redmi Note 4 Questions & Answers] calm_depression:
Wifi keeps disconnecting reconnecting and then stops connecting all together on the latest lineage build.
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
Flash the recover from twrp app or by fastboot, and then clean wipe, format data, now install firmware, and resurrection remix rom. No gapps rn. When installed, try to reboot. If the rom works fine, then you can clean wipe and install gapps, it won't show any errors.

The actual key is - Formatting data, and firmware.

I know format data soundsto be asking a lot, but you have to do it.

---------- Post added at 05:04 AM ---------- Previous post was at 05:02 AM ----------

Have you formatted your ever formattee your data?

---------- Post added at 05:06 AM ---------- Previous post was at 05:04 AM ----------

Nougat rom? Possibly a rom bug, i guess we should wait for the next weekly
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
Thanks mate!

And yeah I have formatted data several times :) so it is not asking too much. I have all files for flashing in a usb.

I will try this process. Had never tried rom with no gapps etc.

Thanks!!!
[Xiaomi Redmi Note 4 Questions & Answers] Vut:
I heard that after install a different system than miui The screen will burn. Is this true? When I come back to miui This "effect" will be? I wanted to try other systems but I do not want to damage my redmi note 4.
[Xiaomi Redmi Note 4 Questions & Answers] jatin.t.16:
Hey There,

Currently i am using Pixel Experience ROM in my Redmi Note 4(MiDO),my question is that i am not getting as much the battery backup when i was using RR ROM in my phone.

Should i flash a custom Kernal or anything.If yes then tell me which will be best for me.Play heavy games and need a good battery backup.Hardcore user!

Thinking to use Velvet r6.5 Kernal,is it good or not?
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
No luck so far.

After a couple of tries I managed to flash firmware and rom, although I do not think it was the recommended firmware, with that one al roms got stuck at flashing and I had to manually reboot recovery. After booting into RR without gapps I went back to twrp, wiped everything and tried to flash firmware, rom and gapps and it got stuck, random rebooted and everything got tangled again.

So I tried to go back to mi flash for fastboot flashing official builds starting with old stable ones and reboot in the middle of setup.

So yeah, I will keep trying but I must begin to assume this device is lost :(

Such a pity, I love it ...
[Xiaomi Redmi Note 4 Questions & Answers] sjoerda:
standard music app interrupts other music apps

Hey,

While listening to music on soundcloud, my phone will automaticly activate/run the standard music app ( can't install the app).

This will happen after approximately 2 minutes. When it happens, the soundcloud application will be shut down because of it, so long story short, i cant listen to music on soundcloud for more than 2 minutes (the phone is locked when this happens). Also, i deleted all the music on the standard music app, but it still acts like its playing a song after the 2 minutes.

Some help would be appriciated,

Sjoerd
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
Y do i feel like something messed up with the dev scripts. Idk man. What if you flash miui and Remove twrp, and take it back to service center telling about the software issues :P

Just don't tell em you rooted

---------- Post added at 08:37 PM ---------- Previous post was at 08:36 PM ----------

You can disable the stock music player, if you don't need it

---------- Post added at 08:40 PM ---------- Previous post was at 08:37 PM ----------

Don't flash custom kernels as of now, wait for a couple of months, so that they become more efficient. Also you can try out aoscp. I've been getting 2 days of battery life.
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
:)

Yup I believe I'll have to do that. I already flashed back to global stable 8.5.4.0 (I believe the phone came with that one) and I did clean all lock when flashed it so it's stock unless you get yourself to start digging....

Thanks for the support!
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
Hey, tell me what happened if you visit them. No problem dude. Btw did you remove twrp?
[Xiaomi Redmi Note 4 Questions & Answers] albertoduqe:
Ejem...

Doesn't ig get removed with official fastboot rom? :rolleyes:

When I boot to recovery it boots into xiaomi one... Do I have to manually do something?

Sorry...
[Xiaomi Redmi Note 4 Questions & Answers] sjoerda:
I can't disable the music application...
[Xiaomi Redmi Note 4 Questions & Answers] naseefnachi:
any one please help me, i tried to flash oreo rom(pixel) and was stucked with the screen lock, then unfortunately flashed with android 7 version(pixel rom is oreo 8, i flashed miui pro) but after it my phone starts to restart after os installation, i have tried flashing stock os via fastboot method but problem still there, tried oreo roms and then also restarting problem there, anyone tell me a solution( its not a boot loop_phone restarts it self after 15-20 seconds
[Xiaomi Redmi Note 4 Questions & Answers] Amarius1:
How do I flash the stock firmware through Red Wolf Recovery? What's the correct zip ans steps?
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
Are you facing a screen lock? Try formatting data and then flashing the rom with the firmware
[Xiaomi Redmi Note 4 Questions & Answers] SamP1298:
Try wiping whole internal storage
[Xiaomi Redmi Note 4 Questions & Answers] gagaxy:
I use a redmi note 4x using LCD r63350 ebbg. I could not install twrp-mido. Luckily, it was solved by twrp-mido-ebbg. Now i have another problem. I tried flash some cook roms in the forum like Nitrogen, Cardinal...but i absolutly fail. After the device boot the first time to the system, the touch screen was not working. When i turn off screen, it was not appeared again. the same issue when i downgrade stock rom from miui 9 to miui8.
[Xiaomi Redmi Note 4 Questions & Answers] sjoerda:
standard music app interrupts other music apps

Hey, (i posted this before, the response was to disable the stock app, but i simply cant press the disable button for it, it wont let me)

'' While listening to music on soundcloud, my phone will automaticly activate/run the standard music app ( can't install the app).

This will happen after approximately 2 minutes. When it happens, the soundcloud application will be shut down because of it, so long story short, i cant listen to music on soundcloud for more than 2 minutes (the phone is locked when this happens). Also, i deleted all the music on the standard music app, but it still acts like its playing a song after the 2 minutes.

Some help would be appriciated,

Sjoerd ''