[ROM][OREO][ks01ltexx][UNOFFICIAL][PREVIEW]crDroid v4.6-DiamondJohnDroid

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
Code:
#include 
/*
 * Your warranty is now void.
 * and I didn't give you any warranty to begin with
 *
 * I am not responsible for bricked devices, loss of data, dead SD cards,
 * loss of hair, thermonuclear war, or you getting fired because the alarm app 
 * failed. Please do some research if you have any concerns about features included 
 * in this ROM before flashing it! YOU are choosing to make these modifications, and
 * if you point the finger at us for messing up your device, everyone will laugh at
 * you and I will deny any wrong doing or responsibility.
 */
crDroid G+ community

crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today.
Based on Lineage with extra goodies

Installation files & steps
Downloads :
NB: MUST USE OLD BOOTLOADER AND MODEM!! see LineageOS 15.1 thread
ROM: crDroidAndroid-8.1-20180917-ks01ltexx-v4.6.1-DiamondJohnDroid.zip MD5: ba48e90509017db02d767511af7fabac

Previous build: (will disappear as I am low on space!), and I know no known reason to use the older builds.

Rom :
The following two need the Newer I9506XXUDRB1 Modem and matching bootloader => I9506XXUDRB1_I9506XXUDRA1_bootmodem.tar

crDroidAndroid-8.1-20180911-ks01ltexx-v4.6-DiamondJohnDroid.zip MD5: daa44cc297fe7a2acfeb133c5c82e27a
crDroidAndroid-8.1-20180826-ks01ltexx-v4.6-DiamondJohnDroid.zip MD5: 6da18f10f38fbd0a54efd2a40a4d9f33

The following need the old J2 Modem and matching bootloader
crDroidAndroid-8.1-20180723-ks01ltexx-v4.5-DiamondJohnDroid.zip MD5: fc8b3a842e930202380aea13842b8c9f
crDroidAndroid-8.1-20180708-ks01ltexx-v4.4-DiamondJohnDroid.zip MD5: 831ccc71211bb444dfc04105f7449ef2
crDroidAndroid-8.1-20180515-ks01ltexx-v4.2.zip MD5: c2f4de35c418d074c82e7467740c5205
deleted crDroidAndroid-8.1-20180430-ks01ltexx-v4.2-DiamondJohnDroid.zip MD5: f5231e52e269c8cfce73c56de2a12ab2

TWRP: twrp-3.2.3-0-ks01lte.img
GApps : Opengapps 8.1

INSTALLATION INSTRUCTIONS
If you don't know how, then this isnt for you. But ensure you have a NANDROID as its not for daily use or replacement of your current ROM!
See the LineageOS 15.1 thread for hints: https://forum.xda-developers.com/ga...-lineageos-15-1-unofficial-galaxy-s4-t3747831
If you get a SystemUI has stopped during the first boot, click on wait not close/stop.

SuperUser is included in the ROM, but is switched OFF by default.

DEVICE: Samsung S4 - GT-i9506 - ks01ltexx
Recommended Bootloader / Modem: I9506XXSDPL2_I9506XXUDOJ2_bootmodem
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Based On: crDroid
SELinux: ENFORCING

Sources:
https://github.com/crdroidandroid
https://github.com/kyasu/android_kernel_samsung_msm8974
https://github.com/kyasu/android_device_samsung_ks01ltexx
https://github.com/kyasu/android_device_samsung_msm8974-common
https://github.com/LineageOS/android_device_samsung_msm8974-common
https://github.com/kyasu/android_vendor_samsung_ks01ltexx

WITHOUT THE DEVICE TREE BUILT BY @kyasu THIS ROM WOULD NOT BE POSSIBLE
see: https://forum.xda-developers.com/ga...-lineageos-15-1-unofficial-galaxy-s4-t3747831 and show some well deserved thanks!

NB: THIS BUILD SHOULD BE CONSIDERED:==>
* I WILL NOT BE DEBUGGING THIS ROM, HOWEVER, PLEASE FEEL FREE TO POST ISSUES FOR THE BENEFIT OF OTHERS
* A ONE OFF BUILD, I WILL NOT BE DOING REGULAR UPDATES
* NOT BE CONSIDERED A DAILY CANDIDATE
* JUST A PREVIEW OF WHAT THE CURRENT STATE OF SOURCE CODE IS AT


Did I mention this would not be possible without the work by @kyasu, the crDroid & LineageOS teams.
 

Attachments

Last edited:

DonAndress

Senior Member
Mar 16, 2010
861
91
0
Kraków
Thanks for posting, I personally still use version 14.1 of crdroid.
But what is the purpose if you're not gonna debug and maintain this rom?
I'm sure something will pop up...

Sent from my GT-I9506 using Tapatalk
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
Thanks for posting, I personally still use version 14.1 of crdroid.
But what is the purpose if you're not gonna debug and maintain this rom?
* JUST A PREVIEW OF WHAT THE CURRENT STATE OF SOURCE CODE IS AT
I personally am currently using my own build of Nougat ResurrectionRemix, which I have also shared here at XDA. I personally wanted to check if I could build a non LineageOS Oreo ROM using @kyasu LOS device tree's. ie Hopefully, in the future, when all the source code code is more stable, I will be able to build another ROM for my personal use (which I would also share).

aaand ... https://en.wikiquote.org/wiki/George_Mallory)

I'm sure something will pop up...
ALL the oreo code is still VERY early days, I dont think there are even too many official devices with releases yet ie not even Alpha's. You don't need to look too far before something "pops up"

if you're not gonna debug and maintain this rom?
Thats one of the brilliant things of open source code. There are a team of people working on LineageOS (the basis for crDroid and ResurrectionRemix), as well as people working on crDroid and RR, as well as the work being done by @kyasu specifically for our device. Any work they do, would flow through to anyone building the ROM from source. ie "I" do not specifically need to do the debugging, hopefully. And that makes me think of another reason, maybe this build will inspire someone else to give it a go.
 
Last edited:

DonAndress

Senior Member
Mar 16, 2010
861
91
0
Kraków
I personally am currently using my own build of Nougat ResurrectionRemix, which I have also shared here at XDA.
I have to check your build then. I'm aiming for most debloated rom.

maybe this build will inspire someone else to give it a go.
You know I would but unfortunately I'm completely noob in this area. I don't even know where to start ;)



Sent from my GT-I9506 using Tapatalk
 
P

PixelChris95

Guest
Each Dev has a right to include all the crap he wants. I'm not saying that DiamondJohn does but still, some roms are faster and more battery efficient then other.
Yes that's true, but since almost every custom rom is based on LOS I wouldn't expect a huge difference. Also in my experience the apps installed by the user or Google services eat up the battery, not so much the rom (of course the system consumes battery, but most of the time it's something else, if one has unusual high battery drain). I think if you really want to save energy you probably need to throttle the CPU. And Oreo isn't too great at saving battery at the moment (I am only talking about the builds available for our device of course). I hope this will get better in the future. I am using Oreo nevertheless because it's rock stabil and I like the features.
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
Do you consider lineageos bloated?
I'd like to hear the answer to this question.

I dont think you should be looking at ROMs like ResurrectionRemix or crDroid if you wish to be running "light", and I would also go for PICO GApps (which is what I run).

By the way, was the "ks01ltexxd" in the title intended? :D
nope, thanks, and corrected:eek:

Each Dev has a right to include all the crap he wants. I'm not saying that DiamondJohn does but still, some roms are faster and more battery efficient then other.
As this was a build straight from the source (I only changed one line to make it permissive), its the decision of the devs at the crDroid Team, not me.

By the way, whenever I have looked at the changes made in crDroid, the non-device specific code changes has always been by a single dev. I am sure its a group that decides on bigger things, like what to include, just interesting that shared (between devices) code almost seems to be maintained by a single guy.

Yes that's true, but since almost every custom rom is based on LOS I wouldn't expect a huge difference. Also in my experience the apps installed by the user or Google services eat up the battery, not so much the rom (of course the system consumes battery, but most of the time it's something else, if one has unusual high battery drain). I think if you really want to save energy you probably need to throttle the CPU. And Oreo isn't too great at saving battery at the moment...
I am running Nougat ResurrectionRemix, and to limit my battery drain, I have Greenify running VERY aggressively. I also have the CPU at standard max, but a conservative governor; Tripndroid, which doesn't seem to lag for my usage, but likes the lower frequencies.

I am using Oreo nevertheless because it's rock stabil and I like the features.
I am guessing you are running LOS. The latest build appears to have caused some "noise", which worries me as this build is based on similar code. GPS also appears to be a common issue. I tried GPS on this build and it didnt connect to any satellites (I was inside, and it was heavily overcast that day) but when I restored my daily and it didnt lock a location either (but at least connected to a few satellites). I'd be interested to know by anyone who tries this ROM if the GPS works? That's a deal breaker for me personally. The "efs" partition talk also really concerns me.
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
New build!

There is anew build up (see OP). This build was basically a test to see what would happen (ie would it even boot) if the SELinux was ENFORCING

Make sure you flash GApps along with the ROM before the first boot. I accidentally booted without GApps and then flashing it after caused issues.

I also tried Magisk 16.0 for root, and that appeared to work. Instead of the LineageOS add-an

I also tried flashing Viper, and that worked as soon as I switched over to permissive. I also took a log to see what permissions/SELinux statements would enable it to run enforcing.

I did appear to have issues the second time I flashed it with ADB over WiFi (it didnt pop up the request/confirmation).

I am also hoping that the GPS will be fixed soon in the LOS 15.1 builds which will hopefully flow through to crDroid:fingers-crossed:

Remember, this is unofficially an an unofficial build:silly:;)
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
You don't think crdroid is light?
I've been using it for a year now and I believe it's pretty light.
Feature wise, it is NOT light; as it is very featured. Those features come from code.

To me, if you truly want light, you go with a "vanila" AOSP ROM. I am NOT talking about how they run, but their contents. On a different device (xt907) I built a number of Nougat ROMs, and AICP actually seemed noticeably "snappier" to me than crDroid or RR. A ROM not being light, does not mean it is slow.

Not that's its an accurate comparison of anything, but comparing the Oreo file sizes,

LOS 15.1 = 359MB
RR v6.0.0 = 329MB (I recently did a test build, and it booted and ran :victory:)
crDroid v4.0 = 385MB

also, the main build section has "steps" when compiling a ROM, below are the results from the last time I compiled each of these
LOS 15.1 = 75755
RR v6.0.0 = 76872
crDroid v4.0 = 77145

On a side note, I have another device (Nexus 5, the xt907 has died:() and that has an RR Oreo ROM at around 359MB and an AOSP ROM (v8.0) at 297MB.

By the way, RR is my ROM of choice, as (I think) this device is much more than capable of handling just about any ROM we can thrown at it, at least thus far for me.:good:
 
  • Like
Reactions: DonAndress

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
out of interest

There has been over 100 downloads of the ROM. Is anyone actually using it as a daily? or simply as a preview? noting that was the actual purpose; ie a preview not a daily.
 
  • Like
Reactions: pedra3000

pedra3000

Senior Member
Jun 16, 2012
98
36
0
Porto
BEST ANDROID OREO ROM FOR - S4 I9506 ks01ltexx

There has been over 100 downloads of the ROM. Is anyone actually using it as a daily? or simply as a preview? noting that was the actual purpose; ie a preview not a daily.
Hi DiamonJohn,

I'm giving a daily test although this is not the case, but I'm even amazed by the result even with this state of the ROM.
In terms of apps, everything works, at least the ones I use daily basis that are; Facebook, Messenger, Inbox "2 email accounts", Outlook "1 email account", Google Keep, DropBox, Skype, Twitter, Youtube, etc..., bluetooth works and I'm going to test the GPS tomorrow when I go running :)

What I mean is that even though not being for daily use (for now) this ROM is not too far from that in my point of view, of course you still need a lot of work ahead and the battery does not last long but what does it matter at this stage since the RR roms happens the same :laugh:

With spirit and with head this rom can get very good at level ★ ★ ★ crDroid ★ ★ ★ Official[7.1.2][ks01lte][V3.5][09 JUN] and by the way, it's the rom I use every day and it's great.
I was going to forget to mention, Magisk Manager, Xposed and Greenify they are installed and working properly.


For now is everything and I hope this rom go forwar, I am very interested because my GALAXY S4 LTE still has much to give :D :good:
And I say even that this ROM in the point that is, deserves the title that I gave :angel:
 
  • Like
Reactions: DiamondJohn

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
... and I'm going to test the GPS tomorrow when I go running :)...
I would not expect the GPS to be working. It was built without a change from LOS that would fix it. But I tried including the code, which didn't appear to work for me, and only after realised that I had a hardware issue (my antenna wasn't connecting well physically on the device:mad: fixed now) I am now waiting (patiently;)) for @kyasu to update his actual device tree with the changes.

I have also built an Oreo ResurrectionRemix. I am hoping someone will test applying a substratum theme against one of these Oreo ROMs (although I haven't made public the RR one) I have built. That (and the GPS) are probably my roadblocks right now foir me to upgrade and thereby be more frequent with new builds; ie I dont know if Substratum works or not. I have tested Viper (another one of my personal deal-breaks, and that works)
 

pedra3000

Senior Member
Jun 16, 2012
98
36
0
Porto
GPS Works well

Surprise LOL, GPS works well with me! :)
I use Endomondo - Running & Walking and GPS and continued to work well, without having the 4G connected!
I installed the GPS TESTE to see how many satellites it picks up and the accuracy and it seemed to me everything normal (view image link)
https://www.dropbox.com/s/kycoe6blbovs78g/Screenshot_GPS_Test_20180327-082957.png?dl=0

About the Resurrection Remix I tested (Nougat) are good, but the battery is the weak point, because until now they all drain very quickly, which can not be for me to be daily use. As I mentioned, the crdroid ★ ★ ★ ★ Official [7.1.2] [ks01lte] [V3.5] [09 JUN] the battery is very good and for now is my choice for daily use.
I want to update to the OREO and so far and I have always liked crDroid for better results this your unofficial ROM is very very good :good:
Of course I'm here to test your Oreo RR :D