yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I don't know if the kernel will work on OPJ28.108 but will definitely work on OPJ28.111-12 and OPJ28.111-22.

As long as your bootloader is unlocked, you can use the kernel.

I think I'm gonna open a thread for the kernel so that it'll be easier for me to keep track of user reports and questions regarding the kernel instead of cluttering this thread [emoji41]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I'm honestly really surprised it actually happened! Ya gotta give Moto credit for that, they did hold up their promise. Sure, Android Pie has been out for a couple months now, but so what. Very few devices have official support for it yet and the G4/G4+ device is a couple/fews years old now. There has been 2 more generations of G - Series devices released and leaks are flowing for the G7 series already.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] LakshayP:
Can you make a zip for stock marshmallow
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I suppose I could. I just need to know what the latest stock Marshmallow build was (specifically the build users needed to be on to update to nougat).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] dharmendrakumhar:
Thanks for this Rom..
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] vinylmeister:
Will notification led work?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I'm guessing you figured out installation [emoji6]

The notification LED will work the same as it did on stock nougat. You can use 3rd party apps to enable it I believe, but there aren't any specific options within the ROM itself to control it's functions.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] vinylmeister:
Any idea or recommendation which app will work trustworthy?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Im not sure, it's not something I've specifically looked into honestly.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] vinylmeister:
Is there any way to adjust RGB settings for avoiding screen burn?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] george_o:
There isn't. I was having the same problem and I return to RROS for that reason.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Aarkay0804:
Hey,

Maybe an irrelevant question, but you earlier told about work in progress on making g4 plus compatible for project treble, how is it going on??

This also means that if successful, then lineage os would be flashed for GSI??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] HeethJain21:
Right now we can boot gsi, but there are a lot of bugs as project treble isn't complete. Treble development has been stopped till official oreo comes out.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] DanFaraday777:
Are there news about the Nougat flashable zip?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] corlatemanuel:
Yea, well I unlocked my bootloader on the G4 Plus after less than 2 months since the Stock ROM was making me grind my teeth. After that, I used RR 5.8.4 for a few months without even trying anything else. ;)

The thing is, on my G6 Plus, both the screen and the USB-C ports were having issues, so I sent it into warranty a few days ago. One thing's for sure: I'll unlock the bootloader before the beginning of 2019.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
It's been done, I just need to upload it. I was toying with a few ideas. When I get outta work I'll upload it for the masses.

And if you guys want a Marshmallow version, I need some input on what the last version was before the 7.0 update (meaning what version of MM did users need to be running in order to update to Nougat).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] k4k:
The version according to me was MPJ24.139-13.1 after which it was officially upgraded to N.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Ok, thanks. I'll look into making a zip for that
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] vinylmeister:
Is there a custom kernel for this rom? Need to change RGB values due to screen burn...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
No kernel source for soak tests unfortunately. But someone did mention an app they used (from the Play Store) in the other thread
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
TWRP flashable zip for 7.0 (Nougat) NPJS25.93-14-18 is uploading. I'll link it in the OP and add more to the 2nd (if needed).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] djnield:
Wise consideration [emoji12]

And I'm on J28. 111-22 so can't wait to get rid of screen burn.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I was waiting a bit to see how it went before I decided to do it. But this evening when I get outta work, I'll make it happen [emoji6]

May even add some more to it and push another update :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] djnield:
I've flashed it already [emoji12]

There's no user interface right.... nothing needed to toggle on/off for instance?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
If you wanna tweak KCAL settings or experiment with Klapse, you'll need to use a kernel manager like EXKM or Kernel Adiutor. There are some other features too [emoji6]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] AdamTheMiner254:
Speakers aren't working properly
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] djnield:
I think I can't use kernel manager without root?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
You're gonna have to provide a little more info than that [emoji849]

You can still use a kernel manager without root. Functions that need root tho won't work so I dunno how much that will effect anything. But you can easily flash Magisk to solve that problem [emoji6]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] djnield:
I don't want root and don't need the kernel features. But I do need screen burn to disappear. If this can be achieved with this kernel without needing root I'm happy [emoji16]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I haven't tried to play with KCAL without root, but try it out and lemme know if it works for you [emoji106]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] djnield:
Hmm I tried two kernel managers but don't see access to KCAL [emoji848]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] DanFaraday777:
Used klapse since your kernel release and works perfectly! It was a great addition, good job!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] SSGO10:
First of all I want to thank you for your work with the kernel.

