[ROM][13][amogus] AOSP 13.0

Search This thread

Electimon

Recognized Developer
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.


Code:
/*
* 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:
Code:
adb reboot bootloader
The following will wipe your internal data:
Code:
fastboot -w
Code:
fastboot update package.zip

It will reboot your device to fastbootd, you might get the following warning:
Code:
FAILED (remote: 'Old partitions are not compatible with the new super layout; wipe needed')
, but you can continue with the following commands

Fastbootd:
Code:
fastboot flash product product.img
Code:
fastboot flash system system.img
Code:
fastboot flash vendor vendor.img
Code:
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
 
Last edited:

duduever

New member
Jul 8, 2021
1
0
Is anyone has ported the A12 official version from moto g pro who works in moto g8 power (sofiar)?
 
im guessing this doesnt come with any gapps installed?


if so would I need to flash gapps with It and from what i could tell do i need to downgrade to the stock android 10 rom to be able to flash cus i have attempted before but since it was on the stock android 11 version it would just get stuck
 

Nanosochoa

Member
Feb 18, 2018
8
2
Hi @Electimon First of all thanks for the big effort of A13 , must be kinda difficult to work on a project like this . Hope you can continue with this as long as you can as we all benefit from your effort on this . But I do have a question if I may of course. I see on the title that it is supported sofiap_sprout and I have that device which is Moto G Pro but When I flash your zip with fastboot update package.zip it tells me that

Checking 'product' FAILED

Device product is 'sofiap_sprout'.
Update requires 'trinket' or 'amogus' or 'rav' or 'sofiar' or 'sofia' or 'sofiap' or 'doha'.

fastboot: error: requirements not met!

then I checked the Zip file and there is a txt file that is android-info and contains the following

require board=trinket|amogus|rav|sofiar|sofia|sofiap|doha

which I believe is where that error comes from and im afraid that if I update by changing the txt file to sofiap_sprout and re zip it might be cathastrofic to my device . Any Idea?

Thanks in Advanced
 

Electimon

Recognized Developer
Hi @Electimon First of all thanks for the big effort of A13 , must be kinda difficult to work on a project like this . Hope you can continue with this as long as you can as we all benefit from your effort on this . But I do have a question if I may of course. I see on the title that it is supported sofiap_sprout and I have that device which is Moto G Pro but When I flash your zip with fastboot update package.zip it tells me that

Checking 'product' FAILED

Device product is 'sofiap_sprout'.
Update requires 'trinket' or 'amogus' or 'rav' or 'sofiar' or 'sofia' or 'sofiap' or 'doha'.

fastboot: error: requirements not met!

then I checked the Zip file and there is a txt file that is android-info and contains the following

require board=trinket|amogus|rav|sofiar|sofia|sofiap|doha

which I believe is where that error comes from and im afraid that if I update by changing the txt file to sofiap_sprout and re zip it might be cathastrofic to my device . Any Idea?

Thanks in Advanced
You can edit the file and try again or unpack and flash manually, I need to add sofiap_sprout to the guard but yes it's supported
 

Nanosochoa

Member
Feb 18, 2018
8
2
Thanks @Electimon o for the faster response.

However I did the steps on the Sofiap_sprout by doing step by step and re zipping the files with the modified txt file and got boot loop and then went into a different recovery with an error messsage a the bottom that says

Error: recovery: [libfs_mgr]dt_fstab : failed to find device for partition OEM

and then im at the Fastbootd page .

Any ideas?

My sofiap sprout was on A12 official from Motorola if that helps.

If anything , this is the whole CMD message (btw the files were re zipped to electimon.zip with the modified txt file adding only sofiap_sprout)

C:\Users\**\Desktop\platform-tools>fastboot reboot fastboot
Rebooting into fastboot OKAY [ 0.008s]
< waiting for any device >
Finished. Total time: 18.826s

C:\Users\**\Desktop\platform-tools>fastboot -w
Erasing 'userdata' OKAY [ 0.212s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.009s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 0.240s

C:\Users\**\Desktop\platform-tools>fastboot update electimon.zip
--------------------------------------------
Bootloader Version...: MBM-3.0-sofiap_ao-7380af07e7e-220720
Baseband Version.....:
Serial Number........: ZY227ZQ5RM
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.000s]
Setting current slot to 'a' OKAY [ 0.188s]
extracting boot.img (64 MB) to disk... took 0.472s
archive does not contain 'boot.sig'
Sending 'boot_a' (65536 KB) OKAY [ 1.844s]
Writing 'boot_a' OKAY [ 1.456s]
archive does not contain 'init_boot.img'
extracting dtbo.img (24 MB) to disk... took 0.184s
archive does not contain 'dtbo.sig'
Sending 'dtbo_a' (24576 KB) OKAY [ 0.689s]
Writing 'dtbo_a' OKAY [ 0.241s]
archive does not contain 'dt.img'
archive does not contain 'pvmfw.img'
extracting recovery.img (64 MB) to disk... took 0.421s
archive does not contain 'recovery.sig'
Sending 'recovery_a' (65536 KB) OKAY [ 1.838s]
Writing 'recovery_a' OKAY [ 1.463s]
extracting vbmeta.img (0 MB) to disk... took 0.001s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_a' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_a' OKAY [ 0.003s]
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.001s
Sending 'super' (4 KB) OKAY [ 0.001s]
Updating super partition FAILED (remote: 'Old partitions are not compatible with the new super layout; wipe needed')
fastboot: error: Command failed

C:\Users\**\Desktop\platform-tools>fastboot flash product product.img
Sending 'product' (151708 KB) OKAY [ 4.382s]
Writing 'product' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed

C:\Users\**\Desktop\platform-tools>fastboot flash system system.img
Resizing 'system_a' OKAY [ 0.007s]
Sending sparse 'system_a' 1/3 (262140 KB) OKAY [ 7.469s]
Writing 'system_a' OKAY [ 2.495s]
Sending sparse 'system_a' 2/3 (262140 KB) OKAY [ 7.545s]
Writing 'system_a' OKAY [ 1.478s]
Sending sparse 'system_a' 3/3 (69652 KB) OKAY [ 1.964s]
Writing 'system_a' OKAY [ 0.468s]
Finished. Total time: 22.635s

C:\Users\**\Desktop\platform-tools>fastboot flash vendor vendor.img
Resizing 'vendor_a' OKAY [ 0.005s]
Sending 'vendor_a' (205840 KB) OKAY [ 5.988s]
Writing 'vendor_a' OKAY [ 1.215s]
Finished. Total time: 7.303s

C:\Users\**\Desktop\platform-tools>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
 
Last edited:

Nanosochoa

Member
Feb 18, 2018
8
2
Hi @Electimon

Just wanted to update the post that I was able to flash it
Had to set active partition a and delete partition a and product partition
and then create logical partition a and product and then

fastboot -w
fastboot --set-active=a
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash system system.img
fastboot flash vendor vendor.img

and worked .. boot right to AOSP 13 in MOTO G Pro .. RAM usage is awesome... will be trying this as main driver and see what happens so far so good.

Thanks Electimon
 
  • Like
Reactions: Electimon

Nanosochoa

Member
Feb 18, 2018
8
2
Hi @Electimon

Everything is great so far .. Just vfc card cnat be added due to a permission missing but I already checked apps permissions and cache and still showing that but I bypassed that by installing a third party dialer from Fdroid and from there installed the vfc card to the phone contacts and fixed .. Also another thing that its important is the battery that drains so fast .. I mean I was using phhusson GSI for A12 y A11 and the battery was insanely good lasted the whole day with usage but on this rom takes like 5 hours with usage to drain completely the battery .. I know its not mandatory to fix that which im very grateful to you for this but I though you might wanna know .

Thanks in advance
 
  • Like
Reactions: YoShake

IncompetentRandy

New member
Apr 4, 2022
2
0
I was asking if updating to stock A11 caused this to not work, happy to report that installing was straightforward
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    What twrp img did you use? I haven't had any success with available v3.4 and 3.5 as they do not support API > 30. At least haven't found any newer ones. I suppose there might be some posted on telegram groups related to G8.

    As for gapps, if twrp works for you, you can check litegapps. If custom recovery version won't work, then try rooting with magisk and use use proper package. Otherwise microG ftw.
    Tbh after I've checked how much resource hungry is GFS, microG is the last choice I would make. Not that many apps I used utilise push notification through GMS as I thought.

    OTA? Does any unofficial rom offer OTA updates? :D
    This ROM does not offer OTA updates, maybe in the future I will do this. I am still in the process of bringing up numerous other devices I don't even own :/
  • 6
    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.


    Code:
    /*
    * 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:
    Code:
    adb reboot bootloader
    The following will wipe your internal data:
    Code:
    fastboot -w
    Code:
    fastboot update package.zip

    It will reboot your device to fastbootd, you might get the following warning:
    Code:
    FAILED (remote: 'Old partitions are not compatible with the new super layout; wipe needed')
    , but you can continue with the following commands

    Fastbootd:
    Code:
    fastboot flash product product.img
    Code:
    fastboot flash system system.img
    Code:
    fastboot flash vendor vendor.img
    Code:
    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
    2
    Great to know that future updates shouldn't be a hassle.
    btw. is there a particular reason for having this google search bar preinstalled? Seems not working anyway, and it cannot be deleted like a standard widget. After I deleted com.android.quicksearchbox a black search bar was still in place, and I've got no idea how to get rid of it.


    As it goes to gapps I was perfectly fine with nogapps at all on my g5 and then g6. Until I had to start using mobile banking app. Constantly checking for updates, and generating links from g.play to get .apk w/o access to pc was truly a pain during holidays.



    you may flash even having stock A12 installed. Just follow the commands. After you get the mentioned error, and phone reboots to fastbootd just flash the three .img files unzipped earlier from the rom package.
    That search thing is apart of the stock launcher, you can download a launcher like nova launcher to get rid of it.
    1
    Sept 2: Fixed USB Mode Switching, Switched to new rebased kernel, Switched to EROFS
    1
    Sept 12: EGIS Fingerprint gestures fixed, Switch BtAudio to AIDL and September Patch level
    1
    What twrp img did you use? I haven't had any success with available v3.4 and 3.5 as they do not support API > 30. At least haven't found any newer ones. I suppose there might be some posted on telegram groups related to G8.

    As for gapps, if twrp works for you, you can check litegapps. If custom recovery version won't work, then try rooting with magisk and use use proper package. Otherwise microG ftw.
    Tbh after I've checked how much resource hungry is GFS, microG is the last choice I would make. Not that many apps I used utilise push notification through GMS as I thought.

    OTA? Does any unofficial rom offer OTA updates? :D
    This ROM does not offer OTA updates, maybe in the future I will do this. I am still in the process of bringing up numerous other devices I don't even own :/