yashsingh1/xdaforums huggingface dataset:
[Google Pixel 5a] SomeRandomGuy:
I am certainly far from the sharpest tool in the shed here, but since no one else is speaking up, I'll try my hand at it.

You shouldn't be concerned with the bootloader being locked - you should be concerned if it can be UNLOCKED. The keys are writable from fastboot- custom ROMs like CalyxOS can be built and flashed with the proper keys to boot with a locked bootloader. The process of signing is described in AOSP documentation, and works on the 5A 5G (I have a customized variant of CalyxOS, signed by myself, with locked bootloader).

Carriers make special deals with the phone companies to OEM lock the bootloaders so that they cannot be unlocked via fastboot, without a key (likely IMEI specific). I don't know of anyone who has figured out how to OEM lock without actually being an OEM, but maybe it is possible.

Are you just finding a phone cheaper than the stock Pixel, hoping to reflash, or is this more complicated? The retail Google phone is most certainly unlockable with /no/ drama...
[Google Pixel 5a] CustomOShacks:
I need to find someway to flash stock android back onto it
[Google Pixel 5a] SomeRandomGuy:
Google's support website for the Pixels lets you do it... directly from any browser that supports WebUSB (e.g. Chrome and its variants, newer FF's, etc).
[Google Pixel 5a] CustomOShacks:
I dont think it’ll work without enabling usb debugging
[Google Pixel 5a] rchris494:
you can flash the stock factory image from here in bootloader mode (power + vol down)

Factory Images for Nexus and Pixel Devices | Google Play services | Google for Developers

developers.google.com

i use to this site remove non stock keys. at the very bottom of the webpage if i want to return to stock and flashed calyxos or graphenos to my phone.

GrapheneOS web installer

Web-based installer for GrapheneOS, a security and privacy focused mobile OS with Android app compatibility.

grapheneos.org
[Google Pixel 5a] CustomOShacks:
The bootloader is locked
[Google Pixel 5a] rchris494:
i did run across this. i am not sure how trust worthy the tools this person has are

https://www.youtube.com/c/5MinuteSolutions-DZ

i also did not see anything pixel 5a related.

also maybe there is something on 4pda that can help with the problem
[Google Pixel 5a] CustomOShacks:
Can you please post something more specific
[Google Pixel 5a] CustomOShacks:
Do you know if these tools will work without usb debugging enabled because the custom rom that my 5a is running restricts developer options so I don’t know how to enable usb debugging
[Google Pixel 5a] SomeRandomGuy:
So, by chance (and my stupidity) I am now in the same boat. This is a very frustrating situation that is close to making me swear off the entire Pixel line, forever.

TL;DR: Is there ANYTHING that works in fastboot mode with a locked bootloader?

Long version:

- I have a properly signed custom OS, and all the images AOSP would build (the factory image, the OTA image, etc).

- When the phone was last booted, "Enable OEM Unlocking" was ON, with the bootloader locked. Everything worked nicely.

- I stupidly let Magisk update itself, which of course borked the boot

- I can no longer get into recovery from fastboot (whines about broken OS) (e.g. to sideload OTA update)

- Despite OEM unlocking being on (or having been on and cursed with somehow it getting turned off), I can't unlock bootloader from fastboot

- I can't flash ANY partition (at least that I tried); all whine about locked bootloader

- I can't flash original Google image either (from Google web installer), whines about unlocking

- I can't use the GrapheneOS web installer to unlock bootloader (just fails)

- I can't fastboot boot <signed_boot_image> (e.g. to get to sideload from recovery), whines about unlocking

Especially with a device that doesn't allow SDCards, I'm far more concerned with something bad happening (like whoops, clicked the wrong button and autoupdated => brick) and me not being able to pull my data (SMS/MMS stuff, pictures, etc) than I am about all the (mostly valid) reasons for verified boot.

I would assume that I could still flash partitions that were properly signed by whatever keys were installed. Guess not. What a stupid restriction.

I'd also assume I could flash partitions signed by Google (if secure boot can tell me I'm running something other than stock, that means it has keys to verify stock, right?). Guess not. What a stupid restriction.

