yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] nogohod:
Thank you.

Unfortunately, it's not work the same with call record issue. Anybody use this one?
[Xiaomi Mi 4C] IcyGlacial:
[MENTION=5994357]Cozzmy13[/MENTION] your kernel/fix now implemented on RR?
[Xiaomi Mi 4C] Cozzmy13:
Yeah, AndropaX's kernel is now based on mine.
[Xiaomi Mi 4C] sultanbrunei:
Hi,

I am on RR 5.8.0.20170126.

Planning to upgrade to 5.8.2 (newest)

1. I read at the first page, there is a requirement for "N firmware". Is this necessary for me to do before upgrading?

2. If I do dirty flash, do I still need to backup so I do not lose 'any' data/photos etc?

3. Is there any settings to enable unread count for apps icon?

---------- Post added at 04:22 PM ---------- Previous post was at 03:33 PM ----------

Did the firmware update thing.. (after wiping cache and dalvik). And now phone just boots into "Mi logo". That's it. Something wrong in the process?

What should I do now?
[Xiaomi Mi 4C] mradermaxlol:
You should flash the new firmware AND the new(est) version of RR, because the latter is actually what's capable of working with those new blobs & bootloader ;)
[Xiaomi Mi 4C] sultanbrunei:
I had just finished flashing the new firmware. It said that I have to unlock bootloader.

So I did all the unlock bootloader process, and now I am back to the original MIUI os ? I think it's 5.1.1

And now I can not install TWRP. What could have gone wrong?

I always stuck at mi.com logo after all the fastboot-adb-recovery process...??

please help

-------------------

OK, now I have tried to turn off the phone.

and then manually press volume up + power. now I entered MI-recovery 2.0.1

but it simply won't ever boot into twrp.

what is wrong?

---------- Post added at 06:17 PM ---------- Previous post was at 05:29 PM ----------

Trying to get into twrp recovery and it failed !!

