Question Touch not working after Format all + download in sp flash tool - Realme 8i / Narzo 50

I ended up flashing stock rom on my phone (Realme 8i RMX3151) while using sp flash tool, apparently wiping or overwriting NVRAM in the process.
I lost the imei and googlekey attestation but managed to restore them using SN writer. However my touchscreen also became erratic and completely unusable, with the four quadrants of the screen also swapped around, and the X and Y axis swapped within them. I've requested help from the manufacturers with no result. I wonder if anyone knows what I have done and how I can fix it. My research so far leads me to think that lost the configuration/calibration data for the touchscreen, something which is no included in the downloadable stock rom. I wonder if I can somehow obtain this data file from an identical phone, either individually if I can identify it, or simply clone everything, in order to restore the required data.
I've read somewhere that I can fix this by flashing touch configuration file, not that that helps me much as I have no idea where to find it.
I'm not sure to what degree this problem, and any solution, might be device specific. I've found many threads of people in the same position, with a wide variety of phones, but no answers on how to solve it.
Does anyone have any knowledge about this issues or and pointers towards solutions?

grimlet said:
I ended up flashing stock rom on my phone (Realme 8i RMX3151) while using sp flash tool, apparently wiping or overwriting NVRAM in the process.
I lost the imei and googlekey attestation but managed to restore them using SN writer. However my touchscreen also became erratic and completely unusable, with the four quadrants of the screen also swapped around, and the X and Y axis swapped within them. I've requested help from the manufacturers with no result. I wonder if anyone knows what I have done and how I can fix it. My research so far leads me to think that lost the configuration/calibration data for the touchscreen, something which is no included in the downloadable stock rom. I wonder if I can somehow obtain this data file from an identical phone, either individually if I can identify it, or simply clone everything, in order to restore the required data.
I've read somewhere that I can fix this by flashing touch configuration file, not that that helps me much as I have no idea where to find it.
I'm not sure to what degree this problem, and any solution, might be device specific. I've found many threads of people in the same position, with a wide variety of phones, but no answers on how to solve it.
Does anyone have any knowledge about this issues or and pointers towards solutions?
Click to expand...
Click to collapse
well, you has screw your device, you will need a full back up froom ther device and install it to rewirte the partitions involved in hardware, or try to flash it using an official tool from realme

Related

Factory reset - Problem.

Greetings everyone!
Few weeks ago, I gave my device to a friend of mine to manually update it. Something went wrong so he decided not to go any further. Yday i tried to "Factory reset", after reset some error pop'd in the left upper corner of the phone.It says:
[LGE_SECURITY] ERROR: boot image signature
Critical failure: Unable to start kernel.
Unrecoverable bootloader error (0x00000002).
Anyone had any similiar or even the same problem as i am facing right now? Thanks in advance.
best regards, Milan
Guy didn't know what he was doing apparently. Your handset is still locked and he apparently tried installing a 3rd party ROM, lemme guess, you wanted a newer version of Android than 4.1., which is a reasonable enough thing. Problem is that out of the box you can't do that because it only boots images signed by LG and they abandoned development after releasing 4.1 and a couple of minor point releases. You aren't totally screwed but if you were having somebody else do it for you, you might need to get some help. You can find the details elsewhere here, or more likely point a more skilled friend at it, but here it is in a nutshell.
You need to get LG's official updating software (from the LG website) and you need to fiddle with it a bit until you get it to do a rescue because it expects to have already paired up with the phone while it was still working. If you already had it installed, great because it will make it easier. Anyway, you will probably have to manually pick your model and input the IMEI since it won't already know those things and it will go out and fetch the most recent image. You will push VOL Down and insert the USB cable from a powered down state, it will then do the rest. Good chance you will even retain your data unless that 'factory reset' you mention actually succeeded.
Of course that will only get you back to stock 4.1. Read around for the official way and several un-official ways to unlock your boot loader. Once that is done you can install a better recovery and then a newer version of Android. But the first step is to restore the stock software since you have to have a running phone to be able to unlock it.
And no, nobody has ever been able to explain WHY they lock them, but every single manufacturer seems determined to do it, chipmakers put a lot of work and ad copy into how extensive and unbreakable the locks on their newest chip is, etc. And then they either bow to customer demand and add an unlock feature or we here at xda do it for them... as a courtesy of course. Truly we do live in the asylum. Wonko the Sane was onto something.

