yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Questions & Answers] MrsMotz:
Moto G5 Plus unaltered went into boot loop, result; imei 0, "failed to validate",

Hi all,

I stumbled on this forum while trying to figure out a way to rescue my husband's Moto G5 Plus. Yesterday it went into a constant loop of restarts, at best functioning for 5 minutes before suddenly restarting for seemingly no reason.

He is not technically proficient enough to do any error seeking, let alone booting or flashing a new rom, so for all intents and purposes the phone is unaltered except doing the standard android updates, adding common apps and so on.

Well, the phone eventually ended up in fastboot flash mode where it keeps giving the error: faild to pass validaton, backup to fastboot. I found the menu option for barcodes and both imei and SKU are set to 000000000000 or how every many 0's. Date is set to 01-01-1970, but serial number is intact.

We tried installing Software Repair Assistant, but it keeps going on "Processing device information" for hours with no result.

Also tried installing the Lenovo Moto Smart Assistant for the Rescue mode, but it gives me "Failed to match the connected device".

Ideally we would like to find a way to bring back the contents of the phone if at all possible. I found a thread regarding imei 0 issue but I couldn't see if that would also wipe all contents so I am hesitant to try that without further research.

Being a slightly paranoid lawyer, my husband doesn't believe in backing up his stuff to cloud based solutions, so all his photos of the kids (and more) are per now toast. He has a new phone (and a slightly more modern approach to cloud backups) so there is no rush to fix NOW, but we'd like to know if there's any point in trying to restore or if we should go ahead with hacks to render it wiped but usable.

Does anyone here know of a good way to resolve this issue?
[Moto G5 Plus Questions & Answers] riyan65:
Is your device is rooted??? Or it on completely on stock ROM???

And what the last thing you do which cause this problem.
[Moto G5 Plus Questions & Answers] MrsMotz:
It's not rooted, completely stock except following the recommended updates.

As far as I know, he did not do anything except charging the phone at night, and in the morning it had restarted, then kept restarting all day until ending in fastboot with "failed validaton".
[Moto G5 Plus Questions & Answers] riyan65:
Then it quite hard to recover data, but not least. You can try flashing the device from this procedure.

Here is the procedure:-

Step 1: Download your potter rom from the following link: https://mirrors.lolinet.com/firmware/moto/potter/official/RETAIL/

"POTTER_RETAIL_8.1.0_OPSS28.85-17-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip" download the following zip.

Step 2: Download Minimal adb and fastboot from the following link: https://androidfilehost.com/?fid=745425885120698566

Step 3: Install Minimal adb and fastboot and extract the downloaded rom to the same folder where you have installed Minimal And fastboot package.

Step 4: After extracting open command prompt in that folder (where you have extracted the rom/ the adb and fastboot folder)

Step 5: Now boot your phone into your bootloader by pressing volume down+ power button at the same time.

Step 6: Type the following in your command prompt: fastboot devices

If it detects your device move to the next step, if it does not then you will have to install drivers for your device.

Step 7: Now Copy the following code and paste it to your command prompt:

fastboot oem fb_mode_set

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash dsp adspso.bin

fastboot flash oem oem.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot

Now your device will boot, if not try holding power button for 10sec then it reboot it self. If it won't boot then flash the device again with the following command

[Note:- this will erase all user data]

fastboot oem fb_mode_set

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash dsp adspso.bin

fastboot flash oem oem.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot

This will boot you device for sure.
[Moto G5 Plus Questions & Answers] debdeep98:
Chances are the gpt got corrupted as well..

Try

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash dsp adspso.bin

fastboot flash oem oem.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot

Everything will be wiped. Also make sure you downloaded the latest firmware. 17-6-2 is the latest.

https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
[Moto G5 Plus Questions & Answers] mahuba3:
Same issue, same results!

