yashsingh1/xdaforums huggingface dataset:
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] peret2000:
Thanks for your reply, flug32, I have tried all of these but turning off FBE (in fact, I did not have any multi user app, nor Islands). Maybe disabling FBE is just the right option to make TWRP work, but I have not seen that way of doing it. I a afraid Moto G7 does not allow turn FBE off.

I have also tried removing any security access (neither pattern nor PIN), but it continued to fail.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Phalanx7621:
Part of the reason I don't use any security on my phone. If you ever forget to remove it, can lead to all sorts of problems flashing stuff. Learned that the hard way back when I still had my OG Pixel. Plus it's not like I ever sit it down where someone could go through it anyway. And for my exchange email account for work that's supposed to "require" a passcode or pin, I just use Xposed Bypass Exchange module. ;)
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
Static Sound

I have just installed TWRP permanently on my river after operating with it temporarily for some time. I wanted the ability to backup my system and I understand that TWRP needs to be on the phone for this function. Everything went as expected however I noticed two small issues:

1. There is a gray bar across the top of the screen when boot into TWRP, not a big deal as it goes away.

2. Every time I press a button there is a low "static sound" that comes from the speakers for around 2 seconds. I also noticed it when the text "[BACKUP COMPLETED in 304 SECONDS]" came up on the screen so it isn't just pressing the button that causes the sound.

3. On the bootup screen that warns you "this device is unlocked...", there used to be some sort of device ID at the bottom of the screen, like a GUID or something. Now it says n/a. Is this a problem?

Has anyone else noticed this, is it a known issue, does it cause any problems?

Thanks.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
I would like to take a backup of my system. I have backed up the defaults using TWPR: Boot, Data, System. I would like to restore however I noticed TWRP.me states:

"The usage of dm-verity prevents TWRP from being able to successfully restore a normal system backup."

Alternatively, it mentions taking a backup of the System Image as opposed to a regular system backup and possibly including Vendor and Vendor image as well.

If I try to do a factory reset and restore from my backup now, will it break dm-verity and cause problems? If so what is the best way to recover from this?

If I want to do a backup including system image do I select: Boot, Data, System and System Image or are System and System Image redundant?

Finally, do I need to include Vendor and Vendor Image in the backup as well?

My goal is to have a fresh LineageOS install with all the apps installed and configured then take a backup and be able to restore from this image so backing up the minimum number of Partitions to accomplish this goal without breaking dm-verity would be what I am looking for.

---------- Post added at 11:30 PM ---------- Previous post was at 10:47 PM ----------

When you say it worked, are you referring to taking a backup or restoring? I have a successful backup but am not sure if a restore will work.

What partitions did you backup?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
Your best bet would be to try to backup system. IMG and vendor. Img. I have tried this method and it didn't work for me. Maybe you will have better luck. I'm not concerned with dm-verity so I switched to the boot, system, data method which works fine for me now.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
Thanks for the reply. So you recommend backing up and restoring System Image and Vendor Image? I don't need Vendor or System in the case. Does System Image include System and Vendor Image include vendor or are they separate things?

You don't care about dm-verity meaning you backed up and restored boot, system and data and it worked? Do you get a warning message upon booting about failing verity?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
No because verity and encryption are disabled on my phone. I am not a developer so I can't say with any certainty but I would assume that system. img would include system and some additional information as would the vendor. img.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] DrWu:
Two questions.

1. As a non-developer/bottom feeding user planning to install TWRP along with LineageOS, is there any reason I wouldn't want to install TWRP permanently?

2. Is it preferable to flash TWRP before LineageOS or should I change ROMs first? Or does it matter?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
1. I can't think of any reason not to.

2. After. I installed it before Lineage the first time and when I rebooted for some reason it booted into twrp.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] skuppej:
Hi. Getting a new G7. Does this still work for those that have updated to the latest patch level/bootloader?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] step_21:
On my Moto G7 (river), the permanent install of TWRP was automatically overwritten by the LineageOS recovery.

So to answer to the question :

