yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Exynos)] wildcatacu:
I want to add to this though a bit off-topic:

Suppose you want to keep the default scaling after changing the resolution without calculating the new DPI value. In that case, the easy way is to take note of the value of "Smallest width" within the Developer options or simply tap it and it would prompt you to change the value. Set the new resolution via ADB while keeping the Smallest width prompt open (don't change the value). Screen elements should appear larger after setting the resolution down. At this point, DPI still isn't changed. The new smallest width value is calculated by the system, but the previous smallest width value will still be in the input box. Tap OK to apply the value again but now on a different resolution. The system should calculate and apply the new DPI value. And you're done, the same scaling applied as previously but you're now in a lower resolution. To confirm the change, run this via ADB:

wm size

wm density

The very basic formula is this: px = dp * (dpi / 160)

"px" as the value of the shorter side of the resolution

"dp" as the "smallest width" value

"dpi" as the dpi value itself

If you want to go a bit more challenging route, calculate for dp (smallest width) first given the original size and density. You should arrive at the same value as calculated by the system in the Developer options. Calculate the new dpi given the new px (shorter side of new resolution) and the manually calculated dp (smallest width). Finally, apply this newly calculated DPI value with ADB

To reset resolution and density to stock values in case elements go too big or too small:

wm size reset

wm density reset

To learn more about screen densities: https://developer.android.com/training/multiscreen/screendensities
[Galaxy Note 4 Android Development (Exynos)] Bman:
Hi all, im about to replace my Note 4 SM-N910C. TomTo Go my navigation app is constantly crashing. Re install the app, clearing the cache, new sd card, nothing works. I hate to give up this device! Build-number: lineage_trelltexx-userdebug 10 QQ3A.200805.001 eng.aj1211.20220421.040016 test keys

After starting up it says: This build is signed with public keys. SELinux is not in enforcing, your security is weakened. Could that be the problem? All other apps work fine.
[Galaxy Note 4 Android Development (Exynos)] ulvi95:
Dear Community!

I installed the latest (12/31/2022, LineageOS 18.1) version for N910-C. Today, I have mentioned that my GPS/location doesn't work at all. How should I repair it?
[Galaxy Note 4 Android Development (Exynos)] khamakelz:
Which pixel launcher are u using .?

Have tried but couldn't make it work..

Help!
[Galaxy Note 4 Android Development (Exynos)] xero4zero:
Thank you @ananjaser1211 for keeping our Note 4 alive, I appreciate all your efforts, please keep it up :)
[Galaxy Note 4 Android Development (Exynos)] shandess:
Thanks for this,

I didn't know it was possible to change the resolution so easily, and I think the stock resolution of the Note 4 is too much to handle for no real benefit.

I changed to 1080p and wm density 420, honestly I can't tell the difference compared to the stock values.

Is there a way to enable something similar to the "Smart Pixels" function I saw in Havoc OS for the Note 3, where you can shut down a % of pixels to reduce battery consumption?
[Galaxy Note 4 Android Development (Exynos)] LegendOcta:
Again I'm late, thanks for the display tip.

I installed Lawnchair as the default launcher which is much smoother than the default trebuchet launcher. The phone seems to work faster than on Android 10 now. Thanks :)
[Galaxy Note 4 Android Development (Exynos)] Tu Dam:
Can't wait for next update.
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
Hello, first of all, I want to say that thank you very much for supporting this team. I'm from the sm-n910c model and the only error is that the applications close by themselves and more games like call of duty, if you can solve that much better, I support you with a whole lot of support. greeting (if you do not understand some parts it is because I used a translator)
[Galaxy Note 4 Android Development (Exynos)] rpst_:
On android 11 my N910H sometimes keeps killing apps and after a while it will keep killing the launcher (it will keep closing and re opening) and not even lets any app to stay open for more than 10 seconds. A reboot fixes it but after a few hours it often starts doing it again. I am rooted with magisk 25.2 and have opengapps installed. encryption is enabled. Is there anything i can do about it?
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
Well, I entered developer mode and entered the option called graphic control preferences and changed the apps that I use for system graphics, if this does not solve it, it means that you did not delete all the data, you have to format it and then install all the gapps and that so if it works for you just format it.
[Galaxy Note 4 Android Development (Exynos)] rpst_:
I definitely deleted the data before installing (as it s a requirement for encyption) so I think I will just try reverting to stock and then reinstall the rom to see if it changes things.
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
If you do that, I also had the problem that when starting the rom it told me loading android and it didn't happen, I just went back to stock and reinstalled it and it worked fine for me
[Galaxy Note 4 Android Development (Exynos)] Tu Dam:
Don't know if it's just me but apps crashing pretty oftens.
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
it happens to me sometimes but it's annoying

