yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
Thanks:

A huge thanks goes out to [MENTION=2693412]haggertk[/MENTION] for his great work on the KLTE!

Notes:

Just a spot for some field notes about the ROM.

Background:

The awesome background was provided by The Quiet Learner, you can see more of his work here:

https://qlfiles.net/

You can also change the background using SWAGGER, to choose from several amazing AOKP backgrounds. Just long press the background as usual, and choose SWAGGER.

Multi-Window:

Open the app you want on top, then long press the recent button, then select the app you want on the bottom. Slide the slider up or down to choose full screen for the top or bottom app. Note: if in multi-window mode, pressing home goes to the home screen, but opening an app causes multi-window mode again with the last app you had open and the new app you chose.

OmniSwitcher:

You must enable OmniSwitcher to use it. There are choices for horizontal or vertical layouts, as well as the "handle" size and color. You can also enable the "menu" button, which may come in handy due to the long press of the recent button being used for multi-window.
[Verizon Galaxy S 5 Android Development] KazuDante:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] AKLU kernel? i like testing kernels , can you tell me a little more details about that kernel , or is it the aokp-stock kernel? if not what features are included in it?.... great rom tho.

also is it possible for you to include a updated modem and firmware files in this rom (latest modems/firmware filles) i think the qd1 is the latest.
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
KazuDante,

The ROM comes with the stock kernel, but you can download the AKLU kernel from the kernel thread. I only just started on the kernel, so at present the AKLU kernel just includes the extra governors: Lionheart, smartmax, and Wheatley. I plan to do more updates next week, see the kernel thread for details.

As for the modem, this ROM does not include modem files. Whichever modem and baseband you have loaded is what you will have, I just happen to have QB2 on my phone, works great for me on straight talk. But if you are coming from QD1 then that is what you will have.

Hope that helps! And thanks for giving the ROM a try!
[Verizon Galaxy S 5 Android Development] brothermoose:
Hi, Great ROM thank you.

However the moment I install Google Play Services Framework, I lose the ability to use cellular data. APN settings are there, the LTE network is there in the quick menu, but not in the status bar. Wifi works fine.

I have installed each separately of GPStore, GPlogin, GPServices, and GPSFramework, and have narrowed it down to a GPSF issue. It doesn't matter if I install from Open GApps or individually using apk's from apkmirror.

I have tried putting exceptions in the data saver app even though I never turn it on, but no luck. It happens with all Nougat AOSP based ROMs, like lineage and CM as well.

Please help if you can, I really like this ROM.
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
Hmmmm.....

I am not sure that I understand the problem. I have open gapps installed with the Google play framework app installed, and am able to use cellular data.

Edit: here I am watching rocky and Bullwinkle with cell data while looking through the system apps, shown is google services framework.

View attachment 4165589
[Verizon Galaxy S 5 Android Development] KazuDante:
off-subject forgot to say you have to divide the screen rgb values by 128 so that the custom profiles of kernel auditor can be applied. those max values should be around the 255 if divided by 128.
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
At first I was confused, but then I looked at KA, and you are correct! That's somewhat comical. However, your powers of observation are not only astute, but your persistence in determining the multiplicity of the matter is remarkable.

:D
[Verizon Galaxy S 5 Android Development] KazuDante:
Thank you. I try to help in any way that I can , since a lot of users might use the kernel-auditor-MOD app ( which has a custom profile that punches up the colors and blacks(oled+black= more battery life, even tho its really small but better some then none right) ) , they might of pointed out that the profiles don't work and i got around testing your kernel today ( free time) and was looking at all aspects of it. Personally I'm waiting on the update that would include voltage control , and if possible even on the gpu itself. and since you are the first to included a different frequency for the CPU without increasing the voltage ( bravo ) I'm assuming that you might have plans to included more cpu and gpu frequencies compared to the 300-422-652-729-883-960-1036-1190-1267-1497-1574-1728-1958-2265-2457-2534-2611-2764-2841 frequencies that most if not all S5 users are customed to for a while. Adding in-between frequencies would be a great upgrade for the S5 but for the GPU I'm not so sure since even changing the gov of the GPU would crash/freeze the system.

So I am very excited to see what twists your kernel will bring.
[Verizon Galaxy S 5 Android Development] brothermoose:
Thanks for the reply. It's not ROM specific so not really your problem, just figured I'd see if you knew anything. If I freeze GPServices and GPSFramework, LTE pops right back up.

I have same problem in LineageOS 14.1 so there must be some kind of conflict with GPlay and nougat based AOSP ROMS on my phone. I'm on the PB1 bootloader if that means anything (found this ROM from your post on that thread). Only other possible difference from you is I'm on AT&T Mexico.

It's so weird because LTE symbol is shown next to the signal strength triangle icon in Quick settings but not in status bar, so it's like the phone is receiving the signal but refuses to use it.

Haha, nice the R&BW. :good:
[Verizon Galaxy S 5 Android Development] Nowhite:
Fingerprint scaner work?
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
Yes, it does.
[Verizon Galaxy S 5 Android Development] HolyHog:
Hello from a fellow Alaskan Jesus lover who uses a unlocked SM900V as my daily driver. Currently using Resurrection Remix 7.1.2_r8 because of its tweakability and being able to use 3Minit Battery Mod.
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
Praise God! Another update!

There is a new download in the OP! Just a sync with AOKP for security patches through June! There is also a new web browser that you can try!

Just an FYI, I have changed the download link to a folder containing the rom(s), its just a little easier, so after an upload I do not have to update the links, as the folder will not change, just the rom in it.

Enjoy and Happy Independence Day and weekend to my fellow Americans!
[Verizon Galaxy S 5 Android Development] KazuDante:
Awsome!! ive been waiting patiently to hear from you. Thank you so much
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
I forgot to mention that I also changed the boot animation to the old "lightning" AOKP boot animation.

If you want the new "pony-gear" animation, you can grab it here in the "Official AOKP" folder:

https://www.mediafire.com/folder/o172vzm25q6n3/bootanimations

Or you can poke around the other animations and use any of those if you like them. Checkmate was one of my favorites, although I made these a while back for older phones, so they may be a little "fast" and/or "small" on your phone now.
[Verizon Galaxy S 5 Android Development] martytoo:
Thanks for porting this to the Verizon version.

I have found one bug that I didn't see others mention. My Recent and Back buttons are not illuminated.
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
You are welcome!

Actually, that is in the op under what doesn't work. Its a problem with all of my AOKP ROMs. It has to do with the aokp backlight controls.
[Verizon Galaxy S 5 Android Development] Barabba11:
can this ro be flashed into a locked cid11? I've safestrap installed on it, if I boot on sefastrap, wipe all and flash this, will it work?

Thank you
[Verizon Galaxy S 5 Android Development] KazuDante:
no
[Verizon Galaxy S 5 Android Development] SomeGuy2008:
LineageOS or CM based roms require an unlocked bootloader.
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
I am planning to build an update as soon as the August security patches are updated to AOKP.
[Verizon Galaxy S 5 Android Development] Kaliaila:
I'll keep an eye out for it and see if/how it works in LineageOS; then will let you know.
[Verizon Galaxy S 5 Android Development] Maphack:
I apologize for having to ask these questions in advance, but I feel like it's better to be safe than sorry, especially since I've been out of the game for most of the time I've had this phone running only a few roms for long periods of time.

Okay, so based on the instructions, I believe what I need to do is update my firmware (maybe I don't, yet it seems like I should).

First, when you say to get your phone into dev aboot mode, am I correct to assume that is just another way of saying you need an unlocked bootloader?

Currently I am running AICP on PD1 android version 6.01.

Again, from what I understand based on the instructions I should be good to flash this rom, but I want to double check if I missed anything.

Also, any other tips/advice would be greatly appreciated. And I apologize for the long post.

Also, I'm running TWRP and not safestrap. Thought it couldn't hurt to throw that info out there as well.

Again, sorry for the noob questions. I assume the title should give me enough indication that my phone would be fine flashing this, but I've been running the same driver for so long that I am rusty, so to speak...

Thank you for your work, I figured basically all dev on the s5 was dead.
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
Maphack,

You are good to go. I use twrp, not safestrap, on a bootloader unlocked phone (which we know yours is, because you are running aicp).

Download to external sdcard, go to twrp, WIPE, then flash. You may also want to download gapps, your choice, and flash that too. Do NOT flash SuperSU, magisk, or other root method. Root is already installed.

Welcome to the AOKP! ;)

And, be sure to drop in and post something. It's getting too quiet, makes me think nobody is around. Dev's are like plants. Somebody needs to check up on them every now and again, or they shrivel up. ;) comments and sidebars that are remotely related to the ROM are okay with me.
[Verizon Galaxy S 5 Android Development] Amirk365:
How's the battery life?
[Verizon Galaxy S 5 Android Development] Maphack:
Thank you for taking the time to help out, I know some devs won't take the time, not that I don't blame them since they're working for free out of the goodness of their hearts for the benefit of others.

This post ended up being far longer than I intended it to be, so I thought I should give you a tl;dr

Just want to triple check being on PD1 is safe (I don't understand how the firmware for 6.0 can work with 7.0 and I don't recall ever being able to just flash a new OS over an old one) and if there is any reason for me to upgrade from it and if I do upgrade that would also mean I would have to update my bootloader? Also, if the following questions (or the questions above) are too stupid or have already been answered, etc., feel free to not wast the keystrokes answering them (or reading below this point).

I know you said I am good, but I just want to triple check (again, sorry for being annoying, especially at this point) that being on PD1 is okay. It just seems...odd(?) to me that such an old bootloader meant for 6.0 can work with 7.0. Also, I feel like there is typically more of an "annoying" process, typically requiring the use of Odin or something when transitioning from something like marshmellow to nougat (I don't know the proper terminology for that, upgrading the OS?). Iirc going from 4.4 to 5.0 was a pain in the ass while keeping root, same with going from 5.0 to 6.0; definitely not as simple as taking the ordinary steps to flash a rom.

One last thing...is it worth updating firmwares or should I just stay on PD1? i remember when I first tried to unlock my bootloader things went horribly wrong because I was too stubborn to wipe my SD card and just hoped things would work out despite explicit directions to wipe your external SD prior. And if I do change my firmware, if my memory serves me, the bootloader has to be updated to match the firmware? I might be manufacturing memories, but I think I took a long time debating between my options of PD1 or PF4 because I basically promised myself not to touch my bootloader to even risk the possibility of un-soft bricking my phone. However...now I am having conflicting memories that you can flash different bootloaders and firmwares (sorry if these are like, the same thing and I continue referring to them like they are different) with no issue as well without using Odin...so yeah, it's pretty clear I'm a novice at this point ; the bionic was so damn simple.

Jesus, I am sorry for the long and likely unnecessary reply and questions. I swear my initial intent was merely to recheck about the firmware.

I guess one last question if you made it this far, what is "aboot"?
[Verizon Galaxy S 5 Android Development] Amirk365:
Just do it mate. Always back up and keep a firmware for your device in case of bricking ( a rare occurrence, never happened to me though). You are perfectly capable of installing this, since you are familiar with safestrap. Use TWRP though, and remember to wipe your phone before installing a ROM. Cheers
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
"Just do it." - Nike ;) good advice.

I think you answered your own question. ;)

Tl;dr

You are good to go, use twrp, follow the directions I gave you. Listen to Amirk: if you make a backup you can always go back.

If you want to upgrade, it will not hurt anything, but will take time and effort to do because of the boot loader issue.

Aboot is one of the partitions that has security locks in it, which prevent you from flashing custom boot partitions with kernels in them. Aboot S5s is just a way to differentiate roms for those that require an unlocked boot loader. Read here for more: https://android.stackexchange.com/questions/73106/what-is-the-difference-between-aboot-and-boot

Longer answer:

Yes, you are right, the bootloader can matter.

However, look at commit If4a0732a37d973eb0a335aeece3e1b53cf3b5705 (Google it if interested). The latest " vendor blobs " being used for the klte Verizon s5 are marshmallow blobs. E.g., the drivers being used to run this rom are from marshmallow, even though the operating system of this rom is nougat. Actually, to be more technical, the ril blobs (radio/cellular control drivers) that I am using are actually from lollipop, due to a problem with the marshmallow ones.

In your case, marshmallow was the last os released for for your phone that was official from the vendor. (Unless I am mistaken, but I don't think you have an official nougat release from Samsung.) All of these nougat roms are people like myself that engineer and manipulate nougat code to work with your marshmallow drivers, or manipulate the open portions of the marshmallow drivers to work with nougat.

Most times, boot loader changes and modem updates are actually inconsequential. Either security patches for hypothetically (but realistically im-) possible problems, or small efficiency changes. Sometimes they are very important, solving issues, closing security holes, etc.

Ordinarily, I would say update, but as the locked boot loader issue is hard to bypass, I say in this case skip it.

So, upgrade if you like, you will have the most up to date boot loader and modem, but you will be fine going the way you are. If you flash the rom, you will find out the answer in about 15 minutes. If you update first, it will take several hours.

Hope that helps!
[Verizon Galaxy S 5 Android Development] Legitsu:
modem updates are hardly inconsequential there is a stigma about flashing modems that dates back to the orginal galaxy days they I REALLY Wish would just die already ALWAYS run the latest ONLY run older modems/bootloaders if you are having a issue especially with Verizon habit of fiddling with the modem config all the fking time

also be very warey of pulling anything from ACIP as far as I am concerned that rom is junk its continuously broken and unstable with no attention paiddto upstream fixes from either CAF or LOS and the last klte commit(that accually did something) was over TWO years ago do not use!
[Verizon Galaxy S 5 Android Development] Maphack:
Thank you very much for your help and support for my novice questions. I feel like such an idiot staying on MM; I thought secured settings only worked with Xposed so I never updated, but this looked good and found out it works without it.

Flashed it like 6 hours ago and got a weird error in red in TWRP...it was two lines with the same language, something about a log 5 error...but it still said the script was successful, so I started doing all my restoration of apps etc. and everything seemed fine. However, I remember needing to downgrade my TWRP version in order for my old 6.01 rom to read my SD card (I won't even try to understand how/why that was necessary) and had a gut feeling that the error would not occur again. Just went through the entire process again after flashing the newest TWRP and didn't get the error as expected. It didn't bootloop my phone and I didn't notice anything strange while using my phone for roughly an hour of reinstalling apps, etc.,. No idea if that error was serious or not, thought about coming here to ask, but I'm just anal like that and didn't think it was worth taking up anyone's time since I had a pretty good idea of how to solve it.

Dunno if it's common knowledge that whichever recovery you use should be up to date when flashing a rom, but I thought throwing this info out there might be of some value and it couldn't hurt to share that experience.

One other thing though, is there a way to change the dpi? I looked everywhere (at least, "everywhere" my knowledge would take me to look for the option) and found nothing.

Thanks again for your help.

Edit: Oh, just one more thing, TiBu says it is not writeable. I had the same issue on my last rom and can't remember the fix, something about changing the file type? Been looking through the options and can't find that option again...yeah..more noob questions...
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
No problem, that's what we are here for. Hope you enjoy the ROM. Have you installed the AKLU kernel yet? If not, I highly recommend it for better battery life and performance.

https://xdaforums.com/verizon-galaxy-s5/development/kernel-nougat-kernels-t3608886

The TWRP error:

This is an error about logging. With older TWRPs it will not know how to log that in the TWRP log about installing something. So it is not a big deal, but the newest TWRP will solve that error and keep it from popping up.

Change the DPI settings:

Setings --> Display --> Display Size

TiBu: I don't use it, but here is a post about that issue, maybe this will help?

https://www.reddit.com/r/LGG3/comments/447bev/how_to_use_titanium_backup_with_your_external_sd/
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
Pretty good, especially if you flash the AKLU kernel. It really depends on how you use the phone, though.
[Verizon Galaxy S 5 Android Development] Maphack:
When I flashed the kernel it gave me an error. I'm an idiot and didn't write it down or really pay much attention to it. I wiped my cache/dalvik after flashing it and reflashed it to see if the error would go away, but it happened again.

Should I be worried?
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
Great question.

Without knowing what error you saw, I can only guess at the issue.

However, of it was an error about " ]" then you are fine. Did the phone boot normally? If you open settings -- about phone, does it say AKLU for the kernel? Then all is well.

Now you should open kernel adiutor, and make changes to your preferences.

Hope that helps!
[Verizon Galaxy S 5 Android Development] Maphack:
Yep. As far as I can tell nothing has changed and my kernel says that. I really don't know much about tweaking kernels, I basically flashed it because you said it would provide better battery life (to be honest, the battery life has been kind of a let down, but the rom is certainly an upgrade). Do you have any preferred settings and manual tweaks for your i/o scheduler and cpu governor (even though I imagine different phones will have different reactions to the same settings)? Or even an uneducated (or educated) guess as to what would emulate the performance and battery life of my old rom (I know this question is absurd, but maybe it can spark some more conversation about this rom and kernel? lol).

I guess I'll check those pages I read so long ago and just mess around with the governor and i/o scheduler and see, which is probably exactly what I should have done rather than type out this convoluted post that probably took as long to write and rewrite several times that I could already have answered all my questions by now...anyways, hope some more people come to this rom and test the kernel and discuss settings, this revitalized my interest in optimizing my s5.

Edit: I don't know if this occurred before I flashed the kernel or not, but I am having a serious problem when I take screenshots from the power menu. When I try the phone continues on for a bit, never takes the screenshot, then I get the black screen of death. Also, I never tweaked the kernel after flashing it.
[Verizon Galaxy S 5 Android Development] AlaskaLinuxUser:
My S5 battery saving settings:

CPU governor - Lionheart

Sync threshold - 1267

input boost - 883

thermal - core control off, vdd off, soc temp throttle on.

GPU (if not playing 3d games)

max - 462

min - 200

gov - msm_cpufreq

screen and sound settings in kernel adiutor as desired.

I/O scheduler for internal - row

I/o sched for external - noop

Interesting: I tried the power menu screenshot, and you are right! That is a problem that I will look into. For now, you can take a screenshot by pressing volume down and the power button at the same time (hold both for a little more than 1 second).

Hope that helps!
[Verizon Galaxy S 5 Android Development] KazuDante:
after you flashed aokp ,and his kernel , download kernel auditor from the play store , for battery you can undervolt the cpu, what i usually have is the max frequency for the cpu set to 17-19xxmhz and for the voltage i tend to go too full -100 , in kernel auditor side menu scroll down to settings ans set the wait time to apply setting to a wait time of 50secs just in case that the undervolt is not right for your cpu since not all cpu(even if the same) are still a silicone lottery ( meaning some users might get an s5 that can undervolt really well while others can't. also on his kernel page if posted good settings to bring blacks even blacker since the display of the s5 are amoled so more black= better battery( SOT) , for gov i tend to use conservative or smartmax . Hope this help

also regarding the screenshot issue , when you were flashing the rom was it a dirty flash or a full clean wipe flash process because when i was using AOKP i never came across screenshot issues.