yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Exynos)] shandess:
Thanks ananjaser!

I flashed a SM-N916K using TWRP 3.3.1, no problem.

I can definitely see the improved fluidity and smoothness compared to the rom I was previously using (Resurrection Remix Q V8.7.0).

I confirm no reboots, WiFi connection very stable. I will test Google Maps navigation with LTE data connection in a few days.

Also the gallery app is now able to detect pictures saved in the external SD Card (in case you configured the camera app to save on the external SD; with Resurrection Remix, the gallery app was not detecting pictues shot and saved in the SD card).

I installed Open Gapps arm 10 pico.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Not yet. My VR adapter did not arrive yet. If there is a way I can fake cardboard let me know I can try gyro that way

Trying to get RR builds out. Will be few days I hope

I have went on a drive with offline Google maps. So far so good. GPS 3D location fix took a while (I think about 30 seconds) then it was quite fine. I did notice that in Google maps the speedometer was very sensitive and would disconnect and take 10 seconds to rehook when passing under bridges. My S9 connects instantly once I pass it. I'm not sure if it's just old hardware or a rom issue.

Navigation felt significantly better compared to the last time I tried it so thats great
[Galaxy Note 4 Android Development (Exynos)] kasper_sky23:
Everything looks very good. Good bless your hands.
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
You just need to install the Google Cardboard application and launch it, it'll start in some default mode, the initial demo, you'll see it'll get stuck for the initial configuration, it'll expect you to aim a target by moving the cellphone for you to click with the Cardboard button, you won't have that button, so that can't really work, but even the aiming part won't work either, and due to that, any video player (like VR Theater) or program that's based on that SDK also get the exact same issue, they all get stuck as if there weren't any gyros.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Thanks!, So the gyrosensor itself is working, tested with sensor toolkit and gyroscope test, gyroscope test says "Google VR compatible" and it does work, as you mentioned it seems to be only the google SDK that is broken, The gyro does not seem to be "stable" however, i noticed few threads talking about jitter, i can see it and the sensor is biased to the left so the image moves on its own, it might be why the SDK is rejecting it, im not sure yet, i dont see anything particular in the log, i will dig deeper into it and see if we can fix it.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Update @pepperjones , i got the sensor working, it works in portrait and landscape mode, i will try to cut down the stuff ive done to see what the main issue is (ive went as far as to add daydream support and installed VR services and VR Core, however i dont think they are required)

Slight issue however, the orientation feels off, in youtube VR the panorama viewer is fine, but once i go into cardboard VR mode it is upside down ~ ish
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
I never got anything based on cardboard sdk to work, they're just stuck for me, but as for the gyro being biased, when I use other apps, like VaR's VR Video Player or VR Media Player, which are not based on that SDK, I don't have any autonomous drifting, it works quite well.
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
Awesome!
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
@ananjaser1211 I got an issue with encryption, it all seems that it's not actually working... I format and install the ROM as expected, then on the initial setup I skip setting up a screen lock pattern and fingerprint, I do it later because I can set a 5x5 grid pattern. The system boots and I go straight to configure my 5x5 screen lock pattern, plus my fingerprints. After that I then go and encrypt my phone, everything goes fine, and phone is encrypted after reboot, I login with my 5x5 pattern, and I can check the encryption status in settings. Now, the problem, if I reboot the phone, it reboots and asks for the lock pattern, it recognizes it, states "Starting Android...", and then it enters a Lineage animation loop with a single ball, never reaching the 3 balls to finish the animation, so the phone is stuck on its first user triggered reboot after the initial encryption, there's no way out of this animation, only battery remotion works.
[Galaxy Note 4 Android Development (Exynos)] kasper_sky23:
Is the recorded size normal? (0.08 seconds =) 16.5 mb)
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
View attachment 5594857

What software did you use to film?
[Galaxy Note 4 Android Development (Exynos)] kasper_sky23:
I'm asking because I don't know. Excuse me.

Google camera

