OnePlus 6T Bootloop Help! - OnePlus 6T Questions & Answers

So I was using a certain root app and it told me to enable Magisk Core mode and reboot. I did that, and my phone was in a bootloop. So I wen't to TWRP and flashed stock ROM zip. Rebooted and it was still bootlooping.
So I took a TWRP Backup of all partitions, and then wiped system fully and flashed stock ROM. Still bootlooping. So I did a factory reset and wiped system as well, keeping internal storage. Then I flashed stock ROM zip and rebooted - it fixed it, but was factory reset. So I went back into TWRP and restored the data partition. Unfortunately, I got the TarFork Error 255 when restoring. I saw on google that you need to setup Android first to restore. Rebooted to go into Android but it took me to TWRP, and this time didn't ask for decryption password. I went to internal storage and everything was encrypted. I don't remember exactly what I did next but now I'm in fastboot with no TWRP recovery, and when I do fastboot boot twrp.img I get this error: "FAILED (remote: 'Failed to load/authenticate boot image: Load Error')"
Can anyone help me recovery from this and possibly get my internal storage back, or at least installed apps. I can provide TWRP restore log as well: https://del.dog/ivugupemeq

NateDev said:
So I was using a certain root app and it told me to enable Magisk Core mode and reboot. I did that, and my phone was in a bootloop. So I wen't to TWRP and flashed stock ROM zip. Rebooted and it was still bootlooping.
So I took a TWRP Backup of all partitions, and then wiped system fully and flashed stock ROM. Still bootlooping. So I did a factory reset and wiped system as well, keeping internal storage. Then I flashed stock ROM zip and rebooted - it fixed it, but was factory reset. So I went back into TWRP and restored the data partition. Unfortunately, I got the TarFork Error 255 when restoring. I saw on google that you need to setup Android first to restore. Rebooted to go into Android but it took me to TWRP, and this time didn't ask for decryption password. I went to internal storage and everything was encrypted. I don't remember exactly what I did next but now I'm in fastboot with no TWRP recovery, and when I do fastboot boot twrp.img I get this error: "FAILED (remote: 'Failed to load/authenticate boot image: Load Error')"
Can anyone help me recovery from this and possibly get my internal storage back, or at least installed apps. I can provide TWRP restore log as well: https://del.dog/ivugupemeq
Click to expand...
Click to collapse
Have you tried the MSM Download Tool to restore the device yet? I'm leaning towards that honestly.
---------- Post added at 01:44 AM ---------- Previous post was at 01:42 AM ----------
NateDev said:
So I was using a certain root app and it told me to enable Magisk Core mode and reboot. I did that, and my phone was in a bootloop. So I wen't to TWRP and flashed stock ROM zip. Rebooted and it was still bootlooping.
So I took a TWRP Backup of all partitions, and then wiped system fully and flashed stock ROM. Still bootlooping. So I did a factory reset and wiped system as well, keeping internal storage. Then I flashed stock ROM zip and rebooted - it fixed it, but was factory reset. So I went back into TWRP and restored the data partition. Unfortunately, I got the TarFork Error 255 when restoring. I saw on google that you need to setup Android first to restore. Rebooted to go into Android but it took me to TWRP, and this time didn't ask for decryption password. I went to internal storage and everything was encrypted. I don't remember exactly what I did next but now I'm in fastboot with no TWRP recovery, and when I do fastboot boot twrp.img I get this error: "FAILED (remote: 'Failed to load/authenticate boot image: Load Error')"
Can anyone help me recovery from this and possibly get my internal storage back, or at least installed apps. I can provide TWRP restore log as well: https://del.dog/ivugupemeq
Click to expand...
Click to collapse
(Double post, ignore this)

Got it fixed by flashing full stock ROM in fastboot without wiping, so userdata was recovered, and then restored app data from the TWRP nandroid backup in Titanium backup

NateDev said:
Got it fixed by flashing full stock ROM in fastboot without wiping, so userdata was recovered, and then restored app data from the TWRP nandroid backup in Titanium backup
Click to expand...
Click to collapse
mind sharing exactly how you did that? As i'm in pretty much the same boat

