yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S21 Questions] monterint2134:
So yesterday I accidentally mistook my new phone for a S21 5G FE, while it is in fact a regular S21 5G. I flashed OrangeFox recovery for the S21 5G FE, and now my new phone has turned into a brick. It still works to a degree, and I hope someone can help me reflash stock firmware. When I start it up, no matter what buttons I seem to hold after starting it with all three buttons, it shows the unlocked warning and the samsung logo, and then the screen goes black again. I have ADB access to the phone. I downloaded the stock firmware, but I can't get my phone to popup in ODIN no matter what I try. 'adb devices' shows the phone to be in recovery. Any way I can fix this?
[Samsung Galaxy S21 Questions] drnightshadow:
For odin you need to enter in dowload mode

Adb reboot download
[Android Head-Units] dzhumackic:
Hi guys. I have Android Head Unit Model 8227L. I have big problem with bluetooth connection. When I start the car, then, when I connect my phone and play music, bluetooth freezes after 1 minute, and cant connect again until again I start the car. Please help. Thank you.
[Android Head-Units] kazbek1:
I'm having the same issue as you. Everything works fine but once I connect to BT, music plays for about 15 seconds and then stops and freezes the unit until I restart it. Hoping to get some type of BT file update.
[Miscellaneous Android Development] Omar_62:
Is there any way i can update this manually to cm12? thanks
[Miscellaneous Android Development] TNSMANI:
MOD ACTION:

Thread closed.

Android questions go in

Android Q&A, Help & Troubleshooting

This forum is for all of your questions about Android Development and Hacking. If you need help troubleshooting a problem, please be as specific as possible by describing your software configuration, including the ROM, kernel, and any modifications you've done.

xdaforums.com
[Samsung Galaxy Watch 5] vvstorm2:
I have S22plus from India region and galaxy watch 5 from EU region (software version - R910XXU1BWH3).

The 2 problems are -

1. In india samsung pay (NFC payment from watch) is launched officially for galaxy watch but my watch being from bought from Germany, it asks me to register for samsung pay card which I cannot because I am not a citizen of Germany.

2. EU Watch has support for ECG and BP but when I launch it, it check my region on phone and says the features are not supported in India.

Any solution to get both features working? (Samsung Pay and health features)
[Moto G9 Power ROMs, Kernels, Recoveries, & Other D] Deleted member 12643253:
Abandoned
[Moto G9 Power ROMs, Kernels, Recoveries, & Other D] ZG_DEV:
thaaaaaaaanks

but please edit the thread so it contains only English (as mods demand)
[Moto G9 Power ROMs, Kernels, Recoveries, & Other D] ZG_DEV:
ik
[Moto G9 Power ROMs, Kernels, Recoveries, & Other D] XUAOO:
Hi bro, do you still have the kernel downloaded? Could you send it to me?
[Moto G9 Power ROMs, Kernels, Recoveries, & Other D] ZG_DEV:
I didn't download it but here's the link https://github.com/zharzinhoo/Kernel-Oriente-Cebu/releases/tag/kernel-oriente
[Android Q&A, Help & Troubleshooting] Omar_62:
How can I update this CM10 rom to a CM12 rom manually? Please tell me. Thanks!
[Android Apps and Games] Basel Horany:
The area around camera cutout has always been useless, I made an app that turns it into a shortcut button to make phone use easier.

Touch The Notch

Get From Google Play

You can set independent function for each touch, long touch, double touch and swiping both sides

Gestures can also be to to the whole statusbar area instead of just the notch area.

**Actions**

- Take a screenshot!

- Toggle camera flashlight to use your phone as a torch easily when needed.

- open power button menu.

**Access**

- Minimized apps drawer as horizontally aligned icons next to notch.

- Open camera.

- Open selected app.

- Open recent apps menu.

**communications**

- Make a quick dial to your favorite contact or an emergency call.

**Modes**

- Toggle automatic orientation.

- Do Not Disturb Mode.

**Tools**

- Trigger an automated task.

- Browse your favorite website.

- QR code reader.

**System**

- Switch brightness between a set low and high values like for indoor and outdoor or for day / night.

- Toggle sound ringer mode.

**Media**

- Play or pause currently playing music just like the headset button.

- play next/previous track.

- Play next audio.

