yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 Questions & Answers] Conchors:
I've rooted my Pixel 3 and have been avoiding updating for a bit. The update files are still downloading but not installed, such that my system files are over 70GB. How can I delete them, I have a root browser, I just can't find any info on where they're located
[Google Pixel 3 Questions & Answers] dcarvil:
I'm just guessing, but I would expect them to be in /data/ota or /data/ota_package. Both those folders are empty on my phone, so I can't confirm that is where they go.
[Google Pixel 3 Questions & Answers] Conchors:
It might have been, but if it was, that's not the problem. I attached a screenshot (apologizing for my font). It appears to be largely assets from apps that dont show up as part of the apps themselves when you look at them in the list, and they dont show up as "app data", which means, sadly, there's little I can do
[Samsung Galaxy Watch] Kver98:
I have a few watches at the moment that charge on unofficial docks, like a random qi charger I ordered of the web, but don`t charge on official docks. When placed on an official dock they just blink red.

Anyone know why?
[Samsung Galaxy S9  Questions & Answers] cion_3d:
Hi, I'm kind of not sure which android 10 firmware to install on my S9. Bought a fairly used Galaxy S9 SM-G960U with the phone info below

Baseband: G960USQS5CSEB

AP: G960USQS5CSEB

CP: G960USQS5CSEB

Service provider software version: ATT/XAA/ATT

Now the csc code I found is the confusing part, it has

CSC: G960FXSG5CSEB

I already downloaded the unlocked carrier for G960U1, Hoping to flash it back to default.

Can anyone tell me what to do, cos I can't get updates and I want to upgrade the firmware to android 10. Thanks.
[Android Q&A, Help & Troubleshooting] MCxd1:
Hello all! I've got myself a dandy Galaxy 9 plus from America that cannot be rooted (sm-g965U), I'm told it is impossible to root this phone. I am also told something referred to as a bootstrap cannot be loaded except the 'stock' one that loaded the last cycle. So, my question to the experts is what, short of a new phone (currently researching older models), is needed to achieve either/or 1. Custom ROM? 2. Rollback Android? I would like certain features unavailable in 9 and 10 to be restored. And, I am told this is not possible as long as 9/10 are running the show.

Lastly, my apologies, I wanted to get some expert advice from this site. I suspect that much like in the name Boy Scouts, you know you should probably be a boy, I suspect I should also be a developer to be here. I'm not. (in case you were on the fence (wondering)). Cheers! Weeee!

(if you are reading this, you deserve a Trivia Puzzler!!)

Here it is:

'Since we're neighbors, let's be friends!' was what retail chain's jingle?

Hint: IT IS A WAY TO GET TO GET TO THE NEXT BASE
[Moto G7 Power Questions & Answers] Hyoretsu:
It's been 7 days since I came back to stock already and OEM unlocking is still greyed out. Is there any way to force it true so I can relock bootloader? That happened when I first tried to unlock bootloader, but I could allow it in like 4 days

If you wanna know reasons I tried installing Custom ROMs, and on the one successful installation (AOSP Extended) it's bugged so I returned to stock and kept on trying to install CrDroid, but one day it just stopped recognizing SIMs. (After some time on stock being able to)

・It can't be a number block, since it still works on another Custom ROM+Magisk Phone

・And I'm not sure if an IMEI block would mess with a SIM from another carrier that's never touched a rooted phone. (I tested both SIMs on both slots)

・That same SIM (my original one) stopped working on an unrooted G7 Play too

・Also I can't check any of my 2 IMEIs on settings, though I could retrieve IMEI1 through "fastboot getvar all"
[Moto G7 Power Questions & Answers] sd_shadow:
What does getvar all say are the codename and software channel?
[Moto G7 Power Questions & Answers] Hyoretsu:
I didn't find those specifically, but it's ocean XT1955-1 and RETBR (product/board and sku, and ro.carrier) Tried reflashing NHLOS.bin, erasing modem and flashing FSG today, didn't work and I never ran "fastboot erase all" too (by not working I mean the phone doesn't recognize a SIM is in the tray, I don't even have the emergency calls only message)

Re-flashed stock around 4 times a week ago or so, the only thing I didn't do was relock bootloader since I'm unable to

Here's the full output of getvar all if needed. (that's not the actual IMEI that's output'd) Also between those tries I sometimes could get device ID to show up instead of bad key, no idea why though

Brazil also has a site from ANATEL, the organization that manages product quality, authenticity, restrictions, user things and such, (All devices need to pass through a check from them) that allows us to see if IMEI has any restrictions (It shows if the IMEI is blocked, at least "Informed IMEI is banned by loss or theft" on a video I saw), mine has "Until now, the IMEI has no restrictions on use"
[Moto G7 Power Questions & Answers] sd_shadow:
Did you check the flashfile.xml

For the official flash commands?
[Moto G7 Power Questions & Answers] Hyoretsu:
https://pastebin.com/X5TD77YS As far as I remember (just downloaded firmware file on phone) they're the same from the eraseandupdate.bat I was using

EDIT: Yeah, aside from it erasing modemst1 and modemst2 after flashing everything as opposed to after flashing FSG and reflashing FSG after that it's the same commands
[Moto G7 Power Questions & Answers] WoKoschekk:
OEM unlock toggle is greyed out as long as your bootloader is unlocked, Magisk is not installed and you run the stock rom. That's quite normal. You must relock the bootloader to activate it. On my Moto g6 plus you find an info text there that this option is deactivated because the bootloader is already unlocked.
[Moto G7 Power Questions & Answers] Hyoretsu:
Though all my attempts at installing only Magisk lead to a bootloop and Custom ROMs either didn't work or I spent multiple days trying to install, only being successful once. I tried relocking the bootloader, but it says I gotta check that option to do it (mine says it's already unlocked too)
[Moto G7 Power Questions & Answers] sd_shadow:
Usually that error is caused from using the wrong relocking commands

Are you using

fastboot oem lock begin
fastboot oem lock begin
fastboot oem lock
fastboot oem lock
fastboot oem lock
fastboot flash boot boot.img
fastboot oem lock
[Moto G7 Power Questions & Answers] sd_shadow:
And mine is greyed out too
[Moto G7 Power Questions & Answers] WoKoschekk:
Did you try to install Magisk via TWRP? Maybe older versions will work like v19.3... On my Moto g6 v20.3 leads to a bootloop, too. But v19.3 runs without any problems. Maybe it's worth a try. ;)

I red that it's necessary to run the oem lock command a few times to make it work.
[Moto G7 Power Questions & Answers] Hyoretsu:
I actually thought this was it, but no, I was using this thread, which has the same commands, and still got the error (2x, then 3x, reflash boot.img and oem lock)

Installing Magisk on TWRP bootable, since installing TWRP would bootloop too. Didn't try older versions though, but I might try re-writing my IMEI first, who knows if that'll work. Being able to successfully relock bootloader without a working SIM wouldn't do much good, since I'd have to format the phone to try anything afterwards.
[Moto G7 Power Questions & Answers] WoKoschekk:
Did you try to install TWRP with the .zip provided by twrp.me? This .zip flashes the ramdisk inside the boot.img as Magisk does. So first you must install TWRP and after that you must install Magisk. Ignoring this order causes a bootloop because the twrp.zip overwrites Magisk! The twrp.zip flashes a complete new ramdisk while Magisk patches only some parts of it.

I loose my IMEI on my Moto g6 plus, too. You won't be able to overwrite it because it is linked with your device and encrypted by Motorola. The location of these files is /persist/rfs.

If your IMEI is broken or corrupt you won't be able to restore it. Except you have a backup of your persist partition.

---------- Post added at 09:31 PM ---------- Previous post was at 09:25 PM ----------

Try to relock your bootloader with the command provided in the screenshot (source: https://source.android.com/setup/build/running)

Screenshot

https://ibb.co/f2LzMzS
[Moto G7 Power Questions & Answers] Hyoretsu:
I get a bootloop when I install TWRP alone and when I install Magisk from bootable TWRP, been using the official one from twrp.me this whole time since the screen is bugged on unofficial one. I only ever installed both (in that order) when I was still trying to install Custom ROMs, but I kept getting bootloops for other reasons.
[Moto G7 Power Questions & Answers] MrCamby:
Do t even use twrp. Just install Magisk Manager and then patch a copy of the boot image from the firmware you installed.

So install Magisk Manager

Copy the boot image from the firmware that you installed to your phone.

Run Magisk Manager, click update Magisk and Select patch boot.img

Navigate to the folder on you phone that you copied the boot image to

Wait until Magisk Manager patches it

Copy Patched_boot.img to your adb folder on your PC

From your PC command prompt:

adb reboot bootloader

Then

fastboot devices

If your phone serial # shows, then:

fastboot flash boot patched_boot.img

fastboot reboot

You should now have root and the unlock bootloader option in developer settings will not be greyed out.

There is another thread with these same instructions. That is what allowed me to relock my bootloader.
[Moto G7 Power Questions & Answers] MrCamby:
Also,

Now that you are able to relock your bootloader, you could hold off until 10 is out.

If you don't like the unlocked bootloader message on startup, flash the attached logo.img fileView attachment 4960219View attachment 4960221
[Moto G7 Power Questions & Answers] Hyoretsu:
Ty, this was the only way in which I could get root in stock. Although the Allow OEM Unlock is still greyed out it now has the same message as before I unlocked the bootloader for the first time, though if it acts the same way it'll be available in a few days. IMEIs and SIMs still aren't working though, but eh. At least I can try testing the locking bootloader theory to get them working again (IMEI not working = can't even see any of them in settings)

Also Motorola still allows unlocked users to receive OTA for some reason, my device updated and it's still working
[Moto G7 Power Questions & Answers] MrCamby:
To repair your IMEI on a G7 power, this is what worked for me:

Remove your sim card.

Pull NON-HLOS.bin and fsg.mbn from the firmware that was flashed on the phone.

Startup in bootloader mode:

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

Reboot phone. Once it is back up, powerdown, put sim card back in and start back up.
[Moto G7 Power Questions & Answers] Hyoretsu:
No luck unfortunately, still don't have IMEI/SIM. Once I can I'll try relocking bootloader and maybe sending it to warranty, since apparently using a tool to re-write IMEI won't work on this phone. (Followed to the T, unless unlocking it after flashing and waiting for microSD messes it up)
[Moto G7 Power Questions & Answers] MrCamby:
Did you try the LMSA software to try and fix it. There are two options: update and repair.
[Moto G7 Power Questions & Answers] Hyoretsu:
I tried using it back when I was trying to go back to stock "the right way" (to try and solve the lost IMEI, go back stock and re-lock bootloader) but it couldn't even recognize my phone so that I could download anything
[Moto G7 Power Questions & Answers] MrCamby:
At one point it did not recognize mine. I flashed an older firmware via adb. Booted it, setup with no account and no sdcard or sim card. Once setup, master reset via the phone. Then connected to lmsa and did a repair.

After it was done, put sim in and then reboot and set up.
[Moto G7 Power Questions & Answers] sd_shadow:
You selected flash/rescue ?
[Moto G7 Power Questions & Answers] Hyoretsu:
Opened Lenovo Smart Assistant, went to Flash, then Rescue, selected Moto G Power (7th Gen), XT1955-1, then after enabling USB debugging rebooted to fastboot and got "Failed to match the connected device. Reconnect device, then try again" 3 times. I'm sure that's my variant, it's the one I bought and it even says so in fastboot
[Moto G7 Power Questions & Answers] Hyoretsu:
Almost 2 months later and the Allow OEM Unlocking option's still greyed out. The issue might be because I have

Baseband: <not found>

in bootloader. I get my IMEI when I try fastboot getvar imei. Already tried

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

And I came from a series of re-flashing stock/Custom ROM before all this, so erasing everything and installing stock didn't solve it.
[Moto G7 Power Questions & Answers] WoKoschekk:
Baseband will only be shown after a complete boot into system. There is nothing wrong with it and it's not related to your IMEI.

IMEI is always be shown to you by executing getvar all, even if you loose your IMEI.
[Moto G7 Power Questions & Answers] Hyoretsu:
Well, if that's the case nothing should be wrong then. I did a complete boot into system 2 months ago, and I've got dhob.bin and shob.bin on /mnt/vendor/persist/rfs/msm/mpss and I just checked that I've got everything in this thread https://xdaforums.com/moto-g4-plus/how-to/guide-moto-g4-plus-imei0-issue-t3859068
[Moto G7 Power Questions & Answers] WoKoschekk:
But you flashed NON-HLOS.bin and fsg.mbn again. This could be an explanation for the missing baseband.
[Moto G7 Power Questions & Answers] Hyoretsu:
That is the fix for missing baseband, as posted on 2 threads about errors like this by sd_shadow https://xdaforums.com/showpost.php?p=79881433&postcount=18. And, again, after a full system boot it's still "baseband: <not found>"

EDIT: here's what it's like for reference, I got my SIM inside the tray, after re-flashing NON-HLOS.bin and fsg.mbn, after a complete boot and coming from a complete stock installation (also erasing partitions before), with Magisk installed.
[Moto G7 Power Questions & Answers] WoKoschekk:
From my own experience I know that this shouldn't worry you. I lost my IMEI on my Moto G6 plus. SIM is completly dead but Wifi works and my baseband is shown up in bootloader screen. Sometimes you need to boot a few times for that.
[Moto G7 Power Questions & Answers] Hyoretsu:
Bro, how many times do you think I booted in the last 3 months? This thread's from February 15th, I started having this problem even before that.

My phone with SIM inside the tray, after re-flashing NON-HLOS.bin and fsg.mbn, after a complete boot and coming from a complete stock installation (also erasing partitions before), with Magisk installed and rfs/hlos_rfs with their correct owners:
[Moto G7 Power Questions & Answers] sd_shadow:
Flashing

fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn

Is just an easy thing to try, it doesn't always work.

Have you tried LMSA'S Flash Rescue option

https://xdaforums.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714
[Moto G7 Power Questions & Answers] Hyoretsu:
I already tried using it back when I was trying to go to stock in the 100% recommended way. I get "Failed to match the connected device. Reconnect device, then try again" every time, be it with the phone booted or in fastboot, with USB Debugging turned on and my correct device variant selected (XT1955-1, I know for a fact it's the correct one because it's the one I bought, the one fastboot shows and it's written on warranty page).

If I click on "Read current device" I get a message saying "Doesn't match the appropriate firmware. You can try to select a firmware by yourself manually. If then still no matching one, this device isn't supported".
[Moto G7 Power Questions & Answers] sd_shadow:
Is the bootloader unlocked?

Have you tried other software channels?

There are several XT-1955-1 channels

I would get a new sim card, if you haven't already.
[Moto G7 Power Questions & Answers] Hyoretsu:
Bootloader unlocked, I waited 2 months for OEM unlocking option to not be grayed out so I could lock it, but

I accidentally flashed RETUS one time, and I believe I tried another one before flashing the correct one for my device (RETBR)

I tested another SIM on my device back on the day, it didn't work. (That one came from a series of devices that had never been unlocked, it's first put in an Android phone a few months ago) My SIM also stopped working (it used to work before) on another device (never unlocked), and my SIM still works on a Custom ROM Moto G5+Magisk I have.
[Moto G7 Power Questions & Answers] sd_shadow:
So, OEM unlocking doesn't look like this?

https://xdaforums.com/attachment.php?attachmentid=4953091&d=1582003534
[Moto G7 Power Questions & Answers] Hyoretsu:
It used to look like that before I flashed Magisk, but now "OEM unlocking" has "Connect to the internet or contact your carrier" for the past 2 months
[Moto G7 Power Questions & Answers] sd_shadow:
Have you tried

fastboot erase all

Then reflash firmware with mfastboot?
[Moto G7 Power Questions & Answers] Hyoretsu:
[MENTION=4267571]sd_shadow[/MENTION] Okay, I don't know why, but THANKS GOD, after being nagged every 30min because of failed update, I went and flashed it through fastboot without erasing user data, following official commands. (from a thread with commands to format G7 Power in here actually, but they were the same as the .xml files) When I booted it, my IMEI and IMEI2 were in settings and now my SIM works again. My 3 month battle has finally ended! (I can click on OEM unlocking once again, though I won't go back to non-root. Should I just leave it off? Now I'm scared because of that "Device protection features will not work on this device while this setting is turned on" lol)
[Moto G7 Power Questions & Answers] d_g_m_2000:
excuse me sir, but i had a noob question, and hope you can help me...

after patching the boot.img (rooting) and enable the "allow unlocking toogle" do i reboot to bootloader and run the oem lock command? to finally lock the bootloader?

thanks in advance for your comments.
[Moto G7 Power Questions & Answers] sd_shadow:
You need the unlock code from moto

Unlocking the Bootloader | Motorola Support US

Visit the customer support page to view user guides, FAQs, bluetooth pairing, software downloads, drivers, tutorials and to get repair and contact us information.

motorola-global-portal.custhelp.com
[Moto G7 Power Questions & Answers] d_g_m_2000:
thank you. but how can i use it? i want to relock my bootloader :) thanks in advance for your help.
[Moto G7 Power Questions & Answers] sd_shadow:
Sorry mis read.

You really need to reflash full firmware.

I would use LMSA's flash rescue

Then try relock commands

https://xdaforums.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
[Moto G7 Power Questions & Answers] vdun1188:
After reading all the threads on this and other forums on the subject, i havent been able to re-lock the bootloader.

i have fresh stock install, from Lenovo, phone works fine otherwise. but putting in the commands to lock, flashing boot.img afterwards, multiple commands before and after flashing, running all the flash commands, i always get a message about enabling OEM unlocking.

currently, OEM unlocking is in the off (left) toggle possition, it is grayed out, and it says that the bootloader is already unlocked. i believe this has kept the commands from locking the bootloader.

so then i went to try to root it so i coukd toggle it on, but every patched boot image has not worked, using the latest magisk (22) as well as previous versions i found. i have about 3 different patched boot.img files but none that actually root (unless im not doing it right). the files i have are about 17mb +/-, while the original is about 30mb. i did find comments about a properly patched file that some worked for some was closer to the original file size.(30mb), but i havent found any that match to try and instea was trying to find the right magisk software to create one myself for my phone.

It seems the phone will need to be rooted to enable oem locking, and relocking/flashing boot.img/relocking command will remove root and lock bootloader.

Any suggestions? or ~30mb patched boot img file to try?

phone is XT1952-4 unlocked, us retail (retus)

Thanks!
[Moto G7 Power Questions & Answers] vdun1188:
I was finally able to root, have stock os, should have twrp recovery but dont seem to have any, but thats likely due to me trying to root and all.

my issue is that the oem unlocking is still grayed out, and running all the locking commands mentioned here and elsewhere still tells me to go unlock the option in developer options (grayed out in off/left position with the note that bootloader is already unlocked).

rootchecker and magisk confirm device is rooted. any idea how to enable (un-gray-out) the oem (un)lock toogle switch?

edit: as far as how i was able to root in the end, i flashed twrp to both slots (img file), then from phone selected recovery and got twrp to start, then installed from twrp recovery the patched magisk img, but not sure if could duplicate since ive been at this for hours each day for a while, so it all runs together.
[Moto G7 Power Questions & Answers] WoKoschekk:
Magisk Hide must be enabled. Only this option hides the unlocked bootloader which results in an active toggle for the OEM Unlock option.
[Moto G7 Power Questions & Answers] vdun1188:
WOAH!!!! thank you!!- i made progress. now its telling me about connecting to internet or carrier. i know i saw that in one of these threads. going to track that down.
[Moto G7 Power Questions & Answers] vdun1188:
after trying some things ended back in a bootloop and got to some message about boot being corrupted and offering restore/reset, so i did that. so starting again from full stock.

i think part of my problem was trying to keep stock recovery and just bootng to twrp, i think that may have led to the patched image from magisk not working as it should. i was afraid the custom recovery would get locked after locking bootloader, but i guess thats why you flash the stock boot.img in the middle of the lock commands. we'll see.
[Moto G7 Power Questions & Answers] vdun1188:
after hours of trying things, i managed to get twrp to stick on recovery and installed magisk 21.something from recovery, booted and had root access. however, oem toggle was still grayed out. for kicks, i was going to connect to internet since (after enabling magiskhide) it said to connect to internet or contact carrier (underneath oem unlock). dont have a carrier for this, so tried to connect to wifi but i couldnt turn wifi on. everytime after clicking the wifi on toggle it would immediately turn off.

so, i could figure out how to enable the oem lock toggle switch even WITH ROOT (magisk, verified by root checker). if anyone has tips on that step please chime in, perhaps commands to ungray it or something?
[Moto G7 Power Questions & Answers] vdun1188:
ive tried this multiple times, both exactly as written and with modifications but it doesnt seem the patched file does what its supposed to do. my g7 play has android 10 and ive tried magisk 22, 21.x, and some earlier ones also. was this on an android 9?
[Redmi K30 5G  Questions & Answers] zhufucdev:
Generic System Image, as we know, is the production of Project Treble. Since the phone has twrp now, how can I install it? Or has anyone tried so?
[Redmi K30 5G  Questions & Answers] dugu1248:
no, if you try ,you will meet bootloop problem. because of android 10 seciurity!
[Redmi K30 5G  Questions & Answers] EMJI79:
Does GSI ROMs work now?