yashsingh1/xdaforums huggingface dataset:
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] tuks64:
Thanks so much @fakepepsilol this ROM worked perfectly. Honestly thought the ROM would be NSFW 💀
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] tuks64:
Pretty small community, but a solid ROM.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Mee too i thought they made it spicy 😭 (was kinda dissapointed when i figured out it isn't)
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
First of all, thanks to everyone for making this ROM, the stock software on my Moto G8 Power is buggy af.

I had a few questions to ask after reading this thread.

- Does the speakerphone work yet? Does that mean the phone's speakers entirely, or just within phone calls?

- Is the issue with setting a screen lock still present? If it is, which version should I use instead?

- How would I restore Google apps after installing this?

Thank you
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Pretty sure speakerphone is only the "call" one and the normal one should work. I think the lock issue isn't fixed. I made a post on gapps a few pages earlier. Also in one of the replies i have linked an older version along with the os that I'm using currently.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Alright, thanks. The older version that you linked; is that of this or another ROM?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Ah, nevermind. I'll try the January release.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Hey there, is this OK? What should I do to resolve the error, if it needs to be resolved?

PS C:\Users\aman> fastboot update amogus.zip
--------------------------------------------
Bootloader Version...: MBM-3.0-sofiar_reteu-0f8934adaf-220131
Baseband Version.....: M6125_43.45.03.49R SOFIA_ROWDSDS_CUST
Serial Number........: ZY22BFD372
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.000s]
Setting current slot to 'b' OKAY [ 0.437s]
(bootloader) snapshot-update-status: not found
extracting boot.img (64 MB) to disk... took 0.087s
archive does not contain 'init_boot.img'
extracting dtbo.img (24 MB) to disk... took 0.040s
archive does not contain 'dt.img'
archive does not contain 'pvmfw.img'
extracting recovery.img (64 MB) to disk... took 0.095s
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta_system.img'
archive does not contain 'vbmeta_vendor.img'
archive does not contain 'vendor_boot.img'
archive does not contain 'vendor_kernel_boot.img'
extracting super_empty.img (0 MB) to disk... took 0.000s
(bootloader) super-partition-name: not found
extracting product.img (147 MB) to disk... took 0.481s
[liblp] Partition product_b will resize from 0 bytes to 154849280 bytes
extracting system.img (580 MB) to disk... took 1.971s
[liblp] Partition system_b will resize from 0 bytes to 608571392 bytes
archive does not contain 'system_other.img'
extracting vendor.img (201 MB) to disk... took 0.695s
[liblp] Partition vendor_b will resize from 0 bytes to 211783680 bytes
archive does not contain 'vendor_other.img'
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
archive does not contain 'odm_dlkm.img'
archive does not contain 'system_dlkm.img'
archive does not contain 'system_ext.img'
archive does not contain 'system_other.img'
archive does not contain 'vendor_dlkm.img'
archive does not contain 'vendor_other.img'
extracting boot.img (64 MB) to disk... took 0.090s
archive does not contain 'boot.sig'
Sending 'boot_b' (65536 KB) OKAY [ 1.486s]
Writing 'boot_b' OKAY [ 0.575s]
extracting dtbo.img (24 MB) to disk... took 0.040s
archive does not contain 'dtbo.sig'
Sending 'dtbo_b' (24576 KB) OKAY [ 0.555s]
Writing 'dtbo_b' OKAY [ 0.234s]
extracting recovery.img (64 MB) to disk... took 0.093s
archive does not contain 'recovery.sig'
Sending 'recovery_b' (65536 KB) OKAY [ 1.494s]
Writing 'recovery_b' OKAY [ 0.916s]
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_b' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_b' (bootloader) WARNING: vbmeta_b anti rollback downgrade, 0 vs 19
OKAY [ 0.010s]
Sending sparse 'super' 1/2 (745560 KB) OKAY [ 17.128s]
Writing 'super' (bootloader) Unsupported super image format, rejecting...
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed
PS C:\Users\aman>

Edit: found someone else in this thread with the same issue, will try the solution sent to them.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Aw yeah, it booted! Every Android I've tried to install a custom ROM on so far (so 1 phone lol) has been bricked, so that's cool.

Edit: well, I was 8 years old when I tried that, so understandable. It was an old LG G2.

Edit 2: I fixed it! See here
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Probably since you need android 10 for most of the roms on here. Also for that error you can try flashing from fastbootd instead of fastboot.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
The phone I bricked was an LG G2 running Android 4 lol.

