[ROM][SOFIA*/RAV*][10][UNOFFICIAL] OmniROM

Search This thread

vache

Recognized Developer
Jun 12, 2009
1,137
3,712
Paris
url]

Supported devices :
  • sofia
  • sofiap
  • sofiap_ao
  • sofiar
  • rav
  • rav_t

Download (GApps included)

Kernel source

Device tree source


MAJOR BUGS:
you tell me


FLASHING

Boot to fastbootd mode (adb reboot fastboot or fastboot reboot fastboot)
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash product product.img
fastboot flash vbmeta vbmeta.img
fastboot -w (mandatory if coming from stock, warning tho : it will erase all your data)

UPDATE

Boot to fastbootd mode (adb reboot fastboot or fastboot reboot fastboot)
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash product product.img
fastboot flash vbmeta vbmeta.img
fastboot reboot


Telegram support group : [URL]https://t.me/MotoG8Official[/URL]

20200821 Changelog :
- Add support for g8/g fast
- Add LED support
- Add selinux enforced for all
- Safetynet should pass for all devices (can't check my self, let me know)
- Fix crash when turning off wifi hotspot

XDA:DevDB Information
OmniROM, ROM for the Moto G8

Contributors
vache
Source Code: [URL]https://github.com/omnirom/[/URL]

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Unlocked bootloader
Based On: AOSP

Version Information
Status: Beta
Beta Release Date: 2020-08-28

Created 2020-08-28
Last Updated 2020-08-28
 
Last edited:

swear000

Member
Jul 29, 2012
19
3
49
Racine, WI
This should be flashable via TWRP. Trying to install via method described only partially installs on A/B filesystem. Download link broken.
 
Last edited:

vache

Recognized Developer
Jun 12, 2009
1,137
3,712
Paris
This should be flashable via TWRP. Trying to install via method described only partially installs on A/B filesystem. Download link broken.

Since when twrp is mandatory to flash a ROM ?
I don't get what do you mean by partially. And link is working fine.

Edit: my bad, link was broken, updated.
 
Last edited:

Clothian

Member
Aug 23, 2020
7
2
flashed all of this twice and it just boots to twrp and asks for a password not i did flash twrp first from the other forum for the moto g fast
 

vache

Recognized Developer
Jun 12, 2009
1,137
3,712
Paris
flashed all of this twice and it just boots to twrp and asks for a password not i did flash twrp first from the other forum for the moto g fast

Make sure you have downloaded the build after I updated the link.
About twrp asking for password, expected behaviour after a data format without booting a ROM to populate encryption bits.
 

Clothian

Member
Aug 23, 2020
7
2
Ok so I just flashed back to stock and started over but now it just reboots on repeat I’m going to try to reset everything again and start over

---------- Post added at 06:42 PM ---------- Previous post was at 06:22 PM ----------

Ok so I just flashed back to stock and started over but now it just reboots on repeat I’m going to try to reset everything again and start over


i figured out while flashing its saying no such file or directory on system and product but flashes boot and vbmeta just fine
 

vache

Recognized Developer
Jun 12, 2009
1,137
3,712
Paris
Ok so I just flashed back to stock and started over but now it just reboots on repeat I’m going to try to reset everything again and start over

---------- Post added at 06:42 PM ---------- Previous post was at 06:22 PM ----------




i figured out while flashing its saying no such file or directory on system and product but flashes boot and vbmeta just fine

You're not in fastbootd mode as detailed in OP.
 

swear000

Member
Jul 29, 2012
19
3
49
Racine, WI
Debugging

Since when twrp is mandatory to flash a ROM ?
I don't get what do you mean by partially. And link is working fine.

Edit: my bad, link was broken, updated.

Sending 'boot_a' (65536 KB) OKAY [ 2.481s]
Writing 'boot_a' OKAY [ 0.939s]
Finished. Total time: 3.420s

Sending sparse 'system' 1/2 (781344 KB) OKAY [ 27.651s]
Writing sparse 'system' 1/2 (bootloader) Invalid partition name system
FAILED (remote: '')
Finished. Total time: 27.777s

Sending sparse 'product' 1/2 (781344 KB) OKAY [ 29.659s]
Writing sparse 'product' 1/2 (bootloader) Invalid partition name product
FAILED (remote: '')

Sending 'vbmeta_a' (4 KB) OKAY [ 0.003s]
Writing 'vbmeta_a' (bootloader) WARNING: vbmeta_a anti rollback downgrade, 0 vs 4
OKAY [ 0.010s]
Finished. Total time: 0.014s
 
Last edited:

vache

Recognized Developer
Jun 12, 2009
1,137
3,712
Paris
Sending 'boot_a' (65536 KB) OKAY [ 2.481s]
Writing 'boot_a' OKAY [ 0.939s]
Finished. Total time: 3.420s

Sending sparse 'system' 1/2 (781344 KB) OKAY [ 27.651s]
Writing sparse 'system' 1/2 (bootloader) Invalid partition name system
FAILED (remote: '')
Finished. Total time: 27.777s

Sending sparse 'product' 1/2 (781344 KB) OKAY [ 29.659s]
Writing sparse 'product' 1/2 (bootloader) Invalid partition name product
FAILED (remote: '')

Sending 'vbmeta_a' (4 KB) OKAY [ 0.003s]
Writing 'vbmeta_a' (bootloader) WARNING: vbmeta_a anti rollback downgrade, 0 vs 4
OKAY [ 0.010s]
Finished. Total time: 0.014s

Something wrong on your side, make sure you're in fastbootd mode and you have the latest fastbootd binary.
 

SilverKaito

New member
May 26, 2018
3
0
Something wrong on your side, make sure you're in fastbootd mode and you have the latest fastbootd binary.
I also have the same problem

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot C:\Users\Desu\Downloads\omni-10-20200823-sofia-rav-IMG\boot.img
target reported max download size of 805261312 bytes
sending 'boot_a' (65536 KB)...
OKAY [ 2.114s]
writing 'boot_a'...
OKAY [ 0.526s]
finished. total time: 2.643s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system C:\Users\Desu\Downloads\omni-10-20200823-sofia-rav-IMG\system.img
target reported max download size of 805261312 bytes
sending sparse 'system_a' 1/2 (786384 KB)...
OKAY [ 27.157s]
writing 'system_a' 1/2...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 27.163s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash product C:\Users\Desu\Downloads\omni-10-20200823-sofia-rav-IMG\product.img
target reported max download size of 805259264 bytes
sending sparse 'product' 1/2 (786384 KB)...
OKAY [ 27.608s]
writing 'product' 1/2...
(bootloader) Invalid partition name product
FAILED (remote failure)
finished. total time: 27.617s

I tried it on a G8 bike and in power both teams make me the same mistake
 

Beetle84

Recognized Contributor
I also have the same problem

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot C:\Users\Desu\Downloads\omni-10-20200823-sofia-rav-IMG\boot.img
target reported max download size of 805261312 bytes
sending 'boot_a' (65536 KB)...
OKAY [ 2.114s]
writing 'boot_a'...
OKAY [ 0.526s]
finished. total time: 2.643s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system C:\Users\Desu\Downloads\omni-10-20200823-sofia-rav-IMG\system.img
target reported max download size of 805261312 bytes
sending sparse 'system_a' 1/2 (786384 KB)...
OKAY [ 27.157s]
writing 'system_a' 1/2...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 27.163s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash product C:\Users\Desu\Downloads\omni-10-20200823-sofia-rav-IMG\product.img
target reported max download size of 805259264 bytes
sending sparse 'product' 1/2 (786384 KB)...
OKAY [ 27.608s]
writing 'product' 1/2...
(bootloader) Invalid partition name product
FAILED (remote failure)
finished. total time: 27.617s

I tried it on a G8 bike and in power both teams make me the same mistake

Are you in fastboot or fastbootd?
To get into fastbootd, you need to type
'fastboot reboot fastboot' in a cmd window while you are in the regular fastboot screen.
Then flash the rom.
 

josefelipeangeles

New member
Aug 31, 2020
1
0
omnirom

OmniROM and twrp works correctly thanks I want to modify the volume of the headphones vendor / etc / mixer_path.xml when I save changes it tells me an error occurred, the changes will not be saved, could you help me thanks
 

RosaAlicia

New member
Sep 4, 2020
1
0
Headphones

I installed Magisk and TWRP. TWRP is not required to flash all ROMs, it just works better under normal situations.

good afternoon onmi rom and twrp root works correctly I want to increase the volume of the headphones vendor / etc mixerpath when saving changes I get an error some solution thanks
 

atiolon

Member
Sep 4, 2020
5
0
Couldn't get this working. Probably because my rav is LATAM distribution (rav, not rav_t). When flashed from fastbootd, I got a bootloop. Thankfully TWRP is working fine, so I could boot stock from the other A/B slot.
 

thefilefly

New member
Jun 5, 2018
3
2
Denver
Success!

I had a number of issues while flashing this, as follows:
- I flashed TWRP before doing anything to attempt to flash Omni. As it turns out, fastbootd doesn't work correctly with TWRP installed, so I had to restore to stock before trying again.
- The Omni GSI has to be flashed to slot A by doing fastboot set_active a before you try to flash the partitions.
- When flashing the 20200823 build linked in OP, using the instructions listed, I got a "not enough space to resize partition" error. I attempted to resolve this by doing fastboot delete-logical-partition system_a and fastboot delete-logical-partition product_a - this was the wrong thing to do as it caused an issue mentioned earlier in the thread ("no such file or directory" when trying to flash those partitions), and I restored to stock to resolve this.
- I was able to get the partitions flashed by doing them in a different order than listed in OP. I successfully flashed by doing boot, product, system, vbmeta in that order.
- Once the partitions were successfully flashed, rebooting the device caused it to bootloop, showing the Moto logo for a few seconds and immediately rebooting. I resolved this by flashing an older boot.img from the Telegram channel (attached to this post). Flashing the older boot.img with the product, system, and vbmeta from the 20200823 build linked in OP got my device booting.

Thanks to the folks on Telegram for the help in getting this going.
 
Last edited:

devenkawaler

New member
May 28, 2018
1
0
Fastbootd errors

I cant seem to get any of the files to flash in fastbootd mode
i get this error
remote: No such file or directory
any help would be appreciated
 
I cant seem to get any of the files to flash in fastbootd mode
i get this error
remote: No such file or directory
any help would be appreciated

Have you tried updating your fastboot binary? I used to use minimal adb and fastboot until this device. I had the same issue, and had to update the binary to get it to work properly.
 
  • Like
Reactions: dvdavid888

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    url]

    Supported devices :
    • sofia
    • sofiap
    • sofiap_ao
    • sofiar
    • rav
    • rav_t

    Download (GApps included)

    Kernel source

    Device tree source


    MAJOR BUGS:
    you tell me


    FLASHING

    Boot to fastbootd mode (adb reboot fastboot or fastboot reboot fastboot)
    fastboot flash boot boot.img
    fastboot flash system system.img
    fastboot flash product product.img
    fastboot flash vbmeta vbmeta.img
    fastboot -w (mandatory if coming from stock, warning tho : it will erase all your data)

    UPDATE

    Boot to fastbootd mode (adb reboot fastboot or fastboot reboot fastboot)
    fastboot flash boot boot.img
    fastboot flash system system.img
    fastboot flash product product.img
    fastboot flash vbmeta vbmeta.img
    fastboot reboot


    Telegram support group : [URL]https://t.me/MotoG8Official[/URL]

    20200821 Changelog :
    - Add support for g8/g fast
    - Add LED support
    - Add selinux enforced for all
    - Safetynet should pass for all devices (can't check my self, let me know)
    - Fix crash when turning off wifi hotspot

    XDA:DevDB Information
    OmniROM, ROM for the Moto G8

    Contributors
    vache
    Source Code: [URL]https://github.com/omnirom/[/URL]

    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Unlocked bootloader
    Based On: AOSP

    Version Information
    Status: Beta
    Beta Release Date: 2020-08-28

    Created 2020-08-28
    Last Updated 2020-08-28
    1
    I cant seem to get any of the files to flash in fastbootd mode
    i get this error
    remote: No such file or directory
    any help would be appreciated

    Have you tried updating your fastboot binary? I used to use minimal adb and fastboot until this device. I had the same issue, and had to update the binary to get it to work properly.
    1
    Hi, i'm completely new to all of this. I went into fastbootd and flashed the four img files and than fastboot -w. after that i tried to reboot, which failed, it kept on showing the motorola starting screen and than the warning that i should lock the bootloader. I tried to put it on and off and got the "no command" screen. After that i got the boot failed screen. Than retrying got me back to the loop.
    I'm by no means an expert but sounds like what i did a while back. Sounds like something went wrong when you tried to install the files. Then you wiped phone. It's scary. First thing I tried was booting with TWRP by means of ADB. That didnt work for me so had to find stock image of phone on line then i re-installed stock ROM onto phone.