Can't mount system partition in order to backup TWRP - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hope someone could help me with this issue. Im trying to back up the rom with TWRP by selecting data,boot,system.
However the system image is not there. Found other threads where people had this issue but seemed just unticking the read only helped for them.
At first system partition was ticked in the mount and read only was unticked but the system partition was not apearing in the back up section.
Tried to reflash twrp by installing img from twrp - booting into bootloader and then recovery.
After reinstalling twrp did not solve it as i now :
read only unticked, the system partition is ussualy unselected and when I tick system and reboot into recovery its unselected again.
Did anyone come accross this issue?
If I flash a new ROM I will not be able to restore if system partision is not available as that is the os correct?

Can no one help me with this?
I have tried to update the twrp to newer unoficial version. I am still unable to mount system.
Once I select system in mount and reboot in recovery its just deselected and not visible in the back up.
please help

Wow, surprised you've had no responses. Particularly now with so many of us spending all our time at home on the comp. Anyway, I've been having a slew of problems lately with my Pixel 2 XL which has been requiring Factory Resets which really suck because they delete all my data, and on this last reset, Google won't even restore my homescreen layouts/apps, etc.
So I've decided to finally take the time to install TWRP and start creating Nandroid backups like the old days, but there are a number of issues these days that we didn't have in the old days. In some ways it's easier to unlock, root, and install custom recoveries these days (heck I barely needed to use ADB), but it's also fraught with pitfalls and buggy quirks. Like, this slot a/b deal, and the way that TWRP now wants you to swipe your pattern to decrypt your files, but it doesn't work. And I'm still not sure I trust Magisk, etc.
I am having the same issue, I can't create backups in TWRP because system won't mount, etc., but I'll dive in when I have more time and see if I can help you out with what I discover. I'll post back here soon. For now I have to leave and perform my "essential job". I wish this whole pandemic debacle happened 2 years ago when I was already working remotely from home with a healthy paycheck each week.
Good luck and talk soon...
---------- Post added at 03:58 AM ---------- Previous post was at 03:45 AM ----------
Gotta run but this might help you get a start in the right direction:
https://youtu.be/T-7neHzSIvc

rabaker07 said:
Wow, surprised you've had no responses. Particularly now with so many of us spending all our time at home on the comp. Anyway, I've been having a slew of problems lately with my Pixel 2 XL which has been requiring Factory Resets which really suck because they delete all my data, and on this last reset, Google won't even restore my homescreen layouts/apps, etc.
So I've decided to finally take the time to install TWRP and start creating Nandroid backups like the old days, but there are a number of issues these days that we didn't have in the old days. In some ways it's easier to unlock, root, and install custom recoveries these days (heck I barely needed to use ADB), but it's also fraught with pitfalls and buggy quirks. Like, this slot a/b deal, and the way that TWRP now wants you to swipe your pattern to decrypt your files, but it doesn't work. And I'm still not sure I trust Magisk, etc.
I am having the same issue, I can't create backups in TWRP because system won't mount, etc., but I'll dive in when I have more time and see if I can help you out with what I discover. I'll post back here soon. For now I have to leave and perform my "essential job". I wish this whole pandemic debacle happened 2 years ago when I was already working remotely from home with a healthy paycheck each week.
Good luck and talk soon...
---------- Post added at 03:58 AM ---------- Previous post was at 03:45 AM ----------
Gotta run but this might help you get a start in the right direction:
Click to expand...
Click to collapse
Any update? My TWRP couldn't mount system either

rabaker07 said:
Wow, surprised you've had no responses. Particularly now with so many of us spending all our time at home on the comp. Anyway, I've been having a slew of problems lately with my Pixel 2 XL which has been requiring Factory Resets which really suck because they delete all my data, and on this last reset, Google won't even restore my homescreen layouts/apps, etc.
So I've decided to finally take the time to install TWRP and start creating Nandroid backups like the old days, but there are a number of issues these days that we didn't have in the old days. In some ways it's easier to unlock, root, and install custom recoveries these days (heck I barely needed to use ADB), but it's also fraught with pitfalls and buggy quirks. Like, this slot a/b deal, and the way that TWRP now wants you to swipe your pattern to decrypt your files, but it doesn't work. And I'm still not sure I trust Magisk, etc.
I am having the same issue, I can't create backups in TWRP because system won't mount, etc., but I'll dive in when I have more time and see if I can help you out with what I discover. I'll post back here soon. For now I have to leave and perform my "essential job". I wish this whole pandemic debacle happened 2 years ago when I was already working remotely from home with a healthy paycheck each week.
Good luck and talk soon...
---------- Post added at 03:58 AM ---------- Previous post was at 03:45 AM ----------
Gotta run but this might help you get a start in the right direction:
Click to expand...
Click to collapse
handydandy said:
Any update? My TWRP couldn't mount system either
Click to expand...
Click to collapse
Which phone, firmware/ROM and which TWRP - who and how can anybody respond if basic info is not provided
This is forum for Xiaomi Mi 9T/Redmi K20 - for issues on Pixels, please use forums for those phones (how can you expect to get answers for Pixels here)
Be also aware that TWRP does not support yet phones released with Android 11 (like Pixels with A11)
On Mi 9T/Redmi K20, use the official TWRP 3.4.0.0 - it properly mounts partitions
If using unofficial TWRPs, report to them, or to the custom/unofficial ROMs you're maybe using

Related

[Android N Preview 3] Started to Bootloop this morning...

