Development [UNOFFICIAL] LineageOS 20 for the Motorola Edge 30 Ultra (eqs)

Search This thread

SGCMarkus

Recognized Developer
Jan 10, 2011
1,101
2,156
HTC Desire HD
OnePlus 2
lineage-os-logo.png


Code:
#include "std_disclaimer.h"
/*
* 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 working:
  • RIL (Calls, SMS, Data)
  • Fingerprint (FOD)
  • Wi-Fi
  • Bluetooth
  • Camera
  • Video Recording
  • Video Playback
  • Audio
  • Sensors
  • Flash
  • GPS
  • Vibration
  • Wifi Hotspot
  • Display out
  • Wireless display
  • Selinux enforcing
  • IMS (VoLTE/VoWifi)

What's not working:
  • Receiving SMS on chinese variants (or just carriers) may not work, more debugging required

Flashing Instructions:
  • Requirements:​

    • Unlocked bootloader!
    • Learn these instructions by heart
    • PC with working adb/fastboot
    • Downloaded:
      • LineageOS zip
      • copy partitions zip​

      • optional:
        • gapps
        • magisk
        • <insert other mod here>

  • Make a backup of EVERYTHING on your internal storage you dont wanna lose
  • reboot to bootloader
    • Code:
      adb reboot bootloader
    • or reboot the device, and hold power and volume down
  • Flash the lineage recovery to both slots
    • Code:
      fastboot flash recovery_a recovery.img
    • Code:
      fastboot flash recovery_b recovery.img
  • reboot to recovery
    • use volume keys to select recovery reboot option and press power to confirm
    • in recovery use volume keys and power to navigate
      • stock vendor_boot does not contain touch drivers, so live with this for a bit
  • Select "Apply Update"
    • Select "Apply from ADB"
      • If you come from stock, this is REQUIRED:

        • Code:
          adb sideload copy-partitions-20220613-signed.zip
      • Code:
        adb sideload  <lineageos zip>
  • Go back (Volume up can select the back button)
    • Advanced
      • Reboot recovery
        • You can use touch now :)
  • factory reset
  • -----Optional, Gapps/Magisk------
  • Select "Apply Update"
    • Select "Apply from ADB"
      • Code:
        adb sideload <path/to/gapps.zip>
      • Code:
        adb sideload <path/to/Magisk.zip>
      • Code:
        adb sideload <path/to/some/other/mod.zip>
  • -----End Optional-----
  • Reboot system now
  • First boot, especially with Gapps, may take a while

Telegram group: https://t.me/MotoEdge30Ultra

Downloads:
copy partitions: https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip
LineageOS 20 (no gapps): https://github.com/SGCMarkus/Lineage-OTA/releases (search for the newest eqs release :) )
LineageOS 20 (with gapps, by @Cozzmy13): https://drive.google.com/drive/folders/1PIXfLQva51Cn5V8qIj8HmCaWvxpcrNlo?usp=share_link

Sources:
device tree: eqs, sm8475-common
prebuilt kernel: eqs-kernel
vendor: eqs, sm8475-common
 
Last edited:

hailong

New member
Nov 29, 2014
2
0
我是酷安吸引过来看看的,不准备刷,小白鼠先上,我坐等PE系统。

Mod edit: English please!
Google translation:


I was attracted by Kuan to take a look. If I don’t plan to brush, the mouse will go first, and I will wait for the PE system.
 
Last edited by a moderator:

iron maiden

Senior Member
Feb 9, 2011
1,010
135
Tiene gapps incluidos? I have already seen that it does not have what gapps do you recommend? thanks for the job
 

Killuminati91

Senior Member
Dec 12, 2012
386
161
Awesome, thanks for your work! Should be possible to compile TWRP with your device tree and kernel now as well, right?!
Would you mind explaining why copy-partitions is needed and what it does?
 

SGCMarkus

Recognized Developer
Jan 10, 2011
1,101
2,156
HTC Desire HD
OnePlus 2
Tiene gapps incluidos? I have already seen that it does not have what gapps do you recommend? thanks for the job
I'm using Nikgapps currently :)

Awesome, thanks for your work! Should be possible to compile TWRP with your device tree and kernel now as well, right?!
Would you mind explaining why copy-partitions is needed and what it does?
Should work, i guess. And for TWRP no special kernel is needed. The recovery partition just contains a ramdisk (the recovery itself), with no kernel. During boot the bootloader merges the available ramdisks (depending on the boot mode ofcourse).
E.g. when you start the device normaly, it will merge the ramdisks from boot and vendor_boot (soc specific kernel modules)
When you start recovery it will merge the ramdisks from boot, vendor_boot and then recovery.

Copy partitions copies all slotted partitions (_a ad _b ones) from the current active slot to the inactive slot (e.g. when youre on slot a, it will copy all of them to their _b counterparts).
This is needed because motorola does not ship the second slot populated. So in case you have a fresh device (no OTAs and so, or you just flashed stock again), the second slot will be completely empty (no bootloader, no nothing). And A/B devices switch slots after every flash of a ROM, so the device would then try to boot into an empty slot, which fails and would kick you into qualcomms emergency download mode (9008).
If blankflash would help you in that state, im not sure.

Any experiences? 🤔 Does Netflix work?
Using it for like 2 weeks now as a daily driver. Netflix should work, but as L3 (idk if L1 would work, my device never was L1, so cant test that)
 

ailikes

Member
Mar 9, 2021
13
2
I'm using Nikgapps currently :)


Should work, i guess. And for TWRP no special kernel is needed. The recovery partition just contains a ramdisk (the recovery itself), with no kernel. During boot the bootloader merges the available ramdisks (depending on the boot mode ofcourse).
E.g. when you start the device normaly, it will merge the ramdisks from boot and vendor_boot (soc specific kernel modules)
When you start recovery it will merge the ramdisks from boot, vendor_boot and then recovery.

Copy partitions copies all slotted partitions (_a ad _b ones) from the current active slot to the inactive slot (e.g. when youre on slot a, it will copy all of them to their _b counterparts).
This is needed because motorola does not ship the second slot populated. So in case you have a fresh device (no OTAs and so, or you just flashed stock again), the second slot will be completely empty (no bootloader, no nothing). And A/B devices switch slots after every flash of a ROM, so the device would then try to boot into an empty slot, which fails and would kick you into qualcomms emergency download mode (9008).
If blankflash would help you in that state, im not sure.


Using it for like 2 weeks now as a daily driver. Netflix should work, but as L3 (idk if L1 would work, my device never was L1, so cant test that)
No SMS received after root
 

SGCMarkus

Recognized Developer
Jan 10, 2011
1,101
2,156
HTC Desire HD
OnePlus 2
  • Like
Reactions: Matija Gubec

gamal001

Senior Member
Jul 15, 2011
806
204
Google Pixel 5
Nothing Phone 1
Thank you for you sharing your builds, I want flash your rom without using root and I have some questions:
1- did you plan to make offical lineage
2- play store certified or not
3- can we running the bank app without any security issue
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hello Markus,
    is this project dead? I have not seen any updates for a longer time. Or is there a different place where you share info on this?
    There is a telegram group https://t.me/MotoEdge30Ultra, and the project is far from dead. There are 2 devs working on the device. Markus, and Cosmin
  • 11
    lineage-os-logo.png


    Code:
    #include "std_disclaimer.h"
    /*
    * 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 working:
    • RIL (Calls, SMS, Data)
    • Fingerprint (FOD)
    • Wi-Fi
    • Bluetooth
    • Camera
    • Video Recording
    • Video Playback
    • Audio
    • Sensors
    • Flash
    • GPS
    • Vibration
    • Wifi Hotspot
    • Display out
    • Wireless display
    • Selinux enforcing
    • IMS (VoLTE/VoWifi)

    What's not working:
    • Receiving SMS on chinese variants (or just carriers) may not work, more debugging required

    Flashing Instructions:
    • Requirements:​

      • Unlocked bootloader!
      • Learn these instructions by heart
      • PC with working adb/fastboot
      • Downloaded:
        • LineageOS zip
        • copy partitions zip​

        • optional:
          • gapps
          • magisk
          • <insert other mod here>

    • Make a backup of EVERYTHING on your internal storage you dont wanna lose
    • reboot to bootloader
      • Code:
        adb reboot bootloader
      • or reboot the device, and hold power and volume down
    • Flash the lineage recovery to both slots
      • Code:
        fastboot flash recovery_a recovery.img
      • Code:
        fastboot flash recovery_b recovery.img
    • reboot to recovery
      • use volume keys to select recovery reboot option and press power to confirm
      • in recovery use volume keys and power to navigate
        • stock vendor_boot does not contain touch drivers, so live with this for a bit
    • Select "Apply Update"
      • Select "Apply from ADB"
        • If you come from stock, this is REQUIRED:

          • Code:
            adb sideload copy-partitions-20220613-signed.zip
        • Code:
          adb sideload  <lineageos zip>
    • Go back (Volume up can select the back button)
      • Advanced
        • Reboot recovery
          • You can use touch now :)
    • factory reset
    • -----Optional, Gapps/Magisk------
    • Select "Apply Update"
      • Select "Apply from ADB"
        • Code:
          adb sideload <path/to/gapps.zip>
        • Code:
          adb sideload <path/to/Magisk.zip>
        • Code:
          adb sideload <path/to/some/other/mod.zip>
    • -----End Optional-----
    • Reboot system now
    • First boot, especially with Gapps, may take a while

    Telegram group: https://t.me/MotoEdge30Ultra

    Downloads:
    copy partitions: https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip
    LineageOS 20 (no gapps): https://github.com/SGCMarkus/Lineage-OTA/releases (search for the newest eqs release :) )
    LineageOS 20 (with gapps, by @Cozzmy13): https://drive.google.com/drive/folders/1PIXfLQva51Cn5V8qIj8HmCaWvxpcrNlo?usp=share_link

    Sources:
    device tree: eqs, sm8475-common
    prebuilt kernel: eqs-kernel
    vendor: eqs, sm8475-common
    4
    @SGCMarkus
    What are your plans for this ROM ? Will you maintain it for a while ?

    Yes, planning to maintain it, and eventually going official (but few things still missing for that).

    Can a telegram group be created
    Can you create a telegram? I'm from China. I can help test it. I'm looking forward to it. Come on, developers
    Good idea, only found one for the Edge 30 Pro (X30), but if theres enough requests, will create one.

    Thank you for you sharing your builds, I want flash your rom without using root and I have some questions:
    1- did you plan to make offical lineage
    2- play store certified or not
    3- can we running the bank app without any security issue
    1) Yes, but that still requires some work, first we need full kernel source, and the as its a new platform as a whole, a lot needs to be worked out, especially with the GKI stuff.
    2) it should be uncertified even on stock as soon as you unlock your bootloader (atleast when everything is properly implemented). I didnt modifiy the Lineage source here for some hacks to prevent that.
    3) Selinux is enforcing, so all security risks you might have come from either trusting unknown apps or when you have magisk, giving apps you dont really know root access? They might complain though that the device is rooted without magisk and its hiding abilities.

    Hello, I just installed rom lineage, I followed all the steps, but the stock rom started, how is it possible?Has anyone else installed the rom?
    Thats a very interesting question. As its VAB, even when switching slots back, i didnt manage to boot stock when i tried a few weeks back... Were there any errors during the flash process? Do you have logs maybe?
    When you flash again, enable adb in advanced settings of the recovery and adb pull /tmp/recovery.log
    2
    Hello Markus,
    is this project dead? I have not seen any updates for a longer time. Or is there a different place where you share info on this?
    There is a telegram group https://t.me/MotoEdge30Ultra, and the project is far from dead. There are 2 devs working on the device. Markus, and Cosmin
    2
    Thank you for all your efforts!!! Hoping we could get more custom ROM to run later 😀
    2
    Tiene gapps incluidos? I have already seen that it does not have what gapps do you recommend? thanks for the job
    I'm using Nikgapps currently :)

    Awesome, thanks for your work! Should be possible to compile TWRP with your device tree and kernel now as well, right?!
    Would you mind explaining why copy-partitions is needed and what it does?
    Should work, i guess. And for TWRP no special kernel is needed. The recovery partition just contains a ramdisk (the recovery itself), with no kernel. During boot the bootloader merges the available ramdisks (depending on the boot mode ofcourse).
    E.g. when you start the device normaly, it will merge the ramdisks from boot and vendor_boot (soc specific kernel modules)
    When you start recovery it will merge the ramdisks from boot, vendor_boot and then recovery.

    Copy partitions copies all slotted partitions (_a ad _b ones) from the current active slot to the inactive slot (e.g. when youre on slot a, it will copy all of them to their _b counterparts).
    This is needed because motorola does not ship the second slot populated. So in case you have a fresh device (no OTAs and so, or you just flashed stock again), the second slot will be completely empty (no bootloader, no nothing). And A/B devices switch slots after every flash of a ROM, so the device would then try to boot into an empty slot, which fails and would kick you into qualcomms emergency download mode (9008).
    If blankflash would help you in that state, im not sure.

    Any experiences? 🤔 Does Netflix work?
    Using it for like 2 weeks now as a daily driver. Netflix should work, but as L3 (idk if L1 would work, my device never was L1, so cant test that)