yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I haven't validated any of the following links, just a couple i found off a web search. But it kind of hints at Oreo battery issues.

https://www.gottabemobile.com/how-to-fix-bad-android-8-0-oreo-battery-life/

https://forums.androidcentral.com/google-pixel-pixel-xl/828314-battery-life-after-oreo.html

But I think on every new android update, new techniques would be needed to work around changes/"upgrades" (such as battery consumption)

I would give this a go if you do not really need GApps. You can specifically install any required (non paid that is) apps manually outside of the play store
[Galaxy S 4 i9506 Android Development] marco.deluxe:
I think crDroid is one of the best custom ROMs.

On my S4 (i9505) I use crDroid 7.1.2 for a long time.

Now I'm interested in whether OREO (crDroid 4) will also be available for the i9505.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Re-read the OP. Your very OT.
[Galaxy S 4 i9506 Android Development] :
You are in the wrong thread. Your device has a completely different chipset and roms from here will never work for you. Also I don't think anybody here will be able to tell you wether it will be available for your device.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
test new build?

Has anyone got the spare time to test a new build? I have done a new build based on this post from [MENTION=4861355]kyasu[/MENTION] https://xdaforums.com/showpost.php?p=76267794&postcount=309 , and don't want to play (ie backup-flash-test-restore) with my daily and a bit strapped for time. Please PM me and I'll pass on a link for someone to vet before I make it public.:D

I would hope this change will improve a number of items. I would hope someone could test as a minimum

It flashes

It boots

GPS

And as bonus test the following.

IR Blaster (does this feature work in LineageOS 15.1?)

AudioFX

Flash ViperFX & remove AudioFX and check if Viper works under Enforcing
[Galaxy S 4 i9506 Android Development] DiamondJohn:
FYI Next Build issues

Just to let you guys know. crDroid has moved up to v4.2 :highfive:, however, a build I did of it had the following issues. :crying:

The default/built-in launcher has been changed and it failed to load. I got the ROM running by installing another launcher via ADB. The ROM is useless without a launcher. It's pretty new, so maybe issues are being experienced on official devices, which would possibly drive a fix that also fixes it for us.:fingers-crossed:

The Video camera seems to think it is working, however, I did not find any resultant video file:confused: In the last flash I did, the video stopped by itself soon after being started, so, maybe this is a step forward...:rolleyes: or its a step back in that now it does not know it failed.:silly:

The built in AudioFX still did not work:(. However, Viper did work; but I still have at least 1 SELinux permission to enable:mad:, to have it running under enforcing, out of the box. It would actually be easier to enable the permissions in a boot script, but I personally have enough boot scripts as it is.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
It appears the camera video recording issue is not specific to our device only

https://xdaforums.com/showpost.php?p=73087082&postcount=46

And I was comforted to find that the issue I saw with the launcher is also not specific to my build

https://xdaforums.com/showpost.php?p=76320924&postcount=657

and on their google+

https://plus.google.com/+ChiragShahChineel/posts/enymoRTzWCh
[Galaxy S 4 i9506 Android Development] DiamondJohn:
New build!

Check OP for link

crDroidAndroid-8.1-20180430-ks01ltexx-v4.2-DiamondJohnDroid.zip

I don't know what it means, but the crDroid version has incremented from v4.1 to v4.2.

The built in changelog doesnt appear to work, so see below for a link to an overly comprehensive changelog.

NB: Its pre-rooted, but root is off by default, you need to turn it on in developer options.

And, again, its SELinux ENFORCING:cool:

Please post any issues you have, and we can all thank [MENTION=4861355]kyasu[/MENTION], the crDroid team, LineageOS for making this ROM build possible.:highfive:

The new default crDroid launcher does not appear to work, so I have brought in the launcher from ResurrectionRemix.

The video camera and AudioFX still did not work for my test flash.
[Galaxy S 4 i9506 Android Development] onenett:
on version 4.0, the Lineage II Revolution game was available in the Play Market, on 4.2 the device is not supported. Maybe you need to change the name of the design?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Read the OP.

If there are changes that stop access to something on play store or a feature to add or remove, its something you should take up with the crDroid team. You can place your request/view on their G+ page linked in the OP.
[Galaxy S 4 i9506 Android Development] onenett:
I do not understand how to do this?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
CPU Schedulers and IO Governors?

ummmm... this may sound a little unusual, however, I forgot to check if the additional CPU Governors and IO Schedulers came through into the build. I added the code, but forgot to check it during my test flash:o

Can someone confirm either way on the latest build? Tripndroid should be available for both CPU Governor and IO Scheduler. Neither will appear in the changelog.
[Galaxy S 4 i9506 Android Development] onenett:
does not work camera footey camera
[Galaxy S 4 i9506 Android Development] DiamondJohn:
New Build.

NEW BUILD!

Check OP for link

crDroidAndroid-8.1-20180515-ks01ltexx-v4.2-DiamondJohnDroid.zip

NB: Its pre-rooted, but root is off by default, you need to turn it on in developer options.

And, again, its SELinux ENFORCING:cool:

Please post any issues you have, and we can all thank [MENTION=4861355]kyasu[/MENTION], the crDroid team, LineageOS for making this ROM build possible.:highfive: and ResurrectionRemix for the launcher. The new default crDroid launcher does not appear to work, so I have brought in the launcher from Oreo ResurrectionRemix.

The video camera now works.:victory:

AudioFX still did not work for my test flash.:(
[Galaxy S 4 i9506 Android Development] eccko:
Your number on .zip is bad crDroidAndroid-8.1-

20180430

-ks01ltexx-v4.2-DiamondJohnDroid.zip

date it's not correct
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Thanks, and corrected.:o copy-paste error. :o It was getting late here

One thing I forgot to explicitly test (actually I only ran it for 10min) was the GPS. Can someone give some feedback as to how they find the GPS is working? or not...

You may also notice that I switched the bootanimation to the crDroid animation from Nougat, instead of the default Google AOSP one. crDroid haven't changed theirs, but ResurrectionRemix have a new one for Oreo.:confused:
[Galaxy S 4 i9506 Android Development] pedra3000:
Hi DiamonJonh,

I'm testing version 4.1 and I'm enjoying it :)

I have been using it for more than 2 weeks and there has been a big jump on battery consumption, much better than any other rom, very good! :victory:

About GPS, I do not have much to say because it seems to work much better than before, it registers the race course normally, it gives the idea that it loses some signal from the satellite, but overall it's good! :)

The new version I'll test as soon as I get back from traveling, until then, good work :good:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
By very good, I would guess you mean the "jump", was a jump down. Normally in Aus, USA and UK, the use of "jump" implies up. ie more battery consumption / worse. If you have been using it for more than 2 weeks, I think you are going further than "testing".

I made some changtes to the GPS.conf file in the latest version. The previous versions are straight from LineageOS source.

hmmm... I personally am having issues with my GPS losing signal/location. I am NOT running this ROM but my RR Nougat build as my daily. I have tried cleaning my GPS antenna contacts, and was thinking maybe a flash to original firmware may help bring it back / correct some damaged partition.

If you are running v4.1, I think you may be two versions behind now. And don't forget, most of the real work is being done by LineageOS, crDroid and [MENTION=4861355]kyasu[/MENTION].
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Also forgot to mention there are a few extra CPU Schedulers and also a few extra IO governors to play with. They actually may of first came through in the previous build to this one, but were not present in the first few builds.

I personally prefer KA Mod Reborn: https://xdaforums.com/android/apps-games/approot4-0-ka-mod-reborn-v18-t3714105 by [MENTION=8345002]Ali Haide 001[/MENTION] over the Kernel Audiutor app from google play, which both allow you to see/set the various CPU Governors and IO Schedulers
[Galaxy S 4 i9506 Android Development] :
Off topic post removed.

:good:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I found out that unfortunate, KA Mod Reborn is not Oreo compatible.:(:crying:

Also, a shout-out to [MENTION=9015163]eccko[/MENTION] and [MENTION=6459107]darkness[/MENTION], crDroid is a very popular ROM and I have noticed you guys are building multiple ROMs. If you guys want to build this ROM, create a DevDB thread and publish your builds, you will not only be doing all the users here a favor:good:, but also be taking off any pressure from me. Even though i have been very clear from the start people should not expect future builds.

Let me know either way.
[Galaxy S 4 i9506 Android Development] eccko:
Hello, that's true, crDroid is very popular and liked. We can try to build crDroid but now we are focus on MoKee Open Source Android Project. :)
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Oreo crDroid is dead easy once you have built any LOS based ROM; the biggest issue is the download and storage of the source. It uses a completely unmodified device/kernel/vendor from LOS, so simply using the crDroid source and a roomservice file (using the sources linked from the OP), it just builds :highfive: So "try" would be an overstatement for just how easy it is, compared to other custom ROMs.

One of the "hidden" advantages is that it actually appears to be using a Sabermod-Toolchain in compiling the ROM itself, instead of the standard Google GCC. Which may explain why people feel that its "snappy".
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Ooops... :o just remembered the one catch, and that is that the default Launcher does not appear to work, so I have to bring in a different launcher. I chose RR just as it being the first in my head, but there are plenty of pre-built Pixel launchers here at XDA. This change is in the attached roomservice file in the OP

hmmm... and there is the duplicate def of AID_QCOM_DIAG, which I change with a simple one line bash command

sed -i 's/#define AID_QCOM_DIAG /\/\/ DUPLICATE #define AID_QCOM_DIAG /g' ~/android/crDroid/system/core/include/private/android_filesystem_config.h;

Of course change your path to match your build box,
[Galaxy S 4 i9506 Android Development] darkness:
crDroid 4.4

https://drive.google.com/file/d/1n29x5HYe57b2CDPYr68N1C0RLjCiEzYm/view
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I see in the image on About ROM, it includes some reference to me in the kernel name. There is no need for that, as I have nothing to more to do with it. I was never planning on building this ROM long term.

I also see in the app drawer that crDroidMusic is not there:confused:

Does your build have the now infamous boot-loop on second/third... start-up?
[Galaxy S 4 i9506 Android Development] darkness:
crDroidMusic i did remove it from source by mistake a was removen audiofx and add Launcher

i use Snapdragon Music

the infamous boot-loop i dont know that was jut quick test :(
[Galaxy S 4 i9506 Android Development] DiamondJohn:
New Build!

Check OP for link

crDroidAndroid-8.1-20180708-ks01ltexx-v4.4-DiamondJohnDroid.zip

The last few weeks, all the private/test build I had done, suffered from the boot-loop on second+ restarts. This build appears to have that issue fixed!:victory: And just to note, it wouldn't of been anything I did, but the changes made by [MENTION=4861355]kyasu[/MENTION] which fixed the issue; so be sure to visit the LOS 15.1 thread and pass on some thanks or donations.

AudioFX still does not work, but Viper can be installed.

NB: Its pre-rooted, but root is off by default, you need to turn it on in developer options.

Please post any issues you have, and we can all thank [MENTION=4861355]kyasu[/MENTION], the crDroid team, LineageOS for making this ROM build possible.:highfive:

The new default crDroid launcher does not appear to work, so I have brought in the launcher from ResurrectionRemix.

I also have added 19 CPU Governors (in addition to the stock ones) which I think were also in the previous build or two.

abyssplugv2

alucard

arteractive

badass

dyna-interactive

electroactive

hyper * DO NOT USE

intelliactive

intellidemand

intellimm

interactivex2

lazy

lionheart

ondemandplus

optimax

pegasusq

smartassH3

tripndroid

uberdemand

* Do not use the Hyper CPU Gov, it will crash your phone.:mad:

and 5 IO Schedulers.

fiops

sio

sioplus

tripndroid

vr

zen

Other changes are pretty much inline with previous versions, which include off the top of my head:

GPS fixes. * change the NTP server to something better for your location for a quicker fix

Vinyl Music player

Mixplorer file manager

The ROM is ODEX'd for faster initial boot, and after dalvik wipe

Uses RR Launcher as crDroid home does not seem to work:confused:

The Kernel uses the UBER Tool-chain. By default, crDroid uses SaberMod for the ROM, and for our device, Google's default tool-chain for the Kernel.

This build will probably be my last release as [MENTION=6459107]darkness[/MENTION] & [MENTION=9015163]eccko[/MENTION] have picked up the build of this ROM.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Almost forget (well I did at the time...) Attached is the last 90 days change-log. It does not include my specific/local changes made (eg CPU Govs etc)
[Galaxy S 4 i9506 Android Development] lightningrev:
Amazing rom !!!!! Big thanks !!!!!
[Galaxy S 4 i9506 Android Development] DiamondJohn:
* * * n e w b u i l d * * *

NEW BUILD!

Check OP for link

crDroidAndroid-8.1-20180723-ks01ltexx-v4.5-DiamondJohnDroid.zip

NB: Its pre-rooted, but root is off by default, you need to turn it on in developer options.

And, again, its SELinux ENFORCING:cool:

Please post any issues you have, and we can all thank [MENTION=4861355]kyasu[/MENTION], the crDroid team, LineageOS for making this ROM build possible.:highfive: and ResurrectionRemix for the launcher. The new default crDroid launcher does not appear to work, so I have brought in the launcher from Oreo ResurrectionRemix.

AudioFX still did not work for my test flash.:( I got ViperFX working, but I used a beta version of Magisk, and it caused a "sometimes" bootloop. And I think the ViperFX I used was the latest and probably also a Beta :silly:

And this version of crDroid brings in a bucket load of new features :victory: :highfive: . Just look at all the commits that occurred on 16 Jul 2018! :eek:

https://www.hastebin.com/icegakunox.coffeescript

Some things I noticed:

* Many more Accent colours. Including Teal :highfive:

* "Always On" display. It worked, but it never went into deep sleep, so I would guess it would drain battery. But it looks cool.

* "Smart Pixels" were added, but did not appear to work.

* Edge gestures did not seem to be triggered from the left side of the screen. I use LMT Launcher (ie Pie) anyway.

* Transparency in QS Tile background, Status bar & Recent's

* QS Tile on click animations (I think thats new)

...seriously, read all. the commits on the 16th of July!

I think I may be personally switching over from RR to crDroid...

New features are in their early stages, so hopefully they will be fixed in the future, if not working 100% now.

I also added a few more CPU Governors, including "wheatley" which is my personal new interest

see the following link for a full list: https://www.hastebin.com/beboqesohu.diff
[Galaxy S 4 i9506 Android Development] lightningrev:
Fonts

Fonts not working for russian language

Equaliser not working

delete please the page favorites in the dial pad, it does not need anyone and it hinders much!

---------- Post added at 05:03 PM ---------- Previous post was at 04:52 PM ----------

does not work button desktop wallpaper
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Does v4.5 boot-loop?

I don't explicitly remember testing it as it wasn't a known issue from memory, at the time, and I am currently running my RR Nougat build as my daily, and have only tested newer crDroid Oreo builds I have recently created (ie after the boot-loop issue became an issue), which are suffering the S4 Oreo boot-loop issue.

Can anyone tell me if the last build I released (ie v4.5) has the Oreo S4 boot-loop issue? :confused:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
They are crDroid ROM features/issues, and not specific to this build. So, if you want these changed, join the telegram group or the G++ group and make your suggestion there.

Also, read the OP again.

Have a try of the fix/workaround at:

https://xdaforums.com/showpost.php?p=77409982&postcount=755
[Galaxy S 4 i9506 Android Development] lightningrev:
Do you want to say that the update will no longer be?

---------- Post added at 04:37 AM ---------- Previous post was at 04:35 AM ----------

Please give a link to RR Nougat
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I never said there would be any updates from the very first release; re-read the OP. And I personally do not see any reason to release a version while Oreo is having boot-loop issues for our device. A waste of every-ones time. AND if my device falls into 100 pieces today, do not expect me to continue any releases either etc etc etc

You will find it pretty easily with a search.
[Galaxy S 4 i9506 Android Development] :
Just out of interest: You are talking about the three times powering up before it actually boots? Because that has happend to me as well a few times, but only like 1 out of 10 boots. And in the end it always boots up fine. I don't think it's that bad, unless you reboot your phone like twice every hour. Forgive me if you are referring to a more serious boot loop issue I have not came across so far.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
thats exactly what I am talking about, but for me, it happens on 9 out of 10 boots, and can go on for 6+ boots, but I am also running/testing crDroid. It has crossed my mind to never power down the phone...

When you say it happens to you, are you speaking about the last crDroid build I made in this thread, or LineageOS 15.1?
[Galaxy S 4 i9506 Android Development] :
Yes I was referring to los15.1
[Galaxy S 4 i9506 Android Development] 3lambda:
I had not much issue with bootloop on Oreo builds

But have you saw io scheduler ?

I've heard sometimes it can cause boot issue
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Just about every major component can cause a bootloop.
[Galaxy S 4 i9506 Android Development] BarryViper:
I have flashed a couple of custom Oreo builds and Viper is a must for me and they all installed fine through Magisk module ( I don't care about Audiofx )

As for the bootloop issue, this is what I experienced. After clean flashing, bootloop persisted and goes away after 2-3 days. I guess it has to be left alone for awhile for it to settle down.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I too have got ViperFX up and running, and also do not care about AudioFX for audio processing, however, it concerns me a tiny bit that its the "tip of an iceberg". Anyway, it appears that [MENTION=4861355]kyasu[/MENTION] has made some code changes to his source to solve it.

I have been most concerned about this issue, and as such, have now made some code modifications (as a "proof of concept") and have managed to

remove the bootloop!

:victory: I will be passing my findings on to all in the LineageOS thread soon. Basically, I think we can say bye-bye to the loop! :highfive:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
New BUILD!!!!

New build!:victory:

Check OP for link

crDroidAndroid-8.1-20180826-ks01ltexx-v4.6-DiamondJohnDroid.zip

BEFORE INSTALLING THIS ROM YOU HAVE TO UPDATE YOUR MODEM AND BOOTLOADER as per the LineageOS 15.1 thread

https://xdaforums.com/galaxy-s4/i9506-develop/rom-lineageos-15-1-unofficial-galaxy-s4-t3747831

and while your there, give some thanks to [MENTION=4861355]kyasu[/MENTION].

Many Many featurres have been fixed by crDroid, and I have turned them on (eg smart pixels and always on) :good:

There is no bootloop:victory: (I resisted a build while I knew that was an issue) thanks again to [MENTION=4861355]kyasu[/MENTION], but not just for that, but also for making it ALL possible with a device tree etc etc

AudioFX now works

I have included a 90 day change log into the ROM, so if you click on it, expect a slight delay.

Or you can read it here. https://www.hastebin.com/olaqoxesoy.coffeescript

NB: Its pre-rooted, but root is off by default, you need to turn it on in developer options.

Please post any issues you have, and we can all thank [MENTION=4861355]kyasu[/MENTION], the crDroid team, LineageOS for making this ROM build possible.

The new default crDroid launcher does not appear to work, so I have brought in the launcher from ResurrectionRemix.

I have added a few more CPU governors. The following is a full list, including the previously added ones.

https://www.hastebin.com/lopizuzoci.diff

NB: Not all of them will be 100% compatible with this ROM/device.

I might be going crazy, but it boots in an unbelievably quick time! I am sure my custom boot animation previously (on Nougat) had 13-15 cycles. This ROM does it in 3!!! This of course starts after the bootloader screen, which is not controlled by the ROM.

The Kernel as always is compiled using the Uber Tool Chain, and crDroid ROM use their own SaberMod Tool Chain.

As before, I also have replaced the Launcher with the one from RR.

I have also replaced the music player with Vinyl music player (thanks to Adrien Poupa, and an update is available on F-Droid, but I had a strange issue on my previous ROM with the update...)

I have also replaced the file manager with MiX (thanks to [MENTION=4070451]HootanParsa[/MENTION] https://xdaforums.com/showthread.php?t=1523691 maybe visit and share some gratitude)

Did I mention you have to update your Bootloader and Modem!