yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A3 Guides, News, & Discussion] N1ck474:
I've tried last time with a Redmi Note 5 (whyred) and i had to flash it with the script (bat) inside the Fastboot rom (or flash it manually with an untouched one, usually the links for those partitions are in Telegram Groups), maybe for those Android One devices is differen:confused: btw thanks for your advice, maybe they've removed the possibility to flash the persist from the official Fastboot ROM
[Xiaomi Mi A3 Guides, News, & Discussion] _mysiak_:
Have you tried reflashing stock fastboot ROM?

The persist.img is present in the zip, but it is missing in flashing scripts. I recall that flashing persist.img on Mi A1 deleted IMEI, not sure what will happen on A3, but I wouldn't try it unless absolutely necessary.

As far as I know, persist partition is unique for each phone as it contains IMEI, MAC addresses, calibration data of sensors etc. Flashing incorrect/default image will overwrite this data and for example IMEI can be restored only with quite complicated process.
[Xiaomi Mi A3 Guides, News, & Discussion] N1ck474:
Maybe you're right, on MIUI Devices (Without A/B) those infos (like IMEI, MAC address...) were stored inside the EFS partition, the Persist was the same as other phones and it contains sensors informations (like GPS, WiFi, Light Sensor...), but on Mi A3 is a mistery for me? good luck for the guy then, i'll never mod this thing
[Xiaomi Mi A3 Guides, News, & Discussion] _mysiak_:
I'm not sure about older MIUI devices, but recent ones seems to store also DRM info in persist partition. Once it's reflashed, DRM is gone forever and can't be restored and apps depending on it won't work correctly (e.g. Netflix). So..yes, don't touch it :)
[Xiaomi Mi A3 Guides, News, & Discussion] barth2:
Man, is it me or rooting is way more complicated than it used to be. Last Android I rooted was Galaxy tab s1 and I did not know what I was doing then either but no matter what I did nothing irreversible happened to it, except losing knox.
[Xiaomi Mi A3 Guides, News, & Discussion] _mysiak_:
Sorry to say that it's you :D. Joking aside, in the past, rooting was very easy on many phones due to kernel exploits, but also very dangerous as basically any malicious app could get root without your knowledge.

Currently it's still very easy, but requires some attention and understanding about how it works. IMHO that's good as many users want root access basically without any reason and just risk bricking their phone (or very often breaking OTA updates).

Btw.tripping KNOX used to be a very bad thing. Not only that it's irreversible, but it crippled some features, removed DRM etc. Not sure if it's still the case, but KNOX is number 1 reason to avoid all Samsung phones for me. :)
[Xiaomi Mi A3 Guides, News, & Discussion] ZaInT_:
You are both right. barth2 just suggested that it was easier (which it is), not that it is better or worse that it is harder ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
[IMG="Android 10"]https://www.droid-life.com/wp-content/uploads/2019/08/New-Android-1-980x588.png[/IMG]

Disclaimer:

Flash this rom at your own risk. I will not be held responsible
if anything goes wrong because you did not follow the instructions as
I mentioned or flashed mods over this rom!

This is Pure Stock AOSP ROM and I will not be adding features to this rom!

This rom was intended to be feature less and gives you a smooth and fresh stock AOSP experience

on your cedric

Bugs:

* Camera Green tint bug (that happens in low light)
* Rest everything is working!

Downloads:

Downloads are Available on my Sourceforge Builds Page

Installation:

Make sure you are on the latest oreo firmware

1. Unlock your bootloader (If you are new to this, make sure you take a backup of everything)

2. Install TWRP

Optional: Take a backup of everything (Internal Storage, photos, media etc.)

3. Wipe data/Factory Reset

4. Tap on Install, navigate to wherever the ROM zip is stored

5. Tap on the zip and slide to flash

Optional: Flash GApps if needed.

6. Reboot and Enjoy!

Bug Reporting:

Bug reports without logs will be ignored. Attach proper logs with pointing out the proper bug!

