[Help] How do I go about installing an OS on my OP5? - OnePlus 5 Questions & Answers

I messed up last night, used a 16bit wallpaper I made which crashed the phone into a boot loop. Only solution I found was to factory reset. I wiped my system from TWRP since I couldn't actually get into the phone. Tried to reboot, it tells me there is no OS installed. So how do I install an OS again?
Edit: I get this error when trying to flash official OS from oneplus.com
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file 'file name.zip'

Pelo_o said:
I messed up last night, used a 16bit wallpaper I made which crashed the phone into a boot loop. Only solution I found was to factory reset. I wiped my system from TWRP since I couldn't actually get into the phone. Tried to reboot, it tells me there is no OS installed. So how do I install an OS again?
Edit: I get this error when trying to flash official OS from oneplus.com
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file 'file name.zip'
Click to expand...
Click to collapse
I never heard of a wallpaper crashing a phone and putting it into a boot loop before, in my opinion that would be impossible. Just so you know factory reset and wiping the system partition is 2 completely different things. If you wiped system, I am not surprised at all that you no longer have an OS installed. You should really do your research before messing around with your phone because the steps you took clearly showed that you don't know what you are doing. You should be able to use the Unbrick Tool to recover, you will be able to find this tool in the this XDA OP5 forum.

Pelo_o said:
I get this error when trying to flash official OS from oneplus.com
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file 'file name.zip'
Click to expand...
Click to collapse
Update the TWRP recovery and this error will vanish. you need to have compatible TWRP.
I had the same issue y'day.

Pelo_o said:
I messed up last night, used a 16bit wallpaper I made which crashed the phone into a boot loop. Only solution I found was to factory reset. I wiped my system from TWRP since I couldn't actually get into the phone. Tried to reboot, it tells me there is no OS installed. So how do I install an OS again?
Edit: I get this error when trying to flash official OS from oneplus.com
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file 'file name.zip'
Click to expand...
Click to collapse
There was no need to wipe system,
You could have changed the wallpaper by going to "safe mode"
or
Delete the wallpaper data via TWRP:
/data/system/users/USER_ID/wallpaper_info.xml
/data/system/users/USER_ID/wallpaper_orig
/data/system/users/USER_ID/wallpaper
Since now u already did..u can install new Oos just first upgrade your recovery

Related

[Q] Can't flash recovery zip

Hi,
I'm at my wits end. I had SlimRom installed for a week and all was fine, but I was curious about what new ROMs were out there so I backed up my phone using ROM Manager and did all the usual stuff to get a new ROM. I installed Gummy, but didn't like it; I installed one other ROM that I can't remember its name, but also didn't like that. I realized my comfy home of SlimRom was where I wanted to be, so I tried to flash the backup.zip that I had created but it kept saying installation aborted (Status 0).
After hours of countless attempts and just weird behaviour (sometimes boot loops, sometimes not booting into recovery, etc.) I finally got my phone back to stock.
I downloaded the latest SlimRom file 3 times to make sure it wasn't a corrupt zip (twice from my PC and once from my phone directly). Both the zip directly from Slim as well as the backup.zip that I made with ROM Manager give me the same installation aborted. The other error it gives is "E: Error in /data/media/0/slim....zip". I'm wondering if somehow my partition is screwed up. I tried using Odin's repartition, which just erased my recovery partition, but I got that back thankfully! When I wipe data/factory reset it says wipe complete (and the ROM does reset to factory) but it also says "E:unknown volume '/sdcard/.android_secure' "...I'm wondering if that relates to why the backup.zip file won't read properly. Maybe the partition got screwed up somehow?
I can flash a SU zip so it's not a flashing problem, per se. And thankfully Odin always works!
I think I may need the stock PIT file for the Telus S4 l337m
UPDATE:
I think I found the proper pit (SGS-I337_16GB) but my phone says "secure check fail: pit".

Need help....Not able to install cm-13.0-20160623-NIGHTLY-tomato.....

