[ROM][12.1][OFFICIAL] ArrowOS 12.1 for OnePlus 7 Pro

Search This thread

NeonHD

Senior Member
Jul 7, 2015
234
99
I just flashed it from 12.0 to 12.1,still no problem with boot image extraction.
1.Download and install python.
2.Open cmd or powershell and type 'pip install -r requirements.txt' , then enter.
3.Swtich path to payload_dumper in cmd or poweshell(or you can open cmd or powershell in payload_dumper folder at the first place).
4.type 'python payload_dumper.py payload.bin ' then enter.

Never see error like invalid character ".",but I hope it might help.
Yeah I've already done all that. Like I said I've followed the instructions to a tee and I still get errors. I don't get the invalid character error anymore, but another error occurred. Idk if anybody else can't get it to work or I'm just the odd one here 🤷‍♂️

Anyways I am fine now. I have just been made aware that there's actually a tool (.exe) which extracts the payload.bin for you. Here is the tool. That 100% worked for me.

There's also a more well-established tool called Payload Dumper Go, if you want to use that instead.

Why such a tool was not recommended to us in the first place, I do not know.
 
  • Like
Reactions: theslam08

NeonHD

Senior Member
Jul 7, 2015
234
99

OBLIGATORY PSA:​

For anyone like me who have constant problems with extracting the boot.img from payload.bin, download this tool. Extract the tool into a folder and place the payload.bin in the same folder. Run the .exe and hit "dump". You will find the boot.img in the output folder.

If that tool doesn't work, then try
Payload Dumper Go.



I fear that these tools will become unknown by most users, so I am doing the favor of making its existence known. You are welcome.
 

Attachments

  • Payload Dumper.zip
    8.6 MB · Views: 13
Last edited:
  • Like
Reactions: theslam08

JST4ROM

Member
Feb 17, 2022
5
0
Yeah I've already done all that. Like I said I've followed the instructions to a tee and I still get errors. I don't get the invalid character error anymore, but another error occurred. Idk if anybody else can't get it to work or I'm just the odd one here 🤷‍♂️

Anyways I am fine now. I have just been made aware that there's actually a tool (.exe) which extracts the payload.bin for you. Here is the tool. That 100% worked for me.

There's also a more well-established tool called Payload Dumper Go, if you want to use that instead.

Why such a tool was not recommended to us in the first place, I do not know.
Cool.More convenient.
 

immppa

Senior Member
Dec 5, 2012
329
164
Joensuu

Attachments

  • Screenshot_20220701-074706_Updater.png
    Screenshot_20220701-074706_Updater.png
    99.9 KB · Views: 78

pprakash1

Member
Dec 24, 2011
5
0
I dirty flashed from 12.0 to 12.1.

HDCamera app is crashing every time I open it. And when I try to delete images using Gallery, it's prompting "Confirm external storage access" and when I choose "Use this folder" it fails saying "System services for selecting files and folders unavailable"
 

Dickersson

Member
Nov 30, 2020
19
2
Thanks for the ROM.

not sure if i caused it by installing Atmos module but i get alot of distortion when playing music thro bluetooth/Android Auto, AA should skip every sound processing and the works on every other ROM but i gotta investigate, distortion can be "fixed" by lowering the source output.
 

espositodnl86

Member
Aug 28, 2021
21
2
Hey guys, is there anyone with a GM1913 who could confirm that proximity and brightness sensors are working correctly? Because they never worked on 11.

Thanks.
 

97hugo777

