/*PLEASE HELP*/ guys PLZ - Xiaomi Redmi Note 4 Questions & Answers

I've lost the functionality of all my sensors (sensors like auto rotation,gyro,compass,acceleration,hall etc except proximity are not working) in my Redmi Note 4....
I've googled and found that :;
To bring back the sensors back alive , we should flash persist.img file of our specific device......
I've tried to install via fastboot but it is showing an error like this....
When I type :fastboot erase persist persist.img
Its showing:[remote:erase operation on partition persist is not allowed].......
But my bootloader is unlocked.......
Can't do anything with my phone......
Sensors without mobile is like a man without his ..............heart.....
Please share your help guys........

Try TWRP rom and check.

There is a way bring back all sensors alive but you need to sacrifice miui rom, but in custom rom all sensors works well. COLOROS ROM for RN4 sensor fix file can help you.
If you go back to miui, you will face "This device is associated with an existing Mi Account" problem. If you are OK with this, go ahead.

Try to use MiTool to flash fastboot rom

gaab1998 said:
Try to use MiTool to flash fastboot rom
Click to expand...
Click to collapse
I've done this 5 6 times, but nothing helps.

Tried to flash it via edl method (it well reparation n am sure it might fix it for sure, I'll tell you the exact method to put it on edl mode(works every time I tried)

Related

Bricked RN3 PRO - Locked bootloader and fastboot working fine

I know there are several threads about unbricking RN3 but I didn't find any article that could solve this problem, not even in other forums.
This started when apps were continuously force closing for no reason and I decided to flash a new official ROM (going on MIUI settings) but the problem persisted. So I did that via MI Flash and I had the same result.
As this force closing situation were being more and more frequent I flashed several times different official MIUI ROMS from EDL mode (developer and stable) and then, after one of this times, it just don't start the system anymore, its just keep bootlooping again and again.
I also tried another methods, like flashing updated fastboot ROMS but didn't work out.
Another thing, I've flashed TWRP once but it asked for a password so I couldn't access the files and flash a custom rom and my phone is locked (that xiaomi lock situation). But after that I've restored the original recovery (that appears an image of a unplugged/plugged phone to use with pc suite but it doen't recognize my device).
So, I don't really know what to do anymore.
I didn't even use this phone for a complete year and xiaomi lacks of support in my country and they wont help me, like they replied my by email.
Anyone could help me with this issue?
Thank you, by the way!
Try unlocking bootloader unofficially if can't do officially . Try edl mod
tom jp said:
Try unlocking bootloader unofficially if can't do officially . Try edl mod
Click to expand...
Click to collapse
Actually, I tried to flash a file to do that, but didn't work out. Maybe it's the method that I've used.
Could you recommend anyone?
the simple reason is your phone is soft bricked...
all yoi have to do is flash fastboot rom via edl using mi flash tool... you will find thered relating to it in guide section of this forum.
~peace
adithyan25 said:
the simple reason is your phone is soft bricked...
all yoi have to do is flash fastboot rom via edl using mi flash tool... you will find thered relating to it in guide section of this forum.
~peace
Click to expand...
Click to collapse
Actually, I did that several times... so, that's not the solution
lucasmp.paiva said:
Actually, I did that several times... so, that's not the solution
Click to expand...
Click to collapse
didu done a full wipe via miflashtool?..
adithyan25 said:
didu done a full wipe via miflashtool?..
Click to expand...
Click to collapse
Yes, I did.
Cleaned all and with multiple roms.
lucasmp.paiva said:
I know there are several threads about unbricking RN3 but I didn't find any article that could solve this problem, not even in other forums.
This started when apps were continuously force closing for no reason and I decided to flash a new official ROM (going on MIUI settings) but the problem persisted. So I did that via MI Flash and I had the same result.
As this force closing situation were being more and more frequent I flashed several times different official MIUI ROMS from EDL mode (developer and stable) and then, after one of this times, it just don't start the system anymore, its just keep bootlooping again and again.
I also tried another methods, like flashing updated fastboot ROMS but didn't work out.
Another thing, I've flashed TWRP once but it asked for a password so I couldn't access the files and flash a custom rom and my phone is locked (that xiaomi lock situation). But after that I've restored the original recovery (that appears an image of a unplugged/plugged phone to use with pc suite but it doen't recognize my device).
So, I don't really know what to do anymore.
I didn't even use this phone for a complete year and xiaomi lacks of support in my country and they wont help me, like they replied my by email.
Anyone could help me with this issue?
Thank you, by the way!
Click to expand...
Click to collapse
Hi my friend if you cant mount data in twrp. your internal storage is encrypted by custom rom
to solve your problem
1-format data (not wipe)
2-wipe
system
cache
dalvik cache
internal storage
3-flash(clean all and lock) latest miui rom in edl mod
and if your problem solved tell us
(my english...)
farshad9500gy said:
Hi my friend if you cant mount data in twrp. your internal storage is encrypted by custom rom
to solve your problem
1-format data (not wipe)
2-wipe
system
cache
dalvik cache
internal storage
3-flash(clean all and lock) latest miui rom in edl mod
and if your problem solved tell us
(my english...)
Click to expand...
Click to collapse
I've tried to install TWRP but it needs a password to decript data. So it appears 0mb on everything and shows an error to format, wipe or do anything.
Remember, my device is still locked by miui.
lucasmp.paiva said:
I've tried to install TWRP but it needs a password to decript data. So it appears 0mb on everything and shows an error to format, wipe or do anything.
Remember, my device is still locked by miui.
Click to expand...
Click to collapse
take a picture of data format error and put here
Make sure you have try this:
wipe->format data->type "yes" and ok
also try this command in fastboot mod:
fastboot erase userdata
and remember use latest twrp

