yashsingh1/xdaforums huggingface dataset:
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] vinoxflame:
does g7 power supports 5ghz?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] jhjhjhjhjhjh:
To O.P

Again I can't stress the appreciation for your hard work on this rom.

Pros- Battery Life, Customization, Notification LED, Accepts custom kernels, fast boot up times, all volume options show during volume pressing (see pics), Best sounding ROM with Dolby and viper combo, no force closes no random reboots, Fluid and fast especially with the upstream kernel from Lineage(see pic) 100% stable, no bugs. Always on display, many more.

Android 10 with RR will be a game changer.

Cons Zram enabled but can disable via fkkernel manager apk.

CRdroid was my daily but I kept coming back to RR.

Thanks you are my hero...
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] radump:
What is the command "sleep 5":confused:
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] extab:
It simply pauses the execution of a script for 5 seconds. It is used when one wants to finish the execution of a preceding command (and expects that 5 seconds are enough for it) before starting a new one.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
I get the RR ROM up and running without gapps (full) then go back and install gapps with twrp (no errors) I go into a boot loop. I did not install gapps with the RR ROM install because when I did that (2 times) I go into a boot loop. I am not sure why gapps install is causing boot looping?

Stock I am using XT1955-2_OCEAN_RETLA_SS_9.0_PPOS29.114-134-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml

This stock does not have vendor.img_sparsechunk.2 which is the RR ROM install instructions.

Stock in slot A works fine.

I do this fastboot -w before and/or fastboot erase userdata doesn't stop the bootloop.

I am going to try these things from reading the thread:

at the end of the whole procedure (I did format the data partition before flashing the rom).

and

edit 2: holy sh*t it worked that time. followed the instructions up until the point of flashing the rom, then i did what u said and rebooted system to slot b, did the factory reset option and now im finally in the rom. thanks again linux, this thing was driving me crazy

But will take any ideas including using another stock rom for XT1955-2

Added Edit It seems this copy-partitions-payton.zip step could be done a number of different ways other than using the utility??

Senior member : "flash-all does both slots with the stock firmware. If you are on the default stock setup, copy-partions will just copy your the Moto default to the other slot." https://xdaforums.com/moto-x4/help/copy-partitions-zip-prepping-roms-t3845771

You could manually add a stock rom to the B Slot and it does not have to be the stock ROM that is in Slot A just one that works with your phone? I could just play around in the B slot with a stock Rom that has a vendor.img_sparsechunk.2? That is what I am getting from reading? Looks like a/b slots allow you to have two different Roms on one phone. You probably have to clear user data to switch between the two?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] motog7:
how can you tell which firmware variant your phone has

my fastboot says

BL: mbm-2.1-ocean_retail-a5c9d71-190804

product/variant: ocean XT1955-4 64gb pvt1

but i don't see any firmware with that name in the list
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
According to the above it is XT1955-4. Also if you can open the phone Settings>About Phone>Android Version will tell you also. In lolinet RTLIN, DTEU, EEGB and more.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] motog7:
i can't :( i don't have any operating system at all

what should i do
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
You have adb connection to your phone a computer, you can fix it. Download a stock firmware of XD1955-4 from the lolinet link on the first post of this thread. Follow the instructions on my post above up until

"This will put the stock system in slot A"

You will be able to boot to the stock after this.

If you are going to continue and put a custom ROM on your phone make sure you download all the things necessary on the first post of this thread and put it on your SD card on your phone. You will be able to access the SD card through twrp by select storage button in install. You can follow the instruction on the first post or TheLastAlphaUK post or my post which has some variations like adding in Linux's suggestion but also is more clear on when you need fastboot -w.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] motog7:
Thank you very much for your replies and clear instructions I have managed to install Resurrection Remix

I read that keeping usb debugging on is a security risk but when I turn it off in settings and reboot it turns back on, is this something to be worried about?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] DiegoHache:
Excellent ROM!

The only issue I'm having right now is with Android Auto. When I plug the phone into the car, the latest says "Unsupported device". It was working fine with the stock ROM. Also, I was using my old Moto G5 Plus with RR and the same car without any issue.

Any ideas?

Thanks!
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
I just replicated what you said and I got the same problem: on reboot usb debugging turn on. That is a RR ROM problem, seems to be?

I also changed Default USB configuration to No data transfer (Charge Only at least ROM). This did not change on reboot.

---------- Post added at 02:18 AM ---------- Previous post was at 02:14 AM ----------

