yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Los and OOS use the same encryption method (FDE). Other ROMs for our device should use the same method.

Having to format the data partition is a pain because you lose all the sdcard data.

A clean flash involves wiping the user data but this can be done with a factory reset in TWRP which doesn't format the data partition but simply deletes the data used by the ROM. This preserves the sdcard data (/data/media).
[OnePlus 3 & 3T Cross Device Development] :
Absolutly. From your former posting I've guessed that you've wanted tomstate, that automatic flashing only works on umenrypted devices - formating and reencrypting is always a good idea to strat really clean!

If suffering from strange issues related to the userdata partition (like vanishing apps, halfed partition size, unability to decrypt, though the passphrase is correct to call a few) reformating and reencrypting is the way to go. Though formating data is a pain in the ass, it's a good way to start over cleanly.
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Thanks, but I was looking for the updater that's part of the ROM, not the backend updater.
[OnePlus 3 & 3T Cross Device Development] CodesCodger:
This is not the backend updater.. it's an app integrated into los
[OnePlus 3 & 3T Cross Device Development] BillGoss:
When I click on the https://github.com/LineageOS/lineageos_updater link, GitHub tells me the project has moved (screen shot) and provides a link to https://github.com/lineageos-infra/updater which is the backend updater (screen shot)

Are you seeing something different?
[OnePlus 3 & 3T Cross Device Development] CodesCodger:
Sorry it was my bad. I copied wrong link.

https://github.com/LineageOS/android_packages_apps_Updater?files=1 this is the link for updater app.
[OnePlus 3 & 3T Cross Device Development] Kurt Krummbein:
I flashed 3.2.3-10 via fastboot, dirty flashed from 14.1 -> 15.1 -> 16.0 with just formatting /system and wiping the caches, the mobile is encrypted and asks for the password during the boot-process to OS and TWRP. In spite of all this i installed now two OTAs automatically without having to search for downloaded update.zip these days ... quite some theories on this thread seem to say that's not possible :).

Keep searching for logs to find the reasons, guys :).

Cheers

Kurt
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Yep, OTA install via Updater works for me also. I'm encrypted, ext4, went from 190306 to 190308.

The update didn't require decrypting /data.

The one downside is that because I'm using Magisk, which stores its files in /data (not accessible during the update), I had to go back into recovery and flash Magisk again.

When I looked at the source code of the Updater I saw that if the data was encrypted then it copied the download to the same location but added ".uncrypt" to the file. I was sure that this wouldn't work, but I needed proof of this.

So I ran the updater and, to my surprise, it worked.

I can see two files in the recovery directory (block.map, uncrypt_file). And the uncrypt_file contains "/data/lineageos_updates/lineage-16.0-20190308-nightly-oneplus3-signed.zip.uncrypt"

which is what I expected from looking at the code.

But I have know idea how this worked.
[OnePlus 3 & 3T Cross Device Development] Ipso Facto:
I came from Laos 15.1 and updated twrp and flashed 5.0.8 firmware and modem, and then clean flashed the build from the 6th, nano gapps and magisk. Install went smooth and restoring apps etc, but when trying the updater and the build from today, it just rebooted into twrp. I could then flash it manually (magisk detected this and reapplied itself automaticallyat the end of the laos flash) but no auto-install for the laos itself. I have not encrypted the phone . So no biggie but just wanted to say that even if cleanflash and no encryption, it seems there can still be cases where auto-update doesn't work.

Other than that the battery use seems a little on the high side when not being used, but I just installed cpuspy and it says that it is in deep sleep a lot of the time..but I've only had a couple of hours on this build so we'll see.

Edit: When using the checkbox with zip-verification in twrp it fails, shouldn't that work? (I did download the first build from the lineage os download page and the other one through the built in updater so should be correct legit zip).
[OnePlus 3 & 3T Cross Device Development] laupuy:
Hi,

