[ROM][RAV*/SOFIA*][11][UNOFFICIAL] SuperiorOS-Xcalibur

Search This thread

gearsofwar567

Senior Member
Oct 27, 2018
66
38
Phoenix.png



About US:
Superior OS is a AOSP based custom ROM with some minimal features to fulfill the users demands nowadays.

********************************************
UPDATES WILL BE ADDED TO THIS POST EACH MONTH AS MUCH AS POSSIBLE. CHECK FOR UPDATED LINKS! IM UPDATING THE LINKS TO THE FEB PATCH
👌

********************************************

Disclaimer.jpg



Code:
* Your warranty is now void.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.
"This is a user friendly thread, all your suggestions are important to us and will be taken into consideration.."



Procedure.jpg


***GAPPS ARE INCLUDED IN ROM***

HOW TO INSTALL:

1. Fastboot -w (in bootloader)
2. Flash images
- fastboot reboot fastboot
- fastboot set_active a
- fastboot flash boot boot.img
- fastboot flash system system.img
- fastboot flash product product.img
- fastboot flash vbmeta vbmeta.img
3. Reboot

AND THATS IT!

****FLASHING MICROG BUILD****

1. Flash all images (same steps above)
2. Boot into rom
3. Reboot into TWRP
4. Flash magisk
5. Flash microg.zip (included in the link provided)
6. Reboot

Features.jpg


New Update:
- Added new thermals from Xiaomi
- Improved RAM management
- Performance Optimizations
- Added Pixel Camera blobs
- Added Miracast



Downloads.jpg


Download ROM:SuperiorOS_May-patch


Credits.jpg


SuperiorOS Core Team
AOSP
Lineage OS
DirtyUnicorns
PixelExperience
AospExtended
Syberia OS
Nitrogen OS
Pixys OS



Team.jpg


@bcrichster
@Beetle84
@asineth
@Rondeau79
@gearsofwar567
@kjjjnob

Special thanks:
@vache

Important Links


Donate.jpg



Loved the ROM? Want to help it imporove? Gift us with some credits!


Source.jpg




Superior OS source
Device Trees: https://github.com/h0pk1do/android_device_motorola_sofiar
Vendor Trees: https://github.com/moto-sm6xxx/android_vendor_motorola_sofiar
Kernel Trees: https://github.com/Odin1101/Project-Sofia
telegram.png


Telegram Group
Telegram Channel


EXPERIENCING BUGS?
PLEASE LET ME KNOW!

SuperiorOS Version Name: Xcalibur
Build Type: UNOFFICIAL
Source Code: SuperiorOS


XDA:DevDB Information
SuperiorOS A11 sofia*/rav*, ROM for the Moto G8 Family

Contributors
Source Code:
https://github.com/SuperiorOS

ROM OS Version: Android 11
ROM Kernel: Linux 4.x

Version Information
Status:
Stable

Created 2021-01-27
Last Updated 2021-03-26
 
Last edited:

fix-this!

Senior Member
Apr 15, 2012
4,256
736
midwest
sweet an android 11 rom. can you post instructions on how to flash the images? also can we get a build with gapps? I don't think twrp is useable to flash anything.
 

rpcribari

Member
Apr 18, 2008
14
2
Getting an error when flashing system.img. Any ideas?

"writing 'system_b' 1/2...
(bootloader) Preflash validation failed
FAILED (remote failure)"

C:\ADB>fastboot devices
ZY22BKVPZ4 fastboot

C:\ADB>fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
File system type raw not supported.
erasing 'userdata'...
OKAY [ 1.187s]
finished. total time: 1.189s

C:\ADB>fastboot flash boot f:\boot.img
target reported max download size of 805261312 bytes
sending 'boot_b' (65536 KB)...
OKAY [ 2.028s]
writing 'boot_b'...
OKAY [ 0.566s]
finished. total time: 2.601s

C:\ADB>fastboot flash system f:\system.img
target reported max download size of 805261312 bytes
sending sparse 'system_b' 1/2 (720896 KB)...
OKAY [ 24.038s]
writing 'system_b' 1/2...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 24.056s
 

gearsofwar567

Senior Member
Oct 27, 2018
66
38
Getting an error when flashing system.img. Any ideas?

"writing 'system_b' 1/2...
(bootloader) Preflash validation failed
FAILED (remote failure)"

C:\ADB>fastboot devices
ZY22BKVPZ4 fastboot

C:\ADB>fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
File system type raw not supported.
erasing 'userdata'...
OKAY [ 1.187s]
finished. total time: 1.189s

C:\ADB>fastboot flash boot f:\boot.img
target reported max download size of 805261312 bytes
sending 'boot_b' (65536 KB)...
OKAY [ 2.028s]
writing 'boot_b'...
OKAY [ 0.566s]
finished. total time: 2.601s

