yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] Cozzmy13:
Cherry pick this, [MENTION=5868201]AndropaX[/MENTION].

https://github.com/reposte/android_...mmit/af9323b9aacd5fc703254b183290759ea3e64415
[Xiaomi Mi 4C] agus39:
Great update

Great Update... it's clearly official :)
[Xiaomi Mi 4C] hansip87:
Anyone get slow GPS fix with 0214 build?
[Xiaomi Mi 4C] NZtimbo:
Slow and lot's of drift quite a pain with Ingress ...
[Xiaomi Mi 4C] delscate:
Yes

Envoyé de mon Mi-4c en utilisant Tapatalk
[Xiaomi Mi 4C] zen-aku:
Yes i do
[Xiaomi Mi 4C] nachtwacht:
What makes a rom "official" like this one and another "onofficial" like most others ?

tia
[Xiaomi Mi 4C] AndropaX:
Important announcement ! :

Version v5.8.2 and later are based mostly on miui n beta blobs and firmware from it is required to boot. I created flashable zip to simply update it without flashing whole miui rom :

https://www.androidfilehost.com/?fid=457095661767138866

If you have previously old bootloader example from xiaomi.eu 5.1 rom or unlocked bootloader by unofficial method (without xiaomi permission) this will lock it !

After that you can boot system, but you won't be able to use fastboot or recovery, you need to unlock it by official method and mi flash unlock.

Also due to bootloader changes old twrp is also no longer bootable, you need to flash new one after updating firmware :

https://www.androidfilehost.com/?fid=529152257862704733
[Xiaomi Mi 4C] hansip87:
So.. I flash this zip first then the ROM package right? Clean install required?

Is the old unofficial unlock method still a valid method to unlock once i install the 5.8.2?

Thanks for your whole effort, appreciate it :)
[Xiaomi Mi 4C] ViTAMiNCHEG:
No. Only official with unlock permission from miui
[Xiaomi Mi 4C] miklo01:
Heh. Can we unlock bootloader without miui and xiaomi account on phone? I think we have to flash miui 7.2.x, login to xiaomi account with unlock permissions in miui, unlock bootloader, flash new twrp and flash rr. Right?
[Xiaomi Mi 4C] FredericChopin:
I just flashed the new version by the following steps:

Flash new version of RR and opengapps

Flash beta blobs via the above image

unlock bootloader via MiFlashUnlock (just started using RR this month and still had official method working)

flash new twrp

get stuck at pattern unlock problem (see notice in official miui forum thread-500488-1-1.)

had to remove pattern lock by removing /data/system/{gatekeeper.password.key,gatekeeper.pattern.key,locksettings.db}

EDIT: This was on a Mi4s and the pattern lock problem happens only with aqua. If you have your data encrypted, then a full wipe is probably needed.
[Xiaomi Mi 4C] Stardust89:
Its become more and more complicated with new versions..hhh
[Xiaomi Mi 4C] proxuser:
My steps:

flash nougat firmware (not reboot yet)

flash new twrp while you are in twrp recovery (flash recovery img with img flash)

reboot recovery (now new twrp is set) bootloader remain locked

flash new rr & gapps

reboot

I did this because I can't wait Xiaomi to send me verification for unlock. it just take too loong.

Rebooted new system work just fine for Me.
[Xiaomi Mi 4C] NZtimbo:
mmm, saw the update, didn't even notice it's 5.8.2 and done my usual wipe cache/system install the rom and latest opengapps, now the phone seems to be boot looping to the MI logo, maybe four times now...

EDIT:

phew, wiped cache/system and reloaded previous version of rom, no boot loop all working... now to read how many steps I need to go through...

P.S. love the rom been working great except for gps.
[Xiaomi Mi 4C] elektrinis:
Damn, this was close. I never read those disclaimers, but this time homehow decided to check what's new. It is way too complicated to continue, for now.
[Xiaomi Mi 4C] kickthefreak:
ok done

flash done, thanks everyone
[Xiaomi Mi 4C] Phlogistol:
Just a suggestion [MENTION=5868201]AndropaX[/MENTION]: why not leave this thread open for the 5.8.1 version that doesn't require the bootloader unlock procedure and make a new thread for 5.8.2? It's quite a drastic change and people will get confused and lock their phones.
[Xiaomi Mi 4C] Sakura_Sa233:
Ok.

