A word of advice for folks who unlocked the bootloader without doing a factory reset - Xiaomi Mi A2 Lite Questions & Answers

Yeah hey y'know how the usual default for accessing the bootloader menu in phones is like, Vol. Up+Power or something like that? Yeah, don't do that on the Mi A2 Lite. It'll factory reset the phone.
Signed a dumbass who now has to set up their phone a third time this month (first time was intentional, second time was a f*** up trying to get Camera2 APIs working.) xx
a1291762 said:
There's a thread about unlocking the bootloader without losing data. I'd you do that, some flag is left behind and getting to stock recovery does a factory reset.
But yeah... Generally not something you'd expect to happen automatically and silently.
Click to expand...
Click to collapse
So ignoring my anger driven original post, it turns out that if you forcefully deny the phone a factory reset when you unlock the bootloader (to enable Camera2 APIs, for example, as I did), then do make sure to not hold Vol. Up+Power otherwise it'll end up going straight to that factory reset it originally wanted to do back when you unlocked that bad boy. Considering it happened to me first hand, I'd recommend NOT giving it a try yourself to see if it's actually the case unless you don't care about whats on your A2 Lite.

Vol down + power = fastboot (bootloader)
Vol up + power = recovery
The stock recovery doesn't really do much but it is involved in factory reset (either explicitly called or when unlocking bootloader).
I have started the stock recovery but it didn't do anything (I think a "script" on data is used to tell it what to do).

Okay but generally speaking stock recovery's shouldn't automatically factory reset the phone without prompt? No stock recovery I've ever seen has done that
Also I just realized in my anger driven stupor that this was accidentally posted in the ROMs section lmao sorry mods

picopi said:
Okay but generally speaking stock recovery's shouldn't automatically factory reset the phone without prompt? No stock recovery I've ever seen has done that
Click to expand...
Click to collapse
There's a thread about unlocking the bootloader without losing data. I'd you do that, some flag is left behind and getting to stock recovery does a factory reset.
But yeah... Generally not something you'd expect to happen automatically and silently.

a1291762 said:
There's a thread about unlocking the bootloader without losing data. I'd you do that, some flag is left behind and getting to stock recovery does a factory reset.
But yeah... Generally not something you'd expect to happen automatically and silently.
Click to expand...
Click to collapse
I appreciate all the many threads mentioning the ability to do that also Not Mentioning this fact, urgh...At least it turned out to be for an actually sensible reason. Cheers for the info.

Related

[Q] Screen flickering / Bootloop -> Is my Nexus dead? Data recovery possible?