Sensor + camera issue..need persist.img urgently

After flashing via twrp I was shown /persist error invalid argument . After doing bit of Google I got To know we need to flash persist.img via twrp to get back my camera and sensor working.
When I flash my twrp nandroid backup of old rom everything works..but when I get back to oos3.1.4 error pops.. rom gets booted everything works apart from sensor and camera.
Everytime I do clean flash so plz don't ask me that..
trendchanger said:
After flashing via twrp I was shown /persist error invalid argument . After doing bit of Google I got To know we need to flash persist.img via twrp to get back my camera and sensor working.
When I flash my twrp nandroid backup of old rom everything works..but when I get back to oos3.1.4 error pops.. rom gets booted everything works apart from sensor and camera.
Everytime I do clean flash so plz don't ask me that..
Click to expand...
Click to collapse
I had the same problem like you and yet can't get back to OOS 3.1.4
That's why I am staying on OOS 2.2.3 forever ... well until I can find a fix...
If you really only need persist.img you can find it in the Mega Unbrick Guides Files although I think this one only works with OOS 2.2.3
Here's the persist.img file from my last nandroid backup. Latest bootloader and all that. https://drive.google.com/open?id=0B3KASUh3N9vVbXphYWRGS2xjNVk
It's not an IMG file but you should be able to put it in a TWRP folder and "restore" it.
Actually i solved my problm in same way.. accidently found persist.img in onplus mini tool and everything went smooth..now no issues in any rom.
pixeldasher said:
I had the same problem like you and yet can't get back to OOS 3.1.4
That's why I am staying on OOS 2.2.3 forever ... well until I can find a fix...
If you really only need persist.img you can find it in the Mega Unbrick Guides Files although I think this one only works with OOS 2.2.3
Click to expand...
Click to collapse
Follow this guide to get away wth ur os 2.2.3..i have faced the same thing to get stuck on 2.2.3
https://forum.xda-developers.com/yureka/general/guide-prisist-error-fix-yureka-plus-t3363342
Hope it helps ...trick is u have to delete persist.img in adb fastboot mode and flash our new persist.img...remember deleting persist.img is imp step...cheers if u get to os 3.1.4
trendchanger said:
Follow this guide to get away wth ur os 2.2.3..i have faced the same thing to get stuck on 2.2.3
https://forum.xda-developers.com/yureka/general/guide-prisist-error-fix-yureka-plus-t3363342
Hope it helps ...trick is u have to delete persist.img in adb fastboot mode and flash our new persist.img...remember deleting persist.img is imp step...cheers if u get to os 3.1.4
Click to expand...
Click to collapse
Well instead of using the Yureka persist.img I am supposed to use the persist.img from the Unbrick Guide, right?
Obviously we have to use files specific fr our device..so download unbrick mini tool package..use that persist.img and flash according to guide mentioned over there....
i want to ask that I'm on resurrection remix 5.8.3 nougat...and I'm facing camera issues like hdr is not working and front camera also not working....anyone help me with it..
pankaj_007 said:
i want to ask that I'm on resurrection remix 5.8.3 nougat...and I'm facing camera issues like hdr is not working and front camera also not working....anyone help me with it..
Click to expand...
Click to collapse
Completlely out of topic here.
Just ask here :
https://forum.xda-developers.com/oneplus-x/development/rom-resurrection-remix-t3507559
First you can upgrade to 5.8.4.
trendchanger said:
Obviously we have to use files specific fr our device..so download unbrick mini tool package..use that persist.img and flash according to guide mentioned over there....
Click to expand...
Click to collapse
Thank you for being so helpful! Gonna try it later this day
pixeldasher said:
Thank you for being so helpful! Gonna try it later this day
Click to expand...
Click to collapse
Problem solved??