- Play previous audio.
[Android Apps and Games] ZG_DEV:
nice app, bro
[Android Apps and Games] Basel Horany:
thank you <3
[Android Apps and Games] ZG_DEV:
u r w
[Android Apps and Games] heehe:
i like it
[Moto G Stylus 5G] CitrusMinx:
I was just hoping to understand more about how to flash a GSI ROM (specifically in my case, crDroid GSI by Nazim) when this device has dynamic partitioning, the super partition, AND shows the system partition from the beginning, which is why I'm posting after not finding any specific YouTube videos, forum posts and/or any articles that deal with this certain scenario.

For context, here's all that I've done prior:

Unlocked Bootloader​

the official Motorola website method, of course

Flashed Stock ROM​

Android 12

from Moto Stock ROM / motostockrom

via fastboot with *proper* flashfile BAT file

Obtained Root​

Installed Magisk (app)

Patched the boot IMG from the stock ROM

Flashed patched boot IMG via fastboot

Completed via "Direct Install" in Magisk (app)

Installed TWRP Recovery​

From the "A-Team Releases" thread in this device forum

Note: touch works, but internal storage does NOT

I'm not a custom ROM newbie, per say, I've used XDA a lot in the past with past devices to get root and install custom ROMs like it was a religion lol I even had a rule that I wouldn't ever own an Android device that I couldn't root and modify. That being said, I've now come across GSI flashing, now that I'm on a device that doesn't have it's own dedicated ROMs with easy flashing instructions in threads here. It's taken me a solid couple weeks, but I'm learning just about everything I can about the subject. But I seem to be stuck on a couple of aspects about this process...

I have no idea if the carrier matters in my scenario or not, but just in case, my phone is through Metro (U.S.) bought in their store. Yes, I realize that some would say that means I'm not able to unlock the bootloader, but yes, I was able.

1. The vbmeta / disabling verity-something thing​

In my research of GSI ROM flashing, I've come across this step that hasn't been mentioned to me or found in other scenarios here where people have flashed a GSI ROM. Am I supposed to do this at some point? I wanna make sure I get everything right before I begin, that's the kind of person I am.

2. System, system_ext, vendor, product, and super...​

View attachment 6004551

After learning all that I could, this is the very last step in my flashing process and not understanding is why I halted and decided to reach out for specific help with it. I keep hearing about how you're supposed to flash a GSI ROM via TWRP into the system partition, but with these other partitions available, and with the directory structure inside the IMG file (screenshot below), I'm wondering if I have to choose a different one, like super?

View attachment 6004553

Any and all help is very appreciated.
[Moto G Stylus 5G] fddm:
Yes before flashing a GSI you should disable verity or it will not boot. You'd download the stock firmware you have and flash these two files

fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img

fastboot flash --disable-verity --disable-verification vbmeta_system vbmeta_system.img

In theory you only need the second one, but there is no reason not to run both.

You wouldn't flash through TWRP, it can't handle super images. You'd boot into fastboot by holding vol- and then into fastbootd by running 'fastboot reboot fastboot'. Then flash system with 'fastboot flash system <gsi image>'.

Be sure to either install an OTA update or flash copy-partitions through recovery first to prevent bricking.
[Moto G Stylus 5G] CitrusMinx:
I never said anything about super images. I'm talking about partitions, more specifically which partition to choose inside TWRP when flashing a GSI ROM that contains a lot more than just a system folder. "System" is not the only folder with stuff in it, which is why I'm asking about any other partitions in the first place.

And what do you mean install an OTA update??? That goes against absolutely everything that I just did prior and everything I looked up. An OTA update is literally the stock ROM... And I have no idea what copy-partitions are and nothing like that is referenced in any of the tutorials on here or YouTube or etc.

Did you see the screenshot even? The only thing I was asking was "which partition do I choose; system or super". The command that you reference tells me that I should pick system, and yet the ROM that I have has more than just system inside of it, so I don't get how that works.

Please note that I'm not trying to be mean, I can understand how my words seem like they're being used in a mean way but really I'm not acting that way.
[Moto G Stylus 5G] fddm:
Motorola devices do not populate slot b until an OTA is applied. You always want to populate both slots because if it ever switches to an unpopulated slot (like on consecutive failed boots) the device will brick. Flash this and won't be an issue

https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip

system
[Moto G Stylus 5G] CitrusMinx:
Ah, I sorta got what you're saying. Back when I was flashing the patched boot image, I noticed that I had to manually flash it to "boot_b" after flashing it to just plain "boot" so I can understand that the same thing translates over to ROM flashing.

I don't know what that zip is and I've never heard "copy-partitions" be referenced anywhere, but I'm assuming I'm supposed to flash it after the ROM or before?