I’ve installed the MagiskGApps, but I get the error “Android Setup keeps stopping” randomly. Does anyone know how to fix this, as I would like Android Setup to work so that I can restore my Google Drive backup.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Yea i didn't figure that out. I just went into app infa and disabled it. It works on hentaiOS though. (i linked it in another reply)
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
The aosp update will come soon, thank you for your patience
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Can I just say thank you so much for this? The stock Motorola software that I ran for 2 years is so ****ty with software bugs and graphical artifacts EVERYWHERE. This was an absolute godsend for my phone.

My setup on this so far:

- Motorola Moto G8 Power (sofiar)

- January 2023 build of this ROM

- MagiskGApps (full edition)

- Google Camera from here

My only issue is that GBoard, both the one included from MagiskGApps and if I update it from the Play Store, refuses to work, except for the "Theme" section of its settings page. Did anyone here try to solve that?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Yes actually. So the Gapps zip is just apps that magisk loads on startup as system apps, so you can unzip it, remove the gapps you don't want (in this case gboard) and install that as a module. After that install it from play store.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Oh, sweet. If I've already installed all of them, all I have to do is remove them from the "Modules" page in Magisk Manager and then do it again, right?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Yes, remove or disable the corrent one and install the new one. Also try not to go into safe mode as when going back to regular, it boot loops and you will have to factory reset it (gapps are the issue but I'm not sure how or why).
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Update, I've discovered that no app that requires location seems to work at all. Google Maps does nothing when I press the "locate myself" / "recenter" button, Life360 says "no network or phone off", some other apps show me at Null Island (0°, 0°), etc etc.

@Electimon any ideas? It's a G8 Power (sofiar). This is a pretty large issue!
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Yea same here, but for some meason the app "HereWeGo" seemed to work, not sure if it will work for you though 🤷
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Thanks, will try.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
That's very peculiar, this app does indeed seem to be able to detect my location.

@Electimon is this a known issue?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
Ah, I've figured out what the problem is.

I hacked together a simple application in Android Studio that would attempt to request location capabilities and display my location on the screen. However, Logcat shows this error message from the application:

com.amansprojects.locationtest requires the Google Play Store, but it is missing.

So, I decided to try logging the return value of isGooglePlayServicesAvailable(), and it's status code 9.

What is status code 9? This is:

"SERVICE_INVALID", "The version of the Google Play services installed on this device is not authentic."
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Well that's a bummer. Have you tried replacing the google services apk?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Are you guys using gapps or microg?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Gapps, magisk gapps to be specific
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
passing safetynet?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Not sure, and I am running another OS right now so you will have to check with @ninjadev64
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] ninjadev64:
I'm using MagiskGapps, not sure what safetynet is, but I'm about to try replacing the Google Play Services in MagiskGapps.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] griz.droidx:
Those aren't gapps. There what someone thinks you need when running without gapps. I think the recommended gapps is mind the gapps.

Remove that, and install either the aforementioned gapps or try a microg installer if you want microg and wanna flash and forget.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Thanks, I didn't know that. Are the "Mind the Gapps" Gapps able to be installed as a zip/module in magisk?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] dumdedumda:
@ninjadev64 @fakepepsilol @tuks64

BlissROM recently released (July 13th) an AOSP rom with integrated GApps for AMOGUS devices. Check the following XDA post:

https://xdaforums.com/t/stuck-with-unworking-moto-g8-power-sofia-xt2041-4.4593821/#post-88869397

or

https://downloads.blissroms.org/download/amogus/

(I don't have any relations to BlissROM. Just wanting to inform others of alternative roms for AMOGUS devices.)
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] fakepepsilol:
Great! Is it open source?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] bcrichster:
Yes
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] dumdedumda:
@bcrichster - any possibility of fixing the speakerphone issue for Sofia devices? Anything us with Sofia can do to help?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] bcrichster:
Not by me.. it's been evasive for everyone so far, I do apologize for my ignorance
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] CosmicTrigger235:
Any chance this ROM would add OTG support to the Moto G Fast? I am trying to repurpose this phone with a Gamesir X2 but it's not compatible with stock since it has no OTG.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] pilothaz:
Update: I was able to get it working with a previous version flashed first then used the OTA updater to get to the current version.

-------------------------------------------------------------------------------------------------------------------------

I am trying to flash but am getting an issue with android-info.txt file

fastboot update ../Bliss-v16.9.1-amogus-OFFICIAL-gapps-20231002.zip
--------------------------------------------
Bootloader Version...: MBM-3.0-rav_retus-e792a32534b-220524
Baseband Version.....: M6125_43.45.03.49R RAV_NA_CUST
Serial Number........: ZY2*****P8
--------------------------------------------
archive does not contain 'android-info.txt'
fastboot: error: could not read android-info.txt

