yashsingh1/xdaforums huggingface dataset:
[Android Stick & Console RockChip based Computers] haynz:
K - n good morning^^ ... spent my night by seeing Programs not really loading and crashing ... rejoiced too early :/ Seeker (Soulssek client for Android) seems to be the only usefully working App :/ .. and the laggiest lags i've ever seen on a computing device the whole night long .... reflashing ARMBIAN now as the final state of my poor stick ... you can nicely watch the lags in system monitor graphs there and afterall it's not too bad .... but only for museum purposes^^ anyways regards to everyone stomping over here ;)
[Android Stick & Console RockChip based Computers] haynz:
... maybe last comment - Telegram working nice at ARMBIAN :) ... at least you can read your papers with it ;) ... anyways armbian seems to be the only usefull thing you can do with that poor device ...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] shinanai:
Calender issue is fixed. Better ram management, smoother animations., digital wellbeing.

Gdrive link: https://drive.google.com/open?id=1G973HQdFPu1EXRWLMoEE2ndrKMiUmDar
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] trouble.:
Digital wellbeing? Really? Can u show me a sc?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] HTC_HD2 Leo:
Yep Digital wellbeing ;)
[LG G5 Questions & Answers] lgg5troubled:
Hey everyone,

I tried popping open my phone and doing the DIY GPS fix of lifting the prongs and camera lens replacement, I think I ended up damaging something with the heat from the hair dryer... cus after I reassembled my mobile everything popped back into place but now the phone is just giving one buzz and a black screen when I press the power button.

I tried connecting the charger but no response, even the LED for charging is not lighting up. Any idea what I must've done wrong or how I can get it fixed?

thanks for the advice
[LG G5 Questions & Answers] ezzony:
Doesn't sound good. I'm not familiar with the mod you performed but doing these kinds of things are hazardous if your not careful and even if you are.

Is your devices recognized when you connect it to a computer? In MS Windows you might see something show up in device manager. I would open up the device again, disassemble / reassemble, and hope it comes back to life. This has happened to be in the past and the issue would mysteriously resolve itself.
[LG G5 Questions & Answers] TheMadScientist:
Maybe pop out back apart and make sure all the flex cables are connected properly if not. Sorry for your loss
[MDA, XDA, 1010 General] stopin_o:
Hello i use the xda-developers firmware to unlock the operator restriction of mi qtek 1010, and the language set automatically to English, and my question is...

How i can set the language into spanish?...
[MDA, XDA, 1010 General] Rudegar:
language is hardcoded into the roms

only way is to change the rom to one in your pref language if one

is avalible

WWE == world wide english so stay clear of those

http://www.romkitchen.de/
[Xiaomi Mi A2 Lite Questions & Answers] ionico:
hello Mi A2 Lite users,

I use Android 9 with serp. update.

I have troube with microSD cards. my card is formatted as internal storage. it randoms ejects card when screen is locked. after screen unlock card connected again.

i tryed 3 different cards. two Samsung evo plus 64 gb and one silicon power 64gb (SP064GBSTXDU3V20AB). everyone has the same problem. sd card not detected after screen unlock. 5-10sec. and card connected.
[Xiaomi Mi A2 Lite Questions & Answers] a1291762:
Known issue with newer SD cards.

See for example thus thread.

https://xdaforums.com/mi-a2-lite/help/problem-mi-a2-lite-randomly-throwing-t3914255
[Xiaomi Redmi Note 7 Questions & Answers] crosswire:
Hello, I am about ordering this device, would like a clarification if possible:

1. What model is lavendar?:

I see this mentioned in most of the roms and i'm not sure what exact model to order

is the Global (48mp 32gb 3gb ram 700mhz lte band ) ok in terms of support?

2. What model/type to avoid in terms of compliants?

I see people mention the display having a latency issue, is this specific to a variant? what variant should i avoid?

[EDIT]

I found a clarification:

https://miui.blog/redmi-note-7/lineageos-16-redmi-note-7-lavender/
[Xiaomi Redmi Note 7 Questions & Answers] Sithhy™:
Actually, all RN7 variants sport a 12MP camera. It's just that Xiaomi applied some tweaks to the image processing to make the camera appear as a 48MP one... As for your other questions:

1. It obviously depends where you live. If you're from Europe (or the surrounding countries) then you should go for the Global variant; otherwise get a China or India model. Every RN7 is codenamed 'lavender' except the RN7 Pro, which is only for the Chinese (& Indian?) market

