yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Q&A, Help & Troubleshooting] Vaseag:
Updates please. I want to replace my battery.

Ps: good? 100sold http://www.ebay.com/itm/252482757101
[Nexus 6P Q&A, Help & Troubleshooting] peef:
I love my 6P, and it's been surprisingly durable, but the OEM battery sucked. I was down to about 4 hours on a good day. I bought an "OEM" replacement on ebay and went through the hell to install it only to find it not much better. One thing I noticed was this "new" replacement suspiciously looked like a used pull. So last week I took a gamble on this one on Amazon: http://amzn.to/2fkxcnf

[IMG="Nexus 6P cell"]http://mindfart.com/pic/?nexus6p-cell[/IMG]

After breaking the back glass lens over the camera once again, I was in like sin, and replaced the cell with this "Cameron Sino" brand unit. I was not very hopeful as this cell is slightly smaller than both the Original and the "OEM" Ebay unit. I also put in a replacement bottom PCB as my USB-C connector was getting a little loose. Also from Amazon: http://amzn.to/2hB217K

Now I get around 2 full days of life! I'm blown away! This is about on par with my wife's Moto Z Play!

HIGHLY recommend all 6P owners bite the bullet and break some glass to install this amazing cell! I think this one performs better than the OEM ever did! The one side effect is that the battery gauge's time estimator still can't figure this out, and shows about 5 hours when I come off a full charge. I've tried several full cycles, including charging with the phone off on the second one. Still only marginal improvement. But it's just an annoyance. The phone will still keep running for a good time even after the estimator shows 0 minutes.

FYI, after doing this job twice, I recommend just breaking the camera lens cover glass. All you end up doing is scratching up the back over if you try to remove it without breaking it, and then you still break it. So on the second try, I just covered it with strong tape and whacked it with a sharp heavy tool, then used the tape to pull off all the pieces of broken glass. The bottom plastic cover comes off easily with just the strong tape and a little persuasion. I was able to remove the phone main chassis from the back cover just by removing the screws from top/bottom and then carefully twisting the body a bit until it came out enough to get a spudger in between the front glass (be careful!) and the back cover.

Amazon also has the camera glass cover for cheap: http://amzn.to/2ugwYnV
[Nexus 6P Q&A, Help & Troubleshooting] JGarrido:
:o
[Nexus 5X Android Development] libnijunior:
​

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/

​

Bar Code Scanner;

Cloned App;

Second Space;

MI Drop;

Viper4Audio;

Image Editor;

MI Cloud;

Battery Saver.

​

VOLTE doesn't work;

Audio Effects settings FC;

Quick Ball settings FC.

​

Download the preparation ZIP and extract it;

Put your cell in fastboot mode;

If you are on Windows click on flash.bat, and on linux type in terminal ". flash.sh" (MUST have FASTBOOT installed);

Download the last ROM Release;

Push the file to your cell and reboot your cell in TWRP;

Do an factory reset (If you are updating, just do an cache wipe);

