yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] Wmbruckner:
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
[OnePlus 2 Original Android Development] _undead:
🍻

They settled, we didn't 😂
[OnePlus 2 Original Android Development] Thtrr:
Removed
[OnePlus 2 Original Android Development] Thtrr:
removed
[OnePlus 2 Original Android Development] Silver_Cirno:
REALLLLL?????? That was sooooooo coooooolllllllllllll
[OnePlus 2 Original Android Development] kaldibun:
Scripts/LineageOS-17.1/CVE_Patchers/android_kernel_oneplus_msm8994.sh · master · DivestOS Mobile / DivestOS-Build · GitLab

Everything needed to build DivestOS, a more private and more secure aftermarket mobile operating system. https://divestos.org/index.php?page=build

gitlab.com

maybe you should also apply these? would be nice.
[OnePlus 2 Original Android Development] mincaeuro:
nice work, installed it, but failing with the gapss - got error while installing from recovery that your AV is not supported..
[OnePlus 2 Original Android Development] _undead:
Will check those out

Ask in their support group or try something like opengapps
[OnePlus 2 Original Android Development] mincaeuro:
Now it worked, but I've noticed problems with data connection even on wifi.. Can't finish installation from gplay store

UPDATE: i-net is working in browser, problem seams to be google store...
[OnePlus 2 Original Android Development] jimit5:
Is there any workaround for banking apps they seem to just crash
[OnePlus 2 Original Android Development] MOTSHAIKH:
mine has not proceeded from here for like 30 minutes View attachment 5609337
[OnePlus 2 Original Android Development] MOTSHAIKH:
now its working had to reinstall ,problem some with gapps i downloaded from somewhere, its working fine.
[OnePlus 2 Original Android Development] _undead:
Use Zygisk. You will find plenty of guides on internet. Also if it needs CTS passing, then try some workaround including kdrag0n's patch or LineageOS patch.

Please just flash ROM first and boot into the system. This ensures it isn't any problem with the ROM but your addons.
[OnePlus 2 Original Android Development] akashvshetty:
Awesome. we are lucky to have him around still.
[OnePlus 2 Original Android Development] kotobuki09:
This is awesome! I already bought Poco F3 as my replacement and now I still have OP2 to play with!

Up up guys
[OnePlus 2 Original Android Development] Master_TC:
Is the Data toggle issue solved?
[OnePlus 2 Original Android Development] I<Aow:
I guess not.

Is the performance comparable to 18.1?
[OnePlus 2 Original Android Development] Master_TC:
The performance is better on 19.1

I have an other problem. I made a clean install with mindthegapps and with nickgapps. On both all Google apps stop working after 5-10 seconds. So I installed 18.1 but the problem with the data toggle sucks. I think I go back to 17.1
[OnePlus 2 Original Android Development] mussa786:
Need help regarding twrp.

Was on 18.1, twrp was replaced by lineage recovery.Tried flashing twrp but it shows device is locked .Tried unlocking device again using fastboot oem unlock .Still no help.Sideloaded 19.1 using adb but want to flash twrp rec again.If anyone knows how to ,please reply

Thanks
[OnePlus 2 Original Android Development] _undead:
You may root your phone using Magisk and flash the recovery using TWRP app from the play store.
[OnePlus 2 Original Android Development] MOTSHAIKH:
No Problem with the rom as stated above gapps problem
[OnePlus 2 Original Android Development] Babble_:
I tried to encrypt the phone, and when rebooting it asks for a password and then the boot animation runs forever (if the password is wrong, it tells me so). Also tried decrypting with your latest twrp which times out after some seconds.

Maybe you could add this to the list, such that others can take note of this ;)
[OnePlus 2 Original Android Development] ea2000:
Rom installs fine and boots into system. Then when I install Gapps (through TWRP ABD sideload) all I get is the boot animation and occasional restarts with more boot animation. I tried several versions. Is there a specific version of Gapps that is known to work? Thanks.
[OnePlus 2 Original Android Development] cbroeter:
Guess you need the arm64 ones (core and lite) for Android 12 (not L).
[OnePlus 2 Original Android Development] PhilEsk:
I flashed 19.1 ok rebooted and 19.1 came up. But then I tried to flash gaaps but none of the recommended Lite, Core, Nik, open worked. I got error "unauthorized'. Then tried fastboot oem unlock. Seemed to work, but now I can't even flash anything with adb without getting "unauthorized". Same issue with trying to go back to 17.1. not sure what to try next. I wiped everything and factory reset will not work either, yet recovery reports Version 19.1.

UPDATE:

I was able to do a 'return to stock recovery' for the OP2 and got it back to O2 v2.1.1. After I verify that it is working again, I will try to flash TWRP and 19.1 again. I think the error I made was in allowing the flashed 19.1 to update the recovery image.
[OnePlus 2 Original Android Development] shokinn:
Hey,

I don't know if this will help you, but for me it works fine with a combination from:

- f-droid https://f-droid.org

- MicroG https://microg.org/dl/

- AuroraStore https://auroraoss.com/
[OnePlus 2 Original Android Development] toscha42:
May I assume that this requires a decrypted OP2 to work properly? Since none current version of TWRP yet supports Android 12's encryption how can it work else?

Cheers

Toscha
[OnePlus 2 Original Android Development] toscha42:
Meanwhile I successfully installed 19.1 on my OP2. :)

Before it was running LOS 18.1 (A11) with device being encrypted.

- Flashed as described in #1 -> endless bootloop

- Format data in TWRP, this deleted the encryption, then installed 19.1 -> booted fine

- Flashed Nikgapps (Nikgapps Core 20220501) -> Play Store didn't work.

Version of Play Store coming with Nikgapps was 28.something. With that outdated version I couldn't access Play Store and hence couldn't install any apps. Tried to update Play Store but no immediate reaction. After a couple of hours of waiting Play Store had been updated to current version 31. Finally I could install / update all necessary apps.

Of course device is still not certified. Not a surprise since SELinux is permissive.

Anyway, OP2 runs fine now. Excellent work from _undead!

Cheers

Toscha
[OnePlus 2 Original Android Development] Marway:
Good job with the updated version!

Though, I can't get it out from bootloop. I've wiped it many times and tried different gapps.

Sometimes the installation will get an error installing the zip file (via twrp). I tried 18.1 but same problem...
[OnePlus 2 Original Android Development] toscha42:
In my case only wiping was not enough from preventing bootloop. I had to format data (has to be confirmed explicitly with 'yes') which goes way deeper into the system than a simple wipe.

And I first booted without gapps to secure a valid system just based on the ROM.

Cheers

Toscha
[OnePlus 2 Original Android Development] Marway:
Found the problem.

Twrp gives a suggestion to install their app before rebooting (or something). When i didn't install it it worked like a charm. Though it would remove twrp if i got stuck again.

For those who have problem with google play store. Download an APK for google play store and update it manually.
[OnePlus 2 Original Android Development] ZepedaFco:
Mine too
[OnePlus 2 Original Android Development] LesGaR:
Sounds incredible. Have the latest version of android with security patches and the kernel. Great job
[OnePlus 2 Original Android Development] mbld97:
I successfully installed this build with twrp, but after installing twrp doesn't open at all, it gets stuck at loading screen. Can someone please link me a working twrp for oneplus 2 to flash this rom?
[OnePlus 2 Original Android Development] Wmbruckner:
Will there be an update to this rom still? Would be sad if OP2 died after this long...
[OnePlus 2 Original Android Development] Hell_Dog:
установил эту версию рекавери тврп, оно слетело, поставил прошивку заново через рекавери, потом как-то стер дату систем и весь телефон не как не загружается кроме как фастбутом
[OnePlus 2 Original Android Development] raptor_712:
@_undead, you have been the core of Oneplus 2 survival. Thank you for keeping one of the best devices alive. Any chances you giving Android 13 a shot? They have a lot of kernel level fixes to help apps run leaner. That should help OP2 to run better. Any thoughts?

Once again, thank you for all the work going in here!
[OnePlus 2 Original Android Development] _undead:
I will when I get time. The thing is I have moved to another country for my education so it's been taxing on my time. Nonetheless I'm looking forward to it. Who has a lot of kernel level fixes btw?
[OnePlus 2 Original Android Development] _undead:
Hey Wolfy! Long time no see. Yes there might be.
[OnePlus 2 Original Android Development] MarkVZephyrus:
No browser other than Firefox and firefox focus working. Other browsers like Chrome, brave, edge, kiwi etc work fine for a while then hang then crash.

Any fixes to that?
[OnePlus 2 Original Android Development] rdverma7:
does double tap to wake work?
[OnePlus 2 Original Android Development] Babble_:
Works fine for me.
[OnePlus 2 Original Android Development] vinZukaZ:
First time messing around with custom ROMs for me. Updated my OnePlus2 since i was unable to load newer Apps from Playstore with the stock Android 6.x.x Thank you so much for your work @_undead ! Worked second try for me after installing the correct Gapps package.

Found two issues/ questions:

The workaround for the data toggle issue by using "RIL control" does not yet work for me. It seems the App needs Root access. Now I am a big noob; do i need to Root the entire phone or is it possible to only give this one App root access? For now my banking app works and i dont want to change anything for the worst by rooting the phone.

After a while after reboot i noticed that my flashlight cant be turned on with the notice "Camera in Use". When i then try to open the camera the app opens shortly and immediatly closes again followed by an error message "Camera keeps closing". A reboot does fix it for some time. Force stopping the camera app does not resolve the issue

Edit: After Updating all Apps trough Playstore both issues are gone!
[OnePlus 2 Original Android Development] Ghinn:
I'm having an issue with this rom that I haven't been able to find a solution for. I flashed it after trying the 18.1 version, because that one wouldn't make calls at all. This one can, but only when it feels like it. Is anyone else having issues with making calls? I installed rilcontrol, but it doesn't seem to do anything. Texts seem to be working, but also whenever they feel like it. Is there something specific I have to do to make this phone work? I'm on T-Mobile. I'm going to get a new SIM card to see if that helps, but any advice you're able to give me would be greatly appreciated. I love that you're keeping this phone alive, and I want to do everything I can to use it for as long as is feasible.

**edit**

I'm also having an issue with haptic feedback. As in, there isn't any. There's the slightest hint of a vibration when I unlock the phone via fingerprint, and if I hold it up to my ear when doing so, I can hear it TRYING to vibrate, but barely anything happens. All haptic settings are on, but still nothing. Vibration worked fine in 18.1...

**edit 2**

I've gone back to 18.1 for now. It's still having issues connecting, but at least everything else seems to be working. If a new SIM doesn't fix the connection issues, I'm not sure what I'm going to do.
[OnePlus 2 Original Android Development] Wmbruckner:
Soon (tm)

with working off screen gestures guys
[OnePlus 2 Original Android Development] _undead:
LineageOS 19.1 beta build is here that should fix toggle issue as well as camera issue in one go, in addition to gestures. Moreover, have added a lot of source side fixes, performance improvements and goodies (including microG support?-untested). Build is based on latest patch as well. Consider it like a soak test and report if you still face issue, logs would be appreciated. Cheers!

Download here: https://gofile.io/d/PILQXG

Edit: Seems like audio is broken completely for people, will keep posted
[OnePlus 2 Original Android Development] pacitar:
hey its urgent, i just downloaded the rom and copied it to my op2, but while i am installing it says updater proccess ended with error:1 error installing zip file
[OnePlus 2 Original Android Development] pacitar:
@_undead help !!!!!
[OnePlus 2 Original Android Development] Wmbruckner:
try downloading again, error 1 can mean a corrupt file
[OnePlus 2 Original Android Development] Ghinn:
I can live without audio, what I can't live without is service. Will give it a shot!
[OnePlus 2 Original Android Development] _undead:
I believe you can join the Discord server for urjent help if needed. I am not online here most of the times.

Microphone during calls is also broken xD
[OnePlus 2 Original Android Development] Ghinn:
Oof.
[OnePlus 2 Original Android Development] veaz:
Thanks a lot for your effort! I appreciate it that you make me play around with my old phone again :)

On my OnePlus 2 I had LineageOS 16 with TWRP 3.2.1-0.

Cleared everything using TWRP and then Installed those:

- lineage-19.1-20221210-UNOFFICIAL-oneplus2.zip

- NikGapps-core-arm64-12-20220908-signed.zip

But result was a bootloop. I then flashed only the LineageOS and it booted up fine (and quite fast).

PlayStore is available and I am using the phone like this now.

Why and how to install Gapps again? Is there something I need which is not available in the PlayStore?
[OnePlus 2 Original Android Development] toscha42:
You installed wrong Gapps version. For Android 12.1 you need to install NikGapps NikGapps-core-arm64-12.1-20220908-signed.zip or any other NikGapps 12.1.

Cheers

Toscha
[OnePlus 2 Original Android Development] veaz:
Works! Thanks a lot :)

Another question: Are navigation gestures a part of LineageOS? I'm using them for years now and was kind of surprised not find it in the settings.
[OnePlus 2 Original Android Development] toscha42:
No gestures I'd know of unfortunately.

Cheers

Toscha
[OnePlus 2 Original Android Development] rbp2022:
@_undead don't think this is reported so here I am. I installed the zip from first page. Battery charging seems to be restricted to 67%. Doesn't go beyond that if left plugged in.

Hoping you can address this in next release.
[OnePlus 2 Original Android Development] toscha42:
Don't see this on my OP2, charges perfectly fine to 100 %.

Cheers

Toscha
[OnePlus 2 Original Android Development] _undead:
Hi, I think it's a device specific issue for you because no one has reported it so far. Maybe the battery is acting bad and you need to replace it. Cheers!
[OnePlus 2 Original Android Development] rbp2022:
Update: 2days since I installed it n after multiple reboots It's charging 100% now.
[OnePlus 2 Original Android Development] _undead:
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
[OnePlus 2 Original Android Development] toscha42:
Awesome, man! Just installed and after a short smoke test it seems to work fine. Still a bit laggy but apart from this everything works.

