[GUIDE] How To Install TWRP & Root Galaxy S8+ After Oreo Update - Samsung Galaxy S8+ Guides, News, & Discussion

A simple guide for users which will help them to install TWRP on their S8 after Oreo Update.
This guide is only for Exynos models.
Requirement -
1. PC/Laptop
2. Original Samsung USB Type-C Cable
3. Prince Comsy Odin (Because some users reported on this thread that normal Odin doesn't work)
Instructions -
1. Backup your important data from internal storage before proceeding towards the installation.
2. Now go to Settings - About Phone - Software Information - Tap On Build Number 7 Times.
3. Now come back to Settings Home and Open Developer Options. Check OEM Unlock is turned ON.
4. Power off device and boot into download mode.
5. Connect your device to the PC/Laptop.
6. Now Open Prince Comsy Odin and click on the AP option.
7. Choose the TWRP .tar file and press the START button.
8. Now after Odin says PASS, press the VOLUME UP, BIXBY KEY, and POWER BUTTON at the same time until device boots into TWRP recovery.
9. Now allow the modifications and go to WIPE option.
10. Choose FORMAT DATA - Type yes - ENTER.
11. Just Reboot Once Into Recovery Once.
12. Now Choose INSTALL option and install Magisk or SuperSU.
13. Done!
You can also refer to this video for installation of TWRP - https://www.youtube.com/watch?v=2SqgHFcHLMw
Downloads -
Latest TWRP for Exynos S8+ - TWRP 3.2.1-0-DREAM2LTE
Prince Comsy Odin - https://drive.google.com/open?id=1enVG5a_ocyjhRlta8AX_0b7LLoHWciVU
Magisk - https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
SuperSU - https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Credits -
@jesec for TWRP
@topjohnwu for Magisk
@Chainfire for SuperSU
Prince Comsy Odin

I have installed but shows me 0 mb on internal storage cant mount data

OP you should add this isn't for US models or be model specific

I didn't think this method was for Snapdragon w/o a different os/engineer software?
Snapdragon rooting is really this straight forward?

dr.vetony said:
I have installed but shows me 0 mb on internal storage cant mount data
Click to expand...
Click to collapse
You'll need to FORMAT DATA to remove encryption and then flash magisk or supersu

matthewd769 said:
OP you should add this isn't for US models or be model specific
Click to expand...
Click to collapse
I'm so sorry! I'll make changes in the OP now.
I mentioned Snapdragon because one of my friends said its same. I'm sorry again

Ruturaj Kadam said:
You'll need to FORMAT DATA to remove encryption and then flash magisk or supersu
Click to expand...
Click to collapse
I have tried this

dr.vetony said:
I have tried this
Click to expand...
Click to collapse
Be sure to "FORMAT" data, not WIPE Data. WHen you choose the option to FORMAT Data in TWRP you will have to type in the word YES to confirm that you want to do that after making youir selction. Once the wipe is finished, flash the No Verity Scrtipt file you can find here: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/and then reboot.
BEFORE YOU REBOOT after flashing TWRP - If you have been "in jail" after flashing oreo and you had to wait to wait 7 days before you could flash TWRP - be sure to flash the RMM State Fix found here immediately after flashing TWRP - https://forum.xda-developers.com/showpost.php?p=75360965&postcount=22

Geekser said:
Be sure to "FORMAT" data, not WIPE Data. WHen you choose the option to FORMAT Data in TWRP you will have to type in the word YES to confirm that you want to do that after making youir selction. Once the wipe is finished, flash the DM Verity Scrtipt file found in the TWRP Thread and then reboot. (If you have been "in jail" after flashing oreo and you had to wait to wait 7 days before you could flash TWRP - be sure to flash the RMM State Fix found here immediately after flashing TWRP - https://forum.xda-developers.com/showpost.php?p=75360965&postcount=22
Click to expand...
Click to collapse
Yes i ve followed all the instructions but the results are nothing also ive tried to change data to fat but the result zeroo

dr.vetony said:
Yes i ve followed all the instructions but the results are nothing also ive tried to change data to fat but the result zeroo
Click to expand...
Click to collapse
and you flashed the no-verity script file? Sorry, I don't mean to be redundant - but others I have talked to had similar problems until they did that.

Geekser said:
and you flashed the no-verity script file? Sorry, I don't mean to be redundant - but others I have talked to had similar problems until they did that.
Click to expand...
Click to collapse
Yes that too

Thanks @Geekser I will add the no-verity zip link in OP

Geekser said:
and you flashed the no-verity script file? Sorry, I don't mean to be redundant - but others I have talked to had similar problems until they did that.
Click to expand...
Click to collapse
Yes that to ?

HI
I have G955FXXU1CRAP flashed at my s8+ g955f exynos. Now afert waiting for the 7 days to get the oem unlock I'm with twrp but I can not root with Magisk 16 or super su SR5-SuperSU-v2.82-SR5-20171001224502.zip.
I'm getting the "error installing zip file '/external_sd/Magisk-v16.0.zip" and "Unable to repack boot image! ".
Any help?.
Thanks in advance.
ale3385

ale3385 said:
HI
I have G955FXXU1CRAP flashed at my s8+ g955f exynos. Now afert waiting for the 7 days to get the oem unlock I'm with twrp but I can not root with Magisk 16 or super su SR5-SuperSU-v2.82-SR5-20171001224502.zip.
I'm getting the "error installing zip file '/external_sd/Magisk-v16.0.zip" and "Unable to repack boot image! ".
Any help?.
Thanks in advance.
ale3385
Click to expand...
Click to collapse
Did you FORMAT the data after installing TWRP?

Yes, I did it but with the same results on magisk installation....

I am also having an issue similar. I have flashed the OREO update (CRAP) and after formatting data in TWRP and then the No-Verity Script. This then shows the Internal storage. I can flash Magisk but when i next boot into TWRP it will show 0mb again?
I have done this now about 6 times. Its ok to start but then it reverts back to not being able to read internal storage?
Anyone know why?
Thanks

Im experiencing the same issue too.
0mb data and twrp recovery doesnt hold settings.
Flashed latest twrp from link in this thread and directly formatted data.
Twrp nandroid backup fails on cannot mount data.

Geekser said:
Be sure to "FORMAT" data, not WIPE Data. WHen you choose the option to FORMAT Data in TWRP you will have to type in the word YES to confirm that you want to do that after making youir selction. Once the wipe is finished, flash the No Verity Scrtipt file you can find here: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/and then reboot.
BEFORE YOU REBOOT after flashing TWRP - If you have been "in jail" after flashing oreo and you had to wait to wait 7 days before you could flash TWRP - be sure to flash the RMM State Fix found here immediately after flashing TWRP - https://forum.xda-developers.com/showpost.php?p=75360965&postcount=22
Click to expand...
Click to collapse
If I flash Magisk, Do I still need the DM-Verity Patch?

FactualGnome said:
I am also having an issue similar. I have flashed the OREO update (CRAP) and after formatting data in TWRP and then the No-Verity Script. This then shows the Internal storage. I can flash Magisk but when i next boot into TWRP it will show 0mb again?
I have done this now about 6 times. Its ok to start but then it reverts back to not being able to read internal storage?
Anyone know why?
Thanks
Click to expand...
Click to collapse
Vi553r said:
Im experiencing the same issue too.
0mb data and twrp recovery doesnt hold settings.
Flashed latest twrp from link in this thread and directly formatted data.
Twrp nandroid backup fails on cannot mount data.
Click to expand...
Click to collapse
Because it need to be modify in ramdisk. Flash custom Rom or a kernel with proper fixes

Related

Blocked on TWRP presentation Page

Hi, I rently bought a Galaxy S7 Edge and i wanted to install the SUPERMAN custom ROM so :
I followed the tutorial to root the phone => ok
the tutorial to install TWRP => OK
Then the tutorial to install the ROM, and thats when the problems started to appear.
When I tried backing up before the installation in TWRP, I had a couple of error message like "unable to mount data". As the phone was new, I did not have any personnal data on it I thought "Backup is not necessary (grave error?)
so I skiped and went directly to ROM installation (the ROM was on an external microSD card) => installation OK
BUT I forgot to wipe Dalvik cache before rebooting, and as i understand it, it can cause a bootloop, it apparently did!
Here, as it was late, I started to lose my cool, so I am not entirely sure about the sequence of what I have done, but I am trying my best to be precise so that you can find a way to help me.
- I went back to TWRP, I tried to wipe dalvik cache and other types of wipe, but had the same error "unable to mount data" on every try.
-I googled a little bit and found a video tutorial ecplaining that I need to wipe => advanced wipe => tick system => change file system => then choose a type (i chose exFat) => It went on for 10-15 minutes without any sign of evolution so I reached the peak of my stupidity (really lost my cool), and forced reboot (not sure if I used volume UP or DOWN
-I dont think I did anything else after this, when I tried going into TWRP, I got stuck on the TWRP presentation page
The phone starts normally in download mode (am I saved?)
But it does not completely start in TWRP mode, it gets stuck on the presentation page (where there is the name of the team and the version number)
I tried installation other versions of TWRP with Odin but I still get stuck on the presentation page, although the version number changes adequatly to the version installed.
Please help me! :crying::crying::crying::crying::crying:
thank you.
Good news, is yes you can restore your device. Download your stock rom , unzip and flash in odin.
The is a dedicated thread on XDA for TWRP, in the steps the is a no-verity-opt-encrypt.zip which you should download.
Once you reach twrp again you should swipe to allow mod, then click on wipe, format data and type in yes when prompted.
After which flash the zip mentioned above. Now you will have access to the system in twrp, and flash whatever rom you like.
trust this helps
@soka said:
Good news, is yes you can restore your device. Download your stock rom , unzip and flash in odin.
The is a dedicated thread on XDA for TWRP, in the steps the is a no-verity-opt-encrypt.zip which you should download.
Once you reach twrp again you should swipe to allow mod, then click on wipe, format data and type in yes when prompted.
After which flash the zip mentioned above. Now you will have access to the system in twrp, and flash whatever rom you like.
trust this helps
Click to expand...
Click to collapse
thank you, I will try this later today and let you know how it goes!
thanks.
lass93 said:
thank you, I will try this later today and let you know how it goes!
thanks.
Click to expand...
Click to collapse
Best of luck buddy.
It worked thanks a lot man!
Now, onto the next step, I guess the tutorial I followed initialy was not good enought. So where can I get this "no-verity-opt-encrypt.zip", and how should I install it exactly? Unless I missed something, it is not explained in the xda tutorial
http://forum.xda-developers.com/s7-edge/development/rom-s7-edge-rom-v1-1-t3356699
Thank you all
Follow these instructions, the links for the latest recovery and the zip I mentioned are all there. If you need further help. I will help.
http://forum.xda-developers.com/s7-edge/development/recovery-official-twrp-hero2lte-3-0-0-0-t3334084
You do have a G935F right?
@soka said:
Follow these instructions, the links for the latest recovery and the zip I mentioned are all there. If you need further help. I will help.
http://forum.xda-developers.com/s7-edge/development/recovery-official-twrp-hero2lte-3-0-0-0-t3334084
You do have a G935F right?
Click to expand...
Click to collapse
Yes I do
Ok Thx. Will let you know!
lass93 said:
Yes I do
Ok Thx. Will let you know!
Click to expand...
Click to collapse
I Followed the instructions of your link, then I followed the instructions of the tutorial to install SuperMan ROM bug at the last reboot (after installation) I got stuck on the "Samsung Galaxy Edge 7" screen, the starting screen...
Hope I can install this ROM, I dont want to go back to stock.
Have you updated the modem and bootloader as dev instructed?
First initial boot will take time , remember you wiped everything but you Internal storage and SD card.
"9. Reboot and wait around 10 minute's (deodexed roms need longer to boot the first time)
10. Don't interrupt the process of booting the phone, even when it restarts"
How long did you leave it on the Samsung S7 Edge screen?
@soka said:
Have you updated the modem and bootloader as dev instructed?
First initial boot will take time , remember you wiped everything but you Internal storage and SD card.
"9. Reboot and wait around 10 minute's (deodexed roms need longer to boot the first time)
10. Don't interrupt the process of booting the phone, even when it restarts"
How long did you leave it on the Samsung S7 Edge screen?
Click to expand...
Click to collapse
Yes I followed the instructions and downloaded the too exact files he said, flashed it with odin
I wiped everything (even internal storage) but micro sd card
I left it more than 30 minutes.
One thing I did I'm not sure about, during root, I followed the tutorial (the link you gave me) to root and install twrp, during this step, I flashed both superSU and dm verity... step 11 ( http://forum.xda-developers.com/s7-edge/development/recovery-official-twrp-hero2lte-3-0-0-0-t3334084 ) Is that ok?
My method, that works for me is as follows :
Flash my stock firmware via odin.
Boot up, select OEM and USB debugging on.
Flash latest TWRP in odin.
Boot up phone, then switch off and enter recovery.
In recovery page i swipe to allow mod, select wipe /format data and type in yes when prompted.
Then , flash the no-verity zip.
I then boot up the phone normally and let it settle for about five min, switch off and get back into TWRP.
Now there shouldn't be any red error msg's in TWRP of cant mount. ( That is important ) otherwise rom wont flash properly.
After which i will flash a rom, most custom stock roms already have SU.
@soka said:
My method, that works for me is as follows :
Flash my stock firmware via odin.
Boot up, select OEM and USB debugging on.
Flash latest TWRP in odin.
Boot up phone, then switch off and enter recovery.
In recovery page i swipe to allow mod, select wipe /format data and type in yes when prompted.
Then , flash the no-verity zip.
I then boot up the phone normally and let it settle for about five min, switch off and get back into TWRP.
Now there shouldn't be any red error msg's in TWRP of cant mount. ( That is important ) otherwise rom wont flash properly.
After which i will flash a rom, most custom stock roms already have SU.
Click to expand...
Click to collapse
Exactly what I did except for the SU part that i mentionned. i asked on another Forum, they said there might be a problem with the zip I used. So i'm gonna try downloading a new zip for this ROM, but i can't find any alternative links...
I redownloaded the zip from the link in the tutorial, it worked!! thanks for your help!

Create Stock Recovery.img from FTF File

Hi, I am in the process of preparing for upgrading from 7.0 to 7.1.1
I know I need to replace the Custom Kernel with the Stock Kernel. And I have to replace TWRP with Stock Recovery.
Can anybody tell me, which file inside the FTF is the stock recovery? I already found the kernel. Need help to find the stock recovery, thank you!
tempurastyle said:
Need help to find the stock recovery, thank you!
Click to expand...
Click to collapse
We don't have one which is why we have to use TWRP.
So my only way is to flash via Flashtool without wipe?
tempurastyle said:
So my only way is to flash via Flashtool without wipe?
Click to expand...
Click to collapse
Do that then mod your own kernel. [How To] make your own XPERIA DRM-fix kernel.
And flash a TWRP.img to the recovery partition.
fotakernel.sin reside's where we flash twrp on stock. you do not need to flash it to upgrade, contrary you can exclude it in flashtool and keep twrp between updates.
realtuxen said:
fotakernel.sin reside's where we flash twrp on stock. you do not need to flash it to upgrade, contrary you can exclude it in flashtool and keep twrp between updates.
Click to expand...
Click to collapse
this is real knowledge, thanks! so just to be sure, this is what i will do in flashtool:
1) wipe: nothing selected
2) exclude: fotakernel.sin selected
can anybody confirm this is correct?
then after this, i will flash a custom kernel via fastboot and magisk via twrp.
one question regarding magisk: will it be deleted during the flashtool update?
So I ran into a problem...
The Upgrade to 7.1.1 via flashtool was smooth. Then, i flashed twrp via fastboot as usual. When I tried to enter twrp, i get a password prompt to decrypt the phone. So i don't know which password i need to type in. I tried the unlock PIN, doesnt work. Any suggestions?
tempurastyle said:
Any suggestions?
Click to expand...
Click to collapse
To get round that you need to run the following commands...
Code:
fastboot format userdata
fastboot format cache
...so you'll need to backup all your data first.
XperienceD said:
To get round that you need to run the following commands...
Code:
fastboot format userdata
fastboot format cache
...so you'll need to backup all your data first.
Click to expand...
Click to collapse
Ok, so I decided to keep my data and don't install twrp. Now I got another issue, is it possible to install Magisk without TWRP? I already got my kernel using my ta backup according to the instructions a few posts above, which really works great.
tempurastyle said:
Ok, so I decided to keep my data and don't install twrp. Now I got another issue, is it possible to install Magisk without TWRP? I already got my kernel using my ta backup according to the instructions a few posts above, which really works great.
Click to expand...
Click to collapse
I thought you excluded fotakernel so you did not have to flash twrp again. Oh well anyway you can use twrp to flash zips just fine although /data is encrypted, most flash zips do not write to /data anyway some like supersu use /cache (which is not encrypted contrary to the info above) to get around encryption at next boot. And like magisk also patch the boot.img live on your phone, some write to /system which is not encrypted either, I never seen a flash zip that did write to /data. Only backup/browsing/etc on /data is affected.
So when presented with the password screen in twrp just press cancel and make sure the zip you want to flash is located on the external sd card (do not encrypt this in phone settings, your card will be unreadable from pcs to) then choose flash zip and choose the external sdcard to pick the zip from and flash magisk or whatever. You need to run your kernel through ta poc or rootkernel first and disable dm verity and sony ric. (you write you did this so just install twrp and flash away) Do not wipe cache before rebooting just in case magisk uses this in a similar way to supersu (I have no idea)
Also if you do the above fastboot format commands suggested in post#8 without disabling 'forceencrypt' for /data (fstab in the kernel image or with a tool) the phone will encrypt itself again as soon as you turn it on.
If forceencrypt is disabled the same can be achieved (clearing encryption) with a factory reset btw.
So if you did not bump into the password in twrp before you likely did a factory reset with a kernel with encryption disabled. Then, maybe after updating you rebooted stock and the phone encrypted itself again, then now you can not access /data in twrp. Thats also because we have no version of it that supports encryption on the X-compact though. Again do not worry, I have not meet a zip I could not flash, supersu, magisk, etc because they do not access /data anyway.
realtuxen said:
I thought you excluded fotakernel so you did not have to flash twrp again. Oh well anyway you can use twrp to flash zips just fine although /data is encrypted, most flash zips do not write to /data anyway some like supersu use /cache (which is not encrypted contrary to the info above) to get around encryption at next boot. And like magisk also patch the boot.img live on your phone, some write to /system which is not encrypted either, I never seen a flash zip that did write to /data. Only backup/browsing/etc on /data is affected.
So when presented with the password screen in twrp just press cancel and make sure the zip you want to flash is located on the external sd card (do not encrypt this in phone settings, your card will be unreadable from pcs to) then choose flash zip and choose the external sdcard to pick the zip from and flash magisk or whatever. You need to run your kernel through ta poc or rootkernel first and disable dm verity and sony ric. (you write you did this so just install twrp and flash away) Do not wipe cache before rebooting just in case magisk uses this in a similar way to supersu (I have no idea)
Click to expand...
Click to collapse
Yes, after the first upgrade attempt, i let twrp untouched. then when entering twrp, i didnt have a password, so i skipped it. i couldn't find the sd card in the file browser, and after i hit reboot in twrp the phone restarted and got stuck in boot.
So I flashed again, this time deleting twrp. the initial boot up went fine. Then i flashed twrp again and once again, without having a password, i just skipped the password prompt. still couldnt find the sd card, and i rebooted out of twrp. and the phone got stuck again.
after 2-3 trials, i figured out that everytime i rebooted out of twrp, the phone gets stuck during boot. even after turning it off and on, so a reflash was needed.
now i have given up using twrp, so i have an unrooted phone with an unlocked bootloader. which does not allow me to use android pay. i think to solve my problem is:
1) i need to know which twrp version really works, i have tried
this version
and this version
both cause a boot failure for me
2) i need to find the sd card location in the twrp file browser (all the folders show empty for me)
if nothing works, i guess i need to wipe my phone, but that's what i would like to avoid. thanks for your help guys!
tempurastyle said:
Yes, after the first upgrade attempt, i let twrp untouched. then when entering twrp, i didnt have a password, so i skipped it. i couldn't find the sd card in the file browser, and after i hit reboot in twrp the phone restarted and got stuck in boot.
So I flashed again, this time deleting twrp. the initial boot up went fine. Then i flashed twrp again and once again, without having a password, i just skipped the password prompt. still couldnt find the sd card, and i rebooted out of twrp. and the phone got stuck again.
after 2-3 trials, i figured out that everytime i rebooted out of twrp, the phone gets stuck during boot. even after turning it off and on, so a reflash was needed.
now i have given up using twrp, so i have an unrooted phone with an unlocked bootloader. which does not allow me to use android pay. i think to solve my problem is:
1) i need to know which twrp version really works, i have tried
this version
and this version
both cause a boot failure for me
2) i need to find the sd card location in the twrp file browser (all the folders show empty for me)
if nothing works, i guess i need to wipe my phone, but that's what i would like to avoid. thanks for your help guys!
Click to expand...
Click to collapse
The 2. issue with the sdcard is easy. After pressing 'install' button in twrp at the bottom left press the "select storage' button, a small window will pop up then select the 'micro sdcard' and press 'ok", you should see your files now.
The 1. ssue is really odd! I use the second twrp you posted, for some wierd reason the first one does not boot for me (twrp does not start). But I talked with another guy for him it was the other way around. It was really strange. I think most can use both though without problems
There is one more twrp 3.1 from bambamx, but I really do not get this, twrp boots from its own partition with its own kernel. They should be separated unless twrp does something to system ofcause which it very well shouldn't unless you ask it to, deleting a important file or flashing something. I have never heard of this sorry. One thing is certain our device sure could use a stable nougat encryption compatible twrp!
I will let you know if I find something, you can try the last available version, I have no idea if it will exhibit the same strange behaviour. But maybe its worth a shot although it seems something else is at play.
A couple of stupid questions sorry; You disabled dm verity and sony ric in ta poc right, and it does not happen if you boot your phone normal a couple of times.
Edit: sorry Mr. Sandman had not left so I did not read properly here from the morning. I will edit my post to actually answer as best as I can lol.
Just to let you know:
1. You do not need to install TWRP to use it! You can just do
Code:
fastboot boot <TWRP image>
to run TWRP on the phone (instead of
Code:
fastboot flash boot <TWRP image>
). The only drawback of this method is that you will always need a computer to enter TWRP. Btw. with this method you can also try out a custom kernel image before flashing it.
2. You do not need write access to /data partition to install Magisk. It was explained in another thread that Magisk can use /cache temporary when access to /data is not available. It will write to /data on first boot instead.
3. While using TWRP you can use adb to transfer files onto the phone, so you don't need to have them ready on the internal storage.
realtuxen said:
The 2. issue with the sdcard is easy. After pressing 'install' button in twrp at the bottom left press the "select storage' button, a small window will pop up then select the 'micro sdcard' and press 'ok", you should see your files now.
Click to expand...
Click to collapse
I did, but the SD card can't be selected, and the size shows as 0kb. I did a workaround though: i formatted a spare sd card and copied magisk on it. it was instantly recognized and selectable.
ypnos42 said:
Just to let you know:
1. You do not need to install TWRP to use it! You can just do
Code:
fastboot boot <TWRP image>
to run TWRP on the phone (instead of
Code:
fastboot flash boot <TWRP image>
). The only drawback of this method is that you will always need a computer to enter TWRP. Btw. with this method you can also try out a custom kernel image before flashing it.
3. While using TWRP you can use adb to transfer files onto the phone, so you don't need to have them ready on the internal storage.
Click to expand...
Click to collapse
GREAT advice! I launched TWRP from ADB and successfully flashed Magisk using ADB sideload. Thanks, my phone is rooted again!

