Development Unofficial lineage os 18.1 for Moto g10 - Moto G10

I want to specifically thank @Electimon for all his code and help he provided along the way. Although imperfect, this is the first attempt
Hi All, We have tried building lineageos 18.1 for capri. Its not perfect yet but you can try and test this.
Many things are working. 4G LTE for JIO in India tested with calls, internet and sms. Headphone jack isn't working yet. There can be other things not working yet. But as of now, not seriously looking into fixing headphone jack issue. Will work on standardizing the build scripts first. The more we use, the more we can figure out things not working.
In the video I have not shown the about device page for privacy of my mobile number
For ROM developers out there, this isn't a complete working tree to build any ROM. Its still under development
Device Tree: https://github.com/sultanahamer/android_device_motorola_capri/tree/nio_replica
branch: nio_replica
Kernel source: https://github.com/moto-common/android_kernel_motorola_msm-4.19
branch: 12
Instructions to flash: These are a bit different from standard so please follow carefully. These are hybrid to GSI and ROM flash instructions. Don't flash anything else which isn't present in instructions.
Code:
Make sure you are on latest of ur stock Android 11. Booted and the rom is working. Any other android version won't work I guess
Download zip
adb reboot bootloader
fastboot -w
fastboot reboot fastboot
fastboot resize-logical-partition system_a 1073741824
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash product product.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot reboot
Our telegram group: https://t.me/MotoG10Official

sultanahamer said:
I want to specifically thank @Electimon for all his code and help he provided along the way. Although imperfect, this is the first attempt
Hi All, We have tried building lineageos 18.1 for capri. Its not perfect yet but you can try and test this.
Many things are working. 4G LTE for JIO in India tested with calls, internet and sms. Headphone jack isn't working yet. There can be other things not working yet. But as of now, not seriously looking into fixing headphone jack issue. Will work on standardizing the build scripts first. The more we use, the more we can figure out things not working.
In the video I have not shown the about device page for privacy of my mobile number
For ROM developers out there, this isn't a complete working tree to build any ROM. Its still under development
Device Tree: https://github.com/sultanahamer/android_device_motorola_capri/tree/nio_replica
branch: nio_replica
Kernel source: https://github.com/moto-common/android_kernel_motorola_msm-4.19
branch: 12
Instructions to flash: These are a bit different from standard so please follow carefully. These are hybrid to GSI and ROM flash instructions. Don't flash anything else which isn't present in instructions.
Code:
Make sure you are on latest of ur stock Android 11. Booted and the rom is working. Any other android version won't work I guess
Download zip
adb reboot bootloader
fastboot -w
fastboot reboot fastboot
fastboot resize-logical-partition system_a 1073741824
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash product product.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot reboot
Our telegram group: https://t.me/MotoG10Official
Click to expand...
Click to collapse
thank you for this you are my hero

lassarote said:
thank you for this you are my hero
Click to expand...
Click to collapse
I pass this on to @Electimon

I am so happy. Thank you so much! I hope everything will be alright and we get official. G10 is my main phone and I do not want to get unexpected soft brick. This days when everything is more expensive. The lineage os is essential after market.

We are currently trying out lineageos 19.1 Using it for almost a week now. Will post it if everything feels alright.

Related

GSI install process?

I'm curious if anyone has loaded a gsi on the oneplus 7t and if they know what boots and any workarounds that might be needed.:fingers-crossed:
on fastbootd
fastboot -w
fastboot flash system_a GSI.img
fastboot flash system_b GSI.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img " use the vbmeta.img from oxygen "
All those should be flashed in one go without rebooting. boot and vbmeta are those taken from OOS stock rom.
i have looked and i can not find the t-mobile stock rom i can get these files from. i have the files used by the msm tools but can find one that can be used. could you explain or link me please

OmniROM for the win

Huge, HUGE thank you to the OmniROM devs.
My Moto G Stylus is now what it was meant to be..freakin' sub $250 android awesomeness
History, its a 2020 G Stylus. Tried 6 different custom ROMs and none properly supported the stylus function, yea thats a deal breaker!
Until Omni, now the phone is nearly perfect. Excellent battery life, camera works reasonably well and stylus works like stock!
So here are some hints from my experiences
Downloaded omnrom-11*.*weekly.zip(no gapps, microg etc.)
Unzip
Used payload_dumper to extract img files
1) bootloader unlocked
2) use motoflash tool to flash stock A10
3) reboot to fastbootd
4) fastboot flash recovery_a twrp.img
5) fastboot flash recovery_b twrp.img
6) fastboot flash boot_a boot.img
7) fastboot flash system_a system.img
8) fastboot flash product_a product.img
9) fastboot flash vbmeta_a vbmeta.img
10) fastboot -w(**wipes data**)
11)fastboot flash boot_b boot.img
12) fastboot flash system_b system.img
13) fastboot flash product_b product.img
14) fastboot flash vbmeta_b vbmeta.img
15) fastboot -w(**wipes data**)
16) fastboot reboot
First boot took about 3-4 minutes but was greeted with my new OmniROM Moto G
The method I used worked for my moto your mileage may vary.
I found via trial and error that a clean A10 and flashing both partitionsA/B gave me the most consistent results.
Post install hint go into battery settings and turn off battery optimization for Moto Actions or the stylus function becomes unpredictable.
Hope this helps.
Thank you for the in-depth review. Omnirom is the only custom rom I haven't tried yet. I think i will do a back up and give it a try. I do like to keep things nearly stock and I always go vanilla. Got tired of google.

