Restore to stock - K3 Note Q&A, Help & Troubleshooting

I had restored stock system.img, boot.img and recovery.img after wiping the phone with TWRP recovery. But still my phone is not working properly and some traces are still left in my phone. What things do it don't wipes please tell me and share stock version of those things.
I used advanced wipe and selected all options in TWRP.
Also pls tell me how to flash, if it can't be flashed with flash tool.
For information, I didn't made any changes to kernal, so it doesn't need to be restored.

Which file are you using to flash the phone to stock ?
Truely Simple said:
I had restored stock system.img, boot.img and recovery.img after wiping the phone with TWRP recovery. But still my phone is not working properly and some traces are still left in my phone. What things do it don't wipes please tell me and share stock version of those things.
I used advanced wipe and selected all options in TWRP.
Also pls tell me how to flash, if it can't be flashed with flash tool.
For information, I didn't made any changes to kernal, so it doesn't need to be restored.
Click to expand...
Click to collapse
Did you check the box of dl checksum on the flash tool ?
If not then go to options menu on the top left corner ,click on download and check both the box present there .
If you already did that . Tell me the process you are using to flash the file

iliyas61 said:
Tell me the process you are using to flash the file
Click to expand...
Click to collapse
Yes I already did that.
Firstly, I selected agent, then scatter file, and finally the boot, recovery and system imgs.
Obviously, then I clicked on download with 'download only' selected and connected the phone.

Go for format download
Truely Simple said:
Yes I already did that.
Firstly, I selected agent, then scatter file, and finally the boot, recovery and system imgs.
Obviously, then I clicked on download with 'download only' selected and connected the phone.
Click to expand...
Click to collapse
Try doing format and download instead of download only ... maybe this will work ...
Else your process is all right ...
Or try downloading the flash file once again ...

iliyas61 said:
Try doing format and download instead of download only ... maybe this will work ...
Else your process is all right ...
Or try downloading the flash file once again ...
Click to expand...
Click to collapse
I don't have other images, for bootloader, logo etc.

Truely Simple said:
I had restored stock system.img, boot.img and recovery.img after wiping the phone with TWRP recovery. But still my phone is not working properly and some traces are still left in my phone. What things do it don't wipes please tell me and share stock version of those things.
I used advanced wipe and selected all options in TWRP.
Also pls tell me how to flash, if it can't be flashed with flash tool.
For information, I didn't made any changes to kernal, so it doesn't need to be restored.
Click to expand...
Click to collapse
Flash stock with sp flash tool you need to flash the whole firmware

Related

help me my razr xt890 is not booting