Thanks in advance 👍🏻
[Moto G Stylus 5G] fddm:
Before, but if your on slot b you already took an OTA. I'd still flash copy-partitions anyway to be safe.
[Moto G Stylus 5G] CitrusMinx:
So... I tried doing this and it just tells me

"Cannot load 'vbmeta': no such file or directory"

I then tried

fastboot reboot fastboot

and it told me "unknown reboot target fastboot"
[Moto G Stylus 5G] fddm:
Are you using the latest Platform-Tools?

SDK Platform Tools release notes | Android Studio | Android Developers

Android SDK Platform-Tools is a component for the Android SDK.

developer.android.com
[Moto G Stylus 5G] CitrusMinx:
Alright, vbmeta.img and vbmeta_system.img have been flashed to vbmeta_a and vbmeta_system_a

Appreciate it! I didn't know Google natively offered platform-tools separated from their Android Studio program.
[Moto G Stylus 5G] CitrusMinx:
View attachment 6005625

Well, I didn't think this part would be different from the other phones I've flashed, but uhh...what exactly do I wipe here, before flashing the copy-partitions zip and the ROM img?
[Moto G Stylus 5G] fddm:
ART Cache and Data
[Moto G Stylus 5G] CitrusMinx:
View attachment 6006487

I swear, at every turn, something has to go wrong!

I'm very certain that I mentioned in post #1 that I got this TWRP from following the file+instructions on the A-Team Releases thread here, and nobody's corrected me there so I'm not sure what my issue is now. This TWRP doesn't read any internal storage, doesn't mount anything, but I'm surprised that USB-OTG works.

I'm all ears on how to get a completely working custom recovery, if possible :)
[Moto G Stylus 5G] fddm:
I have Lineage Recovery, but I doubt it works with a stock vendor. Just use 'fastboot -w' to wipe data.
[Moto G Stylus 5G] CitrusMinx:
Well... Of course, things went wrong lol

• I went into fastboot mode and did 'fastboot -w'; it worked

• I went into TWRP and flashed copy-partitions.zip; it worked

• I chose to flash (crDroid).img to 'System Image'; nope - "image too large for target ..."

• So I went into fastboot mode again, tried 'fastboot flash system (crDroid).img'; first, it hung there for a solid minute or more, and then -

View attachment 6008405

*sigh*

• I reinstalled stock ROM until I figure this out
[Moto G Stylus 5G] CitrusMinx:
Update: So now, fastbootd appears to be working now! I randomly tried 'fastboot reboot fastboot' and it just plain did it.

So now, maybe I should be able to flash a custom ROM - at this point, I don't even care if it's crDroid I just need something other than stock that I can run rooted!!

-------------------------

Updated update: Reading a random article on how to install Project Elixir GSI to any Android, it states that deleting the product_a partition in fastbootd will clear up more space for system (since its a logical partition)?
[Moto G Stylus 5G] fddm:
Yeah, deleting partitions in inactive slots is valid. Your super image has a fixed size and contains a/b copies of system, system_ext, vendor, and product. You don't need the partitions in the inactive slot and you don't need system_ext or product in the active slot when using a GSI. Instead of deleting, I'd resize

fastboot reboot fastboot
fastboot erase product_a
fastboot resize-logical-partition product_a 0x0

This is closer to what you would do when rebuilding the super image.
[Moto G Stylus 5G] CitrusMinx:
So, if I understand you correctly, product_a&b and system_ext are free to erase and resize to 0x0 in my scenario
[Moto G Stylus 5G] fddm:
Yes. Resizing product in the inactive slot should be enough to get your GSI installed, no reason to clear more unless required.
[Moto G Stylus 5G] CitrusMinx:
Just for *absolute clarity* before I dive too far, you keep on clarifying that I should do this to "the product partition in the inactive slot"; my current slot is "a" as told by TWRP so doesn't that mean I should be doing this to product_b and not product_a?