Any idea with trying to load? I have not installed a rom in a long time (especially with fastboot) used to use TWRP and the such. I have also tried with Pixelgapps and microg same outcome.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] thirst47:
There is no way to lock the phone under 'security' as trying to set up pin, pattern or password doesn't stick.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] thirst47:
I ended using TWRP's fastboot to flash the package and it worked correctly.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
AOSP 13

This is a moto-common project release under the codename amogus. This build supports the following devices: rav, rav_t, sofia, sofiap, sofiap_ao, sofiap_sprout, sofiar.​

/*
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

What's AOSP?

AOSP is Android as Google publish without any modifications.

Whats not working?

Speakerphone on sofia variants​

Instructions to install the ROM:

Reboot to bootloader:

adb reboot bootloader

The following will wipe your internal data:

fastboot -w

fastboot update package.zip

It will reboot your device to fastbootd, you might get the following warning:

FAILED (remote: 'Old partitions are not compatible with the new super layout; wipe needed')

, but you can continue with the following commands

Fastbootd:

fastboot flash product product.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot reboot

Downloads: Here

Source Code: Here

Sept 2: Fixed USB Mode Switching, Switched to new rebased kernel, Switched to EROFS

Sept 12: EGIS Fingerprint gestures fixed, Switch BtAudio to AIDL and September Patch level

Sept 28:

System Responsiveness has been tuned and improved

Introduce Multigenerational LRU Framework

Tune Dalvik Heap Sizes

Switched to QTI Thermal HAL

DT2W has been fixed for RAV (HIMAX) variants of amogus

Signature Spoofing support has been added to the ROM

Jan 26:

January Security Patch

Feb 27:

Feb security patch
[Moto G Power ROMs, Kernels, Recoveries, & Other De] prisoner1969:
Nice finally something other than Android 11
[Moto G Power ROMs, Kernels, Recoveries, & Other De] sdlj:
Good work, it works for now.

Is there any Gapps available for this Android version ?
[Moto G Power ROMs, Kernels, Recoveries, & Other De] matthewadie:
I look forward to giving this a try when Gapps is available.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] matthewadie:
I decided to give it a try and it's working well with the exception of what has already been declared to not be working:

USB Mode Switching​

Speakerphone on sofia variants​

I can confirm that these are broken on Sophia, and I can also confirm that the Speakerphone also doesn't work in video calls made using Signal.

I know it's ASOP but including a browser that can download would help greatly with getting F-DROID (especially with USB Mode Switching being broken). The Webview browser can't seem to download anything. You can browse with it but not download.

Thank you very much for the hard work.

Matthew
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
USB Mode switching does not impact the function of ADB, you can use that to install any third party apps. Thank you for the review
[Moto G Power ROMs, Kernels, Recoveries, & Other De] kotchama:
GApps would be nice. Also, would flashing this and later trying to flash an Android 11 ROM trigger anti-rollback protection?
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
No it will not trigger anti rollback protection, I'll consider adding gapps but eh
[Moto G Power ROMs, Kernels, Recoveries, & Other De] thetechfromheaven:
Going to check it out and see if I can acquire root access to check what is messing with the speakerphone and USB. Nice to see something new to test on these phones! 🥰
[Moto G Power ROMs, Kernels, Recoveries, & Other De] killahrey:
Tried this on my SofiaR and I guess the radio files just didnt flash or it didnt keep the original ones but yea I have no cell service, is this normal? Tired installing it again and had the same issue.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
I suggest you flash stock and verify that cell service works there and then reflash this rom on top. It is verified that cell service works on this build
[Moto G Power ROMs, Kernels, Recoveries, & Other De] killahrey:
I flashed a stock rom and the phone rebooted, everything seemed fine. I turned off the phone to reflash this rom but before I had the chance to the phone would not boot to anymore. Seems completely bricked, but its probably my own doing.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
Ok since it bricked before you had a chance to flash the rom, the issue is most likely with how you flashed stock. Can you show me the process you took todo that? Also if you plug in the device to a Windows machine, in device manager does it show QUSB_BULK?
[Moto G Power ROMs, Kernels, Recoveries, & Other De] killahrey:
The only thing different from stock was the twrp recovery img. I'm guessing I may have accidentally flashed the wrong boot.img some how, honestly I'm not sure. There is no response from the device on windows or Kali. Does not indicate it's charging in anyway and all restart processes do nothing. Wanted to use this as a backup before I got my new phone in a few days but it is what it is. I highly doubt it was any of your img's.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
There is one way to revive it but it involves disassembly, would you like me to tell you about it? I know not much have the tools for it.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] killahrey:
I was considering disassembly to see if a battery unplug would help but if there is something else you think I should do I'm all ears.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
Yes the device has testpoints on the motherboard, if you bridge them it will enter EDL mode. From there you can use a blankflash to restore the bootloader and hopefully unbrick. Unplug the battery and bridge those pads, while bridged plug in the USB cable and with any luck you will be in EDL. From there you can plug the battery back in so it can flash successfully. You can find the blankflash on https://mirrors.lolinet.com/

View attachment 5699785
[Moto G Power ROMs, Kernels, Recoveries, & Other De] killahrey:
Awesome, thanks for this info. I'll mess with this tonight and see if I can bring it back to life.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
Sept 2: Fixed USB Mode Switching, Switched to new rebased kernel, Switched to EROFS
[Moto G Power ROMs, Kernels, Recoveries, & Other De] griz.droidx:
Question why is it that the built in file manager is unable to install apps? I understand we can use ADB to install apps, still this seems like abnormal behavior ;).

As always, thanks for the ROM.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] matthewadie:
Do you not get prompted to open an apk with "Package Installer" when you click on it in files? That's how I installed fdroid...
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Tutos Red:
Como puedo flashear las gapps
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
I'm not sure, I don't do any modifications to the source code.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Newfe:
Any word on Speakerphone on sofia variants fix and gaps install thanks
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
Gapps is something i don't include sorry, I'm working on the speakerphone issue though, it's hard because I don't have Sofia.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] matthewadie:
Does anyone know if there's a way to sideload gapps on AOSP without TWRP, OrangeFox, or the Lineage recovery? To no end I tried installing LiteGapps using Magisk... Though it is fun to see how far I can get without Google Play Services :)
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
Sept 12: EGIS Fingerprint gestures fixed, Switch BtAudio to AIDL and September Patch level
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
Sept 28:

System Responsiveness has been tuned and improved

Introduce Multigenerational LRU Framework

Tune Dalvik Heap Sizes

Switched to QTI Thermal HAL

DT2W has been fixed for RAV (HIMAX) variants of amogus

Signature Spoofing support has been added to the ROM
[Moto G Power ROMs, Kernels, Recoveries, & Other De] The Bearodactyl:
Very sus
[Moto G Power ROMs, Kernels, Recoveries, & Other De] danrex:
I'd about given up on this phone, then along you come to breathe new life into it. Thank ya!
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Newfe:
Do we get the Speakerphone on sofia fixed. Thanks.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Electimon:
I don't own sofia, so not yet
[Moto G Power ROMs, Kernels, Recoveries, & Other De] rintyuu:
deleted
[Moto G Power ROMs, Kernels, Recoveries, & Other De] XSOARER:
Hey, thanks for this development. I am not sure if I can help, but if there's anything I can do to improve this work, I am open to suggestions.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] griz.droidx:
Nope never, it's as if package installer wants nothing to do with me. Maybe I could go in and give "files" app install permission. But still good think it would ask. :) Not s huge deal but odd. I thought this is just how it is
[Moto G Power ROMs, Kernels, Recoveries, & Other De] griz.droidx:
And didn't wanna bug the already swamped developer with a trivial issue.

After I push, usually neo droid or fdroid or any of the other repo front ends, all is well. After that I can install from files I think. But ghost commander or neo backup is one of the first things installed as well.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] griz.droidx:
I jealous it let's you install and not me lol. **** I assumed these would be merged with the above posts. Didn't that used to happen?
[Moto G Power ROMs, Kernels, Recoveries, & Other De] TPSx1995:
Hi, Electimon! I've been thinking of reinstalling AOSP to my G Power 2020 again, but I do have one question...

My "ro.carrier" is listed as "fi". I believe this is because this particular phone came from the Google Store orignally. When I was having issues flashing any of the ROMs before, cellular was broken. Could the ro.carrier difference have something to do with that?

Please let me know whenever you can. I'm eager to try this again - with a challenge of only using FOSS apps.

Thanks in advance!

~TPS
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Quantumstate:
Are you people able to get root? v12 cinched us down, and v13 even more.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] danrex:
For mine root's working.

Install the latest Magisk app's apk

Extract Electimon's AOSP boot.img

Patch it with the Magisk app

Flash the patched image
[Moto G Power ROMs, Kernels, Recoveries, & Other De] XSOARER:
Follow @danrex isntructions. My sofiar is rooted, I flashed the boot.img with fastboot flash boot boot.img, and it works like a charm.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] GruV:
I have the Sofia variant. Anything I can do to help fix the speakerphone issue? Any non-private files I can send you? I don't want to install it until I can get the speakerphone working. Sorry, but I use that feature a lot. Just wondering if I can help.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] GruV:
No response. That sucks. I guess it's time to move on. I'm bored with Android 11. Time for a new phone I guess.
[Moto G Power ROMs, Kernels, Recoveries, & Other De] Newfe:
speakerphone does not work correctly with this ROM it's a issue with this ROM no fix yet