[solved] IMEI Recovery help! Lenovo K3 Note

For the past half a year, I have been using Carbon rom on my Lenovo K3 Note, and it was fine, until it started slowing down. So, I decided to change it to another rom (Nexus), and the next thing I know, my SIM card is no longer detected.
Turns out, the IMEI was wiped.
How would I go about restoring this?
The things I have done:
MauiMETA = Never detects my phone. Places it into meta mode, but the light never turns yellow. Tried on 3 computers, and had no success on getting it to work. For two of the three, I couldn't find drivers for mt65xx and CDC.
MTK Droid Tool: The option to change the IMEI remained permanently greyed out, and was never given the option to change it.
Official rom: Didn't work. Currently using it, and still the same error (Null). Tried factory resetting it, no change.
Engineering mode: Always gave me an error when trying to enter command, never accepted it.
IMEI.EXE: Everything worked, except the IMEI's never changed in my device.
Have tried multiple roms, multiple wipes, SPFlash, CWM (Even ended up installing it again because I wiped my entire phone with SPFlash), and pretty much every trick I could find.
I need this think working in 12 hours.
EDIT: Problem was resolved with trying "official" roms until one allowed me to update within the rom. The Update that was installed via Lenovo's bootloader fixed it. The finished product was that of an untouched phone; I had to reinstall a bootloader, root, and a new rom.
If flashing stock doesn't help, and you have no kind of backup of where the imei resides, you likely need a service center to hopefully help.
But know that any talk of manually inputting imei numbers is not allowed on XDA, as its illegal in most areas.
Good luck!
Darth said:
If flashing stock doesn't help, and you have no kind of backup of where the imei resides, you likely need a service center to hopefully help.
But know that any talk of manually inputting imei numbers is not allowed on XDA, as its illegal in most areas.
Good luck!
Click to expand...
Click to collapse
So it isn't as simple as entering the two codes under my battery into some location, and rebooting?
I'm currently in Europe, and have no idea how any of that works (Studying abroad).
RocketPenguin1 said:
So it isn't as simple as entering the two codes under my battery into some location, and rebooting?
I'm currently in Europe, and have no idea how any of that works (Studying abroad).
Click to expand...
Click to collapse
That talk is not allowed, as I said. Inputting numbers falls under tampering and is illegal in most areas, as I said.
So try flashing stock, if you can. But without some sort of backup, you may be out of luck unfortunately.
Please keep number inputting talk off XDA, or I will need to close this thread. :good:
UPDATE: So, I flashed another "official" rom, which initially didn't work. However, it did give me the option to upgrade, which I did. With that upgrade, the IMEI is back, and my SIM card works.
Thing is, the ROM is almost entirely in Chinese.
How would I change my rom without wiping the IMEI?
Please post the link to download the ROM you used.
I have the same issue and even service centers failed to attempt this.
Thanx and regards
Raju
Chennai
You can easily rewrite imei number using snwriter tool, google it.

Mi 8 lost imei, baseband