My Moto G5 Plus XT1687 experienced the same type of failure just over a month ago. First, it began randomly rebooting (never a good sign...), then my entire sms history disappeared (every sms AFTER that moment, however, behaved normally: received and listed/logged as new messages)... Then, about two days later, I woke up to a bricked phone. My phone was never rooted. Around the time of the random reboots, I had allowed my phone to update apps (I can't remember which happened first -- random reboots or app updates. I do know that I chose to update apps at that time because the phone was laggy and not behaving [even though there was ample unused storage available, and no apps stood out as memory hogs, etc.]). (Developer mode was enabled, but probably not USB debugging.)

On the barcode screen, my phone displays an IMEI of all zeros, a SKU of all zeros, and a date of 01-01-1970 (there is a serial number that may or may not be the original. It does not appear anywhere on the box label [where my actual IMEI and other numbers/codes are printed]).

I have tried flashing POTTER_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.info (as well as a few older ones -- just to try) using variations* of the standard code, above (*with and without "flash partition gpt.bin" and "flash bootloader bootloader.img"...). I have not yet taken the leap of including "erase userdata", however, because I am worried about losing anything that might not have been backed up... (And if every single previous line of code has failed, will adding "erase userdata" toward the end make a difference...?)

Down the list, the results are identical to the ones posted here by MrsMotz: "FAILED (remote failure)", "failed to erase", "failed to validate", "failed to flash", "invalid signed image", etc. (I've also tried using the Lenovo Moto Smart Assistant Flash/Rescue tool [which I imagine is supposed to perform essentially the same function as flashing ROM manually] to no avail ["Failed to match connected device"]!)

I can't afford a new phone! I desperately need to make this one work again. What am I missing? Why did my phone self-brick, and how can I fix it?
[Moto G5 Plus Questions & Answers] mahuba3:
Same issue, same results! Update

So, the "serial number" currently showing on my phone is not the real/actual/original serial number. My real serial number went the way of my real IMEA, I guess! Is this normal when a phone is bricked? Also, might the loss of my phone's genuine identifiers be contributing to the inability be "validated" or "recognized"...?
[Moto G5 Plus Questions & Answers] Wolfcity:
Seems to be a hardware issue. No IMEI, no serial, date reset to 1970...

Also the random reboots and the other things happening before are pointing to that direction.

So you're still able to reach fastboot mode and flash stock firmwares. When you say you were never rooted I suspect your bootloader is still locked?

If so I'm out of ideas, there isn't much you can do with an bootloader locked device.

I'm pretty sure that your hardware is the problem, so service center (depending on the country you live in) or buying a new device seem to be the only ways to go.
[Moto G5 Plus Questions & Answers] mahuba3:
Thank you ... But darn :(

Bootloader is locked (screen says "oem_locked"). But, yes, I am able to reach fastboot mode. And the bootloader logs come through each time I attempt to flash anything...

PS My phone, purchased new, is only two and a half years old (I usually hold onto them much longer!). But... I did drop it into the pool at the YMCA several months ago... It had been "misbehaving" (background apps crashing) prior, but after four days in rice and silica packets, it came out working just as well as before...
[Moto G5 Plus Questions & Answers] Govindarajulu:
[MENTION=10131654]mahuba3[/MENTION]: Any luck bro? I am also having the same issue, if you have fixed your phone, share me the details please.
[Moto G5 Plus Questions & Answers] Mdm0257:
Moto g5 plus

Any solution

I have the same problem
[Moto G5 Plus Questions & Answers] stsmuniz:
I'm having a very similar issue, but I can't login to bootloader screen. It just starts on a screen saying "start up failed" and when I try to run the commands you say it responds with an error

> fastboot oem fb_mode_set

...

FAILED (remote failure)

finished. total time: 0.016s

> fastboot oem fb_mode_set

...

FAILED (remote failure)

finished. total time: 0.016s
[Moto G5 Plus Questions & Answers] smandar:
SAme problem here too, Just two days ago, woke up to this bricked phone.
[Moto G5 Plus Questions & Answers] shreyas97:
hello there im facing the same issue i would like to recover my files from the phone. i dont care if i could use the phone further pls reply.
[Moto G5 Plus Questions & Answers] nabofox:
same problem here! :( i'm on a linux pc
[Moto G5 Plus Questions & Answers] nabofox:
Help needed! (newbie here)

I have a moto g5 plus (potter) and it is locked on this screen. I already tried to use the motorola recovery program but he doesn't recognize it because imei appears 0000000. I need help to bring it back to life (my computer is linux) and if possible to install the factory rom on it.View attachment 5319877View attachment 5319879View attachment 5319881
[Moto G5 Plus Questions & Answers] ssoni0097:
Facing the same issue, can anyone help?
[Android Q&A, Help & Troubleshooting] espertus:
I've read about Android's upcoming Fast Share functionality and want to start playing with it.

Does anyone know if Fast Share uses the Nearby API or something else? I'm also wondering what API Files by Google uses for its share feature.
[OnePlus 3 Questions & Answers] NMe84:
Yesterday I took some time to attempt to upgrade my OnePlus to Android Pie after finding out earlier that it's not as simple as just installing an update when your boot loader is unlocked. After a bit of searching I found this guide which I followed to upgrade OxygenOS to version 9.0.5. After some initial problems (I didn't pay enough attention and TWRP was set to auto-reboot which complicated matters a little) I managed to finish the upgrade and the device booted.

After confirming everything worked well I figured I should flash Magisk back onto the device so that I would have root access again. I flashed Magisk 19.3 and tried to boot the phone but it got stuck on the spinning OnePlus logo during boot. Left it running for over an hour, nothing happened so eventually I decided to flash the OTA update and the BL/KM patch again, which made my phone boot again but without Magisk, obviously.

After that I tried flashing Magisk 19.2 and Canary (19.4), both with the same results: a spinning logo, nothing more.

I'm not sure what else I can try. In a particular braindead moment I thought I should just try to take a look at Magisk's log file but of course that's not accessible without root access. I've got a feeling that the patch to the bootloader is causing issues with Magisk's firmware patch but I'm not familiar enough with this kind of problem to figure out what is going on exactly.

Does anyone recognize this problem or can one of you tell me what I could try to get Magisk running again?
[OnePlus 3 Questions & Answers] dpj52190:
I had this problem. Turns out after each flash: twrp, magisk, a reboot/ power off is required.

Here's what I do.

1) flash recovery using fastboot

2) reboot to recovery

3) on home screen of TWRP > reboot > power off