Hey all! My Nexus 6P that has been on N Preview since day 2 is now stuck in a boot loop. It will usually just display the Google logo and then reboot. Sometimes it will get to the very beginning of the Android boot animation, but rarely.
Unfortunately, I didn't even know about the OEM Unucking setting until I've been trying to get my phone to boot again. I've tried using clearing cache, factory restore, adb sideload, and the flashing instructions Google provides. I've also tried using SkipSoft Android ToolKit with no avail as well. At this point I don't care if I end up with Marshmallow or back on N. I just want my phone working again xP
Does anyone have any ideas on how to restore my phone back to a working state? Thanks!
It also might be good to mention is I'm not all that well versed in a lot of the android development tools. I'm not afraid to get my hands dirty though.
UPDATE (Thanks @NeoAcheron)
While this didn't work for me, this seems to work for some.
NeoAcheron shared the OTA update Google sends out to go from N to Marshmallow. YMMV, so best of luck to you!
If anyone has any other idea's to try, I'd be eternally grateful!
And remember kids, always enable OEM Unlocking like good boys and girls. (Settings -> Developer Options -> OEM Unlocking)
JPT62089 said:
Hey all! My Nexus 6P that has been on N Preview since day 2 is now stuck in a boot loop. It will usually just display the Google logo and then reboot. Sometimes it will get to the very beginning of the Android boot animation, but rarely.
Unfortunately, I didn't even know about the OEM Unucking setting until I've been trying to get my phone to boot again. I've tried using clearing cache, factory restore, adb sideload, and the flashing instructions Google provides. I've also tried using SkipSoft Android ToolKit with no avail as well. At this point I don't care if I end up with Marshmallow or back on N. I just want my phone working again xP
Does anyone have any ideas on how to restore my phone back to a working state? Thanks!
It also might be good to mention is I'm not all that well versed in a lot of the android development tools. I'm not afraid to get my hands dirty though.
Click to expand...
Click to collapse
If you can use fastboot fastboot system that should work out wipe userdata
jaythenut said:
If you can use fastboot fastboot system that should work out wipe userdata
Click to expand...
Click to collapse
Unfortunately, that didn't seem to work
Code:
> fastboot format userdata
Creating filesystem with parameters:
Size: 58688266240
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14328190
Block groups: 438
Reserved block group size: 1024
Created filesystem with 11/3588096 inodes and 271280/14328190 blocks
target reported max download size of 494927872 bytes
erasing 'userdata'...
FAILED (remote: device is locked. Cannot erase)
finished. total time: 0.013s
From the bootloader page on the phone...
Code:
Console: NULL
Battery OK
Device is LOCKED
Qfuse Status: ENABLED
Off-mode-charge: ENABLED
Download Mode: DISABLED.
Also worth a note...
Code:
> fastboot flashing unlock
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.005s
format from stock recovery ?
@JPT62089 You are not alone. My Nexus 6P is experiencing the same problem now. Signed up for the Dev Preview, phone behaved strangely today, reboot the device as per usual, and now its stuck on the boot screen...
I have tried applying the preview OTA update, and the Factory firmware reset, with the same results as you.
This is awesome considering I didn't unlock the bootloader, because I would have thought installing stock firmware would be possible.
This sucks... Lets hope Google releases a fix soon.
---------- Post added at 03:02 PM ---------- Previous post was at 03:01 PM ----------
csjneek said:
format from stock recovery ?
Click to expand...
Click to collapse
Unfortunately telling the device to reset to factory doesn't help either. Seems like the latest update broke the OS completely.
Wooohooo! Glad I'm not the only one It's unfortunate to have such a major issue as Preview 3 has been extremely stable for me up until yesterday...
NeoAcheron said:
@JPT62089 You are not alone. My Nexus 6P is experiencing the same problem now. Signed up for the Dev Preview, phone behaved strangely today, reboot the device as per usual, and now its stuck on the boot screen...
I have tried applying the preview OTA update, and the Factory firmware reset, with the same results as you.
This is awesome considering I didn't unlock the bootloader, because I would have thought installing stock firmware would be possible.
This sucks... Lets hope Google releases a fix soon.
---------- Post added at 03:02 PM ---------- Previous post was at 03:01 PM ----------
Unfortunately telling the device to reset to factory doesn't help either. Seems like the latest update broke the OS completely.
Click to expand...
Click to collapse
JPT62089 said:
Wooohooo! Glad I'm not the only one It's unfortunate to have such a major issue as Preview 3 has been extremely stable for me up until yesterday...
Click to expand...
Click to collapse
The Developer Preview was never meant to be signed up by any average user without prior knowledge on Android Development. If you sign up for the beta program, then it's always imperative that you have the bootloader previously unlocked, in case this exact situation happen. Did you actually think that you can just sign up for the Beta program and hope that it will not cause any problems?
ttminh1997 said:
The Developer Preview was never meant to be signed up by any average user without prior knowledge on Android Development. If you sign up for the beta program, then it's always imperative that you have the bootloader previously unlocked, in case this exact situation happen. Did you actually think that you can just sign up for the Beta program and hope that it will not cause any problems?
Click to expand...
Click to collapse
I am a software technical lead, knowing full well what the implications might be of running beta software on any piece of computing equipment. However, not at any point when I signed up was there a statement that I need to unlock the bootloader. Booloader unlocking in my mind (and on previous devices, like the HTC One) was only required when you wanted to deviate from the Stock firmware on the device. This is stock firmware, from Google.
I'm generally quite excited to test new things and I report my findings often with details about my experience and how the software behaved upto that point. But this has left a bad experience and I am not participating in the program anymore due to this.
Coming back now to say "oh you shoulda known" is not constructive. I am interested in a solution, because Google pretty much bricked my device without me touching it. The update (and the beta version since the announcement) applied seamlessly, and was working fine until I rebooted the device today.
---------- Post added at 04:18 PM ---------- Previous post was at 04:09 PM ----------
Found this: https://www.reddit.com/r/Nexus6P/comments/4jzp1o/soft_bricked_nexus_6p_with_locked_bootloader_need/
Might be possible to reproduce the special ZIP file to create a "special" downgrade OTA zip file to unbrick it, just to unlock the bootloader (at the very least).
I will have to look into it later, as I am still at work, and need to tend to some other tasks before getting back to this.
Will keep everyone updated...
NeoAcheron said:
I am a software technical lead, knowing full well what the implications might be of running beta software on any piece of computing equipment. However, not at any point when I signed up was there a statement that I need to unlock the bootloader. Booloader unlocking in my mind (and on previous devices, like the HTC One) was only required when you wanted to deviate from the Stock firmware on the device. This is stock firmware, from Google.
I'm generally quite excited to test new things and I report my findings often with details about my experience and how the software behaved upto that point. But this has left a bad experience and I am not participating in the program anymore due to this.
Coming back now to say "oh you shoulda known" is not constructive. I am interested in a solution, because Google pretty much bricked my device without me touching it. The update (and the beta version since the announcement) applied seamlessly, and was working fine until I rebooted the device today.
Click to expand...
Click to collapse
Bootloader unlocks are extremely important if you want to do any system-level mods (rooting, flashing custom recoveries, rom). Not only does it allow you to deviate from stock firmwares, like you said, but it also opens a gateway in which you can just flash a factory image and resolve any potential problems that may arise from otherwise stock Android or any custom roms you have. And stock firmwares, whether from Google, Samsung or even Apple, don't always mean good, or even stable. They may be stable 99% of the time, but eventually bugs and glitches are bound to happen; that's why they are continually updated, and that's why the 2011 Samsung ICS brick fiasco happened.
I did not mean to insult you or anything in the reply. That being said, yes, you really should have known before venturing into flashing firmwares without unlocking the bootloader and creating a backup first. As for solution, have you recently installed any apps that may not be compatible with N? Can you boot into safemode and disable some apps? If you can actually go into safemode, check allow oem unlock, unlock the bootloader and reflash factory image.
ttminh1997 said:
Bootloader unlocks are extremely important if you want to do any system-level mods (rooting, flashing custom recoveries, rom). Not only does it allow you to deviate from stock firmwares, like you said, but it also opens a gateway in which you can just flash a factory image and resolve any potential problems that may arise from otherwise stock Android or any custom roms you have. And stock firmwares, whether from Google, Samsung or even Apple, don't always mean good, or even stable. They may be stable 99% of the time, but eventually bugs and glitches are bound to happen; that's why they are continually updated, and that's why the 2011 Samsung ICS brick fiasco happened.
I did not mean to insult you or anything in the reply. That being said, yes, you really should have known before venturing into flashing firmwares without unlocking the bootloader and creating a backup first. As for solution, have you recently installed any apps that may not be compatible with N? Can you boot into safemode and disable some apps? If you can actually go into safemode, check allow oem unlock, unlock the bootloader and reflash factory image.
Click to expand...
Click to collapse
No offence taken, but I will make sure to unlock the device once I get it back up. Unfortunately the device doesn't boot at all, I cannot get it into safemode either (using the volume keys during boot).
What I do have though is the thread that is mentioned in the reddit post, I will need to check if this works before unleashing it here...
Will update when any developments made.
---------- Post added at 05:08 PM ---------- Previous post was at 04:46 PM ----------
HEY HEY! It worked!
So you need to get this file: https://android.googleapis.com/pack.../53bd5f816ce0706903d1a69d50bca6cd4f52b800.zip
Get into the recovery mode of the device to do ADB sideload and update using that zip file. That zip file is the file Google will send to your device when you opt out of the Beta program, to effectively downgrade you back to Marshmallow.
Once you reboot, the device will reboot itself twice and come back as a stock Marshmallow device.
Please note that all your stuff will still be gone... The device will be fully factory reset after this.
I hope this helps you too!
Happy flashing, and happy testing!
NeoAcheron said:
No offence taken, but I will make sure to unlock the device once I get it back up. Unfortunately the device doesn't boot at all, I cannot get it into safemode either (using the volume keys during boot).
What I do have though is the thread that is mentioned in the reddit post, I will need to check if this works before unleashing it here...
Will update when any developments made.
---------- Post added at 05:08 PM ---------- Previous post was at 04:46 PM ----------
HEY HEY! It worked!
So you need to get this file: https://android.googleapis.com/pack.../53bd5f816ce0706903d1a69d50bca6cd4f52b800.zip
Get into the recovery mode of the device to do ADB sideload and update using that zip file. That zip file is the file Google will send to your device when you opt out of the Beta program, to effectively downgrade you back to Marshmallow.
Once you reboot, the device will reboot itself twice and come back as a stock Marshmallow device.
Please note that all your stuff will still be gone... The device will be fully factory reset after this.
I hope this helps you too!
Happy flashing, and happy testing!
Click to expand...
Click to collapse
Glad you could make your phone work again. Make sure that you unlock your bootloader before unlocking or testing any new roms.
NeoAcheron said:
No offence taken, but I will make sure to unlock the device once I get it back up. Unfortunately the device doesn't boot at all, I cannot get it into safemode either (using the volume keys during boot).
What I do have though is the thread that is mentioned in the reddit post, I will need to check if this works before unleashing it here...
Will update when any developments made.
---------- Post added at 05:08 PM ---------- Previous post was at 04:46 PM ----------
HEY HEY! It worked!
So you need to get this file: https://android.googleapis.com/pack.../53bd5f816ce0706903d1a69d50bca6cd4f52b800.zip
Get into the recovery mode of the device to do ADB sideload and update using that zip file. That zip file is the file Google will send to your device when you opt out of the Beta program, to effectively downgrade you back to Marshmallow.
Once you reboot, the device will reboot itself twice and come back as a stock Marshmallow device.
Please note that all your stuff will still be gone... The device will be fully factory reset after this.
I hope this helps you too!
Happy flashing, and happy testing!
Click to expand...
Click to collapse
Did you just flash every .img file? There does not appear to be any other way.
NeoAcheron said:
HEY HEY! It worked!
So you need to get this file: https://android.googleapis.com/pack.../53bd5f816ce0706903d1a69d50bca6cd4f52b800.zip
Get into the recovery mode of the device to do ADB sideload and update using that zip file. That zip file is the file Google will send to your device when you opt out of the Beta program, to effectively downgrade you back to Marshmallow.
Once you reboot, the device will reboot itself twice and come back as a stock Marshmallow device.
Please note that all your stuff will still be gone... The device will be fully factory reset after this.
I hope this helps you too!
Happy flashing, and happy testing!
Click to expand...
Click to collapse
Thanks for posting this NeoAcheron, I sideloaded this yesterday and was actually able to perform an adb sideload this time (found a handy tip... Once the phone is waiting for adb commands, unplug and plug it back into the computer as it may not already see it)
It didn't seem to immediately help, unfortunately. I let it bootloop for a while before giving up and then tried again last night. I had left it on my desk bootlooping for a while and then all of a sudden it was booted and waiting for me to set it up. I quickly did so and immediate went to settings to enable the OEM Flashing setting and just as I did so it went to the red warning screen and then proceeded to bootloop again... I tried to run fastboot flashing unlock again in hopes that my changing the setting took before it bootlooped, but still got the FAILED message. I've since tried every which way of factory resetting, sideloading again, leaving it for hours in bootloop, and still nothing
Anyone have any more ideas?
Maybe a dumb question...but
ttminh1997 said:
Glad you could make your phone work again. Make sure that you unlock your bootloader before unlocking or testing any new roms.
Click to expand...
Click to collapse
Deleted
---------- Post added at 10:19 PM ---------- Previous post was at 09:59 PM ----------
So you need to get this file: https://android.googleapis.com/packa...cd4f52b800.zip
Get into the recovery mode of the device to do ADB sideload and update using that zip file. That zip file is the file Google will send to your device when you opt out of the Beta program, to effectively downgrade you back to Marshmallow.
Once you reboot, the device will reboot itself twice and come back as a stock Marshmallow device.
Please note that all your stuff will still be gone... The device will be fully factory reset after this.
I hope this helps you too!
Happy flashing, and happy testing!
Can I flash this ( https://android.googleapis.com/packa...cd4f52b800.zip) in TWRP ? I am running N5...I wanted to go back to Marshmallow to be able to flash some roms.
Thanks
NeoAcheron said:
No offence taken, but I will make sure to unlock the device once I get it back up. Unfortunately the device doesn't boot at all, I cannot get it into safemode either (using the volume keys during boot).
What I do have though is the thread that is mentioned in the reddit post, I will need to check if this works before unleashing it here...
Will update when any developments made.
---------- Post added at 05:08 PM ---------- Previous post was at 04:46 PM ----------
HEY HEY! It worked!
So you need to get this file:
Get into the recovery mode of the device to do ADB sideload and update using that zip file. That zip file is the file Google will send to your device when you opt out of the Beta program, to effectively downgrade you back to Marshmallow.
Once you reboot, the device will reboot itself twice and come back as a stock Marshmallow device.
Please note that all your stuff will still be gone... The device will be fully factory reset after this.
I hope this helps you too!
Happy flashing, and happy testing!
Click to expand...
Click to collapse
Hey NeoAcheron. I'm having a similar issue. After years of flashing custom ROMs, I joined the Beta programme so I could do things 'properly' on my Nexus 6P. Been working fine for a fortnight, until today when it randomly froze, crashed, and is now stuck in a bootloop on the 'Google' screen. I can get into the bootloader menu, but every option I select takes me back to the 'Google' bootloop screen. I can't even get my PC to recognise it as a device so I can't sideload a workaround.
Any ideas, or is it basically useless? Google have offered me a replacement phone, but I'd like to try and rescue this one first
Thanks in advance
kristianj79 said:
Hey NeoAcheron. I'm having a similar issue. After years of flashing custom ROMs, I joined the Beta programme so I could do things 'properly' on my Nexus 6P. Been working fine for a fortnight, until today when it randomly froze, crashed, and is now stuck in a bootloop on the 'Google' screen. I can get into the bootloader menu, but every option I select takes me back to the 'Google' bootloop screen. I can't even get my PC to recognise it as a device so I can't sideload a workaround.
Any ideas, or is it basically useless? Google have offered me a replacement phone, but I'd like to try and rescue this one first
Thanks in advance
Click to expand...
Click to collapse
The first thing you could try wiping cache from the stock recovery, and see if it works. Do you have any data on the device that you desperately wanna save, and can't loose?
DJBhardwaj said:
The first thing you could try wiping cache from the stock recovery, and see if it works. Do you have any data on the device that you desperately wanna save, and can't loose?
Click to expand...
Click to collapse
Thanks DJBhardwaj - I'm all backed up. I just wanted to see if I could fix it myself because I'd rather not be without a decent phone for a week. I'm no expert and I usually need my hand holding, but I've managed to get out of a few scrapes in the past with custom ROMs and bootloops!
My issue is that I can't even access stock recovery. I can get into the fastboot menu using the hardware keys but selecting any ption from there throws the device into a bootloop again. I also can't get my PC to see the device and wrestle beck control using adb commands, so I'm a bit stuck :/
kristianj79 said:
Thanks DJBhardwaj - I'm all backed up. I just wanted to see if I could fix it myself because I'd rather not be without a decent phone for a week. I'm no expert and I usually need my hand holding, but I've managed to get out of a few scrapes in the past with custom ROMs and bootloops!
My issue is that I can't even access stock recovery. I can get into the fastboot menu using the hardware keys but selecting any ption from there throws the device into a bootloop again. I also can't get my PC to see the device and wrestle beck control using adb commands, so I'm a bit stuck :/
Click to expand...
Click to collapse
Have you tried on any other Windows or Mac PC? If you can get it to detect, then the problem would be pretty easily solved. To confirm if your device is being recognized, type in the following command in CMD/Terminal:
Code:
fastboot devices

HardBricked OP5, plz help! :(

Hi, guys.
Today, my OP5 decided to troll me. I was using normally him, when suddenly it started to lags pretty bad. I restarted and he continued to lags and freeze. I made a wipe cache via stock recovery (i didnt made any change at all in it, no unlocked bootloader, no root). That's when my nightmare begins. It begins to bootloop. Sometimes i was able to start the boot animation, but then it just restarts to the beginning. I tried a lot of tips, wiping cache, system, etc. Then, i left it charging. When i tried to turn on again, it worked like nothing ever happened to him. I made a backup of my personal data fast, scared to him suddenly restart again. After that, i decided to made a Factory Reset, clean up everything. When i did it, he started the lag and freezes again. I was at lost. That's was when i decided to use the official unbrick tool, to make the cleanest OP5 ever possible. I grabbed the archives from this link and followed this tutorial. When i was executing the programa, in the userdate.img, he showed a error. When i saw it, i just stopped and closed the program. Now, my OP5 is hardbricked. The only sign of life that i get from him is when i connect him at the PC. I can identify it as qualcoom 9008, but when i try to run the program, he just fail and show me error 258.
Plz, i need some orientations. I have been read things for about 10 hours and didnt found a solution. I live abroad for any oneplus tech center, and i believe, for the other posts that i read, that online tech support wouldn't help me a lot. I really don't like to make this kind of post but i am kind of desesperate. I dont have money to afford another phone
Again, sry to disturb you all. Sry if i broke some rule of the forum too. And sry for my bad english, i hope that i was able to communicate right.
EDIT: I just tried in another computer. Same error appears. :'(
Hummm why follow a Unbrick Topic with tools for ...3T ?
Maybe you have a encryption problem, all your Tools/Topic are so old for the actual versions (Oreo 8.X OOS / 8.1 OOS)
I advise to you (in the first time), to flash this TWRP (using fastboot, very simple) just follow this guide : here
If you can flash TWRP, your phone is not bricked, you will boot in TWRP:
- Format Data > tape "yes" > Reboot in TWRP
- Copy/Past xXx 10.0 ROM to test, install and xXx Rom will fix/install for you the best OOS Custom ROM for your OP5 with a great Aroma Installer.
If TWRP with this rom work perfectly, you wil able to restore a official stock OOS for sure, just flash original/stock recovery (fastboot), wipe all data/partitions, install your OOS rom and it's fine
I think @cidsantiago says they bootloader isn't unlocked.
He needs to know that unlock the bootloader implies lost all /sdcard data and also installed apps and settings) before start the TWRP install process...
Pho3nX said:
Hummm why follow a Unbrick Topic with tools for ...3T ?
Maybe you have a encryption problem, all your Tools/Topic are so old for the actual versions (Oreo 8.X OOS / 8.1 OOS)
I advise to you (in the first time), to flash this TWRP (using fastboot, very simple) just follow this guide : here
If you can flash TWRP, your phone is not bricked, you will boot in TWRP:
- Format Data > tape "yes" > Reboot in TWRP
- Copy/Past xXx 10.0 ROM to test, install and xXx Rom will fix/install for you the best OOS Custom ROM for your OP5 with a great Aroma Installer.
If TWRP with this rom work perfectly, you wil able to restore a official stock OOS for sure, just flash original/stock recovery (fastboot), wipe all data/partitions, install your OOS rom and it's fine
Click to expand...
Click to collapse
Pho3nX said:
Hummm why follow a Unbrick Topic with tools for ...3T ?
Click to expand...
Click to collapse
I used the tools for 5. Just the procedure that i get from this topic. :T I am gonna try the method that you gave me now brb.
EDIT: Just tried this. My cellphone cant be recognized in fastboot devices. As a said, i am not getting any response for him, just when i plug it in the PC. So i wasn't able to unlock bootload or anything like that. I tried just to plug it and see if fastboot was able to identifying it, but it wasn't.
bartito said:
I think @cidsantiago says they bootloader isn't unlocked.
He needs to know that unlock the bootloader implies lost all /sdcard data and also installed apps and settings) before start the TWRP install process...
Click to expand...
Click to collapse
Yes, it should not be unlocked. But at the moment, i am taking anything, really. I just want to use my phone.
cidsantiago said:
Yes, it should not be unlocked. But at the moment, i am taking anything, really. I just want to use my phone.
Click to expand...
Click to collapse
Wipe your device data from the stock recovery.
You loss the settings and downloaded apps but not requires to unlock the bootloader.
bartito said:
Wipe your device data from the stock recovery.
You loss the settings and downloaded apps but not requires to unlock the bootloader.
Click to expand...
Click to collapse
I can't access recovery anymore, as i said. The only sign of life that i get is when i connect it in the PC.
I guess i have to do something to restore the basics partitions of my cellphone. Like recovery, boot, etc. But i just have the official tool to do that. There is another way? Like transfering directly by the COM port?
Have you tried following this guide? https://forum.xda-developers.com/oneplus-5/how-to/guide-unbrick-guide-hard-bricked-t3761706
---------- Post added at 01:30 PM ---------- Previous post was at 01:26 PM ----------
I had the same exact problem with my old One plus One. Spent like 4 days trying to unbrick it. That msm tool did the fix for me. Also, in that link to the guide you provided, doesn't it flash the Chinese version of the OS? If that's the case, I don't think it was a good idea to do so lol
Mash1ro said:
Have you tried following this guide? https://forum.xda-developers.com/oneplus-5/how-to/guide-unbrick-guide-hard-bricked-t3761706
---------- Post added at 01:30 PM ---------- Previous post was at 01:26 PM ----------
I had the same exact problem with my old One plus One. Spent like 4 days trying to unbrick it. That msm tool did the fix for me. Also, in that link to the guide you provided, doesn't it flash the Chinese version of the OS? If that's the case, I don't think it was a good idea to do so lol
Click to expand...
Click to collapse
In one of the links, it had the OOS and the HOS. I tried to use the msm tool in one of them, but it didnt worked I'm gonna try the archives in this link that you gave me. It may work brb with updates.
Don't worry though, it happens to plenty of people. It happened to me as well, and everyone eventually fixes it. It is unlikely that it is a hardware problem, so just following the correct steps should get it working. Keep trying stuff out, it's very good that your computer recognizes it as a qualcomm port, as far as I know that's all you need to flash the necessary things in order for it to boot.
I am getting the same error 258 in this post. :T I posted there to see if the OP can help me. But thx for your help @Mash1ro
Mash1ro said:
Don't worry though, it happens to plenty of people. It happened to me as well, and everyone eventually fixes it. It is unlikely that it is a hardware problem, so just following the correct steps should get it working. Keep trying stuff out, it's very good that your computer recognizes it as a qualcomm port, as far as I know that's all you need to flash the necessary things in order for it to boot.
Click to expand...
Click to collapse
Thx for your support! I will continue to try stuff
Try reading the comments from this post as well https://forum.xda-developers.com/oneplus-3t/help/hard-bricked-op3t-t3574720/page2
2 of the people had the same error as you, and one of them solved the issue by changing the USB port.
---------- Post added at 02:26 PM ---------- Previous post was at 02:23 PM ----------
But don't use the same files and all that stuff, since that's for the 3T. Try to pick out the things that might help but use the files for the OnePlus 5 only
After try the unbrick procedure in 3 different PCs, using about 10 different USB ports, i still getting the same error in the same step. When downloading cache.img, he stuck in about mid bar, and shows me the warning: SendProgramCommand Failed, Error: 258". Besides that, he turns on the green led and stop being recognize by the PC. Then i have to hold power and turn off the green led. :T Maybe i can use a linux to access the partitions?
cidsantiago said:
After try the unbrick procedure in 3 different PCs, using about 10 different USB ports, i still getting the same error in the same step. When downloading cache.img, he stuck in about mid bar, and shows me the warning: SendProgramCommand Failed, Error: 258". Besides that, he turns on the green led and stop being recognize by the PC. Then i have to hold power and turn off the green led. :T Maybe i can use a linux to access the partitions?
Click to expand...
Click to collapse
it seems like a hardware problem, i was facing this on different phone ( 5X )
Apayah said:
it seems like a hardware problem, i was facing this on different phone ( 5X )
Click to expand...
Click to collapse
yeah... But it is kind of weird. He was running smoothly, until suddenly started lag and freeze. He didn't fall or any of that... I think is just a defective phone. Doesn't find another explanation to that.
I think your best option is to RMA the device through OnePlus. Since you haven't rooted it or anything, they should repair it for you.
david19au said:
I think your best option is to RMA the device through OnePlus. Since you haven't rooted it or anything, they should repair it for you.
Click to expand...
Click to collapse
I already contact the store that i bought to get my warranty. Unfortunately, i didn't bought it in oneplus.net, bcs they don't deliver in my country. I am hoping that everything work out
Guys, in the end, i RMA my device back to the seller and gonna have a refund Thank you for your help. So sad that this phone came faulty :T
Best regards to you all!

