Flashing to both slots - OnePlus 7 Pro Questions & Answers

Morning all,
I'm having an issue installing ROMs on my pro 5g, IV managed to do it on every device IV had since the S2 haha.
Basically I'm rooted and have twrp installed all with no issue if I change slots it doesn't pick up storage and won't boot on that slot (stock os)
Now when I try to install a rom it errors and says trying to install to inactive slot on any rom IV tried, I even managed to brick it the other day but sorted it with msm tool for the gm1920, IV read about flashing to both slots but I can't suss out how to flash to both thanks in advance.

Related

k30 twrp issues

hello everyone, i've been using k30 for almost 4 months and decided to unlock and install twrp. the first time i flashed the xiaomi eu rom (stable) it went fine had no problems or issues then i decided ti install the eu weekly builds and i had to format data to be able to boot it up. and from that time i've been trying different aosp roms and that's when the problems started. i keep on having issues on twrp like unable to mount data, unable to mount system and others and when i am able to install and boot another rom the problem still exist with the addition "no os installed" can someone enlighten me with this problem. i was still able to install roms though with workarounds but the problem persists. is the twrp at fault here i have tried two versions for k30 but still the same.
@bongski09
Try wiping data with stock recovery.
Flash stock recovery, wipe data, flash TWRP, flash your desired rom.
i guess tha stock recovery only comes with xiaomi eu roms right or does it comes MIUI roms too?

No OS Installed... Error 7... E1001...

Hi,
I have a Xiaomi Redmi 7 device. Originally, it used to have a Chinese Rom. A week after, I changed it a Global Rom. I got curious about Magisk, so I attempted to install it without having TWRP. I followed the tutorial that I've watched on how to do it. I was under the impression that I'm on the right track. After the installation, I reboot the device and that started the problem. I was stuck on Redmi Logo. I was told to flash a Rom using TWRP. So I installed TWRP and started flashing the Rom my device has. 1st attempt FAILED. 2nd / 3rd / 4th and until now, it's still the same, FAILED. No OS Installed... Error 7... E1001... Cannot flash any Rom's after. Tried the one where you need to edit the "Update-Script" using notepad++, still unsuccessful. Tried using other TWRP versions and flash other Rom's, no luck at all. Is there any other way to fix the issue? I badly need help. Thanks!

Flashing help needed to remove Android 12 and reinstall MIUI 12 from scratch

HI everyone, wonder if you can help. I recently flashed my Poco with an Android 12 ROM I got off the internet. The Android 12 works, and if I reboot into recovery mode or whatever, TWRP loads.
I need to switch to dual sim, and Android 12 won't do what I want it to do, so I want to erase the thing totally clean and start from scratch with MIUI12.
I have downloaded a couple of firmwares and roms from xiaomifirmwareupdater website.
They are on an SD Card in the phone. I reboot into recovery, wipe cache etc, install the FW and add the ROM zip too.
But it ALWAYS fails with error code 1. When the phone reboots, it's back into Android 12.
Can anyone advise what I'm doing wrong??
Thanks!
beastwez said:
HI everyone, wonder if you can help. I recently flashed my Poco with an Android 12 ROM I got off the internet. The Android 12 works, and if I reboot into recovery mode or whatever, TWRP loads.
I need to switch to dual sim, and Android 12 won't do what I want it to do, so I want to erase the thing totally clean and start from scratch with MIUI12.
I have downloaded a couple of firmwares and roms from xiaomifirmwareupdater website.
They are on an SD Card in the phone. I reboot into recovery, wipe cache etc, install the FW and add the ROM zip too.
But it ALWAYS fails with error code 1. When the phone reboots, it's back into Android 12.
Can anyone advise what I'm doing wrong??
Thanks!
Click to expand...
Click to collapse
If you want a fresh start, you have to flash a recent fastboot ROM. You can find those also on the xiaomifirmwareupdater website.
Android 12 does switch between SIM cards. You are probably using a ROM that has bugs
Noter2017 said:
If you want a fresh start, you have to flash a recent fastboot ROM. You can find those also on the xiaomifirmwareupdater website.
Android 12 does switch between SIM cards. You are probably using a ROM that has bugs
Click to expand...
Click to collapse
Hi, thanks for the reply. The Android 12 is working fine, but some apps don't support dual sim, which I need
These are the files I used, are they the wrong ones?
Firmware.....
POCO X3 NFCsuryastableV12.5.4.0.RJGEUXM11.0Europe
Rom...
POCO X3 NFC EEAStableRecoveryV12.5.4.0.RJGEUXM11.02.7 GB
There is a fastboot one there at 5.4GB, but it downloads the same file as above
Stop the press! I've sorted it. Thanks for the heads up that I needed a fastboot recovery rom instead.
So i downloaded the 12.5 one, and flashed it with the miflash tool.
All up and working again

