yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] GerardSamija:
I've only had 10/24 trltetmo flashed for about half an hour, but so far no data drops. Been checking with my FTP client, regular browsing, streaming radio in TuneIn, Youtube in Dolphin-browser, and 100% reliability of the data connection so far. Will update if there's any failure, but fingers crossed for this!

fattire; Considering my experience with this Note 4 and zero data drop problems with other development efforts outside of Lineage, the fact that I've had the latest firmware/modem/etc. installed since September (latest firmware for my variant and provider was released in 2016), and that I've been diligent in following ripee's and _mone's requests and test kernels, it seems highly unlikely that pursuing the various more esoteric efforts you've so kindly and at great length suggested seems for now unnecessary. Especially considering that today's build seems to be staying connected just fine, at least so far... knock wood...
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Great news. As reported, Corinna has now merged the change upstream, so any kernels across all devices that were having problems due to this issue should benefit. As you say, knock wood.

For anyone wondering what was going on, the problem was that our phones (modem? blobs?) were not able to handle a URB_ZERO_PACKET and the modem would disconnect and would then have to reconnect., causing errors in any open connections at the time. I don't know why this affected TMO but not EUR, but it did. My initial fix was just to comment out the code that triggered the error on TMO builds only, but turns out (Corinna checked), the support for URB_ZERO_PACKET was never applied by qualcomm for any apq8084 devices in their official kernel-- so the full commit that handled URB_ZERO_PACKET is now pulled for all the lineage trlte phones now. As a result, any other devices that may have had issues due to this problem may also benefit.
[Galaxy Note 4 Android Development (Snapdragon)] GerardSamija:
Just crossed the 2 hour uptime mark, and still no data drops. Streaming radio while I work and it's flawless. Still holding my breath just a bit, but from your description of Corinna's resolution of the problem it sounds like this was the breakthrough we needed. Thank you so much for your work in this!
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
boot-20171024-MAGISK-trlte.img

For those who are having trouble flashing Magisk, I have no idea why but please post your logcats to the Magisk thread. In the meantime, I extracted this from my phone with today's build, so there won't be any data drops with it.
[Galaxy Note 4 Android Development (Snapdragon)] Texas_Ace:
Great! I will try that right now.

So that is the boot image, does it already have Magisk installed or do I still need to install Magisk after flashing the image?
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Can you please read the instructions located right above the download button.
[Galaxy Note 4 Android Development (Snapdragon)] Texas_Ace:
:o opps, I didn't realize there were actual instructions on that page, all the top was just generic technical data so I didn't read the rest of the page.

believe it or not, I actually have over 10 years in IT, I am just ~3 years behind anything android and it has been a steep learning curve to catch back up.

Ok, just tested it and it does install magisk without bootlooping!

Sadly I seem to have run into another issue I was trying to get data working by going back to the stock rom and updating the PRL, this worked fine but I made the mistake of leaving the phone alone for awhile and it automatically updated itself to some new version.

I saw it in the middle of the update and figured oh well.

It seems that it messed up the modem and the worst part is I can't flash the old modem back, it gives me the error: sw rev check fail : [aboot] fused 5 > binary 4

Which I am guessing is some kind of anti-downgrade fuse. It will also not allow me to flash the stock rom anymore.

I tried restoring a TWRP backup but while it will at least connect to sprint it wont connect to data.

Any ideas how to flash the modem or undo the update damage?

I guess this is a lesson for everyone else, do not take any updates for the Note 4 and don't leave it alone for 10 minutes while updating the PRL on a stock rom.

---------- Post added at 03:52 PM ---------- Previous post was at 03:37 PM ----------

I am actually wondering if Aboot might be corrupted, I have tried flashing it a few times in odin and I got eMMC write fail : Aboot

I saw someone mention that a PIT flash can fix this, does anyone have a working pit file for the Note 4?
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Believe it or not, that's 10 more years of experience than me :D SUREFACE has pit files under his link in the OP.
[Galaxy Note 4 Android Development (Snapdragon)] Texas_Ace:
I didn't see a sig on his profile but I found this thread: https://xdaforums.com/note-4/snapdragon-dev/rom-note-4-sm-n9100-t3623263

Sadly all the links appears to be down. Does anyone have a backup copy or another link?

