yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] BillGoss:
You can use adb to reboot your phone; type "ADB help" for the list of commands.

If you're rooted you can use a terminal program to reboot your phone using the reboot command - you must run it as su.
[OnePlus 3 & 3T Cross Device Development] Johannes1098:
I think plugging it into charger will boot it
[OnePlus 3 & 3T Cross Device Development] snyperius:
For those who are still experiencing GPS issues:

Open the gps.conf file (/system/vendor/etc) and in the NTP server part uncomment the server that's for your location (Asia, Europe, North America) (delete the "#" sign at the start of the appropriate line before the "NTP_SERVER=" part). You could even add NTP servers specific to your country.

Don't forget to save!

You'll need root access or do it from the terminal on the phone/ a computer (the latter which I don't know how, but Google is your friend).

After that I cleared the cache and, after rebooting, reset the A-GPS state in the GPS Status app. (Not sure if any of these were necessary, probably not.)

Ever since I've done this (didn't even add any country-specific NTP servers, just uncommented the Europe line), the GPS on my 3T is as fast as it was when it was new. (It even gets location fix indoors within a minute or two)
[OnePlus 3 & 3T Cross Device Development] :
Did you try pool.ntp.org?

According to https://www.pool.ntp.org/zone/@ pool.ntp.org will find the closest available ntp server.

The advantage of pool.ntp.org over <zone>.pool.ntp.org is it's generic mechanism, meaning you can push a commit to gerrit, working for all users all over the world better then the limited qcom ntp server (time.izatcloud.net).
[OnePlus 3 & 3T Cross Device Development] snyperius:
I have not. I might try it if the performance of this solution starts degrading for some reason.

I'm happy with what I have now, haven't been able to get a GPS fix indoors for a while...

I don't know if the solution you wrote about needs to know my location to work better than the original, but if so, I can see a flaw in that: if it needs to know my location, it won't get it, because my GPS won't work (as in it won't be fast) until it gets the data it needs from that server... Kind of a stalemate situation.

And if it doesn't need my location, I don't see how it could perform better than the current one (not saying it can't, I just don't understand it yet). Does it ping the servers and chooses the one with the lowest ping time? But by the time it does that, wouldn't it be faster to just get the data that might be slightly less accurate from the original server?

I will learn about it when / if I need to. Thanks though!
[OnePlus 3 & 3T Cross Device Development] :
Nearest server is determined by ip/dns (see: https://www.ntppool.org/en/use.html).

You will not profit. But a generic solution pushed to gerrit will be a benefit for all other users. I wrongly assumed you want to give back to the community.
[OnePlus 3 & 3T Cross Device Development] snyperius:
Give back to the community??! The f*ck did I just do by posting a solution specific to this ROM and this device here if not that?!

And why should I push a device- and ROM-specific solution to a collection of generic ones? I might have misunderstood your comments, but that doesn't make any sense to me. If you think the solution I posted here belongs there, too, go ahead and spread it wherever you want. Hopefully it will reach even more people, although if someone doesn't look for solutions of their problems with their phones in a device-specific place, they shouldn't be surprised if they don't find one...
[OnePlus 3 & 3T Cross Device Development] Hemuli:
time.izatcloud.net seems to direct to a server on the west coast of USA. Based on traceroute, the latency seems to be around 200 ms from Europe, although the exact number is hard to get as the server doesn't respond to ping. Based on that, using pool.ntp.org would benefit all users who don't live on the west coast of USA.

Is it documented/known what the importance of xtra servers is for us?
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
Hi @nvertigo67 ,

thank you really for your datailed answer. Unfortunately it will be for nothing. :-(

Could you be so kind and push the change to gerrit?
[OnePlus 3 & 3T Cross Device Development] :
I'd like to see some positive test feedbacks before doing so (preferable from different continents). "Because I like ntp.org over qcom" doesn't seem a good reason for merging... ;)

BTW: so far my own tests show it makes no difference at all - but I havn't suffered from any gps issues before, neither.
[OnePlus 3 & 3T Cross Device Development] :
time.izatcloud.net is not always the same server. Qcom is doing at least something like round-robin dns, maybe they also use some kind of pools. I havn't found any documentation of the used infrastructure and strategies - not even the bare count of servers.

XTRA is a qcom proprietary and closed source kind of agps data. The xtra-daemon comunicates directly with the (closed source part of) gps stack. I havn't found any documentation. According to the comments in gps.conf it speeds up gps cold start. In my routers log I can see a connection on device boot, but not if I delete assist data from within https://play.google.com/store/apps/details?id=com.android.gpstest If I delete xtra-daemon the connect on device start doesn't happen any more, but the time to first fix doesn't increase. That's all I know. If anybody finds some docs (or even better: sources for the XTRA stuff) please drop a note.
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
Me neither. I don't have problems with that, too.

But it seems to be absolutely logic to use the ntp.org servers.

Thank you anyways. (y)
[OnePlus 3 & 3T Cross Device Development] Hitman00770:
Will OnePlus 3 get the android 11 update as well? I am thinking of getting lineage os if the android 11 update comes.
[OnePlus 3 & 3T Cross Device Development] Johannes1098:
Sure, if you'd searched a little bit, you would have found the thread for LOS 18

https://xdaforums.com/t/rom-experimental-lineageos-18-1-for-oneplus-3-3t.4230665/

All relevated things with LOS 18 goes to this thread. Today, it's marked as experimental, but it will get renamed as soon as LOS18 is official...
[OnePlus 3 & 3T Cross Device Development] Hitman00770:
Thank you for the information. So now i can move to lineage os without any worries.
[OnePlus 3 & 3T Cross Device Development] snyperius:
Uncommenting/adding a line in a config file is not exactly rocket science (neither is rooting, for that matter)

Thing is, I don't really care. I got a 4 second GPS fix today under a clear sky. I don't think it could be better for me at this point, and it proves that what I did does work for me. Hopefully it does for others, too.

If you think the other solution is better, go for it. Do the proper testing and when you've got your positive results, push it to gerrit.

Which means if someone's using a VPN (not that uncommon nowadays), all this effort goes to sh*t. (Also, domain names are translated by remote DNS servers and not the devices themselves)

If that's what you understood from me writing "uncomment the server that's for your location" and "add NTP servers specific to your country", then I really don't think it's my problem.

There are less and less OP3/3T users, and those who use it with LOS are probably not afraid of a little tinkering.

Bottom line: I don't really care. Do what you see fit, and I'll do the same. Have a great day!😉
[OnePlus 3 & 3T Cross Device Development] mueslijam:
glad to see oneplus3 was added to the initial batch of 18.1:

https://review.lineageos.org/c/LineageOS/hudson/+/292619

thanks @dianlujitao !
[OnePlus 3 & 3T Cross Device Development] :
Touché. Your point, dude. ;)
[OnePlus 3 & 3T Cross Device Development] :
The opposite is true: if you use a vpn with an ip address endpoint in e.g. Australia europe.pool.ntp.org can't give you the (network-wise) closest time server, because ntp traffic is routed through the tunnel as well.

The dns request packet has a source ip address in it's header. Read the links, I've given.

I've tried to explain, I'm looking for a solution that can be added to the build and working for all users, no matter if they live in Australia or Europe.

That's no reason not to try to make this build even better and more convenient.

I really womder if you don't want to understand or if you can't understand - anyway, I stop explaining something to you at this point.
[OnePlus 3 & 3T Cross Device Development] Eggstones:
Apologies if this has been discussed already but I can't figure out how to search the thread. My 3t has started to randomly restart. Is this a known bug? It happens about once every charge cycle.
[OnePlus 3 & 3T Cross Device Development] BillGoss:
You can only search a thread using the browser. See https://xdaforums.com/t/index-xda-2021-how-to-navigate-the-new-site.4197775/ for how to do that.
[OnePlus 3 & 3T Cross Device Development] Kurt Krummbein:
You could just simply try what happens when you only put pool.ntp.org into your file.

That would be globaly usefull without a hassle and if nobody else is willing to, dianlujtao could make a PR for that ... as nvertigo said, surviving new flashing and also noobes, without experiance and the capabilities to change system files would profit.

Sigh

Kurt
[OnePlus 3 & 3T Cross Device Development] Eggstones:
Using the android app. Im still not getting the hang of the layout.
[OnePlus 3 & 3T Cross Device Development] :
Search before posting seems history with the new xda app - I'm pretty sure this will decrease the overall quality of threads.

If you want to follow this (obsolete) rule (and I want to encourage everybody to do so) the shipped los browser is working great on xda-forums: tap on the search icon, type your search term and tap on the settings icon in the search bar, then select "This Thread".

With bookmarks on your favorite threads it's quite nice. And the best of all: you can uninstall the xda app.
[OnePlus 3 & 3T Cross Device Development] snyperius:
Yes, and that's why your solution won't be any better if someone's using VPN. Because it will give you data from a closer server network-wise, but not an actual, geographically closer one that would help latency and accuracy.

You can look down on me as much as you want, but that shouldn't stop you from trying to understand and actually think about what I'm writing...

Yes, it does, and for a reason: because, as I wrote, IP address translations are not done by the devices themselves. They have to "ask" a remote server, and they put their IP address in the header so the server knows where the "answer" should go.

But you wanted to sound smart, so you started throwing around jargon that you googled half-assedly. Just a hint: DNS means Domain Name System, not "services". And now you can see why I didn't check out anything you linked.

Well, partly that and partly cause I don't care.

And who's stopping you? Did I ever write not to do that? I did not. Go for it. Just please stop trying to make me try what you think would be a better solution. I don't have the time and energy for that. I have this thing called "life".

I'm fine, my solution works for me perfectly. I wrote down my solution here and some suggestions for others they can use to start figuring out a solution that works for them. I really don't know what else I should do. One thing is for sure, though: I will not do anything else. I feel like I did my part here, if I helped some people, good. You're welcome.

Finally! Thank you! (Though no one asked for any explanations, to begin with...)
[OnePlus 3 & 3T Cross Device Development] snyperius:
Or, you know, you could go ahead and try it yourself, too. It would require just as much effort from you to do so, but you might even have the time and energy, too...
[OnePlus 3 & 3T Cross Device Development] :
This is not for you, but for other users, they may get fooled by this nonsense claim.

The geographically nearer server from Europe has longer latency then the network-wise closer server to the vpn endpoint if the vpn endpoint is oitside europe. Getting the time server with the lowest latency is one of the main reasons for the pool mechanism.

Assuming the endpoint is in Australia, an Australien time server has a lower latency to the endppint, then a European time server.

Assuming the latency from device to endpoint outside Europe is 100 ms, and latency from endpoint outside Europe to the time server outside Europe (e.g. Australia) is 100 ms, the total latency is 200 ms. The latency from an endpoint outside Europe (e.g. Australia) to a time server in Europe is normally greater then the latency to a time server in Australia, say 200 ms. The total here is 300 ms. Resulting in

poll.ntp.org: 200 ms

europe.pool.ntp.org: 300 ms

Using pool.ntp.org is better for vpn tunnels with an endpoint outside Europe. Especially when using vpn geographically nearest will not give the best result.
[OnePlus 3 & 3T Cross Device Development] hellcat50:
Since Lineage OS build 20210208 (and 20210207 on the oneplus 7 pro as well) my airpods battery app stopped working. I use the app "AndroPods" for displaying the battery status of my airpods pro. I tested this on my oneplus 3 and oneplus 7 pro, both devices stopped displaying after the above mentioned builds. I took a look at the changelog, and there seems to be some changes related to bluetooth.

Log (taken on oneplus 3): https://pastebin.com/wf5aEuTh

And while I'm at it, I can tell you that the screen off timer is broken in lineage os (the timer that locks the device 5 seconds after screen is off by default) it immediately locks the device regardless of what you set in the settings.
[OnePlus 3 & 3T Cross Device Development] treypop:
This has probably been asked before but when I hold down the home button google assistant doesn't come up. I have it set to open search assistant when I hold the home button. Has anyone else had this problem or know how to fix it?
[OnePlus 3 & 3T Cross Device Development] :
Set google as default app for assistant (Apps & Notification->Default-Apps->Assist & voice input->Assist app).

I knew it was a bad deccission to drop search befpre posting by xda. :( :( :( People knowing the answer has been given, but doesn't care... :( :( :(
[OnePlus 3 & 3T Cross Device Development] :
Seems to be related to these:

02-24 18:29:26.549 2458 4637 I NearbyDiscovery: FastPairBattery: No associated accountKey is found when query battery info, address:14:C8:8B:C2:FA:F9 [CONTEXT service_id=49 ]
02-24 18:29:26.571 5094 5094 E ThemeUtils: View class pro.vitalii.andropods.battery.BatteryImageView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).

Since I don't have hands on aripods, you need to compare your logs (working against non-working los version).

Can you conmect the airpods without the AndroPods app? If so: can you see the bat stats in the QS tiles?
[OnePlus 3 & 3T Cross Device Development] EigenWijsheid:
HELP NEEDED - ERROR: No OS installed!

Problem after updating the wrong way (i think) (first of all, I am not a techie, just hate to have to buy a new phone and pollute the earth and spend money while it is not necessary. And I like to figure stuff out.

I used Lineage OS 17.1 on my OP3T for almost a year. But I never got any updates. It turned out the reason was that I had a version with test keys without realizing it.

Someone pointed me to this file: lineage-migration-signed.zip and the official releases. After I installed the migration zip I could install the official Lineage OS 17.1 and i was really happy.

For about a week. Then I noticed a Lineage OS (the last one of 22 feb) update and downloaded it on my 3t and installed it. Probably the wrong way. It got stuck in a boot loop.

Since that moment I tried all sorts of things, but I only messed things up further I think and lost all my data...

I managed to get twrp back, using adb sideload I installed lineage 17.1 + Gapps. But now when I want to reboot, the OP says: No OS installed!

I reinstalled, but didn't help.

What to do??

update: copied lineage.zip to op3 using tmp with pc connection and flashed it.

Now I am back in a boot loop and I have Recovery OS again.... *sigh*

it seems I have wiped my system partition?

update2: flashed twrp again using fastboot flash recovery

Update3: this is what I did: Formated Data in TWRP + Advanced wipe of Cache, Dalvik / Art Cache & System then with adb sideload, flashed LineageOS + Gapps one after the other, in that order & in one go without rebooting in between which seemed to go fine, no errors.

Result: TWRP says: No OS installed!

:cautious:
[OnePlus 3 & 3T Cross Device Development] :
Which version of twrp, lineage and gapps? Did you check the checksums of the los zip and the gapps zip? What's on the console? Get a recovery log after flashing los and gapps, but before rebooting.
[OnePlus 3 & 3T Cross Device Development] hellcat50:
Thank you for your reply, nvertigo67!

No, unfortunately android cannot natively read the battery status of the airpods (pro), that's why I use this app.

I tested as follows:

Setup: OnePlus 3, twrp 3.5.0_9-0, firmware 9.0.6 with your "alipay stuff removed" version, clean data partition, clean flash

Flashing: Only flashed lineage os version "lineage-17.1-20210201-nightly-oneplus3-signed.zip" and "lineage-17.1-20210222-nightly-oneplus3-signed.zip", nothing else. No root, no gapps. After boot, the only thing I did is enabled usb debugging, airplane mode and bluetooth, everything is stock. And of course I installed the andropds app after I finished testing without the app.

After I finished testing the older version, I wiped everything and clean flashed the newer version.

So here are the complete logs without the andropods app. Bluetooth was always enabled, I just activated my airpods, after connecting I waited a little bit, then I turned the airpods off.

Lineage OS version 20210201: https://pastebin.com/GPbxmdsG

Lineage OS version 20210222: https://pastebin.com/NZ4Xckcd

And here are the logs with the app installed:

Lineage OS version 20210201: https://pastebin.com/rE1kCdua

Lineage OS version 20210222: https://pastebin.com/gRqxyttX

Attached are some pictures of the app working vs. not working

I hope this helps. If you need more, just let me know and I'll do my best :)
[OnePlus 3 & 3T Cross Device Development] :
I suspected that. In Cupertino everything needs to be done in a unique and proprietary way...

You misunderstood me. Since I've no hands on airpods, you need to compare... I just wanted to give a hint, what may be related to the issue.

I fear, you are on your own here: since the bt changes in the rom seem to work for non Cupertino-tainted (SCNR) hardware, los will not revert them (especially if they are part of Q_asb_2021-01); the devs of andropod may help, but will probably focus on stock roms... Sorry.

EDIT: For both of the logs with andropod installed: Did you open the widget before getting the log? Because in both logs there's no attempt to query the battery info of 14:C8:8B:C2:FA:F9 (the bt address of your airpods).
[OnePlus 3 & 3T Cross Device Development] hellcat50:
I did as follows: I installed the app, then rebooted the device. The app autostarts and posts a permanent notification. Then I just let the airpods connect to the phone and waited, then disconnected them. I didn't interact with the device in any way other than pulling down the notifications.

But yeah, as you've said I may be on my own. I'll try contacting the dev of the app, I'll let you know how it goes :)

But thanks anyway for the help so far, appreciate it! And sorry for misunderstanding you :/
[OnePlus 3 & 3T Cross Device Development] EigenWijsheid:
TWRP 3.5.0_9-0

Lineage 17.1

Open Gapps 10.0 pico 20210227
[OnePlus 3 & 3T Cross Device Development] EigenWijsheid:
Hi, thanks for replying,

TWRP 3.5.0_9-0

Lineage 17.1

Open Gapps 10.0 pico 20210227

How do I check checksums?

I have attached a recovery log, but it is not from before rebooting I think. No time to do it again yet.
[OnePlus 3 & 3T Cross Device Development] :
I recommend twrp-3.4.0-0 (3.5.0_9-0 is buggy at least regarding pstore). My bad. See https://xdaforums.com/t/rom-experimental-lineageos-18-1-for-oneplus-3-3t.4230665/post-84573545 for details.

This is no suffcient information.

lineage-17.1-20210222-nightly-oneplus3-signed.zip is sufficient.

This is not sufficient information.

open_gapps-arm64-10.0-pico-20210227.zip is sufficient.

Really? Do you ise to flash files without verifying them? Make it a habbit:

For lineage-17.1-20210222-nightly-oneplus3-signed.zip on the los download page (https://download.lineageos.org/oneplus3) right click on the link reading sha256 below the link for lineage-17.1-20210222-nightly-oneplus3-signed.zip. Save it as lineage-17.1-20210222-nightly-oneplus3-signed.zip.sha256sum. Place both files (lineage-17.1-20210222-nightly-oneplus3-signed.zip and lineage-17.1-20210222-nightly-oneplus3-signed.zip.sha256sum) in the same directory on your device (i.e.: /sdcard/Dpwnload).

When flashing lineage-17.1-20210222-nightly-oneplus3-signed.zip in twrp on the "swipe to install"-page select "verify zip signatute" before swiping. If the zip verification fails, the dowloaded lineage-17.1-20210222-nightly-oneplus3-signed.zip is broken.

For open_gapps-arm64-10.0-pico-20210227.zip click on the link "MD5 CHECKSUM" save as open_gapps-arm64-10.0-pico-20210227.zip.md5sum. Place both files (open_gapps-arm64-10.0-pico-20210227.zip and open_gapps-arm64-10.0-pico-20210227.zip.md5sum) in the same directory on your device (i.e.: /sdcard/Dpwnload). Proceed as explained above.

Can't see any attachment.

EDIT: you can also manually verify sha256 and md5 hashes, but it's not very comfortable to manually compare these random looking strings.

Win: https://docs.microsoft.com/en-us/po...hell.utility/get-filehash?view=powershell-7.1

Linux: https://itsfoss.com/checksum-tools-guide-linux/

The other advantage of letting twrp do the job: it's done directly before flashing, all additional sources of file corruption (transfer from PC to device, defective filesystem or storage media on the devive) are handled.

twrp (manually): the same as linux (in the twrp terminal).
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
I was on lineage-17.1-20210222-nightly-oneplus3-signed.zip and after updating to lineage-17.1-20210301-nightly-oneplus3-signed.zip the phone got stuck in a boot-loop.

After flashing lineage-17.1-20210222-nightly-oneplus3-signed.zip again, it's still in a boot-loop. :-(
[OnePlus 3 & 3T Cross Device Development] Eric_Lev:
Culprit = Magisk

Workarround :

- Wipe System (optional : and the two caches)

- Flash latest build + Gapps + Magisk (if needed)
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
Yes i thought, that it is because of Magisk. I had v20.4 installed.

After wiping System and the two caches and installing lineage-17.1-20210222-nightly-oneplus3-signed.zip again, after 10 Minutes of booting Lineage, it reboots to TWRP (3.5.0_9-0), giving me a Rescue Party.

That all would be no problem, as I usually know how to help myself.

But now I am not able to get a USB-connection from my Notebook to the phone to transfer opengapps, Magisk, etc to the phone.

I tried it with 3 different PCs and it worked on none of them. I know, that it worked before. Seems like I'm really f***ed this time... :eek:
[OnePlus 3 & 3T Cross Device Development] Not-Aus:
Okay, I'm back in the bizz.

The unbelievable 5th PC was able to connect by USB within TWRP.

Thank you @Eric_Lev !
[OnePlus 3 & 3T Cross Device Development] KAPTOIIIE4KA:
Does this firmware have a "Pocket Mode"?
[OnePlus 3 & 3T Cross Device Development] :
This rom has pocket mode, see:

android_device_oneplus_oneplus3/pocketmode at lineage-17.1 · LineageOS/android_device_oneplus_oneplus3

Contribute to LineageOS/android_device_oneplus_oneplus3 development by creating an account on GitHub.

github.com

On source build roms firmware means all needed colsed source parts not livining in the system partition. See https://xdaforums.com/t/guide-modde...annoying-9-0-x-firmware.3941164/post-83183385 for details.
[OnePlus 3 & 3T Cross Device Development] KAPTOIIIE4KA:
I'm not very good at this, how can I activate "Pocket Mode"?