We are using RR,and how can we use Mi to unlock bootloader?
[Xiaomi Mi 4C] miklo01:
Camera app has bug in hdr mode - cannot connect to the camera error, when zero shutter lag is off.
[Xiaomi Mi 4C] Avelarius:
EDIT: Solved it myself. After 3 flashes everything works again ^^
[Xiaomi Mi 4C] Fleander:
Bricked phone after last update (20.02.17)
[Xiaomi Mi 4C] Xcited android user:
Read through the most recent posts. You have to flash new miui blobs.
[Xiaomi Mi 4C] slimdick:
Can someone check if we can him to unlock the bootloader of the RR without installing MIUI? Maybe you do not have to log on the phone to your account MI? It can be unlocked bootloader on Resurrection Remix N for MI4C, which now uses the same version of the 7.0 bootloader?

https://mega.nz/#!wVdmyCSA!J05xQqCi2dmQYIdDLg5qw8x4KXVAe2Xk0aDan1JNBvM
[Xiaomi Mi 4C] aeolus777:
on every version of RR on 7 android, i have error with my microphone when using skype or other voip programs. 10-20 min and my partners didnt hear me. How to fix this?
[Xiaomi Mi 4C] cy-rock:
What is it you done ?:cowboy:
[Xiaomi Mi 4C] sammirati:
if I do like this(I have twrp 3.0.2 and last RR5.8.1):

- flash RR5.8.2 and opengapps

- flash new beta blobs

- flash new twrp

- wipe cache/dalvik

- reboot system

- unlock bootloader

is it ok?
[Xiaomi Mi 4C] vafele:
is poor GPS reception problem fixed in 5.8.2 ?
[Xiaomi Mi 4C] luis83rs:
Yes, that's really important. Yesterday I suffered when trying to go to my wife's parent house un México City... The ****ing GPS reception was really bad, losing it all the time :(

Could anyone confirm that it's fixed?

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] omlet:
I switched on Official MIUI for this issue, my gps fix usually take 10-15minutes... Is it the same with you?
[Xiaomi Mi 4C] cy-rock:
Did you try fasterGPS ?
[Xiaomi Mi 4C] luis83rs:
I was using googlemaps and waze, both were losing GPS signal al the time...

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] Alex 9:
Whenever I choose CDMA LTE mode and restart my phone, it can't recognize SIM card anymore and can't get to cellular network settings because i get the error "com.android.phone" has stopped, so I formatted the phone and same error. Any suggestions how to fix it without formating again?
[Xiaomi Mi 4C] cy-rock:
*#*#4636#*#*

Phone information, did you try that there ?

---------- Post added at 05:37 PM ---------- Previous post was at 05:37 PM ----------

I suggest you to install it and try, you can speicify your location therefore select satellites faster.
[Xiaomi Mi 4C] Alex 9:
Yes, I tried that and still doesn't work

Could blobs be the issue?
[Xiaomi Mi 4C] cy-rock:
No clue, did you try to put back your sim card properly in your phone? ..sometimes its that easy :)
[Xiaomi Mi 4C] likhon02:
1. Flash the new RR build and gapps

2.flash the new beta blobs

3. Wipe cache reboot to system

4. Reboot to fastboot and unlock bootloader officially

5. Flash twrp 3.0.3.1

Done !!
[Xiaomi Mi 4C] gumelaragum:
Info : to go to recovery mode in latest build 20170220 after updated, just vol up + power button, it can go to twrp in my phone...
[Xiaomi Mi 4C] Alex 9:
I know it's silly but where can i find blobs
[Xiaomi Mi 4C] likhon02:
https://www.androidfilehost.com/?fid=457095661767138866
[Xiaomi Mi 4C] Alex 9:
Thanks!
[Xiaomi Mi 4C] luis83rs:
Yep, It did the trick, I've just used Waze again to go somewhere in the city to have lunch and the phone didn't lose GPS signal at all! :good:
[Xiaomi Mi 4C] cy-rock:
I'm happy to hear that worked :laugh:
[Xiaomi Mi 4C] vafele:
is GPS problem in all RR versions really only about satellite selection?