Kernel Source Code: CodeZero's Git​

XDA:DevDB Information

Android Open Source Project, ROM for the Moto G5

Contributors

m_vaisakh, Sohamlad7

Source Code: [url]https://android.googlesource.com/[/URL]

Kernel Source Code: CodeZero's Git

ROM OS Version: Android 10

ROM Kernel: Linux 3.x

ROM Firmware Required: Oreo Firmware

Based On: AOSP

Version Information

Status: Stable

Created 2019-12-18

Last Updated 2020-02-08
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
(from Telegram)

Tl;dr: No more updates for this./This is discontinued.

(Try out my MintOS! It is an mix of AOSP and LineageOS)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Build Instructions:

Make Sure you have setup your build system according to Android Guidelines, if not, official way to do so can found here. There are certain specifications to be met before you can build aosp, make sure you have enough specifications on your computer!

Also you have to setup repo tool from google

# Prepare folder to setup repo tool
$ mkdir ~/.bin
$ PATH=~/.bin:$PATH

# Downloading and setting up permissions for repo tool to work (You require python for repo tool to work!)
$ curl [url]https://storage.googleapis.com/git-repo-downloads/repo[/url] > ~/.bin/repo
$ chmod a+x ~/.bin/repo

Initialise AOSP Source Code from your favourite source (Here, aosp is being used.)

# Make sure you sync the code in a directory other than your home directory
$ mkdir ~/aosp
$ cd ~/aosp/

# Initialise the AOSP source code (Warning the code is several hundred gigabytes large!)
$ repo init [url]https://android.googlesource.com/platform/manifest[/url] -b android-10.0.0_r20 --depth=1

Clone my manifests, for both proper build system and device specfic requirements.

$ git clone [url]https://github.com/mvaisakh/aosp_cedric_local_manifest[/url] -b android-10 .repo/local_manifests/

Now to syncing! (This might take several hours depending on your internet connection speed!)

$ repo sync -c --no-tags --no-clone-bundle -j$(nproc --all)

Building AOSP for cedric! (This will take a while to build, depending upon your specifications.)

$ . build/envsetup.sh
$ lunch aosp_cedric-userdebug
$ mka bacon

After the Build succeeds, your rom zip will be found at:

~/aosp/out/target/product/cedric/

Flash and Enjoy!

NOTE: My device tree can be used to build other roms too! Just use the cedric.xml from my local manifest and modify device tree according to your rom and enjoy!

NOTE 2: I will not help with build errors that you might face with building, there are many guides and resources on the internet for doing that. Please keep the thread clean and void of such posts!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Releases

8th January 2020

Changelog:

* January Security Patch.

* Based on tag android-10.0.0_r25.

* Added theming (was removed by Google in android-10.0.0_r14).

* New and Amazing Fonts.

* Customisation is available in Settings > Display

* Improved Dark Theme.

* Improved Launcher & UI speeds!

* Fixed video recorder crash.

Download: https://sourceforge.net/projects/mv...-QQ1D.200105.002-20200108.033922.zip/download

6th February 2020

? Changelog:

• February security patch

• Massive theming from DerpFest, you can find it by tap and holding on the launcher home > Styles and Wallpaper.

• Enforced SELinux Build.

• Enable TypeFace Clock (Lockscreen Clock customisations)

• Improved Scrolling Cache

• Screen densities can be set to lower sizes.

• Loads of Fonts to choose from.

• A fresh new wallpaper

• WFD fix applied (untested)

Do not report bugs without proper logs.

Download: https://sourceforge.net/projects/mv...-QQ1D.200205.002-20200206.062144.zip/download

24th April 2020

? Changelog:

Platform specific:

* April Security Patch

* New fonts to choose from (some might not work, sorry for that, will remove with next update)

* Change primary colours

* More accents

* MicroG support

* Signature spoofing

* Removed unused videos from Framework

* Updated all animations from Pixel 4