Hello guys , i am unable to install cm-13.0-20160623-NIGHTLY-tomato in my YU Yureka. Its stuck on "patching system image unconditionally"
I am using latset twrp 3.0.0.0 . I am on official Cos 12.1.
Before flashing i formatted system, dalvik-ART,cache,dalvik cache.
While installing there is no exception or error raised by recover. I kept my Yureka for 30-40 min with installation going on after so much time there is no progress, not a single percent. (and my memory card is also not shown in twrp recovery)
Then i tried to install recovery again and done the rom flashing procedure, it stucks on "Patching system image unconditionally".
Is there anything wrong with recovery or rom or i skipped any step?
plz help me guys.
@Aj_$tyle$
Use CM recovery to check if it is getting flashed. TWRP is also upgraded to 3.0.2-0. You can use that one too.
Also match SHA-1 of downloaded ROM zip file.
saurav007 said:
@Aj_$tyle$
Use CM recovery to check if it is getting flashed. TWRP is also upgraded to 3.0.2-0. You can use that one too.
Also match SHA-1 of downloaded ROM zip file.
Click to expand...
Click to collapse
dude i tried twrp 3.0.2.0 its not working for me...neither internal or external storage is shown in that recovery......lets try cm recovery...hope it will work for me
saurav007 said:
@Aj_$tyle$
Use CM recovery to check if it is getting flashed. TWRP is also upgraded to 3.0.2-0. You can use that one too.
Also match SHA-1 of downloaded ROM zip file.
Click to expand...
Click to collapse
tried CM recovery....in the middle of flashing it showing "Signature verification failed"....whats wrong with signature verification?
help me dude
@saurav007
i matched the sha 1 and they are same......
@saurav007
i matched the sha 1 and they are same......

malfunction

Hi Guys.
I recently noticed that I couldn't create a backup with TWRP. Firstly, I thought it was a TWRP problem, as I had some issues installing it after the B588 update. So I flashed it again, but nothing changed. When my back up would reach about 70%, it would give me a reboot. Then I tried to install B588 again, to fix any errors. Although, I flashed it correctly, when I tried to restore the back up I had through Huawei's app, I got an unexpected reboot. So I decided to intall sokkoban's rom. During my first attempt to copy the zip files, it stoped the process. So I took the files directly to the SD card (with an adapter and not via usb cable). I re-flashed TWRP and then entered recovery, to flash the zip files (I am only able to enter custom recovery, only through xposed modules and adb commands since my latest update: 01-01-2017). After managing to enter TWRP, I tried to clear everything, but I got an error:
The message was: mkfs.fat /dev/block/mmcblk1p1 process ended with ERROR: 1 Unable to wipe sdcard. (just in case the image is not visible)
Can anyone help with this?
Currently I am trying to install the ROM ...
spirto82 said:
Hi Guys.
I recently noticed that I couldn't create a backup with TWRP. Firstly, I thought it was a TWRP problem, as I had some issues installing it after the B588 update. So I flashed it again, but nothing changed. When my back up would reach about 70%, it would give me a reboot. Then I tried to install B588 again, to fix any errors. Although, I flashed it correctly, when I tried to restore the back up I had through Huawei's app, I got an unexpected reboot. So I decided to intall sokkoban's rom. During my first attempt to copy the zip files, it stoped the process. So I took the files directly to the SD card (with an adapter and not via usb cable). I re-flashed TWRP and then entered recovery, to flash the zip files (I am only able to enter custom recovery, only through xposed modules and adb commands since my latest update: 01-01-2017). After managing to enter TWRP, I tried to clear everything, but I got an error:
The message was: mkfs.fat /dev/block/mmcblk1p1 process ended with ERROR: 1 Unable to wipe sdcard. (just in case the image is not visible)
Can anyone help with this?
Currently I am trying to install the ROM ...
Click to expand...
Click to collapse
This error is quite normal.....I have got this many times wiping everything and this isn't an issue...
With reboot during restore I think that your backup is corrupt at some point

flashing firmware zip fails every time