Because using CM13.1 i have not experienced one signal lose driving daily with waze for like 3 months, where on RR i get like ~5 signal loses in a week.

Just to be more clear, the problem is not initial signal lock when starting GPS app, the problem is signal loss over time.
[Xiaomi Mi 4C] Danny94:
If you have gps problems you can also try to add this line into your build.prop (root needed). I didn't tried but did on some mtk devices.

dalvik.vm.execution-mode=int:fast

after:

dalvik.vm.stack-trace-file=/data/anr/traces.txt

Save and reboot.

It's delivers gps data faster into applications (+ less jumps, maybe less drops). Maybe it uses a bit more juice. But it doesn't help to get more satellites, or a faster fix. For that you have to edit your gps.conf or just use faster gps.

[MENTION=8044362]vafele[/MENTION]

On AICP me is using all satellites too and gps is fine. Baidu - glonass - gps.
[Xiaomi Mi 4C] vafele:
Thanks for a tip Danny, will try it out.

AICP i dropped(like many others) because of data transfer problems to PC

Also i was woundering, if i unlocked my bootloader the unofficial way, can i still install 5.8.2 ?

Im aware i will end up with locked bootloader, but will the ROM work fine with that?

i can still unlock it again by flashing old china dev rom using dl mode when in need, right ?
[Xiaomi Mi 4C] mradermaxlol:
You can try booting into fastboot and running the unlock commands from your PC and flash stuff after that. Personally, I've done it myself, and it worked, although I just had my bootloader unlocked from the very beginning X)

What l've done:

1) Reboot into fastboot mode

2) "fastboot oem unlock" or something like that, I don't remember

3) Reboot to TWRP

4) Flash new blobs

5) Flash recovery

6) Reboot

It worked for me; the BL's (still) open, newer blobs are in use, recovery mode is usable, RR 5.8.2 works flawlessly after a dirty flash :)
[Xiaomi Mi 4C] rtk217:
1. If my phone had no bootloader lock (it was bought and received a couple of months before xiaomi decided to lock the bootloaders) will the RR 5.8.2 lock my bootloader?

2. I have teamsuperluminal twrp 3.0.2 can I continue use it or do I have to use andropax 3.0.3?

3. Will XOSP Also have thihs boot locking issue in its next release?
[Xiaomi Mi 4C] CR7forever:
bug

Hello, I have the flash blobs 7.2.9 and I have no access to the recovery or the fastboot of the least when I press the keys to start fastboot mode no problem but after a few seconds It restarre on the screen mi then goes out I reinstall the drivers adb but nothing to do someone could help me:confused:
[Xiaomi Mi 4C] sammirati:
done!

i didn't need to unlock my phone before flashing new twrp

only problem i found was sim not recognized

restarted the phone and was ok