* Optimised Android Runtime (Smoother than ever before)

* Better scrolling

Device specific:

* Use QCOM Surfaceflinger

* Eva EAS+ 3.0 as default kernel

* EAS Fine tuning for both better battery and performance!

* Safetynet Passes by default

* Switched to common dtb tool

* Network settings v2

* Display Colour Calibration

Download:

https://sourceforge.net/projects/mv...-QQ2A.200405.005-20200424.060707.zip/download

7th May 2020

? Changelog

Platform specific:

* Security Patch Bump

* May Security patch

Device specific:

* Eva EAS+ 1.2 as default kernel

Download: https://sourceforge.net/projects/mv...2A.200501.001.B3-20200506.204702.zip/download

14th June 2020

? Changelog:

Platform specific:

* Security Patch Bump

* June Security patch

Device specific:

* Fixed WiFi Display (screen mirroring), thanks to [MENTION=5982915]CodeZero[/MENTION]

* Kernel Security and Performance fixes from [MENTION=9497193]OmegaPrimus7[/MENTION]

Download: https://sourceforge.net/projects/mv...3A.200605.002.A1-20200613.153520.zip/download

9th August 2020

? Changelog:

• August security patch

• Kernel upgraded to Eva EAS+ v1.3

• Kernel compiled with GCC 10 for optimal performance

Download: https://sourceforge.net/projects/mv...-QQ3A.200805.001-20200808.184024.zip/download

Like my work?

Hit thanks button.

If you want to donate, please donate to a noble causes like UNESCO, and Environment Fund.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alejandro miranda:
Is it the same as lineage 17 or is it another rom? Do you require arm64?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
It is another rom, Lineage has some amount of customisations, this one doesn't. Only aimed on stability and smoothness.

Yes, all ROMs since Oreo are arm64
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Darkyuuki:
The Moto g5 Cedric it did not come with support for Project Treble Official, if I install TWRP with Project Treble, will this ROM work and others too?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
this twrp from JarlPenguin: https://github.com/JarlPenguin/releases/releases/twrp3.3.1-3-cedric/

It has 32/64 bit & treble support, but it can also flash "normal" roms

I use this rom, very fast & responsive :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] morcego.surf:
GApps

Please, i would like know more about Gapps for this rom?

What kind ? Only arm64 android 9 is available on opengapps.org. .

Thanks a lot.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
You can use bitgapps, or other Q compatible gapps. If you use minimal gapps, they'll be limited to play store. Some modified gapps and theming support is available on the Cedric Telegram Chat.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alejandro miranda:
the truth is I am left with lineage is 17 because this "ROM" is very good but when installing all the Google apps from the play store when the bootloader does not pass, and it is a bug that they have to fix, this is like android Q stock
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Darkyuuki:
[MENTION=6982924]m_vaisakh[/MENTION] What bugs does this ROM have?

Is she already at the flash point and?

Sorry for English because I'm using a translator.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alejandro miranda:
Well, I have tested this stock Android 10 ROM, the truth is very fluid and that, but it has the same lineage errors as the Chrome videos and the camera, although here the launcher is more optimized than lineage, but I am left with lineage because it's bring more customizations it's not bring any of that, this is clean android stock, but it's ok
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Darkyuuki:
Thank you for answering my questions.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
If anyone's interested, they can use my Eva Kernel EAS version and tell me how it feels to use it with AOSP.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alejandro miranda:
I will try to see, although once installed and consumed a lot of energy, a question! When will you get another update of this project? Will it be for ota?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Yes, this project will be maintained and receive monthly updates. About ota, I'll take it into consideration and will look into it when i have time.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alejandro miranda:
thank you very much, I'll keep this one for now everything is fine
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
If it doesn't work on Lineage, it won't work on this. What module does it require?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] audinswfc:
Well on my own device (Xiaomi Redmi Note 7, Pixel Experience 10 ROM) Pokemon Go doesn't work unless I flash Magisk and then use Magisk hide on it. However on my sons Moto G5 I have tried Lineage and even with Magisk and Magisk hide enabled Pokemon Go doesn't work unless I manually open Magisk Manager first, which I can't have him doing he's only 9 and he's going to cause some damage to his device if i'm not careful. Really don't want to go back to stock as it's awful on Moto G5. Was previously using Pixel Experience but as they've stopped developing it I wanted to try something more current. Also I found that Pixel Experience took up too much space leaving him not a lot of room for apps.