just for info, official LineageOS SU is here: https://download.lineageos.org/extras

;)

---------- Post added at 07:32 AM ---------- Previous post was at 07:05 AM ----------

About ota updater ...

Guys, when you automatically restart on twrp (install ota), does twrp ask to keep the system read-only?

Does it ask for the unlock code?

Because for me, no unlock code asked and he asks if I want to keep / system "read only", I swipe without check "keep system read only" and I access the home screen of twrp with /data = 0MB

If I restart on twrp, it asks me my unlock code (and no "keep system read only") and there I access / data / lineage_update and I can start the installation manually
[OnePlus 3 & 3T Cross Device Development] laupuy:
Ota failed

Log attached

Stock oos encrypted f2fs and pin at boot

Clean flash official LOS (wipe data cache dalvik system internal) opengapps nano with twrp fix 3

Try Ota with twrp fix 3 and twrp 10

Reboot twrp and flash /data/Lineage_updates = success
[OnePlus 3 & 3T Cross Device Development] anavarro8794:
Does this rom have Rootless OMS support?(like the OMS7 days in nougat)
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
My config: full wipe + clean install (since 0307) / current build 0308 / Open Gapp nano / official LOS addon SU / FW 5.0.8 / TWRP 3.2.3-10

Always the same issue with OTA updater despite a new "full wipe + clean installation"….

Code:

I:command is: 'install'

I:value is: '@/cache/recovery/block.map'

I:Unable to install via mapped zip '/cache/recovery/block.map'

Erreur lors de l'installation du fichier zip '@/cache/recovery/block.map'

Traitement du fichier de script terminé

I:Set page: 'action_complete'

Note that an automatic update with Lineage Downloader APP (Alessandro Paolino) works fine.

==> https://play.google.com/store/apps/d...wnloader&hl=fr

So it's a source code issue in official OTA updater.
[OnePlus 3 & 3T Cross Device Development] helderfp:
No problems for me whit ota
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
What is your configuration?
[OnePlus 3 & 3T Cross Device Development] realtos:
the build i was doing the replacing and first time flashin zip was a "corrupt" build, i dirty flashed between this sites first unofficial builds and then https://nyyu.tk/builds to get newest build, wasnt until i restored everything that i could flash the zip, ( i didnt try to manual replace on the restored setup as the zip worked first time )

but now i tried again with cache wiped and it didnt fail to boot but the apns didnt change thou :(

here is recovery log just after flash

thanks for helping :)
[OnePlus 3 & 3T Cross Device Development] mar.ur:
OTA updater works fine with encrypted phone as well. There must be something wrong with your Twrp if you have problems with OTA update.
[OnePlus 3 & 3T Cross Device Development] :
Check the apns-conf.xml if it has the changed lines. If the config in apns-conf.xml has other values for mcc=238/mnc=06 then what is shown in the settings, reset wifi, mobile and bluetooth settings from devopts->reset options and reboot.
[OnePlus 3 & 3T Cross Device Development] helderfp:
Latest sugested TWRP, ext4, encrypted

When i flashes first oficial i flashed, ROM, mind the gapps, then formated data, reboot recovery, reboot to system, encrypted ROM. And no problems so far
[OnePlus 3 & 3T Cross Device Development] :
No ota update problems at all for me.

History/System:

OnePlus³

Data ext4 (formatted with twrp 3.2.3-0 at los 15.1)

GApps nano

FW 5.0.8

* Encrypted with stock los 15.1 and stock twrp 3.2.3-0 months ago

* ota updates without any problems

* Dirty update to los 16.0

* ota updates without any problems (still with twrp 3.2.3-0)

* Update twrp to 3.2.3-10

* still no problems with ota updates.