Flash the downloaded ROM (Don't flash GAPPS, these are included in the package);

Reboot your cell (First boot can take up to 10 minutes).

On setup wizard you may have ONE force close;

Viper4Audio must be on Compatibility Mode;

If you are an Android Beta Tester you must disable Google Play Services notifications.

​

Preparation

ROM

​

XDA:DevDB Information

Miui 8 Nexus 5X 2016/11/19, ROM for the LG Nexus 5X

Contributors

libnijunior

Source Code: https://github.com/libnijunior/patchrom_bullhead

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Based On: MIUI

Version Information

Status: Beta

Beta Release Date: 2016-11-19

Created 2016-11-07

Last Updated 2017-01-05
[Nexus 5X Android Development] libnijunior:
How to ROOT

Download the lastest Magisk for unrooted phones HERE;

Download the lastest PHH's superuser HERE;

Push these two files to your cell;

Reboot on TWRP and flash Magisk;

AFTER flash magisk flash PHH's superuser;

Reboot your cell;

Go to Play Store and install PHH's superuser app;

Be happy.
[Nexus 5X Android Development] libnijunior:
Changelog

201612XX

Fix Touch Assistant app;

Maybe fixed MMS (I can't test it).
​

20161205

Sources Cleanup;

Add Viper4Audio (Must be on Compatibility Mode);

Partially fix call record;

Install GAPPS by default;

Add advanced Power menu;

More under hood fixes.
​

20161128

Turn bullhead into an global device;

Change icon pack to an more complete one;

Fixed navigation bar colors;

Added some regions select;

Removed EMail App;

Updated with last MIUI sources;

Some under hood fixes.
​

20161119

Fixed Themes App

Fixed Google Play Services

Fixed Status Bar Adaptative Color

Updated with last Patchrom Sources​
[Nexus 5X Android Development] catalin habdul:
Well congratulations for porting the ROM.....so we must be on latest 6.0.1 factory image to install the ROM....thanks for your work
[Nexus 5X Android Development] slightpepper:
Omg its happening
[Nexus 5X Android Development] Riskypedia:
It seems I need MM latest vendor, right?
[Nexus 5X Android Development] slightpepper:
Most likely
[Nexus 5X Android Development] gorilla p:
I take it standard GApps packages (i.e. OpenGapps, Banks, Dynamic) won't work?
[Nexus 5X Android Development] libnijunior:
Haven't tested standard gapps, will do more tests and fixes tomorrow... Actually I recommend to download these : http://en.miui.com/thread-356609-1-1.html and don't update Google Play Services...
[Nexus 5X Android Development] slightpepper:
Found a apk on miui site which install the services im gonna try that instead. The gapps FC with google play services all the time
[Nexus 5X Android Development] gorilla p:
Completed factory reset

Flashed ROM, GApps and SuperSU and custom kernel all at once. After about 20 minutes, still stuck at Google screen and phone is warm, so Im not sure what its doing but was taking way too long.

Rebooted, wiped again

Flashed ROM, GApps and SuperSU together. Rebooted and after 15 minutes, its stuck at google screen and phone is warm. Taking way too long.

Rebooted and just flashed ROM and SuperSU as instructed in OP, to see if that worked. It behaved differently this time, its not just sitting at Google screen, Its heating up and rebooting about every minute or so for about 15 minutes and appears to have stopped rebooting repeatedly. Now its sitting at Google screen. Will give it another 15 minutes to see if it completes this time.

.

---------- Post added at 08:33 PM ---------- Previous post was at 08:30 PM ----------

I noticed an error ggiven during the process, but it doesnt stop it. It eventually completed.

Mount: failed to mount /dev/block/platform/soc.0/9824900.sdhci/by-name/userdata at /data: Device or resource is busy.
[Nexus 5X Android Development] cheeser101:
Google Logo Hang Fix

I had this same issue. Here's what you have to do. First make sure you have a clean install of 6.0.1 (latest) then factory reset like it says in the op. Then (without booting into system) flash the zip. It will give the errors but they don't affect anything. After that flash SuperSU (I used 2.78). Now boot. Everything should work this time it will reboot once then show the MI logo. Also, like the OP said, GApps are verrrrry glitchy. I recommend multirom if this is your daily driver. I actually would not recommend GApps the MIUI ones destroy everything and make for a very unpleasant experience.
[Nexus 5X Android Development] Teloon:
Hey bro can i have a mirror link plz :( slow connection
[Nexus 5X Android Development] catalin habdul:
Tha Gapps from nexus 6p miui thread are working just fine for me....
[Nexus 5X Android Development] Teloon:
not bootling ?? O.o why is that??
[Nexus 5X Android Development] argraur:
[MENTION=5178679]libnijunior[/MENTION] Good job M8!
[Nexus 5X Android Development] slightpepper:
You too man! You and the others got the project up and started :cool: wp
[Nexus 5X Android Development] zurik:
Your device run nougat before flashing MIUI?
[Nexus 5X Android Development] dml1851:
Will try! Interesting to taste the MIUI experience to determine if I'd survive with a non stock Google phone in the future (not buying expensive pixel but maybe Xiaomi mi5s)

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Android Development] Bozk:
Not booting, hangs on Miui boot animation.

This is what I did before flash:

1. Flashed stock Android 6.0 from Google (mda89e)

2. Rebooted

3. Flashed TWRP

4. Rebooted

5. Flashed Miui 8

6. Flashed SuperSu

7. Reboot (hanings almost 30 minutes on Miui boot animation, loading bar on the bottom is runnng)

Did I miss something?
[Nexus 5X Android Development] salim0786:
why is it written in the op -"Do not flash it"..

which all bugs does it have in the latest build

or is it fixed?
[Nexus 5X Android Development] tornido067:
me too ..i have same question ..why not to install ? and what is the bugs you are talking about?
[Nexus 5X Android Development] ErixGamer:
It seems whenever I put in my SIM Card the phone crashes and literally shuts down without warning at all. I'll try to get a logcat
[Nexus 5X Android Development] tornido067:
before setup wizard ? or after setup wizard ?
[Nexus 5X Android Development] ErixGamer:
After you try to activate/unlock it.

And with the setup wizard before. The only way I can finish the setup wizard is if I activate my Mi account which doesnt work because it freezes the whole phone. To fix it, simply remove the SIM Card, then go through all steps.

---------- Post added at 09:03 AM ---------- Previous post was at 08:48 AM ----------

@libnijunior

I tried capturing a logcat as it froze, it seems it freezes as far as you can see, but the background processes are still running. Its frozen for 6 minutes now so I think the logcat should be sufficient.

F.Y.I The logcat was taken on the last ROM dl, fullota.zip

( MD5: 70 cc 3d a7 03 01 8d e5 de 11 89 2d 19 07 c3 dd )

With SIM Card injected, and Wifi and Mi account connected. No other apps installed

Logcat:

https://paste.ee/p/noJdv

(Using past.ee because XDA nor Pastebin will let me upload text files over 512Kb)
[Nexus 5X Android Development] pepa 77:
I have the same problem
[Nexus 5X Android Development] ErixGamer:
Well, for now that can only be fixed by the OP. Unless you dont want to use cellular activities.

Libnijunior, don't feel discouraged because things are going wrong. We love your work and your ROM!
[Nexus 5X Android Development] pepa 77:
the first version works perfectly I returned back. Thank you very much Libnijunior for this great Rom: D
[Nexus 5X Android Development] libnijunior:
Now the second version worked great... Think that my sources was corrupted. Will make some final tests and upload!!!
[Nexus 5X Android Development] mrlollog:
Let me ask you a question: Doesn't root work at all or is it usable and only the prompt is missing?
[Nexus 5X Android Development] tornido067:
I hope it does fix the sim issue ..i want to use my sim card xD btw bro when i press torch the phone is freezing .

Thanks for your really hard work .
[Nexus 5X Android Development] Riskypedia:
Lovin it!
[Nexus 5X Android Development] brian13th:
Noob question here:

The first step of installation says "Download the preparation ZIP and extract it;" Is it flashable ZIP through TWRP or is it something that needs pc to be done?

libnijunior thank you very much for this rom! :D
[Nexus 5X Android Development] libnijunior:
You need PC, it's an .bat file
[Nexus 5X Android Development] brian13th:
Do you know where can i read a "How to.." because i have no idea what is happening?
[Nexus 5X Android Development] libnijunior:
Just wait some minutes... I'm uploading a new functional ROM.

Yesterday I have some problems with the source and SIM Card became buggy, now everything is fixed and how to install updated with some new instructions.

How to is in the main thread, named as "HOW TO INSTALL"
[Nexus 5X Android Development] brian13th:
Of course there is a How To install the ROM, i was just wondering about the first and second step things like "am i suppose to do that on fastboot?" or else what would be the functionality of a .bat file running on my pc and not in my phone?.. I am propably asking stupid questions, but thank you any way!! I'll try figure this out my self! Continue your great work!!
[Nexus 5X Android Development] libnijunior:
Oh, so sorry, haven't understood your question before...

I will have a look on how to install to complement it.

When running .bat your cell must be on fastboot mode, on other steps it's like all other ROM's, just on TWRP.

Sorry if I was rude ;)
[Nexus 5X Android Development] Squarq:
Great! Will flash once upload finishes. Hopefully won't find any bugs, Can't wait!
[Nexus 5X Android Development] libnijunior:
Updated the thread with the link... If it not work is an Google Drive problem. :D

The bugs are specified on main thread, haven't managed a fix for these.

Thanks
[Nexus 5X Android Development] catalin habdul:
So no more simcard related problems ? Thanks for your work
[Nexus 5X Android Development] libnijunior:
Just on the installation process I recommend to keep if of, cause I have an bug on cell activation using it... But after pass it you can put the SIM on and be happy. :)
[Nexus 5X Android Development] catalin habdul:
Thanks
[Nexus 5X Android Development] Bakapo:
When it boots it asks me a code for unlock.. I typed the one i used for cm14.1 and then phone reboots. Someone had this problem?
[Nexus 5X Android Development] martinexa:
Can i flash withouth wipe interna storage?
[Nexus 5X Android Development] libnijunior:
Your phone is encrypted? If it is you must full wipe your cell user data.

