yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Exynos)] Shirokunz:
hey [MENTION=231885]anan[/MENTION] i found out that we can use galaxy tab s2 ril(i extracted from Los 15.1 for tab s2 gts28ltexx) instead and for me it fix the ril hit and miss bug but sometimes after restarting your phone ril didnt detect sim or get urgent call only|(Provider name ex:Telkomsel or in this case Smartfren) it can be fixed by restarting your phone once again

tested on:

Galaxy note 4 SM-N910H(tre3gxx)

Rom:LOS 15.1 20190611 (experimental build)

so far nothing is bugged or make phone unusable it that rom with that mod but for camera:Dont rotate phone while camera apps is still loading or the camera will look like sterching to the screen

oh fun fact: got 4g on my phone too xD

and here is the link of the rom

xdaforums.com/tab-s2/orig-development/rom-lineageos-15-1-20180424-t3781968

rom made by bonuzz

also if you can extract it the libsec-ril,so is in vendor isntead of system folder

also after replacing ril with this be sure to wipe dalvik/cache and cache in twrp before restarting again

i hope this help and works :)
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
RIL is fully fixed on lineage 16. No more hit or miss bull****. the actual issue was identified and fixed thanks to commits Stricted told me about.

I might release a build later today, I will need to do some cleanup first. no promises as my server has less than few hours of work left in it. but ill try my best.

The build will ONLY target N910C and N910H. Other variants will follow later after i finish dealing with some OMX crap.

For Progress on Lineage 15 > Lineage 16 . Follow the commits in : https://github.com/Exynos5433
[Galaxy Note 4 Android Development (Exynos)] sinaanhussain55:
Thank you so much anan. You really worked hard this means a lot for note 4 users. Waiting for ur work to be released :good:
[Galaxy Note 4 Android Development (Exynos)] slayer1907:
We are looking forward to your update [MENTION=4637718]ananjaser1211[/MENTION] bravo ?
[Galaxy Note 4 Android Development (Exynos)] Prometheus2017:
Is it support n910u?
[Galaxy Note 4 Android Development (Exynos)] Rasoir:
No!
[Galaxy Note 4 Android Development (Exynos)] sky104hk:
wifi NOT working in N910S, any solution?
[Galaxy Note 4 Android Development (Exynos)] mamoonkhan12:
Lineageos 15.1

I just flashed the rom and it was successfula and i did everything correct but still stuck at android screen and not boots up needs your help

my phone is sm-n910k
[Galaxy Note 4 Android Development (Exynos)] Voytec83:
Build version??
[Galaxy Note 4 Android Development (Exynos)] sky104hk:
Both stable build 0608 and experienmental build 0618 is not working....the WiFi knob cannot turn on at all.

Maybe a WiFi patch might help?
[Galaxy Note 4 Android Development (Exynos)] Voytec83:
As I read the thread, it seems like few other users had wifi problem as well. And as it stays in 1st page, for such issues saying 'WiFi doesn't work, need help' or asking for 'some mystic wifi patch', won't help without proper logs...

Please join to our Tele channel, where users may help more precise and hopefully faster.

---------- Post added at 10:10 PM ---------- Previous post was at 10:08 PM ----------

Same answer as above - logs need to follow such statements. Else there can be like 100 different reasons why rom doesn't work.
[Galaxy Note 4 Android Development (Exynos)] Shirokunz:
if P Has been relased i will downloaded it at least android O is good enough for now also i will test if i can use some tab s2 lib again in O rom for fixing Bluetooth(its for temporary fix while waiting you relased P rom)

i want to quote anan but xda labs make my post failed to posted

also it seems the telegram public chat link is dead
[Galaxy Note 4 Android Development (Exynos)] Gentlemenc:
Great thanks for Ananjaser for his project.. Where is the latest build file that I can downloading
[Galaxy Note 4 Android Development (Exynos)] pol-der:
Thank you very much [MENTION=4637718]ananjaser1211[/MENTION]

We are looking forward to your update for N910C and N910H :good:
[Galaxy Note 4 Android Development (Exynos)] kepke:
I'm so excited for this ROM, i'm using N915K.

I too have problem with WIFI and RIL. I really want to help, let me know where i can get the logs and where to post them.

Also maybe it will be a good idea to post this ROM also in the GALAXY NOTE EDGE forum.

Thanks again for the amazing work
[Galaxy Note 4 Android Development (Exynos)] Shirokunz:
good idea since note edge forum just have snapdragin variant rom so it will be some light
[Galaxy Note 4 Android Development (Exynos)] man9k:
With new firmware I have dramatically speed drop on my sd card in some apps. My music and photos are loading with such a big delay like 20 times slower than on previous firmware. And no, sd card is not dying, it still shows ~80 MB/s read, ~10 MB/s write in SD Card Test (no errors and no sudden unmounts). Google says it's android 11 issues, I still can't find how to fix it.