Hope it helps
[OnePlus 3 & 3T Cross Device Development] realtos:
its the same zip i got the first time as i saved it so didnt think it has changed lines unless you meant something else but i reset apns and it got back. i need to get better than this hehe. thanks again :D
[OnePlus 3 & 3T Cross Device Development] :
I've made the zip for you, because I wasn't been able to explain to you how to exchange /system/etc/apns-conf.xml with a step-by-step command listing. Because we needed some changes in apns-conf.xml. Whenever I talk of apns-conf.xml I'm talking of /system/etc/apns-conf.xml.

I wanted you to verify, that /system/etc/apns-conf.xml has the changed lines for mcc=238/mnc=06. And if these values in the three changed lines doesn't match the entries in Settings->Network&internet->Mobile network-Advanced->Access Point Names. If they doesn't match: Settings->System->Advanced->Reset Options->Reset Wi-Fi, mobile & Bluetooth.

Without verifying that /system/etc/apns-conf.xml has the the chamges for mcc=238/mmc=06 any otjer step doesn't make any sense.

Sidenote:

If I'd be in charge to commit the changes for mcc=238/mnc=06 needed to make your carrier work, and read the comversation on this in 15.1 thread and now again, I'd never merge it!!!
[OnePlus 3 & 3T Cross Device Development] joeching:
Finally , I got a method to fix it, mainly issue from ver. 0307 which need firmware+modem 5.0.8 to update, so u need to update firmware first as below :

https://xdaforums.com/oneplus-3t/how-to/firmware-beta-10-t3631166

Than you can update to V0309 directly.

Enjoy :)

** My config : 3T
[OnePlus 3 & 3T Cross Device Development] Mkmkmbnm:
There is a difference between the official LOS and unofficial LOS?Which one to put, and how stable rom?
[OnePlus 3 & 3T Cross Device Development] legendavey:
This is the *only* LOS you should be flashing (on your OP3/T) :)
[OnePlus 3 & 3T Cross Device Development] golfakis:
face unlock

Hello i came from the official OOS the only thing i am missing is the face unlock like the official had. I ve installed nano gapps with this rom.

Thanks in advance
[OnePlus 3 & 3T Cross Device Development] mar.ur:
Settings/ security and location/ smart lock/ trusted face
[OnePlus 3 & 3T Cross Device Development] golfakis:
But it does not auto unlock u also need to swipe it.
[OnePlus 3 & 3T Cross Device Development] mar.ur:
https://play.google.com/store/apps/details?id=com.joaomgcd.autoinput
[OnePlus 3 & 3T Cross Device Development] golfakis:
It worked thank you very much.
[OnePlus 3 & 3T Cross Device Development] realtos:
ok dunnno if i totally get u. but i reverted to official build and factory reset it and flashed the zip and clear cache and restarted and the original apn are still there but then i reset apns and they came back and mms worked again

also the apns conf has these 2 lines now

<apn carrier="3" mcc="238" mnc="06" apn="data.tre.dk" mmsc="http://mms.3.dk/" mmsproxy="mmsproxy.3.dk" mmsport="8799" type="default,supl,mms" protocol="IPV4V6" roaming_protocol="IPV4V6" />

<apn carrier="IMS" mcc="238" mnc="06" apn="ims" type="ims" protocol="IPV4V6" roaming_protocol="IPV4V6" />

<apn carrier="H3G DK MMS" mcc="238" mnc="06" apn="services" mmsc="http://mms.3.dk/" mmsproxy="mmsproxy.3.dk" mmsport="8799" type="mms" protocol="IPV4V6" roaming_protocol="IPV4V6" />

but heres a stupid question, how come i had to reset apns for them to appear ? im assuming or guessing its a first time thing only until i flash new nightly
[OnePlus 3 & 3T Cross Device Development] :
I don't know. Should only be necessary, if you manually edit some entries. But honestly, I'm much to stupid, noob and impatient to help you. I failed to explain how to exchange a file in the system partition. I failed to explain to you that it's all about three lines in /system/etc/apns-conf.xml. And finally I failed counting to two, because I'm still sure it's about three lines.