If it happen after you connect to the wireless network you must type your xiaomi account password.
[Nexus 5X Android Development] libnijunior:
On most cases you can...
[Nexus 5X Android Development] martinexa:
I download The rom in my phone, now i can flash de vendor with The .bat file, The rom Will not delete?
[Nexus 5X Android Development] libnijunior:
No, the .bat don't wipe anything.
[Nexus 5X Android Development] Bakapo:
I wiped everything.. let's see..
[Nexus 5X Android Development] Squarq:
Okay, new flash successful, now testing for bugs and installing apps. Seems good so far!
[Nexus 5X Android Development] Bakapo:
How did you managed it to work? It just bootloops on my device...
[Nexus 5X Android Development] adrianopolis:
How can we enable the call recording function? I had a samsung s3 and the call recordind in miui worked like a charm. Why the nexus is blocking this?
[Nexus 5X Android Development] Squarq:
I didn't really do anything special. . . I just followed the instructions on the op. The only thing I had to research was that you had to run the .bat file when your cell is in bootloader selection mode. Everything else just kind of worked.
[Nexus 5X Android Development] libnijunior:
I will try to fix it on next release, can be an bug related to audio effects FC... For now the workaround is use an third party app
[Nexus 5X Android Development] datCalata:
Has anyone tried if phh superuser fix no prommpt bug with root?
[Nexus 5X Android Development] Squarq:
Okay, small bug. Settings > Sound & Vibration > Audio Settings leads to a crash upon open.
[Nexus 5X Android Development] libnijunior:
Yes, this is the Audio Effects bug...
[Nexus 5X Android Development] adrianopolis:
What third party app is working on our nexus 5x for call recorder?
[Nexus 5X Android Development] Matoxxi:
for gapps i recommend to use nexus 6p package as they work flawlessly