thanxs
[Xiaomi Mi 4C] ErissonBarb:
After flashing ROM 5.8.2, the installation does not finish! The logo of the MI appears but the ROM does not start. How should I solve it? (I already unlocked the bootloader)
[Xiaomi Mi 4C] Johnny Wild:
Same problem :(
[Xiaomi Mi 4C] Izziy:
Same here. Wipe and install previous version

EDIT: New version needs new bootloader.
[Xiaomi Mi 4C] cy-rock:
With all my respect to the OP [MENTION=5868201]AndropaX[/MENTION] , a guide on how to flash 5.8.2 would be a nice ( in the 1st post i guess), especially that it's easy to lock again the bootloader or get some different behavior flashing it.
[Xiaomi Mi 4C] jfjfyap:
Hi, I just did a clean install on the lastest ROM + OpenGapps (mini), flash the latest MIUI firmware posted here on my Mi4c.

I keep getting this 'com.android.phone has stopped' non-stop error message. Any idea?
[Xiaomi Mi 4C] FredericChopin:
Try going to settings>applications, choose to show also system processes and scroll to "contacts" open it and choose "clear data" - then go back to "contacts storage" and do the same thing.
[Xiaomi Mi 4C] kodbz:
Hello, my mi4s aqua, the bootloader has been unlocked unofficial, and is with RR-N-v5.8.1.

Can I follow the steps below?:confused:

1. flash the new RR-N-v5.8.2 build and gapps

2. flash the new beta blobs

3. flash twrp 3.0.3.1

Thanks
[Xiaomi Mi 4C] kickthefreak:
flashing 5.8.2

remove all locksreen from setting

boot to recovery

install miui update from andropax link 40mb

flash RR 5.8.2

boot to system

unlock bootloader (official)

flash twrp using adb fastboot

thats it.
[Xiaomi Mi 4C] cy-rock:
that official unlock bootloader that I'm waiting for ages :cyclops:

thx for the infos
[Xiaomi Mi 4C] kvbb:
easy to say, 50% issue :crying:
[Xiaomi Mi 4C] kickthefreak:
yes i heard some user always failed at 50% but anything fine with me,

i hope you guys success with upgrading to 5.8.2

cheers
[Xiaomi Mi 4C] cy-rock:
that 5.8.2 is a heart breaker
[Xiaomi Mi 4C] Plunato:
Hi! I'm using N 7.0 from xiaomi.eu. I already unlock the bootloader and install 3.0.3 twrp. I have to install the blobs from andropax?
[Xiaomi Mi 4C] miklo01:
No. Just flash new RR.
[Xiaomi Mi 4C] aRnonymous:
Does official mi unlock take several weeks? Are there alternative methods? I just want to update to newest version of RR. Can i request unlock in advance.

I appreciate the effort you put into all this andropax, but the above message is quite unclear IMO, while it has important effects. Usually i expect a simple update to be straightforward.
[Xiaomi Mi 4C] likhon02:
Yes it takes several weeks..no there are no alternative as alternative requires you to downgrade .. and its quite straightforward

---------- Post added at 09:34 AM ---------- Previous post was at 09:31 AM ----------

You have to wait 12-20 days after xaomi confirmation .. gone through this phase last year...
[Xiaomi Mi 4C] vafele:
be aware that even when xiaomi approves bootloader unlock, massive amount of people still cant do it because of random errors. google "unlock stuck at 50%"

i am one of those people who tried every tip on the internet without succes. that is why i onlocked my bootloader unofficial way by flashing in dl mode old china dev rom
[Xiaomi Mi 4C] robbse:
Same here. Without a safe option to re-unlock the bootloader I'm afraid of installing this update and have to stick with my current version...
[Xiaomi Mi 4C] likhon02:
I was one of those people.. after getting confirmation message i was stuck at 50% error tried everything on internet at last i ended up xaomi's forum from there some one told me i have to wait another two or three weeks as they have to update their server... So don't worry it will take some time but it will surely work if you have applied for it just give it some time till then use older version of rr...
[Xiaomi Mi 4C] mesziman:
So the new blobs are locked to the bootloader in some ways so it cannot be extracted and installed seperately? sad.

If I choose to upgrade can I simply flash an old miui version to reset old bootloader?
[Xiaomi Mi 4C] Soptq:
Any one has a battery problem? My battery level Drops from 50 to 0 in 1 sec.Is it a Software problem or a hardware problem?Do I need to buy a new battery to replace? Or just wait for the next software update.
[Xiaomi Mi 4C] Breunich:
Same here... After a manual reboot the phone shuts down, 0% battery. Connected the charger, jumps from 0% to 50%.
[Xiaomi Mi 4C] Cozzmy13:
I posted a commit that fixes this a few pages ago. It's up to [MENTION=5868201]AndropaX[/MENTION] to include it.
[Xiaomi Mi 4C] NoOneLt:
Last update killed my phone :( Going to another ROM
[Xiaomi Mi 4C] kvbb:
yes, this method still will be working https://xdaforums.com/mi-4c/general/guide-unlocking-mi4c-bl-verification-t3336779
[Xiaomi Mi 4C] Breunich:
I updated to RR 5.8.2. Phone does not boot. Needed Firmware Update. So far so good. Now I wanted to flash Gapps via TWRP, since I have not used GAPPS for a month. No TWRP anymore. From the locked bootloader I have only now learned. **** happens.

Have I understood that correctly? In order to use RR 5.8.2 with the new firmware including TWRP, I have to officially unlock the bootloader with help from Xiaomi?
[Xiaomi Mi 4C] Kohba:
RR-N-v5.8.2-20170220-libra-Official.zip did not work for me. After install bootloop. I stay in previous version.
[Xiaomi Mi 4C] Breunich:
https://xdaforums.com/showpost.php?p=71114622&postcount=1196
[Xiaomi Mi 4C] kvbb:
yes

you must follow this steps
[Xiaomi Mi 4C] Jacharcus:
Hello there! I just have one question. I have installed the 5.8.2 update and the firmware update and I now have a locked bootloader. I have previously unlocked the bootloader using the fastboot oem unlock command as I have bought the phone with a MIUI version that I had been customized to support European languages.

Anyway, I have now applied for unlocking permission from Xiaomi and I am waiting for confirmation. My question is: As far as I understand, in the official unlocking process, they check that the account that you use for unlocking is the same as the one you use on your phone. What will happen considering that I do not have MIUI installed on my phone and as such, no Xiaomi account on it that they can check?
[Xiaomi Mi 4C] likhon02:
There is no such restrictions i am on rr 5.8.2 unlocked using official miflash unlock..
[Xiaomi Mi 4C] cy-rock:
just got my official unlock code and never used an MiUi rom so no worries!
[Xiaomi Mi 4C] SLUG4NG:
Delete
[Xiaomi Mi 4C] ViTAMiNCHEG:
Installed without any problems. Previously I was using CM13 TS with 5.1 bootloader.

I did everything without the need to unlock my bootloader for the second time.

1. Flashed n firmware provided by andropax before. NO REBOOT

2. Flashed twrp 3.0.3-1 by andropax. Select install image and the choose "recovery". Then select REBOOT and choose recovery.

3. Mount SYSTEM partition, go to WIPE and select Dalvik, SYSTEM, DATA, CACHE.

4. install RR rom and after that GAPPS. REBOOT.

My Mi4s remains unlocked. In the early beginning I unlocked my phone officially by miui
[Xiaomi Mi 4C] droid_m@:
I exactly followed your steps starting from you same conditions. additionally I flashed SuperSU 2.79 after gapps.

I also have access to the TWRP 3.0.3 even with locked boot loader.

Now just have to officially unlock with mi flash, but there is really no need since recovery already works perfectly!

Thanks for your suggestion!
[Xiaomi Mi 4C] Matrixie:
This is all quite confusing, but I think I've got my head round it. Maybe someone could correct me if I'm wrong!

I'm currently running RR 5.8.1 (20170121). I've got an unlocked bootloader, but I'm not sure what version it is (some version of Fastboot), and TWRP 3.0.1 I think.

So to update to RR 5.8.2:

1) I must flash the newest TWRP version, and then the blobs that AndropaX has linked to in this thread, using the new TWRP I have previously flashed.

This will result in my bootloader being locked again, and TWRP will be removed, meaning I won't be able to flash anything else in future until I unlock my bootloader. However, I must unlock the bootloader through MIUI's official channels, rather than any unofficial method. However, whichever way I unlock the bootloader, I will lose all data on my phone, including apps/personal files etc. Only once the bootloader is unlocked can I install TWRP again and be able to flash updates etc. Then I can restore backups of all my lost data etc.

Unless I'm wrong, that's just too much hassle and time for me to be able to justify updating. I love Resurrection Remix because it's a great ROM, simple and easy to update and easy and quick to install. Maybe that's changing which would be a real shame, AndropaX's work is too good for it to be difficult to access! I hope someone can help me out here, otherwise I'll just be sticking on 5.8.1.
[Xiaomi Mi 4C] nachtwacht:
Good question from Matrixie....

Will future versions also lock the bootloader or is there a chance that future versions will not do that ? I have 4 MI4C's and just don't want to go through all that hassle if in a few weeks time there is going to be a version that is not locking the bootloader...

so very curious if anyone has any insight into future development concearning locking the bootloader.

tia !
[Xiaomi Mi 4C] Xcited android user:
All new version will be based on miui blobs as andropax said, meaning that it will lock the bootloader.
[Xiaomi Mi 4C] nachtwacht:
Clear, thanks !
[Xiaomi Mi 4C] AndropaX:
Stop spaming about new bootloader guys. Xiaomi started shipping locked bootloaders over year ago and that was easy to expect that in some time we need new bootloader and it's only your fault that you used unofficial method to unlock it...

Wysłane z mojego Mi-4c przy użyciu Tapatalka
[Xiaomi Mi 4C] Cozzmy13:
For a lot of us the bootloader already came unlocked by the re-seller.
[Xiaomi Mi 4C] fixxxer0512:
new build );)
[Xiaomi Mi 4C] cy-rock:
Doea 5.8.2 has a better GPS ?.. the 5.8.1 is driving me banana in Europe even with faster GPS
[Xiaomi Mi 4C] kickthefreak:
flashing new build