I am currently using a OnePlus 5 which used to run on a stock based rom, xxxNoLimits v3.1
Since the dev ended the support I wanted to revert back to pure OOS, so I downlaoded the newest 5.1.5 zip and followed the instructions using the newest blu_spark twrp recovery but right after pressing the "flash" button I kept getting error 7, so I download the zip from a mirror link and I have also tried the newest version of codeworkx twrp, still error 7. Then I tried flashing the original stock recovery in order to flash the zip but it instantly threw me back to the zip selection menu, flashing the zip via adb sideload kept quitting at exactly 47%. At this point I was pretty frustrated, I flashed twrp codeworkx again and wiped EVERYTHING, which includes the system, data, cache, dalvik partitions and then I also did a format on the data partition, the point was that now I would have a clean phone only running twrp and I thought I could easily flash the newest zip now without any problems, NOPE, still error 7!!! Now I am stuck here, the stock recovery doesnt let me flash anything and I've tried 4 different versions of twrp recoverys and every single one gives me the same error, I even dug up an older version of OOS, I think it which I had running for a few weeks without any probles so I knew that the zip was not corrupted but same error
Now I had given up and wanted to restore the backup I did just in case anything goes wrong, well, restoring the backup fails when it tries to restore the data partition, so I unchecked everything except system, system image and recovery but it didnt work, now I am sitting here with my phone telling me that there's no OS installed. any advice?
Use Unbrick Tool and Restore
Hey,
You can Flash your Mobile using the Unbrick tool at - https://androidfilehost.com/?w=files&flid=204903
Use the Latest file which I guess comes with OOS 5.1.3 - https://androidfilehost.com/?fid=962339331458999196
If you try to Go to Open Beta ROM First Flash Open Beta 12--> Open Beta 13 --> Open Beta 17
freaky2xd said:
I am currently using a OnePlus 5 which used to run on a stock based rom, xxxNoLimits v3.1
Since the dev ended the support I wanted to revert back to pure OOS, so I downlaoded the newest 5.1.5 zip and followed the instructions using the newest blu_spark twrp recovery but right after pressing the "flash" button I kept getting error 7, so I download the zip from a mirror link and I have also tried the newest version of codeworkx twrp, still error 7. Then I tried flashing the original stock recovery in order to flash the zip but it instantly threw me back to the zip selection menu, flashing the zip via adb sideload kept quitting at exactly 47%. At this point I was pretty frustrated, I flashed twrp codeworkx again and wiped EVERYTHING, which includes the system, data, cache, dalvik partitions and then I also did a format on the data partition, the point was that now I would have a clean phone only running twrp and I thought I could easily flash the newest zip now without any problems, NOPE, still error 7!!! Now I am stuck here, the stock recovery doesnt let me flash anything and I've tried 4 different versions of twrp recoverys and every single one gives me the same error, I even dug up an older version of OOS, I think it which I had running for a few weeks without any probles so I knew that the zip was not corrupted but same error
Now I had given up and wanted to restore the backup I did just in case anything goes wrong, well, restoring the backup fails when it tries to restore the data partition, so I unchecked everything except system, system image and recovery but it didnt work, now I am sitting here with my phone telling me that there's no OS installed. any advice?
Click to expand...
Click to collapse
Flashing newest oos doesn't always work l have had this sometime l have had to go back 3 oos versions then flash them in order to flash the latest release.
freaky2xd said:
I am currently using a OnePlus 5 which used to run on a stock based rom, xxxNoLimits v3.1
Since the dev ended the support I wanted to revert back to pure OOS, so I downlaoded the newest 5.1.5 zip and followed the instructions using the newest blu_spark twrp recovery but right after pressing the "flash" button I kept getting error 7, so I download the zip from a mirror link and I have also tried the newest version of codeworkx twrp, still error 7. Then I tried flashing the original stock recovery in order to flash the zip but it instantly threw me back to the zip selection menu, flashing the zip via adb sideload kept quitting at exactly 47%. At this point I was pretty frustrated, I flashed twrp codeworkx again and wiped EVERYTHING, which includes the system, data, cache, dalvik partitions and then I also did a format on the data partition, the point was that now I would have a clean phone only running twrp and I thought I could easily flash the newest zip now without any problems, NOPE, still error 7!!! Now I am stuck here, the stock recovery doesnt let me flash anything and I've tried 4 different versions of twrp recoverys and every single one gives me the same error, I even dug up an older version of OOS, I think it which I had running for a few weeks without any probles so I knew that the zip was not corrupted but same error
Now I had given up and wanted to restore the backup I did just in case anything goes wrong, well, restoring the backup fails when it tries to restore the data partition, so I unchecked everything except system, system image and recovery but it didnt work, now I am sitting here with my phone telling me that there's no OS installed. any advice?
Click to expand...
Click to collapse
Hi ! Do you have some news about it ? I have the same issue since Monday...
I've tried like anything i've found and even more, but nothing did the job ...
The only way to have my OP5 working is downgrade to an old version running Android 7.1.1