On a OnePlus, a quick EDL flash would unbrick this (would destroy data, of course, but at least I am not out $~500). I understand there are no EDL images published anyway (and I certainly can't find any).

I've read the above posts about overwriting the FBI's version of Android, and didn't find any functional means of unlocking and/or returning to stock (e.g the web installers for GrapheneOS or Google).

Is there maybe something I've missed? A lower level fastboot command I can use to restore the boot partition (again, I've got a properly signed one).
[General Questions and Answers] iamdaniel6969:
How do i flash bootloader files for a huawei in testpoint mode(IDT does not work)
[General Questions and Answers] xXx yYy:
Not possible: Huawei has already abolished the possibility of unlocking the bootloader of all their devices in 2018
[General Questions and Answers] iamdaniel6969:
i already unlocked mine, and flashing through testpoint in possible i think
[Realme X Questions & Answers] dumbso:
When pressed volume up and down key together and connected to pc it shows charging symbol then appears in my pc as qualcomm 9008 port then reboots .I'm trying to flash my device using qfil which needs phone to be in edl mode and my phone is not staying at edl mode so I can't flash it .Any advice will be really helpful.
[Tilt, TyTN II, MDA Vario III General] belezeebub:
Well I switched back to HyperDragon III Rom its pretty cool but it only have like 3 ringtones does anyone have the default ATT/HTC ring tones & sounds ziped up that I can download? call me weird but I liked some of the default ones. I did a search and looked in the wikki didn't see them there.
[General Questions and Answers] krzysiekszakal:
Hi, i could't find any info about AGM mobile Glory G1 pro. What do you know about this phone? That is expensive rugged phone. But what with quality and possibilities?

I had ulefone armor 10 5g and now bought AGM glory pro. I'am little bit confused about price, armor 10 price is about 350 EURO, amg glory pro 850 EURO.

Between those two devices i see only two differences. Ulefone have more sensors. Compare to agm i pay only for loudspeaker and thermal/night vision camera.
[General Questions and Answers] (InsertNameHere):
Actually there are 3 different versions of the glory pro. Depends which country variant you buy, the Chinese one has a laser range finder.

More interesting model is G1S as it is cheaper
[General Questions and Answers] mprudic0404:
did you get a G1s?

i got the wife one, and i picked up the INFIRAY PX1

these two phones are almost the same thing, but its hard to find a ROM for them.

the thermal quality is BAR NONE best yet.
[General Questions and Answers] todir:
Hi @mprudic0404,

Can you share the px1 infrared cammera app? I have agm g1s, but I saw on a video that px1 app has more options.
[General Questions and Answers] joe tigercat:
i've been interested in the agm glory series. i've used blackview, oukitel, umidigi, ulephone, and doogee. the one thing they all have in common is non existant software support. i can do without an upgrade to android versions, but the lack of security patches annoys me enough i've stopped buying any of them. agm phones, the glory series in particular, atleast has a more premium price. can any users here confirtm they offer secutiry patches on a regular basis?
[General Questions and Answers] todir:
Nope, do not expect updates. Premium price does not mean premium service with Chinese manufacturers. Agm is no exception.
[General Questions and Answers] nerys71:
The big thing about the G1 (I have one) is the snapdragon processor. this was a deal breaker option for me and WHY I selected the G1. the performance difference is night and day. it FEELS like a flagship phone.

the high res thermal and night vision cams are the selling points (It has both) alone with that snap dragon processor.

one bit of warning BUY the extended 2yr warranty. mine is 1.5 years and the battery is puffing. warranty is only 1 year and they do NOT offer a battery replacement service ...... I have no idea if its even possible to tear this phone apart without destroying it.
[General Questions and Answers] bandario:
They make truly great hardware but they really do need to get their **** together on how hard they have everything locked down.

All of their firmware in encrypted and can't be extracted with regular tools. You can't reboot into field test mode or any other means to gain access with PDC tools or EFS explorer. You can't execute SU commands via ADB Shell.

All well and good if your device is locked down this hard when it ships feature-complete, but when core components (VoWifi etc) are not working globally, all you are doing is preventing users from fixing the issues themselves. It's infuriating.
[General Topics] axonn:
Hey there :). Long time no posting. I'm an old timer back from the day this place was used for Windows Mobile ROMs :D. Then used ROMs for Galaxy S2 and then Note 3.

I gave up with the new Galaxies due to my phone being owned by my company.

I'm interested in possibly jumping back onto a custom ROM, but I'm looking for a Phone <-> ROM combination that works well.

For example, custom ROMs in certain phones can't do anything with the phone's hardware voice assistant button.

Can Bixby be kicked out and replaced with some other function now-a-days if using a custom ROM?

Ideally, I'd prefer a phone that has a headphone jack.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
AOSP 13

This is a moto-common project release under the codename amogus. This build supports the following devices: rav, rav_t, sofia, sofiap, sofiap_ao, sofiap_sprout, sofiar.​