Hopefully they patch it up
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Thank you for the excellent explanation about dpi and width, always wondered how developer mode width size factors in to DPI.

There seem to be an issue still with apps, i have read multiple reports of app crashing / closing but not able to recreate it yet here. for those facing this issue please follow the guide here https://github.com/universal5433/android_device_samsung_trelte-common/ to create logs and open an issue, try to attach as much information / logs as possible, ideally a log_ball while apps are closing would have the needed infromation

i have been meaning to upload the new build since last month but i am facing issues testing on my phone as my USB port decided to die, so waiting on a replacement to arrive, since more issues have been reported ill hold off new builds and look into the cause of these weird app crashes,

it does not seem to be ram / oom related, but im not exactly sure yet.
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
bro I would like to help you but I don't know much about the subject I want to thank you for the good optimization of the rom and in case something is useful when the applications crash it appears that Trebuchet has stopped.
[Galaxy Note 4 Android Development (Exynos)] unicunic8:
waiting... lineage 20, very stable android
[Galaxy Note 4 Android Development (Exynos)] Mineatom:
Does this ROM work with N910CQ? (I think it would act the same as a normal N910C right?)
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
I think so
[Galaxy Note 4 Android Development (Exynos)] Mineatom:
Hello y'all as always big thanks to ananjaser for creating this ROM. I'm relatively new to flashing Custom ROMs so is there any step by step guide for the N910C that I can follow?
[Galaxy Note 4 Android Development (Exynos)] daftari:
Thanks ananjaser1211 for this god ROM am using Korean model sm n910s.ROM is good compared for the last one 17.1.This 18.1 is usable and stable no any bugs I see till now. God blessing you.
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
Youtube bro
[Galaxy Note 4 Android Development (Exynos)] Mineatom:
it says to use OpenGApps for Android 10, is that a typo? because the ROM is android 11
[Galaxy Note 4 Android Development (Exynos)] Mineatom:
I need an urgent response as I'm in the installing process now and OpenGApps gave me an incompatible version error (which probably means I should get the Android 11 version right?)
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
if you have to install on android 11 if your processor is exynos install ARM/11/PICO from the official open gapps page
[Galaxy Note 4 Android Development (Exynos)] Mineatom:
yep, that worked thank you!
[Galaxy Note 4 Android Development (Exynos)] Edwin1029:
your welcome bro
[Galaxy Note 4 Android Development (Exynos)] Hasan1122behj:
excuse me. sorry for this amateur question 🙂

i just dont know what does the " Kernel is Permissive" mean.

i search it online but didn't get answer

does it mean i cant change the cpu governor for example? cause it is a important thing to me 🙏
[Galaxy Note 4 Android Development (Exynos)] Tu Dam:
Yeah, I want to know too. It also said the key was public or something.
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
It's a good ROM, but in terms of graphics, it's a little lower than ROMs 6 and 7
[Galaxy Note 4 Android Development (Exynos)] Caneryb:
Hello, my phone model is N910CQ treltexx. but I'm installing, the landing screen remains on the samsung article, I want to use android 11, can you please help?
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Kernel Permissive as in the kernel does not load Selinux rules and enforce them (so its less secure and more vulnerable to attackers if someone targets you)

ideally selinux would be enforcing, but right now we dont have rules written as it takes more time than i have to spare for it

it is not relevant for CPU governors, however regardless we currently only have the basic CPU governors, i removed the others as they were very unstable, i will look into them later when i can

ensure you have latest modem and bootloader installed, N910CQ is just a rebranded N910C, the rom works on both as it has been tested already on it. also use latest twrp, do all the wipes and try again