Hello,
just some hours ago my Galaxy Nexus (SC-04D) rebooted while lying on the table next to me. After several sings of vibration I noticed that the phone doesn't boot completely.
When switching on the phone I get the turn-on-vibration, then the google letters are displayed. Most times the word "google" flickers from left to right over the screen (only the line where the word is supposed to be). Sometimes it boots further and I get the colored "X" displayed. This symbol starts flickering, too and if it went so far it reboots.
Here are two pictures I took from the phone failing to boot:
picpaste.com/img_0001_01-Rmm7kDYb.jpg
picpaste.com/img_0001-eoLqVoiM.jpg
The phone is running stock Android from Docomo. The phone is about 14 months old and has never been unlocked, rooted, modded, taken a bath, ... 'til now.
I tried starting with and without SIM-card, with and without charger attached and let it lie around for several minutes without battery between my tries.
Is there any chance to get my data from the phone or even get it fixed? Please give me a hint what I can do.
Well the Red exclamation mark means that there is a problem with the phone reading the build path. Since you have never rooted the phone, this would mean that the files got corrupt on the phone. With a non-rooted phone a Factory Reset is about the only solution, but is probably only a temporary fix. This is most likely caused by too many apps on the phone and it just freaked out on something eventually.
I think these options might work for you, however I cannot confirm since I have rooted my phone from day one and never looked back:
Power button + up volume= recovery
Thanks GPFboy for your fast response,
GPFboyJS said:
Well the Red exclamation mark means that there is a problem with the phone reading the build path. Since you have never rooted the phone, this would mean that the files got corrupt on the phone. With a non-rooted phone a Factory Reset is about the only solution, but is probably only a temporary fix.
Click to expand...
Click to collapse
As far as I understand a factory reset results in a complete loss of data on the phone, right? So without root/unlock there's no chance to get my data from the phone? That would be really bad.
GPFboyJS said:
This is most likely caused by too many apps on the phone and it just freaked out on something eventually.
Click to expand...
Click to collapse
What is "too many"? I think there are about 35 apps installed atm. By the moment the problem arose wifi and 3g-data,BT,GPS were disabled and just a minute before I took a look how late it was. So nothing special.
GPFboyJS said:
I think these options might work for you, however I cannot confirm since I have rooted my phone from day one and never looked back:
Power button + up volume= recovery
Click to expand...
Click to collapse
The phone reaches fastboot mode, but when selecting recovery mode I get the google logo and after that the open android with the red exclamation mark. That doesn't look good, does it?
BrainSD said:
The phone reaches fastboot mode, but when selecting recovery mode I get the google logo and after that the open android with the red exclamation mark. That doesn't look good, does it?
Click to expand...
Click to collapse
thats stock recovery.
is your bootloader already unlocked or no?
Zepius said:
is your bootloader already unlocked or no?
Click to expand...
Click to collapse
It's still locked.
you might try and go into recovery,
then press (i think) power and vol up and try and see if you can wipe just cache.
Zepius said:
you might try and go into recovery,
then press (i think) power and vol up and try and see if you can wipe just cache.
Click to expand...
Click to collapse
ok, I tried that several time now, but it didn't work. The only thing when I select recovery and press the power button is that I get the google logo and then the dead android + red exclamation sign, but this screen is scrambled and shows flickering pixels as shown in one of my pictures in the first post. So recovery mode seems not to work for me?
Is there a software or hardware problem with my device?
BrainSD said:
ok, I tried that several time now, but it didn't work. The only thing when I select recovery and press the power button is that I get the google logo and then the dead android + red exclamation sign, but this screen is scrambled and shows flickering pixels as shown in one of my pictures in the first post. So recovery mode seems not to work for me?
Is there a software or hardware problem with my device?
Click to expand...
Click to collapse
You can try to unlock your boorloader and flash a custom recovery like cwm or twrp. Maybe that helps. You can always go back and re lock it.
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
You can try to unlock your boorloader and flash a custom recovery like cwm or twrp. Maybe that helps. You can always go back and re lock it.
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
He wants to keep his data... which, at this point, seems rather impossible.
If fastboot doesn't solve it, i would try omapflash, OP. That "flickering" doesn't look good.
beekay201 said:
He wants to keep his data... which, at this point, seems rather impossible.
If fastboot doesn't solve it, i would try omapflash, OP. That "flickering" doesn't look good.
Click to expand...
Click to collapse
Well if I was him I would be more worried about my expensive phone instead of data. Maybe a lesson for later to have a backup
Sent from my Galaxy Nexus using XDA Premium HD app
beekay201 said:
He wants to keep his data... which, at this point, seems rather impossible.
If fastboot doesn't solve it, i would try omapflash, OP. That "flickering" doesn't look good.
Click to expand...
Click to collapse
Yes exactly this is the point. Since I don't have a current data backup the first thing to try is getting my data from the phone. I already tried temporary loading the clockwork recovery through fastboot - with the galaxy nexus toolkit and by hand(sdk) - but it failed ("Bootloader locked").
What I'm wondering about is the fact that the phone seems to behave normally in odin and fastbood mode but going nuts the moment it's expected to boot. Besides the flickering google logo and the "matrix-modded" dead android it even ended up in a totally green screen one time.
At the moment I don't dare trying to unlock/flash the phone because of being afraid getting stuck and ending up with the phone being in some kind of undefined / totally broken state. Initially I was in hope of being able to rescue my data but now i will try my luck with docomo support first.
As far as I understood omapflash is primary used for recovering bricked phones not even starting to odin/fastboot mode. But thanks to your hint I found http://forum.xda-developers.com/showthread.php?t=2016628 "Unlock bootloader on GT-I9250 without wipe and without root" This might bring some chance for data access.
I will try to get through 1 to 4 of the guide first and see how far I get.
If this won't work I might try to unlock, recover and try to "undelete" what's possible. (http://forum.xda-developers.com/showthread.php?t=1994705)
Does this order make sense?
Btw, having a dead phone is bad, of course, even when I got it new for 2300Yen but loosing some pictures i really liked and having no phone atm currently hurts more. Especially when knowing that I was thinking of copying all photos to my computer only one day before when I pulled only some minor important ones from the phone I needed for work and planned to do a full backup and unlock this weekend when I get back my 'Milestone' currently lent to someone else.
Once again something I learned. Backup! Even you phone.
BrainSD said:
As far as I understood omapflash is primary used for recovering bricked phones not even starting to odin/fastboot mode. But thanks to your hint I found http://forum.xda-developers.com/showthread.php?t=2016628 "Unlock bootloader on GT-I9250 without wipe and without root" This might bring some chance for data access.
Click to expand...
Click to collapse
!!!
It will work actually, I read/also replied to that thread! I had forgotten about it, sorry. I must say that if you had already read the stickies that matter, you'd already know about it.
It will unlock your bootloader, bypassing fastboot. Still, it's not for the faint hearted. I refered to omapflash because its a low level tool, it doesn't require the bootloader to be unlocked, and is able to restore the bootloader to working state, and I got there because you mentioned you see graphical glitches/flickering which may indicate bootloader partition failure and/or consequent corruption.
I think that's your best shot at trying to get your data back. After unlock, boot to fastboot and 'fastboot boot custom_recovery.img', and grab your stuff (if you can) from /data/.
beekay201 said:
!!!
It will work actually, I read/also replied to that thread! I had forgotten about it, sorry. I must say that if you had already read the stickies that matter, you'd already know about it.....
Click to expand...
Click to collapse
Your hint was very helpful for me getting the right direction since I'm just starting to dig into all this stuff.
Unlocking went quite well. Writing back to the phone worked without a problem and after that it's shown as unlocked in fastboot mode.
It even started loading clockwork recovery with fastboot. But the initial cw recovery screen (their logo and the cw recovery footer) was already shown on a scattered screen (google logo + unlocked lock was fine). After that the usb port connected and disconnected several times, then the screen went blank.
May this be because of corrupted fs or defective hw?
From my understanding with omapflash one have raw access to the phones internal memory similar to with dd on Unix/Linux. So currently I'm trying to dump ("upload") the emmc from the phone - actually in smaller chunks since omapflash needs to allocate all the memory in advance for the upload and to prevent interruptions. This will take a while...
After that I want to try to 'cat' the parts together and mount the filesystem - might be possible to do this from linux since it seems to be ext4 filesystems
BrainSD said:
Your hint was very helpful for me getting the right direction since I'm just starting to dig into all this stuff.
Unlocking went quite well. Writing back to the phone worked without a problem and after that it's shown as unlocked in fastboot mode.
It even started loading clockwork recovery with fastboot. But the initial cw recovery screen (their logo and the cw recovery footer) was already shown on a scattered screen (google logo + unlocked lock was fine). After that the usb port connected and disconnected several times, then the screen went blank.
May this be because of corrupted fs or defective hw?
From my understanding with omapflash one have raw access to the phones internal memory similar to with dd on Unix/Linux. So currently I'm trying to dump ("upload") the emmc from the phone - actually in smaller chunks since omapflash needs to allocate all the memory in advance for the upload and to prevent interruptions. This will take a while...
After that I want to try to 'cat' the parts together and mount the filesystem - might be possible to do this from linux since it seems to be ext4 filesystems
Click to expand...
Click to collapse
Great, so far so good.
Yeah, they're ext4 images, but sparse images i believe - link

[Q] One M8 Stuck on Logo...Period

I am in need of some serious help. My AT&T M8 won't boot past the HTC logo screen and won't allow me to go into recovery or the hboot screen. I believe I may have wiped the OS on it; this is the only thing I can think of that makes sense. Furthermore, when I try to power down the device by long pressing the power button, it doesn't respond at all. It just stays on the logo screen. It was so bad that I just left it plugged in overnight and I don't have a clue as to how long it took to power off because I fell asleep before it did. If there's a video tutorial out there that someone has or simply a link that can show me how to install something via backdoor on this device, that would be great!
alpinesun said:
I believe I may have wiped the OS on it; this is the only thing I can think of that makes sense. !
Click to expand...
Click to collapse
Recount as best you can, all the steps that got the phone to this point.
What were you trying to do when this happened?
Also, need much more info in order to help:
1) bootloader unlocked?
2) custom or stock recovery
3) custom ROM?
4) what hboot number?
5) s-on or s-off
6) did you make a nandroid with custom recovery?
alpinesun said:
Furthermore, when I try to power down the device by long pressing the power button, it doesn't respond at all. It just stays on the logo screen.
Click to expand...
Click to collapse
Hold power and vol up for several seconds to force a reboot. The moment the screen goes dark to reboot, let go of those buttons, and just hold vol down. Don't let go until the hboot screen appears.
Thanks already. I didn't realize I had to hold down the volume down button after it goes dark. It got me into twrp. I believe I should be good from here after I download a new rom to sideload. But to give you a run down, I was prepping the phone to sell it by wiping the data and installing the rom the guy said he wanted on it. When I was going thru the normal procedure to install the rom (wipe, flash, etc) that's when the phone started sticking on the logo screen. My assumption was that I downloaded a bad rom, so since then I've been trying to get back into twrp so I can load a new rom and finally was able to after you told me this. I'll report back if a new rom actually didn't help the situation. I only thought I wiped the OS because something similar happened with my Note when I was tinkering and that was the result.
alpinesun said:
I'll report back if a new rom actually didn't help the situation.
Click to expand...
Click to collapse
If you need any further help, please answer all the questions I previously asked.
Good luck.
redpoint73 said:
Recount as best you can, all the steps that got the phone to this point.
What were you trying to do when this happened?
Also, need much more info in order to help:
1) bootloader unlocked?
2) custom or stock recovery
3) custom ROM?
4) what hboot number?
5) s-on or s-off
6) did you make a nandroid with custom recovery?
Hold power and vol up for several seconds to force a reboot. The moment the screen goes dark to reboot, let go of those buttons, and just hold vol down. Don't let go until the hboot screen appears.
Click to expand...
Click to collapse
So, it seems I'm still having the problem, even while trying to install cyanogen. Here are the answers to those questions...
1) bootloader unlocked?... YES
2) custom or stock recovery... TWRP
3) custom ROM?... It was a custom AOSP Rom
4) what hboot number?... 3.16.0.0000
5) s-on or s-off... S-OFF
6) did you make a nandroid with custom recovery?... It was erased
Any help you can give from this point would be awesome. Thanks again!
alpinesun said:
So, it seems I'm still having the problem, even while trying to install cyanogen.
Click to expand...
Click to collapse
Failure to flash ROMs can often be solved with fastboot erase cache, then install TWRP by fastboot again. Update TWRP version, if you are using an outdated one.
Also, if you try to flash any ROMs based on Sense software beyond version 1.x (huge majority of them are past 1.x at this point) you will likely experience extremely long boot times (10 minutes or more) and broken WiFi due to outdated firmware. But CM should be okay.
alpinesun said:
6) did you make a nandroid with custom recovery?... It was erased
Click to expand...
Click to collapse
It was erased, or you wiped it?
Okay. Do you suggest trying an older sense rom to see if it works? The last time touched the phone was when I picked up my Note 4, so I will look for something that predates that.
As for the nandroid being erased, I can only assume it was my actions that caused it to be deleted, but I don't recall intentionally doing it.
alpinesun said:
Okay. Do you suggest trying an older sense rom to see if it works?
Click to expand...
Click to collapse
Sure, it couldn't hurt. With your current firmware, you will need a ROM based on 1.x software. There aren't a heck of a lot of those left. But there are a few. GoldenEye is one I can personally vouch for, since I was running it for a while back in the day:
http://forum.xda-developers.com/showthread.php?t=2705640
But I would definitely recommend just trying fastboot erase cache and re-install TWRP first. I've lost count how many times suggesting this simple fix has helped other users here on XDA, when ROMs fail to flash.
alpinesun said:
As for the nandroid being erased, I can only assume it was my actions that caused it to be deleted, but I don't recall intentionally doing it.
Click to expand...
Click to collapse
Fair enough. Just FYI, don't do a factory reset in bootloader (in the OS settings or recovery is OK). On modded phones this may cause the internal storage to become corrupted. Nandroids have sometimes been lost this way. This may or may not be what happened to you. Just wanted to throw that out there.
Also, there has been the occasional occurrence of internal storage being corrupted, possibly by TWRP. It may not even have been something you caused.

Stuck on "Google" screen

I was using my phone like I usually do, and then it suddenly froze. So I held down the power button, forcing it to restart. Ever since, the screen only shows "Google" for a while, then becomes blank; no booting animation. It would restart itself occasionally.
I tried booting into recovery mode by holding Power+VolDown, and selecting "recovery mode". For the first few tries, it would go back to the Google screen, the turn blank. After giving it a break and trying again, I finally got to the "no command" screen, and I wiped the cache partition. Sadly, I'm still having the same problem.
Is this a bootloop? How can I fix this?
Any help would be greatly appreciated.
This happened to me and Google sent a replacement phone. However the replacement phone is a refurbished phone that suffers from ghost touches Now trying to get a replacement for the replacement.
Ocelot584 said:
I was using my phone like I usually do, and then it suddenly froze. So I held down the power button, forcing it to restart. Ever since, the screen only shows "Google" for a while, then becomes blank; no booting animation. It would restart itself occasionally.
I tried booting into recovery mode by holding Power+VolDown, and selecting "recovery mode". For the first few tries, it would go back to the Google screen, the turn blank. After giving it a break and trying again, I finally got to the "no command" screen, and I wiped the cache partition. Sadly, I'm still having the same problem.
Is this a bootloop? How can I fix this?
Any help would be greatly appreciated.
Click to expand...
Click to collapse
can u boot into bootloader mode?
dominoeflux said:
can u boot into bootloader mode?
Click to expand...
Click to collapse
What's that? Is it the screen that comes up when you hold down Power+VolumeDown and gives you the option to select Start, Power Off, Restart Bootloader, or Recovery?
Ocelot584 said:
What's that? Is it the screen that comes up when you hold down Power+VolumeDown and gives you the option to select Start, Power Off, Restart Bootloader, or Recovery?
Click to expand...
Click to collapse
Yes that's the one. If u can get back to that screen you should be able to flash it back stock and re root the phone with out any problems
dominoeflux said:
Yes that's the one. If u can get back to that screen you should be able to flash it back stock and re root the phone with out any problems
Click to expand...
Click to collapse
So are you saying that I should factory reset my phone from the recovery menu, or do I have to use the method that requires the factory image?
My phone wasn't rooted btw, so I can't re-root it.
Ocelot584 said:
So are you saying that I should factory reset my phone from the recovery menu, or do I have to use the method that requires the factory image?
My phone wasn't rooted btw, so I can't re-root it.
Click to expand...
Click to collapse
Oh ok I thought it was sorry if I wasn't of any help
dominoeflux said:
Oh ok I thought it was sorry if I wasn't of any help
Click to expand...
Click to collapse
haha it's ok you tried to.
Rooted or not, do you think factory resetting it will fix the problem as long as I can get to the bootloader menu?
Ocelot584 said:
haha it's ok you tried to.
Rooted or not, do you think factory resetting it will fix the problem as long as I can get to the bootloader menu?
Click to expand...
Click to collapse
In pretty positive that it will, make sure u unlock the Bootloader first before you do anything. Do you know how to unlock it?
dominoeflux said:
In pretty positive that it will, make sure u unlock the Bootloader first before you do anything. Do you know how to unlock it?
Click to expand...
Click to collapse
nope...what's a bootloader anyway?
Ocelot584 said:
nope...what's a bootloader anyway?
Click to expand...
Click to collapse
The bootloader allows the phone to be unlocked to flash custom ROMs on it, without it unlocked you'll brick your phone. Read up about rooting your phone first so you can get the idea of what goes into it before attempting it. Once you get the general idea of unlocking the phone and flashing things on it, it becomes relatively easy. There's even a nexus root toolkit on this forum that you can download on your computer for free as well as "how-to's" for doing it
dominoeflux said:
The bootloader allows the phone to be unlocked to flash custom ROMs on it, without it unlocked you'll brick your phone. Read up about rooting your phone first so you can get the idea of what goes into it before attempting it. Once you get the general idea of unlocking the phone and flashing things on it, it becomes relatively easy. There's even a nexus root toolkit on this forum that you can download on your computer for free as well as "how-to's" for doing it
Click to expand...
Click to collapse
Wait...what?? So if I choose to factory reset my phone now without unlocking the bootloader, it might become completely useless? Is rooting necessary?
Ocelot584 said:
Wait...what?? So if I choose to factory reset my phone now without unlocking the bootloader, it might become completely useless? Is rooting necessary?
Click to expand...
Click to collapse
No is not necessary, but in order to re flash the factory image to fix the problem the bootloader must be unlocked. You never have to root your device but having a unlocked bootloader is essential to flashing anything on your device other wise like I said, you'll brick your phone. You can even lock it back to full stock once you've re flashed the image.
Edit: there's another way of flashing the factory image but it requires some searching. You might not be able to do it the way I'm explaining to you Because you would have to give it permission to be unlocked in the developers option while the phone is booted up and operative
dominoeflux said:
No is not necessary, but in order to re flash the factory image to fix the problem the bootloader must be unlocked. You never have to root your device but having a unlocked bootloader is essential to flashing anything on your device other wise like I said, you'll brick your phone. You can even lock it back to full stock once you've re flashed the image.
Edit: there's another way of flashing the factory image but it requires some searching. You might not be able to do it the way I'm explaining to you Because you would have to give it permission to be unlocked in the developers option while the phone is booted up and operative
Click to expand...
Click to collapse
Oh...I see. So what about the factory reset option in the recovery menu? Would you expect that to fix it too?
Ocelot584 said:
Oh...I see. So what about the factory reset option in the recovery menu? Would you expect that to fix it too?
Click to expand...
Click to collapse
Of course
Edit: have you tried resetting it in the factory recovery?
dominoeflux said:
Of course
Edit: have you tried resetting it in the factory recovery?
Click to expand...
Click to collapse
Nope...I was waiting to see if I could find a way to recover my data first
Ocelot584 said:
Nope...I was waiting to see if I could find a way to recover my data first
Click to expand...
Click to collapse
When u first bought your phone and it takes you through the set up window, when it asked you to put in your email, that right there backs up all your apps that you previously had in the phone so when you go through the setup again, it's going to ask you if you want to start as a new phone or recover your previous apps. You won't be able to recover all of your data but you should be able to recover all of your apps.
dominoeflux said:
When u first bought your phone and it takes you through the set up window, when it asked you to put in your email, that right there backs up all your apps that you previously had in the phone so when you go through the setup again, it's going to ask you if you want to start as a new phone or recover your previous apps. You won't be able to recover all of your data but you should be able to recover all of your apps.
Click to expand...
Click to collapse
Alright, but since all my data won't be recovered, is there a way to get access to files on my phone before I factory reset it?
Ocelot584 said:
Alright, but is there a way to get access to files on my phone before I factory reset it?
Click to expand...
Click to collapse
Sorry bro but I wish there was.... There actually is away, but you would have have to have been rooted with a custom recovery on your phone and since you had neither, there's my other way
Edit: I meant no other way
dominoeflux said:
Sorry bro but I wish there was.... There actually is away, but you would have have to have been rooted with a custom recovery on your phone and since you had neither, there's my other way
Edit: I meant no other way
Click to expand...
Click to collapse
oh... wow.
I'll just suck it up and reset it then. I'll let u know how it goes.