Hopefully someone more able, with more patience and a better ability to explain will help you in the future. I'm behimd my abilities.
[OnePlus 3 & 3T Cross Device Development] mar.ur:
Deleted
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
==> https://xdaforums.com/showpost.php?p=79060320&postcount=1025
[OnePlus 3 & 3T Cross Device Development] :
...and most important: https://xdaforums.com/announcement.php?a=81
[OnePlus 3 & 3T Cross Device Development] :
You say you've found a bug and offer a wprkaround: disabling audiofx fixes the issue. [MENTION=9708417]Eric_Lev[/MENTION] shows you that this (the bug as well as the workaround) is allready mentioned. I show you the xda rules, which you have accepted, when creating your account here. And you answer: "Yes, I know what is search for. But there is not a solution for me. It still crushes after several minutes"

Something is wrong with the above! At least I don't understand this. I really womder if this is troll day or hidden cam or.... ???
[OnePlus 3 & 3T Cross Device Development] mar.ur:
Forget about my post. I deleted it for your good feeling
[OnePlus 3 & 3T Cross Device Development] simmeone:
Sorry, kindergarten?

---------- Post added at 08:57 AM ---------- Previous post was at 08:54 AM ----------

On Friday I upgraded from LOS 15.1 to LOS 16. It was a clean upgrade, at the moment everything works fine here, OTA update too. Good job, all LOS developers.
[OnePlus 3 & 3T Cross Device Development] realtos:
sorry yes 3 lines but i can confirm the zip changed the apn conf in system/etc and the previous pasted lines are in there now and the new apns only appear after reset, dunno what else to say, sorry again. the zip does work though. im just a retard with communication with this :( ill just leave this as is and use the zip
[OnePlus 3 & 3T Cross Device Development] simmeone:
One question about the SMS app notification, why does the led notification not work? Is this a separate setting, I can not find anything.
[OnePlus 3 & 3T Cross Device Development] :
It's currently broken. It's one of the "remaining issues" I've meant here: https://xdaforums.com/showpost.php?p=79061310&postcount=1029
[OnePlus 3 & 3T Cross Device Development] EthanITA:
For the OTA Updater issue it seems you have to update your firmware to the last one (5.0.8). You can find the firmware in XDA or in celso's site
[OnePlus 3 & 3T Cross Device Development] :
For sure: you need 5.0.8 to flash current builds - no matter if automatic flashing or manual flashing. Whenever the reason for a failed flash is the modem assert it's the firmware.

Please, look again at the log provided here. You will find that the installation fails long before the modem assert - in deed the assert it's just not present, because the zip (it's mapped unencrypted copy) isn't found at all.

You are right: 5.0.8 is needed. But not having 5.0.8 installed is an issue with reading the changelog prior to updating (no matter if automatically or manually), but is not related to the OTA Updater issue you are refering to.
[OnePlus 3 & 3T Cross Device Development] simmeone:
Ah thank you
[OnePlus 3 & 3T Cross Device Development] :
OTA Updater, TWRP log excerpt:

I:TWFunc::Fixup_Time: Date and time corrected: 2019-03-10--11-24-00

I:Switching packages (TWRP)

I:Set page: 'action_page'

I: operation_start: 'OpenRecoveryScript'

Running Recovery Commands

I:command is: 'install'

I:value is: '@/cache/recovery/block.map'

I:Unable to install via mapped zip '/cache/recovery/block.map'

Error installing zip file '@/cache/recovery/block.map'

Done processing script file

I:Set page: 'action_complete'

I: operation_end - status=1

I:Set page: 'main'

---------- Post added at 12:14 PM ---------- Previous post was at 11:51 AM ----------

Default Camera App:

Camera still not working....all other apps ok. Doesn't work in safe mode either.

OpenCamera works fine, but I'd like to get default app functioning.

Have cleared cache & data files for camera & gallery...still no bueno.