I'll just keep trying different ROMs.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Lol why did you remove Media Storage? (Or maybe why didn't you add it?)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
I didn't remove it, maybe some mistake on my side. Will fix it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JustRoyCo:
Thank you for the instructions and builds.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
New update!

7th May 2020

Changelog:

Platform specific:

* Security Patch Bump

* May Security patch

Device specific:

* Eva EAS+ 1.2 as default kernel

Download: In post #2
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aladdinjaffar:
why isn't the EAS 3.0 kernel included?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
I removed 3.0 because it has random reboot issue.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aladdinjaffar:
Thanks. So far so good.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] caceloja:
Hello, thanks for the rom, I have a problem with the installation, I do wipe factory reset and then I install the zip, I am using oreo stock 8.1 with twrp 3.3.1-3cedric.img and it always stays on the Android logo and I I am forced to return to the stock or other roms but I cannot install this, I can install version 17.1 of lineage os and AEX 9.0 without problems using this same recovery. Can someone give me help to solve the problem please, thanks, stay tuned.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
You will have to format internal storage with twrp to use this rom (doing that will remove all the files in your internal storage, including photos, videos, apps and all files stored on your internal storage).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] caceloja:
Bott only logo

Hi, thanks for the reply. You are very kind. So should I clean from the factory and then clean internal storage? Please I would like to be able to install this system and I thank you very much for your attention, which cleaning I must do step by step, please note that I am using stock 8.1 and twrp recovery 3.3.1-3 the file I downloaded has 572.04 Mb is all right?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
While you are in twrp, tap on wipe and then advanced, there'll be a button to format data, tap on that (make sure you have everything backed up because this will erase your entire internal storage) and then do a normal wipe for factory reset.

Install the rom like you install other roms.

Yes the size is correct. This is a minimal and clean rom.

You will need to flash separate gapps, of you need google services.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cdnron:
Thank you! I dusted off my old G5 and wanted to install this ROM but was coming up with the same error. Works fine now after installing the 64 bit TWRP. :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Great ROM! i'm using it right now... i have a doubt that has nothing related to the rom, and i guess a person like you that has a lot of exp on the subject could give a me an idea... is it possible to downgrade from any of pie custom roms to stock official oreo rom? I've been googling a lot and found nothing about it. Thanks for the ROM !
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Yes, you can, but you'll have to factory reset data.

And make sure you have your persist and efs backed up before you flash stock, you might lose your IMEI and networking permanently

And the way to fix it is by restoring those backups
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Thanks for answering! Could you tell me which steps should i follow? I mean which wipes to do, which version of twrp to use and which version of the stock rom should work? Obviously i'm talking about version of my exact model xt1670.. although persist does appear as "persist" in twrp? Or how do i have to make the backup? Sorry for the numerous questions haha.. thanks in advance for your replies and sorry if my english is bad it's been a while since i wrote something xd
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] caceloja:
bug help please

excelent work tks:good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Use latest version of twrp (64bit) and backup EFS and Modem (should be like this). Backup everything other than system, vendor, boot, cache and data.

Steps:

1. Reboot to twrp

2. Tap on backup

3. Check partitions to backup.

4. And then swipe to backup.

5. Copy those backups to a safe place on a computer.

The backup location will be displayed in twrp.

I recommend that you flash the twrp flashable stock rom.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] caceloja:
bug help please

excelent work tks:good:

not copi archives to memory interna to external

not copi archives to memory external to internal

later reboot see picture and internal problem