[SOLVED] Phone won't boot up after factory reset

Hey guys I've been on the XDA forums for a while to use XDA Labs, as well as get kernels and rom's for my Pixel 2 XL
I decided to factory reset to bring my phone back to a complete stock feel and now it won't go past the G logo with the loading grey bar.
I had Magisk and Kirisukura kernel installed. But prior to factory resetting I
1. Uninstalled Magisk, through TWRP and the magisk uninstaller.
2. Reflashed stock boot img to bring it back to an essentially stock phone with no modifications whatsoever.
The only thing that I'm thinking might have caused this is that I factory reset via the phone settings as opposed to clean flashing a factory image via ADB but I didn't think that mattered?
Regardless, no matter how long I leave the phone it doesn't go past the G Logo with the grey loading bar (Note: the bar does move and isn't frozen).
I've tried booting in recovery mode and wiping/factory resetting from there but regardless of what I do it doesn't seem to allow the phone to boot up.
Any help would do I really love this phone and it would break my heart knowing I've hard bricked it, the bootloader is unlocked as well but I don't think ADB works because I haven't been able to boot into the phone to allow USB debugging which is frustrating.
Thanks in advance for any help/replies
MrPariah said:
Hey guys I've been on the XDA forums for a while to use XDA Labs, as well as get kernels and rom's for my Pixel 2 XL
I decided to factory reset to bring my phone back to a complete stock feel and now it won't go past the G logo with the loading grey bar.
I had Magisk and Kirisukura kernel installed. But prior to factory resetting I
1. Uninstalled Magisk, through TWRP and the magisk uninstaller.
2. Reflashed stock boot img to bring it back to an essentially stock phone with no modifications whatsoever.
The only thing that I'm thinking might have caused this is that I factory reset via the phone settings as opposed to clean flashing a factory image via ADB but I didn't think that mattered?
Regardless, no matter how long I leave the phone it doesn't go past the G Logo with the grey loading bar (Note: the bar does move and isn't frozen).
I've tried booting in recovery mode and wiping/factory resetting from there but regardless of what I do it doesn't seem to allow the phone to boot up.
Any help would do I really love this phone and it would break my heart knowing I've hard bricked it, the bootloader is unlocked as well but I don't think ADB works because I haven't been able to boot into the phone to allow USB debugging which is frustrating.
Thanks in advance for any help/replies
Click to expand...
Click to collapse
Is OEM unlocking turned on in developer options?
If so, have you tried fastbooting the factory image?
Did you try a few hard restarts with the power button?
Badger50 said:
Is OEM unlocking turned on in developer options?
If so, have you tried fastbooting the factory image?
Did you try a few hard restarts with the power button?
Click to expand...
Click to collapse
Did a few hard restarts with the power button and and then tried flashing a factory image and it worked. Phone is up and running and working well thank you very much! How do I let a mod know to close this thread now that it is solved?
MrPariah said:
Did a few hard restarts with the power button and and then tried flashing a factory image and it worked. Phone is up and running and working well thank you very much! How do I let a mod know to close this thread now that it is solved?
Click to expand...
Click to collapse
The mods will see your post, and then decide if they want to close it or not. However, you'll likely not be the last user that this will happen to, so, they may very well leave it open for future reference
Hello @MrPariah,
We can absolutely leave the thread open since other member could use it for future questions / help.
If you have time, I suggest you to edit the thread title by adding [SOLVED] and you can even edit the 1st post yourself with the correct procedure to fix the initial issue ("...won't go past the G logo with the loading grey bar."). It may help other members with the same issue.
But if you still want to close the thread, you can send me a private message and I will do it.
Please let me know
MrPariah said:
How do I let a mod know to close this thread now that it is solved?
Click to expand...
Click to collapse
In case you need to request a thread closure (or XDA rule violations), you have to use the report button (using a web browser), any moderator available will handle it.
Thanks
Wood Man
Senior Moderator