My question is this. I am presenting a problem. The TWRP show me an error, it's "Busybox failed". I tried it with [MENTION=6324159]rajatgupta1998[/MENTION]'s TWRP and [MENTION=7443804]Lyuu[/MENTION]'s twrp, this in the latest update is compatible with bussy box but the error still comes out. What can I do? I hope you could help me.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Tanishqsk:
What is the difference between OPJ28.111-12 and OPJ28.111-22 builds..??:confused:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Use the official TWRP. I will look into what the deal is when I get a chance.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] anhoxhrs:
Speaker volume has decreased considerably after the 8.1 update.Any solutions?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
Although Lyuu added support for Busybox, it showed up bugs for me too once or twice. Try The Stock Recovery.

---------- Post added at 05:24 PM ---------- Previous post was at 05:23 PM ----------

Opj28-111.22 was the final build. There aren't much difference only some minute changes.

---------- Post added at 05:28 PM ---------- Previous post was at 05:24 PM ----------

This seems to be a oreo specific bug and supposedly been worked upon by Motorola.

Meanwhile, If You Have Root, Try Installing Viper4Android available as a magisk module.

If you have any of the newly released custom kernels, Try Tweaking Audio in any Kernel Manager.

---------- Post added at 05:29 PM ---------- Previous post was at 05:28 PM ----------

This seems to be a oreo specific bug and supposedly been worked upon by Motorola.

Meanwhile, If You Have Root, Try Installing Viper4Android available as a magisk module.

If you have any of the newly released custom kernels, Try Tweaking Audio in any Kernel Manager.

---------- Post added at 05:29 PM ---------- Previous post was at 05:29 PM ----------

This seems to be a oreo specific bug and supposedly been worked upon by Motorola.

Meanwhile, If You Have Root, Try Installing Viper4Android available as a magisk module.

If you have any of the newly released custom kernels, Try Tweaking Audio in any Kernel Manager.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] anhoxhrs:
Can you guide me using any of them?I have viper 4Android installed,and have loonly kernal with exkernal manager.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
In Viper4Android, Under Speaker switch master power on and then extra loud.

I Wouldn't Be Responsible for Any Damage to Your Speaker, Try this at your own risk.

PUSHING THE SPEAKER TOO FAR MAY DAMAGE IT, BE CAREFUL.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] anhoxhrs:
Thanks for helping! viper4android isn't working.Tried kernel auditor which helped me out.Volume is still pretty low,but better then before.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lakshya2506@gmail.com:
Unable to unlock bootloader

I am unable to unlock bootloader using official website. Pls help.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
What error are you getting when you try to unlock your bootloader? Do you have a retail G4 plus (not carrier or Amazon subsidised)?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lakshya2506@gmail.com:
Website is telling my phone does not support bootloader unlocking.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
Do you Have a retail version?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] MarcusBremen:
have a look into the bootloader for the exact model of rhe moto g4, maybe that could help...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lakshya2506@gmail.com:
How to check that?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] venefroyo:
Cambiar a español

Hi, I have the Moto G4 version of Amazon Prime xt1625, a few months ago I could not release the bootloader, but recently I did it by following YouTube tutorials, installed the twrp, but I could not fight, I took a risk and I'm using a DIRTY ROM UNICORM,

but, but I do not know how to do it root. the rom is 7.1.2 and I want to install an 8.1, but when doing it does not start and stays in the motorola logo, I have to apply the backup copy and neither install it. Might you help me?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
Under settings>about phone, check your software channel. Devices that are retail start with ret in the software channel (e.g. retin for retail India). Whilst you're in your settings page, can you check your IMEI is present and what your baseband is reporting?

Finally, could you: boot your device to the bootloader (power off, hold the power and volume down key to boot), then connect your device to your computer via USB. Then open an ADB terminal and type 'fastboot getvar all' without quotes. Press enter and please post the output here https://xdaforums.com/moto-g4-plus/help/help-thread-question-noob-friendly-t3526598

to keep the TWRP thread clean.

---------- Post added at 04:03 PM ---------- Previous post was at 03:59 PM ----------

If you're attempting to flash the stock 8.1 Oreo over a custom ROM, I would suggest wiping system, cache at least and I recommend you wipe data as well (since you're moving from a custom ROM to stock)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] venefroyo:
Indeed I have a custom ROM, 7.1.2 is the one that I could install, and I do all the cleaning (dalvin cache, system, Factory reset) but despite installing the ROM 8.1 that compiled for twrp this does not start and if I try later to install the backup done, it stays a long time to install and does nothing.

I am the same Venefroyo and I am using Google translator

Enviado desde mi Moto G4 mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
Thanks, can we see the getvar details as requested please?

If you cannot get your bootloader unlocked using the Motorola website, you may have to post on their forum bootloader unlocking page with the unlock data and your getvar all results as requested by that forum:

https://forums.lenovo.com/t5/MOTOROLA-Android-Developer/Bootloader-Unlock-Problems/td-p/3222809