after first boot simply flash gapps package ,enable usb debugging and launch those commands:

adb shell

su

./data/local/userinit.sh

exit

exit

Then you're good to go ,simply install any keyboard and you're good to go

And if you are in a situation where you can't enable keyboards download vysor for google chrome

from there you will be able to use your pc keyobard to control the device and to download any keyboard from the playstore and enable it
[Nexus 5X Android Development] tornido067:
guys can anyone confirm the last version doesnt have sim bug ?

i mean the phone is not freezing anymore ?
[Nexus 5X Android Development] libnijunior:
Using this method you will have some bugs with special permissions, and you will need an PC. The method posted on main thread is easier and works perfectly with any device.
[Nexus 5X Android Development] libnijunior:
This bug was fixed.

Was just an file corrupted on my repo!
[Nexus 5X Android Development] Matoxxi:
atm no problems and it's working flawlessly
[Nexus 5X Android Development] Squarq:
Anybody get Xposed working? I'm thinking of testing it out, but if somebody's done it, I'll take any info you've got.

*Update - Tested, Leads to boot halt at miui boot screen. Even after reboot still stuck at boot screen after 10 minutes. Might need to be used with Magisk, but I'll test that later
[Nexus 5X Android Development] ErixGamer:
Is it in anyway possible to get Reading Mode/Night Light/LiveDisplay for MIUI because that would just be icing on the cake!
[Nexus 5X Android Development] GBTEK:
"micloud stopped working" error occurs while doing the setup which makes it impossible to finish setup. any workaround for that?
[Nexus 5X Android Development] fnldstntn:
http://xdaforums.com/xposed/unofficial-systemless-xposed-framework-t3485293