Question Bootloader Unlocked and You Device Is Corrupt Message

Is it normal to get the "Your device might be corrupt" message if you just unlock your bootloader? I have not flashed a customer kernel or Magisk, just unlocked the bootloader. I was rooted with the fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img, but I did a clean flash of the firmware, but still get this message. When I have verity disabled I don't get the message. Just want to make sure that the message is normal?
Normal if you are unlocked.
Yep, normal.
Ok just making sure. It sucks that you have to push the power button to start your phone with just the bootloader unlocked.
ilatimer1 said:
Ok just making sure. It sucks that you have to push the power button to start your phone with just the bootloader unlocked.
Click to expand...
Click to collapse
You don't. It'll still boot on its own, just give it a few seconds. Actually, I think pressing the power button once causes it to pause booting.
roirraW edor ehT said:
You don't. It'll still boot on its own, just give it a few seconds. Actually, I think pressing the power button once causes it to pause booting.
Click to expand...
Click to collapse
No there are two messages. The first one is that you device might be corrupt. It requires you to press the power button to continue. The second message is the bootloader unlocked message with will just boot if you ignore it.
ilatimer1 said:
No there are two messages. The first one is that you device might be corrupt. It requires you to press the power button to continue. The second message is the bootloader unlocked message with will just boot if you ignore it.
Click to expand...
Click to collapse
Hmmm. You say when you have verity disabled, you don't get the message. If this is accurate, I would consider either keep disabling it each time you flash the stock image, or if you have the energy, do a factory reset, but note of course that a factory reset will cause your phone to require complete setup as if it was new. You'd still get the one message about the bootloader being unlocked - that's the one that's normal.
At this time, it would probably be helpful to know your complete situation.
We know you've unlocked the bootloader, and that at some point you disabled Verity and Verification, and it sounds like you reflashed stock with Verity and Verification not disabled. Correct me if I'm wrong. Can you be more detailed about exactly what's been done since you unlocked the bootloader?
roirraW edor ehT said:
Hmmm. You say when you have verity disabled, you don't get the message. If this is accurate, I would consider either keep disabling it each time you flash the stock image, or if you have the energy, do a factory reset, but note of course that a factory reset will cause your phone to require complete setup as if it was new. You'd still get the one message about the bootloader being unlocked - that's the one that's normal.
At this time, it would probably be helpful to know your complete situation.
We know you've unlocked the bootloader, and that at some point you disabled Verity and Verification, and it sounds like you reflashed stock with Verity and Verification not disabled. Correct me if I'm wrong. Can you be more detailed about exactly what's been done since you unlocked the bootloader?
Click to expand...
Click to collapse
So there is a little more backstory. I was rooted with verity disabled and everything was working fine. When it came out that the new Magisk did not need verity disabled I decided to start from scratch and clean flash my phone.
I used the Google online flashing tool and around 3/4 of the way through the laptop froze and the flash failed. I ended up soft bricking my phone. I was able to get back to fastboot and did a clean flash using the flash-all.bat file. I noticed that I now had the corruption message.
So after that I decide to use the Google online flashing tool one more time and was successful, but I still had the corruption message. I finally decided to relock the bootloader to see if that would help. The corruption message did go away after locking the bootloader.
Now with everything back to clean stock I decide to try an unlock the bootloader again and when I reboot I get the corruption again. I am at kind of a loss now on what to try. Just as a FYI, I did try having the Google flashing tool force partition flashing to see if that would help, but it did not.
ilatimer1 said:
So after that I decide to use the Google online flashing tool one more time and was successful, but I still had the corruption message. I finally decided to relock the bootloader to see if that would help. The corruption message did go away after locking the bootloader.
Now with everything back to clean stock I decide to try an unlock the bootloader again and when I reboot I get the corruption again. I am at kind of a loss now on what to try. Just as a FYI, I did try having the Google flashing tool force partition flashing to see if that would help, but it did not.
Click to expand...
Click to collapse
Try a factory reset without any further flashing and see if that helps. Settings / System / Reset options / Erase all data (factory reset).
First, thank you all for offering advice. I ended up resolving my issue by downgrading to .37 and now the corruption message is gone with the bootloader unlocked .
ilatimer1 said:
First, thank you all for offering advice. I ended up resolving my issue by downgrading to .37 and now the corruption message is gone with the bootloader unlocked .
Click to expand...
Click to collapse
For my small part, you're welcome. Are you going to try to re-upgrade? It's a very unusual problem and there should be a solution - I just don't know what it is, but there are a lot more knowledgeable folks around here.
roirraW edor ehT said:
For my small part, you're welcome. Are you going to try to re-upgrade? It's a very unusual problem and there should be a solution - I just don't know what it is, but there are a lot more knowledgeable folks around here.
Click to expand...
Click to collapse
I just sideloaded the .17 update and everything is good to go!

Categories

Resources