Does it make sense to permanently install TWRP ?

It in fact depends on the ROM you will install after that.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] skuppej:
I flashed LineageOS and then I booted it, confired it was LOS recovery, and then I booted into TWRP and installed the ramdisk according to the OP.

No problems whatsoever.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] DrWu:
After a ham-fisted 40 days and 40 nights of chasing my tail, first with LineageOS wiping out TWRP and then TWRP screwing up the LOS installation, I've finally got both working. Now I'm holding my breath until I can get a Nandroid backup done. The problem is there are so many partitions to select for backing up that I'm in analysis paralysis. Is there a guide or Wiki somewhere that tells what's in each partition, and/or which I would or would not want to back up any one?

My instinct is to just go with the three partitions selected by default, but what am I missing if I don't also select "System Image," which in my case is 2.8GB? And the same for "Vendor" and "Vendor Image," each of which is hundreds of megabytes.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] maybeme2:
Exactly what I've wondered for years. Looking forward to the answers.

Also, which 'three partitions selected by default' do you mean? The default selection has been changed long ago on my system.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] DrWu:
I my case those three are 'Boot', 'Data(excl.storage)' and 'System'.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] maybeme2:
Thank you.

For what it's worth these are the partition definitions I have:

/boot

—kernel

—ramdisk

/system

—operating system

—Android user interface

—system applications pre-installed

/recovery

—boots device into a recovery console

/data

—userdata

/cache

—frequently accessed data

/misc

—system settings

In addition, there are the SD card partitions.

/sdcard

storage space on the SD card

/sd-ext

if present
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] step_21:
To answer to the question "Which partition should I backup ?" :

- There is a lot of partitions and the list can change from one model to the other.

- You should first do a full backup of your brand new phone (stock ROM), to do so, you will need to boot TWRP temporarily, otherwise the /boot or /bootloader partitions content is modified. That's a one time backup.

- Then you can plan regularly a backup of /data /sdcard /sd-ext , in replacement of the Google backup services.

- /boot /system /data have to be backed up only if you plan to break your install and want a quick way to restore everything.

- /recovery doesn't exists on AB devices.

As far as I know, the LineageOS install only affects /boot /system /data /cache (/bootloader ?), other partitions like /radio or /vendor (hardware drivers) are never updated by LineageOS, only by the Motorola OTA stock updates.

That's the reason why it is important to keep a full backup of the stock ROM (/boot partition untouched), it could be that in the future the MotoG7 android 10 update arrives and the corresponding LineageOS v17.0 will maybe require you to update your other partitions with that Motorola v10 OTA update.

In the past, my Moto G4 plus was not accepting Motorola OTAs updates because I had reformatted to stock with a backup which was containing TWRP, the /recovery partition was affected and the OTAs could not be installed.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
These are the three I back up. I haven't had any trouble restoring using just these three. I tried backing up system and vendor images but I couldn't get them to restore properly for some reason.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] DrWu:
I had a problem temporarily flashing TWRP that appears to have been caused by a change under the "Default USB configuration".

This happened immediately after updating to PPOS29.114-134-7. The ROM that was installed from the factory was PPOS29.114-16-5-2.

When I ran ...

fastboot boot twrp-3.3.1-2-river.img

... I kept getting ...

downloading 'boot.img'...
OKAY [ 1.177s]
booting...
FAILED (remote failure)
finished. total time: 1.905s

I booted back into Android and was looking through the System settings for anything I might have mis-set to cause this and when I looked under "Developer Options" and "Default USB configuration" I noticed there was a setting at the bottom of the list, "No data transfer", that I don't recall having seen before. On top of which it was the selected setting, and since I don't recall having seen it before I'm thinking that "No data transfer" must be the new default selection.

I ticked the radio button next to "File Transfer", booted back to bootloader, ran the "fastboot boot" again and it ran successfully.

I can't be certain but I don't think the setting "No data transfer" was listed in PPOS29.114-16-5-2 and I also think that it being selected (by default?) was preventing me flashing TWRP.