Did you triad this?
[Nexus 5X Android Development] Falith:
waiting

flashed, MI logo, waiting for setup, hope it works..:rolleyes:
[Nexus 5X Android Development] pepa 77:
Test the CF. Lumen please ;) http://xdaforums.com/showpost.php?p=51779367&postcount=1
[Nexus 5X Android Development] Falith:
help!

Mi Cloud FC, can i flash the last ROM update without problems?:(
[Nexus 5X Android Development] pepa 77:
Yes no problem
[Nexus 5X Android Development] Falith:
thank u, flashing!:good:

---------- Post added at 04:54 PM ---------- Previous post was at 04:34 PM ----------

flashed last ROM update but MiCloud still FC :(
[Nexus 5X Android Development] pepa 77:
FC micloud for setup wizard?
[Nexus 5X Android Development] Falith:
yes, can't setup cause Mi Cloud FC
[Nexus 5X Android Development] pepa 77:
First change English language in setup wizard ;)
[Nexus 5X Android Development] Falith:
thank youu, working! ;)
[Nexus 5X Android Development] Zox09:
Just installed it on my device and so far so good. Had no issues aside a few FCs of the Google Play Services which now seems to be solved. Thank you so much for your work!
[Nexus 5X Android Development] frenk850501:
Can run on multirom?
[Nexus 5X Android Development] salim0786:
can anyone here tell me how the rom is and what bugs are you facing as i do not want to go thr all 24 pages.

help plz............
[Nexus 5X Android Development] mrlollog:
I just need root to restore my Titanium backups. Anybody tested TB?
[Nexus 5X Android Development] pepa 77:
Hi just read the first page OP

Very nice A.I.R.S.E Deuteronomy 2.3.3 & Dolby Atmos working ;)
[Nexus 5X Android Development] libnijunior:
Probably Yes if miui be the secondary rom.
[Nexus 5X Android Development] libnijunior:
TB is working, Just need to unistall supersu app before use.
[Nexus 5X Android Development] salim0786:
what are the bugs that you are facing
[Nexus 5X Android Development] *ReZa*:
Hi dev.thanks alot for bringing miui for 5x. last time i used miui on my galaxy s1 in 2010 ( galnet miui) and that was sweetest experience among all my android phones i have had and i really want to test it again.but is it good for daily driver? All i need is root+ sending sms , receiving phone calls and applying themes :D
[Nexus 5X Android Development] libnijunior:
It's almost stable, just some force closes in settings like audio effects and the audio record in call. Root is working but don't prompt for permissions.