For everyone else, as my phone part still did not arrive, here is the latest test build compiled at the end of january for all models. it is not a "release" so i wont be updating the thread, but its something for you guys to test until i get my port fixed up and test it myself to confirm everything is fine.

Download : https://drive.google.com/drive/u/3/folders/1eMVXbZ7xQWd7LvTG0r9QxJcAgxnSIiGj

main changes are :

S-PEN palm rejection patch is added

changes for VoIP / wifi calls so they should work now, if not please get me some logs while doing calls and mention what app you are using.

updated APN list for new carriers

call recording should work now (mic volume is low though, so it will mostly record the other party properly, your voice will be quiet, this is due to the way we handle call mic.)

WiFi is improved (with/without nearby sharing it will be fine) P2P no longer causes issues

Safetynet should work now with only one module (Kdragon safetynet fix) instead of requiring magisk fingerprint module

N910H Detection is improved, dont know if its enough to automate LTE > 3G Switch so ppl can try and let me know

MicroG Support is included

GPU Vulkan support should be fixed, which should reduce random app crashes

Power profile is tuned once more it still maintains good performance without destroying your battery

synced with latest lineage source at Jan 2023

Do note that this does not include fixes for the most recent app crashes reported, i have not yet been able to debug and see why that happens, in the mean time if you can get me some log_ball from the logging guide in the first post that would be great, kerne logs would help too.

this build should boot fine but do take backups of SYSTEM just incase.​
[Galaxy Note 4 Android Development (Exynos)] unicunic8:
1. in the file /vendor/etc/init/init.universal5433.rc

move :

on late-fs

# Start services for bootanim

start service manager

start surfaceflinger

start bootanim

start vendor. configstore-p

start vendor. grloc-2-0

above, on-fs

2. Edit or add this, code:

Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
What method do you recommend for battery calibration?
[Galaxy Note 4 Android Development (Exynos)] lucienchlin:
HI,

For N910U, the PUK locked situation remains. If I set the pin code on SIM the system will require the PUK code to unlock it when boot, failed then the SIM might be locked forever.

Sincerely yours,

20230225 UTC+8 11:20 Lucien
[Galaxy Note 4 Android Development (Exynos)] unicunic8:
try it, but I can not guarantee,

my battery is not jumping

code:

Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com
[Galaxy Note 4 Android Development (Exynos)] azmtechnic:
Hello @ananjaser1211 .

Thank you for the hard work.

N910h problem is still remain. Network has set to 3g. But again, network selection automatically change from automatic to manual. This is the main problem. I don't know why it try to change the network type from auto to manual ?!

And other issue. When opening setting and try to open network setting, the setting freez for moments. And network settings doesn't open. It needs to restart phone.
[Galaxy Note 4 Android Development (Exynos)] guybru5h:
Hi ananjaser,

For N910C, I flashed gapps 11 pico, but after many trials I couldnot make google account sync. e.g. contacts. In settings tab, sync is not activated. How can I solve this issue
[Galaxy Note 4 Android Development (Exynos)] berkan 197:
Thank you for your work developer, we're happy too see still someone supporting to the note 4. So we have change to use latest builds for your still working to supporting the device

So I want to ask what happening on your Pixel Experience rom, It will be really nice to use. Thank you again for your amazing work
[Galaxy Note 4 Android Development (Exynos)] blurredrecluse:
Hello everyone,

I have a Samsung N910C and I'm experiencing an issue with the modem or radio. After some time, I'm unable to make or receive calls or receive SMS messages. Additionally, my mobile data stops working. I'm posting here to ask for help and see if anyone has any suggestions for fixing this issue.

Just to provide some background, I installed the Linageos ROM as described in the first post. I haven't applied any updates, and I haven't rooted the phone. I'm not sure if this issue is related to the ROM or if it's a hardware issue.

Any suggestions or advice would be greatly appreciated. Thank you in advance for your help.
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
It is absolutely true that there is no problem in terms of calls and SMS, but there is a problem with the phone's data, even though the data is connected, sometimes the data is not exchanged
[Galaxy Note 4 Android Development (Exynos)] alfa_newuser:
hello,