EDIT:

And the setting "Charging" that used to be the default under USB configuration is no longer available.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] ddjr:
"In future, don't use OP instructions as outdated. 1) Enable usb debugging in rom, install adb/fastboot/moto drivers, and move twrpxxxxx.zip and copypartitionsAB.zip files to ext sd card using Windows file explorer, 2) adb reboot bootloader, 3) fastboot boot TWRP.img (renamed twrpxxxxxxx.img file to TWRP.img, to temp boot TWRP), 4) In temp TWRP, install TWRPxxxxx.zip as it has to install to both A and B slots, 5) install copypartitionsAB.zip to copy bootloader files to both slots), 6) reboot. "

Ok, so do we install twrp zip to both partitions? If so, how? Or does the copypartitions zip do it? I'm not aware of a way to select different slots in twrp
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] skuppej:
The instructions are good. Flash and temp boot into TWRP and then flash install TWRP permanently (according to this threads OP). And then I rebooted back into permanent TWRP and then I flashed copyPartitionsAB.zip from there.

Then I rebooted and flashed Lineage...booted into lineage rom fully. Then, finally, rebooted back into TWRP and flashed magisk.zip!
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] ddjr:
So to clarify, you do not have to manually flash to both partitions? (The a/bpartition.zip does it for you?)
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] skuppej:
You don't need to
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] ddjr:
Thank you
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] ddjr:
Alright!!! Thanks everyone, I am now unlocked (easy part) and rooted! Am able to reboot with no bootloops, made a backup(stored to internal), and have viper4android up and running... Still stock. Thanks!!!
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] DrWu:
XT-1962-1 running Android 9, Official TWRP App v1.13. My TWRP recovery has disappeared (again) and when I try to re-flash it from the TWRP App I get the message, "Unable to locate recovery partition."

If you have superuser messages turned on in Magisk the message is almost unnoticeable because it appears on top of the "Download TWRP" button but beneath the "Official TWRP App was granted superuser privileges" toast notification.

Anyway, how can I correct this so I can flash TWRP recovery from the app?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] ddjr:
Somehow my phone has become unrecognizable to the Lenovo assistant, and I can no longer rescue it. Lenovo assistant can't match file or something like that. I can no longer copy ROMs or gapps or anything to the phone, whether it is in bootloader or recovery. Any ideas? Also, when I try to add anything to it via adb or click and drag, it can't complete the task and leaves a weird file that is all letters.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] dsv147:
del
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Beanzy420:
super confused kindaq of what to do

So 3.3.1 of twrp has a bug so 3.3.2 is safe? and I temporarily boot get a back up which Ive tried and it fails, and next step I havent tried, but its adb flashing or whatever of twrp permanently and then flash the AB file? and why everytime I try to get a back up in temporary twrp it fails? Im scared to try any of the original steps because the comments in this thread with bricking... somebody shoot me straight with all this. Ive read some comments that are really making me not wanna do this. last moto g phones Ive had never had an issue. except for a couple moto g6. the easy ones were moto g4 and g5 and the x series. maybe Im just being difficult and chicken sh*t... Also whats this about the telegram group? Id love to have root access. this my first android in 2 three years. I been a fan of rooting since 2012
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] HueyT:
1) https://dl.twrp.me/river/ and download both TWRP 3.3.1.2 IMG and put that in your ADB folder and TWRP 3.3.1.2.zip and CopyPartitionsAB.zip on your phone's external SD card

2) At command prompt inside your ADB folder, type "fastboot boot twrp***.img" which will boot into twrp temporarily

3) Inside TWRP on phone, "install" the file copypartitionsAB.zip and then TWRP 3.3.1.2.zip for permanent install of your TWRP .

4) Reboot system and benefit, or reboot recovery to flash Magisk 20.4 to root (or custom rom like LOS17.1.zip for custom rom accompanied by another TWRP 3.3.1.2.zip flash)
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Beanzy420:
I tried the following I got custom recovery but it wont boot to factory rom, I tried factory restting with fastboot, but it just reboots to twrp, I couldnt get a backup. If I can get a custom rom installed thatd be sweet. Im nervous I messed something up. it also detects my phone but only shows sd card not moto g7. I get error failed to mount data smh idk what I did wrong. this is crazy. guess I was paranoid. I went ahead and flashed proper steps to get havoc and phone works now :) Im just glad it was able to detect my internal storage again like yikes. steps to rooting a phone nowadays is really interesting. someoen mentioned a static sound, thats weird. I heard it for a slight second lololol sounded like a spirit box I thought a ghost was gonna say something lmao.ok so I screwed up again I tried installing gapps and that failed and both slots are messed up now. the twrp version keeps changing too. oh it says no operating system I musta did wrong wipe. facepalm. any one got steps to go back to factory OS? I got the right stock firmware downloaded I just think I should go back and start over. so Iw as able to go to cumstom rom but now Im back where I was last night after factory resetting and looping to recovery. keeps saying no os and the steps I took to fix are not working. now Im back again to custom rom. Im just not gonna touch factory reset I guess. worst headache experience ever. like why is it difficult? lol I must look like a weirdo in this thread. only real issue on the rom is that it wont sync google account info like phone numbers and photos which is why I wanna factory reset the rom
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] vkrin:
After update to Android 10 can no longer see file names in /sdcard, replaced with random letter strings. Have tried flashing updated recoveries for river including 3.3.1 to 3.4.0 but no luck.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] foxbeard:
Same here - TWRP is not prompting me for the decryption password
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] HueyT:
TWRP can't decrypt data on stock Android 10 due to new Android 10 BLOBS.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] vkrin:
Is it still possible to backup and restore with TWRP in current state? Is this something that could have a potential fix somewhere down the line?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Zaxx32:
Deleted
[Android Head-Units] ehosca:
Apologies for the noob question but can you please tell me what MCU do i have from the attached screenshots?

[IMG="Screenshot"]https://i.imgur.com/C63sIH0.jpg[/IMG]

[IMG="Screenshot2"]https://i.imgur.com/wmJ0icA.jpg[/IMG]
[Android Head-Units] LaserBull:
i Have the Same Radio, and i have this Problem too
[Android Head-Units] ehosca:
the seller is XTRONS model PT8846B - octa core PX5 (RK3368) comes with Oreo 8.
[Android Head-Units] polgoz:
Same here, any update is appreciated!
[Huawei P30 Pro Guides, News, & Discussion] shaunydub:
Twice today i had the memory card removed error message but it was not removed.

A reboot fixes it but wondering what the issue is to cause it twice today when my phone was not in use .

Any other reports of this?View attachment 4742640
[Huawei P30 Pro Guides, News, & Discussion] compunerd3:
I've had this issue with multiple devices that turned out to be a faulty SD Card. It worked fine for me then after couple of months this happened and eventually died.
[Huawei P30 Pro Guides, News, & Discussion] shaunydub:
Could be why I also have trouble with my pc recognising the nano memory card.

I'll raise an issue on Amazon to return it.