Try uninstalling and reinstalling through Google Play Store.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] DiegoHache:
Yes, I've tried. It didn't work...
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
Hello everyone. I purchased an unlocked rooted with TWRP already installed g7 power from eBay. I'd like to install Resurrection ROM.... But.... It's been several years since I've used Android. I've had an iPhone for the past 4 years. Before that I've always had rooted phones and enjoyed the customization (battery themes, etc).... It used to be as easy as booting into recovery, wiping and flashing. Since I'm already unlocked and rooted what steps would I need to follow to install this ROM with gapps?..... Sorry for the newb request... Just gotta refresh myself. Thanks in advance.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Seniorween:
Slot a will boot but boots to stock firmware and slot b is stuck in a recovery bootloop any resolutions? XT1955-4, Ive had no issues with any flashes or terminal commands, and ramdisk boot thing was fine ?*♂️
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
Have you checked all your Android Auto app permissions? I noticed that the default on RR is not to give permission to Android Auto.

---------- Post added at 07:48 PM ---------- Previous post was at 07:42 PM ----------

Go to https://xdaforums.com/showpost.php?p=81268423&postcount=74 do the first part up until you are installing the stock firmware. You may need to install the latest stock firmware if you device does not have it. If you already have the latest stock firmware on you device you will only have to do a factory reset and jump down to section.

"Then bootloader (hold power+volume down buttons)

Back on original instructions:

fastboot set_active a

fastboot reboot-bootloader

sleep 5"

or use the instructions on the first post. The first post in this thread has all the links to download everything you need to begin.

---------- Post added at 07:52 PM ---------- Previous post was at 07:48 PM ----------

Have you done this:

"Twrp >Reboot picked slot_b

Reboot> Bootloader

In the rebooted bootloader you need to do: fastboot -w and/or fastboot erase userdata before starting the RR ROM"

.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
Ok....I think I followed correctly.... But it's been stuck on this bit animation for about 20 mins. Is this normal?... Should I try to reboot into TWRP and try something else?

EDIT.... It works... Did a factory data reset.... Booted up but now the recovery is LinageOS. What's the easiest way at this point to get gapps?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
No 20 mins is not normal.

If you cleared user data and it is not booting up something else did not happen.

See if you can boot into the a slot factory ROM and do a factory reset. You can also do this in twrp. You will have to try installing it again at:

Then bootloader (hold power+volume down buttons)

Back on original instructions:

fastboot set_active a

fastboot reboot-bootloader

sleep 5
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
After doing a factory reset... It booted up.... I've got Lineage recovery though. At this point can I just move gapps to the phones memory and flashing it through Lineage recovery?... Or what's the easiest way to get TWRP back on?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
Everytime I got Lineage recovery I had no touchscreen and had to redo it. If you do have touch screen maybe you can do something. TWRP recovery gives you easier control, Which instructions are you following? Try this https://xdaforums.com/showpost.php?p=81268423&postcount=74 It has a factory reset step before installing the RR ROM that is not in the original instructions.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
I don't have touch screen via LinageOS recovery... But the volume rockers will move the selection... And the power will select.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] vinoxflame:
boot and flash TWRP through fastboot (pc)
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
That worked..... Everything is working now... Got gapps installed. The only issue I've had is I setup a pin and for some reason it wouldn't accept it after the screen went blank. I did a factory reset and got it to boot back up. Is there a fix for this?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
So....I used a pattern for screen security this time around and it it keeps giving me the error message about wrong pattern. What am I doing wrong? I know I'm inputting the correct pattern.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] DiegoHache:
Yes, all permissions are granted. The problem is, I think, with the USB connection. When I connect the phone to the car, USB preferences is set to No data transfer and I can't change it. Every time I try to change it (e.g. FIle transfer or PTP) it changes immediately into No data transfer.

This problem doesn't happen while connected to the PC or other devices. And the phone was working fine with Android Auto using (rooted) stock ROM.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
Everything works great... But.... No lockscreen
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
Unplug your phone from the car.

Open the Android Auto app on your phone.

Select Menu Menu and then Settings and then Connected cars.

Uncheck the box next to the "Add new cars to Android Auto" setting.

Try plugging your phone into the car again.

https://support.google.com/androidauto/answer/6348190?hl=en&ref_topic=6347951