Development Unofficial Lineageos 19.1 for capri moto g10 and moto g10 power

!!!!!!!!!!!!!!!!!!!!!!!!!WE ARE NOT RESPONSIBLE FOR ANYTHING THAT MIGHT HAPPEN TO YOUR DEVICE TRYING TO INSTALL THIS ROM!!!!!!!!!!!!!!!!!!!!!!
This ROM has been tested for about a week on two capri devices one from India and other from South America
Loads of thanks to @Electimon for his trees and all his help fixing issues we faced in bringing this ROM
Kernel Source: https://github.com/sultanahamer/android_kernel_motorola_msm-4.19 (forked from electimon)
Manifest: https://github.com/sultanahamer/local_manifests
Not working:
FM Radio
Dual Sim (Will look into this soon) - Looked into it. This is being flaky once enabled. Will need more time to fix this.
Telegram group: https://t.me/MotoG10Official
Flashing instructions:
Code:
Make sure you are on latest of your stock Android 11, Booted and the rom is working.
Download zip and extract it and run the following commands
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img
fastboot -w
fastboot reboot fastboot
fastboot flash system system.img
# In case the above command fails saying parititon size is not enough then try to resize it with below command
fastboot resize-logical-partition system_a 1073741824 #(run this only if the above command fails and if you are on slot_a else change it to system_b)
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot reboot
thanks for the amazing work on this rom
sultanahamer said:
!!!!!!!!!!!!!!!!!!!!!!!!!WE ARE NOT RESPONSIBLE FOR ANYTHING THAT MIGHT HAPPEN TO YOUR DEVICE TRYING TO INSTALL THIS ROM!!!!!!!!!!!!!!!!!!!!!!
This ROM has been tested for about a week on two capri devices one from India and other from South America
Loads of thanks to @Electimon for his trees and all his help fixing issues we faced in bringing this ROM
Kernel Source: https://github.com/sultanahamer/android_kernel_motorola_msm-4.19 (forked from electimon)
Manifest: https://github.com/sultanahamer/local_manifests
Not working:
FM Radio
Dual Sim (Will look into this soon)
Telegram group: https://t.me/MotoG10Official
Flashing instructions:
Code:
Make sure you are on latest of your stock Android 11, Booted and the rom is working.
Download zip and extract it and run the following commands
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img
fastboot -w
fastboot reboot fastboot
fastboot flash system system.img
# In case the above command fails saying parititon size is not enough then try to resize it with below command
fastboot resize-logical-partition system_a 1073741824 #(run this only if the above command fails and if you are on slot_a else change it to system_b)
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot reboot
Click to expand...
Click to collapse
Thank you, guys, for your awesome work. Hope we'll get a stable update. Good luck
sultanahamer said:
!!!!!!!!!!!!!!!!!!!!!!!!!WE ARE NOT RESPONSIBLE FOR ANYTHING THAT MIGHT HAPPEN TO YOUR DEVICE TRYING TO INSTALL THIS ROM!!!!!!!!!!!!!!!!!!!!!!
This ROM has been tested for about a week on two capri devices one from India and other from South America
Loads of thanks to @Electimon for his trees and all his help fixing issues we faced in bringing this ROM
Kernel Source: https://github.com/sultanahamer/android_kernel_motorola_msm-4.19 (forked from electimon)
Manifest: https://github.com/sultanahamer/local_manifests
Not working:
FM Radio
Dual Sim (Will look into this soon)
Telegram group: https://t.me/MotoG10Official
Flashing instructions:
Code:
Make sure you are on latest of your stock Android 11, Booted and the rom is working.
Download zip and extract it and run the following commands
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img
fastboot -w
fastboot reboot fastboot
fastboot flash system system.img
# In case the above command fails saying parititon size is not enough then try to resize it with below command
fastboot resize-logical-partition system_a 1073741824 #(run this only if the above command fails and if you are on slot_a else change it to system_b)
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot reboot
Click to expand...
Click to collapse
So installed fine on a G10 now the problem is a lack of google apps I want it and I need magisk for half the apps to to add a custom way to run apps that need root.
I cannot get gapps on it for starters as can't go into a recovery menu it's twrp I need to do all this with and the recovery on this is stock really, I will say though that is is an amazing firmware I mean really clean brilliant work but I must have twrp so I can root but also so I can add google apps which is my primary necessity root is a distant second if at all needed i do newed my apps to make images and other tools I use it for daily driver wise.
l Tried to use this TWRP https://cloudhazy.com/download/motorola-moto-g10-xt2127-2-twrp-recovery-3-5-2/ and it fails but I know the model number XT2127-2 is correct so it just doesn't allow installing or launching it, from inside platform tools openeing in a command window here mode????
I am stuck completely now.
@PHYSC-1 you should be able to find magisk inside the attached lineageos zip. Flash that to boot and you should be rooted. I am working on gapps and dual sim currently. Also, don't feel like you are stuck. At any moment, you can flash the stock firmware and go back to stock if you are not able to daily drive lineage os without gapps.
I don't want to have gapps on my phone so I didn't work on it at all until now. I see that many people are asking for gapps, so giving it a try.
In case you don't find the magisk boot image in the lineage os zip, you can create one yourself by installing magisk app and passing this lineageos boot image to it.
@PHYSC-1 we are testing gapps on this ROM now. Me and two users present on our group are testing GAPPS on this ROM. As of now, its running smooth, will publish the update in a week or so.
sultanahamer said:
!!!!!!!!!!!!!!!!!!!!!!!!!WE ARE NOT RESPONSIBLE FOR ANYTHING THAT MIGHT HAPPEN TO YOUR DEVICE TRYING TO INSTALL THIS ROM!!!!!!!!!!!!!!!!!!!!!!
This ROM has been tested for about a week on two capri devices one from India and other from South America
Loads of thanks to @Electimon for his trees and all his help fixing issues we faced in bringing this ROM
Kernel Source: https://github.com/sultanahamer/android_kernel_motorola_msm-4.19 (forked from electimon)
Manifest: https://github.com/sultanahamer/local_manifests
Not working:
FM Radio
Dual Sim (Will look into this soon) - Looked into it. This is being flaky once enabled. Will need more time to fix this.
Telegram group: https://t.me/MotoG10Official
Flashing instructions:
Code:
Make sure you are on latest of your stock Android 11, Booted and the rom is working.
Download zip and extract it and run the following commands
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img
fastboot -w
fastboot reboot fastboot
fastboot flash system system.img
# In case the above command fails saying parititon size is not enough then try to resize it with below command
fastboot resize-logical-partition system_a 1073741824 #(run this only if the above command fails and if you are on slot_a else change it to system_b)
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot reboot
Click to expand...
Click to collapse
Thank you for this work! I'm also anxious to get a stable, dual chip working version too.
I think the Gapps should be separate to ROM. Of course if it is possible.
Gapps works 2 problems found in testing 1 is a big one for anyone using screen cast the network auto switches from 2.4ghz to 5ghz and back intermittently causing screen cast to drop out mid use and this stuns it and creates constant bad image quality and freezing completely up.
Secondly this could be unrelated to the OS but it doesn't happen on official Motorola OS's when using the app from F-Droid called simple gallery pro if you edit an image and try to draw on an image the drawing occurs in the wrong position the pointer is below where you draw on?