HELP !!!! :(

so I have done fastboot flash recovery recovery.img

and

fastboot boot recovery.img

a message appears:

FAILED (remote: dtb not found)

What the hell is that?

HELPPPPPPPPPPPPPPPPPPPPPP
[Xiaomi Mi 4C] Uzuki:
You're back to official miui? It's possible that your bootloader is locked and you're back to original mi-recovery. Try to boot to twrp from fastboot with fastboot boot twrp-image-name.img

I'm not sure if it works though without unlocking bootloader
[Xiaomi Mi 4C] sultanbrunei:
fastboot oem device-info yields:

device tampered : false

device unlocked: true

charger screen enabled: false

---------- Post added at 06:56 PM ---------- Previous post was at 06:52 PM ----------

Using a twrp flasher,

https://xdaforums.com/mi-4c/development/tool-recovery-flasher-t3296570

I succeeded entering flashing and enter into twrp 3.0.2-0

and now when I tried to install latest RR.zip, it spawns a new error message. error 7.

Updater process ended with ERROR: 7

error installing zip file bla bla bla

what is wrong with that? Do I need to update the twrp version to 3.0.3-1 first to be able to install the new rom ??

PLEASE HELP

---------- Post added at 07:13 PM ---------- Previous post was at 06:56 PM ----------

everytime I tried to manually fastboot flash recovery twrp3100.img, the fastboot itself succeeded, however when I tried to boot into recovery it always says remote dtb not found !! HELPPPPPPPPPPPPPPPP

When I try to manually go into recovery mode, it always stuck in mi.com logo !!!

So now the only way to go into twrp is by using automated twrp flasher, which made me into twrp 3020, and then now when I tried to install the rom zip, ERROR 7.

Basically Im stuck.

PLease anyone help me :crying:
[Xiaomi Mi 4C] Uzuki:
Here you go, from [MENTION=7270121]caxwan[/MENTION] post
[Xiaomi Mi 4C] :
Phone productivity on RR-N-v5.8.2-20170309

Hello guys, after installation RR-N-v5.8.2-20170309-libra-Official.zip my Mi4C started lagging​.

Sometimes screen just freezes and phone goes reboot.

Before I have been watching 1080p .mkv files and browsing Internet at the same time. Now i can't do this becouse phone lags hard.

Someone have same sh*t?
[Xiaomi Mi 4C] sultanbrunei:
Okay, I have following the update step by step:

Many ways to update, I have try this one.

* Disable PIN/Pattern Lockscreen (related bug of fw nougat)

1. Boot into your old TWRP LP

2. Wipe System, Data, Dalvik and Cache

3. Install FW Update N via TWRP

4. Install new TWRP N via TWRP too

(choose install image) install to recovery

5. Reboot to new TWRP N

6. Install ROM + GAPPS via TWRP

7. Reboot to System

After install rom, then I clicked 'reboot recovery', and then stuck again at mi.com logo for a few minutes.

Is this normal ?

---------- Post added at 07:42 PM ---------- Previous post was at 07:32 PM ----------

Using this stepbystep I finally be able to install the latest rom!!

Apparently my mistake is after I updated the new FW, I re-unlock my bootloader, booted the system, this is where everything got messed up.

So after steo 2,3,4, also after installing the rom, I have entered the OS, no problem,

but when I try to restart into recovery, it never went into recovery !!

What has gone wrong ?? How do I repair this ?

---------- Post added at 08:09 PM ---------- Previous post was at 07:42 PM ----------

OKay, I see now that after installing the new ROM, my bootloader is locked now.

And I think that is the reason I can't go into twrp.

What should I do now ?
[Xiaomi Mi 4C] Njies:
problem when installing 5.8.2

i'm trying to install any RR 5.8.2 to my mi4c using twrp 3.1.0.0, but it always failed with 'Code 7'.

i've read the requirement on the first page, and trying to flash recommended twrp on that page, but it failed too.

can you give me some solution for this?

thanks a lot bro. Cheers. :p
[Xiaomi Mi 4C] sultanbrunei:
Many of us trapped in all this error conditions is due to developer not trying to explain what all of us amateurs need to do before properly updating the rom. And I learned it the HARD way today. I spent hours to fix mine just to update the rom, and I have been doing unofficial rom for years prior!

So now I will give you a step by step instructions in order to fully install the new rom without problems. I hope the dev put this on the front page!

1. Make sure you downloaded newest TWRP from official TWRP webpage, https://dl.twrp.me/libra/

2. Download .img file

3. At this point you must have an unlocked bootloader, if not, you have to unlock it either by officially, or by using bypass technique.

4. After your bootloader is unlocked, flash the latest TWRP. I recommend using TWRP flasher tool you can find here in the parent directory of mi4c.

5. Boot into recovery, insert 3 file to your storage: new firmware (from front page), the new rom, AND the gapps.

6. wipe system, data, dalvik, cache.

7. install in this order: new firmware, then, new rom, then gapps. Do this without restarting !!

8. After you finished all the 3 installs, you are now free to reboot into system, and there you are DONE.

9. Please remember that doing my steps would finally re-lock your bootloader (therefore you can not enter recovery/twrp).

---------- Post added at 09:23 PM ---------- Previous post was at 08:40 PM ----------

now, the next question is.

Does anyone know how to display unread count in app icon ?
[Xiaomi Mi 4C] fuyoo:
I noticed severe lag on the latest update and realised my big CPUs aren't running and I can't configure them in Kernel Aduitor. Does anyone per have the same issue?

Edit: I have determined it to be due to temperature. Just an increase to 36 degC shutdown one big core, the other goes off at 43 degC. Isn't this a bit low?
[Xiaomi Mi 4C] kvbb:
new build guys
[Xiaomi Mi 4C] arvet333:
CPU fixed?

Last build performance was a bit low...
[Xiaomi Mi 4C] slimdick:
[MENTION=342273]denis_sianto[/MENTION]

Under the old bootloader from 5.1.1 is different twrp and under the new with 7.0 is different. It is impossible to load the old to the new and vice versa.

FAILED (remote: dtb not found) - wrong version twrp.

TWRP-3.1.0-0 on twrp.me is still under the old bootloader https://dl.twrp.me/libra/twrp-3.1.0-0-libra.img.html

After the update FW 7.0, you need to change twrp https://www.androidfilehost.com/?fid=673368273298937346
[Xiaomi Mi 4C] Cozzmy13:
It's not temperature related. It turns them on based on load. You can change the Minimum CPUs online to 2 in Kernel Auditor, which will make them stay online forever.
[Xiaomi Mi 4C] fuyoo:
Thanks, but minimum big core was already set to 2 and still both cores were offline. Like I toggled thermal driver to use SOC limits instead and now all six are back running. The core control when triggered shuts down my big cores at the current temperature.

Anyway I think I was wrong with my tiering, im monitoring my cores using CPU info from Developer's Options, and theres a temperature on screen display that currently says 44000 which I simply assumed to be 44 degC but is apparently not.
[Xiaomi Mi 4C] coroneta:
changelog??
[Xiaomi Mi 4C] kvbb:
https://github.com/ResurrectionRemix/android_vendor_resurrection/blob/nougat/CHANGELOG.mkdn
[Xiaomi Mi 4C] takotestas:
Power off not working on my phone after RR-N-v5.8.2-20170312-libra-Official install. Phone is always doing soft restart instead of power off. This is not critical issue which can be related to config of my phone. Maybe someone can check this functionality after the update? Thanks.
[Xiaomi Mi 4C] kvbb:
Not work for me too. By the way, after the entry RR Settings -> Lock Screen -> Upper shortcuts, the setting app crash.
[Xiaomi Mi 4C] nogohod:
RR-N-v5.8.2-20170312-libra-Official.

Menu item "Record call" came back. But doesn't work. Trying AMR-WB and AAC.

Same.
[Xiaomi Mi 4C] likhon02:
No but little​ better than the previous build..but glad wma support is back
[Xiaomi Mi 4C] neosickle:
New update guys... 03 12...
[Xiaomi Mi 4C] Uzuki:
Hmm, the last changelog for RR is 2017-02-25?

Update:

My phone randomly restart by it self. How to take/read the log file(s) when it happens?
[Xiaomi Mi 4C] takotestas:
I have found workaround for power off issue. After disabling of 'Shutdown confirmation dialog' phone is doing power off normally.
[Xiaomi Mi 4C] Cozzmy13:
That logging doesn't work because I messed up the memory allocation for it.

If AndropaX doesn't fix it, I'll do it in a couple of days.
[Xiaomi Mi 4C] shay44:
But why no Mi4 S anymore? I loved this Rom so much for Aqua..

Any good alternatives to RR?
[Xiaomi Mi 4C] mradermaxlol:
Mmm, silly question incoming...

How do I reset the screenshot taking time so that it's back to 100ms? I've accidentally​ mistapped on that slider and now it's 900ms, and that is the lowest value possible.
[Xiaomi Mi 4C] Stardust89:
New version good,but I noticed that vibration sensitivity adjustment on touch not working
[Xiaomi Mi 4C] Chenyun_Kang:
Tap To Wake not working

Is "Tap to wake" working on your phone on the latest version? Mine is not working.
[Xiaomi Mi 4C] Stardust89:
Double tap to wake is working for me
[Xiaomi Mi 4C] Antyhaker:
Works well.
[Xiaomi Mi 4C] Bio24:
Flashlight and camera didn't work on my phone in latest build...
[Xiaomi Mi 4C] kvbb:
Flashlight and camera working for me, double tap too.
[Xiaomi Mi 4C] wertus33333:
So Aqua won't be supported in future? Very sad, suddently all the good roms kick aqua supp... even if its the same source code :(
[Xiaomi Mi 4C] Sakura_Sa233:
I tried the newest TWRP 3.1.0-0,and it didn't work.Can OP do something for that？
[Xiaomi Mi 4C] powolniak:
Did you installed TWRP for nougat bootloader or LP ?
[Xiaomi Mi 4C] Sakura_Sa233:
Nougat
[Xiaomi Mi 4C] Uzuki:
Did you use twrp from [MENTION=5868201]AndropaX[/MENTION]?
[Xiaomi Mi 4C] Sakura_Sa233:
yes,it is working
[Xiaomi Mi 4C] Bio24:
i don't know what wrong... in my device when i open Camera, it said can't connect to the camera, i turn on flashlight via quick settings or power menu it won't turn on... a new bug i experienced is when i turn off my device, my device perform soft restart not turn off.

i will try to clean install, i hope it will solve my problem.
[Xiaomi Mi 4C] sammirati:
I already have 7.2.23 firmware.

In the front page there is a link to 7.2.9

I need to downgrade?
[Xiaomi Mi 4C] Stardust89:
Anyone have the vibration adjustment prob,it vibrates on tap on 100% :(
[Xiaomi Mi 4C] luis83rs:
Are you people making clean installs? I have no bugs at all...

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] ligname:
Is happening that when I landed abroad my phone can't connect, is appearing the message: app.Android.phone stops
[Xiaomi Mi 4C] Bio24:
I experienced a bug in camera, flashlight, and can't turn off my phone after i uninstalled some system app like email, cm filemanager, gello browser, etc.

So i tried to clean install again, and i didn't uninstall system app, but i disable or freeze it using Titanium Backup.

And that's bug gone, my phone work like a charm.
[Xiaomi Mi 4C] deserthouse:
Can't aqua flash this rom any longer? I got an error while updating to 0312 which said that it only supports libra and my device is aqua.
[Xiaomi Mi 4C] sultanbrunei:
which latest update do you mean ?

---------- Post added at 08:10 AM ---------- Previous post was at 08:08 AM ----------

Yeah I know, but the problem is after update to new firmware, the system somehow refuses to accept the new TWRP. I think it is because the soonest you updated to new firmware, the bootloader is immediately locked and you will become unable to install new twrp.

How do you circumvent this ?
[Xiaomi Mi 4C] Shervrar:
Questions

Alright, could someone please answer something for me please, because I feel like I misunderstood something.

1) I avoided the RR ROM because Xiaomi will not give me an unlock code (not an issue though since my Mi came pre-unlocked. This might be because the phone had software from before they started locking the bootloaders). Now, so far I assumed that if I flash the new (locked) bootloader, I won't be able to boot to recovery since it is not official Xiaomi software and I will not be able to boot into Android since that also is not official Xiaomi software.However, reading #1422 seems to suggest that the locked bootloader only prevents you from going into a custom recovery, not a costom rom? Is this the case?