Simple Gallery Pro
[Galaxy Note 4 Android Development (Exynos)] kasper_sky23:
Dear Ananjaser; If you configure the camera app to save to external SD, that would be great.
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
If you use a footej camera, it takes up much less space
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Ah my bad, i did not mentioned this in the notes! as per deadman93658 (Exynos5420 developer) we found out that you must enroll lockscreen / pin in the setup wizard. we saw this issue with few other phones but its unclear why we cant change lock screen after encrypting, i have not tried to encrypt and change pin > pattern yet, as i currently have some data on the note 4.

we suspected it is something to do with overlays or google apps, however logs turned out empty.
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
Hi @ananjaser1211, I just flashed the ROM again, at this time I've setup one unlock pattern on the initial wizard, in the given 3x3 hardcoded grid, and registered one fingerprint. Right after finishing the wizard I went to encrypt the phone, without changing anything about unlock pattern, the phone got encrypted (I find it a bit weird that the countdown for encryption is quite instant, it states waiting for phone to be encrypted, time remaining 00:00 and finishes right after without ever counting down), right after the first boot after encryption it boots/decrypts as expected, then I reboot manually, which leads to the animation loop as described. So it's still not working for me. If you could try to enroll with one unlock pattern and one fingerprint and check that, would be nice.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
I will try to encrypt soon, i must dump my internal storage first to avoid risk of data loss, i do need to ask, when you installed TWRP 3.5.9, did you use the "FORMAT DATA" option in twrp ? or just wiped data, this is important because FORMAT DATA resizes the userdata partition and removes 20mbs from it which are needed for the encryption footer.

regardless, once i get the chance i will try with a pattern lock and see how it goes, when testing encryption i usually would set a 4 digit pin only, i have not tested other scenarios (fingerprint, pattern, password)
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
I was going to say just that. I just flashed it again, but this time I've only setup a PIN code to unlock, to do that I had to skip fingerprint enrollment, then it offers pattern-only or pin-only, I did that, and again, same loop. I do Format data at all times before flashing, with that TWRP.
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
I must say, at all times, as I wish a clean system, I'm formatting data, then I go back and wipe advanced the first 5 partitions (Dalvik / ART Cache, System, Data, Internal Storage, Cache), then after wipe, I go and Format Data again, so it's the last step before installation. I did it again, put just a 4-digit PIN, works until the first user reboot.
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
To clear any confusion, the TWRP I'm using is 3.5.2_9, not 3.5.9 as you have said (I think it was a typo, I can't find any 3.5.9 post).
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
If the stock camera is used in this ROM and it has the ability to record video, the ROM is very good
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Alright thanks for the information, i will take a look at it soon, and yes 3.5.2_9, typo on my end.

To record videos you can check the F.A.Q it links to a google camera which works quite well
[Galaxy Note 4 Android Development (Exynos)] hadis9900:
are you have linaegeos 17.1 for this variant? >>>>> n910h tre3gxx
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Yes install the treltexx n910c model and follow F.A.Q if you had simcard issues
[Galaxy Note 4 Android Development (Exynos)] bugsx:
we talked before, i want to use the package on my n910cq phone but the same errors continue
[Galaxy Note 4 Android Development (Exynos)] bugsx:
KPhone won't wake up on lock screen
[Galaxy Note 4 Android Development (Exynos)] Bman:
Is it possible to do an update or only a reinstall?
[Galaxy Note 4 Android Development (Exynos)] _Luka_:
If I install rom for the first time (Current version is stock android 6) should I install modems before twrp.
[Galaxy Note 4 Android Development (Exynos)] scamp258:
Hello, @ananjaser1211 . The new version works very fast and stable. There was a nice increase in battery life. I have 2 problems

1) In phone calls, the voice of the other person is very low from the handset. There is no problem when talking with headphones or speakers.

2) For example, after 7-8 stories in Instagram stories, Instagram freezes and the application closes.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Mirrors are up! AFH has been bugging lately, ive moved to sourceForge for mirrors and old releases.

Ive also added documentation and information for new users on forge wiki.

RR builds will also be hosted on sourceForge once i get to them

Lineage 17.1 (04/21/2022 - STABLE)

N910C/H (treltexx) MD5 : 5d3006cec330316f5187aab14c8ec3c7