2. Pretty much all displays have issues with them, no matter if it's Tianma, BOE or Shenchao... Xiaomi had to cheap out on something to make the RN7 so cheap, so they went with the display as one of the things :(
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] MaheshTechnicals:
Evolution X 2.1 for Xiaomi Mi Max 2

Evolution X is an AOSP based ROM, with Google apps included and Pixel goodies (launcher, wallpapers, icons, fonts) added in along with brilliant customization features.

Gapps Removed For Lightweight ROM

Statusbar

- Clock settings

- Clock Font's & Colors

- Battery Icon Customization

- EvoX Icon Toggle (39 Styles)

- Roaming Icon toggle

- VoLTE & 4G Tcon Toggle

Quick Settings

- QS Rows & columns customization

- Tile titles toggle

- QS Panel Color's (RGB picker)

- QS Panel Opacity selector

- Quick Pulldown (Right/Left)

- Bottom Brightness Slider Toggle

- QS Animations

- QS Styles (24 Including QDP4 Styles)

Lockscreen

- Status bar visibility toggle

- Clock Styles (14 Including Q Clock)

- Clock Font Sizes & Colors

- Date/Alarms/Zen Hider

Ambient Display

- Music Ticker & Visualization Options

- Ambient Display Gestures (Hand Wave, etc.)

Themes

- Wallpaper/Light/Dark switching

- Accent's (16 Including Q Accents)

Buttons and Gestures

- AOSP & Fingerprint Gestures

- Power Menu Customization

- Volume Key Cursor Control

- Volume Key Playback Control

- Volume panel placement (right/left)

Miscellaneous

- Doze Settings & Profiles

- Time In State Monitor

- Sensor Block Per Package

- Default USB Config

- Wake On Plug

Notifications

- Heads up notification & less annoying toggle

- Peeking Notification Timeout

- Snooze timer

- Stoplist & Blacklist for Heads up

- Smart Notification Sounds

- Kill App Button

- In-Call Vibrations

- Q Style Seek Bar

Known issues

You tell me....

Reboot to recovery

Download the proper zip for the device

Wipe data/cache/system/venor/dalvik

Flash Rom File.

Flash GAPPS file (Arm64 9.0 mini)

Flash UPDATE.ZIP FILE ( for calling functionality)

Flash Magisk (if you want to root)

Reboot system.

[ My Website]

DOWNLOAD

GAPPS (arm64 9.0 mini)

UPDATE.ZIP

Liked my work? Please donate. Thanks!

Telegram channel (Tissot)

Join OUR telegram channel for more

CREDITS

Evolution X wouldn't be here without all of these wonderful ROMs and the features they have shared with the community.

Pixel Experience

LineageOS

AOSiP

Potato Open Source Project

Bootleggers ROM

CarbonROM

Dirty Unicorns

AOSP Extended

crDroid

Liquid Remix

Resurrection Remix

MSM Xtended

Havoc

Syberia

​

Android OS version: 9.0.0_r47

Security patch level: September 5, 2019

Build author: MaheshTechnicals

Source code: [url]https://github.com/Evolution-X[/url]

Kernel Source code: [url]https://github.com/rakeshraimca/Kernel_xiaomi_oxygen[/url]

ROM Developer: MaheshTechnicals

​

Credits :

@MaheshTechnicals

@Hard_Rock83

@Mohzuned

XDA:DevDB Information

Evolution X 2.1, ROM for the Xiaomi Mi Max 2

Contributors

MaheshTechnicals

Source Code: https://github.com/Evolution-X/platform_manifest

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.x

ROM Firmware Required: Unlocked Bootloader & TWRP Recovery.

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: 2.1

Stable Release Date: 2019-09-16

Created 2019-09-17

Last Updated 2019-09-18
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] beingtejas:
Amazing..

Super speed bro.. all the best.. :o

God bless
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] @shivanshgoel:
Can you make nitrogen os for this
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] MaheshTechnicals:
I will try
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Keyboardjunk70:
Hye brother. Thanks for the rom. Just wondering why do i cant flash magisk?it keeps saying error 1. Cannot mount. Tq
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] MaheshTechnicals:
Change your recovery. Use orangefox

Use latest Magisk zip
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Keyboardjunk70:
Thanks for the reply..
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] suraj watawanekar:
In this rom cast is working fine?

---------- Post added at 12:01 PM ---------- Previous post was at 11:56 AM ----------

All pie based roms are not working cast mirroring on my mi max 2 device anyone knows how to fix plz help me.?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] esipoko:
Hi

Phone reboots after outgoing call connected
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] rezakaze:
Finish Android setup always show on top of notification bar, when I try to finish, it's crash

https://del.dog/ajuqibojed
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] tmayank32:
So when I try to reject call it keep showing me screen for picking up and after that call ends main speaker stops working and only incall speaker works . Also if I restart it goes back to normal but if someone calls and cuts it before you can pick then phn keeps ringing indefinitely and can't be stopped without restarting it
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] musicalmohsin:
Is It better than Superior os ?

So Sorry I couldnt Make a candy os Installation Video Because I dont Like the UI of Cnady Os But Is it better than superior os how how about battery ？
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] MaheshTechnicals:
Try AOSIP
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] pheonix.chai:
Sound a bit distortion..the rest function good
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] devsharma@hotmail.co.uk:
All old issue resolve into this or not like, in call volume issue etc. please update so that install it.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] lekhraj.gupta@gmail.com:
all pie same
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Anonda:
Can you pls update this rom?

This is my one of the fav rom.

Thanks.​
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Noexcusses:
Hello mate, Very good job.

Let me mension some problems.

1) Dialer, Dialer doesn't save latest calls (generally doesn't work well)

2) Netflix

3) nova companion doesn't work on Nova launcher on this rom

4) low speaker when listening on youtube

That's all for now. If i will find more i will make a comment.

Any answers about Dialer? Thank you and keep going.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Noexcusses:
This rom should be reported and deleted by admins.

Rom creator doesn't fix anything for days, no answers and no help on telegram.

When i joined telegram they told me that channel doesn't support mi max2 so idk they post their telegram channel for more info about rom on mi max 2 category.

Is there any way to report this Thread?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] devsharma@hotmail.co.uk:
all issues of other custom roms are resolved into it ??

please update, all issues we were facing in other rom, like in cal volume control, fast charging etc, has been resolved into this or not please update.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] JIBIN.D.GAMER:
Sorry but please don't be a crybaby about stupid things. Rom creator has posted a working rom in his free time and that too a good one if you don't like it don't use it simple as that.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Anonda:
[MENTION=7119427]MaheshTechnicals[/MENTION], Pls update this rom, If you have time.

---------- Post added at 11:36 AM ---------- Previous post was at 11:35 AM ----------

[/COLOR [MENTION=7119427]MaheshTechnicals[/MENTION], Pls update this rom, If you have time.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Noexcusses:
Does anyone using nova companion in this rom with nova launcher?, Cause on max 2 nova companion doesn't work

---------- Post added at 11:08 AM ---------- Previous post was at 11:07 AM ----------

I will be what ever I want! Look your self.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Noexcusses:
Guys, every one who likes this rom install this patch via twrp fixing call volume issues, speaker, and charging and Nova companion.

Here you are Cheers.

https://drive.google.com/folderview?id=13drLJVNJ4WsVd8xd6s7Oo6WhcZHikz46
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Noexcusses:
For working nova companion delete the preview Nova companion from apps and install this

https://drive.google.com/file/d/1-XPwnGiaNDDkmjgK57xvC_tldlUa2lwV/view?usp=drivesdk
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Waiyanyy:
QC Work?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] quangnguyen198x:
Hi! I have a fingerprint sensor error, after rebooting it reported the error as shown in the picture, the error appears after updating the global version 10.3.2.0, please everyone help. sorry for using google translate!
[Samsung Galaxy Note 8 Questions and Answers] MHV8:
Hello guys I bought a new Note 8 and I need to know what is the Best Rom for Battery life :confused:

Sorry for my Bad English ?

Thank you
[Samsung Galaxy Note 8 Questions and Answers] SnowFuhrer:
Stock maybe.
[Samsung Galaxy Note 8 Questions and Answers] iceepyon:
I agree the Stock Samsung OS offers excellent performance
[Samsung Galaxy Note 8 Questions and Answers] MHV8:
But the Stock OS has a disgusting Battery Drain.
[Samsung Galaxy Note 8 Questions and Answers] iceepyon:
I get pretty good battery life with the Stock Samsung OS with all the latest updates. I can easily get a day and a half battery life out of my device if I do not play games on my device.
[Android General] chitshiv:
HOW TO ENABLE DARK MODE ON GOOGLE CHROME

[YOUTUBE]ae6_z8pQSAY[/YOUTUBE]

Tested on Nokia 6.1 Plus (Android Pie) and Xperia XZs (Android 8.1)​

Procedure

1. Open Google Chrome

2. In the address bar, type - chrome://flags

3. In search flags bar, type dark mode

4. Enable Android Chrome UI dark mode

5. Restart Chrome App

6. Go to settings option and you will find Themes option there

7. Select Dark

8. Done​
[Android General] Tulsadiver:
Hit 3 button menu

Go to settings

Tap theme

Select dark
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Team Win Recovery Project 3.3.1​

​

Exynos ONLY.

In NO way it is compatible with Snapdragon variants including but not limited to American(U/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.

Special Notes:

1. DON'T FORGET TO ENABLE "OEM UNLOCK" (located in Developers options).

2. KNOX will be tripped once you flashed custom binaries to your phone.

(Your warranty may be voided. However this may not affect you if your country forces Samsung to provide hardware warranty regardless of software status.)

3. Samsung Firmware OTA (aka System Updates) will no longer work once you flashed custom binaries.

(You can flash custom ROMs if you want to keep the OS up-to-date.)

4. All apps that use KNOX like Samsung pay, Secure Folder and maybe more will no more work

Download: A40(Exynos variant - A405F)

TWRP

A40 MultiDisabler

DM-VerityDisabler&ForceEncrypt

GSI_MTP_Enabler

Sources:

TWRP

Guide:

Go to developer settings and enable OEM unlocking

Reboot the device into download mode

Follow instructions in download mode to UNLOCK your bootloader

This will wipe your data partition so beware , boot phone to system and let it connect to internet after bootloader unlock.

Reboot into download mode and FLASH included TWRP tar file

Boot into twrp

Format Internal storage in TWRP

Flash the multidisabler zip *Copy this to your SDCARD before wiping internal etc* this is for disabling all checks ( HUGE thanks to [MENTION=1649452]geiti94[/MENTION])

Make sure you are rooted with latest Magisk otherwise you will lose twrp

Bugs:

- USB OTG mount for the moment

[YOUTUBE][youtube]OYVt7FvMPMI[/youtube][/YOUTUBE]​

NOTE: I don't own the device myself , but i do have A305F which is pretty similar to this device so building should be fairly similar

Thanks to [MENTION=4912208]DerGraf1997[/MENTION] for testing blindly for me
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Telegram:

https://t.me/GalaxyA2019

Changelog:

22.09.2019

- Fixed MTP for GSI roms

included also GSI_MTP_PATCH.zip to get it working on Gsi properly

- For data backup to work , flash whole samsung firmware with odin , flash twrp and flash DM-Verity , force encryption fix linked in OP .Dont flash Multidisabler if you want data backup to work

17.09.2019

- Based on latest kernel sources available ASE4

- Initial Release

More instructions & differences between disablers

1. If you intend to flash twrp only & keep OneUi intact

Flash A40 multidisabler after flashing twrp, this will disable all samsung checks

Note : You will have to wipe your internal storage to get encryption fixed

2. If you plan on flashing some rom that has security checks disabled like GSI or custom roms. Then just flash twrp & flash Dmverity fix after rom. (data backup will only work with this)

Note: If you flash multidisabler and later on wish to flash gsi & dm verity . Your data partition wont backup in twrp.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] chiri137:
Hey thanks alot for all the hard work. I've unlocked my bootloader and tried to write this image to my phone.

In Odin I only select your file, in the AP Tab.

However I get:

DOWNLOAD SPEED: FAST

Product name: SM-A405FN

Current Binary: Samsung Official

KG State: Prenormal

FAP Lock: Off

OEM Lock: Off(U)

Secure Download: Enabled

CCIC: S2MU106

CARRIER_ID: PHN

Warranty Void: 1 (0x0E03)

RP SWAEV B:2 K:2 S:2

ONLY OFFICIAL RELEASED BINARIES ARE ALLOWED TO BE FLASHED (RECOVERY) <--

Any idea how to remove the check for "official binaries" ? Here's the log from odin:
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] LittleCherryFox:
Hello!

I have two questions.

Can i install gsi roms with this twrp?

And can i install this twrp on my SM-405FM?
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] tys0n:
You could try this: How to Fix Missing OEM Unlock KG State / RMM Prenormal on Galaxy A50

The step I think you missed is to boot phone to system and let it connect to internet after bootloader unlock. (Before flashing anything)

Unlock Boot Loader Galaxy A40 without Trigger KG State \ RMM state Prenormal

Yes, you can flash GSI's. It probably works for A404FM as well but I guess you'll have to try it to be sure.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] zavajon:
Can I install TWRP with Magisk already installed?
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Yes. This flashes on your recovery partition , Magisk flashes on your boot partition .
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] zavajon:
Are You sure?

At https://topjohnwu.github.io/Magisk/install.html is written:

"Your device is non-A/B and uses system-as-root, so Magisk will be installed to the recovery partition of your device."

and

"Due to the fact that some devices no longer uses ramdisk in boot images, Magisk has no choice but to be installed in the recovery partition."
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Yes. I am sure . This is not related to A30&A40 entirely.

You can try patching the boot.img with magisk manager and flashing in odin. You will have root.

Ps. Thats why one version of twrp will work on all security patches updates.

Otherwise you would need kernel updates with each twrp. Like A50 A70 etc. That boot from recovery.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Twrp updated 3.3.1-2

- Fixed MTP for GSI roms included GSI_MTP_PATCH.zip to get it working on Gsi properly

- For data backup to work , flash whole samsung firmware with odin , flash twrp and flash DM-Verity , force encryption fix linked in OP

Dont flash Multidisabler if you want data backup to work.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] S Q 3 O P H:
The phone is in a boot loop. It doesn't work :(
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Give more information.

Did you unlock bootloader properly.

Flash multidisabler if you are on OneUI
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] ashyx:
It probably does, but your KG status is likely PRENORMAL.

OEM UNLOCK needs to be enabled and then you need to boot directly into TWRP after the first time you flashed it and flash the RMM V3 bypass otherwise you will get KG locked again at next boot.

I'm not sure if any of this is included in any of the patches in the OP.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Multidisabler includes all of it.

I need to write instructions in a better way lol i suppose.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Second post updated with further instructions , hoping this helps everyone understand the differences.

Reverted to old twrp build, more testing needed.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] S Q 3 O P H:
Yes. Bootloader is properly unlocked. Magisk works.

Yes.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] Sparko612:
Do I need to flash multi disabler and magisk to be able to flash gsi rom as i ended up with bootloop to download mode after flashing no verity then gsi without root I even flashed the gsi mtp zip too
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] fahadali2315:
Bootloops on gsi are not related to twrp. Check with GSI dev.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] Sparko612:
i had the same problem except i hsve tried to root via odin mehtod but all i get is bootloop , i floowed the guide properly too, so sorry havent flashed phones in a long time so a bit rusty
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] chiri137:
PERFECT ! WORKS excellent now. I'm writing this small noob-friendly tutorial so people can follow, I hope it's fool proof.

Step 0: Prereq

Download all the zip files from the main page on your phone and put them in the external SD card.

How to enable developer

Goto settings -> About Phone -> Software Information -> Tap "build number" 5 times

Enable OEM unlocking

Go back to Settings -> Developer options -> Enable "Oem unlocking" (if you do not see this option OR its grayed out try to connect your phone to internet, or follow this https://xdaforums.com/galaxy-note-8/how-to/how-to-skip-oem-lock-waiting-7-days-100-t3823361)

Note: Enabling OEM unlock here does not mean your OEM is unlocked! This switch only allows you to unlock it..Also enable USB debugging.

Turn off your phone.

Next: hold UP + Power until you will see a green screen. It must say "Hold long up to OEM/bootloader unlock." Follow those steps, to unlock it.

Congrats, now your OEM is unlocked. Turn off your phone.

Install TWRP

Hold UP + Power again. In the screen select "wipe data (factory reset). Then select Turn off Phone (should be one of the lower options)

While phone is off, hold UP + DOWN volume and attach USB cable to your phone. It should go into download mode.

In Odin, put the TWRP_A40 image in AP

Un-tick Auto reboot in the options tab.

Remove usb cable.

Tricky part: hold 7 seconds down+power. As soon as screen goes black hold UP + power!

Now you should be in TWRP!!

Once inside TWRP

Flash all the zip files you downloaded to your SD card

Go back to main menu, select reboot -> Recovery. Then reboot normally.

Enjoy =) Android must now boot up normally.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] Sparko612:
I'll try your guide later