update:

seems like this command fixes the problem, but can break some apps too, at least my music loads as usual

setprop persist.sys.fflag.override.settings_fuse false

then reboot

use adb or termux (su command to login as root on rooted device)

update2 fix inapp gallery and file access after setprop for apps like whatsapp (from reddit):
[Galaxy Note 4 Android Development (Exynos)] Kylezkie051:
I cannot connect to wifi and im using N910C.. tried to reflash still the same. I have not experienced this on the previous build.
[Galaxy Note 4 Android Development (Exynos)] MartinLGore:
Dear @ananjaser1211 I have installed the latest ROM on my N916K but at the end of the install it reboots back to the recovery, I have of course wiped the System, Data, Dalvik & Cache & at the end of the install cleared the Dalvik & Cache after installing the rom. I have returned back to Dec 2022 release which was working fine till I get your reply.
[Galaxy Note 4 Android Development (Exynos)] MartinLGore:
@ananjaser1211 dear kindly be informed that there is an update for the N916K Bootloader/Modem/CSC to N916KKTU2DVG1 that was released on 18 Aug 2022, can be downloaded from here:

N916KKTU2DVG1 Bootloader/Modem/CSC
[Galaxy Note 4 Android Development (Exynos)] MartinLGore:
Flashing the below voice fix from here partially fixes the metallic / robotic sounds on my N916K, maybe this could help you find a complete solution for this issue.

VOICE FIX FOR N910S/K/L N916/S/K/L FOR ALL STOCK AND NOTE 7 PORT ROMS MARSHMALLOW by truongtan86 Android v6.0.1

THIS WILL FIX THE ECHO NOISE DURING VOICE CALLS.

WHEN YOU FLASH VOICE FIX IT WILL START AROMA INSTALLER TO FIX VOICE CALLS.

~~~~~~~~~~~~~~~~~~~••~~~~~~~~~~~~~

FOR N916K AND N910K>>>SELECT N910K MODEL IN AROMA TO FIX VOICE CALLS

FOR N916L AND N910L>>>SELECT N910L MODEL IN AROMA FIX VOICE CALLS

FOR N916S AND N910S>>>SELECT N910S MODEL IN AROMA TO FIX VOICE CALLS.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Originally posted by Trex888 here:

https://xdaforums.com/t/guide-how-to-flash-any-n910c-rom-on-n910s-l-k-n916k-l-s.3663053/

I mirrored to the deleted file here:

UPLOAD.EE - File does not exist

File does not exist. Upload.ee

www.upload.ee

There is also another fix

VOICE FIX FOR N910S/K/L N916S/K/L FOR NEMESIS REFINED ROM MARSHMALLOW ONLY by ELITE TEAM

I mirrored to the deleted file here:

UPLOAD.EE - File does not exist

File does not exist. Upload.ee

www.upload.ee
[Galaxy Note 4 Android Development (Exynos)] godzellax:
Hello Sir

Thank you for your great efforts. I have sm-n910c, I was on latest official Samsung XSG region until I flashed latest updated version of your custom ROM. The only issue I have which is somehow unusual, that WiFi couldn't find any available network.

I temporarily fix the issue if I turn on airplane mode, restart the phone, connect to WiFi network and after that disable the airplane mode but the issue will occur again if you lose WiFi connection so you have to repeat the steps again and again.

Another workaround is to remove the Sim card and reboot and lose the phone calling function which is unacceptable.

I'm certain sure the issue is because of the phone network which is somehow break the WiFi functionality.

I flashed the XSG official ROM then flash your custom ROM again but no luck.

I tried an old versions of your custom ROM and no luck again.

It seems its because of CSC or BL partition which comes with XSG official ROM.

I flashed latest CSC and BL images for my mobile model as you suggested in your main post but no luck also.

After reading replies on your post, I found some people facing the same issue. It seems only some specific official ROM regions making the issue happen.

Imaging that I tried other custom Roms like google pixel and RR Roms and I face the same issue so I figured out that it is not because of your ROM but I'm sure because of the official CSC and BL images which Is leading for the issue on some regions.

Can you please help me, can I flash another region of CSC and BL images in order to fix the issue and if that is true, would please tell me which region is confirmed to be working with your custom ROM.

Thank you so much Sir.
[Galaxy Note 4 Android Development (Exynos)] retiredtab:
This is the scoped storage at https://source.android.com/docs/core/storage/scoped

It's significantly slower than previous versions by a factor of 10x or more for some apps. We have the same complaint about it for S2 tablets in 18.1 and the workaround prop provided restores the speed.

That workaround prop doesn't work in 19.1 or 20. I found a commit that tries to reintroduce that workaround prop in 19.1, but it didn't work according to my tester. Hopefully, apps that have this severe slow down problem will be re written as per below so they are "performant".

== snip from URL above ==

"Privacy over performance

On devices that have been tuned for FUSE, most critical user journeys are equally performant between Android 10 and Android 11. However, when testing benchmarks over a set of file operations, Android 11 might perform worse than Android 10. For file access patterns that perform worse in Android 11 (for example, random reads or writes), we recommend using MediaProvider APIs to give apps a non-FUSE access mode, which is the best and consistently performant option.

Note: While Android is committed to resolving performance regressions that affect user journeys, we strongly believe that the privacy benefits of scoped storage in protecting sensitive user data outweigh performance penalties."

== end snip ==
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
So "works as expected", bummer. thanks for the explanation!
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
A quick update, while going through the reports on github i found a report about GPS which previously didnt make much sense, but it seems to be a bug i have already faced in other devices last year, its related to GPS time 10-bit rollover, and i thought the note 4 did not get updated to fix it, however it turns out it did, and the update was an OTA ONLY update, so there was no new "firmwares" to download from samfirm, the updated GPS blobs fix the rollover bug and double the GPS accuracy, as it can utilize more GPS satalites now, further more, apps that rely on GPS Time will now work again, for more details read https://github.com/universal5433/android_device_samsung_trelte-common/issues/32

i will patch the new blobs and push them in the next lineage update

the samsung OTA is N910CXXU2DVG1
[Galaxy Note 4 Android Development (Exynos)] godzellax:
@

[log_ball.zip](https://github.com/universal5433/android_device_samsung_trelte-common/files/12307016/log_ball.zip)

Here we go Sir. I hope the log will be useful and lead to fix the issue once and for all.

I tried to cover all scenarios while recording the log, switch on/off WiFi and airplane mode one after another.

God bless you, I'm not a developer but I'm sure the issue is not easy to fix but I hope you will be our hero and fix it.

P.S I'm ready to help at any time, thanks.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
I might have found the coloration between your issue and the other person on telegram, both use syrian revision (possibly the wifi chip gatherers it from Mobile network)

It seems that the ROM sends a request to to set the country to SY

08-10 00:14:38.953 16670 16670 I wpa_supplicant: wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=SY
08-10 00:14:39.020 0 0 I : [c3] WLDEV-INFO) wldev_set_country: Current country SY rev 0
08-10 00:14:39.021 0 0 W [c1] wl_android_priv_cmd: fccpwrlimit2g is deactivated
08-10 00:14:38.960 4824 5809 D WifiCountryCode: Succeeded to set country code to: SY

On my device however, it sets to "WLDEV-INFO) wldev_set_country: set country for AE as AE rev 6"

i dont know exactly what this revision entails, but it seems to be something to do with TX/RX Power regulation,

Anyway, after that we get this error

08-10 00:15:34.861 4300 4300 D WifiHAL : Start get packet fate command
08-10 00:15:34.862 4300 4300 D WifiHAL : createRequest Monitor packet fate request
08-10 00:15:34.862 4300 4300 E WifiHAL : Failed to register get pkt fate response; result = -95

and the wifi chip restarts, and so on and so fourth,

I think, when the region is set to SY, it disables packet filtering, which seems to be required by the ROM , and thus errors out wifi when a sim is installed or ccode=SY

08-10 00:15:34.959 0 0 W [c6] dhd_wl_ioctl: WLC_SET_VAR: pkt_filter_add, ret = -2
08-10 00:15:34.959 0 0 W [c6] net_os_enable_packet_filter: val = 1
08-10 00:15:34.960 0 0 W [c6] dhd_set_suspend: Remove extra suspend setting
08-10 00:15:34.960 0 0 W [c6] dhd_enable_packet_filter: enter, value = 0

my device on the other hand reports dhd_enable_packet_filter as 1

this weekend ill wrap my head around the issue, and i think this time i might be able to solve it, hopefully.

Thanks for the very valuable log.
[Galaxy Note 4 Android Development (Exynos)] godzellax:
OMG! You shocked me. However, please note that I purchased my mobile from UAE, but I'm being in Syria.

I didn't tried before any custom ROM while I was in UAE so I don't know if WiFi issue will happen only in Syria but at least I know that my phone customized to work in UAE because I purchase it there.

But what you are saying might be true and maybe explain why the issue gone if I remove the sim card.

As suggestion, can we spoof WiFi to think that I'm not in Syria and will it solve the issue.

I cannot imagine the issue because of my country cell network provider! Very weird Sir.

Please help us Sir, you are only our hope in such poor country.
[Galaxy Note 4 Android Development (Exynos)] godzellax:
It seems its and issue with the WiFi country code as you suggest, can you check please the following links, I think it might help:

https://stackoverflow.com/questions...bile-country-code-mcc-in-the-android-emulator

https://xdaforums.com/t/app-beta-root-4-wifi-codes-change-country-codes-enable-wireless-channels.1982149/

I found some people taking about finding some custom Roms for their different phones have WiFi advance settings as an option to change WiFi country code, they have the exact issue and confirmed that it is because of the their country block the wifi somehow and they confirmed that they solve it by changing or spoofing the wifi/telephony country code, can you check that Sir.
[Galaxy Note 4 Android Development (Exynos)] godzellax:
Moreover to above, please note that I changed some wifi prop through commands as you see in attached screenshot but unfortunately didn't help.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Hello everyone, working on the next update, this latest OTA revelation reveled alot of things that will help, the next update will have proper GPS, and hopefully safetynet will pass by default with no magisk modules required, previously i thought the fingerprint expired, however that was not the case, the OTA-only update had a new fingerprint

Further more the above mentioned wifi scanning bug will be solved, as we will go back to the old wifi driver which is more stable

I do have a problem however, the latest note 4 firmware (N910CXXU2DVG1 , N910HXXU2DVG2 and N910UXXU2DVG1) are only available via OTA, the rest such as N910SKSU2DVG1 etc can be downloaded from samsung.

i flashed stock and then did an OTA update to N910CXXU2DVG1, the bootloader was also updated to N910CXXS2DRL1 but i can fetch that from samfirm, however i cant download the latest modem for N910H

i would like to ask for users on N910H to do the following :

Flash latest stock via odin > perform OTA update > reboot to download mode and re-install TWRP > backup modem/baseband in TWRP (NOT efs) and upload it here or to my PM (this will likely need a full internal storage wipe, or atleast wiping of /data , what i did was perform a nandroid backup on lineageOS before hand to restore to it)

i did that for my N910C and i will work on a way to incorporate it into a flashable ZIP, but i cant do the same for N910H as i dont own it

or maybe if someone has a way to download these firmwares that would also be great

N910HXXU2DVG2/N910HOJV2DVG2/N910HXXU2DVG1/N910HXXU2DVG2

N910CXXU2DVG1/N910COJV2DVG1/N910CXXU2DVG1/N910CXXU2DVG1

as based on samsung fota xml these are only OTA's, maybe kies or smartswitch or whatever it is called can fetch it ? i dunno im open for ideas
[Galaxy Note 4 Android Development (Exynos)] guestvl:
Как получить файл обновления FOTA? Сначала проверяем наличие обновлений через настройки устройства, получаем сообщение, что обновление действительно есть и готово к загрузке. Мы загружаем его. После успешной загрузки обновления на устройство не даем смартфону сразу перезагрузиться и пытаться установить обновление, так как часто после успешного или неудачного процесса дистрибутив уже будет удален, и нам нужно успеть его вытащить вне. Для этого потребуется какой-нибудь файловый менеджер, умеющий работать с корневым разделом. У вас есть права суперпользователя? Мы обычно используем Solid Explorer. Приложение платное, но с пробным периодом, поэтому, даже если вы не приобрели лицензию, для разовой акции тоже вполне подойдет. Заветное обновление.

А вот и файл для SM-910C: update.zip.

обновление.zip

update.zip - Mirrored.to - Mirrorcreator - Upload files to multiple hosts

Securely upload your files, media and documents to more than 30 cloud storage providers simultaneosuly. Remote Upload files to Google Drive and many other hosts.

www.mirrored.to
[Galaxy Note 4 Android Development (Exynos)] guestvl:
So you can get Fota for other variants of the SM-910
[Galaxy Note 4 Android Development (Exynos)] guestvl:
Photo update from phone
[Galaxy Note 4 Android Development (Exynos)] MartinLGore:
@ananjaser1211 Mirrored over here for u, 10 Hosts please pick anyone that is working for u :)

fix_noise_during_call.zip - Mirrored.to - Mirrorcreator - Upload files to multiple hosts

Securely upload your files, media and documents to more than 30 cloud storage providers simultaneosuly. Remote Upload files to Google Drive and many other hosts.

www.mirrored.to

Fix_call_noise_6.0.1_N910_916_SLK.zip - Mirrored.to - Mirrorcreator - Upload files to multiple hosts

Securely upload your files, media and documents to more than 30 cloud storage providers simultaneosuly. Remote Upload files to Google Drive and many other hosts.

www.mirrored.to
[Galaxy Note 4 Android Development (Exynos)] MartinLGore:
Sure I will try to help testing but the problem is I can't install the latest version as posted in my quote above.

I have also mirrored the N916K Bootloader/Modem/CSC to N916KKTU2DVG1 that was released on 18 Aug 2022, which can be downloaded from here:

[ROM]_[Latest]_N916KKTU2DVG1.rar - Mirrored.to - Mirrorcreator - Upload files to multiple hosts

Securely upload your files, media and documents to more than 30 cloud storage providers simultaneosuly. Remote Upload files to Google Drive and many other hosts.

www.mirrored.to
[Galaxy Note 4 Android Development (Exynos)] MAOQ:
Hello. Good people, does 18.1 work on the N910C?

In earlier versions, the voice for the interlocutor was not very audible.

That is, they can be heard, but my voice was barely audible.

I want to try it, but if there is such a problem, then it’s better to stay on eRobot v1.2 :)
[Galaxy Note 4 Android Development (Exynos)] ELNİNO06:
Samsung Note 4 SM-N910CQ (Exynos)

Wow this is the best rum I've ever tried, everything including network wifi nfc bluetooth is fine and the phone has gotten a lot faster. Thank you guys

There is only one problem, the spen works, but when I take the pen out of the slot while the device is locked, the note-taking screen does not appear.
[Galaxy Note 4 Android Development (Exynos)] dave457:
LineageOS 18.1 for the Samsung Galaxy Note 4 (N910C/H/U/S/L/K | N915S/L/K | N916S/L/K)
[Galaxy Note 4 Android Development (Exynos)] MAOQ:
Hello. I wonder if the interlocutor hears you well in WhatsApp?

I mean without a headphone, through the speaker.
[Galaxy Note 4 Android Development (Exynos)] kubuh1l:
I'll download files to customrom'ing my note 4 n910c :) thanks for your hard work. Keep it up :D
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
One of the most complete ROMs is Refined Nougat N7FE Port, if Android 11 can be used with this ROM, most of its problems will be solved
[Galaxy Note 4 Android Development (Exynos)] Buratei:
Likewise on my N916-L. I happened to have a N910K as well, which works fine with the latest iteration. So that makes it at least two of us, probably something N916-specific. Glad to know the Dec 2022 release works fine, I am off to download that binary!

EDIT: I am happy to report back that the Dec 2022 version works mostly, apart from random app crash when browsing through system settings. Since I am using the phone for car nav/hud/torque/tasker duty only, it doesn't bother me all that much.
[Galaxy Note 4 Android Development (Exynos)] LegendOcta:
I believe I'm having the same trouble on N916S. Rom doesn't boot, and I get it rebooted to recovery. Dec 2022 works but there were a few glitches.
[Galaxy Note 4 Android Development (Exynos)] Buratei:
I guess I spoke too soon... even the dec 2022 version is plauged with lockups. Going back to my n910s with less than perfect buttons and GPS reception. At least it is stable!
[Galaxy Note 4 Android Development (Exynos)] LegendOcta:
Really? The dec 2022 version works ok for me, maybe because i do not have GApps.
[Galaxy Note 4 Android Development (Exynos)] MartinLGore:
Dec 2022 version works fine for my N916K version.
[Galaxy Note 4 Android Development (Exynos)] svcoder:
Thank you for great job! It's hard to believe, that custom firmware can work so good on my N910C. The only function, that doesn't work is the sensor home button. On original Android 6 there is easyHome button, but this application requires com.samsung.android.fingerprint.FingerprintManager, that doesn't exist in your firmware.

That problem could be also solved, if it was possible to select Home Screen for Back button long press
[Galaxy Note 4 Android Development (Exynos)] MAOQ:
I'm sorry, but this is not firmware. So stupid that it is impossible to use normally. :)
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
Well, there is no particular problem, it has a series of bugs, such as the crashing of some games and software, which must be checked. Which firmware do you use that does not have bugs?
[Galaxy Note 4 Android Development (Exynos)] Buratei:
Ironically, my N910-S that works without issues (heat or otwerwise) - no major complaints there. It is my N916-L using the same rom (latest AND Dec 2012 versions) I am having problems with. Could be hardware though, as I picked em up used for cheap. To be exact, the phone locks up at some point near or shortly after the end of the booting sequence.