my bootloader and modem end with 2DVG1, should i use the files for modem and booloader in post

i will not use encription, can i use the latest twrp for note 4 n910c
[Galaxy Note 4 Android Development (Exynos)] khamakelz:
I usually experience this issue when my Phone's battery is low or I have restarted my device... I fix this by restoring the EFS backup from the stock rom...

Sometimes when i switch on data it doesn't show up so l go to twrp and wipe cache ONLY

Using n910c
[Galaxy Note 4 Android Development (Exynos)] mixxlegend:
Is there a way to edit battery capacity? I have made some custom battery from old tablet 2x4000 8000mah fooling dummy wood battery with 2,4khm resistor jumping ground and middle pin and phone works normal... but problem is wrong reading it still say it is 3220mah... and probably that is why it fast discharge then should be... is there a way to edit battery mah? Please @ananjaser1211 ?
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
The particular "reading" is a text only value that is set in device overlay, it is a hardcoded entry, but that value is only used when checking what capacity the device has, it is not an actual read out from the kernel and does NOT affect battery capacity / life

In the past people made a custom kernel to work with ZeroLemon 10K mAh Batteries. this patch can be found here https://github.com/LukasAddon/Space...mmit/8504c21f716dfae2b40835966501b9d9a8b387a3

Attached is a kernel with that patch applied, this patch seems to skip "abnormal" battery mAh and read the actual mAh from the battery itself (possibly through a readout from BMS, the small green chip that has the battery contactors on it)

it seems that you are running your pack with no BMS and just connecting the positive and negative leads to the phone. this kernel is likely dangerous and might cause your cell to overcharge or discharge. i dont think its a safe approach.

regardless i have attached it, if you want my advise atleast charge the cell with an external charger you can regulate, and not through the phone itself.

Assuming you use N910C/H, the attached kernel has the old ZeroLemon battery patch. which you can install in twrp > flash img > select boot.img > BOOT partition

Again, i must reiterate, this is is dangerous and i do not recommend going with this approach at all, it might be better to use the old tablet's BMS and hook all 4 leads to the phone it self (so both gnd/vcc and the 2 data leads) and then use the kernel. do not run the battery with no/bypassed BMS.

By flashing this kernel i take no responsibility in this experiment, as this zerolemon patch is not something i personally would use on any battery.

Kernel : https://drive.google.com/drive/folders/1WUwipiu88ITDOfYnzisQkSFlXoQoFeqV?usp=share_link
[Galaxy Note 4 Android Development (Exynos)] mixxlegend:
Thank you sir so much i will try this... i already using BMS from tablet battery i did not disconnect anything from original tablet battery... in worst case i will charge it with original tablet... then use it on phone... btw charging works on phone i charged 2 times with phone but battery life is not great... i will not risk if it is to dangerous...
[Galaxy Note 4 Android Development (Exynos)] youxiaojie:
does this rom 32bit or 64bit?5433is 64bit cpu but why android always 32bit?
[Galaxy Note 4 Android Development (Exynos)] rpst_:
all note 4 roms are 32bit. If I remember correctly samsung doesn't even provide the 64bit sources for the Note 4's cpu.
[Galaxy Note 4 Android Development (Exynos)] it'sup:
HW+CustomREPS is it ah debug or airways tomorrow? Im from Mongolia" redl u know why?
[Galaxy Note 4 Android Development (Exynos)] it'sup:
Wolfson Sound modd ever or Yuri mod forums?
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
Some software like Instagram crashes
[Galaxy Note 4 Android Development (Exynos)] eryhellsing:
this rom is very good, you are really a great developer, I have tested it on SMN910H, especially for games there is no word lag, but again for power consumption on zerolemon the battery can only last 3 hours, Thank and sorry bad english
[Galaxy Note 4 Android Development (Exynos)] karlsuu:
I have successfully installed it, the problem is it does not read the sim card anymore. this one was Globe sim locked and SM-N910C

edit: 17.1 works, 18.1 version does not read my sim card for some reason
[Galaxy Note 4 Android Development (Exynos)] kassimitec:
Thanks dev any Android 13 on the way 😍
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
There are crashes in some games and software
[Galaxy Note 4 Android Development (Exynos)] fprhqkrtk303:
Smart Things just crashes on initial setup. Both 17.1 and 18.1 crashes.

** EDIT: Solved Smart Things crash by using MagiskHidePropsConf
[Galaxy Note 4 Android Development (Exynos)] kassimitec:
Yes same here plz fix it dev
[Galaxy Note 4 Android Development (Exynos)] asinnerm3:
@ananjaser1211

Hello and thank you for your effort on porting LOS for the note4.

I tried to flash the rom on the sm-n910H tre3g, and am getting error as if the installer is not recognizing my device version, error ending by naming 3 versions trelte + an another variant and the tre3g but as if it did not recognize mine, I have actually wiped everything except my microsd card but still got the same error each time, anyway i can install it?

Thank you.
[Galaxy Note 4 Android Development (Exynos)] mixxlegend:
Sometimes when using bluetooth i cannot hear anything when i call somebody no sound at all, then restart fix it... what can be a problem? EDIT: i notice person i called cannot hear me but it is able to answer i see timer counting... and also this happen usually when is poor network signal... maybe it does not nothing to do with bluetooth device because one time it happen when i was not using bluetooth...
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
It's a good ROM, thank you. There is still a crash in some games and software like Instagram. In audio programs like Club House, the sound is interrupted and reconnected in ROMs
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
Thank you, if possible please go to https://github.com/universal5433/android_device_samsung_trelte-common and scroll down, follow the instructions to take logs and make the apps (instagram etc) crash few times while the logger is running, log-ball.bat and log_e.bat, finally a copy of the folder "/data/tombstones" would be very helpful.

In a seperate issue / log record the club house issue aswell, i dont use instagram often but so far i have been unable to make it crash.
[Galaxy Note 4 Android Development (Exynos)] xero4zero:
Thank you @ananjaser1211 for keeping our beloved Note 4 alive, appreciate your efforts :) !
[Galaxy Note 4 Android Development (Exynos)] Mineatom:
Hello again, I'm very happy for the update to this amazing ROM, a question though. Would I need to wipe anything to flash to this new version from the previous one from TWRP? If so, what file paths should I wipe?
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
I was able to flash without wiping from a test build dated in January, it should be fine but keep in mind if you had flashed opengapps before, you must flash it again after the ROM otherwise it wont boot, its also good practice to backup everything in TWRP incase something goes wrong and it does not boot.

If you want to clean flash, wiping /data is enough the other partitions will be wiped automatically by the ROM
[Galaxy Note 4 Android Development (Exynos)] Azmdesign:
Hello Anan. I finally found the problem for my n910h 3g network issue. The problem was the battery. My battery doesn't have NFC kit. So when I change it to original one with NFC kit, everything got work's excellent. again thanks a lot for your hard working on this ROM. I want to ask you something. When I want to install some apps, they give a massage that your phone is rooted and can't run on rooted phone. especially banking apps. I didn't use magisk or any other root methods. Just clean install. Is there any way to install apps like this issue on the phone ?
[Galaxy Note 4 Android Development (Exynos)] unicunic8:
possible problem in media_codecs
[Galaxy Note 4 Android Development (Exynos)] Soulx277:
The person calling my phone hears his/her own voice. How can I fix this? @ananjaser1211
[Galaxy Note 4 Android Development (Exynos)] hojjat61:
What is the solution?
[Galaxy Note 4 Android Development (Exynos)] pol-der:
Hi [MENTION=4637718]ananjaser1211[/MENTION], do you think to release an update for those bugs which we reported? Thanks.
[Galaxy Note 4 Android Development (Exynos)] ulvi95:
Mic problems

Hello everyone!

I have talked with ananjaser1211 about mic volume problems. Unfortunately, there is no global solutions yet. But I think, it is possible to adjust it by editing mixer_paths_0.xml file. What do you suggest to change in the default file?
[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
No release date yet as i dont know when myself, im still working on the lineage 16 build. ril issues seem to be common with all variants and not only C/H so it might be possible that a solution exists that fixes it fully.

not sure however need more time