yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG V10 General] Amd4life:
Hope it includes an update to the Bluetooth software. I still can't get audio to play through my two Kenwood decks
[T-Mobile LG V10 General] vexter777:
still haven't gotten the update for T-mobile :(
[T-Mobile LG V10 General] Bootup:
Because, ya know, its not out yet. The picture just said that it will be coming one day..soon..maybe..
[T-Mobile LG V10 General] SpartanVissepo:
Hopefully this update will include the same speaker sound set up of the LG G4, im almost positive that the sound quality can be fix ota.
[T-Mobile LG V10 General] jbraft:
Be nice if Verizon gets the update out too, even-though my print scanner is working with my case....
[T-Mobile LG V10 General] jcnbama:
Sucks if you're rooted. The OTA won't come through.. I wonder if there will be a way to flash it manually... Maybe... :confused:
[T-Mobile LG V10 General] mikeyinid:
There will be ways to update if you're rooted.

The thread title made me think the update was incoming. Was a little disappointed when I came in here to see info everyone pretty much already knew :-/
[T-Mobile LG V10 General] djbiggzmiseh:
I'm here waiting, if u goto wait too long I will go back to galaxy
[T-Mobile LG V10 General] siraltus:
Ok, thanks for letting us know. It was very important for us to know this.
[T-Mobile LG V10 General] Rydah:
I don't know if this is funny because I just went through an ounce of some very high graded THC or this is just funny but thanks.. ???

Sent From My LG V10
[T-Mobile LG V10 General] siraltus:
It's just funny, but the ounce makes it moar funny. :cool:
[XDA Assist] cliffbigred:
I have a stock unrooted Motorola nexus6 that is currently running lollipop 5.1.1 build LZY28N. I am using the AT&T straight talk sim card. I cannot get it to update to marshmallow. ive been considering unlocking the bootloader and flashing it myself, but I don't know wich build to download. from what ive gathered the LZY28N build is tmobile build. I also seen somewhere that I need to download build MRA58K. I have downloaded this build but have not proceeded because I'm not sure if it is the correct build. I want to get an official build as to not screw up my new device. I recently had a one plus one running cyanogen 12.1 and it was crashing a lot and I'm trying to prevent this from happening to this phone. anyone out there have any info for me? I know how to unlock bootloader, root,install twrp, and flash. I just need some direction as to what build to flash and have everything go as smooth as possible
[XDA Assist] Primokorn:
Hi,

Thanks for writing to us at XDA Assist.

You can post your question in your device forum help section to get further help:

Noob Friendly Q and A Help Thread