need help please the rom its very good im like

nedd recovery special.?

help pls.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Ignore the warning, that's just there to pass the safety net.

What is wrong with external storage? Can you elaborate?

I can't understand what you just said.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Many thanks! i'll try it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Another thing i forgot to tell you is that with this ROM when i reboot my phone the color customization resets too.. i've selected green color and when i reboot it gets back to light blue.. is it only happening to me?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rmoto3210:
Viper4android

Does anybody had issues installing viper4android both rootless and root with magisk module in this room?

Every time i try to install the driver after the reboot it takes me to the bootloader screen and have to reinstall oreo in order to boot normally
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Oh, thanks for informing that. Will look into it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
It's because our selinux is enforced. Modules like viper require permissive selinux as far as I know.

You don't have to flash Oreo all the time, you can just flash the magisk uninstaller from the recovery, by just booting to recovery or if not possible then try to fastboot boot into recovery and uninstall the module/magisk.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Viper Magisk works here (I'm on Lineage - For other readers: it shares most of the code and has selinux enforced)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
I haven't use viper since a long time. So I've becom rusty it seems.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mmb_z:
Please guide me to the APP you mean, a link would be nice.

Thank you for your great work.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aladdinjaffar:
https://www.apkmirror.com/apk/google-inc/sounds/sounds-2-2-272938733-release/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mmb_z:
Thank you.:good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] scherzo3141:
WiFi

Amazing job! Do you intend to support WPA3-Personal?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
WPA3 support is there, but I'm not sure if it's enabled or not. Can you check and tell?

If it's not enabled, I'll enable it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] scherzo3141:
When adding a network, the security options (encryption methods) available are:

None

Enhanced Open

WEP

WPA/WPA2-Personal

WPA/WPA2/WPA3-Enterprise

WPA3-Enterprise 192-bit

What is missing is:

WPA3-Personal

Besides that, everything's great. Thank you!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Alright, will try to add WPA3-personal
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aladdinjaffar:
After a month the battery drains very quickly.

I put up the 3.0 kernel, it needs to be reloaded every 2 days.

There was no freezing yet.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
I don't understand, can you be more elaborate?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aladdinjaffar:
1 month after the May update was applied.

And it only works for a few hours after the battery needs to be charged.

i install eva kernel 3.0 and again 2 days no need to charge.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Strange, that shouldn't have happened
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
News?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] pablowally:
Hi there,

I've just updated from a previous version (actually, started from scratch, formatted data, cache and dalvik) and now I'm getting the annoying message "There's an internal problem with your device. Contact your manufacturer for details" every time the phone boots.

I know it's no big deal and I could just ignore it, but was wondering what happened? Is there any way to get rid of it?

Also, I'm now on latest version of Open GApps (was using BiTGApps before as opposed to Open GApps as the later was crashing on previous versions of the ROM), does this make any difference?

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Hi, from what i've seen in older questions the message is only there to pass safety net. Ignore it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Sorry for the delay in update, I will start working when the issues with Wifi display has been resolved. We have almost got it working.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Spolier for readers: It is working on a Lineage test build :victory:

(I'm a tester.)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] He.Art:
EN Brilliant! the rom works great on my XT1670 (2GB-32GB). There is only one small detail to consider: The Quickstep launcher throws continuous error after the second start. This happens after installing Gapps. I recommend using Pixel Launcher, Nova Launcher or whichever you prefer, but not Quickstep. Thank you for your excellent work.

ES Genial! la rom funciona muy bien en mi XT1670 (2GB-32GB). Sólo hay un pequeño detalle a considerar: El lanzador Quickstep lanza error continuo luego del segundo inicio. Esto sucede luego de instalar Gapps. Recomiendo usar Pixel Launcher, Nova Launcher o el que prefieras, pero no Quickstep. Gracias por tu excelente trabajo.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
That's because you flashed a bigger gapps package, which overrides launcher properties. Flash nano/Pico gapps, you won't face an issue like this.