;)
[Nexus 5X Android Development] libnijunior:
I haven't tried with the stock kernel, but using franco kernel I got 5hr of SOT yesterday.
[Nexus 5X Android Development] libnijunior:
Using these audio mods Audio settings gives you any force close? Thanks :)
[Nexus 5X Android Development] pepa 77:
Yes full I'm happy ;)
[Nexus 5X Android Development] sykomaniac:
Hi. Might be worth while adding this commit in the next build to fix the nav bar buttons not tinting https://github.com/garyyiu2015/miui...mmit/e111401f747c64b257acfe3ee034adc6fbb58f87

---------- Post added at 12:00 PM ---------- Previous post was at 11:59 AM ----------

That repo also has advanced reboot commit
[Nexus 5X Android Development] libnijunior:
Thanks, will apply this to next build.
[Nexus 5X Android Development] shakedmeirx:
looks promising will wait for stable build

by the way how's performance?
[Nexus 5X Android Development] pepa 77:
It is already very stable and Performance : p
[Nexus 5X Android Development] libnijunior:
Navigation Bar now has correct colors!!! Now I will manage some other fixes and mods.

Next build will be released when Android File Host gives me developer access. :o
[Nexus 5X Android Development] adrianopolis:
I hope that call recording it's going to work!
[Nexus 5X Android Development] libnijunior:
Managed Call Recording to work, but don't know if it is working properly. It is just recording the audio from microphone, not from the call too.

I tested it on my Nexus 5 with MIUI Official and seems to be the same thing. Anybody have experienced call record from MIUI on other phones?

:rolleyes:
[Nexus 5X Android Development] adrianopolis:
I had a samsung s3 with miui and the call recording worked just fine
[Nexus 5X Android Development] salim0786:
You can upload it to mega or dev.sh
[Nexus 5X Android Development] salim0786:
when i flash i get device or resource busy. what am i doing wrong?
[Nexus 5X Android Development] libnijunior:
This isn't an problem, just continue the installation.

This is caused because your data partition is already mounted.
[Nexus 5X Android Development] salim0786:
can some one share the apks in that u get in gapps.apk
[Nexus 5X Android Development] Ralf_:
Duvidas de Instalação.

Eai cara,eu vi que você é BR então vou escrever em português mesmo,eu to querendo a tempos instalar essa MIUI 8 no meu nexus 5x ,mas não tinha rom decente para usar ainda.Caso você ja tenha instalado no seu celular me fala quais os bugs conhecidos além dos citados no post e como está a bateria/performance assim você vai me ajudar muito cara.

Abraços.
[Nexus 5X Android Development] pepa 77:
Do you think this?
[Nexus 5X Android Development] jcrutchvt10:
If anyone is having issues with snapchat, I installed as instructed with root included. let it boot and did all setup. Then extracted and flashed the original boot.img in twrp, reboot and login to snapchat. Then re-flashed supersu. There might be an easier way but that worked for me.
[Nexus 5X Android Development] libnijunior:
Os bugs mais relevantes são os do tópico principal, fora aqueles não tem nada muito importante.

A performance da rom está muito parecida com a da stock mtc20k, a bateria com um custom kernel como o franco kernel está razoavel, com 5 horas de tela em média.

Se quiser esperar mais alguns dias o proximo release vai trazer uma rom sem nada em chines e com algumas melhorias.
[Nexus 5X Android Development] salim0786:
no..... the ones we get when we click on the link in the apk
[Nexus 5X Android Development] Ralf_:
Eu estava lendo nos reply anteriores e vocÃª que estÃ¡ com com build nova, sÃ³ esperando permissÃ£o para lanÃ§ar, eu vou aguardar a nova build, mas tem como vocÃª me soltar ela antes?
[Nexus 5X Android Development] libnijunior:
A ROM não está perfeita ainda, eu estou realizando algumas modificações ainda. Quando estiver pronta eu provavelmente postarei ela no meu google drive como esta a ultima build.
[Nexus 5X Android Development] D_e_L:
I have Nexus 5 with MIUI 7 (5.11.5) everything fine with Call Recording from the call.