Help making a Backup before installing magisk+twrp OP8 IN2015 - already unlocked bootloader.

Hello! I've been rooting and installing custom ROMs for years but it's been a long while since I last did it, I got a oneplus 8 global (IN2015) late last year, unlocked the bootloader as soon as I got it out of the box since I knew eventually I would want to flash some stuff. but I have kept it stock this long. Running latest Oxygen 11 android 11
Since I want to start flashing some kernels or roms I wanted to ask about making a backup since I've never had a phone without sd card slot where I would usually store backups.
Can I still use titanium backup to keep all of my apps/data/photos/videos and the state they are in, store it in my pc , then go about flashing a custom Rom and then bring my titanium backup back into the phone and restore everything?
since I'll be installing custom roms based on android 11 I believe it will be fine with no conflicts? or does it matter that my apps were installed in Oxygen OS?
that's what I used to do with older phones anyway. is there a way to flash a rom while having the titanium backup still in storage since most roms require full whipe when clean installing them?
Recently twrp added official support for OP8 and when I open the official app it recognizes my phone as instant noodle but when I click search for phone it says it can't connect to the server? should I flash official twrp from the app or via fastboot? which I'm also quite rusty with.
any tips for a step by step would be appreciated
Hello, I was in the same boat as you since I came to the OP 8 from a Galaxy S4. Titanium backup should work for what you want to do, as long as the custom rom is also based on A11 (disclaimer: I haven't tried it; I'm running rooted stock OOS 11 with a custom kernel). If the rom you want to install requires a data partition format, you can't keep the backups there during the flashing process. If it only needs a data wipe / factory reset, everything in the sdcard directory (also known as /data/media) should be preserved.
I'd say just flash TWRP in fastboot. Flash it to both recovery slots, and read up on how flashing works with A/B slot devices if you aren't familiar, since you'll need to know about it when flashing roms also. It's a big difference from what I was used to with older devices.
Thanks for the reply, yeah I was thinking of just going with a custom kernel since I have so much stuff going on the phone I find it really a chore to backup, but still might want to try it.
What kernel are you using and how are you liking it ?

Question Bricked trying to install LineageOS