This is the only thing I have found so far: https://www.sammobile.com/forum/showthread.php?t=35664

---------- Post added at 04:23 PM ---------- Previous post was at 04:12 PM ----------

I tried the pit file I found in that thread, same thing as before, sw rev check fail : [aboot] fused 5 > binary 4 along with eMMC write fail.

Is it possible to downgrade? TWRP still works, can it be used to downgrade?
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Can you please re-read what I wrote: SUREFACE link in the OP!
[Galaxy Note 4 Android Development (Snapdragon)] Texas_Ace:
Wow, I am on a role today. Reading comprehension A+.

Sorry about that, trying to work on this phone between updates on the main system so not able to give it my full attention right now.
[Galaxy Note 4 Android Development (Snapdragon)] movetodevnull:
Hi,

This is my first post here. Just want to confirm that after 1024 build no more data drops on my W8 (Rogers, Canada). I made a Skype call without disconnect.

Thanks, great work!

Val
[Galaxy Note 4 Android Development (Snapdragon)] GerardSamija:
Indeed, great work. Uptime for me since flashing is now 5:35 and still no sign of a data disconnection, with Freedom Mobile. Wonderful.
[Galaxy Note 4 Android Development (Snapdragon)] Texas_Ace:
Thanks for that. I tried the pit file, the recovery firmware and every other method I could find online to get things working again. If I didn't have a TWRP backup I am not sure it would ever work again. They all fai when trying to flash aboot, it appears to be a fuse issue to keep people from downgrading (which it is doing very well).

So unless the "erase nand" option in odin would fix it, it looks like I am stuck.

If I didn't have a TWRP backup I don't know that it would ever work again, nothing except TWRP would flash properly in odin and KIES does not recognize the phone.

So I am now stuck with a situation where lineage does not have the correct modem to work. Was a new one released recently? Will it become available to work with lineage?
[Galaxy Note 4 Android Development (Snapdragon)] teegale:
I flashed this on the 10/23 Verizon build. I was one of the ones bootlooping when flashing newer versions of magisk. This works, but safety net is still ctsProfile: false for me. Basic integrity is true.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
We know, it's not perfect. If you're seeing data drops flash 1024.
[Galaxy Note 4 Android Development (Snapdragon)] galakanokis:
TWRP works? There are twrp flashable bootloader and modem files available. I believe rippe even has a link in the OP.
[Galaxy Note 4 Android Development (Snapdragon)] Texas_Ace:
There are? I looked but could not find any evidence that it is even possible to flash those with twrp. I have 3 or 4 versions of them downloaded but none of them are in zip format and TWRP doesn't have a modem option with the image flash that I could find?

It would be great if I could flash those including Aboot with twrp since I can't even flash linage anymore, it just bootloops.

If I restore from a TWRP backup I can use the old versions though.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
TWRP doesn't have access to the bootloader or modem partitions.

Just to be clear, Odin isn't flashing them? See the OP link to unlock your bootloader, then flash the appropriate one from my BL_CP link in Odin.
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
maybe this will sound crazy

PUT YOUR PHONE IN THE FREEZER :)

Take a zip bag, take off your battery and sd card (if any)

put just phone in it and while sucking the air with a straw, zip it up.

Put it in the freezer for 2 hours

in the meantime

download this (windows ) application and install it on your windows pc. This is the application that will allow you to search and download the latest stock rom for your phone. (don't pay attention to outdated that is saying on the page, it's a marketing trick to lead you somewhere else)

choose samfirm 3.06

extract it on a folder on your PC and run samfirm.exe

in the opening menu type

SM-N910P

REGION SPR

PDA: N910PVPS4DQH1

CSC: N910PSPT4DQH1

PHONE: N910PVPS4DQH1

(I think this is your version/ region, if not choose the correct one)

tick '' BINARY NATURE''

CHECK UPDATES>DOWNLOAD

THIS WAY YOU WILL GET THE LATEST REPAIR STOCK ROM FOR YOUR PHONE/REGION

Binary nature means the rom split in 4 files (REPAIR ROM as we know it)

this is what I just find out about (what I think is your phone), see image at the end

use odin 3.12.3 or newer (run as administrator)

The correct way of flashing a recovery firmware:

Load all the files in their respective slots ( ap, bl, cp, csc, pit ).