Member
May 28, 2018
49
4
Sorry for disturbing but is there going to be any further update to 12.1 ROM or is android 13 under the way already? Thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 30

    logo.png


    ArrowOS for OnePlus 7 Pro (guacamole)

    ABOUT

    ArrowOS is an AOSP/CAF based project started with the aim of keeping things simple, clean and neat.

    Website: https://arrowos.net
    Telegram: Channel | TG Portal/Links
    Github: https://github.com/ArrowOS
    Code Review: review.arrowos.net
    E-mail: arrowos.contact
    PayPal: Donate to us
    Blog: blog.arrowos.net

    Checkout more documentation at (maintainership/contributing): Check this out

    WHAT WORKS?

    Almost everything.

    Note: If you run into extremely laggy UX, launching the camera app might help.

    DOWNLOADS

    Click here to Download
    Tip: Select OEM -> Device, choose Arrow version, choose the build type: "GAPPS" or "VANILLA" to download.

    INSTRUCTIONS

    Read our blog article/post about:
    * HOW-TO report a bug
    * GAPPS and VANILLA variants
    * Checking build integrity

    ROM Source: https://github.com/ArrowOS
    Kernel Source: https://github.com/ArrowOS-Devices/android_kernel_oneplus_sm8150
    12
    Reserved.

    I didn't plan to write any Q&As but it seems necessary to drop some notes here. (Last updated: 2021-11-29)

    Q: How to flash?
    A: Extract the boot.img using payload dumper, flash it into your device via fastboot then reboot into recovery. ADB sideload the firmware, reboot to recovery and sideload again to ensure that both slots have been updated. Lastly, wipe the userdata partition and reboot to system.

    Q: Root solution?
    A: The canary variant of Magisk is recommended. Download and rename this file to .zip, then sideload it in recovery. Reboot to system and install the original app-debug.apk file.

    Q: How to preserve Magisk after an OTA?
    A: Install the OTA but do not reboot immediately. Open the Magisk app and tap the `Install to inactive slot` option.

    Q: Custom kernel?
    A: Play at your own risk. The only supported alternative is NeptuneKernel.

    Q: Ah! It's extremely laggy after a reboot, halp!
    A: Open the camera app and tell me if it's resolved.

    Q: Soft reboots on Netflix? (#325)
    A: Choose a color mode other than `Saturated` to activate HDR normally.

    Q: Why can't I find this feature...balabala...I saw it on Arrow 11.0
    A: Please, wait for ArrowOS team to bring them back.

    Q: Bug! Here's a bug!
    A: Upload the log or, describe the steps to reproduce, in detail.

    Q: Any support group?
    A: Here.
    10
    Since ArrowOS infra is temporarily available now, I'll drop an unofficial release here as a gift for you guys.

    Changelogs?
    - Latest SPL (aosp, kernel, vendor)
    - Switched to QTI bt (better latency & stability, aptX should be supported now)

    Download
    Global / CN Mirror

    md5sum: b67174492f85a6d0e2bc4ac737c92054

    Merry Christmas!
    8
    Can please somebody provide me a noob friendly flash instruction manual (exact steps to be followed)? I just bought a used OP7 Pro and it's the first time to flash a custom ROM on it. Thanks!
    The first Q&A here already gives all the necessary hints but let's go a bit more into detail. First of all, you need to download and successfully install (along with all its needed dependencies) Payload Dumper. I'll explain how to do it directly on your smartphone under Termux. It's just an adaptation of the guide that you can find here which didn't work out of the box for me, probably because of the different Termux version, this leading also to different versions for the packages, especially Python and its modules. I exclude mistakes by the original writer instead.
    Just a couple of hints before beginning... When you would update the sources for the packages it would ask you for just one confirmation (I couldn't avoid it, at least to my knowledge): just press enter (which means choosing the default selection) and it would go on with the process. For what concerns the commands which would follow in my guide, you can just copy and paste them from here or complete them with the TAB key you find just above the keyboard under Termux (if you've ever used a terminal, you know what I mean).
    1. Download the latest ArrowOS 12 rom here (please don't forget to select the right version because the defualt selection is ArrowOS 11, at least for now)
    2. Extract payload.bin from the downloaded archive (the built-in file manager app is just enough) and leave it in the "Downloads" folder
    3. Download Termux here and install it
    4. Load Termux and issue these commands:
    5. Code:
      termux-setup-storage
      apt update && apt upgrade -y
      pkg install python2 -y
      pip2 install --upgrade pip
      cd storage/downloads
      pkg install wget -y
      wget https://github.com/vm03/payload_dumper/archive/refs/heads/master.zip
      unzip master.zip
      cd payload_dumper-master
      pip install -r requirements.txt
      pip install backports.lzma
      python2 ./payload_dumper.py ../payload.bin
    6. As we need only boot.img, don't let the whole process to complete. Just press CTRL (above the keyboard under Termux) then the c key
    7. Assuming you're on Windows, download and install this
    8. Transfer the so extracted boot.img (you find it in the "output" folder inside the parent folder "payload_dumper-master" which, in its turn, is inside the "Downloads" folder on your smartphone) to your pc putting it inside the folder where Minimal ADB and Fastboot has just been installed (Windows UAC will ask you for confirmation, just say yes)
    9. Press WIN+R then write cmd and confirm with enter. After that, put your OP 7 Pro in fastboot mode and issue these commands:
    10. Code:
      cd "%ProgramFiles(x86)%\Minimal ADB and Fastboot"
      fastboot flash boot boot.img
    11. Reboot your OP 7 Pro into the now installed ArrowOS recovery and follow the instructions of post #2 from this thread which I've linked at the very beginning
    If you don't know how to put your OP 7 Pro into fastboot and recovery modes, just make a Google search and you'll find tons of tutorials.
    It has taken a lot for me to write this step by step guide and I can confirm it is perfectly fine so, should something go not as expected, please read it again because there aren't mistakes in it. Have a nice day! :)
    8
    Adaptive brightness and other sensor-related issues have been resolved in 20211102 build.
    SELinux is enforcing now, and Safetynet check passes out of the box.