yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
I love the speed and smoothness of ElementalX, but I have a small problem.

After installing ElementalX-1.04 or 1.05, whenever I select "Settings / Display" it crashes with a message "com.android.settings has stopped".

Here's what I did:

1. Install latest Oxygen 5.16 (Select "Settings / System Updates / Local Upgrade" then install OnePlus6Oxygen_22_OTA_010_all_1806070151_ad8b19ed516e78.zip).

2. Factory reset (Select "Settings / Backup & reset / Factory data reset / Reset phone")

3. Reboot system and complete initial Android setup

4. Reboot to bootloader

5. Fast boot Official twrp

6. Flash ElementalX-1.05.zip

7. Reboot system

8. Select "Settings / Display", then it crashes with a message "com.android.settings has stopped".

If I reflash stock boot image (OP6_Oxygen_5.1.6_boot.img) it no longer crashes.

Has anybody else had this problem? What could I be doing wrong?

Please let me know if you need any more information from me.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Did you flash Magisk? Also, did you follow detailed directions on how to install official TWRP? https://xdaforums.com/oneplus-6/how-to/guide-how-to-install-official-twrp-t3801558
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
Hi lollyjay, many thanks for your reply. I've tried with and without Magisk, but I haven't tried installing twrp. I've just been fastbooting twrp. Perhaps that's the issue. I'll try installing twrp and let you know if it fixes the problem.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] TiZiO.Cover:
Whenever I return to that screen the value of top-app will have changed to the same as Dynamic Stune Boost, every single time. :confused:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
Hi lollyjay, I tried your suggestions but unfortunately it still crashes.

Here's what I did:

1. fastboot boot twrp-3.2.1-0-enchilada.img

2. Flash OP6_Oxygen_5.1.6_boot.img

3. Reboot system and check that "Settings / Display" doesn't crash.

4. fastboot boot twrp-installer-enchilada-3.2.1-0.zip

5. Flash twrp-installer-enchilada-3.2.1-0.zip

6. Reboot recovery

7. Flash ElementalX-1.05.zip

8. Flash Magisk-16.5.zip

9. Reboot system

But it still crashes when I select "Settings / Display".
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] VeNuMuS:
Maybe the update had a problem. I'm sure it's not kernel related as I'm running the lastest and no problems. Try reflashing the entire Rom and see if that fixes it. Do you by any chance have Xposed or any other modules enabled through magisk that can cause issues?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
that's a great report, well done :D

considering what you were doing there is only one thing that comes to my mind which does not mean it IS the only thing LOL

there must be an app and/or a setting that is not compatible with the kernel while there is no way to know what/which from here.

do you have any app installed that is able to tweak kernels?

do you have more than one app installed that can tweak kernels, some apps can do that through side features like rom toolbox pro etc.

if you have such an app installed, is it possible that there is a setting set on boot that could cause this ?

if you have 2 or more tweaking apps installed, is it possible that they have contradictory setups?

did you try to clear cache and data of the settings apps, main and secondary?

do you have a nandroid backup?

if you have a nandroid backup, repeat what you did to the "T" on a clean install without a single app installed (other than system apps of course)

then see whether it still crashes, i guess not but it has to be verified.

if it does not crash with a clean setup, you have to search the culprit by installing user apps in small increments, make a nandroid of each working state and go to the next set of user apps until you're either done and the problem has gone or until the problem starts.

after that you'll know in which set of user apps the culprit is and narrow further down.

i know it's work but without lucky punch this is more or less the approach that you'll have to take to find the guilty app and/or setting.

as a variation you can set your apps up after each increment but don't forget to make frequent nandroid backups,else you could end up in

a situation where you have to start from scratch again ;) same can happen if increments are too large (too many user apps at a time)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
Hi VeNuMus, thanks for replying. I have tried clean flashing the entire ROM many times over the last few days trying to investigate the cause of this problem! When I install ElementalX, I get the crash. When I restore stock boot image, it doesn't crash. I'm trying to think what could be different about my phone compared to everyone else's. One difference is that my phone is the Indian Avengers edition, Model "ONEPLUS A6000". My friend's phone is Model "ONEPLUS A6003" and his doesn't crash. Has anyone else got Model "ONEPLUS A6000"? Does it crash or not?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] B3501:
No crash here on A6003.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Here's what I suggest:

1. fastboot boot twrp-3.2.1-0-enchilada.img

2. From TWRP, flash twrp-installer-enchilada-3.2.1-0.zip

3. Reboot back into twrp

4. Boot from TWRP into system and check if all is well

5. Reboot recovery

6. Flash ElementalX-1.05.zip

7. Flash Magisk-16.4.zip NOT 16.5

8. Reboot system
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
Hi magnamentis, a very BIG thank you for your enormous reply with many great problem-solving suggestions!

I tried reinstalling the entire ROM followed by a factory reset (I’ve also tried wiping internal storage too) to wipe out all my apps. During initial Android setup I selected “setup as a new phone”, then after completing the initial Android setup I immediately went into Airplane mode to prevent Google Play store downloading any updates. I then rebooted to bootloader mode, fastbooted official twrp and installed ElementalX. After I rebooted the system Settings / Display crashed even though there were no tweaking apps installed of the type you suggest. The only apps that were installed at this point were the ones that come with stock Oxygen.

I didn’t know there was a main and secondary settings app. Are they called “Settings” and “Settings Storage”? I have tried “Clear Cache” and “Clear Data” on both, but it still crashes.

---------- Post added at 10:00 PM ---------- Previous post was at 09:39 PM ----------

Hi lollyjay, I tried your suggestion using Magisk 16.4 but it still crashes. Previously I have tried to see if it crashes immediately after a clean install of the entire ROM followed by factory reset, then installing just ElementalX (no Magisk) and it crashed. After restoring stock boot image it doesn't crash.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Sorry [MENTION=8819171]bdick21[/MENTION] about your bad experience. I wish I had more suggestions, other than a total clean flash of OOS
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] strikerdj2011:
looking forward to this as built in colour thing is crap
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
Hi lollyjay, it's a weird one alright. Even a total clean flash of OOS doesn't solve the problem! Perhaps I can find another person with a Model A6000 (not A6003) and see if it crashes too. That would give more weight to my theory that it might be because I've got the Indian version. Even if I don't find a solution, I can still live with the problem. I can reflash Stock boot image + Magisk, reboot system and use Display settings, then I can reflash Stock boot image + ElementalX + Magisk to return to the super buttery smoothness of ElementalX. But I'd still love to know what is causing the issue.

---------- Post added at 10:17 PM ---------- Previous post was at 10:10 PM ----------

A6000 supports 37 bands and A6003 supports 40 bands. I contacted OnePlus before I bought my phone and they said it would be possible to enable all 40 bands on my phone. Perhaps doing that will turn my A6000 into an A6003. I'll give them a call tomorrow.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Good luck
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
you for sure did all that perfectly well, not more could have been done. that said, comes the bummer LOL i'm out of ideas and think your suspicion that it's device specific is likely spot on.

there is one more thing that has to be discussed with flar2, is it possible that the device number has to be present somewhere and your device number 6000 is not among them?

i know that there were kind of issues in the past with kernels that did not work when the device number was not correct, if i remember correctly it was with the oneplus2 that could be writen oneplus 2, oneplus2 or OP2 and after that it worked. then there were similar issues with TWRP but right now i can't make any sense of it so to tell you more, it's just a last thought that perhaps is worth to check with kernel dev.

after all your device number represents kind of a minority (rare species LOL)

let us know if you find something along this line of thinking ;)

good luck from my side as well of course, it will ultimately be settled while that's not been true for EX on my nexus 6 running lineage base custom rom, no way till now and we're approaching the end of the "O" life cycle as far as development is concerned.

one last resort would be to re-lock the bootloader and re-unlock it, it's one of 2 100% ways to get rid of ALL residues.

residues should not be understimated and formating/wiping data is not 100% reliable in all cases. happened to me twice else i would not mention it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iElvis:
Try flashing one of the other kernels.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Astrubale:
[MENTION=4684315]flar2[/MENTION] Can you use your 3th post to write down a changelog please?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
Hi magnamentis, once again many thanks for taking the time to respond at great length to my problem!

Your suggestion that the device number might be present somewhere is exactly what I was thinking. Perhaps it is possible to change the device number, but I can't find it in build.prop. I'll try to contact flar2 as you suggest.

Your suggestion about relocking the bootloader is a good one. I'll try that too, but it's far too late tonight and I've got work to tomorrow!

Many thanks for all your help. I recommend a book on problem solving strategy called "How to Solve It" by George Polya. Perhaps you have read it already from all your great suggestions!

---------- Post added at 11:51 PM ---------- Previous post was at 11:50 PM ----------

Thanks iElvis, I will try a different kernel as you suggest.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Headstrike85:
Bought Ex kernel + HBM, flashed elementalX without flashing again magisk.

Works fine, root still here
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mackentosh:
Anybody speaker phone not working with 1.05?

****NEVER MIND***** It's working
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
I was just on speaker phone a minute ago. Works fine.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] exelinguy:
No crash here. Also have A6000.

Where did you get your ROM image from?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
Hi exelinguy, many thanks for your reply. That disproves my theory. Where did you get your ROM image from and what is it's MD5 checksum? My ROM image is Oxygen 5.1.6 OnePlus6Oxygen_22_OTA_010_all_1806070151_ad8b19ed516e78.zip (MD5 checksum = ed34d61a85996d0890942127118ea233) which I got from an official post on OnePlus's Community forum. Looks like Oxygen 5.1.7 is out now, so I'll give that a go.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] BossNexusS:
Will this work on the 5.1.7 update?anyone try it yet?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpdragon:
Installed fine with 5.1.7
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lgalkis:
I install fine the kernel under 5.1.7 but the app doesn't shows the settings,only a basic interface
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] npes87184:
Do you have root?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lgalkis:
It seems that after reboot,I had to re flash the root. Now I am ok! Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] untitledH:
Would like to see an option to disable fingerprint reader vibration without also disabe notification vibration, thanks!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Flying Fox:
Still crashing? Sorry, didn´t have the time to read all suggestions for your issue.. Which kernel manager are you using? Maybe you´ve done some "extraordinary" settings sometime. Experience tought me that not everything can be solved by a clean flash. Have you already tried deleting data of your kernel manager (in app info)? As often until button greys out? Then fastboot boot stock boot.img to both slots A and B, continue with procedure to get twrp and magisk back. Wipe cashe, reboot into system, back to recovery and flash kernel again? Just an idea and few steps, which only take few minutes? Hope you will get your stuff working again.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] BRANDENDEUCE:
After flashing new version, any apps that should use fingerprint to unlock, are using code instead. On latest stock OOS. Not sure what my issue is.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Headstrike85:
Hello, i have tried HBM, brightness is a little bit better but it's again to low... Can it be enhanced in the futur ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
It's at the maximum already. I can look in the code and see if I can boost it a bit more, but probably not.

It should be plenty bright already. I measure it as 42% brighter than the highest stock setting, that's pretty significant. Are you sure you have root and that the app has root?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] strikerdj2011:
[MENTION=4684315]flar2[/MENTION] will you be implementing the rgb kcal update in the future thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] azsl1326:
See here
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Headstrike85:
Yes i'am root, app have root too, i see a difference with HBM on, it's bit better but IMO, brightness is not good on this phone, my last phone was better for that (iphone 6s+)

When i have a little bit sun i can't watch vidéos etc... ?

Thanks for your answer, and your hard work ?. (Sorry for my bad english)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
Guys, is there a way to install TWRP from system instead of having to fastboot boot twrp.img and flash twrp installer after every ota? Sorry for slight off-topic :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
You must flash twrp with fastboot
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Headstrike85:
[MENTION=4134586]Lownita[/MENTION] If you already have twrp

Flash the full zip

Do not reboot

Flash twrp installer

Flash magisk, if not installled reboot TWRP, reflash magisk with twrp.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
To be clear: this works ONLY IF YOU INSTALL OOS WITH TWRP.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] strikerdj2011:
i know about that but another dev released it on there kernel last night so i was asking if he was adding it :good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] peltus:
That's not very clear either. You probably mean this only works when flashing the full ota zip file from twrp, instead of updating through the built-in OOS updater.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Eventually. I want to put it into a separate driver so it's more of a generic solution and can be used on all qualcomm devices going forward. This will take some time.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
send a pm to flar2 asking whether there is the possibility that your device nummber (i.e. A6000) could be the reason for this issue.

it's by no means certain but there of course has to be a reason and since this is one of the more obvious difference it's worth to ask, on the other hand if that were the case he would probably have answered to our exchange. can't say more, let's see and once i have new ideas i'll post them here.

currently upgrading to 1.5.7, hoping all goes well, still not totally safe each time, at least feeling wise ;)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
When doing this, does TWRP flash the update to the inactive A/B partition correctly as the OOS updater would?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
If I were asked to guess I would have to say that it is preferable to let the update install from the System updates in Settings
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] peltus:
Yeah, but then you'd have to fastboot boot twrp againto flash twrp.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
alll good

i recommend to flash twrp zip again from twrp AFTER new update flash and BEFORE kernel and magisk last because the

5.1.7 update apparently CAN kill twrp for some, ending up in stock recovery, hence a bit of a precautionary twrp flash can safe you

the hassle of a few extra-rounds ;)

and don't forget the backup each time, can come in handy at current state of affairs LOL

[IMG="1.5.7+EX+Root"]http://magnamentis.com/WFH_Files/PaymentProofs/180601_Payments_Series_014/00_OP6_UPDATE-06-15%2020.44.07.jpg[/IMG]

[IMG="1.5.7 Nandroid"]http://magnamentis.com/WFH_Files/PaymentProofs/180601_Payments_Series_014/00_OP6_BACKUP-06-15%2020.54.07.jpg[/IMG]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
True but process takes 5 minutes. Remember that twrp devs do not know everything that OP devs know about how slots a and b are to be used.

---------- Post added at 07:59 PM ---------- Previous post was at 07:51 PM ----------

All oneplus full updates kill twrp.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
NO 5.1.6 did not kill twrp, normally i'd not mention this because depending on flashing order things CAN be different between users but what i experience myself i can say with absolute certainty, 5.1.6 left my TWRP alone, no matter why and how, that's how it was ;)

of course, experimenting is a valid choice as well, but considering the whining and stubbornness claiming to have done everything right across all threads of those who get stuck with a blue light and a black screen etc. it's definitely recommended to stick to the safest possible procedures, not even put into account all those who are too lazy to fastboot flash like if it would be much of an effort.

further, even if you were right, my "RECOMMENDATION" is still 100% valid, hence no reason to go there, everyone who follows the recommendation is safe, else it's an experiment, exactly like

flashing or not flashing magisk after kernel, sometimes it works to keep root for some, mostly it does not.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
You mean 5.1.6 not 1.5.6? I updated to 5.1.6 and it definitely overwrote twrp.

Incremental updates may not but full zips will always.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
yes, you're correct, sorry for the typo, will go and correct it immediately LOL
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
great post

that said:

your update method is totally ok

but !!!

we're all guilty for not having had the idea but first thing upon any app crashing that is themed is to uninstall all overlays and to reboot

try and report, chance is high after all you did while i remember that you wrote once that you tried clean as well and that woul mean without theme and there would go our hope LOL

but try that still, i'm curious, very much so ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bdick21:
Hi magnamentis, I have the Limited Edition Avengers One Plus 6, so after a clean flash it has the Avengers theme by default. I'm not sure how to remove it. I'll try selecting a different theme and see how it goes.

---------- Post added 16th June 2018 at 12:16 AM ---------- Previous post was 15th June 2018 at 11:52 PM ----------

Success!!!! :good::good::good::good::good:

I reflashed the 5.1.7 boot image + TWRP + Magisk, then rebooted system and selected a different theme, then I reflashed the 5.1.7 boot image + TWRP + ElementalX + Magisk, then rebooted system and it no longer crashes! Hooray!!!!!

Many thanks to everyone who posted suggestions and a BIG thank you to magnamentis who spent considerable time helping me find a solution. We did it!!! ;)

---------- Post added at 12:20 AM ---------- Previous post was at 12:16 AM ----------

Before flashing ElementalX, there are 4 themes listed (0=Default, 1=Light, 2=Dark, 3=Avengers). After flashing ElementalX, there are only 3 themes (0=Default, 1=Light, 2=Dark) so it goes bang if the Avengers theme was currently selected as it is no longer in the list.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iElvis:
Hulk SMASH OP6
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Chris123NT:
LMFAO :laugh:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] BRANDENDEUCE:
Is there a way to remap the fingerprint sensor. To make it register two taps as home, etc? Awesome kernel, by the way.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] brossovitch:
There's an app that does this, yes.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] BRANDENDEUCE:
What app would it be?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] brossovitch:
There's more than one. Try the one in TKs video. Or just looks at the many in the PS.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] KnifeFed:
[MENTION=4684315]flar2[/MENTION] I noticed that Cleanslate added an option to dim/disable the charging LED. I would love it if EX had this feature as well!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Kookitza:
[MENTION=4684315]flar2[/MENTION] Does your kernel compatible with DP2?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Hey man have you taken the leap to DP2? I'm afraid to try it
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Kookitza:
Yep, and its sooo smooth. You must try it mate ;)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
I'm following the thread we should move our posts to there. Sorry for my OT post
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
i recoommend to tweak such things with apps from the playstore, reason is thta it works across roms, api-versions and devices and makes you independent of developers choice what to implement and what not.

that does not mean that if flar2 would implement it that this would not been a nice thing for many, i'm just providing something to consider

that will last/make things work for years to come independent of what others have in mind for us.

i'm using lightflow for 6 years now and it has worked on any rom, api and device.

only downside which is only a downside for the lazy, is, that it has so many features and ways to make things function that some would give up

too early and give bad ratings. of course it's nothing new that those who don't get it blame others LOL ;)

finally to answer to your specific wish, you can dim lights to ANY level you like while i think OP6 lights are very poor/weak and i boosted them to 900% but as i said, you can dim to down close to invisibility and even schedule brightness and much more.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] KnifeFed:
As far as I can tell, the blue Dash charging LED can't be changed via Light Flow. Or am I missing something?