Need Help Please..

Guys I've been facing a severe problem in my redmi note 4 sd . The problem is that all the sensors of my mobile are not working like(auto rotation,compass,magnetic sensor,hall sensor...etc)
The story behind this is that I've flashed color os rom(it didn't even booted for me) and after coming back to miui I'm facing this problem.
I've clean flashed a ton times but the sensors are not working....
Please help me friends...
m.shyamsundar37 said:
Guys I've been facing a severe problem in my resume note 4 sd . The problem is that all the sensors of my mobile are not working like(auto rotation,compass,magnetic sensor,hall sensor...etc)
The story behind this is that I've flashed color os rom(it didn't even booted for me) and after coming back to miui I'm facing this problem.
I've clean flashed a ton times but the sensors are not working....
Please help me friends...
Click to expand...
Click to collapse
Do a fastboot flash ..
You should post it in the proper section.
https://forum.xda-developers.com/redmi-note-4/help
I've flashed via fast boot but still im facing the problem
I had this problem for my 'redmi note 3' before. I flashed 'persist.img' through fastboot. Note: that is for redmi note THREE.
m.shyamsundar37 said:
I've flashed via fast boot but still im facing the problem
Click to expand...
Click to collapse
arunak said:
I had this problem for my 'redmi note 3' before. I flashed 'persist.img' through fastboot. Note: that is for redmi note THREE.
Click to expand...
Click to collapse
Help him find the persist.img ,.. Also did you extract that img from fastboot ROM ?
arunak said:
I had this problem for my 'redmi note 3' before. I flashed 'persist.img' through fastboot. Note: that is for redmi note THREE.
Click to expand...
Click to collapse
Is your problem solved now??
m.shyamsundar37 said:
Guys I've been facing a severe problem in my redmi note 4 sd . The problem is that all the sensors of my mobile are not working like(auto rotation,compass,magnetic sensor,hall sensor...etc)
The story behind this is that I've flashed color os rom(it didn't even booted for me) and after coming back to miui I'm facing this problem.
I've clean flashed a ton times but the sensors are not working....
Please help me friends...
Click to expand...
Click to collapse
friend, flash this zip and you will solve the problem of sensors, but I recommend you first do a deep cleaning, then flash this file and then the rom you want
m.shyamsundar37 said:
Is your problem solved now??
Click to expand...
Click to collapse
Yes
Edinsonpol said:
friend, flash this zip and you will solve the problem of sensors, but I recommend you first do a deep cleaning, then flash this file and then the rom you want
Click to expand...
Click to collapse
I'll try it bro and report u
Edinsonpol said:
friend, flash this zip and you will solve the problem of sensors, but I recommend you first do a deep cleaning, then flash this file and then the rom you want
Click to expand...
Click to collapse
Still not sliced...bro thanks for your help
m.shyamsundar37 said:
I'll try it bro and report u
Click to expand...
Click to collapse
Still not solved bro thanks for your help.....
Waiting for a perfect solution....
I've had this sensors problem in my redmi note 4 device, i flashed the fix & it solved all but created a new problem, i can't go back to stock rom.
The "persist.img" file in this fix belongs to someone else RN4 phone. Now I'm stuck with his mi account in my device. It needs his password to unlock. Ur only option is to use custom roms
You can find the persist.img file inside the fastboot zip from here.
It isn't flashed by default with Mi Flash but it's there.
BubuXP said:
You can find the persist.img file inside the fastboot zip from here.
It isn't flashed by default with Mi Flash but it's there.
Click to expand...
Click to collapse
Persist.img file comes with fastboot zip is around 5mb, but actual file size is more than 32mb, i flashed manually the smaller one and phone doesn't boot, keeps restarting in boot logo. I had to flash this sensor fix again to unbrick.
Ondipuli said:
I've had this sensors problem in my redmi note 4 device, i flashed the fix & it solved all but created a new problem, i can't go back to stock rom.
The "persist.img" file in this fix belongs to someone else RN4 phone. Now I'm stuck with his mi account in my device. It needs his password to unlock. Ur only option is to use custom roms
Click to expand...
Click to collapse
OK bro thanks and what if I flash the persist.IMG from the fastboot rom and not from some others mobile??
Persist.img file in fastboot rom is low in size, below 5mb, if you flash it, you get bootloop. Actual size around 32mb. U can see it in the fix file.
The partition on the phone is 32 MB. If the persist.img file is only 5 MB it could mean that the data inside the partition is only 5 MB, it doesn't have to be 32 MB.
Take the recovery partition for example, it's bigger than the size of the TWRP .img file, but it doesn't mean that TWRP file is corrupted.
However, to flash persist partition you need the unlocked bootloader and a modified fastboot.exe version that can restart the phone in EDL mode, and from there you can flash every partition with MiFlash.
Of course, data size of Persist.img partition maybe only 5mb, but after flashing the that comes with fastboot rom, all i got is an infinite bootloop. Even miflash doesn't flash this partition, I've seen it in miflash log file.
I tried to flash the persist image, but it simply refuse to do it, even with MiFlash (you can enable the flashing of persist.img by modifying the .bat file that MiFlash will use to flash).
As I write on my post above, to flash persist.img you need to be in EDL mode, but I didn't tried it personally, so I don't know if it will cause bootloop even this way (but I read of people resolving problems this way, so I don't think it will do harm).

Camera and Sensors Fail after Downgrade from Pie to Oreo?

Camera and sensors all work well on MIUI 10 beta 8.11.15 Pie, as well as Lineage OS 16.
But when downgrade to MIUI 9 or 10 Oero via official MiFlashTool(fastboot) , or Lineage OS 15.1 via TWRP, it says "CANNOT connect to camera". What's more, all sensors do not work in CIT mode (of course they do not work in normal situation).
I think flash MIUI Oreo via official MiFlashTool(fastboot) should over-write all files about Pie, Isn't it?
Any ideas to this strange bug?
My poco has the same symptoms.
I installed the B-S-G camera and it did not work well, so I uninstalled it.
Then, I woke up original camera application, "CANNOT connect to camera" happened.
This phenomenon is similar to Pixel 3, but this one is more serious, coz it will not get better after reboot.
I have another twice try to flash MIUI stable 9.6.18 and beta 8.9.13 (both of them are Oero) via FASTBOOT from beta 8.11.15 (Pie), but camera app still says it " cannot connect to camera ", so can't google camera apps.
Did I forget something important? How to Downgrade from Pie to Oreo? Have any one succeeded in downgrading?
I think it's not hardware broken. Please help me. Thanks
succeeded in downgrading. need flash back a persist.img backup from 8.1 (not persist.img from official .tga fastboot package)
kumoilain said:
succeeded in downgrading. need flash back a persist.img backup from 8.1 (not persist.img from official .tga fastboot package)
Click to expand...
Click to collapse
How did you create your persist.img backup?
MikelFuchs said:
How did you create your persist.img backup?
Click to expand...
Click to collapse
ask your friends for a backup, or you can try mine. make a backup before flash my persist.img.
persist and a twrp(cn default and have English)which can flash persist easily:drive.google
kumoilain said:
"CANNOT connect to camera".
Click to expand...
Click to collapse
have you solved it somehow?
because I have the same problem
onairda said:
have you solved it somehow?
because I have the same problem
Click to expand...
Click to collapse
Try flashing persist partition. See my posts on 2018.11.25 and 2018.11.27
kumoilain said:
Try flashing persist partition. See my posts on 2018.11.25 and 2018.11.27
Click to expand...
Click to collapse
I just flashed version 9.6.18.0 from fastboot, then after installing the recovery "recovery-TWRP-3.2.3-1010-POCO_F1-CN-wzsx150.img" I flashed the file pocopersist8.img in the "persist" partition, despite this the cameras do not work and neither do the gyroscope and accelerometer sensors.
However after trying several persist files a few days ago I found one that runs 3 cameras (except the IR) even though it takes about 15 seconds to boot up, and in any case the sensors still don't work, anyway thanks for trying, I had already tried but I said to myself I try one last time.

HI I just need a QUICK help!!

My Poco sensors stoped working while o was flashing some ROM I don't remember but it was maybe an sGSI.
After flashing alot of vendors on miui or pixel e, iam still facing the same issue.
Any help would really be appreciated
Stock with miflash.....and always backup...lesson learned
seems like persist.img is corrupted!
if you have fastboot rom (miui10.3.7 (2.7gb) , extract it, and further extract it, i will come something 8 gb in total!
inside images folder there will be persist.img
flash that img file, in TWRP /persist PARTITION (BE CARE FUL !!!!!!!!!!!!!!!!)
or better use ORANGE FOX RECOVERY to flash PERSIST.img
then reboot device and check!
if it still doesnt work then use miflasher, and flash this FASTBOOT rom from image folder!
REMEMBER!!!!!!!! don't tick the box, "FLASH ALL AND LOCK" this will relock your bootloader! , simply select "FLASH ALL" button in miFLASHER (down-right)
YasuHamed said:
seems like persist.img is corrupted!
if you have fastboot rom (miui10.3.7 (2.7gb) , extract it, and further extract it, i will come something 8 gb in total!
inside images folder there will be persist.img
flash that img file, in TWRP /persist PARTITION (BE CARE FUL !!!!!!!!!!!!!!!!)
or better use ORANGE FOX RECOVERY to flash PERSIST.img
then reboot device and check!
if it still doesnt work then use miflasher, and flash this FASTBOOT rom from image folder!
REMEMBER!!!!!!!! don't tick the box, "FLASH ALL AND LOCK" this will relock your bootloader! , simply select "FLASH ALL" button in miFLASHER (down-right)
Click to expand...
Click to collapse
mi flash failed to do the job and came out with error. booted fine but sensors still broken.
twrp and orange fox have no persist.img chose when flashing.
anyways thx 4 help. i hope i can get out outta this:crying::crying:
iam using miui 9.6.18 bcz i want oreo
lokixd4x4 said:
mi flash failed to do the job and came out with error. booted fine but sensors still broken.
twrp and orange fox have no persist.img chose when flashing.
anyways thx 4 help. i hope i can get out outta this:crying::crying:
iam using miui 9.6.18 bcz i want oreo
Click to expand...
Click to collapse
according to this video https://youtu.be/JKShaUdpvQw?t=374 its platform file issue,
download latest version from
https://forum.xda-developers.com/android/software/tool-platform-tools-adb-fasbootdrivers-t3061441
extract platform folder, put FASTBOOT FILES of MIUI rom in Platform folder and then try flashing
also
put everything in root C:/ and only one folder "C:\images"
long paths are not recomended for MIflasher!
@YasuHamed bro I am facing the exact same issue with a window popup on screen says find device is corrupted your device is unsafe now. Did you find a solution . Please help .brother.
abhisheksh9999 said:
@YasuHamed bro I am facing the exact same issue with a window popup on screen says find device is corrupted your device is unsafe now. Did you find a solution . Please help .brother.
Click to expand...
Click to collapse
i gave up and started using custom roms! they are closer to Stock android and have amazing customizations!
Evolution / Havoc / AeX on android 10 is amazing!
Reloaded OS (android10) is CAF based rom and its faster than others but have no customizations!
CR droid has maximum customizations but its little laggy!
you may also use
Masik13.3 and XiaomiEu roms which are Modified MIUI versions! ( google MIUI ROM BUILDER) and you can predefine features!
these roms can them be flashed via Twrp!
lokixd4x4 said:
mi flash failed to do the job and came out with error. booted fine but sensors still broken.
twrp and orange fox have no persist.img chose when flashing.
anyways thx 4 help. i hope i can get out outta this:crying::crying:
iam using miui 9.6.18 bcz i want oreo
Click to expand...
Click to collapse
Did you find any way to fix the sensors?
I think i too made the same mistake some two months back after flashed peplus rom.. i noticed it only recently.

Categories

Resources