- select f.reset time, re-partition and uncheck auto reboot.

- Flash

- If it fails, then try without csc.

cold may do the trick.

Usefull link about similar problems

https://xdaforums.com/note-4/snapdragon-dev/note-4-debrick-img-t3488114

good luck :)
[Galaxy Note 4 Android Development (Snapdragon)] galakanokis:
I might be thinking of my old 6P, maybe you cannot flash a radio in TWRP. I see links in the Op but they are just standard tar files.

I have been flashing phones for years and I honestly have no idea what the Aboot is. Sorry, I am no help here.
[Galaxy Note 4 Android Development (Snapdragon)] Texas_Ace:
Thats what I thought.

Yeah, Odin gives the fuse error I posted above (well the phone does when trying to use odin).

My bootloader should not be locked as I am on a 910P, did the update lock the bootloader?

---------- Post added at 06:05 PM ---------- Previous post was at 05:59 PM ----------

Interesting idea, I will give it one last try, odin has just refused every other time.

What is the freezing supposed to do?

I have one more idea I am going to try first.

You are correct on the N910P.

Although here is the version that TWRP is reporting in the restore section:

mmb29m.N910pvpu5dqi5

Not sure if that matters or not.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
Awesome. Have to try this when I get home.

So what was the fix?
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
I have a bricked Note 4 with Emmc error message every time I try to flash anything with Odin or even a new rom with TWRP. after hundreds of pages and posts, I found that method to use and unbrick my phone, which I have done partially. I am forced to keep an sdcard on it with a unbrick image in it to help my phone boot, otherwise, never does.

Also freezing the phone is a must for me to do any of the above.

Freezer keeps the CPU cool because overheating make the motherboard's contacts around the emmc to fail ( Samsung have put ram and memory together in a single chip and fixed it on a cpu so that CPU can access them much faster but the heat of CPU melt the connections of emmc)and so pass the data becomes impossible.

If you read some pages in the link I posted before, you 'll get an idea what I am talking about.

desperate times need desperate methods.

Its just a suggestion, I have done it. If you don't find any other solution, give it a try

If you have N910P THIS IS THE LAST STOCK REPAIR ROM FOR YOU

N910PVPS4DQH1/N910PSPT4DQH1/N910PVPS4DQH1/N910PVPS4DQH1

with release date 2017/09/18

Samfirm is downloading files directly from Samsung servers
[Galaxy Note 4 Android Development (Snapdragon)] GerardSamija:
At about 7 hours in data stopped for my phone. Started again by itself, then dropped for a couple of minutes and I had to force it by resetting APN. Works again now. Possibly a glitch with my service, I'm not jumping to conclusions, and for 7+ hours I had great data which is the best I've seen in two months.

The fix was posted on the previous page by fattire:

https://github.com/LineageOS/androi...mmit/2a7c1584601ad9042ad4cb107128862bcc142aca
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
also another idea is what [MENTION=3041959]fattire[/MENTION] was suggesting if you would like to try linux and Heimdall alternate to windows and odin,

see his post here, its very instructive

https://xdaforums.com/showpost.php?p=71445806&postcount=10
[Galaxy Note 4 Android Development (Snapdragon)] Texas_Ace:
Thanks for the lesson [MENTION=3041959]fattire[/MENTION], it clarifies some things. At this point I am pretty sure that it is locking me out on purpose and working as it should. I am pretty sure the emc error was just a side effect of that. Everything works perfect if I run the updated stock firmware.

And since it is not compatible with Lineage I am afraid I am left with no choice but to ditch the phone and try to find an alternate. Sucks since I was very close to getting it nailed down just the way I wanted. Just needed to get data working with a PRL update and I should have been good to go.

Interesting, I might have to try that on my linux machine before I get rid of this phone. It is in the freezer now, gonna try that then will try this. If that doesn't do it and it doesn't look likely that the newest modem/bootloader will be supported anytime soon, then I will have no choice but to sell it and move on to something else.

So, lesson of the day, DO NOT update to the latest OTA update.

---------- Post added at 09:02 PM ---------- Previous post was at 08:20 PM ----------

Just tried the freezer, sadly it didn't change anything.

I did some more research and it looks like the N910pvpu5dqi5 update rolled out on 10-12 (2 weeks ago). Maybe it has not been updated into samfirm yet?

https://www.androidinfotech.com/2017/10/note-4-sprint-sm-n910p-october-2017-ota.html

The real issue though is that even if I flash lineage it bootloops now unless I do a complete restore from twrp. In which case I don't have data due to not being able to update the PRL.
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
So what modem are you using for the trlteVZW now and how do you get and flash it?
[Galaxy Note 4 Android Development (Snapdragon)] fbarcenas:
as of this afternoon I upgraded to CQI2. You can download it here: https://androidfilehost.com/?w=files&flid=165424 just find the one that begins with N910V and download it. The you connected your phone to your computer in DOWNLOAD MODE and run ODIN, when ODIN comes up, just click on the PDA box and select this file. Make sure Repartition is

unchecked

, then click start. That's all there is to it. When It finishes it should reboot and just check under ABOUT what your new baseband says. It should end in CQI2.
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Yeah looks like N910TUVU2EQI2 is out for the TMO version too. And there are some new ones for the N910Fs.

Update: I have no idea if this is legit, but [MENTION=1586284]mdiaz33685[/MENTION] posted what is claimed to be the modem/HLOS etc. odin/heimdall stuff a few hours ago. Anyone know if it's what it says it is?
[Galaxy Note 4 Android Development (Snapdragon)] fbarcenas:
Yeah, that's going to make the TMO boys happy especially now that the data drops have been fixed and merged into the latest builds from what I understand.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
Tested latest build 10/24 build on my n910v. It is rock solid. I have tested the data drop issue through and through, and not a single data drop. Solid build. Thanks for all Devs making this happen.
[Galaxy Note 4 Android Development (Snapdragon)] mdiaz33685:
It came out on my son's Note4, so I went to sammobile and did my thing.. it's on my thread on T-Mobile Note 4, just didn't test the Rom, my son doesn't want me to mess up his games.

Never had issues making Stock Odex roms. So I should be ok, the firmware is their, BL and CP Odin Flashable
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
I am running Odin 3.11 I don't see a PDA

I see

BL

AP

CP

CSC

---------- Post added at 04:23 AM ---------- Previous post was at 04:15 AM ----------

Thanks used AP in ODin . Booted straight up to LTE.

Doing a speed check. I had terrible dropped calls, and no Bluetooth. Upgrading to the newest next. Thanks
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
the crazy firmware files and what they apparently do...

Gotcha. Good to know it's untested ;) Usually the following go together:

aboot.mbn, NON-HLOS.bin, rpm.mbn, sbl1.mbn, sdi.mbn, tz.mbn, and of course modem.bin. Was it ripee who usually will pull those from the rom? It might be smartest to update that group together. At least I'll try to do that.

In case anyone was wondering, here's what they are, according to this and other resources I found.

aboot.mbn - the android bootloader which I discuss about 6 posts up.

modem.bin - the firmware for the modem chip for 2G/3G

NON-HLOS.bin - 4G LTE modem stuff

rpm.mbn - Resource & power manager

sb1.mbn - a 2nd stage bootloader

sdi.mbn - transmission band info (?)

tz.mbn - ARM TrustZone partition (not timezone heh)

For those not using Odin (such as linux users), see the instructions at the bottom of this post about using Heimdall instead.

Oh, and let me also say why it's usually a good idea to update these files-- for one thing, they can affect some of the files in /vendor/* which should match the latest binary blobs (which are generally updated at the same time). In the past some of these files even changed names (keystore files for example) which broke older versions of cyanogenmod until the framework was fixed to look for both names.

There are bug fixes that may address modem connections or sensitivity or whatever, but the real reason to try to stay up to date on those + w/ the blobs is that there are known security holes that can be exploited through the modem or via wifi.

So update ...and hope it doesn't screw anything up!
[Galaxy Note 4 Android Development (Snapdragon)] galakanokis:
Really appreciate you sharing your knowledge. This thread has been very cool to follow especially over the past few days.
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
HERE is another method that [MENTION=6847876]_mone[/MENTION] had teaches us some time ago.

If you are on a working custom rom and just want to update your BL and CP, without changing anything in the rom , you can use this method:

Use any method to obtain BL and CP from the latest stock rom(samfirm, [MENTION=6005084]ripee[/MENTION] 's signature, [MENTION=4199005]SUREFACE[/MENTION] post in OP,your own way)

have in hand BLxxxxx.tar, CPxxxx.tar and TWRPtrlte.......tar(your models propitiate)

Get to download mode.

Put BL and CP tar in the propitiate odin's slot. Put TWRP in AP slot.

Uncheck AUTO-REBOOT .

Flash them all together.

When odin mark as PASS, unplug your phone and wait for 10 sec

Take off your battery and wait another 10-15 sec.

Put back battery and press the compination to boot in recovery (HOME+POWER+VOLUME UP)

Wipe cashe and Dalvik

reboot system.

This is the easiest way to update BL and CP and TWRP all at once.

BL or CP doesnt always flash. Dont give up , try some other time with some other compination.

PS. Refering to bootloop problems for Lineage new installations, is it possible that you use magisk as a root method in these attempts?

If yes, try to keep inbuilt Lineage root next time and see.

_mone 's original post with this method you can find here:

https://xdaforums.com/showpost.php?p=71645185&postcount=1640
[Galaxy Note 4 Android Development (Snapdragon)] teegale:
Weird issue but both the Amazon Shopping app and Amazon AppStore app force close like crazy.
[Galaxy Note 4 Android Development (Snapdragon)] mx-5driver:
[MENTION=6005084]ripee[/MENTION]

Hmm, as instructed I pulled that flid from the Browsers URL based on your Signature Link for the trltex.

flid there is: 225165

I entered that flid into the AFH Downloader Configuration, checked the Base URL is correct too.

However the AFH Downloader Screen stays empty - showing "Loading Site please wait ...."

Any Idea on what I may be doing wrong ?
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Ask the app's developer. androidfilehost.com displays that message on the desktop browsers as well since recently.
[Galaxy Note 4 Android Development (Snapdragon)] mx-5driver:
I tried the same with the ID from trltespr - that one seems to work ...

Well, thought you might have had an Idea - at least it was worth to try - so it seems you are facing the same Issues right now.

Of Course I know you are not affiliated to AFH Downloader at all - However you seem to be as lazy as I am and it was indeed a very handy Tool while it was working properly..
[Galaxy Note 4 Android Development (Snapdragon)] teegale:
It does that for me too sometimes. Just got to close out and try again later. It's not reliable 100% of the time.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
Perfection. No data drop on my note 4 n910v since flashing 10/24 build yesterday, amazing work. Thanks.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
It takes a while to open the list of files but it happens eventually. The next time you open the app after that, the files should appear quicker.
[Galaxy Note 4 Android Development (Snapdragon)] MonohexOS:
About the bug with the microphone...it seems to work though. google responds to my "Ok Google" but i have not tried anything else with the mic yet

(Just installed this ROM on my note 4 so i have not been digging into the system alot yet, but everything seems to work perfect so far!)

update:

Geekbench 4 crashes when the CPU test is done. something i just noticed
[Galaxy Note 4 Android Development (Snapdragon)] lbcoach3347:
I was about to try it. ????????
[Galaxy Note 4 Android Development (Snapdragon)] fbarcenas:
Is there a way to enable call recording? Lineage for note 3 has it. I miss it. [MENTION=6005084]ripee[/MENTION] or anyone?
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
[MENTION=6005084]ripee[/MENTION]

So I have installed the newest 10-24 ROM and applied the newest modem

So far it's awesome

Bluetooth works

Streaming audio all.day while driving works.

Unfortunately, I can get only 3g.

Any suggestions?

If you need a logcat,. How do I collect one ?

Currently my wireless network shows 123456 instead of Verizon.

I currently have a Sim from straight talk which runs Verizon.

Before I updated from 10 23 I got 4g

Any settings?

Just saw 10_25 build. Going for that
[Galaxy Note 4 Android Development (Snapdragon)] _mone:
It should be enabled from the next build.
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
Are you in 4g or lte? I seem to be stuck in 3g
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Q: did you install the matching NON-HLOS.bin w the modem.bin?
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
If you are able to edit the APN settings, make sure they're the same as these:

http://www.manual-owner.com/verizon-4g-apn-lte-settings.html

New 1026 with call recording are uploading now.

New N910P bootloader and modem

N910PVPU5DQI5_N910PVPU5DQI5.tar