4) wait 5 seconds, turn phone back on and go to TWRP right away

5) flash magisk > TWRP home screen > reboot > power off

6) wait 5 seconds, turn phone back on and go to TWRP directly

7 TWRP home screen > reboot > reboot phone

Should get you to boot
[OnePlus 3 Questions & Answers] NMe84:
Thanks, I'll give it a go later tonight!
[OnePlus 3 Questions & Answers] NMe84:
I tried it just now. Sadly I get the same end result. Thanks anyway though. :)

I have an ADB log of the crash that happens that causes the phone not to boot, maybe that's familiar to someone around here? I uploaded it here.
[OnePlus 3 Questions & Answers] kallum7:
Hello can I ask a question why do you need root
[OnePlus 3 Questions & Answers] LunarisDream:
OP, I just upgraded the battery in my OP3 and, due to some software quirks with a certain custom ROM, decided to switch to Havoc which I liked a lot on my OP6. I flashed Magisk with no issue. Here are the steps I took:

Starting with unlocked BL

Boot into the newest official version of TWRP via fastboot.

Flash OOS 9.0.5 and boot into it, completing device setup.

Reboot into OnePlus recovery, then from within, reboot into fastboot

Flash TWRP to recovery in fastboot, then shut down device (do not attempt to fastboot reboot recovery, it will boot into OOS and overwrite TWRP)

Boot device, use volume key to interrupt startup, boot into recovery (TWRP)