A2017G V1.2 0B09 - Cannot install ROMs without Gapps

My phone is bootloader unlocked & rooted + TWRP but still using the original Nougat firmware from ZTE. Now, for some unexplained reason I cannot install any custom ROM that does NOT have Gapps incuded, like Resurrection Remix or similar slim ROMs without Gapps. TWRP just gives the usual can't install error.
Moreover, even if I install a ROm with Gapps successfully I cannot go past the 'Google verifying account' (have to wait for 24 hours) nonsense.
Any advise appreciated.
xectis said:
My phone is bootloader unlocked & rooted + TWRP but still using the original Nougat firmware from ZTE. Now, for some unexplained reason I cannot install any custom ROM that does NOT have Gapps incuded, like Resurrection Remix or similar slim ROMs without Gapps. TWRP just gives the usual can't install error.
Moreover, even if I install a ROm with Gapps successfully I cannot go past the 'Google verifying account' (have to wait for 24 hours) nonsense.
Any advise appreciated.
Click to expand...
Click to collapse
What's your TWRP version?
I guess you are installing the Universal Bootloader, right? Do you install a newer TWRP img after that?
Which are the ROMs that fail?
What's the failure error?
Have you ever formatted data? What's its filesystem?
Choose an username... said:
What's your TWRP version?
I guess you are installing the Universal Bootloader, right? Do you install a newer TWRP img after that?
Which are the ROMs that fail?
What's the failure error?
Have you ever formatted data? What's its filesystem?
Click to expand...
Click to collapse
Thanks for the response. I used Axon7 Toolkit for all actions, including boot unlocking (no idea which version Axon Toolkit installed). It also installed TWRP 3.1.1.0 alisa which I've had all the time.
The ROMs that failed were 'XenonHD-170609-Unofficial.zip' and 'Resurrection Remix' (RR-N-v5.8.5-20171108-axon7-Official.zip). Also I installed successfully 'A2017G(N-B06)_AROMA_SL!M2+DF!NR_by_raystef66.zip' which has Gapps included....but the problem was that I could not get past the google account verification, even though I know my google details. It says I had to wait 24 hours before signing in.
The failure error from XenonHD and Resurrection Remix ROMs was: Updater process ended with error: 7
Yes I formatted data each time I installed a ROM.
I don't know how to find out what the file system is.
xectis said:
Thanks for the response. I used Axon7 Toolkit for all actions, including boot unlocking (no idea which version Axon Toolkit installed). It also installed TWRP 3.1.1.0 alisa which I've had all the time.
The ROMs that failed were 'XenonHD-170609-Unofficial.zip' and 'Resurrection Remix' (RR-N-v5.8.5-20171108-axon7-Official.zip). Also I installed successfully 'A2017G(N-B06)_AROMA_SL!M2+DF!NR_by_raystef66.zip' which has Gapps included....but the problem was that I could not get past the google account verification, even though I know my google details. It says I had to wait 24 hours before signing in.
The failure error from XenonHD and Resurrection Remix ROMs was: Updater process ended with error: 7
Yes I formatted data each time I installed a ROM.
I don't know how to find out what the file system is.
Click to expand...
Click to collapse
I believe you forgot to flash the Universal Bootloader. That's an error on your end.
Basically, what the Universal Bootloader does is change your device's info to something 'universal' (it somewhat standardizes A2017s, A2017Us and A2017Gs into an intermediate so that you can flash any custom ROM on any of the 3). It also installs TWRP 3.0.2-N or sth like that. So basically you need to have TWRP-3.1.1-0.img on your phone, then flash the Universal Bootloader, then the modem for your device (get the latest from Raystef66's download center), then the ROM and whatever ZIPs you want to install (ALWAYS install SuperSU or Magisk or you'll get the internal storage encrypted and you'll have to format the internal storage every time you want to change ROM), and lastly Install Image - the TWRP.img - install to recovery partition.
You can get the Universal Bootloader from the LOS thread. There are also modem files for the 3 models but they are rather old, so just get the B09 modem from the download center
Choose an username... said:
I believe you forgot to flash the Universal Bootloader. That's an error on your end.
Basically, what the Universal Bootloader does is change your device's info to something 'universal' (it somewhat standardizes A2017s, A2017Us and A2017Gs into an intermediate so that you can flash any custom ROM on any of the 3). It also installs TWRP 3.0.2-N or sth like that. So basically you need to have TWRP-3.1.1-0.img on your phone, then flash the Universal Bootloader, then the modem for your device (get the latest from Raystef66's download center), then the ROM and whatever ZIPs you want to install (ALWAYS install SuperSU or Magisk or you'll get the internal storage encrypted and you'll have to format the internal storage every time you want to change ROM), and lastly Install Image - the TWRP.img - install to recovery partition.
You can get the Universal Bootloader from the LOS thread. There are also modem files for the 3 models but they are rather old, so just get the B09 modem from the download center
Click to expand...
Click to collapse
Thanks for your help and your suggestions. Will try a few things as I go along. Thanks again.
xectis said:
Thanks for your help and your suggestions. Will try a few things as I go along. Thanks again.
Click to expand...
Click to collapse
Just two things, you mentioned "and lastly Install Image - the TWRP.img - install to recovery partition". I already have TWRP 3.1.1.0 installed so did you mean to install it again after flashing the Universal Bootloader and modem?
Also, is this the correct link for the LOS thread you mentioned: https://forum.xda-developers.com/axon-7/how-to/download-center-factory-images-ota-t3606547
xectis said:
Just two things, you mentioned "and lastly Install Image - the TWRP.img - install to recovery partition". I already have TWRP 3.1.1.0 installed so did you mean to install it again after flashing the Universal Bootloader and modem?
Also, is this the correct link for the LOS thread you mentioned: https://forum.xda-developers.com/axon-7/how-to/download-center-factory-images-ota-t3606547
Click to expand...
Click to collapse
Yes and no
The Universal bootloader flashes an old TWRP version. After you reboot and enter the recovery again you will get an old TWRP. So to avoid this you have to flash the Universal Bootloader and then TWRP 3.1.1 or 3.2.1
That's the download center... I mean the LineageOS thread over at the ROMs section. By Unjustified Dev
Choose an username... said:
Yes and no
The Universal bootloader flashes an old TWRP version. After you reboot and enter the recovery again you will get an old TWRP. So to avoid this you have to flash the Universal Bootloader and then TWRP 3.1.1 or 3.2.1
That's the download center... I mean the LineageOS thread over at the ROMs section. By Unjustified Dev
Click to expand...
Click to collapse
I see. All clear now. You've been most helpful, thank you again.
[/QUOTE]
xectis said:
I see. All clear now. You've been most helpful, thank you again.
Click to expand...
Click to collapse
Hi again, almost everything worked as per your suggestions except installing ROMs without Gapps as mentioned previously such as Resurrection Remix. I get the dreaded 'To Start Android, Enter Password' notice (pic attached). Even after putting a random password it comes up with 'The password you entered is correct, but unfortunately your data is corrupt'. I did a factory reset but no joy. So it looks like I have to install Gapps also?. By the way my device is not encrypted.
On a different note, do you know of a link that has a mod for increasing the volume in the ear speaker so I can hear callers with a louder volume.
Hi again, almost everything worked as per your suggestions except installing ROMs without Gapps as mentioned previously such as Resurrection Remix. I get the dreaded 'To Start Android, Enter Password' notice (pic attached). Even after putting a random password it comes up with 'The password you entered is correct, but unfortunately your data is corrupt'. I did a factory reset but no joy. So it looks like I have to install Gapps also?. By the way my device is not encrypted.
On a different note, do you know of a link that has a mod for increasing the volume in the ear speaker so I can hear callers with a louder volume.[/QUOTE]
You have to format the internal storage, because it is encrypted. Do this:
You need to have Magisk 15.1 or 14 or SuperSU 2.79 ready. I recommend the latest Magisk. If you have an SD card, put it there. If not, leave it on your PC and have the phone connected.
Go to TWRP, Wipe, Advanced Wipe, Format data. Be sure that it formats as ext4 (it will say 'formating using make-ext4fs or something, if it says f2fs then leave it format and then use Change filesystem to ext4).
Right after that, install Magisk. If you have the SD card it's easy, if you don't, try to connect the phone to the PC, if it appears as a mass storage option then put it there and flash it with Install. If it doesn't appear as mass storage use adb sideload
NEVER leave the phone without SuperSU or Magisk! If you change the ROM, ALWAYS install Magisk or SuperSU right after you install the ROM. Otherwise you'll have to format the internal storage again the next time you change the ROM.
Choose an username... said:
Hi again, almost everything worked as per your suggestions except installing ROMs without Gapps as mentioned previously such as Resurrection Remix. I get the dreaded 'To Start Android, Enter Password' notice (pic attached). Even after putting a random password it comes up with 'The password you entered is correct, but unfortunately your data is corrupt'. I did a factory reset but no joy. So it looks like I have to install Gapps also?. By the way my device is not encrypted.
On a different note, do you know of a link that has a mod for increasing the volume in the ear speaker so I can hear callers with a louder volume.
Click to expand...
Click to collapse
You have to format the internal storage, because it is encrypted. Do this:
You need to have Magisk 15.1 or 14 or SuperSU 2.79 ready. I recommend the latest Magisk. If you have an SD card, put it there. If not, leave it on your PC and have the phone connected.
Go to TWRP, Wipe, Advanced Wipe, Format data. Be sure that it formats as ext4 (it will say 'formating using make-ext4fs or something, if it says f2fs then leave it format and then use Change filesystem to ext4).
Right after that, install Magisk. If you have the SD card it's easy, if you don't, try to connect the phone to the PC, if it appears as a mass storage option then put it there and flash it with Install. If it doesn't appear as mass storage use adb sideload
NEVER leave the phone without SuperSU or Magisk! If you change the ROM, ALWAYS install Magisk or SuperSU right after you install the ROM. Otherwise you'll have to format the internal storage again the next time you change the ROM.[/QUOTE]
I did everything you suggested but I still get the 'To start Android use your password'. No wories I'll go back to my old ROM. Thanks anyway.
***Update*** I made a mistake in formatting SYSTEM instead of DATA. Now it works fine installing the ROM's I mentioned. You are a champ!
Now all I need is to somehow find a way to raise the in-call volume (ear speaker).
xectis said:
Now all I need is to somehow find a way to raise the in-call volume (ear speaker).
Click to expand...
Click to collapse
Try this
https://forum.xda-developers.com/axon-7/how-to/patch-enable-ak4490-hifi-dac-custom-rom-t3707738
It'll probably not work but you'll end up with the AK4490 anyways
Choose an username... said:
Try this
https://forum.xda-developers.com/axon-7/how-to/patch-enable-ak4490-hifi-dac-custom-rom-t3707738
It'll probably not work but you'll end up with the AK4490 anyways
Click to expand...
Click to collapse
Thanks for the link, however I recently discovered that with the 'XenonHD-170609-Unofficial' ROM the in-call volume is pretty loud as well as the sound from the normal sounding speakers. It also has just about everything I'd want in a lite ROM. So far it's the ROM I'll keep.
xectis said:
Thanks for the link, however I recently discovered that with the 'XenonHD-170609-Unofficial' ROM the in-call volume is pretty loud as well as the sound from the normal sounding speakers. It also has just about everything I'd want in a lite ROM. So far it's the ROM I'll keep.
Click to expand...
Click to collapse
Use the zip anyways
Choose an username... said:
Use the zip anyways
Click to expand...
Click to collapse
Ok I'll give it a try.

[Guide] How to decrypt data on Mate 9 (hi3660) [2018-11-01]

Hi .
I'm tired with Huawei's encryption. It's ok with Emui Rom but for AOSP (or other based on it) it's annoying :crying:
So use this guide for remove it definitively
WARNING !!
ALL YOUR DATA WILL BE DELETED ,SO BACKUP ALL YOUR PICTURES,VIDEO ETC ... TO YOUR PC OR IN EXT SDCARD
Download and copy in sdcard,not internal ,in attached files my :
- Huawei_remove_encyption_data
- Custom TWRP 3.2.3 recovery
rename my twrp_recovery.img.zip to twrp_recovery.img (remove .zip at the end, it's for upload this files into xda (size files))
or
in Android File Host
Download
HERE
PROGRESS :
Boot into fastboot, and Run
"fastboot -w", to wipe crypto
without rebooting flash included patched TWRP (fastboot flash recovery_ramdisk twrp_recovery.img)
Boot into TWRP, then Wipe internal storage, Wipe > Format Data then write "Yes"
Then flash my Huawei_remove_encyption_data script
reboot into TWRP recovery
Now you could continue to flash AOSP/LOS/CUSTOMS ROMs
And we're Done
Changelogs
2018-11-01
* Add new Android File Host Download link
* Add new MINADBD
* Fix selinux denial with stock kernel
Click to expand...
Click to collapse
Note:
If you want to come back to stock EMUI/Encryption data ,reboot into erecovery and use "download last firmware and recovery" and follow the steps
Enjoy :good:
Creadits:
@AL_IRAQI for the inspiration of this guide
Updated 2018-10-24
* Update script with busybox mount program , more stable as previous script
* Update TWRP with Static Busybox ,last teamwin stuff and some other fix
This is on a good path, thank you brother for your work ...:good:
I tried on my VTR-L29C432 (P10) and it worked!
Now I can flash files from my internal storage.
It works on EMUI and custom roms, even android 9. @micky387 Thank you so much for this tool bro
It just isnt working for me.
it installs twrp, but it fails with the wiping
when i try to format data it says cannot mount storage
acant install any rom either.
also refuses to download latest update in emui recovery
man, does huawei suck!
caniranges said:
It just isnt working for me.
it installs twrp, but it fails with the wiping
when i try to format data it says cannot mount storage
acant install any rom either.
also refuses to download latest update in emui recovery
man, does huawei suck!
Click to expand...
Click to collapse
Which device ,mate 9 ?
download again and try the new files. I have updated my twrp and script for more support
After flashing custom ROM, my data partition was encrypted.
Need some help here.
I have a mate 9 US variant. I was directed here from [Recovery][10-09-2018][3.2.3-0] TWRP for the Huawei Mate 9 (hi3660) (https://forum.xda-developers.com/mate-9/development/recovery-twrp-huawei-mate-9-hi3660-t3834796).
1) Successfully installed TWRP 3.2.3.
2) Backed up my /system partiton using TWRP to my ext SD card.
3) Boot into fastboot and run "fastboot -w". It shows
"
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Command not allowed)
erasing 'userdata'...
(bootloader) success to erase cryypt info in oeminfo
OKAY [ 0.078s]
finished. total time: 0.078s
"
Not sure it is successful or not.
4) No rebooting and flash TWRP 3.2.3 again.
5) reboot to TWRP successfully, but not able to format data. It shows "failed to mount '/data'"
---------------------------------------------------------------------------------------------------------------------------------------------
Just found these two post have different TWRP files. The version numbers are the same, but file sizes are not. Is successful with the TWRP posted in this page.
@micky387 Hi!
One Question, the fstab file was taken from Honor View 10 forum or you modded that? Because I the one that I'm using was taken from there.
First I did the wipes on Twrp but my internal storage wasn't recognized when the phone booted, so I had to wipe using stock recovery and it worked, now I can use my internal memory on Twrp.
Hi guys.
OP updated
* Update script with busybox mount program , more stable as previous script
* Update TWRP with Static Busybox ,last teamwin stuff and some other fix
Click to expand...
Click to collapse
soft-touch said:
After flashing custom ROM, my data partition was encrypted.
Click to expand...
Click to collapse
Try with new stuff.
swith to busybox for more device variant support
huhtan said:
Need some help here.
I have a mate 9 US variant. I was directed here from [Recovery][10-09-2018][3.2.3-0] TWRP for the Huawei Mate 9 (hi3660) (https://forum.xda-developers.com/mate-9/development/recovery-twrp-huawei-mate-9-hi3660-t3834796).
1) Successfully installed TWRP 3.2.3.
2) Backed up my /system partiton using TWRP to my ext SD card.
3) Boot into fastboot and run "fastboot -w". It shows
"
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Command not allowed)
erasing 'userdata'...
(bootloader) success to erase cryypt info in oeminfo
OKAY [ 0.078s]
finished. total time: 0.078s
"
Not sure it is successful or not.
4) No rebooting and flash TWRP 3.2.3 again.
5) reboot to TWRP successfully, but not able to format data. It shows "failed to mount '/data'"
---------------------------------------------------------------------------------------------------------------------------------------------
Just found these two post have different TWRP files. The version numbers are the same, but file sizes are not. Is successful with the TWRP posted in this page.
Click to expand...
Click to collapse
Same, use new script and twrp in OP and report
sfoot13 said:
@micky387 Hi!
One Question, the fstab file was taken from Honor View 10 forum or you modded that? Because I the one that I'm using was taken from there.
First I did the wipes on Twrp but my internal storage wasn't recognized when the phone booted, so I had to wipe using stock recovery and it worked, now I can use my internal memory on Twrp.
Click to expand...
Click to collapse
Hi,
first, fstab is from Mate 9. The only diff with View 10 is this line.
Code:
/devices/platform/e7f00000.hifi_usb/* auto auto defaults voldmanaged=usbotg:auto
you can add it in my fstab if you want for your device
for the second question ,I have already noted that for me, just restart in recovery mode to fix this
With TWRP do you use ?
micky387 said:
Hi,
first, fstab is from Mate 9. The only diff with View 10 is this line.
you can add it in my fstab if you want for your device
for the second question ,I have already noted that for me, just restart in recovery mode to fix this
With TWRP do you use ?
Click to expand...
Click to collapse
Thanks for the answer
On my last testing, I flashed your fstab without problems and wiped using stock.
To flash your zip, first I need to use this twrp https://forum.xda-developers.com/9-lite/development/recovery-twrp-3-2-1-0-t3789306 it boots even if the phone is encrypted but you need a sdcard, after the decrypt is done, I replace it with this twrp https://marijuana.ddo.jp/cm/recovery
sfoot13 said:
Thanks for the answer
On my last testing, I flashed your fstab without problems and wiped using stock.
To flash your zip, first I need to use this twrp https://forum.xda-developers.com/9-lite/development/recovery-twrp-3-2-1-0-t3789306 it boots even if the phone is encrypted but you need a sdcard, after the decrypt is done, I replace it with this twrp https://marijuana.ddo.jp/cm/recovery
Click to expand...
Click to collapse
Thanks do you have a xda link of the second TWRP ?
It's just to see if it use too a symlinks script for our partitions
micky387 said:
Thanks do you have a xda link of the second TWRP ?
It's just to see if it use too a symlinks script for our partitions
Click to expand...
Click to collapse
No, I saw the link on this post https://forum.xda-developers.com/showpost.php?p=77262856&postcount=166 but I think @love_marijuana is the dev, because of the splash screen of the twrp :silly: talk to him bro.
OP Updated
2018-11-01
* Add new Android File Host Download link
* Add new MINADBD
* Fix selinux denial with stock kernel
Click to expand...
Click to collapse
We can use all TWRP feature now in Stock kernel.
Because Huawei has removed setenforce permission into kernel , the recovery script (setenforce 0) dont work , so "use" adb and other stuff was blocked by selinux
Fix all selinux denial by this commits
Return to stock emui/encryption
Hello!
I have a mate 9 c432 b370 with LineageOS 16 by micky (but due to stopped development i want to go back, the other treble roms just aren't working that well as rhis one, and I'm having a bit of bad battery life right now)
My question is:
"If you want to come back to stock EMUI/Encryption data ,reboot into erecovery and use "download last firmware and recovery" and follow the steps"
Is this the only way to go back to stock/encryption?
A wipe data or factory reset on emui stock recovery wouldn't work?
I'm asking because i have decrypted a while ago.
The last time i tried to use erecovery it said "no packages available" with an exclamation mark.
I have flashed stock system, kernel, ramdisk and recovery to boot back several times, but this time i have decrypted the internal storage...
Just need confirmation and/or possible solution to this. @micky387
Thanks in advance
hello @micky387
noob question. is it possible to work on a mate 8 debrand(AL10C00) atm im running openkirin omnirom 5.2,
would like to try other gsi roms. to check the most compatible rom..
your reply is very much appriciated
thank you
P10 Lite / WAS-LX1
Works on P10 Lite (WAS-LX1) with a fitting TWRP (I used Darkjokers 3.3.1). Used the zip over ADB sideload, so no external SD needed. Thanks for showing us da wae pal :good:
Hey dudes will this work on mate 8 Oreo ? If soon could you mod it for it ? Thanks
c|nder said:
Hey dudes will this work on mate 8 Oreo ? If soon could you mod it for it ? Thanks
Click to expand...
Click to collapse
If you check by the dates, it was all discussed at the time of EMUI 8/Oreo.
Earlier with Nougat, there was no such problem (TWRP was able to access internal storage).
To the other side, with current EMUI 9.1, Vendor is read-only and proposed modifications will not work

[HELP OXYGEN OS] Can´t install 5.1.5 update or flash in original recovery!!

Hello, I have an OP 5 with unlocked bootloader and i was rooted. So, I'm in 4.5.13, and i'm trying to install 5.1.5 but i need to be unrooted for this.
Somehow when i removed root (magisk) my phone entered in bootloop mode (i think that magisk lost the original boot img). I flashed the stock boot img and the phone booted normally and without root. However i think that some "crumbs" of the magisk or adway stayed in my system or phone partitions and my phone continues to say that he can´t install the OTA. I've already wiped cache and data in the recovery and tried to install with adb sideload but it fails.
I still have my OOS and is working fine, but I can't update... Any ideas?
Do you think that if I do the normal settings > restore factory settings will it work? Or that option will be also damaged?
Should i boot TWRP in fastboot, and try to do a factory reset and then flash 5.1.5?
For your information, i've never flashed anything besides magisk and the attempts to update. The rom is the original as also the recovery. To flash the magisk i always booted twrp connected by usb to my PC.
I apreciate all the help!!
pdalvares said:
I apreciate all the help!!
Click to expand...
Click to collapse
https://downloads.oneplus.com/oneplus-5/oneplus_5_oxygenos_5.1.5/
This is the full OOS ROM Zip with instructions to flash with either stock Recovery, or TWRP.
Dirk said:
This is the full OOS ROM Zip with instructions to flash with either stock Recovery, or TWRP.
Click to expand...
Click to collapse
Yo, i already tried it different ways, but thank you :/
pdalvares said:
Yo, i already tried it different ways, but thank you :/
Click to expand...
Click to collapse
Fastboot flash TWRP, format partitions and flash full OOS ROM and Magisk. What's the difficulty?
https://www.xda-developers.com/how-to-install-twrp/
Dirk said:
Fastboot flash TWRP, format partitions and flash full OOS ROM and Magisk. What's the difficulty?
https://www.xda-developers.com/how-to-install-twrp/
Click to expand...
Click to collapse
Ok i'm gonna try it i'm sorry for my noobish but you know the smartphone was expensive and i'm afraid to brick it someway :/
Just one question: when you say formating partitions you mean wipe data, cache, system and dalvik / ART cache right?
thanks alot for your help and im sorry for being noob xD
I've my nexus 7 with root and PureNexus rom and had an moto g with custom rom, twrp and root but somehow I'm afraid with the OP5 because it was very expensive to my pocket xD :silly:
pdalvares said:
Ok i'm gonna try it i'm sorry for my noobish but you know the smartphone was expensive and i'm afraid to brick it someway :/
Just one question: when you say formating partitions you mean wipe data, cache, system and dalvik / ART cache right?
thanks alot for your help and im sorry for being noob xD
I've my nexus 7 with root and PureNexus rom and had an moto g with custom rom, twrp and root but somehow I'm afraid with the OP5 because it was very expensive to my pocket xD :silly:
Click to expand...
Click to collapse
Even if you tried really hard it would be almost impossible to 'Brick' a Oneplus phone. We even have unbrick tools to revive dead devices. Oneplus phones are like zombies. Really hard to keep down. The price we usually pay for messing up is nothing more than having to do a clean install and having to set the phone up again. We've all been there!
Once you have TWRP installed you could try a simple swipe-to-wipe from the 'Wipe' menu in TWRP and then flash the full OOS ROM & Magisk. I would recommend going into the 'Advanced' sub menu from 'Wipe' and select every partition. This will erase your Internal Storage, so make sure you have a backup of everything on your PC. Once you've done this you should use the TWRP 'Reboot' menu to reboot back into Recovery. Copy the ROM and Magisk zips back to Internal Storage from PC and Install them from TWRP 'Install' menu.
Dirk said:
Even if you tried really hard it would be almost impossible to 'Brick' a Oneplus phone. We even have unbrick tools to revive dead devices. Oneplus phones are like zombies. Really hard to keep down. The price we usually pay for messing up is nothing more than having to do a clean install and having to set the phone up again. We've all been there!
Once you have TWRP installed you could try a simple swipe-to-wipe from the 'Wipe' menu in TWRP and then flash the full OOS ROM & Magisk. I would recommend going into the 'Advanced' sub menu from 'Wipe' and select every partition. This will erase your Internal Storage, so make sure you have a backup of everything on your PC. Once you've done this you should use the TWRP 'Reboot' menu to reboot back into Recovery. Copy the ROM and Magisk zips back to Internal Storage from PC and Install them from TWRP 'Install' menu.
Click to expand...
Click to collapse
I've made what you said but it gives me the error "Updater process ended with error: 7"
pdalvares said:
I've made what you said but it gives me the error "Updater process ended with error: 7"
Click to expand...
Click to collapse
Which TWRP are you using? It should be the latest Official version, or you could try the latest codeworkx from here:
https://sourceforge.net/projects/cheeseburgerdumplings/files/15.1/cheeseburger/recovery/
Error 7 is a generic error code. The useful information about the error is usually in the body of text.
If you can't get TWRP to play nicely you can use it to format partitions as mentioned before, and then use it to install the stock OOS recovery from the bottom of this page:
https://downloads.oneplus.com/oneplus-5/oneplus_5_oxygenos_5.1.5/
The stock recovery is an .img, so in the TWRP 'Install' menu you need to select Image instead of Zip at the bottom of the screen. Move the stock recovery .img to Internal Storage and flash it. Reboot into Stock Recovery and flash full OOS zip.
Dirk said:
Even if you tried really hard it would be almost impossible to 'Brick' a Oneplus phone. We even have unbrick tools to revive dead devices. Oneplus phones are like zombies. Really hard to keep down. The price we usually pay for messing up is nothing more than having to do a clean install and having to set the phone up again. We've all been there!
Once you have TWRP installed you could try a simple swipe-to-wipe from the 'Wipe' menu in TWRP and then flash the full OOS ROM & Magisk. I would recommend going into the 'Advanced' sub menu from 'Wipe' and select every partition. This will erase your Internal Storage, so make sure you have a backup of everything on your PC. Once you've done this you should use the TWRP 'Reboot' menu to reboot back into Recovery. Copy the ROM and Magisk zips back to Internal Storage from PC and Install them from TWRP 'Install' menu.
Click to expand...
Click to collapse
YO BRO i've made it. I installed other version of the OS and it's working! Now im gonna see if i can update it to the newest version
Thank you for encouraging me!
pdalvares said:
YO BRO i've made it. I installed other version of the OS and it's working! Now im gonna see if i can update it to the newest version
Thank you for encouraging me!
Click to expand...
Click to collapse
Let me know how you get on. :good:
Dirk said:
Let me know how you get on. :good:
Click to expand...
Click to collapse
It all works fine but when doing the OTA in the OOS to 5.1.4 the device reboots, enters in oxygenos recovery but it fails...
EDIT:
Could it be because the bootloader is unlocked?? Is it safe to lock it like i unlocked it? No problem?
pdalvares said:
It all works fine but when doing the OTA in the OOS to 5.1.4 the device reboots, enters in oxygenos recovery but it fails...
Click to expand...
Click to collapse
Work through the steps in post #8. Begin with the latest codeworkx TWRP and go from there.
Check this guide if you think you might be missing something:
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
Dirk said:
Work through the steps in post #8. Begin with the latest codeworkx TWRP and go from there.
Check this guide if you think you might be missing something:
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
Click to expand...
Click to collapse
It failed that way
ok so im gonna write here what it says:
" Installing zip file...
Checking for Digest file...
Skipping Digest check: no Digest file found vendor partition is not existed, exit ota!!
Updater process ended with ERROR: 7
error installiong...
Updating partition details...
Failed to mount '/vendor' (Invalid argument)
...done "
pdalvares said:
It failed that way
ok so im gonna write here what it says:
" Installing zip file...
Checking for Digest file...
Skipping Digest check: no Digest file found vendor partition is not existed, exit ota!!
Updater process ended with ERROR: 7
error installiong...
Updating partition details...
Failed to mount '/vendor' (Invalid argument)
...done "
Click to expand...
Click to collapse
Are you trying to OTA or full ROM? OTA is not going to work. Only full ROM .zip will get the job done.
Have you considered giving up on OOS for now and just try flashing a Custom ROM from TWRP? I'd recommend Dirty Unicorns Oreo for now until Pie ROMs mature. You can get their ROM from their website.. Should be no issue at all flashing it. Opengapps ARM64, 8.1 Nano is the Gapps i'd recommend.
Wipe in TWRP, Flash Firmware/ROM/Gapps/Magisk. Job done.
pdalvares said:
It failed that way
ok so im gonna write here what it says:
" Installing zip file...
Checking for Digest file...
Skipping Digest check: no Digest file found vendor partition is not existed, exit ota!!
Updater process ended with ERROR: 7
error installiong...
Updating partition details...
Failed to mount '/vendor' (Invalid argument)
...done "
Click to expand...
Click to collapse
One more thing dude, i've flashed the 5.1.1 on top of the 4.5.14 without wiping, and it is taking along time to boot. I should wipe it? :/
pdalvares said:
One more thing dude, i've flashed the 5.1.1 on top of the 4.5.14 without wiping, and it is taking along time to boot. I should wipe it? :/
Click to expand...
Click to collapse
Initial boot can take some time.
I'm at a loss why your phone hates OOS, but it might love Custom ROMs. Give it some thought.
pdalvares said:
One more thing dude, i've flashed the 5.1.1 on top of the 4.5.14 without wiping, and it is taking along time to boot. I should wipe it? :/
Click to expand...
Click to collapse
MY BROTHER, i really needed to lock the bootloader, wiped everything and adb sideloaded 5.1.1. It booted at android 8 and then i ran the OTA's until the newest one and now i have my phone fully functional, with the latest update, and running all stock. Thank's alot for all the help. I don´t know how to thank you! Peace and see you one day!
EDIT:
Maybe one day I will try some custom ROM, like lineage or other best than that. For now im gonna stay like this for a while, just because yes
pdalvares said:
MY BROTHER, i really needed to lock the bootloader, wiped everything and adb sideloaded 5.1.1. It booted at android 8 and then i ran the OTA's until the newest one and now i have my phone fully functional, with the latest update, and running all stock. Thank's alot for all the help. I don´t know how to thank you! Peace and see you one day!
EDIT:
Maybe one day I will try some custom ROM, like lineage or other best than that. For now im gonna stay like this for a while, just because yes
Click to expand...
Click to collapse
Good news! :good:
You can see how resilient OP phones are. You can pretty much always get them back to a working condition. I can only guess but it sounds like you were right. Something was wrong with your Bootloader after the initial problems. Glad you got it sorted.

Categories

Resources