C:\ADB>fastboot flash system f:\system.img
target reported max download size of 805261312 bytes
sending sparse 'system_b' 1/2 (720896 KB)...
OKAY [ 24.038s]
writing 'system_b' 1/2...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 24.056s

Okay so two things :

1. For whatever reason it's flashing to the B partition which it shouldn't.

2. You need the latest platform-tools

Before you flash again, fastboot -w and then type
Fastboot set_active a

I'll adjust that in the instructions
 

rpcribari

Member
Apr 18, 2008
14
2
Getting a different error with the latest version of platform-tools.

"Resizing 'system_a' FAILED (remote: '')
fastboot: error: Command failed"

C:\adb2>fastboot devices
ZY22BKVPZ4 fastboot

C:\adb2>fastboot -w
Erasing 'userdata' OKAY [ 0.042s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.010s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 0.087s

C:\adb2>fastboot set_active a
Setting current slot to 'a' OKAY [ 0.309s]
Finished. Total time: 0.315s

C:\adb2>fastboot flash boot f:\boot.img
Sending 'boot_a' (65536 KB) OKAY [ 2.013s]
Writing 'boot_a' OKAY [ 0.552s]
Finished. Total time: 2.587s

C:\adb2>fastboot flash system f:\system.img
Resizing 'system_a' FAILED (remote: '')
fastboot: error: Command failed
 

gearsofwar567

Senior Member
Oct 27, 2018
66
38
Getting a different error with the latest version of platform-tools.

"Resizing 'system_a' FAILED (remote: '')
fastboot: error: Command failed"

C:\adb2>fastboot devices
ZY22BKVPZ4 fastboot

C:\adb2>fastboot -w
Erasing 'userdata' OKAY [ 0.042s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.010s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 0.087s

C:\adb2>fastboot set_active a
Setting current slot to 'a' OKAY [ 0.309s]
Finished. Total time: 0.315s

C:\adb2>fastboot flash boot f:\boot.img
Sending 'boot_a' (65536 KB) OKAY [ 2.013s]
Writing 'boot_a' OKAY [ 0.552s]
Finished. Total time: 2.587s

C:\adb2>fastboot flash system f:\system.img
Resizing 'system_a' FAILED (remote: '')
fastboot: error: Command failed

Which device do you have?
 

rpcribari

Member
Apr 18, 2008
14
2
Getting an error when flashing system.img. Any ideas?

"writing 'system_b' 1/2...
(bootloader) Preflash validation failed
FAILED (remote failure)"

C:\ADB>fastboot devices
ZY22BKVPZ4 fastboot

C:\ADB>fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
File system type raw not supported.
erasing 'userdata'...
OKAY [ 1.187s]
finished. total time: 1.189s

C:\ADB>fastboot flash boot f:\boot.img
target reported max download size of 805261312 bytes
sending 'boot_b' (65536 KB)...
OKAY [ 2.028s]
writing 'boot_b'...
OKAY [ 0.566s]
finished. total time: 2.601s

C:\ADB>fastboot flash system f:\system.img
target reported max download size of 805261312 bytes
sending sparse 'system_b' 1/2 (720896 KB)...
OKAY [ 24.038s]
writing 'system_b' 1/2...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 24.056s

XT2041-4
 

bitscott84

New member
Jan 29, 2021
1
1
Hello gearsofwar567. in the post you mention that its possible to use the twrp to flash this? does that mean i can flash the twrp and do a backup and then go back to android 10 if i use twrp instead of flashing this directly? or does it come with some kind of recovery that can do backups?
also... i will gladly flash this and test it for you but i would like to wonder what features are software defect?
basically this is android 11 before moto released it which is fine but i am nervous about the recovery itself lol
 
  • Like
Reactions: gearsofwar567

rpcribari

Member
Apr 18, 2008
14
2
We have the same exact device, where are you? Are you in bootloader? Or are you in fastbootd?

Good call. I was just in the bootloader. I've now upgraded to TWRP 3.5 and found the reboot into fastboot mode and successfully flashed the system.img and remaining images. However now am getting the error:

failed to mount '/vendor' (invalid argument)
failed to mount '/product' (invalid argument)
 

fix-this!

Senior Member
Apr 15, 2012
4,256
736
midwest
I flashed the rom, installed twrp and installed gapps. so far it's running flawless on my device. the only concern I have is updates. when you flash twrp it seems to wipe out fastbootd. any suggestions on how to fix this?
 

fix-this!

Senior Member
Apr 15, 2012
4,256
736
midwest
Good call. I was just in the bootloader. I've now upgraded to TWRP 3.5 and found the reboot into fastboot mode and successfully flashed the system.img and remaining images. However now am getting the error:

failed to mount '/vendor' (invalid argument)
failed to mount '/product' (invalid argument)
are you in fastboot or fastbootd? you cant flash the images in standard fastboot mode for some reason.
 

gearsofwar567

Senior Member
Oct 27, 2018
66
38
Hello gearsofwar567. in the post you mention that its possible to use the twrp to flash this? does that mean i can flash the twrp and do a backup and then go back to android 10 if i use twrp instead of flashing this directly? or does it come with some kind of recovery that can do backups?
also... i will gladly flash this and test it for you but i would like to wonder what features are software defect?
basically this is android 11 before moto released it which is fine but i am nervous about the recovery itself lol

So basically this:

1. You cannot flash the rom via twrp, you must flash the images per the instructions
2. No you cannot currently make backups with twrp because of dynamic partitions. Still trying to work that out
3. Software defects, that is something you would have to find out for yourself when you flash. The status of the rom said "stable"
 

gearsofwar567

Senior Member
Oct 27, 2018
66
38
Good call. I was just in the bootloader. I've now upgraded to TWRP 3.5 and found the reboot into fastboot mode and successfully flashed the system.img and remaining images. However now am getting the error:

failed to mount '/vendor' (invalid argument)
failed to mount '/product' (invalid argument)
Is it not booting?
 

gearsofwar567

Senior Member
Oct 27, 2018
66
38
I flashed the rom, installed twrp and installed gapps. so far it's running flawless on my device. the only concern I have is updates. when you flash twrp it seems to wipe out fastbootd. any suggestions on how to fix this?

Good to hear👌 and there will be updates. In TWRP, hit the "reboot" tab and the tile That says "fastboot" is the new fastboot built into twrp
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Phoenix.png



    About US:
    Superior OS is a AOSP based custom ROM with some minimal features to fulfill the users demands nowadays.

    ********************************************
    UPDATES WILL BE ADDED TO THIS POST EACH MONTH AS MUCH AS POSSIBLE. CHECK FOR UPDATED LINKS! IM UPDATING THE LINKS TO THE FEB PATCH
    👌

    ********************************************

    Disclaimer.jpg



    Code:
    * Your warranty is now void.
    * We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
    * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.
    "This is a user friendly thread, all your suggestions are important to us and will be taken into consideration.."



    Procedure.jpg


    ***GAPPS ARE INCLUDED IN ROM***

    HOW TO INSTALL:

    1. Fastboot -w (in bootloader)
    2. Flash images
    - fastboot reboot fastboot
    - fastboot set_active a
    - fastboot flash boot boot.img
    - fastboot flash system system.img
    - fastboot flash product product.img
    - fastboot flash vbmeta vbmeta.img
    3. Reboot

    AND THATS IT!

    ****FLASHING MICROG BUILD****

    1. Flash all images (same steps above)
    2. Boot into rom
    3. Reboot into TWRP
    4. Flash magisk
    5. Flash microg.zip (included in the link provided)
    6. Reboot

    Features.jpg


    New Update:
    - Added new thermals from Xiaomi
    - Improved RAM management
    - Performance Optimizations
    - Added Pixel Camera blobs
    - Added Miracast



    Downloads.jpg


    Download ROM:SuperiorOS_May-patch


    Credits.jpg


    SuperiorOS Core Team
    AOSP
    Lineage OS
    DirtyUnicorns
    PixelExperience
    AospExtended
    Syberia OS
    Nitrogen OS
    Pixys OS



    Team.jpg


    @bcrichster
    @Beetle84
    @asineth
    @Rondeau79
    @gearsofwar567
    @kjjjnob

    Special thanks:
    @vache

    Important Links


    Donate.jpg



    Loved the ROM? Want to help it imporove? Gift us with some credits!


    Source.jpg




    Superior OS source
    Device Trees: https://github.com/h0pk1do/android_device_motorola_sofiar
    Vendor Trees: https://github.com/moto-sm6xxx/android_vendor_motorola_sofiar
    Kernel Trees: https://github.com/Odin1101/Project-Sofia
    telegram.png


    Telegram Group
    Telegram Channel


    EXPERIENCING BUGS?
    PLEASE LET ME KNOW!

    SuperiorOS Version Name: Xcalibur
    Build Type: UNOFFICIAL
    Source Code: SuperiorOS


    XDA:DevDB Information
    SuperiorOS A11 sofia*/rav*, ROM for the Moto G8 Family

    Contributors
    Source Code:
    https://github.com/SuperiorOS

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.x

    Version Information
    Status:
    Stable

    Created 2021-01-27
    Last Updated 2021-03-26
    3
    New update posted!
    1
    Hello gearsofwar567. in the post you mention that its possible to use the twrp to flash this? does that mean i can flash the twrp and do a backup and then go back to android 10 if i use twrp instead of flashing this directly? or does it come with some kind of recovery that can do backups?
    also... i will gladly flash this and test it for you but i would like to wonder what features are software defect?
    basically this is android 11 before moto released it which is fine but i am nervous about the recovery itself lol
    1
    Will this get updates? I have never used an unofficial rom before and I don't know how reliably updated they are.
    1
    I have now managed to get Arrow OS to install I just cant get the system.img to install for Superior OS
    Well that's good 👍 and that's crazy strange