Does that mean that I could flash the ROM like described in #1422, flash any zip's using something like flashfire, and if I ever decide to change my mind about the whole thing, attempt to downgrade like in the tutorial here? If so, could I use flashfire to update the ROM itself? If not, how do you suggest one updates the ROM (since recovery is gone)?

2) So far I tried AICP, Vanir/Commotio and an older version of RR, however on none of them encryption seems to work. AICP kinda just makes Android unable to boot, while the rest get stuck on "Encrypting 0:00 left". Can the current version RR N successfully encrypt /data and boot without issues?

Thanks in advance
[Xiaomi Mi 4C] sultanbrunei:
I will try in the best of my knowledge in answering your question.

- In my case, the re-locked bootloader after I updated the firmware and installed new rom did allow me to enter the custom rom. However it prevents me to enter custom recovery.

From my understanding, as long as you can re-unlock the bootloader, you can go anywhere you want from that point.

You can use my guide to update any ROM eventhough your recovery is gone :)
[Xiaomi Mi 4C] Uzuki:
I can boot into twrp just fine from N firmware
[Xiaomi Mi 4C] sultanbrunei:
and your bootloader is not locked AFTER you update to N firmware?
[Xiaomi Mi 4C] luis83rs:
Another successful installation of a new build. As always I've done a clean install and I've used Titanium backup to restore all my apps. No crashes so far.