- flash fw blobs

- flash rr 5.8.2 xx25

- reboot recovery

OK
[Xiaomi Mi 4C] Kevalvino:
How is the battery? Is there battery percentage misreading bug?
[Xiaomi Mi 4C] neolibra:
In last two builds (2-20, 2-25), "EVERY TIME" I open apps (like gallery) they ask denied permissions again.

What should I do?

I have 7.2.16 fw, and clean flash.
[Xiaomi Mi 4C] Grantas20:
Awesome rom. Especially coming from miui.

I need some help tho. I flashed a zip with a google camera (which doesn't work) and lost the camera that came with the rom. Then I deleted the faulty camera I installed leaving me with no camera.

Tried flashing this rom again but the camera is still gone. Maybe someone has a flashable .zip with a camera from this rom?

Thanks.
[Xiaomi Mi 4C] fixxxer0512:
In the new assembly there was a problem with the video recording.

The bug manifests itself when a video, about 25 seconds. Picture stops, but the timer keeps going.

As they say on the forum 4PDA, this bug is present when using any camera app.

:)
[Xiaomi Mi 4C] miklo01:
The same here.
[Xiaomi Mi 4C] b-tzu:
Hello !

Very good ROM, happy with it.

But, I can't boot after power off... boot loop (the RR logo turn and turn...)