/*
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

What's AOSP?

AOSP is Android as Google publish without any modifications.

Whats not working?

Speakerphone on sofia variants​

Instructions to install the ROM:

Reboot to bootloader:

adb reboot bootloader

The following will wipe your internal data:

fastboot -w

fastboot update package.zip

It will reboot your device to fastbootd, you might get the following warning:

FAILED (remote: 'Old partitions are not compatible with the new super layout; wipe needed')

, but you can continue with the following commands

Fastbootd:

fastboot flash product product.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot reboot

Downloads: Here

Source Code: Here

Sept 2: Fixed USB Mode Switching, Switched to new rebased kernel, Switched to EROFS

Sept 12: EGIS Fingerprint gestures fixed, Switch BtAudio to AIDL and September Patch level

Sept 28:

System Responsiveness has been tuned and improved

Introduce Multigenerational LRU Framework

Tune Dalvik Heap Sizes

Switched to QTI Thermal HAL

DT2W has been fixed for RAV (HIMAX) variants of amogus

Signature Spoofing support has been added to the ROM

Jan 26:

January Security Patch

Feb 27:

Feb security patch
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
Great job! Thank you! 😊

Would love to try but I can't downgrade :/
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
You can't downgrade? What do you mean by this?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
I'm on a11, I don't have to downgrade to a10 to apply this update.zip?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
No you don't, moto-common projects use custom vendors.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
i got this to boot on my moto g fast :) thank you

edit: its still on android 11

just incase anyone might need it and something unexpected happens... https://support.lenovo.com/us/en/downloads/ds101291-rescue-and-smart-assistant-lmsa
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
Microsoft Windows [Version 10.0.22000.856]

(c) Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

* daemon not running; starting now at tcp:5037

* daemon started successfully

error: no devices/emulators found

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices

xxxxx fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

error: no devices/emulators found

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

error: no devices/emulators found

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

error: no devices/emulators found

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -w

wiping userdata...

Erase successful, but not automatically formatting.

File system type raw not supported.

erasing 'userdata'...

OKAY [ 0.835s]

finished. total time: 0.835s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update package.zip

W/ziparchive(11136): Unable to open 'package.zip': No such file or directory

error: failed to open zip file 'package.zip': I/O error

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash product product.img

target reported max download size of 799954944 bytes

sending 'product_b' (273816 KB)...

OKAY [ 9.958s]

writing 'product_b'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 10.048s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

target reported max download size of 799954944 bytes

Invalid sparse file format at header magic

sending sparse 'system_b' 1/2 (778517 KB)...

OKAY [ 28.791s]

writing 'system_b' 1/2...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 28.885s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash vendor vendor.img

target reported max download size of 799954944 bytes

sending 'vendor_b' (471860 KB)...

OKAY [ 17.570s]

writing 'vendor_b'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 17.649s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot

rebooting...

finished. total time: 0.016s
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Uh you actually have to use the name of the zip in place of package.zip
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Sept 2: Fixed USB Mode Switching, Switched to new rebased kernel, Switched to EROFS
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] TS_Brittany:
So like are we able to go back to 11 if we don’t like 13?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Yes
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Sept 12: EGIS Fingerprint gestures fixed, Switch BtAudio to AIDL and September Patch level
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] jasonmerc:
amogus
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Truly an amogus moment
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
ive followed the install instructions as much as i can...factory reset...but this rom just bootloops on my moto g...anyone else get this to boot up?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Can you show me the output of the commands?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

* daemon not running; starting now at tcp:5037

* daemon started successfully

error: no devices/emulators found

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices

xxxxx fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -w

wiping userdata...

Erase successful, but not automatically formatting.

File system type raw not supported.

erasing 'userdata'...

OKAY [ 0.835s]

finished. total time: 0.835s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update aosp_amogus-img-eng.electimon-1.zip

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash product product.img

target reported max download size of 799954944 bytes

sending 'product_b' (273816 KB)...

OKAY [ 9.958s]

writing 'product_b'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 10.048s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

target reported max download size of 799954944 bytes

Invalid sparse file format at header magic

sending sparse 'system_b' 1/2 (778517 KB)...

OKAY [ 28.791s]

writing 'system_b' 1/2...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 28.885s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash vendor vendor.img

target reported max download size of 799954944 bytes

sending 'vendor_b' (471860 KB)...

OKAY [ 17.570s]

writing 'vendor_b'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 17.649s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot

rebooting...

finished. total time: 0.016s

on rav moto g fast, thank you
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Please use official platform-tools and not ancient Minimal ADB and Fastboot from like 2015. Thanks.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] theportal2:
touchscreen and fingerprint reader not working on my retus moto g fast.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
updating platform tools worked ty :)

https://app.box.com/s/voj724lqdb7cc8z3i8xt6mx3wxc96e3p

but product, system, and vendor failed to flash from twrp
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] theportal2:
What are the steps to flash back to stock?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] notnoelchannel:
Codename reminds me of "Among Us" :D
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
There are various tools you can use like Moto Flash Pro or TinyFastbootScript. LMSA is the lenovo recommended tool.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Hmmm yes, recovery needs to be updated for EroFS, I'll think about introducing builds with GApps preinstalled.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] theportal2:
any logs i can send you before i flash back to stock?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
tried to adb sideload magisk and gapps but couldnt mount system...

Microsoft Windows [Version 10.0.22000.856]

(c) Microsoft Corporation. All rights reserved.

C:\Users\Admin>cd C:\platform-tools_r33.0.3-windows\platform-tools

C:\platform-tools_r33.0.3-windows\platform-tools>fastboot boot twrp-3.5.0-0-rav-sofia.img

Sending 'boot.img' (42408 KB) OKAY [ 1.453s]

Booting OKAY [ 10.284s]

Finished. Total time: 11.768s

C:\platform-tools_r33.0.3-windows\platform-tools>adb sideload "C:\platform-tools_r33.0.3-windows\platform-tools\NikGapps-core-arm64-13-20220908-signed.zip"

adb: sideload connection failed: closed

adb: trying pre-KitKat sideload method...

adb: pre-KitKat sideload connection failed: closed

C:\platform-tools_r33.0.3-windows\platform-tools>"C:\platform-tools_r33.0.3-windows\platform-tools\NikGapps-core-arm64-13-20220908-signed.zip"

C:\platform-tools_r33.0.3-windows\platform-tools>adb sideload "C:\platform-tools_r33.0.3-windows\platform-tools\Magisk-v25.2.zip"

serving: 'C:\platform-tools_r33.0.3-windows\platform-tools\Magisk-v25.2.zip' (~161%) adb: failed to read command: No error

C:\platform-tools_r33.0.3-windows\platform-tools>adb sideload "C:\platform-tools_r33.0.3-windows\platform-tools\[AUTO]LiteGapps_arm64_13.0_v2.6_official.zip"

Total xfer: 1.02x

C:\platform-tools_r33.0.3-windows\platform-tools>
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
magisk too please :) thank you and great job!
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Yes, can you run the following commands right after start up?

adb root

adb shell dmesg > dmesg.txt

and then you can send me the dmesg.txt file
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
and thank you for turning on the notification light on rav :)
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] theportal2:
Here you go.

dmesg.txt

drive.google.com

Sorry xda is not uploading the file correctly.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Thank you, i'm compiling a fix right now, I'll release it soon
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] jasonmerc:
I see in your source code there's a 12 branch as well, are those trees stable enough for use too?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
Thank you for your work and getting Android 13 to boot on Rav... This is exciting ☺️
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] theportal2:
If you want to run android 12 you can just flash a gsi. Here's one that works.

xiaomemeindex.com

More gsi's, just make sure the one you flash has phhusson patchs applied.

Generic System Image (GSI) list

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.

github.com
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
That's rude
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Yes but you might need to backport some commits from the 13 branch
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] theportal2:
How is it rude?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] jasonmerc:
So just to clarify, with these new device trees and everything, you've unified all the G8 phones under 1 source tree? I assume that's why you renamed the device codename to be based on the character from the hit multiplayer game, Among Us® (all rights owned by Innersloth).

Does this mean that from now on, we will need a new TWRP recovery as well that checks for the amogus codename when flashing ROMs?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Yes that is precisely what I've done, as for recoveries, I ship builds using updatepackages instead of ota packages so I dont need to deal with recoveries
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] jasonmerc:
One last question, does this have the option to have the traditional nav bar at the bottom, and is there an option to hold back to kill app? Those are the only 2 reasons why I'm hesitant to install this
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
Yes on the first one, probably no on the second
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] thatguy222:
Oooph. Didn't see this when I first read through the thread. Just installed the ROM and can confirm, no touchscreen.
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Bmonek:
How can i install gapps on this rom?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Electimon:
What carrier do you have?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Bmonek:
I repaired this on my own all is ok sorry
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] Bmonek:
hello can i download gapps on this rom without twrp??
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] TS_Brittany:
Are we able to downgrade after installing 13? Like can i go to 10,11or 12 if I wanted to ?
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] spiral777:
I've had this installed but went back to 11 because currently there isn't a way to install gapps... Or twrp flash anything really

https://support.lenovo.com/us/en/downloads/ds101291-rescue-and-smart-assistant-lmsa
[Moto G8 (Moto G Fast) ROMs, Kernels, Recoveries, &] jasonmerc:
Didn't she already ask that question on the first page (those being the only 2 messages ever posted)? I hope this isn't some kind of exploit to gain access to someone's account