Thanks.
[Xiaomi Mi A2 Lite Questions & Answers] silverag:
Hello guys. I have the 64GB/4GB variant of this phone and I think there is an issue regarding the LTE Speed. GSMArena says that the phone supports LTE-A (2CA) Cat6 300/50 Mbps. My operator is Cosmote Greece which provides LTE-A (4G+) speeds but my phone seems to be getting only the "simple" 4G speeds, meaning up to 100/50 Mbps. I have verified it through the engineering mode of the phone (*#*#4636#*#*) where the results are in the screenshot below. Has anyone with our phone achived higher speeds than 100 Mbps? (In multiple speedtests, I never got over 50 Mbps while other phones get 120+ Mbps). Thanks!
[Xiaomi Mi A2 Lite Questions & Answers] boe323:
Mine was rapid on oreo, i suspect speeds have been limited in pie, thats all i can think of why bandwidth not as fast.
[Xiaomi Redmi Note 5A Questions & Answers] Kubas_inko_CZ:
Seriously. This phone is advertised as 16GB, yet only 8,6+- are available (in android). And after wiping everything with TWRP, it still shows that it is only 10,9GB+- (in TWRP).

So, where is the rest?
[Xiaomi Redmi Note 5A Questions & Answers] ganimomu:
I have the 32gb version of Note 5A Prime, but I can use just 23GB. Android itselfs uses in this phone 6,81GB which leads to an usable space of +-25GB, while MIUI, its bloatware and ads consume almost 2GB, leaving for me 23GB.

And thats for my 32GB version, in some phones Android uses more or less space, but it's a similar formula.
[Touch Cruise General] gadget1:
Hi all,

my orbit 2 has a 8gb card in and shows its got roughly 4gb used and 4gb free which is correct.

In the camera mode on best pic and set on memory card storage it only shows 11 images left.If i change to internal shows 79.

Is this a known problem and can it be sorted out . Have searced on the forum .

thx for reading

chris
[Google Pixel 2 XL Guides, News, & Discussion] Prattham:
So since there are a lot of mods available to improve battery life and memory management as well i thought it would be a good idea to have a place to talk about what fellow users are using on their daily driver to improve the most important things on pixel lol

Magisk modules scripts kernels build prop edits and you get the idea

So lets begin :D
[Google Pixel 2 XL Guides, News, & Discussion] jayxiao171735:
for me, any custom ROM's battery life is better than stock ROM, the usual SOT is 7.5-8 hrs on average. If yours is much worse, the battery seems to be replaced.

As for the management issue, you can flash the custom kernel and expand the volume of ZRAM which is a conception of virtual.
[Google Pixel 2 XL Guides, News, & Discussion] Sentheb3ast:
What custom kernel do you use?
[Google Pixel 2 XL Guides, News, & Discussion] Logan0829:
im lucky if i get 4hrs SOT... jeez
[Google Pixel 2 XL Guides, News, & Discussion] jayxiao171735:
That's easy to get...pixel3 can even get 5hrs SOT..LOL
[Google Pixel 2 XL Guides, News, & Discussion] Logan0829:
What am I doing wrong? No matter what room/kernel combo I use, it never lasts. Battery just ALWAYS drains. Used accubattery and I still have like 97% health.
[Google Pixel 2 XL Guides, News, & Discussion] cobrajet7:
Same question
[Google Pixel 2 XL Guides, News, & Discussion] jayxiao171735:
Sart with W...I can't remember the exact name, you can easily find it in the ROM/Kernel community

---------- Post added at 10:45 AM ---------- Previous post was at 10:42 AM ----------

Could you please post your screenshot of battery usage? Ideally, you can flash the Google factory image using the adb method to clean all files and aches in the internal storage.
[Google Pixel 2 XL Guides, News, & Discussion] Sentheb3ast:
About the kernel, you can check it in the about device section. Also is it the kirasakura-wahoo kernel?
[Google Pixel 2 XL Guides, News, & Discussion] jayxiao171735:
yep
[Google Pixel 2 XL Guides, News, & Discussion] Sentheb3ast:
What is the best kernel for stock?
[Google Pixel 2 XL Guides, News, & Discussion] Prattham:
Sultan kernel
[Google Pixel 2 XL Guides, News, & Discussion] mookiexl:
kirasakura-wahoo with zram increased to 1028mb drastically increases ram management for gaming.
[Moto Z2 Play  Questions & Answers] jfeldredge:
I have the Verizon version of the Moto Z2 Play, which no one has figured out how to root. About every four months or so, the internal memory gets so low that I have to perform a factory reset, then reinstall all of my apps. Google Backup does not back up everything, so I have to spend five hours or so getting everything reconfigured. I assume that this steady dwindling of storage is due to accumulated log files. Does anyone know a quicker way to clear these logs on an unrooted phone? The cleanup utilities I have tried, such as AVG Cleanup, don't resolve this issue.