Flashed vbmeta.img causes phone to keep booting into recovery

I am using EEA MIUI 12.5.15.0(RGGEUXM) version. I have downloaded the ROM from here, which I got the vbmeta.img from.
When trying to disable AVB 2.0 using the
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
command, it reports as being flashed successfully but causes my phone to keep booting into recovery until I flash stock ROM using MIFlash.
Why does that happen?
@theimpulson afaik no A/B device, so the above cmd should work, right?
alecxs said:
@theimpulson afaik no A/B device, so the above cmd should work, right?
Click to expand...
Click to collapse
I don't know but I have got new phone since this time so not important

Development Unofficial Lineageos 20 for capri moto g10 and moto g10 power

!!!!!!!!!!!!!!!!!!!!!!!!!WE ARE NOT RESPONSIBLE FOR ANYTHING THAT MIGHT HAPPEN TO YOUR DEVICE TRYING TO INSTALL THIS ROM!!!!!!!!!!!!!!!!!!!!!!
This ROM has been tested for about a week on two capri devices one from India and other from South America
Loads of thanks to @Electimon for his trees and all his help fixing issues we faced in bringing this ROM
Kernel Source: https://github.com/moto-common/android_kernel_motorola_msm-4.19
Manifest: https://github.com/moto-common/local_manifests
Not working:
FM Radio
Dual Sim (Will look into this soon) - Looked into it. This is being flaky once enabled. Will need more time to fix this.
5Ghz Wifi - not stable, keeps disconnecting, use 2.4Ghz
Telegram group: https://t.me/motobengalchat
Flashing instructions:
Code:
Make sure you are on latest of your stock Android 11, Booted and the rom is working.
Download zip and extract it and run the following commands
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img
fastboot -w
fastboot reboot fastboot
fastboot flash system system.img
# In case the above command fails saying parititon size is not enough then try to resize it with below command
fastboot resize-logical-partition system_a 1073741824 #(run this only if the above command fails and if you are on slot_a else change it to system_b)
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
To flash gapps, follow instructions below
Flashing gapps:
On the phone screen you should be seeing a menu, press volume down to goto Enter recovery and press power button to choose it
Here you will see a different menu, press power down to navigate to apply update and press power button to choose it and press power button again to choose Apply from ADB
Now on the command line enter below command
Code:
adb sideload MindTheGapps-13.0.0-arm64-20230408_162909.zip
In case you have missed flashing gapps and booted into ROM, make sure you reset device in recovery before flashing gapps
...

Categories

Resources