Any ideas?
[OnePlus 3 & 3T Cross Device Development] BillGoss:
https://xdaforums.com/oneplus-3/one...ageos-16-0-oneplus-3-3t-t3866517/post79053499
[OnePlus 3 & 3T Cross Device Development] :
What is default camera for you? Or in other words: do you use a gapps package with camera (i.e. opengapps stock)? Check camera's app settings, bottom of Advanced for the exact app name.
[OnePlus 3 & 3T Cross Device Development] :
Camera fix confirmed working. Thanks!! :)

"You need to delete the line "<renamed-package new="org.lineageos.snap" old="com.cyanogenmod.snap" />" from "/data/system/packages.xml".

Then reboot to recovery, wipe cache and Snap will be working."
[OnePlus 3 & 3T Cross Device Development] :
OT:

Your strategy is much more succesfull: I'm always assuming people have searched the thread and have tried all fixes to well known issues, and if they are still reporting an issue it's something new. Assuming everybody is ignorant and unwilling to serach and/or read the thread is much better!

*lol*
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Yes, I see you constantly reminding people to search. I know, from bitter experience, that you have to search for the right text to find the correct answer. And I often don't use the "right" search string. But I make up for this by keeping up to date with a number of key threads. In this particular case, the "correct" search would be "snap", which isn't obvious.

I'm also more inclined to give people links to answers if they aren't senior members.

PS: you haven't replied to my pm.
[OnePlus 3 & 3T Cross Device Development] :
12 years of XDA probably is senior...As BillGoss points out, it's the specific search terms required. Or we could fill the thread with alot of replies about how others don't know how to keep it simple.

*lol* :rolleyes:
[OnePlus 3 & 3T Cross Device Development] Imnoa:
Anyone know a way to get back the "priority mode" that was in LOS15?

So only alarms and notifications from app that I allow
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
From a noob ....

Suggestion 1: It may be useful to provide phone configuration before posting a question or reporting an issue.

Suggestion 2: A kind senior member (... :) ...) could occasionally provide a didactic explanation on a recurring problem via a future reference post.
[OnePlus 3 & 3T Cross Device Development] warque:
hmmmmm..

I also have a problem with the built in updater and need to update manually. Im not really a programmer but I maybe seeing a pattern.

Those formatted in ext4 format doesnt seem to have a problem with OTA updater.

I'm on f2fs and I have a problem with OTA updater. Posts I have seen on f2fs format also has OTA problem.

So could this be the reason? I really dont know if this has anything to do with it but it is what I notice.
[OnePlus 3 & 3T Cross Device Development] Kurt Krummbein:
... perhaps we could add "camera" into our replies about snap :) ...

Cheers

Kurt
[OnePlus 3 & 3T Cross Device Development] :
- or 'we' could search & find that was already done several times before...
[OnePlus 3 & 3T Cross Device Development] EthanITA:
Since I can't get anything reading the log, I've just done some random combination. maybe it's just a coincidence, or maybe mine was a different case. But I couldn't update either with OTA Updater nor with Lineage Downloader (the app in PlayStore) before I've flashed the firmware. The OTA one returned just a generic error (I'm not sure for the number). While Lineage Downloader has showed some red code like "get firmware == 1" and returned an error, which gave me a hint to update the firmware.

Maybe I've just reflashed the same firmware, I can't remember, but I can say for sure it was 5.0.7 or 5.0.8 while installing LOS (I forgot to update/flash the latest one). But if you say it's mandatory to have 5.0.8 (as the main thread says) probably I messed up something even before installing LOS (?)
[OnePlus 3 & 3T Cross Device Development] :
Please read and understand what you have quoted.

If you would have read tne posting I've linked, you would not even read the attached log to see, that the matter with wrong firmware is excluded ("no error 7"). If you would have read the changelog or would have followed the thread you would know, that the requirement for firmware has changed. You havn't messed up something, the requirememt has changed.