Camera working without problems. Thanks Andropax!!
[Xiaomi Mi 4C] hansip87:
the experience so far:

1. the 0309 was laggy after some time, the 0312 fixed that though

2. Is there anybody who experienced thatwhen you use headphone, the left channel volume is significantly less than right channel? because with 0312 the volume comes back to normal though, i thought that my headset was broken for a while, but turns out the volume is equal again after 0312 build.

For those who have issues with relocked bootloader but never unlock officially, i'd like to share some steps for you:

1. request unlock officially (wait for their SMS first, may takes 4-5days). You can't unlock the phone at this step, carry on

2. after the SMS arrived, download the MIUI Developer Fastboot (latest one which is Nougat) Image

3. Turn off the phone, start on Fastboot mode connected to PC

4. on command line, use command "fastboot oem edl", then the phone will black out.

5. open MiFlash, flash the Developer ROM there

6. start the phone, login with Xiaomi account

7. Unlock the phone via Unlocker app provided by Xiaomi

8. Do it like usual from here..
[Xiaomi Mi 4C] Uzuki:
The bootloader is locked but twrp recovery is still there
[Xiaomi Mi 4C] Kohba:
Please, can we show me where I set the flashlight turn on, on the power button?
[Xiaomi Mi 4C] bayoedevour:
Flashing latest build everything works fine except vibration slider...