ALSO: what is the original size of product in case I need to go back if things go wrong?
[Moto G Stylus 5G] fddm:
That's what I'd suggest since you won't be using that slot. It'll be restored if you flash stock (and take an update since it's slot b).
[Moto G Stylus 5G] CitrusMinx:
So I discovered some things... In fastbootd mode *via TWRP* it just says partition doesn't exist so I go back into regular fastboot, did 'fastboot oem partition' and according to that, product_b, system_ext_b and vendor_b are all 0kb in size...

View attachment 6012229

I'm still going to do the commands, as if there is a size just to be safe and then move to product_a if there's a size error etc etc.

----------------------

Update:

View attachment 6012241

.........do I need to actually finish rooting? Because I was under the impression that only works beyond bootloader and recovery and is only after the phone is fully booted into OS.
[Moto G Stylus 5G] fddm:
That's what it should look like if you didn't take an OTA. You have plenty of space in your super image. If you boot into fastboot and then fastbootd, flashing should work. Still not sure why your messing with TWRP tho.

Some people say to erase system first, though it shouldn't do anything. Might as well try that anyway if your having issues.
[Moto G Stylus 5G] CitrusMinx:
I have TWRP because I had to flash your copy-partitions suggestion, otherwise I would have left it on stock recovery - although now I don't know how to get stock recovery.

You say that I should "take an OTA" and I know that it's so slot b can populate, but what if there's not an OTA available? As far as I know I'm on the last given update lol

Yeah I have no idea why fastbootd doesn't work either. Other than it's trying to use it via TWRP but like I said I don't know how to get the stock recovery outside of just redoing stock which leaves me without doing the copy-partitions zip. So it's one or the other unless there's something I still don't know which doesn't surprise me lol
[Moto G Stylus 5G] fddm:
Flashing copy-partitions negates the need to install an OTA. No other need for recovery past that.

Get into fastboot by holding vol- while booting or run 'adb reboot bootloader' from Android or TWRP or used the advanced reboot options in TWRP. Then use 'fastboot reboot fastboot' to reboot into fastbootd. TWRP's fastbootd is different afaik.
[Moto G Stylus 5G] CitrusMinx:
Right, and I already knew about all that - fastbootd is the form of fastboot that's on the recovery partition, negating the need for a custom recovery (but I'm not sure if zips are flashable)

Yes I did flash the copy-partitions zip and because of that, I installed TWRP - and therefore potentially that's why fastbootd didn't work.

However, if you're saying that I don't need to do the zip if I just do an OTA, that'll cancel out my need for TWRP, so maybe I should flash one update under the last update, and then perform an OTA from there, and then finally be able to do this process within proper fastbootd.
[Moto G Stylus 5G] CitrusMinx:
I just noticed that I actually can't get any other stock ROM other than this one and this one says that there's just a 95 MB update (security)

Do you think that would suffice or no?
[Moto G Stylus 5G] fddm:
Ok, I see now, I generally don't flash custom recoveries unless they are part of a rom(I use 'fastboot boot twrp.img' to boot without flashing). Your original recovery should be vendor_boot.img in your firmware zip. Flash with

fastboot flash vendor_boot_a vendor_boot.img
[Moto G Stylus 5G] CitrusMinx:
Nope, still TWRP - I read on Android Dev that DTBO.img could contain the recovery. But still, as a fail-safe, I'll just redo the whole stock ROM to be ultra sure.

But still, is that 95mb update considered an OTA in your terms to this situation?
[Moto G Stylus 5G] fddm:
Certainly is. If you take it you'll be on slot b and will need to resize or delete product_a to make room for your GSI.
[Moto G Stylus 5G] CitrusMinx:
Uhm.... Well crap. It was verifying the update, and says

Package verification failed

The update package being downloaded is not compatible with the current software version on the device.

S1SD32.56-22-1-5 is the update, if important.
[Moto G Stylus 5G] fddm:
I'd just skip it. Use

fastboot boot TWRP_Recovery_Boot-Moto_G_Stylus_5G_2022.img

to boot TWRP and flash copy-partitions then reboot into fastbootd. You'll have plenty of space for your GSI so just flash it from there.
[Moto G Stylus 5G] CitrusMinx:
Ooh yeeaaahhhh! I completely forgot I can just temporarily use it.

Also: I cannot thank you enough for sitting here with me and putting up with all my questions, clarifications, mix-ups and learning. I stress every time I have to reply to you thinking "god they're gonna block me soon I CAN FEEL IT" lol

To be fair, in my 10 years of mucking around and modding Android, I have never actually had this much trouble getting a custom ROM going. The longest I've had to deal with any issues is like 2 and a half days.
[Moto G Stylus 5G] Kireej:
Can you give me the *proper* flashing .bat?
[Moto G Stylus 5G] CitrusMinx:
There's a converter script that I used: https://github.com/rootjunky/Motorola-XML-To-Batch-Script

It's pretty simple to do, read the TXT and it explains
[Moto G Stylus 5G] Kireej:
Thank you. I am completely unable to flash due to re locking bootloader while I was still rooted. LMSA won't even work.
[Moto G Stylus 5G] abense:
You still around CitrusMinx ? Or perhaps have anyone else done this with aMoto 5G Stylus 2021 (XT2131-1) ?
[Moto G Stylus 5G] whitedavidp:
Hello. I may be late to this game. But I just now got my XT2115-4. I unlocked the boot loader, and followed the instructions here to root with Magisk. I noted above discussion of slot a & b. I do not recall doing anything specific about the slots. But I did notice that when I performed the

fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img

I only saw messages regarding slot A. Said nothing of B. Do I need to do something?

Also, I now want to install the TWRP - almost entirely to perform backups and restores. So far, the only TWRP I have found are mentioned here. I have downloaded the .zip file from near the top of the thread. But I remain a bit stumped about how to move forward from there. I see mention of putting Magisk .zip on external SD but near as I can tell there are no longer Magisk .zip install files. Also, I don't want to loose and have to redo all I have done so far if I can avoid it. Near as I can tell (even after joining telegram), there is no A-Team website or Telegram group any more. So this TWRP may just be dead meat to me.

Suggestions, comments?

Thanks
[Huawei Y5 (2017) Questions & Answers] AlejandroMesa22:
I would like to give this phone a second chance by at least unlocking the bootloader and then rooting it. But, when I go to the phone's developer options, I find that the OEM unlocking option does not appear anywhere. So, does anyone have any idea how to enable the option?
[Huawei Y5 (2017) Questions & Answers] PhoneRepairHUB:
Boot in fastboot download sdk platform tool and follow instruction on how to run that

Type "fastboot oem unlock " in the terminal
[OnePlus 9] maxishappy:
I use an op9 eu (le2113) but I want dual boot with original oos 13.1 and nameless oasp (rom) but I couldn't find any recent tutorials, does anyone know how to create an setup that when I boot my phone I can pick nameless oasp or oxygen os ?
[OnePlus 9] shadabkiani:
Not possible on OnePlus 9. There is only one /super partition. You can only have 1 ROM but have them run rooted on one slot and unrooted on the other. That's all you can do.
[OnePlus 9] maxishappy:
So I can take oos 13.1 in slot a and in slot b I can take any rom ? But if that's the case how do I switch from a to b or b to a ?
[OnePlus 9] randomized_xd:
he said that you can have oos13.1 in both slot a and b where you can have slot a rooted and slot b unrooted. to change slot go to fastboot mode an use fastboot set-active a/b
[OnePlus 9] maxishappy:
Thanks this solves my issue, I'll be trying this soon
[Introductions] Oases:
Hello, I'm new here and would like to introduce myself. I was born in 1966 and live in Berlin. I have owned Teyes CC3 for 2 years and am very satisfied.
[Tilt, TyTN II, MDA Vario III General] bigboy38:
I need alittle help with my sound on my tilt .see once i recieve an incoming call s2u2 like muff my ringtone until the call ends my vol comes back loud ,but then i've missed the call . tilt is att stock 6.1 , 19214.1,0.4 .3.57.502.2 wwe radio 1.65.21.18:mad:
[Tilt, TyTN II, MDA Vario III General] slawcop`:
post this into the right thread http://xdaforums.com/showthread.php?t=412418 instead of starting a new one if you want help. i am sure someone in there will help you. please close this thread
[General Topics] DviToVGA:
hello,

I have a bricked Vodafone smart tab 4

The SP flash tool shows errors

my pc regnozise it as a (Mediatek USB Port)

All drivers are broken (Error 10)

View attachment 6004569
[General Topics] ZG_DEV:
it seems that the rom is not compatible with the phone ?

also try to flash this by booting into META mode instead of BROM mode (vol.down + release when connected to pc) also hurry in flashing because it auto disconnects when no action is happeining
[General Topics] DviToVGA:
Then I press the vol down and release shows that and the rom am using is for this tablet
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] H201:
i tried rooting my device but i think i failed to, i unlocked the bootloader opened my phone and it worked, then i tried to install twrp called 3.5.2 nebrassy.img then followed this site instructions https://www.getdroidtips.com/root-poco-f3/ then i did all that opened powershell into adb folder then

got it into fast boot then typed this

./fastboot flash boot_a magisk_patched-26300_yLl3V.img.img

it did its thing then i typed

./fastboot reboot

then it kept rebooting into fastboot no matter what i did

please help i really don't know what to do i want the phone to just work

even when i hold the power button it just gets into fastboot and nothing else
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] ZG_DEV:
i think u needed to rename the magisk patched boot.img into boot.img
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] H201:
so should i install the magisk patch but rename it to boot.img again? and would it work? can you give me instructions, im new to rooting and dont know much