Bottom line: every single point of your reply is explained in what you've quoted.

---------- Post added at 10:59 ---------- Previous post was at 10:47 ----------

That's a possibility! Can we verify this, please?

[MENTION=9350973]All[/MENTION] suffering from the "automatic flashing not working"-issue: would you give this information, please:

fs on userdata

encryption status of userdata, and if encrypted:

secured boot

fs on cache

EDIT2:

IMPORTANT:

I consider all postings, not explicitly mentioning automatic flashing works as fails.

EDIT: [MENTION=9708417]Eric_Lev[/MENTION]: the link to the recovery log is broken, would you mind posting it again? If you use f2fs on cache, would you try to reformat cache as ext4 and try an OTA automatic flash, please.
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
New link (deadline: 20190331): https://filesender.renater.fr/?s=download&token=580c015b-ce15-c9cb-d92f-402f176a1d49

[MENTION=4405529]nvertigo67[/MENTION]: I use f2fs only on data (encrypted) and ext4 on cache/system.
[OnePlus 3 & 3T Cross Device Development] :
Saved it locally this time... ;)

Would have been too nice if f2fs on cache would have been the issue (easy and without dataloss fixable). Let's wait on some mor feedback (though I doubt - not impossible, but unlikely - it's userdata, because userdata is not touched, since the zip is loaded from cache)...
[OnePlus 3 & 3T Cross Device Development] laupuy:
Hi,

Sorry I'm not on op3 today but log is here https://xdaforums.com/showpost.php?p=79071905&postcount=1091

And like [MENTION=9708417]Eric_Lev[/MENTION] I was on stock oos formated by stock recovery so only /data f2fs cache and system are ext4

Thanks [MENTION=4405529]nvertigo67[/MENTION] ;)
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
After "ext4" reformatting cache, OTA updater fails.
[OnePlus 3 & 3T Cross Device Development] Imnoa:
For those of you who haven't updated chrome / webview manually, you might want to flash todays build to patch an activly used zero-day exploit.
[OnePlus 3 & 3T Cross Device Development] rasikreality:
Hey! Is there any Google Camera port with HDR and great quality image that works good with LOS 16?
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
[MENTION=4405529]nvertigo67[/MENTION]:

When I perform a f2fs format of cache via TWRP, a system reboot leads to a ext4 re-format of cache ... why?

I had forgotten to untick use rm -rf instead of formatting .... Sorry nvertigo67!
[OnePlus 3 & 3T Cross Device Development] :
Search will be your friend ...

https://xdaforums.com/showpost.php?p=73446775&postcount=1
[OnePlus 3 & 3T Cross Device Development] legendavey:
- userdata ext4

- encrypted userdata

- secured boot (requests pass to decrypt)

- cache is ext4

Automatic flashing works fine for me. Cheers. :)
[OnePlus 3 & 3T Cross Device Development] warque:
F2fs on userdata (came from ext4 on 15.1 then formatted to f2fs upon flashing of 16)

Userdata is encrypted since 15.1

Secured boot is used since 15.1

Ext4 on cache
[OnePlus 3 & 3T Cross Device Development] :
[MENTION=7403273]legendavey[/MENTION]: you have a point for sure! It's helpful to know, if it's working setup. I consider all postings, not explicitly mentioning automatic flashing works as fails.
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
My config: full wipe + clean install / last current build / Open Gapp nano / official LOS addon SU / FW 5.0.8 / TWRP 3.2.3-10 / encrypted data

About OTA updater:

- Data in f2fs format and cache/system in ext4 format: OTA updater fails.

- Cache/data in f2fs format and system in ext4 format: OTA updater fails.

- All in ext4 format (cache/sytem/data): OTA updater fails.

Oops... I forgot to mention that an automatic update with Lineage Downloader (Play Store App) works fines in all three cases.
[OnePlus 3 & 3T Cross Device Development] Hexxer:
That mean you cant update anyway?