Follow installation instructions from Havoc thread, do not wipe cache/dalvik after flashing, do not boot before flashing all zips (I flashed ROM -> gapps -> Magisk in that order)

OP, I'm not familiar with OOS's current status. My recommendation is to try a different ROM to see whether it is a compatibility issue with the ROM itself. Alternatively, try flashing OOS then Magisk one after the other in TWRP without interruptions, like I did. From the wording of your OP it sounds like you booted into the newly flashed OOS, then flashed Magisk after, which may be the source of your problems.
[OnePlus 3 Questions & Answers] NMe84:
I work on an app that uses location data and it's pretty convenient to be able to test it on a real device but with a joystick instead of real location data. To make matters more complicated it's my personal phone and I use that to play Pokémon Go too. Without cheating I might add, the root is not for PG but because I do want to be able to play it on the same phone that I use to test my app I need Magisk to hide the fact that it's rooted or the game won't start.

Thanks for the suggestion but I'd rather keep using OOS on this phone as long as I don't have a new phone for daily use. I don't really want to modify this thing too much without having a replacement ready in the likely case that I screw something up.

I tried both flashing the OTA, the modded firmware and Magisk in one go and separately after confirming that the OTA/FW were working. Sadly both methods resulted in the same problem. :(
[OnePlus 3 Questions & Answers] NMe84:
If anyone's wondering I did a clean flash and factory reset, then installed Magisk again after that. Everything's working again now. Thanks for trying to help!
[TouchPad General] arrudagates:
I'm looking for a way to install arch Linux NATIVELY on the touchpad, I tried with kexec and the images available for it and it's all broken, it won't even complete the installation, I also tried this install guide with this image because the install guide uses images that are no longer available to download, but also no luck, there is also this post but the guy said it's really old and the txt file that is in his archive keeps repeating that it's "hacky".

So I really need a nice and modern approach, I know a lot about Linux, just not about porting so if someone wants to try and make a new port and a new installation method I could try to help.

We should really try to do this because it would bring a new life to the TP, imagine running i3-gaps on this beautiful piece of hardware.

Hope you guys can help me and before I post this I gotta say: "Btw, I use Arch".
[TouchPad General] HP_TOUCHPAD:
The only way that I know that is reliable and works using the lastes Ubuntu, Debian or Arch in a chroot environment.

Click HERE for how to How to install Ubuntu 18.04 LTS Bionix Beaver, armhf on the HP Touchpad Desktop Environment XFCE and LXDE on a partition as chroot.
[TouchPad General] arrudagates:
I mean, that would work, but would require Android and wouldn't be native, I want to have arch and webos, both running native.
[TouchPad General] HP_TOUCHPAD:
The kernel is what makes the OS works by providing support for the hardware. WebOS Kernel is OLD and not supported by any current Linux, even LuneOS use the Android Kernel.

Android can be install and keep WebOS, it was a great OS but not nothing current will run on it.

Using the method posted, the most up to date and current Linux distribution of Arch, Debian, Ubuntu and more can all be install on the same Tablet running Android and use any Linux flavor without rebooting.

Android provides a very stable newer kernel that will share the resources with any listed Linux flavors and those built are native arm, runs super fast. If you want it to have all that done natively and not using Android, then the Kernel must be modified and all the "private drivers" ported to the most current version of Linux. The OS can not be updated as Linux will modify the Kernel, breaking everything. But everything is possible, is up to the user how much time and dedication plus the knowledge required to make it work.
[TouchPad General] arrudagates:
I don't mind running old kernel/package versions, I am actually trying to run the old projects but most have the Images down and unavailable and the ones that don't just straight won't work.
[TouchPad General] HP_TOUCHPAD:
I never installed any native Linux Os on the Tablet. The Ubuntu Touch was promising but never took off. The system must be stable for anything to be use otherwise is just experimental as most of those builds were. Running Linux in a Chroot environment is somewhat, not the same, as a Linux guest virtual machine and Android as a host.

That is the only way I know of, that is stable and current.
[TouchPad General] arrudagates:
Ok so right now I have two more options available to try but they are probably not gonna work, in that case I'll start to look about making my own port of ArchLinuxARM
[TouchPad General] HP_TOUCHPAD:
I did search for a working native linux OS for the Tablet, but did not found any.

It can surely be done, take a look at this video and the source at GitHub.

Youtube

https://www.youtube.com/watch?v=vx8_u1jhXJY

GitHub

https://github.com/CalcProgrammer1/kernel_tenderloin_debian

The Tablet uses LVM and can easily be partition in any way. It can also boot directly into Linux. The only thing to do is rename the file in /boot uImage.moboot to the Linux uImage ( example ) uImage.ArchLinux.

If any help, let me know.

Have fun!
[TouchPad General] arrudagates:
I'm making some progress
[TouchPad General] HP_TOUCHPAD:
Congratulations !

You did it ! once it boots is all it matters.

This is an idea, a chroot Arch can be built inside Android

A partition can be created in LVM Arch_Linux ( any size )

Inside Android with the App I posted, create the Chroot Arch Linux ( up to date )

Then modify the Ramdisk to direct at the partition Arch_Linux ( same it was use in the Chroot )

Then it should boot up ( some other changes will need to happen I guess)
[TouchPad General] HP_TOUCHPAD:
Arch armv7l as chroot in Android 8.1 with HpTp_MAX

Testing the new kernel settings in Android and installed the latest version of Linux Arch using Linux Deploy.

It is fast and it would be even better running native!

Attached are the screenshots.
[Huawei P20 Pro Questions & Answers] albug68:
Hi, a few days ago I updated my p20 pro (italy version) and I discovered that the super macro function no longer exists in the camera :(.

Someone knows something about it!
[Huawei P20 Pro Questions & Answers] fungo45:
I'm still on 8 and don't see it. Where do I look for this?
[Huawei P20 Pro Questions & Answers] jerico9:
Does anyone know when the 328 comes out in the UK? I've got the software issue which is 9.1.0.311(patched01) and asks me to download and install every day for the past 2 months. Will this update fix that problem? I've also got the camera focusing issue. I've arranged for it to be sent for replacement or repair but can take 10 days. Not good enough considering its well.kmown faults down to them
[Huawei P20 Pro Questions & Answers] veimus:
Hi, I'm from Ireland and System Update on phone didn't show me any update, but connecting phone to PC via HiSuite shows that there is new system update (9.1.0.328) you can try check for updates via PC and HiSuite
[Huawei P20 Pro Questions & Answers] GuestK00449:
It got replaced by moving picture
[Huawei P20 Pro Questions & Answers] albug68:
If you move the camera close to an object, with the AI enabled, the AI enable SUPER MACRO option.
[Huawei P20 Pro Questions & Answers] fungo45:
Thanks. Mine says CLOSE-UP. Same thing?
[Huawei P20 Pro Questions & Answers] albug68:
Yes, CLOSE-UP is the same.
[Huawei P20 Pro Questions & Answers] Tahir03000:
Can anyone knows how to update Huawei P20 Pro CLT-L09 without root or without TWRP.

I am on June security patch and want to update my phone
[Huawei P20 Pro Questions & Answers] tnnuy:
does anyone know how to root this version?
[Oppo Find 7 and 7a] fazlarabbj:
Hello ,:D

After I bricked my oppo find 7a I was hopeless then Allah helped me and I flashed a stock ROM with QFILthen it wasn't all okey now oppo isn't opening it was stuck in logo but hopefully its fastboot and recovery working fine so I downloaded update package spectrum and color os 2.1.5i . color os 2.1.5i ROM/update pack worked fine but sim and all the sensor gone :crying:,I found a qcn file online I restored it by putting my phone in diagnostic mode by the QPST ,now the sim work WiFi work but sensor are not working like gyro,magnetic,screen of gesture etc:crying:,please help me any of you ,I will pray for anyone who would help me :angel::angel: