[ROM][UNOFFICIAL][S]LineageOS 19.1 for OnePlus 2 | Android 12.1 | Signature Spoofing

Search This thread

aP3rs0n

New member
Jan 22, 2023
1
0
OnePlus 2
Thanks for your work! I installed it recently and it seems to work really good.
Does anyone know if this ROM supports USB OTG? Since the pin-out is non-USB-C-Standard on the OnePlus 2, I soldered a USB OTG adapter myself. But since it's not working, I'm not sure if the ROM even supports it.
 

andyrude

New member
Jan 29, 2023
3
0
Hi! I flashed the ROM successfully. A couple hours later I was trying to encrypt the phone. The process got interuppted and i had to reset my phone. Since then I've been trying to re-install the ROM and haven't been able to. Everytime I boot into recovery and try sideloading the ROM I am getting this error. Please help!
 

Attachments

  • New Bitmap Image.png
    New Bitmap Image.png
    27.4 KB · Views: 54

andyrude

New member
Jan 29, 2023
3
0
You can try to delete .android\adbkey and .android\adbkey.pub. But no guarantee that it'll work.

Cheers
Toscha
Have tried it! Doesn't work.


What are my options now?

Edit: I am unable to access internal device memory either. So I can't replace the Lineage OS Recoery with TWRP and flash the ROM again using it. :/
 

andyrude

New member
Jan 29, 2023
3
0
Hi! I flashed the ROM successfully. A couple hours later I was trying to encrypt the phone. The process got interuppted and i had to reset my phone. Since then I've been trying to re-install the ROM and haven't been able to. Everytime I boot into recovery and try sideloading the ROM I am getting this error. Please help!
Hey, everyone! This is resolved.

What happened: After encryption failure I accidentally wiped the whole system (including OS) so my device was soft-bricked.

What I did:
1) Reinstalled stock ROM using this guide - https://community.oneplus.com/thread/347607
2) Started the whole process of rooting the phone, twrp etc and re-installing Lineage 19.1 package again.

If anyone ever faces something similar, happy to help! TYSM everyone.
 

RafaelDeJongh

Member
Aug 28, 2018
31
11
After installing this with TWRP, this rom also replaced my recovery and when I try to re-install TWRP it states that the OEM is not unlocked even though it obviously is:

Code:
fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (22180 KB)...
OKAY [  0.571s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.591s

And when I of course tried the following command to "unlock the oem" being: fastboot oem unlock it just boots into the LineageOS Recovery!

How can I get TWRP back as I'm not even sure how to properly format the system with the lineage recovery...
 

Exepan95

Member
Dec 4, 2020
6
0
Ukraine
vk.com
Hello CORVUS OS, and you can transfer this firmware, for weak and old smartphones, has android 12 and 13 this firmware for Xioami, as you try? Try to do something under OnePlus 2
 

sinchi

Member
Apr 10, 2009
34
0
Stockholm
After installing this with TWRP, this rom also replaced my recovery and when I try to re-install TWRP it states that the OEM is not unlocked even though it obviously is:

Code:
fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (22180 KB)...
OKAY [  0.571s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.591s

And when I of course tried the following command to "unlock the oem" being: fastboot oem unlock it just boots into the LineageOS Recovery!

How can I get TWRP back as I'm not even sure how to properly format the system with the lineage recovery...
I had a similar problem. Rebooted into fastboot and did via adb

.\fastboot.exe boot .\twrp.img

To boot into fastboot, turn off first and then press VolUp+Power and wait until the Fastboot screen pops up. Then fire the command above.
 

sinchi

Member
Apr 10, 2009
34
0
Stockholm
I am not able to install; i keep getting stuck in initial bootloop.

here is what i tried.

1. installed twrp (twrp-3.2.1-0-oneplus2.img link)
2. opened twrp and wipe > format data(to delete all files)
3. did a reboot then went back to bootloader;
4. connected phone to laptop and transferred lineage-19.1-20221225-UNOFFICIAL-oneplus2.zip and [RECOVERY]LiteGapps_arm64_12.1_v2.8_official.zip (lite version) into the twrp folder
5. unplugged the phone and in twrp install> selected lineage image> add more zip> selected liteGapp.
6. after installing it tapped reboot;
7. was prompted to install twrp app ; swiped to install it as well.

once it reboots i am stuck in boot loop

Am i doing something wrong? also do i need to root phone ? if so how?
Had a similar issue. I flashed stock rom first and the this one on top. No more loops
 

njaard

New member
May 19, 2023
1
0
Had a few false starts getting it installed, but installed it with `lineage-19.1-20221225-UNOFFICIAL-oneplus2.zip` and `[RECOVERY]LiteGapps_arm64_12.1_v2.8_official.zip` by copying it over with MTP and then installing the files.

However, I am unable to make voice calls on Mint Mobile (USA), even though VoLTE appears to be provisioned according to the 6463 menu. Anyone have any ideas?

Also, thank you to the developers for bringing new life to an old but solid device!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    bDM92Fq.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 12.1, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    What's working
    • Boots
    • RIL
    • VoLTE
    • Wi-Fi
    • GPS
    • Hotspot
    • Bluetooth
    • Video Playback
    • Camera/Video Recording
    • Audio
    • Sensors
    • LED
    • Alert Slider
    • WFD
    • ADB Debugging
    • Screen Cast
    • Data toggle issue from Android 11
    • Screen-off Gestures
    • Signature Spoofing

    Known issues
    • Permissive SELinux
    • Others that I might not have discovered?

    Installation Instructions
    • Download the build and reboot to recovery
    • Wipe system, data and cache
    • Install the ROM
    • Reboot

    Reporting Bugs
    • You can grab logs via adb, any logcat reader app (matlog recommended, now available on Play Store).
    • DO NOT report bugs if you are not running stock kernel/have any magisk modules or flashing any addon zip.

    Downloads
    Click Here

    Special Thanks
    • rBen for donating his OnePlus 2.

    Source Code
    Device Tree:
    https://github.com/mukul2259/device_oneplus_oneplus2/
    Common Tree: https://github.com/mukul2259/device_oppo_common
    Kernel: https://github.com/mukul2259/kernel_oneplus_msm8994
    Vendor: https://github.com/mukul2259/proprietary_vendor_oneplus
    ROM: https://github.com/LineageOS-OP2/

    ROM OS Version: Android 12.1
    ROM Kernel: Linux 3.10.x
    Based On: LineageOS

    Version Information
    Status:
    Stable
    8
    Holidays time huh? Makes for a present. Today marks the release of the EOL build for LineageOS 19.1 based on Android 12.1. The previously mentioned beta build changes, and more source side improvements, fixes and this time with audio working in calls and otherwise is here. Data switching and camera work too. So, bring out the our beloved op2 from the drawers and flash it! Cheers!

    Grab here: https://github.com/LineageOS-OP2/oneplus2_releases/releases/tag/26-12-2022
    6
    Never expected this device to get A12.x, especially even prior than OP3 :D
    🍻
    This is amazing, just flashed it and it works perfectly. Never thought my good old op2 would go this far, especially afetr OnePlus abandoned it early
    They settled, we didn't 😂
    5
    Recommended Gapps packages

    1. Lite Gapps: https://litegapps.github.io/download.html
    2. Nikgapps: https://nikgapps.com/

    I would recommend lite/core variants from either of the two mentioned above. No support will be provided for these packages.
    4
    Soon (tm)
    with working off screen gestures guys