Good luck!
[Mi 3 General] userprince:
So i guess you are here because your sensors are not working after flashing certain Rom or Kernel Right? :(

But Don't worry I'm here to help you :D

NOTE: If you are on new partition table (i.e if you flashed miui mm) use this partion name "mmcblk0p21"

Things you need

Root Access

Terminal Emulator

persistnew.img

Open terminal emulater app and type

su

dd if=/dev/block/mmcblk0p22 of=/sdcard/persist.img

Then you will get the persist.img file on your storage. copy and take it on a safe place... Like on OTG Drive or On PC...

Now copy the downloaded "persistnew.img" file to Internal storage and on terminal emulater app type

dd if=/sdcard/persistnew.img of=/dev/block/mmcblk0p22

Now Reboot... Now check your sensors with "Sensor Box" app on play store :fingers-crossed: Hurray!! Your sensors will be working again :highfive:

Enjoy! :o

Thanks to [MENTION=4789472]satvikvg[/MENTION] (for new partition name)
[Mi 3 General] userprince:
Reserved uploading files......
[Mi 3 General] Nigam666:
Even the IR Blaster? :D my ir blaster works only with xcelerate kernel and omni rom. ?
[Mi 3 General] userprince:
Yep it will fix Ir blaster too :o

Make sure your kernel is set to Permissive
[Mi 3 General] shabtab:
Is this for CM or MIUI? I know there are lots of sensors not working CM, will this enable all sensors on CM, or this is just for those who revert back to MIUI after using some Custom Roms and Kernels and found some sensors not working?
[Mi 3 General] userprince:
This is for all roms on Mi4.
[Mi 3 General] dantegtr:
I tried in my Mi3, but not work...

But thanks for your effort!!!

Enviado desde mi MI 3W mediante Tapatalk
[Mi 3 General] shabtab:
It would be amazing if it come already inolemented on all custom Roms wont it be?
[Mi 3 General] userprince:
No it cannot be implemented in a Rom.
[Mi 3 General] userprince:
Sorry to hear that but right now it is only for Mi4.I'll try to arrange Mi3 file soon
[Mi 3 General] ianuragsharma:
Has anyone tried it? step counter and significant Motion Detector works?
[Mi 3 General] digiboy1:
Can this fix GPS problem as well?

UPDATE

I flashed.... And no, it doesn't fix it.
[Mi 3 General] userprince:
It depends on your Rom and Kernel. Try using stock miui or official CM12.1
[Mi 3 General] digiboy1:
I am using Official CM12.1 only, with stock kernel. GPS is broken in that for Mi 4W, and this fix also does not work, I'm sorry.
[Mi 3 General] userprince:
your GPS works on Stock Miui?
[Mi 3 General] Duron23:
CM 12.1 Stock Kernel.

This does not fix Gyroscope and Temp sensors on CM 12.1 Stock Kernel.
[Mi 3 General] digiboy1:
Yes it works.
[Mi 3 General] userprince:
Than it is your Rom bug
[Mi 3 General] Lennoard:
Any chance it work on Xiaomi Redmi 2?

We' got the same problem on Custom ROMs

If not, can you help us? :3
[Mi 3 General] userprince:
I can but i need a person who has working Redmi 2 and has some technical info. Your Redmi 2 is working?
[Mi 3 General] Lennoard:
Yes, thank you

Mine is working :good: (What you mean with "Working" :v ?)

Which are the steps? :cowboy:
[Mi 3 General] userprince:
Download this app : https://play.google.com/store/apps/details?id=ma.wanam.partitions

Backup your persist partition and also mention exact partition no. for same.
[Mi 3 General] Lennoard:
mmcblk0p25

Here's the partition

https://drive.google.com/file/d/0BxSyFhLEi8whVGRQSU1WYnZVWEk/view?usp=docslist_api

Usually we use get partition by name not dev/block/....

But I have no sure.
[Mi 3 General] userprince:
No what was written right side of Persist on the app. Something like this mmcbl9kp2
[Mi 3 General] Lennoard:
Man, is there, first thing i typed :| '–'

mmcblk0p25
[Mi 3 General] userprince:
Sorry my bad. Okay I'll make a guide for same.

Edit:your sensors are working?
[Mi 3 General] Lennoard:
In MiUI all are fine

But in some custom ROMs depending on the Redmi2 model it doesn't.
[Mi 3 General] userprince:
for other people's sensors work on custom Rom?
[Mi 3 General] Lennoard:
Yes, There's a variant which cause trouble to Developers...
[Mi 3 General] satvikvg:
PERSIST in Mi 4 after repartition

Kindly Note this:

After repatriation the PERSIST partition changes to mmcblk0p21 in Miui 7 6.1.14 Beta Marshmelow

EDIT: mmcblk0p22 no longer works if you guys have Re partitioned for Marshmelow
[Mi 3 General] mdfarazb2:
Download link not working...
[Mi 3 General] tjahjo.djoko:
yes, its working for me, with MIUI MM, use partition mmcblk0p21. thank you
[Mi 3 General] mdfarazb2:
Ya it's working forgot to report... it's working fine...
[Mi 3 General] kennethkee93:
can someone upload a working persist file for Mi3?

edit: got the persist file from my friend, it's working with the latest MM China Dev rom.

download the file here, (FOR MI3 only)

https://mega.nz/#!G89BwLgK!H78yTQuFdD2wnJx881itmsZKX1ipgI7FumBsqay4uW0
[Mi 3 General] rxl.noir:
Actually guys, if you still have a fastboot ROM for your device, you can flash the persist.img from the fastboot ROM folder directly using fastboot to fix this problem.

fastboot flash persist persist.img

Haven't tested it using different OS source, but just to be sure though, always use the same persist.img for same OS gen (from KK fastboot to all KK ROMs, from LP fastboot to all LP ROMs, you guys get the point).
[Mi 3 General] kennethkee93:
It works with different OS source, the persist file is from android LP and it works with my phone on android MM.
[Mi 3 General] rxl.noir:
Phew, then it shouldn't be a problem... But try using the latest persist.img from MIUI MM.

IDK what had been changed, but for Mi3, the persist.img from KK fastboot and MM fastboot has different md5 hash. Maybe some updated sensor driver, IDK.
[Mi 3 General] rajumack07:
Yes, that's true. I found there is difference in size of files based on Android version. Previously, I tried the MM version on CM12.1 and it went to bootloop. But the one shared by [MENTION=5728424]kennethkee93[/MENTION] worked.

Edit: As I am on merged partition with CM12.1, I had to use "mmcblk0p21" partition.
[Mi 3 General] rxl.noir:
So the MM's persist got LP ROMs to bootloop?

Hmmm... Seems like the persist.img from KK is probably still used for LP ROMs (since there's no MIUI LP for Mi3).

I think it's better to have persist from KK for KK and LP ROMs, while MM for MM ROMs only. Just in case against any bootloops.

Here's both of them, extracted from v6.5.3.0 Global Stable (KK) and v6.2.4 China Dev (MM). Only flash them through fastboot, since it was from fastboot ROM.

On the matter of the partition layout, it doesn't really matter though, since the difference is only where the persist partition is located.
[Mi 3 General] kennethkee93:
The link given needs access permission.
[Mi 3 General] rxl.noir:
Whoops, sorry about that. Link fixed.
[Mi 3 General] pritesh1712:
It did not work, can you please help me how to get those sensors back to working condition.
[Mi 3 General] rxl.noir:
Here's how;

1. Download the persist.img needed from here for Mi3 (https://drive.google.com/open?id=0BxACi-Z6eGvkQjlFYnhmdjkxWVk). Use persistKK.img for KK and LP ROMs, and persistMM.img for MM only.

2. Download minimal adb from here (http://xdaforums.com/showthread.php?t=2317790). Install it, then launch it.

3. Open the installation folder. Put the downloaded .img file here, in the same folder as MAF32.exe. Rename it to persist.img

4. Restart your device to bootloader. Connect your device.

5. Back to minimaladb's command screen, type:

fastboot flash persist persist.img

Then Enter.

6. Restart your device to system by typing:

fastboot reboot

Then Enter.
[Mi 3 General] pritesh1712:
Thanks bro, I tried a method of persist file but it was different from this. Il try this and let u know.
[Mi 3 General] pritesh1712:
Bro I tried this method but still the sensors are not working.
[Mi 3 General] kennethkee93:
The persist file from fastboot doesn't work on my phone too, both MM and KK.

Try use the persist file link I'd attached page before and use Wanam Partition Backup to restore. The persist file came from a working MI3 and it work for me.
[Mi 3 General] pritesh1712:
I am new to all these stuff, so can you please tell me what to do.

---------- Post added at 05:51 PM ---------- Previous post was at 05:08 PM ----------

I dont know what happened but suddenly all sensors are working. thanks
[Mi 3 General] ildar.kayumov:
Hi, guys. Any updates in that thread? I have Mi3 WCDMA and it looks like no sensors in my phone. Sensor box show me that my phone didn't have any sensors.

I tried to run:

```

fastboot flash persist persist.img

fastboot reboot

```

with persistKK.img and persistMM.img and persist.img from kennethkee93

But nothing was changed.

Maybe I did something wrong?

Thank you.
[Mi 3 General] DutchMan_1990:
[MENTION=4540743]Prince Chandela[/MENTION] [MENTION=5728424]kennethkee93[/MENTION] Why does that happen? any idea!
[Mi 3 General] userprince:
it happens generally when you flash a new kernel sometimes even a ROM.
[Mi 3 General] userprince:
Try it with Terminal. It worked for me.
[Mi 3 General] ildar.kayumov:
ok, i did it, but nothing was changed. I try it to use different persist.img with fastboot and wanaam restore app and terminal emulator, but sensors still are not working. Maybe, it is not software problem, but hardware? How do you think? And what hardware problem can it be? Thank you.
[Mi 3 General] DutchMan_1990:
Alright I found another solution rather than flashing img file. I had installed MIUI china latest fastboot dev ROM and then clean flash new ROM and booyeah!!! that worked.

BEAWARE

before flashing MIUI china latest fastboot dev ROM, it requires merged partition. If you don't know what is MIUI merged partion then please search before proceed
[Mi 3 General] ildar.kayumov:
Hi. Do you mean Mi 3-WCDMA 4.11.21 fastboot（4.4）- md5: 892dbc2e65fea1793558dd4837dbab39 ?
[Mi 3 General] DutchMan_1990:
That will do the job, I guess. But you may get the partition table doesn't exist error if you've extended your partition to 1.2GB.
[Mi 3 General] manideeproyal:
Waiting for an update on Mi3

I'm using mi3 and yesterday i've updated to latest CM13 but the issue is with sensors. None of my sensors are working. Please help me out. Waiting for your response. Thanks in advance.
[Mi 3 General] userprince:
have you tried this guide?
[Mi 3 General] manideeproyal:
no

Hi [MENTION=4540743]Prince Chandela[/MENTION] i din't try this as you mentioned in a reply that "Sorry to hear that but right now it is only for Mi4.I'll try to arrange Mi3 file soon". That's why i din't try.
[Mi 3 General] mdfarazb2:
Persist file for mi3 and mi4 both are same..???
[Mi 3 General] Ferhat78:
Waiting for mi3
[Mi 3 General] ultramal:
please help.

on my mi4 lte (cm-13.0-20160611-NIGHTLY-cancro) I did all the steps but after reboot my phone don´t read the simcard and don´t have any signal... and after reboot the phone show me the next message "to start android, enter your password" that message if after the cyanogen logo, but i don´t had the mi4 with any password =(

how can I restore the phone with the persist.img that i have backup on my laptop?

Well, i found a guide to restore partitions and now my MI4 back to life :)
[Mi 3 General] Jay sharma:
hey which guide should i follow to merge partation

1. by flashing 5.12.17 and the the miui new partation rom

2.https://jrizzoli.github.io/dotfiles/
[Mi 3 General] DutchMan_1990:
Dude I'm on extended partition since lollipop era..:p
[Mi 3 General] SeaSh3ll:
Hi Prince Chandela, I'm using Mi3 and facing the same sensor issue after flashed Dirty Unicorn(MM 6), shall I try it on my Mi3 to solve that sensor issue?

Thanks.

Edited: tried but didn't work on Mi3 so replaced original file, if possible pls make it one for Mi3.
[Mi 3 General] userprince:
use this according if you are on mm Use *mm if you are on kk use *kk file.
[Mi 3 General] SeaSh3ll:
[MENTION=4540743]Prince Chandela[/MENTION] I've tried that too, after replaced MM file sound sensor, cellular network and WiFi hardware stopped working.

I flashed later version of MIUI 8 alpha ROM(MM) then tried DU now everything working well.

Thanks for your support in both thread :)
[Mi 3 General] userprince:
Good to hear everything working now :good:

Enjoy!!! :o
[Mi 3 General] Dona55:
How to fix Magnetic uncalibrate issue.?
[Mi 3 General] mdfarazb2:
My every sensor is working fine but excep proximity....it's not working even after flashing miui8/xiaomi.eu rom...any fix?
[Mi 3 General] arraykun31:
I was try step by step, but when finished i was reboot my phone frezee in lockscren when i want to go Homescreen? anybody can help?
[Mi 3 General] arunon2013:
[MENTION=4540743]Prince Chandela[/MENTION] My device is MI4i after flashing custom rom cm13 my proximity sensor is misbehaving like hell... screen goes black during incoming and outgoing calls.. could you help me? i need persist.img file for my device.. thank you
[Mi 3 General] sajed98:
can anyone please help me? i tried the persist files flash through fastboot but it doesnt work..... i have a mi 3 running cm 13, please help.
[Mi 3 General] mdfarazb2:
Xiaomi.eu
[Mi 3 General] sajed98:
I tried that. Never mind. I fixed it somehow.
[Mi 3 General] sajed98:
Please help! All the sensors are working except proximity. How do I fix this? Please help!
[Mi 3 General] Modernoid:
could you please tell me the way you fix it?
[Mi 3 General] sajed98:
I flashed a persist.img file in this thread, it fixed all the sensors except proximity.
[Mi 3 General] Modernoid:
What tool do you use to flash persist.img?

Wanam partition? Terminal? or Fastboot?
[Mi 3 General] sajed98:
Fast boot.
[Mi 3 General] Modernoid:
Which persist.img do you flash? and could you give me the link please?
[Mi 3 General] sajed98:
This one. [MENTION=5080019]Modernoid[/MENTION]

For me everything works except proximity.
[Mi 3 General] Modernoid:
man, thankyou verymuch!! it's really work!!
[Mi 3 General] sajed98:
Does proximity work for you too?
[Mi 3 General] Modernoid:
Yup, it works pretty well.

Have you tried calibrating it using *#*#64663#*#* ??
[Mi 3 General] sajed98:
Which ROM? CM doesn't have it....
[Mi 3 General] Modernoid:
MIUI.
[Mi 3 General] jesuslg123:
Nice!

I have managed to set it to permissive and it's works, but do I need to set up to permissive always I want to use ir blaster?! Also, whats mean to be on permissive mode? Any kind of risk or similar?

Thank you.
[Mi 3 General] userprince:
No risk. Once you set it to permissive you don't need to do that again until a reboot.
[Mi 3 General] mdfarazb2:
Even on reboot the se Linux mode changer automatically changes it to permissive..?
[Mi 3 General] jesuslg123:
If the app is changed to system app type, permisisve mode won't be required? Make sense?

I have tried to move my IR app to system app, but it's crash because can not find some library.
[Mi 3 General] siabangichsan:
i tried it (Mi4 LTE/CM13), but no luck for me. Sensor still not work sir.
[Mi 3 General] hottracks4:
I'm in the same soup.. How is this not a bug?! I mean, how on earth can your own software (MIUI) kill certain parts of a device you (Xiaomi) manufactured?! Can someone link me to the rooting procedure for MM, build version MMB29M, MIUI 8 Global 6.7.5 Beta.. I've tried flashing the persist.img through fastboot.. I need to try the root way.. I'm ready to downgrade or do whatever.. Please just help me get my phone working.. TIA!
[Mi 3 General] hottracks4:
This worked for me as well. Phew.. Thanks a ton!

Edit: FYI, used this method to Root the latest MIUI 8 Beta and then do the above method - http://en.miui.com/thread-254954-1-1.html
[Mi 3 General] jesuslg123:
After apply the sensors fix, all seems to be working fine except bluethoot, any idea?
[Mi 3 General] Agungfiwi:
can i restore the original persist.img & how to restore it?

because, i got stuck at lockscreen after restore miui rom from twrp!

thank's before!
[Mi 3 General] jesuslg123:
Try restoring MIUI using fasboot image
[Mi 3 General] farchanrifai:
I've tried on Mi4 lte/cm13.0.1 but gyro sensor still doesnt work, the other works fine, how to fix it ?
[Mi 3 General] kingking459:
good thk
[Mi 3 General] 2rndwn4wut:
Ok this one works for me.

1. flash mi3 global developer rom (6.9.15 miui 8)

2. flash twrp-3.0.0-0-cancro-20160309.zip

(not the .img) via miui recovery 2.0.1. rename it to update.zip and place it on root directory.

a. boot into miui's recovery by pressing vol up + power button

b. select english > install update.zip to system.

c. after that press vol up + power to boot into recovery again this time it will boot into twrp and not miui's recovery.

Note: step above can be done via pc using fastboot mode but using the .img version of twrp.

3. flash the the latest version of SuperSU via twrp

4. reboot and check if your mi3 is now rooted by downloading SuperSU app from playstore

5. download CM13 stable version and flash it via twrp. dont forget to wipe and flash open_gapps. i use the pico version.

6. once you have flash cm13 rom on your mi3

a. go to about phone > tap build number until developer options pops up

b. go to developet options > set root access to apps and adb

7. Download Terminal for android from playstore and also Sensor Box for testing our sensors later.

8. Open Terminal and type in the following:

su (prompt appears, just press allow)

su 0 setenforce 0 (enforcing to permissive)

reboot (this will reboot your device)

9. aftet reboot open Sensor Box and check if all sensors are working exept for Temp coz by default it is not supported on mi3

***credits to 2rndwn4wut***
[Mi 3 General] VonZee:
Can somebody upload persist.img from CM14.1 (android nougat) for mi3w? Thank you.
[Mi 3 General] allz.hat:
hmmm, my MI4W goes to infinite boot sequence (bootloop) after applying this fix

currently run lineageos 14.1 june 2017, GaSL kernel, selinuxx permissive with root access.

re-flash to stable global ROM 8.1.2
[Mi 3 General] smiba:
Same issue, Mi3w no sensors working. Tried the presist.img in this thread but no luck

Running LineageOS 14.1, no settings changed clean rom
[Mi 3 General] Leonuu:
Now my mi4w got load loop after trying this. What i should do?
[Mi 3 General] _ParSa_:
Just went back to MIUI 10 from AOSP Android Q. Faced the sensor issue and this thread saved me a ton of time!

Used mmcblk0p21 instead of mmcblk0p22 as you mentioned.
[Mi 3 General] sandaljrpit:
:)

works fine in multirom v9.2.2 stable marshmallow :good::highfive:
[Nexus 6P Q&A, Help & Troubleshooting] gnange:
I'm new to Android. Recently I got a new nexus 6p. I was so confused that whether I have to unlock bootloader or not. Currently I just want to experience the pure Android simply without rooting or changing anything. But I heard a lot about bricked nexus 6 that the device would not be manually fixed if it was not bootloader unlocked before. As I am in China where I have no warranty for my nexus 6p, I have to keep my device safe as possible as I can.

So my question is under the circumstance that I haven't unlocked bootloader or OEM:

How much probability could it be I do nothing but unexpectedly brick the device?

If it is bricked, is it possible to recover it?

Do common nexus 6p users have to unlock bootloader?

Another important thing should be mentioned. Generally I can't access to any service by google in China, so I utilize a proxy tool to get over the great firewall to use google. Is there any experience about the situation like me? I also heard a saying that upgrading nexus 6 firmware by OTA through a proxy tool in China may brick the device, because google can not save the upgrading information of the device for the reason that the proxy IP is not static, then google will push update again, and once you click it, brick.

Puzzled enough...Thanks in advance.
[Nexus 6P Q&A, Help & Troubleshooting] fury683:
I am not 100% certain what you are asking... If you do not unlock the bootloader, you should not be able to brick your device. The only reason to unlock it is to flash a custom ROM (not official from Google) or to flash Google factory images, which it sounds like might be necessary for you being that you are in China and may not receive OTAs properly. This is a process of downloading a file from Google and flashing to your device after unlocking the bootloader.

Your post was not exactly clear partially, but is your phone already bricked and you are trying to recover, or simply asking for your own reference?
[Nexus 6P Q&A, Help & Troubleshooting] gnange:
Thanks for replying. Could you please point out the unclear expressions? And I could edit them.

I have only unlocked nexus 6p bootloader, and the device is running well. I do not understand exactly why I have to do this, I just do it in case the situation described by other nexus 6 users happen to my nexus 6p. So I want to figure out the logic.