So here is my problem , after trying to install a custom rom on my razr i i may have broken something in the system and now he isnot booting anymore , i'm stuck in the fastboot mode but not any of the options is working and it keeps telling me that my pds partition is broken ...
I'm a complete newbie and i have no idea how to fix it so please help me !
doud1998 said:
So here is my problem , after trying to install a custom rom on my razr i i may have broken something in the system and now he isnot booting anymore , i'm stuck in the fastboot mode but not any of the options is working and it keeps telling me that my pds partition is broken ...
I'm a complete newbie and i have no idea how to fix it so please help me !
Click to expand...
Click to collapse
What if u flash with fastboot the pds partition? And what is exactly the error u get?
If that doesn't work just flash with rsd-lite (latest) and your firmware (latest) and recover it. From then on u can try again.
Hazou said:
What if u flash with fastboot the pds partition? And what is exactly the error u get?
If that doesn't work just flash with rsd-lite (latest) and your firmware (latest) and recover it. From then on u can try again.
Click to expand...
Click to collapse
thanks for responding fast . I'll try that but how can i flash the pds partition and where can i find this partition? As well where can i find the firmware for my phone?
thanks very much for helping me
doud1998 said:
thanks for responding fast . I'll try that but how can i flash the pds partition and where can i find this partition? As well where can i find the firmware for my phone?
thanks very much for helping me
Click to expand...
Click to collapse
See my signature
I assume you have a working adb and fastboot, otherwise u couldn't have installed the recovery.
Your firmware can be found under section E.
When you have downloaded your fimware (always 4.1.2). Extract it and flash the pds_signed or pds.bin. Something with pds.
This can be done by moving the pds* to the directory with the fastboot executable. Then boot into ap fastboot mode and check if your device is recognized by using "fastboot devices". If yes, do the following command to flash the pds partition "fastboot flash pds (pds-file)"
If it doesn't work, post the results. Not only that is says an error, but post the error string.
Hazou said:
See my signature
I assume you have a working adb and fastboot, otherwise u couldn't have installed the recovery.
Your firmware can be found under section E.
When you have downloaded your fimware (always 4.1.2). Extract it and flash the pds_signed or pds.bin. Something with pds.
This can be done by moving the pds* to the directory with the fastboot executable. Then boot into ap fastboot mode and check if your device is recognized by using "fastboot devices". If yes, do the following command to flash the pds partition "fastboot flash pds (pds-file)"
If it doesn't work, post the results. Not only that is says an error, but post the error string.
Click to expand...
Click to collapse
I'm really sorry to annoy you for that but i don't get what you mean by "section E"
doud1998 said:
I'm really sorry to annoy you for that but i don't get what you mean by "section E"
Click to expand...
Click to collapse
I meant, in my signature under my post u can find within the link INDEX/GUIDE, ALL Things RAZR I under paragraph/ section E a link to all the firmwares available for the Razr I.
But in this case i will post the full link to the firmware site, here.
I've download the zip but there is no pds file and i don't know how to use rsd (or is it anormal that the phone reference appear nowhere?!)
i tried to flash recovery_signed but i have the error
Checking fs on partition pds...
E:can't repaire partition pds
E:failed to mount PDS partition
doud1998 said:
I've download the zip but there is no pds file and i don't know how to use rsd (or is it anormal that the phone reference appear nowhere?!)
Click to expand...
Click to collapse
I looked a bit further into your problem, u may have this problem: this
So what we now are going to do is the following.
First can u enter recovery? and if i can, do u have a nandroid backup. If yes, restore it and just boot up the phone.
If u don't have the above. (all can be found with a bit of searching in the link in my signature)
1. Install RSD-Lite 6.1.x
2. Install the USB drivers for the phone
3. U already downloaded the right firmware (latest and the one from your region)
4. Boot in AP Fastboot and connect phone to USB port PC
5. In RSD-Lite u won't see your device. It doesn't have a system installed.
6. In RSD-Lite search in the above bar for the firmware zip file.
7. Click on flash or something. (there is a RSD-Lite tutorial in my signature in my post)
8. See what happens
9. Report back
Hazou said:
I looked a bit further into your problem, u may have this problem: this
So what we now are going to do is the following.
First can u enter recovery? and if i can, do u have a nandroid backup. If yes, restore it and just boot up the phone.
If u don't have the above. (all can be found with a bit of searching in the link in my signature)
1. Install RSD-Lite 6.1.x
2. Install the USB drivers for the phone
3. U already downloaded the right firmware (latest and the one from your region)
4. Boot in AP Fastboot and connect phone to USB port PC
5. In RSD-Lite u won't see your device. It doesn't have a system installed.
6. In RSD-Lite search in the above bar for the firmware zip file.
7. Click on flash or something. (there is a RSD-Lite tutorial in my signature in my post)
8. See what happens
9. Report back
Click to expand...
Click to collapse
when i run rsd i can select the firmware xml but the commands 'start', 'show devices', or 'decompress and flash' are disabled (nothing happen)
+> i don't have any backup and i can't go to recovery , when it turns on it automaticly stuck to the ap fastboot menu
doud1998 said:
when i run rsd i can select the firmware xml but the commands 'start', 'show devices', or 'decompress and flash' are disabled (nothing happen)
Click to expand...
Click to collapse
Are you sure you installed drivers? RSD Lite should show Fastboot smi S as connected.
If you have installed drivers, and nothing is being detected, then you might want to prepare for several hours of headaches and lots of swearing.
You might have a chance doing this:
You will need to flash a custom recovery. If you can get CWM or TWRP working, you might have a chance to flash a zip.
i.e.
Code:
fastboot flash recovery recovery.img
Since your PDS is damaged, Omar's MotoJB ROM will probably not work, so you will need to flash a clean, stock ROM.
The only stock ROMs I've found (that can be flashed with custom recovery) are:
deodexed Retail Great Britain ICS ROM
odexed Retail Great Britain ICS ROM
Note that going back to ICS using this zip file will not brick your device (at least it didn't for my phone) unless you do it with RSD Lite.
But please don't hold me responsible if it makes things worse for you.
If you manage to flash this and it works, you can then try the PDS fix.
Good luck... :good:
waj3k said:
Are you sure you installed drivers? RSD Lite should show Fastboot smi S as connected.
If you have installed drivers, and nothing is being detected, then you might want to prepare for several hours of headaches and lots of swearing.
You might have a chance doing this:
You will need to flash a custom recovery. If you can get CWM or TWRP working, you might have a chance to flash a zip.
i.e.
Code:
fastboot flash recovery recovery.img
Since your PDS is damaged, Omar's MotoJB ROM will probably not work, so you will need to flash a clean, stock ROM.
The only stock ROMs I've found (that can be flashed with custom recovery) are:
deodexed Retail Great Britain ICS ROM
odexed Retail Great Britain ICS ROM
Note that going back to ICS using this zip file will not brick your device (at least it didn't for my phone) unless you do it with RSD Lite.
But please don't hold me responsible if it makes things worse for you.
If you manage to flash this and it works, you can then try the PDS fix.
Good luck... :good:
Click to expand...
Click to collapse
thanks for your responce but the threads for these roms have deadlink so i can't download the files....Any idea where i could find them?
doud1998 said:
thanks for your responce but the threads for these roms have deadlink so i can't download the files....Any idea where i could find them?
Click to expand...
Click to collapse
I know, I just uploaded Deodexed Retail Great Britain ICS:
Here you go. There should be a download icon at the top.
give me the right access (i'm [email protected])
Sorry, forgot to set it to public, should be fixed now.
so now i have to flash the boot.img or what? i'm not really sure what to do with this zip
You need to flash custom recovery and then you can install a zip.
Here is a tutorial on how to use recovery, if you're unsure.
i can't make works neither cwm nor twrp
doud1998 said:
So here is my problem, after trying to install a custom rom on my razr i, i may have broken something in the system
Click to expand...
Click to collapse
may i ask you what u have exactly done to install your "custom rom"?
1. Bootloader unlocked?
2. Custom Recovery installed?
3. How did you installed your rom?
4. Which custom rom?

Bricked it... EVA-L09

So I was an idiot, I've resigned myself to this fact because I've clearly done something wrong.
TWRP installed, rooted and booted.
Then I tried to flash a new ROM from here using TWRP and well... that's where things went tits up. Something in TWRP said in red about not being able to mount something. The loading screen was stuck and then it just bootlooped over and over again. I downloaded a stock ROM, wiped system and tried to flash but now it's stuck on the "your device is shifty" screen and I'm totally out of ideas...
Please refrain from pointing out what a moron I've been.
Thanks in advance to anyone who can save this wretched soul.
do you have access to bootloader with fastboot?
seeing a lot of threads like this around here. Don't want to offend you or anybody else but just that someone has said it: First thing you do after flashing TWRP is a backup :angel:
hope you get your things sorted though. Can your please provide a more detailed list of things you did? How did you try to flash the stock rom you downloaded? dload forced update? flashed in twrp? etc.
lomunet said:
do you have access to bootloader with fastboot?
Click to expand...
Click to collapse
I can still get in to bootloader and fastboot mode no problem.
seeing a lot of threads like this around here. Don't want to offend you or anybody else but just that someone has said it: First thing you do after flashing TWRP is a backup
hope you get your things sorted though. Can your please provide a more detailed list of things you did? How did you try to flash the stock rom you downloaded? dload forced update? flashed in twrp? etc.
Click to expand...
Click to collapse
Yeah I realised I should have done that the second things started going wrong, I got cocky. And I tried to flash the stock with TWRP; downloaded it to my laptop, put it on the SD card and then in to the phone. Every process that the installation or wipe or any of the other actions performed by TWRP is followed by a line saying "Failed to mount '/ data' (Invalid argument)". I tried to follow the forced update of the stock but I couldn't seem to get that to work either ( this method stechguide.com/marshmallow-stock-rom-for-huawei-p9 ). After all that I can't think if there's anything else.
zandercook1 said:
I can still get in to bootloader and fastboot mode no problem.
Yeah I realised I should have done that the second things started going wrong, I got cocky. And I tried to flash the stock with TWRP; downloaded it to my laptop, put it on the SD card and then in to the phone. Every process that the installation or wipe or any of the other actions performed by TWRP is followed by a line saying "Failed to mount '/ data' (Invalid argument)". I tried to follow the forced update of the stock but I couldn't seem to get that to work either ( this method stechguide.com/marshmallow-stock-rom-for-huawei-p9 ). After all that I can't think if there's anything else.
Click to expand...
Click to collapse
Ok, so a few things:
-The failed to mount /data message probably means that you have an old version of TWRP, check the thread again and make sure you use at least RC3 (newest one afaik).
-Original stock Huawei roms are not suitable for TWRP, to flash a stock rom you need a stock recovery which you can flash back the same way you flashed twrp (using fastboot, or SRK tools). Once you have stock recovery, you can force the update by putting the update file in a folder on your sdcard (internal or external) called "dload". Then you turn off the phone and start it by holding volume up, volume down and power.
-Alternatively you could use a custom rom, which you can find in the dev thread. Custom roms can and should be flashed in TWRP.
Try relocking botloader and installing stock rom with this tool
http://forum.xda-developers.com/p9/development/tool-srk-tool-huawei-bootloader-root-t3374068
clouds5 said:
Ok, so a few things:
-The failed to mount /data message probably means that you have an old version of TWRP, check the thread again and make sure you use at least RC3 (newest one afaik).
-Original stock Huawei roms are not suitable for TWRP, to flash a stock rom you need a stock recovery which you can flash back the same way you flashed twrp (using fastboot, or SRK tools). Once you have stock recovery, you can force the update by putting the update file in a folder on your sdcard (internal or external) called "dload". Then you turn off the phone and start it by holding volume up, volume down and power.
-Alternatively you could use a custom rom, which you can find in the dev thread. Custom roms can and should be flashed in TWRP.
Click to expand...
Click to collapse
I keep pressing the up/down + power buttons but it keeps going to TWRP, as for the out of date version I have 3.0.0-0 but as lomunet suggested I'm downloading the srk tool. That's what I originally used to install TWRP in the first place. For the stock ROM to boot do I need to do anything to the file when it's downloaded (ie zipped or unzipped)? Nosing around a few other threads I noticed they mention something about making a file in the root of the file, and I hope you'll pardon my ignorance, but I have no idea how to do that. As for the custom ROM, I'll try that again when srk tools has finished downloading and I've reinstalled TWRP.
lomunet said:
Try relocking botloader and installing stock rom with this tool
http://forum.xda-developers.com/p9/development/tool-srk-tool-huawei-bootloader-root-t3374068
Click to expand...
Click to collapse
And I'd just like to thank you two for your patience!
Edit:
Ok so, I installed the latest TWRP (3.0.2-eva-modaco-rc3) and that went off without a hitch. Using the SRK tools that lomunet suggested I tried to sideload the stock ROM but the error message of " cannot read 'sideload\ROM.zip' " keeps popping up. I'm downloading a custom ROM (forum.xda-developers.com/p9/development/rom-huawei-p9-fromfuture-newworld-t3390820) as I type to see if that works flashing it through TWRP.
zandercook1 said:
I keep pressing the up/down + power buttons but it keeps going to TWRP, as for the out of date version I have 3.0.0-0 but as lomunet suggested I'm downloading the srk tool. That's what I originally used to install TWRP in the first place. For the stock ROM to boot do I need to do anything to the file when it's downloaded (ie zipped or unzipped)? Nosing around a few other threads I noticed they mention something about making a file in the root of the file, and I hope you'll pardon my ignorance, but I have no idea how to do that. As for the custom ROM, I'll try that again when srk tools has finished downloading and I've reinstalled TWRP.
And I'd just like to thank you two for your patience!
Edit:
Ok so, I installed the latest TWRP (3.0.2-eva-modaco-rc3) and that went off without a hitch. Using the SRK tools that lomunet suggested I tried to sideload the stock ROM but the error message of " cannot read 'sideload\ROM.zip' " keeps popping up. I'm downloading a custom ROM (forum.xda-developers.com/p9/development/rom-huawei-p9-fromfuture-newworld-t3390820) as I type to see if that works flashing it through TWRP.
Click to expand...
Click to collapse
if twrp works the rom must be work without problems...
zandercook1 said:
I keep pressing the up/down + power buttons but it keeps going to TWRP
Click to expand...
Click to collapse
clouds5 said:
Original stock Huawei roms are not suitable for TWRP, to flash a stock rom you need a stock recovery
Click to expand...
Click to collapse
you really need to flash stock recovery first to flash stock firmware. It won't work as long as you have TWRP installed you can use SRK tools to flash stock recovery.
If you are always stuck, jus download "DC Phoenix"(i don't know if i'm authorized to post the name ?), it's a paid app but it's worked for me. Just boot to fastboot mode, and flash your firmware with the app
clouds5 said:
you really need to flash stock recovery first to flash stock firmware. It won't work as long as you have TWRP installed you can use SRK tools to flash stock recovery.
Click to expand...
Click to collapse
Ahhhh right right right. So I need to remove TWRP first, then use SRK tools to flash the stock recovery?
... so, how do I remove TWRP?
zandercook1 said:
Ahhhh right right right. So I need to remove TWRP first, then use SRK tools to flash the stock recovery?
... so, how do I remove TWRP?
Click to expand...
Click to collapse
Installing stock recovery will remove TWRP.
You're all heroes.
zandercook1 said:
You're all heroes.
Click to expand...
Click to collapse
You are a batman yourself.

Please make a detailed video of how to flash stock rom

Any devoloper here please make a detailed video of how to flash stock rom after a user installed custom rom in his phone this would be of a great help thank you in advance
Its so easy make a full wipe data then put the update.app to sd card and shut down the device then click power and vol + and vol - and it will go to stock rom force update...... try it will work
reddy.parameshwar said:
Any devoloper here please make a detailed video of how to flash stock rom after a user installed custom rom in his phone this would be of a great help thank you in advance
Click to expand...
Click to collapse
Can't make video for you, but if you find firmware for your device from here, you should be able to do it with this info.
http://hwmt.ru/hwmtsite/huawei-firmware-finder/
I think zip files from there have META-INF folder in them(check before flashing), so you should be able to flash them in TWRP recovery. If install is succesful, you should then (in TWRP) choose Reboot -> reboot recovery -> (it will boot to stock recover) choose factory reset/wipe data -> reboot -> you should be done now.
I'm not 100% sure will this work, but it should be safe to try if you have download correct firmware for your device.
keikari said:
Can't make video for you, but if you find firmware for your device from here, you should be able to do it with this info.
http://hwmt.ru/hwmtsite/huawei-firmware-finder/
I think zip files from there have META-INF folder in them(check before flashing), so you should be able to flash them in TWRP recovery. If install is succesful, you should then (in TWRP) choose Reboot -> reboot recovery -> (it will boot to stock recover) choose factory reset/wipe data -> reboot -> you should be done now.
I'm not 100% sure will this work, but it should be safe to try if you have download correct firmware for your device.
Click to expand...
Click to collapse
It will only work for full ota
im on lineage os 14.1 i want to install emui this is what i asked not what you thought anyway thanks for the concern
reddy.parameshwar said:
im on lineage os 14.1 i want to install emui this is what i asked not what you thought anyway thanks for the concern
Click to expand...
Click to collapse
My post was answer for your question,(if the site has stock firmwares for your device). Please read it again with care.
reddy.parameshwar said:
Any devoloper here please make a detailed video of how to flash stock rom after a user installed custom rom in his phone this would be of a great help thank you in advance
Click to expand...
Click to collapse
There are few options mate.
1- vua twrp backup
If you have taken twrp backup of stock Emui before flashing the custom rom then you can just restore the backup after clearing the cuatom ROM's system, data, cache, dalvik etc and then restore the twrp backup.
2- via dload method.
Flash the stock recovery for your phone in fastboot mode. Then download thw full stock firmware and put it in sd card under dload folder (extract the zip and out the internal content as meta, update.app and other folders under the dload). Power off the phone and press volume up+volume down+ power key and it will detect the package and start restoring it. Once successful, you will be on atock emui.
Let me know if not clear or doubt anywhere

Custom Roms do not work on my phone. Can I repair my phone using TWRP?

I rooted my phone 2 weeks ago. While backing up and restoring Dem keys, I broke something I don't kno. Now every custom rom I install boots and gets stuck at Phone is starting and then reboots. Tried LOS 16, 17.1 and Pixel experience rom. But result is the same. Sony firmware boots perfectly, Twrp works, but custom roms don't.
Is it possible to wipe everything , all partitions and repair them using TWRP? I kno that option exists in Twrp and I have drm keys backed up. But woud that solve the problem I face with custom roms?
GOrMHATRe said:
But result is the same. Sony firmware boots perfectly, Twrp works, but custom roms don't.
Click to expand...
Click to collapse
Are you missing a step in the instructions, like flashing the boot.img for the roms you're trying to install?
GOrMHATRe said:
Is it possible to wipe everything , all partitions and repair them using TWRP? I kno that option exists in Twrp and I have drm keys backed up. But woud that solve the problem I face with custom roms?
Click to expand...
Click to collapse
To start over use the Flashtool, Newflasher, or even PC Companion. There is even Sony EMMA when something really messes up.
SXUsr said:
Are you missing a step in the instructions, like flashing the boot.img for the roms you're trying to install?
To start over use the Flashtool, Newflasher, or even PC Companion. There is even Sony EMMA when something really messes up.
Click to expand...
Click to collapse
Boot.img is part of rom zip file. With all 3 roms I tried, there was no instruction to flash boot separately. It's always flash recovery and then flash rom using recovery.
I have already use flashtool and newflasher. That's how I rooted my phone. Both of them are successful in flashing stock sony firmware. But the custom roms are in zip file. Don't kno of its possible to flash those using flashtool.
GOrMHATRe said:
Boot.img is part of rom zip file. With all 3 roms I tried, there was no instruction to flash boot separately. It's always flash recovery and then flash rom using recovery.
Click to expand...
Click to collapse
Steps :
Remove your screen lock (set it to swipe up or none) and remove all your fingerprints registered.
Download the zip above and extract the boot, system and vendor images
Make sure you have Android 10 TWRP as mentioned above with link
Go to recovery > wipe and wipe system, cache and data nothing else.
Then go to install and flash boot.img as boot image, system.img as system image and vendor.img as vendor image.
Click to expand...
Click to collapse
- [ROM] Pixel Experience 10.0 Plus
Always extract the boot.img and flash it with fastboot. If there is no instructions then still do it.
SXUsr said:
- [ROM] Pixel Experience 10.0 Plus
Always extract the boot.img and flash it with fastboot. If there is no instructions then still do it.
Click to expand...
Click to collapse
Latest file of PE rom is in zip format. Boot.img is in zip . But vendor and system are not img files.
GOrMHATRe said:
Latest file of PE rom is in zip format. Boot.img is in zip . But vendor and system are not img files.
Click to expand...
Click to collapse
Then extract the boot.img and flash it using fastboot, along with TWRP, then flash the rom. That should work flashing any custom rom.
SXUsr said:
Then extract the boot.img and flash it using fastboot, along with TWRP, then flash the rom. That should work flashing any custom rom.
Click to expand...
Click to collapse
I tried this but the result was same. Rom boots upto the lock screen. Then when I swipe it shows: phone is starting and goes into bootloop. I even tried an older version of PE Rom whic contain s only img files but again same result.
You kno initially, after I unlocked the bootloader I just installed stock rom and installed LOS on top of it as per guide. It worked well. I coud go into menu and see apps.
But I panicked that I had forgotten to restore drm keys. Instead of first checking camera, I went back and restored the Ta partition and repeated the steps after it upto installation of rom and since then I have faced problems . Restoring ta partition and flashing stock rom after it is where I have made a mistake and broken something. Can this be fixed with twrp. I kno there are options in twrp to format & repair partitions. Coud that help to repair what ever that was broken?
GOrMHATRe said:
Coud that help to repair what ever that was broken?
Click to expand...
Click to collapse
No more than the Flashtool, Newflasher or PC Companion, so I wouldn't even consider using TWRP. Check your service menu for the status of your DRM keys, flashing them is a one time process so if they have been successfully restored there is no need to flash them again.
Use Sonys Flashtool to repair, and start over. If you're still having issues, then user error is at play here. What command in fastboot did you use to flash the kernel?
SXUsr said:
No more than the Flashtool, Newflasher or PC Companion, so I wouldn't even consider using TWRP. Check your service menu for the status of your DRM keys, flashing them is a one time process so if they have been successfully restored there is no need to flash them again.
Use Sonys Flashtool to repair, and start over. If you're still having issues, then user error is at play here. What command in fastboot did you use to flash the kernel?
Click to expand...
Click to collapse
Which kernel are you speaking about? I had backed up Ta image using renoroot exploit and restored it using:
adb pull /data/local//tmp/TA-unlocked.img
adb push TA-locked.img /data/local/tmp
Then in window with temp root prompt:
cd /data/local/tmp
de if=TA-locked.img of=/dev/block/bootdevice/by-name/TA
sync
sync
Reboot phone
But actually, when I checked my phone just now and that tmp directory seems empty. So, does that mean TA didn't get restored properly? Is that why I am facing problems? Stock roms seem to be working fine.
As for sony's own flashtool, I have it installed. But thought it doesn't offer any different functionality than newflasher or old flashtool? Woud sony flashtool help me go back to square 1 and make my phone as it was before rooting so that I can do everything again properly?
GOrMHATRe said:
Which kernel are you speaking about?
Click to expand...
Click to collapse
The kernel of the rom. Check your service menu for drm status.
SXUsr said:
The kernel of the rom. Check your service menu for drm status.
Click to expand...
Click to collapse
The keys are there. The rooting status is shown not done because I have used that hide root unlock patch after going back to stock rom.
GOrMHATRe said:
The keys are there. The rooting status is shown not done because I have used that hide root unlock patch after going back to stock rom.
Click to expand...
Click to collapse
So, now forget your drm keys for a minute, and do the following.
1. Use Sonys flashtool to reset your phone. Make sure you've backed up what you need to.
2. Using fastboot, flash both the kernel of whatever rom you wish to use, and TWRP.
3. Following the instructions of the rom you want to flash, install the rom using twrp. You may want to read them first to ensure you're using the required stock firmware that you will be flashing over.
Have you tried NOT restoring TA partition? It isn't needed with custom ROMs (as far as I know).
SXUsr said:
So, now forget your drm keys for a minute, and do the following.
1. Use Sonys flashtool to reset your phone. Make sure you've backed up what you need to.
2. Using fastboot, flash both the kernel of whatever rom you wish to use, and TWRP.
3. Following the instructions of the rom you want to flash, install the rom using twrp. You may want to read them first to ensure you're using the required stock firmware that you will be flashing over.
Click to expand...
Click to collapse
I will try this but after some time. I have experimented on my phone a lot in recently. Need it to be stable for work for some time now. My secondary phone is not setup to work with gmail etc. Thanks for all the advice you have provided though.
On another note, now that Android 11 is out, do you think we will get a rom based on it for Xz1 compact? I even had a thought of skipping 10 and going for 11 based rom.
thefelineofaveb said:
Have you tried NOT restoring TA partition? It isn't needed with custom ROMs (as far as I know).
Click to expand...
Click to collapse
I have not touched drm keys after I backed up and restored them for the 1st time.

Question How to re-flash stock and save data?

Hi, I froze miui security app and now my phone is bootlooping.
I want to reflash stock but obviously i want to save data
If i click save user data on miflash it says missing script.
Looked around a little, seems like a need to delete a line from a .bat file that isn't in the folder
Any help greatly appreciated
Have download the fastboot firmware? Look into folder wich files.bat are present. Sometimes are missing. If they are not, i can uoads for you
I figured out the bat file is in the rom image and not in the miflash folder
I flashed stock, now phone is stuck on miui logo
Do I have to do a data wipe to unbrick it?
Rudjgaard said:
I figured out the bat file is in the rom image and not in the miflash folder
I flashed stock, now phone is stuck on miui logo
Do I have to do a data wipe to unbrick it?
Click to expand...
Click to collapse
Bat file must be in rom folder, Is correct. When u flash a new firmware, u had to select flash all. Yes data must se wiped

Categories

Resources