Thanks dev :D
[Xiaomi Mi 4C] Shervrar:
Yeah, I kinda just went ahead and it seems that is the case for me too.

Unfortunately I had an issue where RR thought /data was encrypted, so nothing worked haha. I did manage to revert back to what I had before thanks to this how-to (after having to install windows, .NET and screw around with drivers). Anyways, it's nice to know that this will not permanently brick it :D

Sorry, this part I did not understand. I mean, I guess I can update the ROM using TWRP, but for that to be accessible again I will first need to get an official unlock, no? Otherwise I to update I would have to revert to original MIUI ROM that came with my device that was before the bootloaders were locked, then install TWRP and then finally install RR; basically, there is no way to keep my data if updating that way..

I thought it will remain, but be unbootable (was the case for me, though I flashed the new TWRP the same time as the ROM).

What version of TWRP is this?

Thanks again
[Xiaomi Mi 4C] Kohba:
Glory, I found it. But the menu: a gesture on the lock screen, it's a strange location.:p
[Xiaomi Mi 4C] Boa Edan:
In two latest build 0309 and 0312, i have problem with headset, headset isn't detected, the sound only on speakerphone.. :confused:

Im back to build 0225, headset work normally..
[Xiaomi Mi 4C] hrbaby@naver.com:
deleted
[Xiaomi Mi 4C] Uzuki:
TWRP-3.1.0.0 from [MENTION=5868201]AndropaX[/MENTION]
[Xiaomi Mi 4C] likhon02:
This new build has the best standby time but can't stand the lags even scrolling on Facebook lags...
[Xiaomi Mi 4C] gooozer:
version: 5.8.2-20170312

I experience lag too, whilst playing a game that does not lag on the previous build.

I did both a dirty and clean install.

Might have to revert to the previous build...
[Xiaomi Mi 4C] pusimaster:
Wifi problem!

Anyone knows how to fix the wifi problem, please...? it says 'Connected, no internet' everytime i connected to a network. The problem is, the network works perfectly fine with other devices :crying:
[Xiaomi Mi 4C] Uzuki:
I had problem with opera mini for days in RR, sometimes the phone restart by itself, and usually normal after that. But suddenly today, my phone restarted by itself again while browsing, and goes into bootloop. Using RR-20170225 when this happened. Had to install RR, now using latest RR. I'm not sure where is the problem. I'll try to use opera mini again and see if the problem still exist.
[Xiaomi Mi 4C] kodbz:
Don't cry!

Mi 4S xiaomi.eu (miui 8 - 7.3.9) released on march 14 :cool:
[Xiaomi Mi 4C] Kohba:
I must after every flash new version rom also give libra-aqua_firmware_7.2.9.zip?

I think only if I make wipe and clear instalation, right?

Thank you.
[Xiaomi Mi 4C] kvbb:
new build https://sourceforge.net/projects/resurrectionremix/files/libra/

I hope that all the bugs have been fixed

no