---------- Post added at 06:56 PM ---------- Previous post was at 06:52 PM ----------

Did you format your cache partition by any chance? If you wipe cache, check it's formatted as ext4.

Perhaps try, after flashing the 8.1 stock ROM and the failure to boot, pressing the power button for 30 seconds to 1 minute, force a hard reboot and see if that boots your device. Also, remove SD cards if you have them, then wipe internal storage after flashing before rebooting.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Rick Antonnay:
Hi all

I've been out of the loop for a long time so please bear with me. I have a Moto G4 Plus (1642) with an unlocked bootloader, root and TWRP installed. I'm still running Marshmallow because the Nougat OTA update could never download properly back when it was released so I gave up.

Now, I would like to know if I can flash Oreo directly with TWRP over Marshmallow. Will it wipe the entire phone or leave the internal storage intact? Also, I assume root must be lost in the process but I'm not familiar with Magisk so how would I go about rooting the phone after flashing Oreo?

I'd be grateful for any information. Have a nice day everyone!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] venefroyo:
thank you for answering, Well I'm going to focus on that if it's in that extension. but with respect to the flashing of the ROM, before restarting if it erased the internal memory, the ROM is not deleted and it is without operating system? I install from the SD card then remove it? no problem?

Enviado desde mi Moto G4 mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
If you flash a custom ROM, the ROM is flashed to your /system partition. If you then erase your internal storage, you will only erase your internal storage (not system if you do not have it selected).

If you are installing from the SD card, then provided you do not erase your SD card, you should be okay. Erase /system, /data, /cache, then flash the TWRP flashable to your device, then wipe /internal storage before rebooting. Verify that /cache is formatted as ext4 (and /data as ext4 or f2fs). All other partitions should be formatted as ext4.

Please verify that the TWRP flashable that you have on your SD card is fully intact (check size and md5 using Amaze file browser or any md5 verification tool), to check you're properly flashing a good copy of the TWRP flashable, to eliminate issues from a bad flashable.

---------- Post added at 10:44 PM ---------- Previous post was at 10:34 PM ----------

I'm not sure if you can successfully flash Oreo over Marshmallow - I do not see issues apart from you're updating 2 major versions. I would back up your device in TWRP and keep that backup safe before attempting the update. It should keep the internal storage untouched however as with any major update (s), you should be prepared to factory reset, hence the backup.

I would also be mindful of IMEI/SIM issues - as you're updating your modem from 6.0.1 (I'm guessing you have a baseband ending in .48R?) to 8.1 (with .77R), you may have to use fastboot to erase your EFS (modemst1/modemst2) and let your device rebuild a working EFS, however, we'll cross that bridge if we have to. In theory you could omit the modem update but you'd likely lose fingerprint access at least.

You will lose root, but under Oreo, it's easy to restore. With magisk, download both magisk and magisk manager from https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 Reboot to TWRP, then flash magisk. Wipe cache and Dalvik, then reboot. Once booted, install the magisk manager and you should have root access/control.

Alternatively, you could flash the fastboot flashable ROM to formally update your device to Oreo, if you're concerned about having part of your device still on Marshmallow, though you'd lose TWRP and root (but may be able to keep your data).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Vortell:
I would use migrate from the play store or titanium backup. Just in case something happened to data. They way you can try a restore at least.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] venefroyo:
Hello, sorry I do not know if I'm using the right thread for this problem, what happens is that I do not use English but I use Google translator and I think here I found a little help for my case and I also believe that I can not use the ROM 8.1 and other ROMs like 9.0 and it is that the recovery I was using is for ARM 32 and the current ROMs for Oreo and Pie use TWRP x64, also when returning to the backup I was not allowed either because there is a bug in the twrp 3.2 and I returned to 3.1.1 to be able to install the copy. I ask now, can I install twrp x64 on my g4 bike? My computer is 16GB X166 and 2GB of internal memory.

Enviado desde mi Moto G4 mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
Yes You Can Install a twrp x64 from your Current Twrp.

1) Boot into Twrp

2) Click Install

3) Locate File and Click on Bottom Right "Install Image" and choose the recovery.img file

4) Choose Partition Recovery

5) Reboot

As for the 64 bit recoveries, You Can Download This:-

https://xdaforums.com/moto-g4-plus/development/recovery-twrp-3-2-1-unofficial-touch-t3722206
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] vinylmeister:
8.1 link to drive does not work, quota reached... Can you upload to any alternative [MENTION=4481495]Jleeblanch[/MENTION]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Rick Antonnay:
Hi echo92

Thanks for taking the time to reply to me.

I just want to make sure I understand everything correctly:

- If I flash Oreo over Marshmallow via TWRP, the modem might not be updated correctly (which requires some fixing through fastboot), and I'd have to reroot afterwards using Magisk.

- If I flash Oreo over Marshmallow via fastboot, everything will be updated but I'd lose both root and TWRP?

Is that correct ?

I did check the baseband number and it does end with 48R as you said. I'm in the process of backing everything up with TWRP. Which of the two options (TWRP or fastboot) would be the safest in your opinion? Would flashing Nougat before Oreo would be of any help?

Thanks again for helping :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] venefroyo:
Thank you! I am already using a ROM 9.0 installed with the twrp X64.

Enviado desde mi Moto G4 mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
So, What's your Problem?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
To 1) and 2), that's what I understand, yes. I've not seen anyone else jump from 6.0.1 to 8.1 in one flash, so there's no previous info on what would happen.

For safety, the TWRP option would be better, since TWRP wouldn't update your bootloader and GPT, and you'd have TWRP already there for anything going wrong ( though we hope not). For possibly better stability, the fastboot firmware flash may be better, since it'll update your device formally, though if you wanted to flash earlier firmware that might cause issues.

Probably back up your device then flash the TWRP flashable, see how you get on.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
Honestly, I haven't Seen Anyone Jump From Marshmallow to Oreo directly, it's gonna be unique case. Have a Twrp Backup and Go Ahead. Good Luck :svetius:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ajca156:
I'm facing an issue in the Oreo stable ROM of December patch. The audio while playing any video or music it will be normal for a second and it will reduce to extreme low point. Kindly help if anyone faced and resolved the issue.

Thanks in advance.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sudhanpatil111@gmail.com:
Are they soak test builds or universal

Are TWRP-athene-8.1.0-OPJ28.111-22.zip or TWRP-athene-8.1.0-OPJ28.111-12.zip soak test twrps or universal release build twrps?? Because I still didn't get official update of 8.1.0.. I want to just flash it.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
OPJ28.111-12 is the soak test Dec 2018 build. OPJ28.111-22 is the final soak test/general release build, so this is the one you'll want to flash in TWRP (any 32 bit or 64 bit TWRP will be okay).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Mardukas:
Hello, I'd like to inform GDrive isn't allowing downloads on Oreo 8.1.0 final build (TWRP-athene-8.1.0-OPJ28.111-22.zip), because of excessive downloads. Any other mirrors for DLing it?

Thanks in advance.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Max Robles:
Stable and Final version for TWRP

Is the final and stable version of 8.1 coming soon?? Because I can´t find the stock official version. Thanks in advanced!! :good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
OPJ28.111-22 is currently the final and stable build. What are you looking for, the OTA update, the fastboot flashable stock ROM or the TWRP flashable?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] flieswithhawks:
[MENTION=4481495]Jleeblanch[/MENTION]

Where are you these days man? How're things going for you lately? I just got a BOGO Moto G5S Plus on sale and had some questions. I see you have this as one of your listed devices.

Hope all is well. Thanks for your time:good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I'm still here. I was real sick for about a week and took some time off. But feeling back to normal [emoji106]

I do have the G5S Plus, yes. I brought up the first custom kernel so we could get root back in the nougat days before any custom ROMs were available. I actually dropped it and smashed the screen about two months into owning the device and haven't used it much since (surprisingly it still works!). Actually the one thing I have done is update it to Oreo with intentions on updating my kernel but never really got around to it. I have a handful of Moto devices these days which is why I've sorta neglected the G4+ [emoji51] so that's my fault. My next goal with this device is to get RR-P done finally as I did promise it some months ago and have yet to get around to updating my trees. Once official Oreo became a real thing for the device, my plan was to hold off until we got what we needed for sources and then do the bring up. I use RR-P on two other Moto devices I maintain for and it's about time I get it up and running on the G4/G4+ [emoji106]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Abhinavmaurya:
Getting "unknown error command []]" while flashing the latest build

I have installed Pixel Experience 9.0 and TWRP 3.2.3 build (created by [MENTION=6324159]rajatgupta1998[/MENTION].

While flashing the latest build (TWRP-athene-8.1.0-OPJ28.111-22.zip) I am getting the"unknown error command []]"

---------- Post added at 06:58 AM ---------- Previous post was at 06:56 AM ----------

I have installed Pixel Experience 9.0 and TWRP 3.2.3 build (created by [MENTION=6324159]rajatgupta1998[/MENTION].

While flashing the latest build (TWRP-athene-8.1.0-OPJ28.111-22.zip) I am getting the"unknown error command []]"
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
If this error appears at the end of the flashing process, ignore it.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Abhinavmaurya:
Tried it. But after booting, it says "Android system is damaged, restart of factory reset it"

None of the two options worked.