I do not know what if any affect that may have "No Data Transfer" setting you can't change. I do know you have to have Debugging on to change the default setting from "No Data Transfer" to change it to "File Transfer", if you do not have debugging on the default settings acts as you describe.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
Any idea what's up with me setting up a pin or pattern? After my screen locks I can't unlock it. It says wrong pin or pattern and I have I to factory reset to bring it back. I'd really like to get fingerprint working. I've read through the post but it seems I'm the only one with this issue.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
I have no idea other than user error. I know that is not what you want to hear, but you are the only one having the issue so far. What I would do is once you are in again by factory reset head over to Settings> Security & Location> Device Security you will find all the security settings and can do them all at once including Fingerprint. I would use Smart lock > Trusted Places and Keep device unlock at your home until at least you figure out what is going wrong. Best I can do.

Also do not use swipe pattern. It is easy to break into a phone if someone use this method.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] DiegoHache:
First of all, thx for your answer.

I've tried both. Unchecking the box to add new cars, and changing the default USB connection option through the debbuging.

The issue is still there :(
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
Alright... Tried everything... Even installed crDroid ROM... It booted up... Went through setup... Same issue with lockscreen on that ROM as well. Very odd....I can use the file explorer in TWRP to delete the lockscreen.db file... Which them removes any lock on the phone... But I'm also missing any fingerprint support at all. Nothing to set it up on any ROM I try. I guess next step would be to restore factory software and go from there?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
Does the lockscreen work with the stock ROM you are using?

It is possible the stock firmware is the problem and you should use another for your model. When I first started I used one stock firmware and had nothing but problems. Changed to another for the same model and everything worked on the first try. It would be best to use the stock firmware from which country or region the phone was made for.

The only other thing is deflective phone, but have no idea what that could be.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] deftron1:
Yes... It worked on the stock ROM. I've put too much time into this right now. (Family is complaining)... I have another phone to use in the time being... So It'll be a few days before I can get back at it. Thank you for all your help though.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Seniorween:
I resolved this issue using a different method, simply didn't flash my twrp_installer or ramdisk install and factory reset via rr recovery then reinstalled twrp after first boot but clearly both methods do the same thing and have the same outcome, thank you for the help anyway though.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
Thanks for the information. I guess when I got the lineage recovery screen. I could have done a factory reset from it and got the same results. What is weird is that for some installs of the rr, the twrp recovery gets replaced by the rr lineage recovery. The only reason I can think of is it depends on the stock firmware you start with?

Anyway I will add this to my post, so people do not have to read a bunch of other posts to get the answer.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] fastness:
Moto_G7_XT1955-5_ ocean RETUS, unlocked and rooted with magisk

how to input a new APN for mobile network. that APN area seems locked and I can't change /input anything.

the same phone/SIM could get the correct APN with stock firmware at visible/verizon network. And it seemed locked too.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] cgrimm9:
I tried to install this rom to m phone was a fan on the pixel. Problem is wheni install it it just loads up the stock rom. Try again and get boot loop i cant win with my metro pcs phone
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Seniorween:
Do not flash TWRP until following these steps : Make sure to swap to slot B after flashing rom on slot A, afterwards boot into recovery and it will load up rr's recovery mode, once on this screen factory reset then boot the phone up normally. Once this works install TWRP as it says (flash+ramdisk) and you should be good to go. Let me know how you get on and I'll be happy to help with any further issues. (Make sure to blank flash before restarting steps)
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] cgrimm9:
Thank you i been spending like 30+ hours trying to get a rom installed had no problems with magisk and twrp but could never get a rom to install tried crdroid rr i was able to get crdroid to get to the start up screen today but would bootloop right on the start setup screen im having one trouble i wanted to install magisk and twrp and once i did that i lost everything.

how do i get magisk to install with out crashing the system or is it twrp install thats doing it i want root so i can use substratrum
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Seniorween:
Once you have RR installed boot into fastboot mode then type 'fastboot boot TWRP.img' on your PC (make sure to cd to the correct directory) then adb push twrp_installer as well as TWRP.img onto your device, flash twrp_installer and then go to advanced -> then ita called something like ramdisk boot method or something, click that then choose TWRP.img , afterwards your device shouldn't have any issues with installing root. To my knowledge it is TWRP that is causing the issues as I had the same one, try this and let me know how you get on (install magisk throiggh TWRP not the manager)
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] cgrimm9:
i got everything working i should of read through all the posts i try to search the posts but i dont think i inputted the right words to get what i was looking for. i dealt with the pixel with 2 partitions never had any issues with installing anything. i once was able to run 2 roms on that phone at the same time. just by booting between a and b partition.