Many thanks!

Toscha
[OnePlus 2 Original Android Development] TheVoice70:
@_undead

many thanks for your awesome work. ....

Legends never die ...
[OnePlus 2 Original Android Development] _undead:
Try bumping up the min frequency using any kernel control app, should help. I will try to focus on a tweaked build in the coming time.
[OnePlus 2 Original Android Development] veaz:
ooh okay, need to check that, too 👍. It's especially noticeable when dragging down the quick access menu (maybe the transparency?). Almost anywhere else any frame rate drops are either not present or not noticeable.

Any recommendations on kernel control apps? Never needed one before...

@TheVoice70 : From which app are the screenshots?
[OnePlus 2 Original Android Development] _undead:
Try Smartpack kernel manager
[OnePlus 2 Original Android Development] TheVoice70:
Project Themer · Android 12/13 – Apps bei Google Play

Passen Sie Ihr Android an!

play.google.com

This one
[OnePlus 2 Original Android Development] postalRage:
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?
[OnePlus 2 Original Android Development] veaz:
Can you try the NikGApps, Core version?

https://sourceforge.net/projects/nikgapps/files/Releases/NikGapps-SL/08-Sep-2022/NikGapps-core-arm64-12.1-20220908-signed.zip/download

And maybe without TWRP app, just to be sure.
[OnePlus 2 Original Android Development] TheVoice70:
Use this TWRP:

twrp-3.5.2-oneplus2.img | by Moebie.Wu.3340 for OnePlus 2

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

https://xdaforums.com/t/recovery-oneplus2-twrp-3-5-2-unofficial-discontinued.4238229/

It works ...
[OnePlus 2 Original Android Development] Manorot:
Hi, this ROM is great, everything runs pretty well. I have a few complaints about the ROM. When an application is running, the performance is very low, the applications are very slow and difficult to work with. I installed it for internet banking and pairing new types of devices and I don't want to root it to adjust the CPU frequency. Could the increase in performance be solved in some other way? Thanks in advance for the advice...
[OnePlus 2 Original Android Development] Wmbruckner:
Please keep in mind that you installed an actual version of android on a rather old phone, so the lagginess is to be expected. I rather doubt there could be much improvement without overheating the device. Oneplus left the last version on Android 6, so this is 6 versions newer.

tl;dr: live with it
[OnePlus 2 Original Android Development] Manorot:
Pravda, asi bych toho chtěl moc. Nikdy jsem neočekával, že budu mít tento telefon 7 let a bude na něm Android 12, díky autorovi mé díky a uznání
[OnePlus 2 Original Android Development] Manorot:
I'm asking for a little advice, I decided to increase the frequency of the processor. But I haven't rooted my phone in so long that I forgot how to do it... :D I have TWRP installed and this system. I want to ask, is it enough to install some superuser in TWRP now? Alternatively, which one would you recommend? Thanks in advance for the advice.
[OnePlus 2 Original Android Development] toscha42:
Nowadays Magisk is the recommended tool for rooting devices. I use it on my OP2 as well.

Cheers

Toscha
[OnePlus 2 Original Android Development] aP3rs0n:
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.
[OnePlus 2 Original Android Development] andyrude:
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!
[OnePlus 2 Original Android Development] toscha42:
You can try to delete .android\adbkey and .android\adbkey.pub. But no guarantee that it'll work.

Cheers

Toscha
[OnePlus 2 Original Android Development] andyrude:
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. :/
[OnePlus 2 Original Android Development] andyrude:
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.
[OnePlus 2 Original Android Development] RafaelDeJongh:
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:

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...
[OnePlus 2 Original Android Development] Exepan95:
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
[OnePlus 2 Original Android Development] sinchi:
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.
[OnePlus 2 Original Android Development] sinchi:
Had a similar issue. I flashed stock rom first and the this one on top. No more loops
[OnePlus 2 Original Android Development] njaard:
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!
[Samsung Galaxy A53 5G] bluelagoon8951:
i've entered download mode by holding both volume buttons and plugging in the cable, and i get the screen in the attached picture. no option to long press volume up to unlock the bootloader, which other users seem to get.

A536B (UK) bought directly from samsung. not locked to any carriers or anything.

View attachment 5605367
[Samsung Galaxy A53 5G] Trevorek:
Click one time Volume Up and chceck
[Samsung Galaxy A53 5G] Deleted member 2092952:
I haven't looked into this but get the same screen in your attached image. Using volume up goes to another screen with a ton of info that can be cancelled. Hard to read and I don't want to so not looking into it further but at least its normal what you see :)