FORUMS

[GUIDE] [Mi 4] Fix sensors not working!

732 posts
Thanks Meter: 181
 
By userprince, Senior Member on 26th November 2015, 03:26 AM
Post Reply Email Thread
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

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

Things you need

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 Hurray!! Your sensors will be working again

Enjoy!

Thanks to @satvikvg (for new partition name)
The Following 8 Users Say Thank You to userprince For This Useful Post: [ View ] Gift userprince Ad-Free
26th November 2015, 03:26 AM |#2  
userprince's Avatar
OP Senior Member
Thanks Meter: 181
 
More
Reserved uploading files......
26th November 2015, 04:34 AM |#3  
Member
Thanks Meter: 27
 
More
Even the IR Blaster? my ir blaster works only with xcelerate kernel and omni rom. 😅
26th November 2015, 05:09 AM |#4  
userprince's Avatar
OP Senior Member
Thanks Meter: 181
 
More
Quote:
Originally Posted by Nigam666

Even the IR Blaster? my ir blaster works only with xcelerate kernel and omni rom. ��

Yep it will fix Ir blaster too
Make sure your kernel is set to Permissive
The Following User Says Thank You to userprince For This Useful Post: [ View ] Gift userprince Ad-Free
26th November 2015, 07:59 AM |#5  
Senior Member
Flag Kolkata
Thanks Meter: 194
 
More
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?
26th November 2015, 09:08 AM |#6  
userprince's Avatar
OP Senior Member
Thanks Meter: 181
 
More
Quote:
Originally Posted by 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?

This is for all roms on Mi4.
The Following User Says Thank You to userprince For This Useful Post: [ View ] Gift userprince Ad-Free
26th November 2015, 04:10 PM |#7  
Junior Member
Thanks Meter: 3
 
More
I tried in my Mi3, but not work...



But thanks for your effort!!!



Enviado desde mi MI 3W mediante Tapatalk
26th November 2015, 06:24 PM |#8  
Senior Member
Flag Kolkata
Thanks Meter: 194
 
More
It would be amazing if it come already inolemented on all custom Roms wont it be?
26th November 2015, 07:36 PM |#9  
userprince's Avatar
OP Senior Member
Thanks Meter: 181
 
More
Quote:
Originally Posted by shabtab

It would be amazing if it come already inolemented on all custom Roms wont it be?

No it cannot be implemented in a Rom.
26th November 2015, 07:37 PM |#10  
userprince's Avatar
OP Senior Member
Thanks Meter: 181
 
More
Quote:
Originally Posted by dantegtr

I tried in my Mi3, but not work...



But thanks for your effort!!!



Enviado desde mi MI 3W mediante Tapatalk

Sorry to hear that but right now it is only for Mi4.I'll try to arrange Mi3 file soon
26th November 2015, 08:56 PM |#11  
Member
Flag Mumbai
Thanks Meter: 9
 
More
Has anyone tried it? step counter and significant Motion Detector works?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes