yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] Praxxer1:
Willing to Pay for help on Kernel compiling for Lineage 15.1- Galaxy Note 4-SM-910T

Please Delete if Not allowed,

I'm at my wits end. I've scoured the internet and all sorts of different forums for weeks now, to no avail. I'm simply trying to add my device (Samsung Galaxy Note 4- SM-N910T- -trltetmo) to the lunch menu (i.e. breakfast trltetmo) when making a custom kernel for Lineage 15.1. I have the proprietary blobs from The Muppets Repository, but I'm not sure how to add the modified kernel to the lunch menu to finish compiling (running brunch).

My issue: I bought an external wifi adapter (Alfa AWUS036NEH) with a chipset (Ralink Technology Wifi Adapter RT2780) that supports monitor mode. When I make the kernel, I enabled support for the railink chipset, but again, I'm not sure how to add that image to the Lineage15.1 flashable ROM. Do I add it to vendorsetup.sh?

I'm willing to pay for any tip that leads me to successfully flash a modified kernel to my phone.

Build:

LineageOS 15.1, addonsu -15.1 arm, nethunter-generic-armhf-kalifs-full-rolling-2017.10-20171013-0449, and kernel-nethunter-generic-armhf-3.15.4-20170211-0304

The two guides I'm using:

https://null-byte.****************/...android-device-with-wireless-adapter-0162943/

https://wiki.lineageos.org/devices/bullhead/build
[Galaxy Note 4 Android Development (Snapdragon)] ninjasinabag:
https://source.android.com/setup/develop/new-device
[Galaxy Note 4 Android Development (Snapdragon)] htc-rocks:
​

I second this - I have been using this ROM as a daily driver for a few months and it has been solid! I had a couple of SIM deaths early on but can't remember when I last had one. "bluetooth stopped working" a few times a day but it always sorts itself out pretty quick (might be an issue if I used bluetooth headphones I suppose).

Only thing I miss is google pay. Oh and the gallery app crashes if i select "videos" - this might have been fixed since my 1310 build....

Awesome work - well done.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
The whole point of using a different toolchain is to see if this compilation technique would improve the kernel we build for Lineage as it seems to have done for the AICP kernel. If SIM death gets worse, I'll go back to the old way of compiling the kernel. If it improves, I'll stick with this way.

Please keep an eye on the SIM and report back any changes in the frequency of its death. ;)
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
You need to compile the kernel with it in the kernel, not a module. After you source everything, you may need to go to kernel in the tree and run make menuconfig which will create a custom config file. Msg me
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
I have serious problems finishing setup with the 02/1/19 version.

Rom was laggy, not able to complete initial setup, as it was stuck (twice) in searching for updates.

Eventually finished in third try, but was very laggy and UN-responding.

Then Play store started to crash, making impossible to update or install some apps to continue.

This was a totally clean flash, wiping and formatting everything(twice)

Used open gapps pico (latest 29/12/18) and magisk 18.

Then wifi started switching off immediately after I turned it on.

Sorry, but thats what I faced

The funny thing is , all that time sim was present and icon had full signal :)
[Galaxy Note 4 Android Development (Snapdragon)] FirebirdStud:
After lurking for quite a while, I took the plunge and installed this ROM on my Note 4 daily driver phone. I couldn't be happier!! I am thrilled to have an updated phone again.

Now, for some issues / questions I have.

I noticed it will drop data signal completely from time to time. I live in Colorado, but I didn't notice it here until I visited Orlando FL a couple weekends ago. I would look at my phone and it would show no data signal. This happened probably 15 times over 3 days. I couldn't understand why until I was in a store tonight in Colorado, looking at my phone, and I watched it switch from LTE to 3G, and then the data signal went grey. I tried toggling airplane mode, I tried turning off data and turning it back on, but nothing would get data to come back on until I restart the phone. Have there been any other reports of this or helpful ways to fix it?

Second, I am not getting any updates. My phone says November 24, 2019 - and last checked for an update just now. No new updates. Is there a setting I am missing to get any updates you are publishing?

Version currently installed:

LineageOS version 15.1-20181124-UNOFFICIAL-trlte

LineageOS API level llama (9)

Android security patch November 5 2018

Vendor security patch August1, 2017

Baseband version N910VVRU2CPD1

Kernal version 3.10.108-gdc4e4315 (gcc version 4.9x 20150123 (prerelease)

Let me know if you need any more identifying information.

Again, thank you so much for keeping this great phone alive for us all!!
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
don't use magisk 17. Rom comes with su, and magisk 18 has been reported to have many problems

1 flash rom. Boot test functionality.

2. Boot to twrp. Backup if u like it, then flash pico

Amy other thing you install after that needs to be tested one by one. Make sure you wipe dalvic after each install

Thanks

---------- Post added at 05:28 AM ---------- Previous post was at 05:23 AM ----------

1. Lineageos automatic updates wont work for unofficial roms. Since ripee compiles them , not them

2, This is my version of sim death, more like ril instability.

Try wipe telephony and update towers code from carrier. Also try apn reset.

Nothing cures it yet, that helps.

Also try newer / older modem , even reflashing existing modem. Tha helped me, because I backup modem in twrp and I probally had a write error

Tru another very good varient OF lineageos that's being build alongside ripee"s builds is , AICP .

Also, your 11/24 build is pretty old right in the ,middle of the sim death area, when I started testing AICP

I reccommend aicp as a daily driver and test these new builds 2019 and up. So fare 010119 has been awesome

---------- Post added at 05:38 AM ---------- Previous post was at 05:28 AM ----------

Also check your temp while flashing, this is the similar problem I had. I had heat death and had to replace my mobo.

Flashable memory has a write to mamimum lifespan. It took a while on my searching for updates till I swiped and hit the back button. Try that, and don't use magisk 18. 17 at the most

---------- Post added at 05:41 AM ---------- Previous post was at 05:38 AM ----------

Did u ever use that sim in another device? Ever? That may be the cause. They should send. U a new sim for free. Also google fi will send u a sim and they use us cellular sprint and tmobile. Test it out with a different carrier.

Firs try wipe telephony provider , tower update, etc...
[Galaxy Note 4 Android Development (Snapdragon)] logosA:
I know all about that bug, believe me.

I have already change my motherboaard once.

I was straggling almost a year with emmc problem, as I bought Note 4 second hand, damaged already.

I didn't know at the time what was the problem and I found out the hard way.

I believe I have read every possible thread and post about it in XDA and not just here.

I have even invented the ice block ''cooling system'' while flashing a damaged emmc :)

So , now the first thing I check is temperature of the motherboard while flashing and pay much attention when some task is taking more than expected time.

Thanks for noticing, but I think I got this :)
[Galaxy Note 4 Android Development (Snapdragon)] FirebirdStud:
Thank you for the response.

I didn't realize that unofficial ROMs were not automatically updated.. sorry for the newb issue.

I also didn't know that the losing data signal is what SIM death means. I spent 4 days reading everything I could find on this topic, and never had that sink in. Thanks for clarifying.

I will research how to wipe telephony and APN resetting.

Looks like I also have to figure out where to find older/newer modems, and then how to reflash them properly.

I remember seeing AICP in my research, but I thought people pointed to this OS as being better for a daily driver. That is why I tried this one.

If I were to update to a newer build of LineageOS, do I have to completely start from scratch again? I f*ing hate having to set up my phone again. I have too much **** on it as it is a daily driver that I don't want to keep doing this. I want one that is "do it once and forget it." Maybe I don't have that luxury with such an old phone.. I don't know.:confused:
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
Thanks for your newb question. In learning all the time too.

Ok. Daily driver and new ROM test.

1. Before u do anything update your twrp.

2. What su do you use and version . do NOT use magisk 18 yet in your upgrade . stay with lineageos su or magislk 17 .

3. Perform a weekly full twrp backup. With modem bootloader etc , 256 GB SD SAMSUNG EVO select ( green in color ) are about 50 bucks amazon

4. Look for a stable version you want to test. [MENTION=6847876]_mone[/MENTION] is building deliberate stable builds with AICP on his thread. Last two have amazing battery life. Linearo toolchain compiled kernel. I have not had to tweak anything.

5. Migrating. In have not found a better app than My Backup Pro. The paid version is awesome, and a way to support this .

I also have the full paid for version of Titanium backup pro. They both have their pluses, but My Backup Pro will migrate apps across devices LIVE wirelessly.

Since I test [MENTION=6005084]ripee[/MENTION] 's lineage os builds for here on my 710v and his tabS2 builds , and [MENTION=6847876]_mone[/MENTION] builds of AICP,

I have a couple of must have 2 GB programs I need and they migrate from one to the other flawless .

plus I can upload backups to a network drive using sync me wireless. It just works.

In summary

1. Full backup in twrp. Save to sd card or otg back up your apps.

2 Back up your apps off device in case your SD card is old and gets zapped. I have a little otg adapter for game cameras SD card / microsd / USB 3.0 adapter works great.

3. Use a good backup plan and programs.

Titanium backup, my backup pro , and sync me wireless

4. Watch for signs of heat death or age death while flashing. Flashing not completed, flashing new ROM doesn't behave in installing etc.

5 be prepared to post logs. It helps . if you complain and don't post logs , devs can't really help. If lots of people complain about the exact same thing then they MIGHT look into it , but no logs, no help.

6 . research posting radio logs. AICP has a full log posting program built in.

7. Be aware by reading the OP, is its really close.

8 . non google play store apps are having really good open source programs that are available on Linux being ported to android. Fdroid is one. Keep a copy of that handy in your downloads or other app stores.

Lastly my opinion. Try them all. Migrate you apps to what you like. Always with lineageOS download the newest .

To save time and sanity,

Do the above, and install on this method.

Install just the ROM. Test the AOSP included programs like camera. Of the basics work, like phone, WiFi etc,

Reboot to twrp backup the base install.

then install JUST pico gapps . other version of gapps can have problems with the dialer . the AOSP dialer works just fine.

Then migrate. thanks for reading.

tripLr

---------- Post added at 08:06 AM ---------- Previous post was at 08:03 AM ----------

Sorry, I didn't see it was you when I posted. Your one of the dudes I learned from sorry

.he he.
[Galaxy Note 4 Android Development (Snapdragon)] slarti76:
What's your reason for that recommendation? I've been using Magisk 18 without problems - but granted, Note4 is not my daily driver. I use it for holidays, so then it suddenly becomes my daily phone, so i don't want to run into unexpected problems at the worst time...
[Galaxy Note 4 Android Development (Snapdragon)] Arlos:
Battery Drain when Powered Off

I'm experiencing battery drain when the phone is completely powered off. Is anyone else having the same problem?

I only just noticed the battery drain when I powered off my phone for a few days over the holidays. I'm using the December 22nd ROM. The drain is approximately 25-33% per day. After about three days the battery is down to 0% power even though the phone has been completely powered off and not used. I never had this problem with the stock ROM .Is anyone else having the same problem?

I'm upgrading to the latest ROM today (January 4th) to see if this might fit the issue.
[Galaxy Note 4 Android Development (Snapdragon)] slarti76:
Has been covered here before -> https://xdaforums.com/showpost.php?p=78414202&postcount=4101
[Galaxy Note 4 Android Development (Snapdragon)] 73sydney:
[MENTION=6847876]_mone[/MENTION] [MENTION=6005084]ripee[/MENTION]

Running 0102 with older modem on 910G, using kernel included in ROM....NOT using [MENTION=6847876]_mone[/MENTION] 's aicp kernel as I would usually flash after flashing LOS

Very stable, rare Sim death

Interestingly my recent flash path was:

1225 - rare Sim death

1231 - really bad Sim death

1225 - rare Sim death

And then to 0102....

[MENTION=5330819]tripl_r[/MENTION]

Have been using magisk 18 since release, so a month or more now, zero issues at all, and I load about 8/9 modules
[Galaxy Note 4 Android Development (Snapdragon)] Arlos:
Thanks for the link. I'll try and see if this works, which as I have read is to:

1. Power off phone

2. Plug in power cord/adapter

3. Wait for a few seconds and unplug cord/adapter.

Keeping my fingers crossed that this works and that the battery will hold power while the phone is off.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Thank you for this detailed data! Is your modem QA1? Has the recent modem I posted been less stable for you since 1230?
[Galaxy Note 4 Android Development (Snapdragon)] slarti76:
NOPE! Switch 1 and 2, i.e. phone must be plugged in while powering down.
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
Ok, I think most of the magisk problems is because people loaded up plugins. I only use magisk for root. In have not played with it, but you will see in many forums magisk caused problems when the upgrade occurred. How its installed and how its used looks like a big part.

I'm of the opinion, keep it simple. Since in used to work in Microsoft customer service I see the same issues here. One software package, here , a tweak there, and an update there, and people blame or think the os/developer/ is responsible, when its stack of cards instability when too many changes are made.

Some day someone will make a android image bootable across networks, and what you see is a desktop load up off your server. They do that with servers. And the google go products. Server based software. What you see is a web interface. Were close to that now with some apps . caching all the data on the device, but the server runs the software.

Why ? Stability . just a thought. I use magisk 17 until I see 18 be stable
[Galaxy Note 4 Android Development (Snapdragon)] tekweezle:
I am on an older version from September and I get that behavior of battery depleting completely when powered off.
[Galaxy Note 4 Android Development (Snapdragon)] tullian:
Not quite sure which modem you're thinking of but this is my recent experience:

Flashed your DRI2_DQL1, then AICP 1223 and using its own kernel. One sim death during setup, then stable.

After 9 days I flashed the Devtec kernel from RR 6.2.1. No sim death.

Makes me think that modem and kernel may (!) not have as big an impact as I had thought. It may be something else. Of course, as always, just a hunch.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
I meant the one that is in my .BL_CP folder now, but thanks anyway for this info as well.
[Galaxy Note 4 Android Development (Snapdragon)] tullian:
That's the one I'm using now. Should have added that I used that before with earlier versions of AICP but the combos weren't terribly stable then, which made me trying older modems with some success.
[Galaxy Note 4 Android Development (Snapdragon)] 73sydney:
Yup, on QA1, I've tested going to latest modem and back (just flashing modem files from self extracted files from my local stock ROMs) on the mentioned builds, and QA1 always performs better, less Sim death. In the 0102 build I've yet to have a single Sim death....
[Galaxy Note 4 Android Development (Snapdragon)] micky387:
Hello guys.

Happy this new [MENTION=6005084]ripee[/MENTION] 's build working now.

:p

You can use f2fs on /data and /cache.

it's deprecated now on /system and it does not make sense ;)
[Galaxy Note 4 Android Development (Snapdragon)] micky387:
I have added WIP in title To avoid comments that come back all the time

Progress: fingerprint come back but not working. phone bootloop... Need an hard reset to fix it :silly:
[Galaxy Note 4 Android Development (Snapdragon)] Chidori597:
Build 320 running fantastic on my R4.

[youtube]4YiqzH6kq84[/youtube]
[Galaxy Note 4 Android Development (Snapdragon)] johnbelloh:
0320 build

I just flashed 0320 over 0316. ES file Explorer crashes with 0320 and works with 0316. Also front camera crashes on 0316 but now rear camera crashes on 0320. I need at least the rear camera as a daily driver. Will go back to 0316 until camera fixed. Other than that thanks for a great rom.
[Galaxy Note 4 Android Development (Snapdragon)] AndroSysQ:
I did a fresh install from Playstore and it did not crash i also flashed 0320 over 0316.
[Galaxy Note 4 Android Development (Snapdragon)] gtoussai55:
Installed build 0320 on my N910F by dirty flash over 0316. Just wipe cache and Dalvik. No bootloop no error message during first reboot.

Fingerprint not available. Bluetooth range not better that is to say about 5cm.

Anyways to system is very smooth and works perfectly as a daily driver.

Many thanks to all the devs for the maintaining of a 4 years old device!

Can't wait for treble support to get OTA update.

For VoLTE and VoWiFi I think that it will never be supported even if the S805 and my carrier support it :(
[Galaxy Note 4 Android Development (Snapdragon)] stefans37:
Thank you devs for your hard work. I really like this rom. But BT is still not working for me. I hope you can fix it :) Greets
[Galaxy Note 4 Android Development (Snapdragon)] johnbelloh:
I am using N910T. I have a nandroid backup of 0316 and will try flashing 0320 again.
[Galaxy Note 4 Android Development (Snapdragon)] Eun-Hjzjined:
Been lurking for the last few builds until now...

Clean flashed with pico mind the gapps

320 build boots and runs.

tested working : wifi [2.4 and 5ghz], hotspot, cellular, nfc.

I've been waiting till bluetooth works well enough... not a care from me about camera, gps... not something I care so much about so you wont hear any of that from me, other than flashlight [torch] toggle from power button when screen is off, results in a lockup and reboot.

So on to the bluetooth. As stated before by a previous post [or ten] bluetooth range is fairly weak [30cm would be generous] , however if wifi hotspot is enabled bluetooth range increases to working/acceptable operation.

Looking forward to more and specifically bluetooth fixes in future updates.
[Galaxy Note 4 Android Development (Snapdragon)] Cyberdutch:
Dirtyflashed 0320. ES file Explorer and Camera are working just fine.

Verstuurd vanaf mijn SM-N910F met Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] Nikiosna:
Tried to flash 0320 on my N910F trltexx. But twrp fails with error 7.

I tried to update twrp but that doesn't helped. Has someone a tip why twrp doesnt recognize my trltexx?

A few day ago I'm flashed successfully mickys 0316 build.
[Galaxy Note 4 Android Development (Snapdragon)] johnbelloh:
It must be unique to the N910T. Based on your results. I just did a complete wipe and clean install using 0320 resulting in the same problems. I will reinstall 0316 and wait for a later update.
[Galaxy Note 4 Android Development (Snapdragon)] TrypelZ:
Can someone do me a favor and look if tap titans 2 is working? On mickey's build almost all my games crashed on startup.

Thanks im advance
[Galaxy Note 4 Android Development (Snapdragon)] reza9233:
External sd card files

Hi and tanks devs for great work:good:

My external sd card files have been lost when I was flashing this rom :confused:
[Galaxy Note 4 Android Development (Snapdragon)] TheFingers:
Yes, just installed it and it ran fine after crashing on first open.
[Galaxy Note 4 Android Development (Snapdragon)] rapidswing:
Which version of TWRP did you update to? I got the same error on my N910V until I updated TWRP using twrp-3.2.1-0-trlte.img from the link in OP.
[Galaxy Note 4 Android Development (Snapdragon)] Darthsternie:
The 0320 ROM is working pretty damn fine and smooth so far but I noticed that Video's embedded in the Twitter App can no longer be watched and just load forever.
[Galaxy Note 4 Android Development (Snapdragon)] dodo-j:
You must use TWRP 3.2.1. On TWRP 3.0.2 or lower can not build 20180320 to run and show error 7 .:good:

N910F work.
[Galaxy Note 4 Android Development (Snapdragon)] smartidoos:
Wow, downloaded the wrong version, the 15.1 in stead of 14.1 but it's working great, thx Mickey387 for your eforts,

Everything works for me, acept Netflix I don't see it in the playstore for the 15.1 version

But Thank you very much.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Install Android System WebView from the Play Store and select it under WebView implementation in Developer options, or if you're using Chrome, select that under WebView implementation.

You have to sideload it, for example from apkmirror. My builds have lineage su included, which is enough to fail SafetyNet that prevents Netflix from appearing in the Play Store. This has to do with Netflix's worry that any videos downloaded for offline viewing could be hacked and pirated if your device is rooted. On a positive note, Netflix works perfectly well when sideloaded.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Latest N910G bootloader with QA1 modem

N910GDTS1DRH2_N910GDTS1DQA1.tar

This should improve everyone else's SIM death.
[Galaxy Note 4 Android Development (Snapdragon)] 73sydney:
[MENTION=6005084]ripee[/MENTION]

Some more simple death debug info for you, fwiw

Last time I was saying I had little/no Sim death 9n 0102 with stock kernel (and old modem) ....then I tried 0105 and it all went to hell lol

Couldn't get 0105 to stay up for more than 30 minutes at a time, tried flashing back to 0102 (clean) but could never get the previous 0102 stability back...even with FULL wipes, data formatting AND refashing modem (my zip or yours).

Maybe the previous 0102 stability was a fluke...

Yesterday I spent the day trying 0107 build, but even more unstable...

Finally a few hours ago I went back to 0102, reflashed my modem (again, for 30th time), and flashed [MENTION=6847876]_mone[/MENTION]s's aicp kernel linked in the OP (which you may remember previous to the stock 0102 kernel, I'd been using, and partly why you'd linked it in the OP)

I did not try _mones kernel with the 0105 or 0107 builds as I was both trying to provide feedback on the stock kernel since you changed the way you built them, and because of that (perhaps lucky, one off experience with 0102) I thought perhaps the stock kernels would work....

With _mone's aicp kernel 0102 is back to being relatively stabl-ish..at least if the sim dies, it comes back up without me rebooting or trying RIL Control app usually...so it's working, as this message is being done on it...for most of the day ive had no useful Sim while testing :)
[Galaxy Note 4 Android Development (Snapdragon)] roksy68:
I have used AICP rom 8.1.0 for several months and never had any sim-death? it's working real smooth on my 910F ?