now one last thing i was able to make a backup after everything was installed in twrp. do i have to delete the pin and fingerprints off to install a app through twrp
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Seniorween:
I don't think so no? You should be prompted for a pin when booting into twrp? If not then yes I would remove any pin or fingerprint you have on the device.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Cybertom3000:
THX for that excellent guide :good: It worked for me for 99 %. I had to do "one small step" to get the RR Rom working for 100%.. After installing Magisk and Open Gapps Android had problems with the Google Play Store.

So after >>Back in twrp I installed magisk.zip and open gapps.<< I did "Format Data" in TWRP and rebooted to RR ROM. The Android configuration started without any problems.

Everything works like a charme!
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
Ok, I will add that step to the original post as a possible step that is needed. I think there are a number of small tweaks people may need to do based on the stock firmware they start with or some small variation they may have inadvertently made. It is nice when everything works like a charme! Thanks for the input!
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Cybertom3000:
I posted this tweak because other users reported this issue too. :)
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Cybertom3000:
One TWRP A/B slot question. How does backup/restore work?

I get error 255 while trying to create a backup file with TWRP.

"Mount system partition read-only" is unticked

The Rceovery Log says: Is encrypted, do decrypt page first

I don't understand this. Before and after flashing the RR ROM I did >>fastboot erase userdata<< and / or FORMAT DATA in TWRP

In System Settings > Security I see it's encrypted. :confused:
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Life_goes_on:
This is beyond my pay grade. I can confirm I get the same messages as you do when I try to create a backup file with TWRP in either the A or B Slot. Everything is encrypted automatically these days.

I can also add that when I use the Official TWRP app, I can not backup recovery. I get the message "Unable to locate recovery".
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Cybertom3000:
Thx for your reply. Good to hear I'm not the only one. If anyone has had the 255 error while trying to create a backup file with TWRP?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Cybertom3000:
After some searching I could create a backup file with TWRP. With Tasker I created a profile (Home, Connected to WLAN or similar) and linked it to a task "Disable Keyguard" (I used the Plug In Auto Input for that). Then I booted into Recovery with Keyguard diabled and created a full backup. No password entry necessary, no error 255.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] extab:
Have you checked if you can restore this backup?

I can create and restore backups with TWRP (sometimes, however, restoring is quite painful). First, I use the unofficial version of TWRP from the opening page. This version (usually, if it works correctly) asks for a password to mount the data partition; I always provide the pin number that I use for unlocking the screen. When data partition is correctly mounted, there are no problems with creating backups.

Sometimes (usually after an unsuccessful backup recovery) TWRP does not ask for a password and cannot mount the data partition and cannot restore anything. In such a case I reinstall the whole system (the same system under which the backup was made) from scratch; then, with a clean version of a system, TWRP usually restores the backup without problems. This method has a drawback: a clean installation requires formatting the data partition, so the contents of the internal storage (which is not stored in backup files by TWRP) gets lost.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Cybertom3000:
I have not yet restored a backup, but I can imagine that it is painful :eek:. I keep my fingers crossed and hope I never need the backup. :D

Maybe this will help:

https://xdaforums.com/oneplus-3t/help/twrp-password-please-help-ive-set-t3567525
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] MrCamby:
So I was finally able to install a custom Ron, RR and am enjoying it. I am unable to get twrp installed, but that is fine.

My question for anyone using this firmware is: Has anyone had issues getting Android Auto to function properly ?

On stock, AA would work with Sync3 on my 2016 F150. On this fw, however, AA starts when I connect my phone, but it never displays on my trucks screen.

I've uninstalled and reinstalled AA, cleared cache/data for the app, checked permissions. Is there anything else I should check ?

Are certain versions of gapps required for AA to work ?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] MrCamby:
So I tried everything and then after doing a factory reset and reflash of full opengapps, it bootlooped back to recovery, so back to stock since nothing I did would get AA to work.

This AB stuff is crap and an incredible waste of time.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] cgrimm9:
It bootloops back to recovery do a factory reset through the recovery and it should boot up RR. You just need to make sure its on slot b
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] MrCamby:
I actually did that and it booted back to recovery. Everything was on slot B.

In the end, without AA, it doesn't pay for me to do k around with all this.

I do appreciate all the help everyone offers here. But the stock Moto firmware is pretty good on these devices.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Mktcrasher:
Lifesaver, thanks so much for this, I was spinning in circles until found these instructions.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] casey2392:
New Security patch?

Bump on the

new security patch

!!!

Needs this!

I absolutely love this rom! buttery smooth everything works!
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] cgrimm9:
I wish someone would give this a update or even make this a official rom for the power