no
[Xiaomi Mi 4C] izmenoff:
Bug in the latest build RR-N-v5.8.2-20170315 - after plug in to PC, phone doesn't work! Helps only hard reboot
[Xiaomi Mi 4C] Antyhaker:
New build disappeared from sourceforge :P
[Xiaomi Mi 4C] kvbb:
I know why, my phone randomly turning off, randomly lag (only hard reset helps).
[Xiaomi Mi 4C] ackbarthegreat:
Another Mi4S user here asking for Andropax to reconsider restoring aqua support.
[Xiaomi Mi 4C] likhon02:
Damn!! just clean installed the new build now it disappeared cause big cluster is always offline phone hangs,restarts and it also lag as well:( reverting back to 0225 build for now
[Xiaomi Mi 4C] Kohba:
Heck, I just installed it. Well, what can i do, backward is also change.:p
[Xiaomi Mi 4C] neosickle:
Is there a rr rom for gamers? This rom is not giod enough for gaming like ragnarok mobile. I experience many stutterings when playing. I just wonder if this rom can be a gaming rom.
[Xiaomi Mi 4C] wertus33333:
You can just change the device "libra" into "aqua" in updater-script (open rom.zip, META-INF\com\google\android, open updater script with a text editor) it will install. but for me the "new" boot.img just shuts the device down after mi logo (need confirmation on other Mi4s'es), therefore you have to use the old boot (if ur on working RR just backup boot, install modified zip and restore boot). otherwise you need to extract the boot from build 20170225 and flash it manualy with fastboot or twrp(easier method).

I'm trying to compile the new kernel from source for mi4s but need some assistance (as i cant get it to boot).

I wrote [MENTION=5868201]AndropaX[/MENTION] about the small problems/small things i need assistance (like which bootimg pack/repack tools to use) but unfortunately no answer so far...

[MENTION=5994357]Cozzmy13[/MENTION] Thx a lot for your immediate help!

edit:

To all the mi4s users, please try the above process first with "new" bootimg so i can see if its only my phone or if the source code somehow needs to be modified. Kernel logs would also be helpful.
[Xiaomi Mi 4C] Antyhaker:
Definitely not. PokemonGO lagging, Mobile Legends lagging and randomly crashing...
[Xiaomi Mi 4C] likhon02:
0225 build is perfect for everything.perfomance is better than the newer build nothing lags,sound quality is better on headphones. newer builds only has better standby time and camera.can stay on 0225 build forever. I don't know why devs changed the kernel
[Xiaomi Mi 4C] neosickle:
You are indeed right. Just playing ragnarok mobile makes me sick with this rom because of random lags and stutters, even worse it hangs. I love this rom except in gaming concerns. This rom is for non gamers. Do you know a rom for gamers like us? I own mi4c.
[Xiaomi Mi 4C] Antyhaker:
AICP or MIUI.

0225 is better, but not enough for gaming :P
[Xiaomi Mi 4C] Cozzmy13:
Avoid putting the blame on someone or something when you don't know the situation.

AndropaX forked my kernel and the device tree we've been working on for AICP. He can do whatever he sees fit for his community. You, by yourself, can also tweak your device to have good gaming performance, so first do that then complain.
[Xiaomi Mi 4C] likhon02:
not blaming anyone i just didn't know anything sorry for my stupid comment it's just everything changed so much suddenly was just wondering.we all appreciate your great and hard work. Thanks man for letting us know :):good:
[Xiaomi Mi 4C] miklo01:
I like memory and task manager in latest builds with new kernel. In old releases memory and task manager killed applications more aggressively than now. When I use a few apps like Chrome, Facebook, Spotify and chats I prefer new manager.
[Xiaomi Mi 4C] :
I've lost root on 0312, can't enable, how to get it back?
[Xiaomi Mi 4C] miklo01:
Check Magisk app :)
[Xiaomi Mi 4C] neosickle:
Thanks for the info. I'll try aicp then, i am on miui before to rr. What i dont like in miui is it is heavily modified. I feel the heaviness in system not like rr, rr is buttery smooth except in gaming which is i feel a failure. What i do like best in rr is its camera. Really clear. When i play games in miui, it really gets hot and then suffers in gaming. I hope to be satisfied in aicp. Thanks for sharing this rom developer. Maybe i'll shift back if I don't see happiness in aicp. :fingers-crossed: