yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] Super Jamie:
Good idea, I didn't see the checksum there. I can verify the checksum is correct.

Edit: I see what you mean, here is the relevant recovery log:

Patching system image unconditionally...performing update
blockimg version is 4
maximum stash entries 0
creating stash /cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524
234991616 bytes free on /cache (0 needed)
/cache/recovery/last_command doesn't exist.
erasing 320699 blocks
writing 1024 blocks of new data
writing 1024 blocks of new data
...
writing 1024 blocks of new data
writing 1024 blocks of new data
Decompression failed with BLOCK_LENGTH_2
missing 2136618 bytes of new data
failed to execute command [new 2,271343,272367]
script aborted: E1001: Failed to update system image.
E1001: Failed to update system image.error: 1001
Updater process ended with ERROR: 1

It's failing to decompress the image. So either the download is corrupt or the internal storage is corrupt.

Edit 2: SUCCESS! I formatted the internal storage and copied the image over new. It flashed successfully first time. I guess somehow that internal storage filesystem had become corrupt.

Your prompting to find the full recovery log led me to the solution. Thank you so much, I really appreciate your help!
[OnePlus 3 & 3T Cross Device Development] borisSweden:
How do I check it? I did a fresh install of 18.1 hardened as the issue was still present in 17.1 hardened edition. My MVNO carrier finally activated VoLTE and VoWifi so I was ready to spoof the network. I can explain how I got to PDC to work. Also when I go to mbn_ota all profiles are present but when I go to the update setting it say my last update was 1970 January 01.

USB debug active.

Opened CMD admin.

adb shell su

script to get to prop and activate diag mode. setprop sys.usb.config diag,serial_smd,rmnet_ipa,adb

pdc admin

no carrier profile
[OnePlus 3 & 3T Cross Device Development] :
First of all: this is the official los 18.1 thread. It's not for discussing unofficial hardned builds. There is an own thread for that.

I still doesn't understand, why you quoted me on init extension. The code I've quoted is just fpr determine and setting the actual model.
[OnePlus 3 & 3T Cross Device Development] :
Reading logs is not a strange fetish but just usefull... ;)

You can download the sha256 sum from the los download page. Safe it to <rom-file-name.zip>.sha256sum place it in the same directory as the rom-file-name.zip and check signature verification in twrp. This way the actually flashed file is checked and you can exclude fs-damage, corupption during (later, e.g. from pc to op3/t) transfer etc.
[OnePlus 3 & 3T Cross Device Development] borisSweden:
As the topic was relevant I thought it was a good idea. Well back to OxygenOS then. Its a hopeless issue.
[OnePlus 3 & 3T Cross Device Development] kash_si:
@nvertigo67 ,

Thank you for "proper" explanation and expert viewpoints. Always look forward to log analysis and solutions from experts like you and others on XDA that makes users happy and successful in flashing Custom Roms.

👍 👏
[OnePlus 3 & 3T Cross Device Development] borisSweden:
Would this be verbose to add this to the build?

GitHub - herlesupreeth/SetAPN: App to set Internet and IMS APN and force usage of IPv4 over IPv4v6

App to set Internet and IMS APN and force usage of IPv4 over IPv4v6 - herlesupreeth/SetAPN

github.com

IMS without mbn profiles should be a thing.
[OnePlus 3 & 3T Cross Device Development] spaniard:
Answering to myself, if someone cares, using Arnova8G2 (GCam 7.3) with op3-base-arnova7.3.xml with very good results
[OnePlus 3 & 3T Cross Device Development] Andrea224:
Download latest BSG-Gcam8.1 here https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/f/dl59/

Download and apply this XML in the attached file (done by me for tuning a bit the lib), then apply this lib (done by MWP) https://t.me/gcamlibs/46
[OnePlus 3 & 3T Cross Device Development] Andrea224:
it's already there, you just need compatibles headphones/earphones
[OnePlus 3 & 3T Cross Device Development] denver04:
Hello, quick question about upgrading: I want upgrade an old OP3 with 17.1 to 18.1 (latest image) but I'm unsure about the google apps. According to the wiki article about upgrading I need to flash a new version of google apps aswell but there's a little problem: I don't know which google apps version I flashed on 17.1 a year ago, is there any way to figure that out? I don't want to flash the wrong one during the upgrade.
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
As you need to wipe everything first, theres no need to know what Google Apps package you have had installed.

But be sure to have installed the latest firmware and the latest twrp.
[OnePlus 3 & 3T Cross Device Development] denver04:
@Not-Aus

Is clean flashing really necessary or just a precaution? I did a dirty flash on my main phone (OP3T) from 17.1 to 18.1 without any problems, though I didn't have google stuff on that device.
[OnePlus 3 & 3T Cross Device Development] spaniard:
Ah! ok, so it's only greyed out when unconnected.

Many thanks
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
When you are fine with that, feel free to go. But when problems occur, chances are high that they are because of dirty flashing. Consence is that a clean install is highly recommended.
[OnePlus 3 & 3T Cross Device Development] turbocoupe:
Need help! I did a clean install of the most recent nightly, and everything works except camera. Whatever camera app I install, the camera just either shows a black screen or the app crashes. Has anyone experienced this and have an idea how to fix?
[OnePlus 3 & 3T Cross Device Development] Hemuli:
Oh wow, we didn't have zram enabled. That should explain why 6 GB didn't feel quite as massive as it is. https://review.lineageos.org/c/LineageOS/android_device_oneplus_oneplus3/+/319510
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
FYI:

TWRP 3.6.0 Released

TWRP 3.6.0 is out now for most currently supported devices.

twrp.me

Download TWRP for oneplus3

Download TWRP Open Recovery for oneplus3

dl.twrp.me
[OnePlus 3 & 3T Cross Device Development] sky321:
@dianlujitao Many thanks for your endless effort and work you did for the OP3. Switched from LOS16 to LOS18.1. Locked the BL, installed new Firmware and TWRP. Runs like charm. Thanks a lot!
[OnePlus 3 & 3T Cross Device Development] rikeka:
Hello, I had the same issue when I enabled "Sensors off" in my settings. Once I disabled it, the camera works perfectly fine. Hope this helps you :)
[OnePlus 3 & 3T Cross Device Development] Invictus596:
smooth and stable

would have made daily driver if face unlock available

please add face unlock?
[OnePlus 3 & 3T Cross Device Development] MJPollard:
I think (and I'm willing to be corrected about this) you may be out of luck there. Official LineageOS releases are, by and large, identical to each other, with only minor variations related to some hard-ware specific features (like support for the OnePlus alert slider). This is by design, as one can move from one LineageOS-equipped device to another and be assured of the same, familiar experience. If face unlock were to be added, it would no longer be "stock" LineageOS. If this is something you really, desperately want, I think you'll have to look for another ROM (or perhaps an app? I haven't looked) that supports it.
[OnePlus 3 & 3T Cross Device Development] Invictus596:
Hmm I understand,

Will try Project Sakura.
[OnePlus 3 & 3T Cross Device Development] xuser_:
any updates dev working on a12 for op3?
[OnePlus 3 & 3T Cross Device Development] Yudh:
Can someone please upload the inbuilt ringtones and sounds of lineageos and share a link with me.

I really miss those on my new device.

It's location must be in one of the below places

Root>> system>>product>>media

Or

Root>>system_ext>>media
[OnePlus 3 & 3T Cross Device Development] :
You could ofcourse also download the LOS zip and extract the files yourself.

Though, a little Google search gave me this result which can maybe help?:

GitHub - EvilScout/Lineage-OS-Sounds: Flashable sounds and ringtones pack for Android from Lineage OS

Flashable sounds and ringtones pack for Android from Lineage OS - EvilScout/Lineage-OS-Sounds

github.com
[OnePlus 3 & 3T Cross Device Development] Yudh:
Thanks for your help
[OnePlus 3 & 3T Cross Device Development] Der-Knuffi:
Hi guys,

I have a problem on 18.1 I already had on 17.1 (and it was the reason I switched to 18.1):

I get regular freezes with afterwards black screen and the LED going on when using Google News or Chrome.

I thought it was a specific 17.1 problem but shortly after setting up everything, I have it again.

Can you help me?
[OnePlus 3 & 3T Cross Device Development] Keyvannn:
I didnt face this issue at all
[OnePlus 3 & 3T Cross Device Development] Der-Knuffi:
Hm. I thought I read something about it in the 17.1 thread.
[OnePlus 3 & 3T Cross Device Development] snyperius:
That's called a kernel panic. Is your phone rooted?

Mine does it weekly, too. Haven't figured out why it does it (I had no issues on 17.1 and it is not related to any particular app as far as I can tell), but phones that are not rooted don't seem to be affected as it does not seem to be a widespread issue. No problem if I restart it every couple of days though
[OnePlus 3 & 3T Cross Device Development] Der-Knuffi:
It happens to me almost every time I use chrome or Google News.

Other Roms/phones seem to have the same problem. For example I read it in Essential Phone forum
[OnePlus 3 & 3T Cross Device Development] highdiver_2000:
I used to get this kind of kernel panic when I was using Llama. It wasn't compatible with a dual SIM phone. The dev stopped support months before 3T was launched.

No choice, I have to uninstall by a factory reset. I really love that the Llama app
[OnePlus 3 & 3T Cross Device Development] Nixeus2:
Hi,

Is there a way to disable the " Your connection has been retablished" popup ? It's really, really shhiittty.

THanks
[OnePlus 3 & 3T Cross Device Development] aRTeech:
An update from my side - in the past I had problems (May 2021) with banking apps - got them to work in the end with some help from you guys here. Well, I don't really use this phone, it's a backup for my daily driver, although I'm thinking of swapping them, and then I will finally move the daily driver to backup then custom ROM to get it up to date again...

Long story short, I just boot the 3T once every 2 months or so. Then in October, I just booted to do all updates, system update, hey, Magisk update. Yeah, you guessed it. So none of my banking apps worked anymore.

Had it sit in the drawer until I had more time, which was over the Christmas holidays.

I tried Lineage without rooting but failed, only just found (through a link in this thread) one of the things could be to lock the bootloader, but anyways, finally I decided (upon the 3 full wipe and install) to use Magisk Hide on V23, I also had to delete the data of the one complaining banking app from the user data, and after configuring Magisk Hide to hide root, all was peachy.

From my notes, from TWRP I installed LOS (latest image from Dec 2021), gapps (mindthegapps 64bit), Magisk v23 zip, then booted the phone, installed F-Droid (from user data/Download folder) with Magisk module for auto update, Aurora Store, then the banking apps, then got Magisk to hide, then tried them out and found all function. Yay me!

Now the only 2 niggles are: I'd like to stay with the AOSP keyboard, but have it smaller in width (like gboard single handed mode), and I'd like to have the 3 finger screenshot. Oh 3rd niggle: I'd like long screenshots too. If anyone has any hints, I'd be greatful.
[OnePlus 3 & 3T Cross Device Development] MJPollard:
I'm wondering if @dianlujitao (or anyone else) has begun work on bringing LineageOS 19.0 to the 3/3T (or if it's even possible). I know that there are likely a lot of people who'd like to upgrade their devices to the New Hotness, and as for myself, I use my old 3T (which has a broken auto-focus, which is why it's no longer my daily driver) as a test bed for developing my own personal fork of LineageOS. If 19.0 is in the development or planning stages, excellent news (and if not, I'll probably have to grab a different phone to use as my test bed, as I need my main phone too much to risk using it in that capacity).
[OnePlus 3 & 3T Cross Device Development] dianlujitao:
Not at all. On one hand, I've been busy with my real-life works recently and don't have spare time for such things. On the other hand, porting S to legacy devices is non-trivial due to missing bpf support on old kernels.
[OnePlus 3 & 3T Cross Device Development] MJPollard:
Crap. I was afraid that would be the case. 😢 Thanks for the info, though! Guess it'll soon be time to find a phone that'll let me do A12 development (or upgrade to a more current phone and relegate my OnePlus 7 Pro to development duties). Not in a hurry just yet, though, as to my knowledge LOS hasn't officially let 19.0 out of the gate, so I've still got time. ☺️
[OnePlus 3 & 3T Cross Device Development] Hemuli:
My autofocus stopped working too on my non-T model. I'm planning to order a cheap replacement from China. It should be easy to change. What I'm wondering is if the higher megapixel module from 3T would work for me, although it's probably unnecessary risk/hassle.
[OnePlus 3 & 3T Cross Device Development] MJPollard:
I'm wondering if you should even bother, to be quite honest. Although I don't know your situation, the fact that the 3/3T likely won't be getting anything beyond Android 11 for the reasons that @dianlujitao stated (unless someone takes it upon themselves to attempt it) means that it's pretty much at a dead end. Might be time to consider cruising sites like Swappa for a more up to date replacement. 😉
[OnePlus 3 & 3T Cross Device Development] lythala:
Hey folks,

I have oneplus 3t with active VOLTE by SIM provider.

When I activate the volte on LineageOS 18.1 2022.01.04 nigthly it looks everything is okay. After the 1st phonecall the system shows all of my mobile data connection is lost, LTE icon shows as active and I can call, but I cannot use mobile data until the phone restart. Then I can download anything with LTE connection til the 1st phonecall. Is there any workaroud to solve this problem?

Many thanks!
[OnePlus 3 & 3T Cross Device Development] malerocks:
How popular the phone is also matters if someone will be interested in continuing the work. E.g. official support for the OP2 dropped when LineageOS 18.1 launched but the OP1 is still going strong.

Big thanks to @dianlujitao for the all work done though.
[OnePlus 3 & 3T Cross Device Development] borisSweden:
OP2 and X got dropped when Nougat was never released. OP1 was open sourced as CyanogenOS failed to reach mainstream use. As of OOS merged with HOS, it will also disappear . With GlobalOS being colorOS we can expect less support for custom roms as BBK has reached mainstream sales like Huawei.
[OnePlus 3 & 3T Cross Device Development] borisSweden:
So all kernels only get 5 years of support. Its not a coincedence that the last CodeAurora pull request was done November, exactly 5 years since the 3T was released. Backporting is still there but it takes to much effort.

Edit: @dianlujitao I highly encourage you to work on your 4.4 kernel port. Looking at your Github page, USB and charging is a issue. I would dump Dash Charging and instead use generic USB-PD blobs from existing projects, slower charging is enough. Heck maybe the phone supports USB-3 put proprietary Dash Charging is the issue.
[OnePlus 3 & 3T Cross Device Development] Couchy:
Moto G 2015 has a LOS19 build, so it is possible...

https://xdaforums.com/t/rom-12-wip-lineageos-19-0-unofficial-osprey-merlin.4358885/

Edit: also Galaxy S7 (3.18 kernel):

https://xdaforums.com/t/lineageos-19-0-android-12-signature-spoofing-for-s7-exynos.4368995/
[OnePlus 3 & 3T Cross Device Development] ranjeet choudhary:
i see @dlas.dl working on 4.4 kernel here https://github.com/dlasdl/msm-4.4. is there any progress?
[OnePlus 3 & 3T Cross Device Development] borisSweden:
GitHub - moetayuko/android_kernel_oneplus_msm8996

Contribute to moetayuko/android_kernel_oneplus_msm8996 development by creating an account on GitHub.

github.com

Is already a thing but with issues. A kernel version only gets 5 years of updates.
[OnePlus 3 & 3T Cross Device Development] CodesCodger:
It was dropped afaik. He told in Telegram that he dropped it
[OnePlus 3 & 3T Cross Device Development] treypop:
I'm having a weird bug where my default voice assistant aka Google assistant gets rest to nothing being selected. Has anyone else had this problem and know how to fix it?
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
lineage-18.1-20220131-nightly-oneplus3-signed.zip

didn't boot for me, I had to roll back to

lineage-18.1-20220124-nightly-oneplus3-signed.zip

So maybe be careful with flashing latest update.
[OnePlus 3 & 3T Cross Device Development] :
No issues here but thanks for mentioning!
[OnePlus 3 & 3T Cross Device Development] :
For me no issues after updating too
[OnePlus 3 & 3T Cross Device Development] :
Did you check the sha256sum not only on download but also directly when flashing?

EDIT:

If the zip is sane: check the recovery log from the flashing session.

If the recovery log is free from issues/errors/hints: try to capture pstore files from the failed boot.
[OnePlus 3 & 3T Cross Device Development] a0b1c2:
Hi,

My phone kernel panics between +22 - +36 hours. it has been doing it for months. I once submitted a bug but nothing came of it.

I've tried to bifurcate the problem by removing root, Magisk modules, etc. etc.

I wonder if I'd be able to port 12 to the phone. I've never done a port before but I have a computer background. Hmmm.
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
Go!!!
[OnePlus 3 & 3T Cross Device Development] lucybook:
Edit: deleted post, problem solved.
[OnePlus 3 & 3T Cross Device Development] Andrea224:
If you have free time, will and skills, well then you can definitely try to port it! ;)
[OnePlus 3 & 3T Cross Device Development] a0b1c2:
I have the three. ;). However, I have zero experience with Android. You should have mentioned that too! Ha ha.

This is certainly one of those, /you don't know what you don't know./

I'll see how receptive the dev team is for someone like me. I may be too much of a drag.
[OnePlus 3 & 3T Cross Device Development] H. K. ROY:
did anyone face any reboot issues in recent times?

I have faced 2 random reboots in the last 1/1.5 months.

@dianlujitao I have pulled the bug report and sent u PM
[OnePlus 3 & 3T Cross Device Development] Master_TC:
No, works like rock solid.
[OnePlus 3 & 3T Cross Device Development] Kurt Krummbein:
Bad style, if you solved your problem tell us how!
[OnePlus 3 & 3T Cross Device Development] a0b1c2:
As I think it's bad style to leave things hanging, I wanted to let people know on my decision.

After talking with the main dev, who clearly has a lot of experience, I was thinking that it would probably be several months before I could be ready for meaningful contributions. As I have time, it was doable.

But then ...

I also started lurking on IRC and watching the demeanor of one of the key devs interacting with people and that really turned me off. I don't want to work on a team with snarky people.

The interesting thing is I reported a bug against KDE recently. I got to see the interaction between the devs and me and it was all polite. I'm going to look at some KDE areas and see where I can pitch in.
[OnePlus 3 & 3T Cross Device Development] MJPollard:
That's the difference between people who act professionally and people who act like they're 'roided-up jocks in a college dorm room. Sadly, after observing the Android dev community for the last decade, it seems to be mainly populated with the latter instead of the former, which is a real turn-off to many who want to contribute. (If you want to see more of this in action, join any Telegram group devoted to aspects of Android development; more often than not, they're cesspools of immaturity and arrogant "dudebro" behavior.) My opinion is that even if you're doing development in your free time for no compensation other than someone occasionally pitching in for a few beers, there's no reason to act like you're the biggest snot-bag on the planet. (Yes, more users do need to show more appreciation for the time and effort developers are putting in for free, but that's another subject.) I appreciate the devs who do treat this seriously and professionally, but unfortunately, they're few and far between.
[OnePlus 3 & 3T Cross Device Development] a0b1c2:
The above affirms my decision. Thx.

It takes a lot less effort to say nothing than to be snarky.
[OnePlus 3 & 3T Cross Device Development] Kurt Krummbein:
well, but it costs a lot of time reading posts asking questions which where answered before ... just because the asking people don't take their time for searching before asking. Send your questions to master Linus and see the kind of answers you get from there ;-).

For some Android-devs, this may the reason why they are bit rude answering questions ( ... even those which are not stupd ).
[OnePlus 3 & 3T Cross Device Development] a0b1c2:
In my domain, I'm a seasoned person with decades of high-end experience. When I have low patience, (yes, I am a human), I don't reply. It's easy.
[OnePlus 3 & 3T Cross Device Development] borisSweden:
I think they dont have time and our question can some times be oxymoron. Its the same with OEM devs in their safe space forums.
[OnePlus 3 & 3T Cross Device Development] Kurt Krummbein:
... if i just recall, how often i read discussions, if a clean-flash is necessary, what if you are "just upgradin from a prevision version of a ROM", what is a clean-flash ... - i'm following threads for 8 devices - more than a hundred times and every now and then, there are "Yes, but ..." people questioning the already said.

Both sides shouldn't be too thin-skinned, not every repeated question is stupid, but it must also be possible to tread "stupid" questions as they are ... stupid. There should be the possiblity to act with of a sence of humour in-between ... don't be huffy when you get a question or answer you don't like. What somebody senses as rude and a personal attack might be just a normal way to talk to his buddies ... and many XDA developer threads are meant as means to communicate between "project-buddies", not as a "customer-support" channel ... there are q&a threads for this kind of communication and there, the language is seldom rude ;-).

Cheers

Kurt
[OnePlus 3 & 3T Cross Device Development] d7F=Dtcddt/:
yes, I have the same problem, random reboots about 3~4 times
[OnePlus 3 & 3T Cross Device Development] :
Not a single reboot since updated to 18.1 ages ago
[OnePlus 3 & 3T Cross Device Development] AndroidNoobMaster:
Hi does any one have problems with the audio? I'm using the default music player and there is static at the background. Also audio static on the other end of caller if headset is being used
[OnePlus 3 & 3T Cross Device Development] Yudh:
Yes even i had random reboot but the only evidence i had every time was

Lock screen asked me to enter my pattern as biometric won't work for security reasons after a restart.

I never saw the reboot but experienced it's effect.

It mostly happened during night time

IST TIME
[OnePlus 3 & 3T Cross Device Development] borisSweden:
So if the OG Pixel is dropped with the end of 17.1 support, what does this mean for the MSM8996 phones?
[OnePlus 3 & 3T Cross Device Development] Nixeus2:
Hi, do we know if the 19.1 build for OP3 is on the way ?
[OnePlus 3 & 3T Cross Device Development] Couchy:
Android 12 requires a 4.x+ kernel, and we only have 3.18. Someone is currently attempting a 4.9 kernel, but no guarantees, obviously.

GitHub - tangalbert919/android_kernel_oneplus_msm8996 at staging/lineage-19.0-4.9

OnePlus 3/3T kernel. Contribute to tangalbert919/android_kernel_oneplus_msm8996 development by creating an account on GitHub.

github.com
[OnePlus 3 & 3T Cross Device Development] Nixeus2:
Thanks a lot :) I hope it will be a success :)