[ROM][SM-P605][9.0] Unofficial LineageOS 16.0 for lt03lte (04.06.2019)

lecorbusier

Senior Member
Nov 28, 2012
1,081
115
83
For anyone getting the "wrong architecture" error from OpenGapps or any version of Gapps:
It's a minor bug in recent versions of TWRP.
-Flash rom.
-Ensure that /system/ is mounted in TWRP.
-Flash Gapps(then Magisk etc)
My traditional way has always been to flash rom and Gapps together and the SU tool in a second go, without reboot. This process also requires no reboot.
Some peculiarities encountered during the update I already knew from updating my S5 to Lineage 16. Like some apps like Swiftkey not getting restored from the cloud and if restored by Titanium they will crash. In such a case uninstall and reinstall and re-configure.
 

lecorbusier

Senior Member
Nov 28, 2012
1,081
115
83
Just like LOS16 for my S5, this one has a misaligned brightness slider. For use in dim environment you have to set something like 70%, then rapidly getting brighter until max, so it's no biggie, just hard to fine tune brightness.
 

tusch00101

Member
Jun 7, 2016
34
5
0
@temijun

Thanks for the helpful tips. I turned off private DNS, but its still the same. I was able to capture the logcat maybe some more selinux issue.
Do you also have logcat from when you start the connection? It says something about disconnecting but I don't find a line where the LTE connection is initiated. And so far it doesn't say anything about permission denied which was in my logs.

Can you repeat this and start recording with the button at the bottom of the logcat app window before you turn on LTE. The file is saved somewhere on /sdcard. Can you please post that file?


Just one thing: There is a line in the images about iptables. Do you still have a firewall running? It's just that I've been playing around for months with AFwall app (Firewall) and custom scripts. As soon as I'm very restrictive and block some of the Android root apps from internet access I also get problems with DNS. And your problem looks exactly like things I encountered while playing around with iptables.

And the telephony app seems to think there is no data connection. I wonder why.

I just don't know if there is an additional problem with your model of the tablet and LTE. But I'm no expert here. Mine is the P605 model and the last build definitely fixed LTE for me. Or maybe your problem is specifically connected to T mobile? But unfortunately I can't help you there.

Let's start with looking at the logs first.
 
Last edited:

temijun

Member
Oct 1, 2015
26
11
0
Thanks again

Sorry for the delay and your patience in helping look into this issue, didn't get a chance to look at it until today. I don't have any firewall installed, it seems like iptables is part of OS and but the rule definition is corrupt. Please see attached.

Also while trying to connect to computer to get the logcat, it seems when like when I change USB Preference to File Transfer, the tablet crashes and reboots

Do you also have logcat from when you start the connection? It says something about disconnecting but I don't find a line where the LTE connection is initiated. And so far it doesn't say anything about permission denied which was in my logs.

Can you repeat this and start recording with the button at the bottom of the logcat app window before you turn on LTE. The file is saved somewhere on /sdcard. Can you please post that file?


Just one thing: There is a line in the images about iptables. Do you still have a firewall running? It's just that I've been playing around for months with AFwall app (Firewall) and custom scripts. As soon as I'm very restrictive and block some of the Android root apps from internet access I also get problems with DNS. And your problem looks exactly like things I encountered while playing around with iptables.

And the telephony app seems to think there is no data connection. I wonder why.

I just don't know if there is an additional problem with your model of the tablet and LTE. But I'm no expert here. Mine is the P605 model and the last build definitely fixed LTE for me. Or maybe your problem is specifically connected to T mobile? But unfortunately I can't help you there.

Let's start with looking at the logs first.
 

Attachments

tusch00101

Member
Jun 7, 2016
34
5
0
@temijun

Hi temijun!
First: I'm no expert so I give you an uneducated opinion. If I'm wrong hopefully someone else is correcting me.

In your logs:
1. Ignore everything with "E QCOM PowerHAL: Failed to acquire lock." I get the same errors constantly.

2. For me it seems that the LTE modem is working. Since you cleared private DNS in settings it is T mobile that sends an ip address and a domain name for a private DNS server (DnsAddresses: [fd00:976a::9,fd00:976a::10,] UsePrivateDns: true PrivateDnsServerName: 1dot1dot1dot1.cloudflare-dns.com)

3. Obviously every communication is with IPv6. Which is totally ok but for a normal human being hard to read. That's the first difference to my setup. My ISP still uses IPv4. We just have to keep that in mind when we dig deeper into the problem.

4. Netd is needed for DNS and I don't like the line
"07-04 10:27:10.489 360 455 E Netd : Error adding route ::/0 -> (null) (null) to table 1003: No such device"



Summary: physical connection with modem works. Problem is in software code. Somewhere something is blocked or throws an error. Most likely in ip6tables (my iptables for IPv4 work).

So what would I do (remember I'm no expert)?

0. (just checking): When you flashed LineageOS 16 - did you wipe cache / davlik / data / system?
Iptables-rules get appended. I want to rule out that there is no leftover from a dirty flash over LOS 14. If you haven't done a complete wipe before please reinstall LOS 16 in a clean environment.

1. I don't know if it helps but it is easily done:
Activate the Terminal in developer settings. (If you don't have them visible - you need to tap 7 times on the build line in settings - system info - use google for help).
Open terminal app in app drawer and type
ping 8.8.8.8
(Enter)
This calls Google Nameserver with IPv4
A) If you get an answer like
64 bytes from 8.8.8.8: ...... time = xx ms
the server is reachable (Hints in my opinion to a blocked port 53 or disabled / restricted netd). Unfortunately I don't know if it is at all possible to ping IPv6 addresses like the one from your t-mobile DNS [fd00:976a::9]. Maybe google can help you.

B) Or the answer is:
"Network is unreachable."
Then a lot more is blocked.

As a next step for testing you would have to dig deep into OS areas like iptables. There is definitely something wrong with your rules. That leaves the question: Is that only in your specific setup or is that a general problem with this LOS build?

I never went as deep as that into the bare operating system. What I can only offer you is help with a quirky test setup and only if 1. A) above is working and you can reach Google DNS. Then I could help you force DNS with IPv4 and general IPv4 traffic. But It would require you to install AFwall as firewall after rooting your device. Because that is the only way I know how to manipulate iptables rules. There is an option to add custon rules in a file. Not the most elegant way but for testing purposes... And if the provisionary fix works - you could keep it.

Or you invest hours reading the internet about iptables (and most likely are non the wiser)...

Or maybe someone else jumps in to help with your problem :)

One step at a time.

Concerning your USB connection problem:
In developer settings there is an option to set the connection always to MTP. Try to use that if you are not concerned about a possible security issue.

Good luck.

edit: Since your USB connection is also behaving strangely - maybe you want to do a clean reinstall in any case?
 
Last edited:

kleinholzinferno

Senior Member
Feb 4, 2009
373
113
43
Has anyone found a possibility to make the Netflix app work? I get a device incompatibility error and watching in the browser doesn't work either.

I tried downloading the apk from the website but it couldn't be installed.
 

digitalcoder

Senior Member
Dec 20, 2010
207
28
0
  • Like
Reactions: kleinholzinferno

lecorbusier

Senior Member
Nov 28, 2012
1,081
115
83
Both have Snapdragon 800. But the P607 is special in some way. Probably bootloader can't be unlocked or P605 roms will need some tweaks due to slightly different hardware.
 

HTCdevel

Member
Nov 14, 2010
37
3
0
Volume too low

I have flashed my tablet with this version successfully.
My current problem:
- The volume of the speakers is very low.
- If you are using the volume slider, you will recognize, that after the 6th position (low to high) no change of the volume occurs

After searching for clues i found several solutions,

https://androidflagship.com/13889-fix-low-audio-volume-custom-roms
https://www.lineageosrom.com/2017/03/how-to-fix-low-audio-volume-is-lineage.html

but at all they doesn't fit to LineageOS 16.

Does anyone have an idea, how to fix it?
 

Yohannj

Member
Jan 19, 2014
17
7
0
I have flashed my tablet with this version successfully.
My current problem:
- The volume of the speakers is very low.
- If you are using the volume slider, you will recognize, that after the 6th position (low to high) no change of the volume occurs

After searching for clues i found several solutions,

https://androidflagship.com/13889-fix-low-audio-volume-custom-roms
https://www.lineageosrom.com/2017/03/how-to-fix-low-audio-volume-is-lineage.html

but at all they doesn't fit to LineageOS 16.

Does anyone have an idea, how to fix it?
I don't use anymore my Galaxy note 10.1 2014 tab, but i had the same problem on lineage 14.
The only but well work solution i have found, it's to use ViPER4Android. With it, you can boost volume.

Good luck.
 
  • Like
Reactions: HTCdevel

Yohannj

Member
Jan 19, 2014
17
7
0
It seems so, that the development of this tool ist stopped (last post on there facebook page is from February, 2018) and the supported versions in the description of this tool are ending with Android 7. :(
You right with the link that i shared. But, i found this post on XDA. A man have decide to continu developement and it's seems to work with android pie.
 
  • Like
Reactions: HTCdevel

slawoko

Senior Member
Feb 6, 2012
152
26
48
Munich
Hi guys,

David I love this rom. Compare to the stock one it´s like a rocket :) Thank you very much.
Do you think there is a good chance to fix the camera issue in order to use skype or whats app ?

Thanks
Slawo