FullyCustom2 said:
mind sharing exactly how you did that? As i'm in pretty much the same boat
Click to expand...
Click to collapse
Damn don't even have this phone anymore lol
I think I used the fastboot ROMs from an xda post but when it asks you to wipe or not I clicked no, and then I booted to Android and apps data can be restored from a nandroid backup in titanium backup, just search to find that feature, instead of restoring the data backup in twrp

Related

[Solved] Soft-Bricked OnePlus 5, TWRP works, but nothing else

I'm not sure what happened, I was flashing a kernel, and suddenly my device stopped booting, getting stuck at the OnePlus logo, with 'Powered by android". TWRP was installed, so I tried restoring a backup, but that didn't help. I tried flashing the stock 4.5.5 full zip, it would still stay at the OP logo screen. I tried wiping the phone, flashing the stock full zip, still stuck at boot. I tried going back to the stock recovery (I know, risky), and it succeeded in flashing, but when I boot to recovery, the screen just goes black, and I have to hard-reboot. I can however flash TWRP back, and it seems to work fine. When I look in the file manager on TWRP, I can see things in the system partition, but I still can't boot to it.
I'm starting to panic now, so any help would be appreciated.
To clarify, even doing fastboot boot OP5_recovery.img brings be to the black screen
It may be that you have an issue with encrypted data partition which you cannot recover otherwise
Try flashing TWRP, then in TWRP select "Wipe", "Format data" and answer with "yes" when asked for confirmation.
NOTE: when doing the steps above the whole data partition will be erased, including internal storage - so when in doubt back up your data before proceeding
s3axel said:
It may be that you have an issue with encrypted data partition which you cannot recover otherwise
Try flashing TWRP, then in TWRP select "Wipe", "Format data" and answer with "yes" when asked for confirmation.
NOTE: when doing the steps above the whole data partition will be erased, including internal storage - so when in doubt back up your data before proceeding
Click to expand...
Click to collapse
I had already done that a few times.
However, wiping fixed it, but not in TWRP. doing fastboot -w fixed it, and the phone was able to boot to stock recovery. After that I flashed system zip, and TWRP again, and I'm back up (just got it working 15 mins ago)
Thanks for the answer, though!
0xTJ said:
I had already done that a few times.
However, wiping fixed it, but not in TWRP. doing fastboot -w fixed it, and the phone was able to boot to stock recovery. After that I flashed system zip, and TWRP again, and I'm back up (just got it working 15 mins ago)
Thanks for the answer, though!
Click to expand...
Click to collapse
Please change the title of this thread to: "[SOLVED] Soft-Bricked OnePlus 5, TWRP works, but nothing else". That will help others who may get into a similar plight.

[HELP!] TWRP createTarFork() error 255 when backing up data

