yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] pellajl:
I think you are correct, signal strength stability seems to be a factor.

I am still on LOS 14.1 and I was having frequent signal dropouts requiring a reboot. I reverted back to the bootloader and modem released in last Australian stock ROM (N910GDTU1DQL2_N910GDTU1DQL1) more than a week ago and so far I haven't had a drop out.
[Galaxy Note 4 Android Development (Snapdragon)] 73sydney:
On this ROM i had the best success using the N910GDTS1DQA1 modem (on the N910G), and its the one now included in the ripee's modem and bootloader flashable zip for N910G in his BL & Modem collection

Im just about to try flashing N910GDTS1DQA1 to test under Pie, to see if it helps....
[Galaxy Note 4 Android Development (Snapdragon)] 73sydney:
[MENTION=6363151]mobspyguy[/MENTION]

update/siterep:

As previously mentioned, when i moved homes last week, the stable-ish LOS with old N910GDTU1DQA1 modem install id had going for weeks without much drama suddenly sim deathing on me in a way i'd never experienced before, somewhat concreting my theory that low signal/loss of signal was part ( of the sim death issues, and that perhaps that in custom ROM's the RIL layer doesnt recover as it does in stock ROM's...this seemed to be proven to me at least when i installed the last stock ROM from my region/carrier which is N910GDTU1DQL2_N910GXSA1DQL2_N910GDTU1DQL1. My signal was dropping out, but it was recovering in a fairly short time afterwards.

Then i installed your ROM, with the N910GDTU1DQL1 modem still in place, and it was sim deathing and doing that strange "phone is starting" malarkey.

Since flashing back to the same earlier modem id used in Oreo, N910GDTS1DQA1, ive not had a single sim death and no "phone is starting" weirdness. ive been out and about over a few kilometres, and no noticeable drop out that ive been aware of....it has been in my pocket until just now when i got home though....but nothing observed and...just as i said that the signal dropped lol! but it recovered! BBS tells me that it has had moderate or good signal for 65% of the time...

Old modem still looking like a legitimate trick for those having sim death/data drop out issues

For 910G users, [MENTION=6005084]ripee[/MENTION] has this earlier modem packed in his BL&Modem for the 910G zip in his BL&Modem collection, available from the OP of his LOS 15.1 thread

As for the ROM itself, still no drama overall
[Galaxy Note 4 Android Development (Snapdragon)] pellajl:
Should be interesting. Before you flash another modem, try wiping the modem partition before you flash.

It would be interesting to understand whether at your new location, the phone is swithing between B28 (700Mhz) and other LTE bands. On the stock ROM, you can see what band you are connected to through the service menu. However on the custom ROMs, I can't seem to find how to interrogate the modem.
[Galaxy Note 4 Android Development (Snapdragon)] 73sydney:
Didnt know it was even possible to wipe the modem partition, never heard of doing such a thing in all my years on android ...ive reflashed the modem as a first step when troubleshooting sim issues however

Sorry cant tell you if band switching was going on....you cant easily get into service menu on stock ROM's, but can use 3rd party tools. Never occured to me to even think about the band as both locations are inner(ish) city areas (but with the poor state of Aussie telecoms it seems like youre living in the 2rd world some days - no provider wants to spend the money to maintain their networks, they'd rather oversubscribe access and watch those paying them suffer while the equipment is substandard), and in any event there was total signal loss, which band it was on didnt seem important. I moved from Darlinghurst to Newtown btw....hardly out in the sticks

I can say that the N910GDTS1DQA1 modem is so far automatically recovering from sim death well, i havent had to prod it with the RIL Control app once so far....
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
lineage-16.0-20190214-UNOFFICIAL-trlte.zip

Changelog from 0213: used mobspyguy's android_hardware_samsung repo, into which he repopicked 238520 and 239598.

I have also been repopicking 233600, and force repopicking 233605 in all my 16.0 builds, to be able to compile successfully.
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
maybe all it needs is a little love in valentine's day to boot :)

lets find out
[Galaxy Note 4 Android Development (Snapdragon)] crassula:
I' ve got black screen after full wipe of last build

---------- Post added at 03:49 PM ---------- Previous post was at 03:47 PM ----------

I've got black screen after full wipe with last build
[Galaxy Note 4 Android Development (Snapdragon)] maralexbar:
Has anyone already tried it?
[Galaxy Note 4 Android Development (Snapdragon)] secheres:
lineage 16.0-20190214-after boot animation in first page block.

:(
[Galaxy Note 4 Android Development (Snapdragon)] crassula:
Yes , black screen on boot
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Do you get as far as the boot animation?
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
rom is booting up, no after bootanimations is completed, black screen is what you get, if yoy have flash only rom.

If you have also flash Gapps, Android is starting but never complete, as it get stack to ''set up is starting''
[Galaxy Note 4 Android Development (Snapdragon)] crassula:
Yes boot animation correct but after black screen

---------- Post added at 04:48 PM ---------- Previous post was at 04:46 PM ----------

Ok... I only flash build for test... Sorry. I'm going to test with gapp
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
I have tried clean flash with and without Gapps, twice each of them.

Black screen without Gapps(after boot animation is completed), back and recent buttons light up, but nothing more than that

Language set up and then ''please wait'' if Gapps are also flashed.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Thank you for that detailed feedback! It sounds like a kernel panic. I will try again, this time with mobspyguy's kernel repo. ;)
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
extracted boot img from RR rom and flashed it to your build, after a clean flash with rom ONLY.

The result is the same, black screen with hard keys lighten up , after bootanimation IS completed.

Sorry...
[Galaxy Note 4 Android Development (Snapdragon)] bobkoure:
I guess I've been getting SIM death - as in no-mobile-data, not no-SIM.

I'd thought the no-data was an issue with my MVNO (Boom! over Verizon). It usually happens as I'm driving, so I'd thought the issue was cell-to-cell handoff.

I used Tasker to build a task to disconnect/reconnect mobile data, found a utility that let me put Tasker tasks on my quick panel,. So, when I lose data connectivity, I just pull down the quick panel and tap my reset mobile data icon, and go on about my business. Pretty handy when I'm in car mode.
[Galaxy Note 4 Android Development (Snapdragon)] Ckani:
No I had it plugged in behind my notebook screen. I let it run that long because I usually do something else as it boots because it is old and slow but, I love it though.

Took me a while to get it back to 15.1 as it had all kinds of weird glitches that shouldn't happen after a full wipe. I am still game for trying a new build though. :good:

For those having problems with sim death. Have you tried cleaned your contacts for the sim card? This worked for my sim and sd card randomly disconnecting.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
lineage-16.0-20190215-UNOFFICIAL-trlte.zip

Changelog from 0214: back to the official kernel. I used an older version of the apq8084-common manifest.xml.

PS - 15.1 builds are on their way...
[Galaxy Note 4 Android Development (Snapdragon)] crassula:
Full wipe, install last build with gapp. Works fine. I don't have sim card on this phone. Good work ripee :good:

---------- Post added at 01:50 PM ---------- Previous post was at 01:44 PM ----------

Build works but freeze when i go to setting menu with wifi, bluettoth, gps...
[Galaxy Note 4 Android Development (Snapdragon)] crassula:
:good:
[Galaxy Note 4 Android Development (Snapdragon)] benuk:
I need help, because I´m so stupid, grrr.....

Hello together,

first: sorry for my bad english!!! I´s not my natural language! I´m German.

My Problem is this: I have a Samsung Note 4 and use the image from ripee (last version was 15.1.from 10.02.2019).

Yesterday, I will make a Update and load the 16.0 from 15.02.2019 and install it. I have not see, that this is a new Version!!! And it´s the same every time - fast one update without backup!

I say it again, I`m so stupid!!

The Note 4 is only booting to the bootscreen an then comes after long time a reboot in Recovery.

At this time, I have make a backup.

Then I try to flash the Image 15.1 over the 16.0. My hope was, the Note 4 boots again. But it´s still the same error!

Can you help me? I think, I must change the Kernel, but I´m not sure....

What can I Do?

As attachement I load up the dmesg.log and the recovery.log.

By the way:

my Note 4 is the Device that´s use the trlte Image.

At the google Drive from ripee in the folder .BL_CP I can get a new modem.bin.

Can you say me, what else is the correct File?

Thank you for your help!!!

benuk
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
You must reflash rom and gapps and setup phone again.

You need to do a clean flash this time if you want problems go away.

Download and keep rom and gapps you need in your pc

reboot in recovery

1.Factory reset

advance wipe

wipe cashe, system, data (not internal if you have files to keep like photos, music etc)

if you havent anything to keep, wipe also internal and then FORMAT DATA.

reboot recovery.

Connect your phone to pc and after a few seconds when phone is shown in pc, tranfer Rom and Gapps in the internal storage.

Flash rom, wipe cashe and dalvik

flash Gapps, wipe cashe and Dalvik

REBOOT SYSTEM
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
lineage-16.0-20190215-UNOFFICIAL-trlte.zip

Changelog from the earlier 0215 build: these 3 reversions
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
DO You think, dirty flashing over the previous would be ok?

Just finished setting it up :(
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Sure you can dirty flash over the previous one. Just check if the menu is stil crashing.
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
[MENTION=6005084]ripee[/MENTION],

I think its fixed now.

In previous built always rom was freezing in the home screen, when trying to add or remove something.

Roms was luggy and phone was hot .

Now its like it has been free up, became smother, responding good and very - very fast.

There is still a minor thing, Gapps cannt finish setup, although acoount is added and some apps have been updated from Playstore very well, I get a message cannt finish setup.

I think, if I clean flash, this will go away , too.
[Galaxy Note 4 Android Development (Snapdragon)] crassula:
No crash with menu with this build
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
This is a bug with the lineage setup. It affects all my devices. Magisk 18.1 should also work, but I don't use any plugins so my stability isn't affected by it.

On that Note ;) trlteduos and tblte builds will be next, followed by a new thread in the next few days.
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
So let's take a look to our new friend :)

Great job [MENTION=6005084]ripee[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Not me! All credit goes to [MENTION=6847876]_mone[/MENTION] for putting the raw Pie dough into the oven and [MENTION=6363151]mobspyguy[/MENTION] for taking the hot and steamy Pie out of the oven!

About today's Oreo builds, it just so happens that my build environment for 15.1 is not cooperating for the time being. It's a coincidence that this should happen on the day that we get stable Pie builds, but going back and forth between the Oreo and Pie codebases gives errors that have to be fixed manually, which is a major hassle. So right now I can only reliably build Pie.
[Galaxy Note 4 Android Development (Snapdragon)] MRC01:
Thanks, I'm looking forward to the Pie!

What will be the last good 15.1 build -- Feb 14?

I'm currently running Jan 22 and it's solid.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
[MENTION=4468805]MRC01[/MENTION], no idea, probably sometime in the next week, once we get [MENTION=6847876]_mone[/MENTION]'s vote of confidence, and I create a new thread. I'll post the last Oreo build in the Downloads section of this thread.

lineage-16.0-20190215-UNOFFICIAL-trlteduos.zip
[Galaxy Note 4 Android Development (Snapdragon)] jhford:
I just dirty flashed 16.1 over 15.1. Wiped dalvik & cache, flashed ROM, micro gapps, & Magisk 18.1, wiped dalvik & cache, and rebooted system. Endless bootloop on boot animation. Restored nandroid oreo.
[Galaxy Note 4 Android Development (Snapdragon)] muhib471:
What ripee meant by 'previous one' is the earlier build of LOS 16, not 15.1

I think you'll have to clean flash 16 to get it working.
[Galaxy Note 4 Android Development (Snapdragon)] jhford:
I thought so. Tomorrow. Thanks
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
lineage-16.0-20190216-UNOFFICIAL-trlte.zip

Changelog from 0215: reverted on the livedisplay commit from mobspyguy and kept the memtracker and keymaster commits. I had reverted all 3 since he had merged all of them since he started working on RR. But he has confirmed with me that this is the only guilty commit when it comes to properly booting.

In the meantime, I'll get to work on the Pie thread...
[Galaxy Note 4 Android Development (Snapdragon)] Ckani:
I tried the build yesterday and everything seems much better. It still has that odd thing with 5g wifi in that during setup it doesn't see it but, does after setting up and rebooting. Fingerprint seems to be a little better than 15.1. Pretty smooth. Thanks to all involved in getting this old phone another lifeline. I bought a 400gb sandisk card for it yesterday.
[Galaxy Note 4 Android Development (Snapdragon)] len207:
I also installed dirty but in addition to what you wiped I also wiped system. After the wipe I installed the latest version of Pie then Gapps for 9.0 and Magisk 18.0. The system booted fine but ymmv...
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
[ROM][UNOFFICIAL][9] LineageOS 16.0 [tblte][trlte][trlteduos]

I will still build a few more 15.1 builds and I will post the last ones in the Downloads section of this thread.
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
Sim death and WiFi and Bluetooth are all related .

WiFi and Bluetooth share a single driver. I am looking at it and running a test build on my system

I might of found the source code for the drivers !
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
Once [MENTION=6005084]ripee[/MENTION] finishes his builds, I will be continuing builds to try and fix a few things as I test out the source code I found from Qualcomm.

However no dailies, no support ( because I work full time )

My gdrive

https://drive.google.com/folderview?id=1DPF3nRVrDnzYXBz96c1469Vp4gdN5XaB

Sources www.gitgub.com/tripLr

I will be uploading

Build

Md5checkusm

And kernel for each build I successfully build on my server and install on my daily driver.

Linero kernel compiled. Lots more stable on sim issue

Enjoy

Want to contribute ?

Time ? pm me

Code ? Fork my github

$? paypal triplr.dev@gmail.com

I need a 4 of 1 tb ssd m2 drives for the server.

Server access available.

Thanks to [MENTION=6847876]_mone[/MENTION] and [MENTION=6005084]ripee[/MENTION] for inspiration and help

Thanks to anyone who has worked on apq8084 stuff. [MENTION=3041959]fattire[/MENTION] etc...

Anyone want access to the OEM chipset source code let me know. I found it ALL
[Galaxy Note 4 Android Development (Snapdragon)] FirebirdStud:
It took me a while to figure out that SIM death means the mobile data connection fails.

I try to toggle mobile data on and off using the ROM quick button on the drop down menu, but that never resets the data for me. I have to restart the phone. When I was in Cali, I had to restart every 5 minutes while driving, and that was annoying.

I am very curious on this app you created! Are you able to share it with other people?

I just today discovered an app called "Ril Control" that another developer created. I want to try installing that to see if it works to restart my data connection without restarting the phone.

https://xdaforums.com/g4/themes-apps/app-ril-control-t3736739

Would this work for us?

Every time I restart the phone it goes into maintenance mode for some reason, and I have to select restart normally.

---------- Post added at 12:25 PM ---------- Previous post was at 12:16 PM ----------

This would be fantastic if you found the source code for the drivers!

I have not once experienced a wifi or bluetooth issue though. I only experience mobile data loss. I find that it happens when I am driving, so probably tower handoff, and when I go into buildings and the signal degrades from LTE to 3G. It seems that in that switch, it just loses all connection. Toggling mobile data on and off doesn't fix it. I have to restart it.

Interestingly enough, when I am at home and have wifi on 100% of the time, I have never lost mobile data.

I tried an experiment, and when I am driving I turn on the mobile hotspot of my work phone, and turn on my Note4 wifi and pair it to that. My mobile data lasts a lot longer before cutting out, but I did see it cut out once or twice while driving around my city in Colorado.

Let me know if I can help in any way!
[Galaxy Note 4 Android Development (Snapdragon)] bobkoure:
There's not much to share. Install Tasker, create task. Two steps in task: mobile data / set OFF, mobile data / set ON.

The harder part was finding an an app that would let me put Tasker tasks in the quick menu (I usually lose mobile data when I'm driving, so car mode - and quick menu is still available in that mode on a finger-swipe down). I'm using shortcutter.

Dunno. I've d/led the apk, will test over the next few days & report back

I think that might be part of our unofficial build being based on a dev build (same reason we have root built in). Once maint mode starts, 'reboot to system' is the default, so just push the home button
[Galaxy Note 4 Android Development (Snapdragon)] FirebirdStud:
The tasker thing probably wouldn't work for me then. I physically hit the toggle button to turn off mobile data, and then turn it on and it doesn't do anything for me unfortunately. It sounds like you built something to just do that automatically, correct?

I really hope that APK works!

I concur on the unofficial build forcing a maintenance reboot. Nothing major, I just hit reboot normally.
[Galaxy Note 4 Android Development (Snapdragon)] pellajl:
Ignore my suggestion of wiping the "modem partition". Don't know what I was thinking!
[Galaxy Note 4 Android Development (Snapdragon)] 73sydney:
If you searched the thread, you might have found i posted eons ago that RIl Control worked to fix the issue, temporarily....to get Ril Control to work, you need to click stop, wait about 5 seconds, and then repeatedly hit start until the signal comes back...not ideal....

Ive since removed to Pie, and since the issue still remains, i decided to automate it, so please have a look at this post

Also note, depending on your device, you can improve your signal issues (somewhat) by reverting to an earlier modem - [MENTION=6005084]ripee[/MENTION] maintains a collection of bootloaders and modems linked in the first post of any thread he starts....i know for a fact the 910G bootloader and modem file he has works better than the later & latest one as it has the same modem im currently using - ripee packaged this one up for 910G owners, he's nice like that. I can only speak to the fact an earlier modem works on the 910G, ymmv on other devices.... All bootloader & modem files can be flashed by putting your device in download mode (VOL DOWN + Home + Power (never use the reboot to download mode in the extended menu in Android OS - the ensuing flash may be temporary, always do the 3 button method from power off)) and then loading the bootloader and modem file into the AP slot, and flashing
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
I am saying goodbye to Oreo.

lineage-15.1-20190218-UNOFFICIAL-trlte.zip

lineage-15.1-20190218-UNOFFICIAL-trlteduos.zip

These are my final Oreo builds. Any further builds will be provided by [MENTION=5624167]tripLr[/MENTION] if and when he is able to publish his builds, but I am shifting my focus over to Pie.
[Galaxy Note 4 Android Development (Snapdragon)] FirebirdStud:
I took the leap, and while out and about today I installed RIL Control. And guess what, it worked! I was able to kick the data connection in the butt and it reconnected.

However, I have a big problem now. I got home, and turned on wifi, and it doesn't work now. The toggle switch moves to on, and then right back to off. I cannot get the wifi to turn on! I restarted the phone, and it still won't turn on. Bluetooth works just fine.

So, now what happened? How do I get wifi to work again? Honestly, I need wifi more than data connection at this point.
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
Remove ril control, do a dirty flash, use the airplane control button, and use [MENTION=6847876]_mone[/MENTION] kernel.

---------- Post added at 11:35 PM ---------- Previous post was at 10:54 PM ----------

The lineageOS 16 ripee is building is an excellent daily driver for me.

My goal here is to build an efficent kernel, fix the bluetooth and wifi, now that I know the source code is up on github for that driver.

I have a dragonboard development kit, but its the wrong chipset the 820, not the 810. I am looking at the source code for it.

If one searches for <chipset> development kit or <chipset> development board you will find lots of options similar to an raspberry pie up to a full development kit with camera and touchpad.

chipset Manufactures like qualcomm are like auto manufacturing, they assemble stuff that works, and already have a license for. ARM processors are licensed from the original RISC inventor in england. All the other stuff like ethernet, wifi, cell frequencies etc are based on international standards

So in essance that's why linux open source drivers work on the linux kernel. The exception is stuff like video card drivers from nvidea, they have custom chips, and they release custom drivers.

So why don't we have open source cell phone software ?

All based on public standards ?

$. Cell companies are in buisness to sell a mobile service

$. Cell phone manufactures are in buisness to sell handsets not support them.

$. Google sells a license thereby employing hundreds of thousands of developers

But the handset manufacturing creates a cryptographic key that is read at the initial boot internal to the cpu

Another key for the bootloader

Another key for the radio,

And android creates

A key for the kernel

Another key for the user (stock firmware )

Another key for userdebug ( what we run )

And another key for engineers (hardware developers )

And what happens if one of these keys don't match the one in the cpu, you either get

Bootloop

Brick

Or weird bugs like what's happening to bluetooth and sim.

Because we are building for userdebug and don't have access to most of the hardware source code, because the handset makers want to make $ and stop supporting your device after 2 years

I MAY have access to some engineering code. hopefully