TWRP "Fix Contexts" Function

Hi All,
Could someone please explain to me precisely what TWRP "Advanced" ---->"Fix Contexts" does?
Is this the same as prior-version TWRP "Fix Permissions"? Could performing this function possibly reset "no run" flags set by package disabler apps such as BK Disabler? (I'm trying to reset those flags to avoid having to re-flash the stock 6.0.1 ROM in order to fix a boot freeze problem with my phone. I obviously cannot re-enable the system apps that I accidently disabled with BK Disabler, given that the phone won't boot.)
Thanks,
Bruce
BruceElliott said:
Hi All, Could someone please explain to me precisely what TWRP "Advanced" ---->"Fix Contexts" does? Is this the same as prior-version TWRP "Fix Permissions"? Could performing this function possibly reset "no run" flags set by package disabler apps such as BK Disabler? (I'm trying to reset those flags to avoid having to re-flash the stock 6.0.1 ROM in order to fix a boot freeze problem with my phone. I obviously cannot re-enable the system apps that I accidently disabled with BK Disabler, given that the phone won't boot.). Thanks, Bruce
Click to expand...
Click to collapse
That's a very good question!
I use TWRP on a few devices and have done so for a very long time and I can honestly state that I've never used that function and am not quite sure what, when, why, etc... It's needed or really does without taking an educated guess that may not be a very good one or completely wrong.
Your best bet is to post this question within the following Official TWRP thread for your device and variants.
https://forum.xda-developers.com/showthread.php?t=2727406
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Ibuprophen said:
That's a very good question!
I use TWRP on a few devices and have done so for a very long time and I can honestly state that I've never used that function and am not quite sure what, when, why, etc... It's needed or really does without taking an educated guess that may not be a very good one or completely wrong.
Your best bet is to post this question within the following Official TWRP thread for your device and variants.
https://forum.xda-developers.com/showthread.php?t=2727406
Good Luck!
Click to expand...
Click to collapse
Thank you, Ibuprophen; I will post the question as you suggest, out of curiosity. I tried it anyway last night and it did not restore boot. After recovering my data and taking a full nandroid backup using TWRP, I finally flashed the latest version of the S5 stock ROM (dated March 2017, which is what I had on my bricked phone) downloaded from Sammobile. That indeed restored boot and and left me at the new phone startup procedure and back at the dreaded beginning of a system configuration oddessy that has evolved over years.
In an attempt to shortcut that, I flashed only the /data partition from the nandroid backup. But of course the /data partition backup included all apps and their settings, including BK Disabler and its XML file of disabled apps including the disabled system apps preventing boot. So now my phone is back at an unbootable state; but at least I know that the problem is in the /data partition. Using the terminal app in TWRP, I found BK Disabler in /data and its dependent files in /data/data. I have not yet found BK Disabler's XML file listing all of the disabled apps. Once I do, I will delete those entries, rename BK Disabler apk and files, and create a nandroid of the resulting "old" /data partition minus BK Disabler. Then I will flash the entire stock ROM again from Odin, but without reboot. As I understand it, at first boot the system creates the master "oat" file from apps in the /data partition and then modifies that file as new apps are properly installed. If so, it makes sense that one could not abruptly flash a different /data without the rest of the system knowing what's going on.
So, after flashing again to stock without reboot, I will flash the backup /data with all of my "old life" but hopefully minus the offending BK Disabler apk and dependent files. Then, when I boot to this jury-rigged system for the first time, hopefully the new phone startup process will be happy with the modified /data partition and go merrily on its way by creating the system oat file to include all of my old apps, etc. I even found the system settings file in /data/data, so if this works, even those should be retained.
Another, more laborious process, would be to try to find all of the system executables whose "execute" permission has been set to "no execute" by BK Disabler and use the chmod command in TWRP to restore those permissions. Too much fun...
But please, if anyone has read this far and has any input on these procedures I would love to know. One problem that I am encountering is that the linux bash command environment seems to be quite limited in TWRP, which makes sense as this a recovery environment after all. But if anyone knows how to flash some extension of the bash environment to/with TWRP, that might be helpful. It could, for example, allow me to quickly search for all system files with the "no execute" permission set.
All of this is getting a bit burdensome for a person whose hobby is not phone hacking, so my mind wanders to a dresser drawer full of old flip phones, some of which could probably be activated... Hey, that would be one way to beat the Google Monster, one of those flip phones and an old Garmin.
Cheers,
Bruce
P.S. Be careful with the NSAIDs.
BruceElliott said:
Thank you, Ibuprophen; I will post the question as you suggest, out of curiosity. I tried it anyway last night and it did not restore boot. After recovering my data and taking a full nandroid backup using TWRP, I finally flashed the latest version of the S5 stock ROM (dated March 2017, which is what I had on my bricked phone) downloaded from Sammobile. That indeed restored boot and and left me at the new phone startup procedure and back at the dreaded beginning of a system configuration oddessy that has evolved over years.
.
.
.
Click to expand...
Click to collapse
I know from your posts in the other forum that you solved your problem (http://forum.xda-developers.com/showpost.php?p=76303152&postcount=1169), but did you ever figure out what "Fix Contexts" actually does? I have a Nexus 4 that won't boot (stuck at the Google "swirling colors" animation), and like you, I'm not yet ready to wipe it to get it going. I'd like to at least, recover some data.
That said, you may know that the Nexus 4 is a sealed phone, thus I can't do a NAND backup to an SD Card. Like an idiot, I turned of USB Debugging before it went into this non-booting situation, so I can't use ADB to perform a TWRP backup to my computer. So, if "Fix Contexts" could solve my problem without bricking my phone further, it would be great.

How do I fix a bootloop?

The phone is a Moto g7, Verizon river xt1962-1, rooted with Magisk and TWRP.
I wanted to update to Magisk 19.4, so I made a TWRP backup and ran the unroot patch and went back to 19.3, but I still had the problem, so I decided to restore from the backup. After the backup, I am stuck in a bootloop, the whole "Your device is unlocked and cannot be trusted" screen over and over. I can get into TWRP, but no backup that I have tried will fix the boot loop. I tried a few things that just seemed obvious to me, clearing the cache and whatnot, but I am still stuck. I have adb and fastboot at the ready, but I don't know where to go from here.
I do not even know what build I am running, I cannot get into System / About to see, and I am not savvy enough to know any other way to find out. I know that it was current stock, missing only the most recent patches.
Is there a way that I can restore my phone? I would be grateful for any help. Damn, I love this g7 so much more than the Note phones that I had been using for years, but I was at least a little familiar with them. Thanks for any help.
Sounds like you'll need to fastboot flash a stock rom to your phone, use TWRP to get into the bootloader/fastboot mode, and also sounds like you messed up the boot.img when you were trying to go through that process. I just updated the Magisk app from within the app itself - no issues there. Might be a good time to update to a newer stock rom as well, might as well take advantage of the situation amirite?
But just for different options, here may be some useful links
Keep in mind, I haven't used either one of the methods in either links and I am not responsible for anything that occurs from your actions.
idk about this one but looks like it may help
https://forum.xda-developers.com/moto-g7/how-to/how-to-fix-g7-xt1962-1-stuck-bootloader-t3917792
this next one has the flashboot commands you'd need to also update your ROM
https://forum.xda-developers.com/moto-g7/how-to/moto-g7-xt1962-1-riverretail9-0ppos29-t3969067
Keep in mind, I haven't used either one of the methods in either links and I am not responsible for anything that occurs from your actions.
Anyways, good luck!
SmilingPerson said:
The phone is a Moto g7, Verizon river xt1962-1, rooted with Magisk and TWRP.
I wanted to update to Magisk 19.4, so I made a TWRP backup and ran the unroot patch and went back to 19.3, but I still had the problem, so I decided to restore from the backup. After the backup, I am stuck in a bootloop, the whole "Your device is unlocked and cannot be trusted" screen over and over. I can get into TWRP, but no backup that I have tried will fix the boot loop. I tried a few things that just seemed obvious to me, clearing the cache and whatnot, but I am still stuck. I have adb and fastboot at the ready, but I don't know where to go from here.
I do not even know what build I am running, I cannot get into System / About to see, and I am not savvy enough to know any other way to find out. I know that it was current stock, missing only the most recent patches.
Is there a way that I can restore my phone? I would be grateful for any help. Damn, I love this g7 so much more than the Note phones that I had been using for years, but I was at least a little familiar with them. Thanks for any help.
Click to expand...
Click to collapse
Try to flash the stock boot.img and you'll be fine. If you haven't got a stock boot.img you will find a backup of it in your /data partition (magisk does a backup of it by default). Just unpack the TWRP backup of your /data or download the latest firmware to get a boot.img
WoKoschekk said:
Try to flash the stock boot.img and you'll be fine. If you haven't got a stock boot.img you will find a backup of it in your /data partition (magisk does a backup of it by default). Just unpack the TWRP backup of your /data or download the latest firmware to get a boot.img
Click to expand...
Click to collapse
Mate, I can't thank you enough, now I am back up.
I took advantage of the oppotunity to do a Titanium backup and flash the latest firmware, since I was still running old security updates.
I am not sure why the TWRP backups caused a bootloop, that concerns me. I am diligent about making one before any significant change, and now I see that none of them were good. It might be that the backup I applied included boot, and somehow that caused an issue.
In any case though, thanks a million. I would PM you a beer, but they tend to go flat when they hit the first ATM gateway. Hops and TCP encapsulation don't seem to be compatible, especially at > 9600 baud ?
zenful said:
Sounds like you'll need to fastboot flash a stock rom to your phone, use TWRP to get into the bootloader/fastboot mode, and also sounds like you messed up the boot.img when you were trying to go through that process. I just updated the Magisk app from within the app itself - no issues there. Might be a good time to update to a newer stock rom as well, might as well take advantage of the situation amirite?
But just for different options, here may be some useful links
Keep in mind, I haven't used either one of the methods in either links and I am not responsible for anything that occurs from your actions.
idk about this one but looks like it may help
https://forum.xda-developers.com/moto-g7/how-to/how-to-fix-g7-xt1962-1-stuck-bootloader-t3917792
this next one has the flashboot commands you'd need to also update your ROM
https://forum.xda-developers.com/moto-g7/how-to/moto-g7-xt1962-1-riverretail9-0ppos29-t3969067
Keep in mind, I haven't used either one of the methods in either links and I am not responsible for anything that occurs from your actions.
Anyways, good luck!
Click to expand...
Click to collapse
Thanks man, I really appreciate it! I did take advantage of the opportunity to update, something that had been bugging me for a while anyway.
I had updated Magisk to the beta through Manager, but a problem came up and I needed to step back to the stable version. That was where I messed up.
In a way though, it was just as well, since it forced me to spend a little time reading about the G7 ecosystem, something I really hadn't done much of yet. It used to be fun keeping up and flashing nightlies, etc, but over the past few years, it has got away from me. If it wasn't for a few specific things, I would almost stay stock. But I get uncomfortable thinking about the ridiculous amount of personal information a stock phone releases about us, so things like Signal and xPrivacylua are important to my sense of well being. Even if some of it is placebo.
zenful said:
Sounds like you'll need to fastboot flash a stock rom to your phone, use TWRP to get into the bootloader/fastboot mode, and also sounds like you messed up the boot.img when you were trying to go through that process. I just updated the Magisk app from within the app itself - no issues there. Might be a good time to update to a newer stock rom as well, might as well take advantage of the situation amirite?
But just for different options, here may be some useful links
Keep in mind, I haven't used either one of the methods in either links and I am not responsible for anything that occurs from your actions.
idk about this one but looks like it may help
https://forum.xda-developers.com/moto-g7/how-to/how-to-fix-g7-xt1962-1-stuck-bootloader-t3917792
this next one has the flashboot commands you'd need to also update your ROM
https://forum.xda-developers.com/moto-g7/how-to/moto-g7-xt1962-1-riverretail9-0ppos29-t3969067
Keep in mind, I haven't used either one of the methods in either links and I am not responsible for anything that occurs from your actions.
Anyways, good luck!
Click to expand...
Click to collapse
Thanks man, I really appreciate it! I did take advantage of the opportunity to update, something that had been bugging me for a while anyway.
I had updated Magisk to the beta through Manager, but a problem came up and I needed to step back to the stable version. That was where I messed up.
In a way though, it was just as well, since it forced me to spend a little time reading about the G7 ecosystem, something I really hadn't done much of yet. It used to be fun keeping up and flashing nightlies, etc, but over the past few years, it has got away from me. If it wasn't for a few specific things, I would almost stay stock. But I get uncomfortable thinking about the ridiculous amount of personal information a stock phone releases about us, so things like Signal and xPrivacylua are important to my sense of well being. Even if some of it is placebo.
SmilingPerson said:
Mate, I can't thank you enough, now I am back up.
I took advantage of the oppotunity to do a Titanium backup and flash the latest firmware, since I was still running old security updates.
I am not sure why the TWRP backups caused a bootloop, that concerns me. I am diligent about making one before any significant change, and now I see that none of them were good. It might be that the backup I applied included boot, and somehow that caused an issue.
In any case though, thanks a million. I would PM you a beer, but they tend to go flat when they hit the first ATM gateway. Hops and TCP encapsulation don't seem to be compatible, especially at > 9600 baud
Click to expand...
Click to collapse
I'm glad to hear that! Don't worry about the beer!
I had similar issues with my Moto g6+... Either the /data encryption or Magisk is the reason for a failed backup. Both can cause a bootloop. But it's always good to have a stock boot.img.
I'm reading this because of the same issue in a Moto G7 Power. I haven't been able to make it restore a backup at all of either stock or custom. Oh, it will restore it just won't boot. I think it has something to do with the A&B system slots. We use a TWRP that was made for system with A&B slots but then we flash a copy partition zip That I'm not sure what it does. Maybe I should take it apart and have a look. . Has anyone been able to restore a backup in the G7?
arkansawdave74 said:
I'm reading this because of the same issue in a Moto G7 Power. I haven't been able to make it restore a backup at all of either stock or custom. Oh, it will restore it just won't boot. I think it has something to do with the A&B system slots. We use a TWRP that was made for system with A&B slots but then we flash a copy partition zip That I'm not sure what it does. Maybe I should take it apart and have a look. . Has anyone been able to restore a backup in the G7?
Click to expand...
Click to collapse
Do a full restore of boot, system and data.
Is data...
...encrypted => Then format data (not wipe!!) and reboot into system. When you see the "Welcome Screen" turn off your device and boot into TWRP again. Restore data and it should be fine.
...unencrypted => Then format data and restore data (w/o reboot!!)

Phone won't boot after TWRP restore

I really need help. I don't have a usable phone.
It's a long sad story but I had a working rooted phone with stock Android 9 and Magisk. Because I could not get OTA updates I wanted to update the old version installed, but never succeeded. To make a long story short, since I had a recent Twrp backup so I did a twrp restore.
Rebooting after that caused a boot loop. I finally flashed a stock boot.img using adb and ended with either a boot loop or just the Moto image staying static.
I gave up and decided to do a factory restore.
TWRP is no longer available as recovery. I now get the dead android with red exclamation mark. I got to the options and selected factory restore with wipe user data. Reboot now gives me a static Moto image and nothing further.
I repeated factory restore with wipe user data 2 more times with same result.
How do I get a working phone again?
Please help. Thank you.
Hi there,
I had a similar problem with my phone a few days ago.
Did you try to flash back your stock os with a blank flash? for me this worked, I just had to make sure that ALL files of the Rom image were included in the batch/shell script. For me with a reteu image one was missing (I think the vendor.002 or something like that), otherwise my phone was also stuck at boot.
Maybe that helps! good luck!
Blankflash can be complicated; at least it was for me. Do a Google search, maybe, for LMSA. It's a software program from Lenovo (make sure when you find it that it is lenovos website) and download this app on your windows PC. Normally, and with a little luck, you can put your phone in fastboot mode (it instructs you through all this, too), go-to Restore and LMSA will download the most recent firmware and flash you back to stock. Hope you have some luck! if not I can try to be more helpful with blank / because it took me months to figure out and find a compatible one but I still have it somewhere.
DrHelicopter said:
Hi there,
I had a similar problem with my phone a few days ago.
Did you try to flash back your stock os with a blank flash? for me this worked, I just had to make sure that ALL files of the Rom image were included in the batch/shell script. For me with a reteu image one was missing (I think the vendor.002 or something like that), otherwise my phone was also stuck at boot.
Maybe that helps! good luck!
Click to expand...
Click to collapse
I finally was able to flash stock rom again, re root and restore my apps with Titanium backup. I remembered a partially broken old phone I had and got it working. That relieved the stress of not having a phone and allowed me to work more calmly on my main phone. Still don't know why the twrp restore messed the phone up. Makes me bother why I'm using twrp for backups.
clintongsan said:
Blankflash can be complicated; at least it was for me. Do a Google search, maybe, for LMSA. It's a software program from Lenovo (make sure when you find it that it is lenovos website) and download this app on your windows PC. Normally, and with a little luck, you can put your phone in fastboot mode (it instructs you through all this, too), go-to Restore and LMSA will download the most recent firmware and flash you back to stock. Hope you have some luck! if not I can try to be more helpful with blank / because it took me months to figure out and find a compatible one but I still have it somewhere.
Click to expand...
Click to collapse
I tried LMSA. It had entries for several Moto G7 phones (plus, etc) but not the plain G7. Strange.
maybeme2 said:
I tried LMSA. It had entries for several Moto G7 phones (plus, etc) but not the plain G7. Strange.
Click to expand...
Click to collapse
I don't know if you still want to flash via fastboot, but there is a good guide for the g7 plus here .
You just need the last part, if your bootloader is working. Just keep in mind you need another image from lolinet, the standard G7 is codenamed 'river' as far as i know, so this should be the place for you.
And remember to check if all files (of the extracted image) are included in the 'flashfile.bat' to ensure the flash is complete, otherwise it maybe won't boot.
Hope this helps recovering your phone!
RE:
maybeme2 said:
I tried LMSA. It had entries for several Moto G7 phones (plus, etc) but not the plain G7. Strange.
Click to expand...
Click to collapse
Hmm, okay. That is strange but maybe you have the G7 Plus variant? I don't know that model but the regular G7 is codenamed to (river) xt1962-1. So if you boot into fastboot (from power off; volume down and power held until the fastboot screen appears), look for the third or fourth line down, it will read something like "Product/Variant: river XT1962-1 64GB..." just to ensure that you are looking at the right forum/device. If you are still having issues and if all else does not prove successful, let me know and I can share the blankflash that worked for me along with the best instructions from memory on how I did it. My phone was once bricked to the point where no screen came on at all and I thought it was a goner (actually did it to two seperate G7s as I was learning why Lineage isn't my favorite custom ROM at the time lol) so I know the blankflash I have will work but I would recommend it as a last measure due to the fact that any and all data will be wiped so you won't be able to hold onto anything that is on the device's storage, itself. Hope you got it fixed and wishin you luck!
---------- Post added at 11:13 PM ---------- Previous post was at 11:10 PM ----------
DrHelicopter said:
Hi there,
I had a similar problem with my phone a few days ago.
Did you try to flash back your stock os with a blank flash? for me this worked, I just had to make sure that ALL files of the Rom image were included in the batch/shell script. For me with a reteu image one was missing (I think the vendor.002 or something like that), otherwise my phone was also stuck at boot.
Maybe that helps! good luck!
Click to expand...
Click to collapse
Hey there; do you happen to have a page or website handy that explains blankflash and how the script runs? I remember there being so much confusion over it such as some people had me thinking I needed to find an external firehose program, codes, etc., and as it turned out I only needed the correct blankflash. I was able to fix my devices a couple of months ago but I was just still a bit curious as to the behind-the-scenes details that the software runs in order to be such an awesome fix. Thanks, in advance. Take care!
Fortunately I was finally able to download the latest stock android 9 from Lolinet and flash it to the phone with fastboot. I rooted again with Magisk, flashed copypartitions, and restored my apps and data from a recent Titanium Backup. So I am good now. But, it was very stressful for 2-3 days because I'm not an expert.
Yes the phone is river XT1962-1 64GB, but for some reason my LMSA did not recognize it. Extremely strange but unimportant now since I'm now back in business. I don't know for sure what happened but I suspect it may have had something to do with Moto G7's A / B partitions getting mixed up.
LMSA needs to be updated if there is no Moto g7 option. I just checked on my install and the option was there.
Has anyone ever actually used a TWRP restore? I have tried numerous times to no avail. It's rather annoying but I hope it'll get fixed one day to do backups/restores...same goes for adb backups.
clintongsan said:
Has anyone ever actually used a TWRP restore? I have tried numerous times to no avail. It's rather annoying but I hope it'll get fixed one day to do backups/restores...same goes for adb backups.
Click to expand...
Click to collapse
I've successfully used twrp restores several times on previous phones. Saved me many times. But they were all on Nexus phones and earlier android versions.
The only time I used it on the Moto G7 I got stuck in a bootloop. Maybe it's the newer A B dual partitions causing my problems. Don't know for sure. But without a dependable system restore capability, twrp loses its value to me.
Now I am even afraid to try another twrp restore as a test in case I get thrown back into a boot loop. See my note on
https://forum.xda-developers.com/g7-plus/development/recovery-twrp-3-3-0-moto-g7-plus-t3930050/page9

Categories

Resources