Hi ALL
I have problem with my Mi 8.
No imei, baseband.
So I can't use my SIM and can't use wi-fi
I tried QPST , IMEI writer but failed
Someone help me please ((
Huynd1094 said:
Hi ALL
I have problem with my Mi 8.
No imei, baseband.
So I can't use my SIM and can't use wi-fi
I tried QPST , IMEI writer but failed
Someone help me please ((
Click to expand...
Click to collapse
Have you simply formatted ( Note that I said format and not wipe) the phone and reinstalled stock?
If yes, then QPST is the only option, and if you used it correctly it will usually work, unless you have a hardware issue. Do you have any recovery backups that you can restore?
These QPST instructions are all over the web, but the steps are always the same. I have repaired IMEI twice but on a different device.
If not you will need to find a donor QCN and retry QPST. ( QCN's can be found here on XDA and on Xiaomi forums) Make sure that you get all of the correct files for your Mi8 ( Your version of the Mi8)
and you can follow the instructions here: https://medium.com/@shekhawatkoki/f...-snapdragon-devices-xiaomi-mi-a1-2ed533548d32
Although these steps are for a A1 the steps are standard across Qualcomm devices. Just be sure to use the correct files.
I included the IMEI rebuilder tool and a QCN attached below. I keep these in case I ever needed it for myself and I have no idea where I got them. Use Google and research the issue heavily before starting. Be sure to try formatting and restoring the full stock Rom via ADB first before doing anything else.
Good Luck.
tsongming said:
Have you simply formatted ( Note that I said format and not wipe) the phone and reinstalled stock?
If yes, then QPST is the only option, and if you used it correctly it will usually work, unless you have a hardware issue. Do you have any recovery backups that you can restore?
These QPST instructions are all over the web, but the steps are always the same. I have repaired IMEI twice but on a different device.
If not you will need to find a donor QCN and retry QPST. ( QCN's can be found here on XDA and on Xiaomi forums) Make sure that you get all of the correct files for your Mi8 ( Your version of the Mi8)
and you can follow the instructions here: https://medium.com/@shekhawatkoki/f...-snapdragon-devices-xiaomi-mi-a1-2ed533548d32
Although these steps are for a A1 the steps are standard across Qualcomm devices. Just be sure to use the correct files.
I included the IMEI rebuilder tool and a QCN attached below. I keep these in case I ever needed it for myself and I have no idea where I got them. Use Google and research the issue heavily before starting. Be sure to try formatting and restoring the full stock Rom via ADB first before doing anything else.
Good Luck.
Click to expand...
Click to collapse
@tsongming Hi Sir! Hey im back with my mi8 problem and i decided to try editing the imei as a final attempt and i got stuck midway. May i request some advice from u?. Im stuck at QPST somehow not transmiting data into my phone. attached picture below. Thanks for your service sir!! will hit thanks
And as a side note. are website that provide downloadable stuff such as https://androidmtk.com/ safe from your years of use? cause they share the same format as https://qpsttool.com/ and just look fishy...
Theevanz said:
@tsongming Hi Sir! Hey im back with my mi8 problem and i decided to try editing the imei as a final attempt and i got stuck midway. May i request some advice from u?. Im stuck at QPST somehow not transmiting data into my phone. attached picture below. Thanks for your service sir!! will hit thanks
And as a side note. are website that provide downloadable stuff such as https://androidmtk.com/ safe from your years of use? cause they share the same format as https://qpsttool.com/ and just look fishy...
Click to expand...
Click to collapse
Sorry for the delay, I have downloaded and used files from this site a few times the past and had no issues whatsoever. However, that was a long time ago and it now looks like a completely different site. But they have an up to date security certificate. However, I would suggest that if you decide that you must use QPST, that you create a developer account with qualcomm and download the qpst tool from them directly. This way you are getting the most up to date tools, and you can get support from their forums.
FYI: you need to enter Diag mode before you can use the QPST tool for IMEI manipulation. Also, the tool will only affect Sim card 1... well that is what I have heard in regard to Xiaomi phones. Beyond those suggestions, as I have mentioned numerous times, on various threads, I do not support QPST with the Mi8. Because I have no experience using it with this device so I can not provide help based on experience.
The last time I used it years ago, and it was for the sake of experimentation. and once you change the IMEI it is difficult if not nearly impossible to restore the phone back to it's originally IMEI unless you have your original QCN backed up.
To go on, I made the post above almost a year ago, and frankly forgot about it. My perspective has changed, I would strongly suggest not using QPST or the QCN file to fix your phone. and to instead attempt to manually repair your phone using the steps suggested on my persist thread. if you have already tried everything on that that thread there is not much more I can offer, it's too risky and I don't want to be involved with permanently damaging your device. Online IMEI Repair services exist, and that may be your best option if the phone restoration route doesn't work.
Another option is using a UMT Box, and following an online tutorial. They cost about $50.

Phone doesnt register z axis gyroscope reading - compass spins erratically

Hey!
Ive been noticing an issue with my device, since I think the update to MIUI 11 (but not sure).
Description:
- The compass (and other apps using compass like Google maps) gives incorrect readings, when put horizontally. When put horizontally and kept still, the compass will spin regularly ca 2 degrees per second completely independent from the actual pointing direction. When the phone is kept vertically the compass works normally. I have made a video displaying the correct reading when vertically, and the spinning when kept horizontally: https://youtu.be/xgC4fHqH4Ys
- When checking the underlying gyroscope functionality with "Sensor Multitool", I have come across what I think is an erratic z axis reading. When I spin the phone randomly, the gyroscope in the x and y axis registers adequate readings, but the z axis stays completely flat. I have produced a video showing this behavior: https://youtu.be/1dY_xdF5Nz8
I have found this thread from Aliosa007 ( https://forum.xda-developers.com/showthread.php?t=3972249 ) that describes a very similar issue, but this user had recently flashed a new rom and the problem is attributed with the flashing. The users there assume the issue being a corrupt persist.img and most problem solving techniques involve flashing etc. But my phone is locked and not rooted. Could I also have received a corrupt persist.img during the normal update process recently to MIUI 11.
Currently trying to figure out, what the best way forward is. Wait and hope that this will be fixed with the next update or go the warranty route?
Thanks for helping me out with this one!
Hi.
I'm sorry I won't be very useful since I'm just having the exact same problem as you and don't know how to solve it... My phone isn't flashed either and my compass spins continuously.
I just wanted to know if you found a solution since your original post.
I also wanted to know if you tried factory resetting your phone ? I was thinking about trying that but if you already did and it didn't solve the issue, maybe I won't bother...
Thanks in advance.
Tistou52 said:
Hi.
I'm sorry I won't be very useful since I'm just having the exact same problem as you and don't know how to solve it... My phone isn't flashed either and my compass spins continuously.
I just wanted to know if you found a solution since your original post.
I also wanted to know if you tried factory resetting your phone ? I was thinking about trying that but if you already did and it didn't solve the issue, maybe I won't bother...
Thanks in advance.
Click to expand...
Click to collapse
Hey Tistou, thanks for your message. I haven't found a solution to the issue yet, unfortunately.
I tried factory resetting the phone but that didn't solve it. Did this problem just occur one day - or was it after you updated the phone? In my case Im not 100% sure it began after the updated and if it didn't, it could be an indication for a hardware issue.
I will keep this thread up to date in case I find a solution to the issue. But at the moment, I am out of ideas. I thought about flashing the phone with an alternative ROM and replace the persist.img. But currently the assumed risk/benefit keep me up from doing that. I'd assume sending Xiaomi feedback on that issue
Best,
schnodda
schnodda123 said:
Hey Tistou, thanks for your message. I haven't found a solution to the issue yet, unfortunately.
I tried factory resetting the phone but that didn't solve it. Did this problem just occur one day - or was it after you updated the phone? In my case Im not 100% sure it began after the updated and if it didn't, it could be an indication for a hardware issue.
I will keep this thread up to date in case I find a solution to the issue. But at the moment, I am out of ideas. I thought about flashing the phone with an alternative ROM and replace the persist.img. But currently the assumed risk/benefit keep me up from doing that. I'd assume sending Xiaomi feedback on that issue
Best,
schnodda
Click to expand...
Click to collapse
Hey,
well I couldn't really tell if it's related to an update : I got my mi 9T pro like two or three weeks ago and updated to 11.0.3 the day I got it...
The weird thing is that I noticed the problem one first time, and then two or three days later the issue solved itself without me doing anything particular and my compass started working normally again... And then two or three days ago it started spinning continuously again... I just hope it's software related and not an hardware issue...
I think I'm just going to wait for the next system update and if doesn't solve the problem I may send the phone back (but I don't wanna ... The phone otherwise is so great...).
I'll update the thread if I find something.
Good luck
Hi there, I had a similar problem a while ago when going from custom rom Android 10 back to miui 10 Android 9. Pop up camera and gyro sensors wouldn't work so no auto rotate either. Simple fix was to flash the persist img in custom recovery, then go into stock camera app and it'll ask to calibrate, after than everything worked fine. This should work for you and everyone else with this problem hopefully.
Flashing persist won't wipe any of your data so don't worries there. I'll see if I can find the file I have it somewhere and I'll send the link.
So really the only way to fix this is to have compatible custom recovery with persist partition, flash the persist.img, but since you have a locked bootloader and stock recovery I don't think you have any options to fix this unfortunately, maybe fastboot rom through miflash? That didn't work for me but it might work for you.
hoopsnake said:
Hi there, I had a similar problem a while ago when going from custom rom Android 10 back to miui 10 Android 9. Pop up camera and gyro sensors wouldn't work so no auto rotate either. Simple fix was to flash the persist img in custom recovery, then go into stock camera app and it'll ask to calibrate, after than everything worked fine. This should work for you and everyone else with this problem hopefully.
Flashing persist won't wipe any of your data so don't worries there. I'll see if I can find the file I have it somewhere and I'll send the link.
So really the only way to fix this is to have compatible custom recovery with persist partition, flash the persist.img, but since you have a locked bootloader and stock recovery I don't think you have any options to fix this unfortunately, maybe fastboot rom through miflash? That didn't work for me but it might work for you.
Click to expand...
Click to collapse
Thank you so much for your response! That keeps my hopes up that I get it solved eventually.
I am currently not planning to unlock my bootloader, I am currently exploring to go the warranty route because that's the easiest way forward. But in case that won't work, I will definitely try to flash the persist.img. I will have to try to get my hands on the persist.img file!
Thanks again!
schnodda123 said:
Thank you so much for your response! That keeps my hopes up that I get it solved eventually.
I am currently not planning to unlock my bootloader, I am currently exploring to go the warranty route because that's the easiest way forward. But in case that won't work, I will definitely try to flash the persist.img. I will have to try to get my hands on the persist.img file!
Thanks again!
Click to expand...
Click to collapse
persist.img is in the fastboot rom, so if you download that and extract you can get the img. You should be able to flash it thru fastboot using adb on PC with the command 'fastboot flash persist persist.img'. no need to unlock bootloader
I'm not gonna be near my PC for a while so won't be able to upload it for you
hoopsnake said:
persist.img is in the fastboot rom, so if you download that and extract you can get the img. You should be able to flash it thru fastboot using adb on PC with the command 'fastboot flash persist persist.img'. no need to unlock bootloader
I'm not gonna be near my PC for a while so won't be able to upload it for you
Click to expand...
Click to collapse
Sorry sir, but i think you cannot flash persist.img thru fastboot, because it read-only partition ,
I read several times that it must be flashed with twrp (dunno what that means)... But I also read that it makes you lose L1 widevine (dunno what that means either). Could someone enlighten me ?
And do you think the next MIUI update could fix that ?
Tistou52 said:
I read several times that it must be flashed with twrp (dunno what that means)... But I also read that it makes you lose L1 widevine (dunno what that means either). Could someone enlighten me ?
And do you think the next MIUI update could fix that ?
Click to expand...
Click to collapse
Not an expert on the matter. But a peripheral knowledge of the matter.
It appears to me that you are new to the matter. So I will use easy language.
TWRP is a so called "custom recovery" for Android that allows users to basically change the underlying firmware/system software (a process often referred to as "flashing") of the device. It is basically the entry point towards conveniently changing system files, that Android normally forbids you to change. To install a costum recovery, the bootloader of the phone has to be unlocked, so that the device can boot into the custom recovery instead of the OS directly. https://www.quora.com/What-is-TWRP-Why-is-it-used?share=1
Widevine L1 is a software part within Android that basically authenticates, that the device at hand is allowed to handle media files that are DRM protected (eg. within Netflix). When Android has been changed from the default configuration (by flashing a custom rom), the software part should revoke the authorization or restrict it. This behavior depends I think on the capability of the custom rom to trick widevine into believing that its genuine.(not so sure about that)
https://www.androidauthority.com/widevine-explained-821935/
Heres hoping that the next update will solve the issue! The issue isnt so dramatic to go the persist.img route. So I will patiently wait for the update. I will keep the thread updated.
schnodda123 said:
Not an expert on the matter. But a peripheral knowledge of the matter.
It appears to me that you are new to the matter. So I will use easy language.
TWRP is a so called "custom recovery" for Android that allows users to basically change the underlying firmware/system software (a process often referred to as "flashing") of the device. It is basically the entry point towards conveniently changing system files, that Android normally forbids you to change. To install a costum recovery, the bootloader of the phone has to be unlocked, so that the device can boot into the custom recovery instead of the OS directly. https://www.quora.com/What-is-TWRP-Why-is-it-used?share=1
Widevine L1 is a software part within Android that basically authenticates, that the device at hand is allowed to handle media files that are DRM protected (eg. within Netflix). When Android has been changed from the default configuration (by flashing a custom rom), the software part should revoke the authorization or restrict it. This behavior depends I think on the capability of the custom rom to trick widevine into believing that its genuine.(not so sure about that)
https://www.androidauthority.com/widevine-explained-821935/
Heres hoping that the next update will solve the issue! The issue isnt so dramatic to go the persist.img route. So I will patiently wait for the update. I will keep the thread updated.
Click to expand...
Click to collapse
Hola @schnodda123, ¿Logaste darle solución? No he podido arreglar mi eje z en mi caso en un Redmi Note 8, estoy algo incomodo, si bien el celular funciona bien el tener el sensor mal es fastidioso
Hi @ schnodda123, Did you manage to give it a solution? I have not been able to fix my z axis in my case on a Redmi Note 8, I am somewhat uncomfortable, although the cell phone works well, having the wrong sensor is annoying

Lancelot IMEI issue

Hello there.
I've got another problem with my lancelot. I've managed to rooted it successfully and install waveos, however, I still got an issue with no gsm data. I've found out, that my imei is missing - after typing *#06# phone shows you only hex serial number. It also does not show anything in system page in options.
I've read something about and tried to put back original imei back from the sticker. However, hydratool cannot open mtk module - it opens and before it is even able to load itself fully, it forceclose with no errors in log (it is the only module that it cannot open, rest works fine XDn't) and rest of the "tools" are simply crap.
What can I do? I did not have imei even when rolled back to miui 12 (I though it might be the issue, but it is not).
Here is a nice full guide that searching it certainly took less than writing this post ==> done by VD171
Make sure to thank him if you successfully solve the issue.
On a side note: Learn how to search stuff, it will save a lot of time for you and others.
XDHx86 said:
On a side note: Learn how to search stuff, it will save a lot of time for you and others.
Click to expand...
Click to collapse
You are definitelly right. I simply spend whole day on this and got actually tired of looking stuff, that leads to paid solution. I've even though of manual editing corrupted parts of rom (nvram etc), have working nvram from other phone as a correct matrix to do so.
Hope it works, I'll try it tommorow.
buczek0711 said:
You are definitelly right. I simply spend whole day on this and got actually tired of looking stuff, that leads to paid solution. I've even though of manual editing corrupted parts of rom (nvram etc), have working nvram from other phone as a correct matrix to do so.
Hope it works, I'll try it tommorow.
Click to expand...
Click to collapse
To edit nvram partition you need to flash engineering ROM first.
Hydra tool works, but it only works on engineering ROM, like I just said. And it's actually one of the main tools to fix IMEI.
Also Hydra tool isn't paid, what are you talking about?
XDHx86 said:
To edit nvram partition you need to flash engineering ROM first.
Hydra tool works, but it only works on engineering ROM, like I just said. And it's actually one of the main tools to fix IMEI.
Also Hydra tool isn't paid, what are you talking about?
Click to expand...
Click to collapse
Hydra ain't paid? That's good to know. I've got problem starting it though, mtk exe forced close itself before it loaded itself with no errors in logs, so I gave it up. I'll not have time today to do anything here, but I'll try in the following days.
I just assumed that changing imei is paid, just like getting rid of simlock years away.

Categories

Resources