Accidentally wiped Internal Storage in TWRP... Any possible fix to get partitions or anything back?

I attempted to install LineageOS 17.1 on my Mi A1, but while wiping storage, I accidentally also clicked Internal Storage and wiped it too. Now, I tried to restore my backup but when I go to restart to turn on my Mi A1, it gets stuck in a boot loop. I also tried using XiaoMiFlash and the original ROM to get all the firmware settings to stock. Now, I tried also installing custom ROM again, LineageOS 17.1 but it also gets stuck in a boot loop. Is there anything else I can do?? I'm very frustrated... I hope my device isn't completely bricked. Any help is appreciated.
I need help pls asap said:
I attempted to install LineageOS 17.1 on my Mi A1, but while wiping storage, I accidentally also clicked Internal Storage and wiped it too. Now, I tried to restore my backup but when I go to restart to turn on my Mi A1, it gets stuck in a boot loop. I also tried using XiaoMiFlash and the original ROM to get all the firmware settings to stock. Now, I tried also installing custom ROM again, LineageOS 17.1 but it also gets stuck in a boot loop. Is there anything else I can do?? I'm very frustrated... I hope my device isn't completely bricked. Any help is appreciated.
Click to expand...
Click to collapse
Welcome to XDA!
Its not recommended to open more than 1 thread on same topic, please have a read of the forum rules and most importantly, enjoy your stay!
It should be ok with mi flash tool
lafactorial said:
It should be ok with mi flash tool
Click to expand...
Click to collapse
I have already tried that, the only issue now is that the Custom ROM after installing (LineageOS 17.1) will not boot properly. Maybe this is because I skipped TWRP Recovery? Well, I don't know why but TWRP Recovery zip will not copy into phone storage. it is originally .img file, but the guide I'm following has .zip file so I converted into zip via Windows Explorer (file manager). But, it does not copy and when I use img to zip website converter iand it does copy, but it says "invalid zip file format" once flashing.
One thing I should note, the backup does work now. I had a typo when making the folder so it wouldn't work. Backup does work now, but something really stupid is happening. When I go to turn on screen lock, it will keep looping me into "which type do you want to choose, fingerprint + pin, password, pattern" after completing the process. If I don't choose fingerprint, it finishes but the screen lock isn't effective. Any help on this?
I need help pls asap said:
I have already tried that, the only issue now is that the Custom ROM after installing (LineageOS 17.1) will not boot properly. Maybe this is because I skipped TWRP Recovery? Well, I don't know why but TWRP Recovery zip will not copy into phone storage. it is originally .img file, but the guide I'm following has .zip file so I converted into zip via Windows Explorer (file manager). But, it does not copy and when I use img to zip website converter iand it does copy, but it says "invalid zip file format" once flashing.
Click to expand...
Click to collapse
You cannot just convert that image file into a zip file like that.
Where did you get that twrp file from?
If you want to install twrp, you need to flash the twrp.img file via fastboot, then sideload the twrp.zip via trwp.
(maybe just flashing the img file works too, but I often read that you have to do both).

Categories

Resources