I have installed FreedomOS on my OnePlus 5. I'm not sure if this is related to FreedomOS, but when I try to make a backup in TWRP with data, system, and boot, it has an error with createTarFork() shortly after it gets to backing up data. It also says 'read only filesystem' when I try to open Terminal from Advanced and run 'cd /data/media/0/TWRP/BACKUPS/bad7d639 && rm -rf backup-name'. What can I do to fix this and why is this happening?
EDIT: I have 32GB storage left
I had error 255 when restoring the data partition on my elephone p9000, for me it was because it was a bad data write and it was corrupt.
Pro4TLZZ said:
I had error 255 when restoring the data partition on my elephone p9000, for me it was because it was a bad data write and it was corrupt.
Click to expand...
Click to collapse
What was corrupt? How did you fix it?
keeganjk said:
What was corrupt? How did you fix it?
Click to expand...
Click to collapse
Something in the partition, so I didn't restore that
Pro4TLZZ said:
Something in the partition, so I didn't restore that
Click to expand...
Click to collapse
Which partition? I just wiped my device and reinstalled FreedomOS.
keeganjk said:
Which partition? I just wiped my device and reinstalled FreedomOS.
Click to expand...
Click to collapse
Userdata partition
Pro4TLZZ said:
Userdata partition
Click to expand...
Click to collapse
OK.
Pro4TLZZ said:
Userdata partition
Click to expand...
Click to collapse
I wiped my device and reinstalled FreedomOS, it still shows up with the same error.
keeganjk said:
I wiped my device and reinstalled FreedomOS, it still shows up with the same error.
Click to expand...
Click to collapse
I'm sorry I can't help you more
Hi guy, i had the problem, try to flash blue spark recovery and retry restore, if rom bootloops, try to dirty flash your rom
I just wiped and reinstalled OxygenOS http://downloads.oneplus.net/oneplus-5/oneplus_5_oxygenos_4.5.10/. Once I reconfigure all my settings, files, etc, I'm going to see if it works.
dago said:
Hi guy, i had the problem, try to flash blue spark recovery and retry restore, if rom bootloops, try to dirty flash your rom
Click to expand...
Click to collapse
What's the difference between TWRP and bluspark TWRP?
dago said:
Hi guy, i had the problem, try to flash blue spark recovery and retry restore, if rom bootloops, try to dirty flash your rom
Click to expand...
Click to collapse
I can't restore; I deleted all my backups in an attempt to free up space.
I think I found the solution!
1. Go to Wipe in TWRP, swipe to factory reset
2. Download:
OnePlus Recovery: http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img
OxygenOS: http://oxygenos.oneplus.net.s3.amaz...3_OTA_015_all_1708252353_e6d7756780064352.zip
3. Rename recovery image as recovery.img, boot phone into fastboot, plug into computer, run these commands on the computer:
fastboot devices
fastboot flash recovery recovery.img
fastboot boot recovery.img
4. Open recovery on phone
5. Select Forgot Password, will wipe all leftover files in SD Card.
6. Boot back into recovery, select reload, select Install over ADB or Install Over USB or something similar and plug phone into computer.
7. Run 'adb sideload oxygen-os-filename' without quotes on computer.
8. Let it install OxygenOS, it may appear to be frozen at some points; it probobaly isn't, so don't shut it off or unplus USB.
9. Download Bluspark TWRP: https://forum.xda-developers.com/devdb/project/dl/?id=26601&task=get
9. Reboot into fastboot, plug into computer and run these commands on the computer:
fastboot devices
fastboot flash recovery bluspark-twrp-filename-location.img
fastboot boot bluspark-twrp-filename-location.img
10. Success (hopefully)
Oh. Wait. Now it has the same error when I try to make a backup. (I feel like it might be from installing https://forum.xda-developers.com/android/software-hacking/kali-nethunter-magisk-t3676681, but they say it's unrelated). Doors anyone know why this is happening again?
the solution to this was to boot to your previous rom that u have made nandroid backup with and then setting up the same password/pin in settings > security. When you then boot into twrp it will ask you for the pin/password to decrypt your data partition and then you can flash the nandroid backup(you have to have the same password there). here it is obvious that you are trying to flash data partition that uses different encryption password (in case of stock rom there is non) and this obviously wont happen.
maybe another solution would be to connect externally usb and unmounting data partition and then restoring from usb...
I'm having the exact same issue, but trying to create a Nandroid, not restoring one. Happened on Codeworkx TWRP 20180414. I always remove my passwords, fingerprint, pattern, and face data before I backup, update, etc. since I'm encrypted to avoid issues, and it still happened. I flashed the latest blu_spark TWRP and got the exact same error in the same spot in the data partition backup.
Never had an issue like this before. I even tried saving the data partition separately and still got the same error. Very strange indeed.
All other partitions backup without issue.
I'm on xXx v10.5 w/ ElementalX v3.04, Encrypted
If anyone has any insight, it would be greatly appreciated.
Thanks much!
?
Need4Sneed said:
I'm having the exact same issue, but trying to create a Nandroid, not restoring one. Happened on Codeworkx TWRP 20180414. I always remove my passwords, fingerprint, pattern, and face data before I backup, update, etc. since I'm encrypted to avoid issues, and it still happened. I flashed the latest blu_spark TWRP and got the exact same error in the same spot in the data partition backup.
Never had an issue like this before. I even tried saving the data partition separately and still got the same error. Very strange indeed.
All other partitions backup without issue.
I'm on xXx v10.5 w/ ElementalX v3.04, Encrypted
If anyone has any insight, it would be greatly appreciated.
Thanks much!
?
Click to expand...
Click to collapse
For me flashing normal oxygenos with magisk 16 and formatting data and trying to make it boot with the new flash and then rebooting into recovery and restoring made it work. I guess it has to do with the right filesystem having to be made first.
hi guys,
i've read all the thread in XDA related to ERROR 255, can't find anything to solve my problem trying to backup on TWRP ending with this error 255.?
I'm not using any parallel apps, not using Apps Locker, don't have any folder 999 (searched using Root Browser).
I've tried deleting all fingerprint, face unlock and screenlock as well.
No joy.
I'm using latest TWRP 3.2.2-1, OOS 5.1.7, Rooted.
Appreciate any help or sharing experience.

TWRP/G6 not mounting system

Hi
I unlocked the bootloader and installed TWRP as described in the tutorials here. I then also flashed SuperSU. Afterwards I booted into stock Android and it worked. I wanted to do a factory reset so that after reinitializing I could install all my apps automatically. I went into TWRP --> Wipe --> Slide to Wipe. After rebooting it asked me for the pincode to decrypt. Since that didn't work I wiped everything except the SD Card and flashed lineage. Since then, my G6 keeps booting into TWRP. I even tried AquariOS (randomls chosen ROM) and I have the same results. I checked into "backup" in TWRP and the system partition is about 1GB. I then wiped it, and it went down to almost 0 I think. I then reflashed lineage and it was again at almost 1GB. So as it seems it is writing something. I then went into "mount" and system was not selected. I checked it and "mount system partition as read only", rebooted into the system, and it booted into TWRP again, system was unchecked under mount, but the read-only option was still checked. tried the same without the read-only option, same result. So now my G6 keeps mounting into TWRP instead of the ROM.
Any ideas what I can do?
Format data in recovery, don't wipe. It will disable encryption. Flash stock 14a again and see if you can get it to boot
I fixed it, somehow TWRP was messed up. I redownloaded it and reflashed it and then it worked

[Help] Stuck in fast boot- boot loader after restoring twrp backup?

[Solved (look at bottom of post)]
so, hopfully this is in the right place.
Following the procedure I've done on my nexus 6p many times over; I created a TWRP backup on my 6t then tried restoring the backup I made with twrp and when it finished I pressed reboot to system. The device then only booted into twrp. I saw it was on the "a" partition and I knew I was previously on the b partition so I manually switch partitions and now I'm stuck in fastboot boatloader I have tried flashing a temp twrp.img but im getting an error "FAILED (remote: 'Failed to load/authenticate boot image: Load Error')" in fastboot
After that I switched active partition in fast boot and got into twrp but my data appears to be encrypted and after restoring sys,data,efs,vendor (skipping boot as it holds the recovery now) I only have fast boot in both a/b partitions. I'm going to try to fast boot twerp then install twerp permanently and see if i can get a wotking twrp if not then ill have to get a factory image to get back to stock but was hoping to get some data off but whatever..
I'm kind of new to this a/b partition setup. any help is appreciated.
Edit: for future reference All I was doing was trying to restore a backup? how do I restore a backup on an a/b partition system? As far as I know I did it right...
1) remove lockscreen pin ect..
2) backup boot,sys,ven,data
When restoring
1) mount partitions
2) select restore backup and restore all .....
What am I missing?
____
Solved:
twrp for 6t is borked when it comes to backing up/ restoring...
The version in question: twrp-installer-fajita-3.2.3-1.zip
I restored my 6t to stock with msmdownloadtool and reinstalled twrp then made a test backup. After restoring it I was left in a twrp bootloap and encrypted data partition.
I don't think you should ever need to manually switch slots.
If you are on slot A, and flash an update, it will install to slot B. When you restart your phone, it will automatically switch to B for you.
Also, you shouldn't be flashing the TWRP.img, but booting it instead.
You could try starting fresh with the msmdownloadtool which is found in these forums.
fireeyeeian said:
[Solved (look at bottom of post)]
so, hopfully this is in the right place.
Following the procedure I've done on my nexus 6p many times over; I created a TWRP backup on my 6t then tried restoring the backup I made with twrp and when it finished I pressed reboot to system. The device then only booted into twrp. I saw it was on the "a" partition and I knew I was previously on the b partition so I manually switch partitions and now I'm stuck in fastboot boatloader I have tried flashing a temp twrp.img but im getting an error "FAILED (remote: 'Failed to load/authenticate boot image: Load Error')" in fastboot
After that I switched active partition in fast boot and got into twrp but my data appears to be encrypted and after restoring sys,data,efs,vendor (skipping boot as it holds the recovery now) I only have fast boot in both a/b partitions. I'm going to try to fast boot twerp then install twerp permanently and see if i can get a wotking twrp if not then ill have to get a factory image to get back to stock but was hoping to get some data off but whatever..
I'm kind of new to this a/b partition setup. any help is appreciated.
Edit: for future reference All I was doing was trying to restore a backup? how do I restore a backup on an a/b partition system? As far as I know I did it right...
1) remove lockscreen pin ect..
2) backup boot,sys,ven,data
When restoring
1) mount partitions
2) select restore backup and restore all .....
What am I missing?
____
Solved:
twrp for 6t is borked when it comes to backing up/ restoring...
The version in question: twrp-installer-fajita-3.2.3-1.zip
I restored my 6t to stock with msmdownloadtool and reinstalled twrp then made a test backup. After restoring it I was left in a twrp bootloap and encrypted data partition.
Click to expand...
Click to collapse
I'm currently stuck in TWRP with encrypted data after restoring a backup. I didn't know you couldn't restore backups on this phones. That sucks. I guess I'm going to have to start over now. That really really sucks.
imucarmen said:
I'm currently stuck in TWRP with encrypted data after restoring a backup. I didn't know you couldn't restore backups on this phones. That sucks. I guess I'm going to have to start over now. That really really sucks.
Click to expand...
Click to collapse
Yup, I felt the same.. it's a huge bummer especially when you get it all set up and perfect. Use msm to fix it if you can't use twrp. Hopefully twrp gets fixed soon (I'm really surprised I can't find more people who have noticed this or even twrp team talking about it) for now Im waiting for proof it works on the op6t. I even tried to use Chainfire's flashfire to make a backup and.. no it doesn't work.
fireeyeeian said:
Yup, I felt the same.. it's a huge bummer especially when you get it all set up and perfect. Use msm to fix it if you can't use twrp. Hopefully twrp gets fixed soon (I'm really surprised I can't find more people who have noticed this or even twrp team talking about it) for now Im waiting for proof it works on the op6t. I even tried to use Chainfire's flashfire to make a backup and.. no it doesn't work.
Click to expand...
Click to collapse
I think I just hard bricked my phone. https://forum.xda-developers.com/oneplus-6t/help/bricked-phone-t3914413
imucarmen said:
I think I just hard bricked my phone. https://forum.xda-developers.com/oneplus-6t/help/bricked-phone-t3914413
Click to expand...
Click to collapse
Use Msm download tool:
https://www.google.com/amp/s/forum....-msmdownloadtool-v4-0-oos-9-0-5-t3867448/amp/
I think that's the right post but make sure it matches your device. I used msmdownloadtool around 6 time just testing twrp and only had one hiccup where Msm wasn't detecting my one plus 6t but I eventually got it working.
use the other twrp unofficial but problem you had with would be fixed with big file system fat32 can't do it right
ecompton59 said:
use the other twrp unofficial but problem you had with would be fixed with big file system fat32 can't do it right
Click to expand...
Click to collapse
Could you post a link to it and are you sure? I used the unofficial version so which one are you talking about? I'd really not like to have to re-setup my daily driver from scratch.
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482 your using early version of twrp the black one is made by same guy download unofficial twrp.zip not twrp.img reboot recovery flash twrp.zip then magisk it may work if not then format data (erases phone) then twrp,magisk reboot recovery to see if it stuck I flash magisk again when it starts up go to magisk thread get the manager 18.1 don't insall it
ecompton59 said:
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482 your using early version of twrp the black one is made by same guy download unofficial twrp.zip not twrp.img reboot recovery flash twrp.zip then magisk it may work if not then format data (erases phone) then twrp,magisk reboot recovery to see if it stuck I flash magisk again when it starts up go to magisk thread get the manager 18.1 don't insall it
Click to expand...
Click to collapse
Which one? I've tried the 3.2.3.28 last and restoring didn't work. Should I try the most recent installer in the list? And can you confirm that backup&restoring works on the one plus 6t? Also is there anyway to backup my phone without twrp before I try this? I'd really would not like to have to use msm again?
sorry that didn't help format data then flash twrp then magisk should boot without msm
---------- Post added at 01:06 PM ---------- Previous post was at 12:52 PM ----------
i had to use extfat format on htc 8gb backup to get it to work maybe devs will fix that
Has there been an improvement on twrp for the 6t yet? Just curious if I can rely on a backup is there any updates?

[STOCK PIE (march)] Will I get my data wiped if I hotboot TWRP?

Hello, I've been trying to root my phone, I followed a guide that tell me to
Code:
fastboot flash twrp.img
and got all my data wiped for some reason. LATER, i found out that you souldn't be doing that, instead you should be doing
Code:
fastboot boot twrp.img
But by then, I got everything on my phone deleted (i flashed an original rom from MI forums and restored a manual backup of data and some apps i had, but still I lost like a day setting up everything).
My questions are, if I hotboot TWRP will I get my data wiped again? (my bootloader is still unlocked so no danger there)
If not, can I backup my data normally using TWRP GUI on hotboot?
Also, once I've installed magisk, will I stop receiving OTAs?
Thanks
No, you won't get data wiped if you boot twrp. I'm doing this periodically and everithing is ok.
Probably you flashed twrp wrong. It should be
fastboot flash recovery twrp.img
Click to expand...
Click to collapse
You can receive ota's with magisk. Prior to installing ota, you should uninstall/"restore partitions" with magisk but not reboot. After ota is installed, you install magisk into secondary partition (with magisk manager) and reboot.
BlackChimaera said:
No, you won't get data wiped if you boot twrp. I'm doing this periodically and everithing is ok.
Probably you flashed twrp wrong. It should be
You can receive ota's with magisk. Prior to installing ota, you should uninstall/"restore partitions" with magisk but not reboot. After ota is installed, you install magisk into secondary partition (with magisk manager) and reboot.
Click to expand...
Click to collapse
But isn't HIGHLY recommended to NOT flash the recovery?
I'm not flashing it too, just "fastboot boot" it when I need it.
BlackChimaera said:
I'm not flashing it too, just "fastboot boot" it when I need it.
Click to expand...
Click to collapse
I hotbooted TWRP and made a backup, after rebooting from TWRP, the phone boots slowly and hangs at the lock screen. Any ideas what could have triggered this?
The only "abnormal"thing i did was to rename the media folder in "data" so TWRP could include it into the backup. After that I renamed the folder to "media" again, and rebooted.
There was a "mediadrm" folder, but I don't remember if it was already there or not.
Why do you want to include media folder into backup? It has only mount points to sdcards. Do you want to include sdcard content into backup? Where is backup stored? On the same sdcard which content you backing up?
BlackChimaera said:
Why do you want to include media folder into backup? It has only mount points to sdcards. Do you want to include sdcard content into backup? Where is backup stored? On the same sdcard which content you backing up?
Click to expand...
Click to collapse
Media folder has internal storage. Anyway, i was able to boot again by flashing to latest stock rom and then restoring "data" from my backup.
Enviado desde mi Mi A1 mediante Tapatalk
BlackChimaera said:
No, you won't get data wiped if you boot twrp. I'm doing this periodically and everithing is ok.
Probably you flashed twrp wrong. It should be
You can receive ota's with magisk. Prior to installing ota, you should uninstall/"restore partitions" with magisk but not reboot. After ota is installed, you install magisk into secondary partition (with magisk manager) and reboot.
Click to expand...
Click to collapse
On Mi A1, TWRP can't be flashed from fastboot, because it doesn't have /recovery

Categories

Resources