What can I do ? Yesterday same problem, had to wipe data....
[Xiaomi Mi 4C] Alex 9:
I can't unlock my bootloader now, it says 'couldn't verify the phone'
[Xiaomi Mi 4C] kvbb:
I have the same problem.
[Xiaomi Mi 4C] sebaxtianrg:
Same here. Does anyone know how to unlock it without installed miui rom? Yes I got the official permission today.

---------- Post added at 04:23 AM ---------- Previous post was at 03:43 AM ----------

Where are you located? I've read that it could be related to some region ban. Using a VPN could solve the problem.
[Xiaomi Mi 4C] Dona55:
Wifi and hotspot not working build 0225
[Xiaomi Mi 4C] drorb:
Unlocking a bootloader which is already unofficially unlocked

Before updating to 5.8.2, is it possible to officially unlock a bootloader which is already unofficially unlocked?

I currently have 5.8.1 installed with unofficial unlocked bootloader and the reason I'm asking this is because I would like to make sure I can boot into fastboot and re-flash in any case of 5.8.2 update failure, also I'm afraid to get the 50% error during Xiaomi unlock process and remain without the option to update the phone/ boot into fastboot or recovery.

Thanks in advance.
[Xiaomi Mi 4C] sixday:
When will the automatic profile switching performance?
[Xiaomi Mi 4C] neosickle:
Thank u! So fast and responsive... Better than miui!
[Xiaomi Mi 4C] Dona55:
Perhaps my bootloader not yet unlock, so wifi and hotspot not working
[Xiaomi Mi 4C] vuckiez:
So guys, I didn't know some notice about 5.8.2 version, I was just directly installing 5.8.2 without the fw update, and failed to boot, and then I went back to previous version, but no matter how I cannot get root access. Is my phone got bootloader relocked?
[Xiaomi Mi 4C] Ajnomono:
How to use it

272/5000

I still do not understand, I'm now currently Rom Sai RR-N-v5.8.1-20170214-libra-Official.zip now I will have to do so on the RR-N-v5.8.2-20170220-libra- Official.zip, I'm using TWRP -3.0.2-libra.img, and unlocked bootloader unlocked not through mi unlock

thank you very much:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
[Xiaomi Mi 4C] Kevalvino:
Flashed latest 0225 yesterday and really smooth performance, but the ram usage always full, i mean, it's literally eats 1.8gb of my memory. Wth is this? I didn't face this on any other rom