N910S/L/K (trelteskt) MD5 12fa00de2dfa0affcaab2bd590b72454

N915SLK (tbelteskt) MD5 : 70754e3490c9576899db1e7632e555d8

N916SLK (tre3calteskt) MD5 : cc01e77e0b5e26e122427ddaa41d790f

N910U (trhpltexx) MD5 : 4ee91c68117f2ef77a960dbf1eb771c4

Google Drive : Download

SourceForge : Download

You can try a dirty flash, in theory it should be fine, but do take backups just incase

if you are running latest android 6 update there is no need

Sadly this is a compromise to avoid echo problem, if the earpiece is louder it will create an echo effect, im still tuning audio so i will test out how loud we can make it before echo happens

regarding instagram, ill test it, ive only tested tiktok for streaming videos and it ran fine for extended periods of time
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
Hi @ananjaser1211, would you mind sharing if it's gonna take a bit longer for you to be able to evaluate the encryption issue previously described? I'm asking because I had a plan of using this device as primary one and wished it encrypted, which I can't do now due to that issue, so I'm currently using it without encryption but not fully configured while on hold on that. If you won't have time any soon, then I'd just finish the phone's setup for proper daily usage.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
I have tested encryption on the RR build i am testing, and it did work, i will be back on lineage in few days and will test encryption on it too, however honestly, if it worked on RR, it will work on LOS

what i did excatly is formatted internal, wiped system and cache, flashed RR + OpenGapps Stock (the full package) , in setup wizard i enrolled 4 digit pin and then went to settings and encrypted, (i did do full setup , i.e adding google account etc if that matters)
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
I'm avoiding most things google, kinda focusing on un-googled life, their services are almost of no use for me at this stage, so, do you think OpenGapps is of any relevance to this (encryption)?

Nice you're finishing a RR build, I initially thought of waiting on that one to arrive, but I'm new to this and so I researched a bit and got suspicious RR could bring me extra little issues than LOS, so I dropped on the idea. If you can tell me whether both are just the same in quality and number of problems, meaning almost identical experience regarding issues (say, gyro on cardboard apps is broken in both, audio echo / sound level is same, etc) then I think I'll go for RR. (I recall reading an issue on muted calls in RR on the RR thread here on xda, for example).
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
More or less they are the same, since they are compiled on the same device trees

However key difference is RR is running a much less modified base, straight AOSP, while lineage comes with various changes in the source to accommodate more "device focused features" while RR runs a stock base + a ton more user modifications for UI elements and what not

All the main issues found in lineage will be in RR, and vice versa, the muted calls for example occurred on both ROMs, i personally find RR to be faster, it is lighter and is packed with features. however RR builds will have a much older security patch as android 10 version of the rom has been discontinued, in this case it is running September 2021 security patch.

Anyhow, regarding encryption, no i dont think its google apps related, as today ive changed PIN to pattern and indeed the phone no longer boots. it might be crashing due to requiring keymaster@4.0 while we use 3.0, but im not sure yet, we will see
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Edit @pepperjones I have found the issue, and it is very bizarre, it is due to GPS driver locking internal storage and preventing it from being unmounted, i have tested a fix locally, while it works and boots with pin / pattern, the issue is encrypting the device for the first time requires a command to be sent through adb to "boot up" the phone. which is not ideal, i am looking into a fix for that, once that is up i will upload new lineage builds, along side RR
[Galaxy Note 4 Android Development (Exynos)] Bman:
Perfect Anan,

I will do a "dirty" flash tomo since I do not trust my sd card. (new one is on it's way)

I have downloaded the update, that went really slow. I can help 500/500 connection here!
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Alright encryption is properly fixed now, it does not matter if you set your pin/pattern in setup wizard or not, aslong as you setup one before encrypting it will work, ive tested with bigger patterns on both lineage and RR OS. the issue was caused by GPS leaving some files open, ive added a patch that mitigates the issue.

I am running RR And lineage builds, it will take a while, but ill post them once they are ready.
[Galaxy Note 4 Android Development (Exynos)] Xavier herrero:
Hi @ananjaser1211

Thanks for your perfect roms

I got a problem that i cant use wifi withoit going in airplan mode and restart the device

This problem happened in every rom that its above android 7

I am usong galaxy note 4 n910h

What should i do
[Galaxy Note 4 Android Development (Exynos)] pepperjones:
Many thanks for your services @ananjaser1211, if I had any money I'd tip some on your paypal/etc, but fear not, I won't forget :-)
[Galaxy Note 4 Android Development (Exynos)] xjaa21:
Thank you ANAN for the new update, it still didn't fix the WIFI sudden drops and idk if its my Phone Fault (N910L/Trelteskt) but I'm glad you include to ability to record in 4k. It works on Footej esp it fixes the audio leaked. I will owe you a coffee through paypal. I do the clean wipe (System,internal,cache,davik) but not factory data reset during flash installation.
[Galaxy Note 4 Android Development (Exynos)] andrewosama1991:
l install it can help me about this problem in the apps
[Galaxy Note 4 Android Development (Exynos)] xjaa21:
Do u have google services?
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
since this happens with all roms above android 7, the only thing i can suggest is a full reflash of latest stock ROM (to update bootloader and modem), you need a 4 file firmware you can get from samfirm etc, i think also updated ones are here https://drive.google.com/drive/fold...JaDBSNGM?resourcekey=0-BOVPHsWPjRk1SD0iNV0jBA its from an old thread

if you refer to WiFi drops as in wifi disconnecting when phones goes to sleep / screen is locked, yes i have that issue too, its not your phone's fault, i have not found a fix yet for it sadly.
[Galaxy Note 4 Android Development (Exynos)] xjaa21:
I'm glad that your wifi drops when idle. Mine was just randomly drops esp. when I'm using a internet hunger apps like browsing shops and playing games (I stopped it coz of that ridiculous issue). I also thinks that the battery affects the hardware since its very old and it only lasts for an hour when using it simultaneously. I'm planning replacing it. I still like how this camera works so I couldnt throw this away compared from my Modern Mid-range Phone
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
Explain about the battery calibration, the battery has become weaker by changing the ROM several times . In the previous ROMs, I was calibrating with this code * # 0228 # It does not exist in this ROM
[Galaxy Note 4 Android Development (Exynos)] xjaa21:
Set your battery profile to battery saver all the time. The effects is not that noticable in performance when just browsing and watching somethin. Unless youre playing a game
[Galaxy Note 4 Android Development (Exynos)] Bman:
Dirty flash went ok!

( note to self) Dirty flash is installing the latest build via TWRP whitout first formatting the device.
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
LineageOS 17.1 for the Samsung Galaxy Note 4 (N910C/H/U/S/L/K | N915S/L/K | N916S/L/K) ​

--> Personal Notes <--

20220430 Release notes :

This is more or less a minor release, You can dirty flash it, Main key points is fixing encryption and few other minor things.

Ive also included VR Support which enables Gyro sensor in VR, however it is VERY funky and you need to force enable the Gyro service in Google VR Services

RR builds are compiled and will be released along side this, with the same changelog as 17.1 however ive also compiled FaceUnlock packages and enabled SystemInfo overlay

I have also moved to releasing everything on sourceForge, and ive made Bootloader / modem update packages for those who need it, Head over to WiKi for instructions

Submitting new issues/Requests

First read existing issues and the F.A.Q Below to ensure its not a duplicate/workaround

Head over to universal5433 for logging and issue reporting guide

provide as much info as possible and upload your logs on the forum

If you appreciate the effort behind this, don't hesitate to leave a thanks, provide constructive criticism and maybe consider donating some "totally not illegal stuff" over at my paypal

TWRP

- My builds (3.5.9) WIth encryption support - XDA

Bootloader/Modem

- Latest Packages here

ROOT Method

Magisk

- Simple follow Install instructions , Make sure to enable Magisk Hide to restore SafetyNet functionality

- i recommend Magisk V23 + Magisk hide for most usage

Google Apps

Open GApps

- Pick ARM > Android 10. No MicroG support currently

or

BiTGApps

- Pick ARM Package

Odin

- Odin3 v3.13.3

Heimdall

- Glass Echidna

Source Code: github

BUG Tracker : github

Track changes on RefinedChannel : Telegram

Come hang with us on our chat : Telegram

--> Downloads <--

Lineage 17.1 (04/30/2022 - STABLE)

N910C/H (treltexx) MD5 : 510fbbada80fb21eccacb22cdd8b9943

N910S/L/K (trelteskt) MD5 93f6b140d3af105d93718264db5ad9cb

N915SLK (tbelteskt) MD5 : 724e3ad16b217a0ccd53d4ca08a5ea3c

N916SLK (tre3calteskt) MD5 : c21c8c014d1dab3174fe783dd9451094

N910U (trhpltexx) MD5 : 7e5944265b2980d9eb33eff8b2875f95

SourceForge : Download

--> Changelog <--

Lineage 17.1 Update (04/30/2022 - STABLE)

- Include VR Support Pacakges

- Fix bootloop caused by encryption

- Resync latest LOS Source
[Galaxy Note 4 Android Development (Exynos)] xjaa21:
Greetings again ANAN.

I have a further problem now and this case was this update only. The sound of the recording is too sharp, makes the sound so loud and crispy that doing my ear enough to bleed.

I'll degrade the phone and use the previous update for awhile.
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
The sound is normal, if you have a problem, you can adjust the sound with build.prop
[Galaxy Note 4 Android Development (Exynos)] maxim1636:
Rom Install instructions
[Galaxy Note 4 Android Development (Exynos)] gandyprakoso:
I've downloaded the latest version, its already running, installed android 10 gapps pico too. But it can't sign in to google. Can anyone help me? Im already clear cache n data for play service and play store and updating the play service (download latest version from apkmirror) but still no joy :(

It says: there was a problem communicating with google servers. Please try again later

The alot

@ananjaser1211
[Galaxy Note 4 Android Development (Exynos)] vin KO:
Hi dev. If i just flash ROM. It run normal. But i try again with gapps it stuck me in bootloop. How can i handle this problem ?
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
Why does the online software version of App Filter not work?
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
I check but it does not answer
[OnePlus 7 Questions & Answers] arunsingh891997@gmail.co:
Sometimes the proximity sensor works but sometimes it does not ...anybody else facing this issue
[OnePlus 7 Questions & Answers] arunsingh891997@gmail.co:
Its defective i m getting refund of same ..thanks
[OnePlus 7 Questions & Answers] romanlink:
I had the same problem too. Factory reset and clearing cache seemed to solve the problem.
[OnePlus 7 Questions & Answers] jenny673:
I tried factory resetting and clearing cache etc. I would like to apply for a replacement. Assuming you also bought the device from Amazon, how should I go about the replacement? Should I submit any video proof showing them that the device is faulty?

PS: This is my first time purchase of smartphone via online.
[OnePlus 6T  Questions & Answers] Tony2k:
My screen never turn off with proximity sensor. Pocket mode is on and proximity sensor it ok, I tested in with and app. What can I do?
[OnePlus 6T  Questions & Answers] ducted:
Give us more details about your phone: region model (sim locked, unlocked), rooted or not, Magisk modules you're using if rooted, firmware version...
[OnePlus 6T  Questions & Answers] Tony2k:
A6010, 9.0.14, magisk 19.3 without modules.
[OnePlus 6T  Questions & Answers] SrbinYU:
If it's when you callling, it's a bug in the oneplus dialer app just install the google dialer app and problem is gone.

https://xdaforums.com/android/apps-games/app-google-phone-v14-0-175904292-bubble-t3708218
[T-Mobile LG G5 Questions & Answers] EMNM:
I have bought LG G5 4-5 days ago, it's on oreo 8.0 h83030c.

I factory reset it and played PUBG on HD and high frame rate and it ran without any lag or spikes. I played again and now its lagging like hell and it's unplayble even on smooth. Its worse than my HTC m9.

I have also enabled force GPU rendering and disable hw overlays in developer settings.

What should I do?