Hello,
I have a moto G100 I just purchased. I unlocked the bootloader and I tried to install LineageOS but it was being difficult. I could get it to boot into TWRP. Now I tried to restore everything to stock as it wasn't even booting. After flashing the rom back in via fastboot the unit shows up as a serial device but that's it, no picture on the screen or anything.
I need some help to get this working again. Besides the directions on the LineageOS page sucks, steps are missing and things do not work properly.
Any help would be appreciated.
This is Qualcomm HS-USB QDLoader 9008 mode and won't boot.
Can anyone please help so this won't take weeks or months?
Thanks
Hello,
I fixed the brick with the blankflash file blankflash_nio_RRTS31.Q1-84-24-3-6
I was able to then use the official tool to recover the firmware. I was able to get LineageOS working but I wasn't able to do TWRP at all properly.
So I managed to install twrp but couldn't install lineage or anything out of it...
I managed to get TWRP installed but it was essentially useless as I couldn't access the internal flash unless it was setup by the OS already if you format the internal flash storage with TWRP it's useless especially via MTP.
I was able to install LineageOS and I was able to boot it, but I don't understand why it says I do not have enough space to install gapps. Without gapps LineageOS is essentially useless as an OS unless you do not use anything from google at all whatsoever not eve maps or anything.
How do I fix it so I can install gapps? I can't resize the system partition via TWRP as it doesn't even show it.
Thanks
if you have the bootloader unlocked you can try the "tinyflashscript" way and use that to overwrite all partitions with a stock image found here
RET stands for Retail and than the region code follows, just download the latest one for your region
after that your partitions are reset to the start and you could keep it that way or attempt to install lineage again but clean this time
I ran into the exact same situation as you with the storage issues and this fixed it for me
Hello my G100 was fully hard bricked trying to installed LineageOS (not the modded). I followed the following steps:
1. Installed and booted into LineageOS recovery from electimon.
2. Factory reset
3. Install ROM as adb sideload.
However, installation stuck at 47% and aborted. Phone was hard bricked once turned off. It couldn't even boot into booloader.
Luckily, I was able to enter EDL mode by pressing and holding volume and power down together for some time while it was plugged into PC using usb. Then I used blankflash to restore. This saved me from taking it to repair centre.
Hello,
I had the same brick issue and blankflash fixed it for me. I will try writing stock again then install LOSRecovery again and then try sideloading both LineageOS and gapps but I don't think that will work correctly as I think I did try that but we shall see, last time I did an install though after fixing the brick issue I used fastboot to do the stock recovery which should have fixed the partition sizes...
Thanks
It's strange that device becomes hard bricked because I installed LineageOS before and it booted fine. Only thing now changed is that I'm using February stock ROM instead of December one. Did Motorola change anything in Feb update that would cause hard brick when trying to install custom ROM?
Also, I've never did the "Ensuring all firmware partitions are consistent" thing. It worked before but not sure if we need to do it now.
Hello,
Strange indeed I can get LineageOS installed BUT because this is an A/B phone which is so silly, I can't install Gapps into LineageOS so essentially useless as the installer says the partition is too small and I do not have a way to fix that at the moment.
Thanks, and blankflash was able to get me up and running on stock but I cannot use the phone yet just like the DooGee S95 Pro I bought in hopes to use LineageOS... long story. Stuck with my ZTE Axon 7 from 2016 and a crap phone to make calls since my provider killed service to my ZTE Axon 7 so I carry basically 3 phones now. Until there is a fully working TWRP I am essentially screwed and feel like I wasted $400 on another phone.
marcusah123 said:
Hello,
Strange indeed I can get LineageOS installed BUT because this is an A/B phone which is so silly, I can't install Gapps into LineageOS so essentially useless as the installer says the partition is too small and I do not have a way to fix that at the moment.
Thanks, and blankflash was able to get me up and running on stock but I cannot use the phone yet just like the DooGee S95 Pro I bought in hopes to use LineageOS... long story. Stuck with my ZTE Axon 7 from 2016 and a crap phone to make calls since my provider killed service to my ZTE Axon 7 so I carry basically 3 phones now. Until there is a fully working TWRP I am essentially screwed and feel like I wasted $400 on another phone.
Click to expand...
Click to collapse
Using the method I described above I was able to install Lineageos 19.1 and then gapps (mindthegapps) using lineage recovery. it should be entirely possible
Hello,
With the storage not being large enough I was trying to install openGapps ( stock size ) for Android 11 since I was trying to use Lineage 18.1 and not 19/19.1 since 19/19.1 appear to have bugs and 18.1 does not. Anyhow I tried to sideload openGapps and it said there wasn't enough space on the system partition. I suppose I should try mindthegapps instead.
Thanks
So anyone successfully installed it without causing hardbrick? What exact steps did u follow? r u using g100 or edge s and what is the build number of stock rom prior to install? thanks
Windoors said:
So anyone successfully installed it without causing hardbrick? What exact steps did u follow? r u using g100 or edge s and what is the build number of stock rom prior to install? thanks
Click to expand...
Click to collapse
I used the latest stock after doing a recovery with blankflash and the rescue utility from Motorola. I then installed LOSrecovery because TWRP isn't ready. I then booted into LOSrecovery and sideloaded 19.1 latest from this forum. I can't figure out how to resize /system correctly so I cannot install anything other than MindTheGapps which sucks a lot.
Anyhow if we get a working TWRP soon that will allow resize as TWRP can't show the system partition and A/B switching is being worked out then we will be good to go.
If this isn't helpful or you need exact commands then I can do that too for you.

Categories

Resources