[Q] Fastboot mode absent in my phone? - General Questions and Answers

Hey guys,
recently joined this place and its awesome. So many things you can learn...
Ok onto the issue - I was gifted a Micromax A092 a few days back. Qualcomm quad core processor, 1GB Ram, Jelly Bean 4.3.
Well after rooting it somehow (total nightmare - there are a couple of guys in another thread I have been posting in out here, who are still unsuccessfully trying to root theirs) and installing SuperSU and enabling USB debugging, I have hit a brick wall with fastboot mode. The Vol down + Power button combo gets me to the logo screen where it stays till I am forced to pull the battery out to reboot.
Phone does get detected under Device Manager while its stuck on the logo screen and I can install drivers to get it to show up as Android ADB Interface/Android ADB Composite Interface but fast boot refuses to detect it even though adb does when connected normally and executes all commands properly.
Well here's a list of things I have tried:
15 seconds ADB Installer - check
Minimal ADB and fastboot - check
Android SDK with google drivers and unnecessary packages - check
Universal naked drivers - check
Modding the inf files with my devices hardware id's - check
Pdanet+ driver installation method - check
Mobrobo/Mobogenie - check
Manual driver installation - check
Different USB cables - check
Few other random hacks - check
Later gave adb sideloading a shot hoping I could flash a custom recovery onto it via command prompt. No dice there either. Being unable to flash anything means I am still rocking "android system recovery 3e" as my recovery mode which in turn means the dreaded signature verification failed message trying to install 3rd party apps in recovery and sideload mode. I have also tried installing a couple of these custom recovery modes via .bat files but I guess its failing due to the same damn signature verification reason.
Now I know all phones don't ship with fastboot mode but given that this phone was released just a couple of months back and 2 year old inferior phones from Micromax have said feature gives me hope that maybe there indeed exists a way to flash it.
Also got this .dat file from somewhere for apparently flashing my phone with a stock ROM :
@ECHO off
adb reboot bootloader
echo for not erase modemst1 and modest2
rem fastboot flash partition gpt_both0.bin
fastboot flash aboot emmc_appsboot.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash tz tz.mbn
fastboot flash rpm rpm.mbn
fastboot flash sdi sdi.mbn
rem fastboot flash fsg fs_image.tar.gz.mbn.img
rem fastboot flash modemst1 dummy.bin
rem fastboot flash modemst2 dummy.bin
fastboot flash modem NON-HLOS.bin
echo for not erase bt and wifi information
rem fastboot flash persist persist.img
fastboot flash cache cache.img
fastboot flash usbmsc usbdisk.img
fastboot erase splash
fastboot flash splash splash.img
fastboot -S 256M flash system system.img
fastboot flash recovery recovery.img
fastboot -S 256M flash userdata userdata.img
fastboot flash boot boot.img
fastboot reboot
Seeing a lot of fastboot commands in there make me slightly optimistic if might have a fastboot mode after all?
So anyways what am I missing here? Or does the phone not have fastboot mode at all? Coupled with the fact that the asinine default recovery mode won't allow me to load custom apps via side load, what other options do I have? Is fastboot a prerequisite for flashing?
Really frustrated...a little help please guys...thanks.
PS: What is the difference between bootloader and fastboot mode? I can get my phone into bootloader mode via the necessary adb command but it's still stuck at the logo screen so don't know what to make of it.

Related

[Q] No OS One Plus

Hello,
I have been updating my cyanogenmod 12s using the nightlies for a while now.
While I was updating with the update on the 18th, my phone got stuck at the 'upgrading apps' step and keeps repeating the upgrade for hours.
I accidentally then wiped the phone completely in TWRP while trying to restore the phone.
I lost the backups and OS. The warning saying 'No OS installed' shows up when I try rebooting.
My PC does not show the phone when I connect it via USB. I have nothing on TWRP to install either.
Can anyone please suggest how I should proceed?
Thank you,
Abhi2488
1. If you can boot into fastboot, just download stock CM11S fastboot package (you wont have trouble find it, just search forum) and simply flash it with fastboot, one by one partition.
I will just qoute some instructions from oneplus forum:
"Once you're on ColorOS and want to go to Cyanogenmod 11S, you have a few options. The easiest way if to use a toolkit from http://forum.xda-developers.com/onep...9-gui-t2807418, or you can download an image manually from: http://forum.xda-developers.com/onep...stock-t2826541 and run the following commands in fastboot mode:
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
Make sure you have the proper image. I accidentally installed the 16GB version on my 64GB OPO first time and obviously didn't get 64GB of space.
That's about it. I think if people are still having problems then it's likely due to drivers, or Windows 7/8 issue. If you're still getting stuck, let me know, I'll see if I can help."
2. If you allready have custom recovery installed, you can try to flash any custom rom from OTG USB disc (you need OTG cable or OTG adapter and USB fat32 formatted disc where you will copy some custom firmware).

Duplicating a tablet with no custom recovery

Hello.
I have a somewhat unique situation.
I have more than one unit of identical, generic (not a standard brand) tablets. They are all rooted, so I do have root access. However, they don't have a custom recovery - there isn't one readily available (I have looked far and wide).
One of the tablets has the OS (with all the Google -and other- apps) I want to replicate on to the others (this is admittedly an oldish Kitkat OS, but while I have one of them running Lollipop successfully, I am unable to get Gapps to run with Lollipop, hence the reversion to Kitkat). I only want to replicate the OS, there are no other complications such as IMEI, etc that I need to replicate.
What do I need to accomplish this? I am comfortable flashing, rooting, etc, but I am by no stretch of imagination an Android developer, so creating a custom recovery is beyond me.
What I have tried so far:
0. The tablets are already rooted. Used Kingo to ensure root access to apps if/when necessary.
1. ADB/Fastboot flashes. This is by far most successful, although I don't have a system.img/recovery.img of the 'good' tablet. The others (including Jellybean, Kitkat and Lollipop) that I do have don't have Gapps on the OS and I am unable to install them through ADB (or native tablet-based installation) with the apks. (Google play services error).
2. dd-ing the images from the 'good' tablet to the bad ones (soft bricked, had to reflash with working images in 1. to get it back up again). (dd if=<> of=<>)
3. Taking Online-Nandroid backups, but unable to flash this image through the Nandroid Manager (and can't do it through recovery since lacking a custom recovery). I can't flash this through ADB since it isn't an system.img/recovery.img type backup.
Given this background, what I need to do is create boot.img, system.img, recovery.img, cache.img, persist.img, userdata.img from the 'good' tablet and flash these to the 'bad' ones. I have searched and searched - both on XDA and over Google at large. But I haven't found an answer to this specific issue of replicating a tablet entirely through ADB. The ones I have found (dd-method) didn't work.
Here's the Flashing batch file I've been using, that I know brings up one of these tablets. I assume I can continue to use the 'modem and bootloaders' that I currently have, although I would prefer to extract them from the 'good' tablet just to be sure.
Any help greatly appreciated.
Code:
adb root
adb wait-for-device reboot bootloader
sleep 5
:: erase all the partitions
fastboot erase modem
fastboot erase boot
fastboot erase system
fastboot -w
:: flash the modem and bootloaders
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash aboot emmc_appsboot.mbn
echo Flashed the bootloaders!
:: reboot the target
fastboot reboot
sleep 1
:: flash the linux images
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash persist persist.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
echo Done flashing the images, rebooting the target!
fastboot reboot

Stuck in Bootloop after restoring call and sms history

I was running LineageOS 16, the unit went into a bootloop while I was restoring the call and sms history to update it from my main phone. It is something I have been doing weekly for a year now.
I can boot into 'fastboot mode' but not 'recovery mode'.
In fastboot it is recognised by the comand
Code:
fastboot devices -l
. Typing
Code:
fastboot boot /<path_to_file>/twrp-3.3.1-0-bacon.img
puts it back into the bootloop, as does the command
Code:
fastboot reboot-bootloader
.
What can I try next to recover the unit?
Are you hesitant in flashing TWRP instead? Also, use the K-releases of TWRP (see the guide in my signature). They work better opposed to the official releases.
Wrapped with delicious Fajita [emoji896]
I was hoping to recover the unit rather than avoiding re-flashing it.
Is the operating system and all the data lost?
If that is what has happened then I will rebuild, trying the version of TWRP you suggested.
Regards.
alistairrc said:
I was hoping to recover the unit rather than avoiding re-flashing it.
Is the operating system and all the data lost?
If that is what has happened then I will rebuild, trying the version of TWRP you suggested.
Regards.
Click to expand...
Click to collapse
Perhaps the NAND memory sector was damaged, which was very important to boot. It is possible because the memory is overwritten all the time.
Read the entire story of another user who had a similar system loss problem.
The best TWTP was made by The Muppets
twrp-3.2.3-20190125-bacon.img
It is based on a toybox, and not like other TWRP in which there is a busybox. Toybox contains more repair tools and is therefore better than busybox.
have tried to recover using "cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot"
but I get an error when I try the command:
Code:
fastboot flash modem NON-HLOS.bin
error: cannot load 'NON-HLOS.bin'
I am now struggling to find any guides that can help me.
(Most of the guides I have read state "connect phone and boot into fastboot mode" but my unit will not boot to fastboot mode when it is connected.)
I have tried to restore the unit twice using
cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot.zip
First using the all in one tool on a windows 8.1 box, then using these commands on a linux box:
Code:
fastboot oem unlock
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
The phone is still stuck either in a bootloop, or in fastboot mode.
What can I try now?

Weird behavior - Boot loop / Random

Is anyone experience bootloops on random occasions with android 10 ROMs?
Things work great, played with tons of stuff and when android 10 ROMs appeared I jump to them. With android 9 firmware and android 10 custom ROMs I had no issues except the HEVC issues which were common before they fix this.
So after a while Xiaomi release android 10(miui) and I've put the firmware only and clean flash custom ROMs but after a few weeks I've experience some hard reboots. Random without any reason, bam hard reboot and when it occured it was bootlooping without a stop.
So Xiaomi image(unlocked), rom load and bam again restart, sometimes it booted properly but most of the times the boot loop never stopped UNLESS I force restart faster than the rom logo and enter twrp and shut it off and leave it a few seconds then boot it up ...after that it was working fine until the next boot loop that might occur same day or a few days later
One time it bootloop I enter to twrp fast and it boot looped even in TWRP!!!
This is weird, so let's fastboot the phone and clean everything up. Using Mi flashtool I tried to flash MIUI, after 30+ minutes nothing..it was trying to flash. Oh well. I force restart and enter fastboot and tried again..it finished with error but seemed to flash MIUI properly, clean flash custom ROMs but the issue remains
Anyone have similar experience? After some search some other Xiaomi users have similar issues and use an app called "wakelock" ..I'll see how this goes
P.S. If issue remains I'll fastboot the phone manually(without the mi flashtool), that would be my last resort - Sorry for the long post
P.S.2 usually the bootloop starts when I'm stop using my phone and press the power button to turn off display, it never happened when the phone is on idle
EDIT: Wakelock didn't save anything, got bootloop once again ..tonight I'm gonna try fastboot manual ..hoping for a fix(if it still keeps messing around I'd go back to android 9 where I had no issues at all)
So Xiaomi flash tool failed me if you read my original post, didn't want to risk it again, so I backup up everything and went the old way, it seems the bootloop is fixed, my proximity issues are also fixed(proximity sensor worked on short calls but on long calls the screen remained black - cleaned it as some suggested but the issue was there, now it seems that it's also fixed!!)
So if you have weird behavior just use CMD with fastboot style and write the following(one at a time, or you can create a batch file(bat file) but I strongly recommend that you do it one after another and seek for "success" after each command):
fastboot erase boot
fastboot flash crclist crclist.txt
fastboot flash sparsecrclist sparsecrclist.txt
fastboot flash xbl_ab xbl.img
fastboot flash xbl_config_ab xbl_config.img
fastboot flash abl_ab abl.img
fastboot flash tz_ab tz.img
fastboot flash hyp_ab hyp.img
fastboot flash devcfg_ab devcfg.img
fastboot flash storsec_ab storsec.img
fastboot flash bluetooth bluetooth.img
fastboot flash cmnlib_ab cmnlib.img
fastboot flash cmnlib64_ab cmnlib64.img
fastboot flash modem modem.img
fastboot flash dsp dsp.img
fastboot flash keymaster_ab keymaster.img
fastboot flash logo logo.img
fastboot flash misc misc.img
fastboot flash aop_ab aop.img
fastboot flash qupfw_ab qupfw.img
fastboot flash ImageFv imagefv.elf
fastboot flash vendor vendor.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot erase sec
fastboot flash cust cust.img
fastboot flash boot boot.img
fastboot reboot
P.S. This WILL ERASE your internal data but won't lock bootloader, so back up your photos and files before
Requirements:
1) ADB Installer v1.4.3 (or any adb installer you prefer)
2) Fastboot MIUI rom, I've use "polaris_global_images_V11.0.4.0.QDGMIXM_20200325.0000.00_10.0_global_82f39e53fd"

How To Guide Restore OnePlus 9 to Stock via Fastboot Commands

This guide assumes you have the SDK Platform Tools installed and working, along with USB drivers for your device (if needed), and have your full update zip which you've already extracted the payload.bin from, and then dumped the images using payload dumper. If you haven't done any of these things yet, there are plenty of other guides out there on how to do them.
Steps:
1. Reboot your device to the bootloader (power off, then hold volume up + power) and connect it to USB.
2. The following command will wipe your device. I found this to be necessary to recover my OnePlus 9:
Code:
fastboot -w
3. Now flash the following files:
Code:
fastboot flash boot boot.img
fastboot flash cpucp cpucp.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash oplus_sec oplus_sec.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash splash splash.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img
4. Now reboot into userspace fastboot, aka fastbootd. If you don't do this, the remaining files cannot be flashed:
Code:
fastboot reboot fastboot
5. Flash the remaining files:
Code:
fastboot flash abl abl.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash product product.img
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash odm odm.img
6. Final reboot:
Code:
fastboot reboot
7. If everything worked your phone should now boot into OxygenOS.
Note:
The files will be flashed to your currently active boot slot. If any of them fail to flash, switch to the other slot and start over from the beginning. I wasn't able to flash odm, product, system, system_ext and vendor to slot a, and had to use slot b instead. To check current slot:
Code:
fastboot getvar current-slot
To switch slots:
Code:
fastboot --set-active=a
or
Code:
fastboot --set-active=b
Use this guide at your own risk. I take no responsibility if you brick your device, set it on fire, or otherwise mess it up as a result of any of the above steps. That being said, it worked for me using 11.2.2.2.LE25AA available from the official OnePlus support website.
If you want, you can do the flashing easily with powershell, rather than running each command one after the other. Here is what I did:
1. Have fastboot.exe in your path, or in the same folder as all your extracted images. Open powershell and navigate to the folder with your boot images. Connect your phone to USB.
2. This will wipe your device! Reboot to the bootloader and run:
Code:
fastboot -w
3. Run:
Code:
gci -filter *.img | where {$_.Name.split('.')[0] -match 'boot|cpucp|dtbo|modem|oplusstanvbk|oplus_sec|qweslicstore|shrm|splash|vbmeta|vbmeta_vendor|vbmeta_system|vendor_boot|vm-bootsys'} | foreach-object { fastboot.exe flash $($_.Name.split('.')[0]) $_.Name }
4. Run:
Code:
fastboot reboot fastboot
5. Run:
Code:
gci -filter *.img | where {$_.Name.split('.')[0] -match 'abl|aop|bluetooth|devcfg|dsp|featenabler|hyp|imagefv|keymaster|multiimgoem|qupfw|tz|uefisecapp|xbl|xbl_config|product|system|system_ext|vendor|odm'} | foreach-object { fastboot.exe flash $($_.Name.split('.')[0]) $_.Name }
6. Run:
Code:
fastboot reboot
7. Proceed to boot normally.
The commands in steps 3 and 5 get a list of all files in the current directory with the .img extension, filter them to the correct ones to flash, and then flash them one after another.
If someone wants, I can probably throw together a script to run the whole process start to finish.
Edit: script attached. I've (unfortunately) had the opportunity to test it and fix all the bugs. So it works. You will need to have fastboot.exe accessible in your system PATH to run it.
Slikkster2k said:
If you want, you can do the flashing easily with powershell, rather than running each command one after the other. Here is what I did:
1. Have fastboot.exe in your path, or in the same folder as all your extracted images. Open powershell and navigate to the folder with your boot images. Connect your phone to USB.
2. Reboot to the bootloader and run:
Code:
fastboot -w
This will wipe your device!
3. Run:
Code:
gci -filter *.img | where {$_.Name.split('.')[0] -match 'boot|cpucp|dtbo|modem|oplusstanvbk|oplus_sec|qweslicstore|shrm|splash|vbmeta|vbmeta_vendor|vbmeta_system|vendor_boot|vm-bootsys'} | foreach-object { fastboot.exe flash $($_.Name.split('.')[0]) $_.Name }
4. Run:
Code:
fastboot reboot fastboot
5. Run:
Code:
gci -filter *.img | where {$_.Name.split('.')[0] -match 'abl|aop|bluetooth|devcfg|dsp|featenabler|hyp|imagefv|keymaster|multiimgoem|qupfw|tz|uefisecapp|xbl|xbl_config|product|system|system_ext|vendor|odm'} | foreach-object { fastboot.exe flash $($_.Name.split('.')[0]) $_.Name }
6. Run:
Code:
fastboot reboot bootloader
7. Proceed to boot normally.
The commands in steps 3 and 5 get a list of all files in the current directory with the .img extension, filter them to the correct ones to flash, and then flash them one after another.
If someone wants, I can probably throw together a script to run the whole process start to finish.
Click to expand...
Click to collapse
That would be helpful indeed. Would this script run on mac as well?
Not unless there's a version of PowerShell for macs (there is for Linux, but I don't know if it's compatible).
@Slikkster2k: I tried your tutorial. At first it did not work...serveral errors occure during copying one file. On the second run I had to change the slot, than it runs through.
But now I am in a boot loop, during starting the oxygen.
While wiping I got this message:
Code:
fastboot: error: Cannot generate image for userdata
Which version of the OS did you use?
I tried to install the actual european rom (11.2.3.3) on my indian device from china but this obviously did not work. Do you have any suggestions for me?
AxelM said:
@Slikkster2k: I tried your tutorial. At first it did not work...serveral errors occure during copying one file. On the second run I had to change the slot, than it runs through.
But now I am in a boot loop, during starting the oxygen.
While wiping I got this message:
Code:
fastboot: error: Cannot generate image for userdata
Which version of the OS did you use?
I tried to install the actual european rom (11.2.3.3) on my indian device from china but this obviously did not work. Do you have any suggestions for me?
Click to expand...
Click to collapse
I used 11.2.2.2.LE25AA as I said in the original post (this is the global variant, which matches my device). I am not sure if this works for cross-flashing, or if it's possible to cross-flash an Indian phone to EU. Have you tried restoring the Indian ROM? Does that work?
You're getting an actual boot loop? The error I was getting (and the reason I had to restore) was the phone booting to the bootloader or fastbootd (depending on the slot I tried) instead of Oxygen, because it couldn't mount the user partition due to encryption. In fastbootd an error was reported (I forget the exact one) which made me suspect it was a partition mounting issue. At no point was my phone actually boot looping, even during partial/failed flashes.
I've never encountered the error with fastboot -w, but I only did that on my phone once. From some searching online, it can be caused by an old version of the platform tools, so did you download the latest version?
@Slikkster2k: First of all, thank you for providing help
In deed, what worked was the indian first version. This i could flash and from there on everything works. Up to OS and than installing the latest european os. Now everything ist fine...
The error while whiping did not occure while using the indian version...so no clue why...
But now it works for me, thank you!
AxelM said:
@Slikkster2k: First of all, thank you for providing help
In deed, what worked was the indian first version. This i could flash and from there on everything works. Up to OS and than installing the latest european os. Now everything ist fine...
The error while whiping did not occure while using the indian version...so no clue why...
But now it works for me, thank you!
Click to expand...
Click to collapse
Glad to hear you got it working!
PowerShell script added to second post. Totally untested, but I tried to make it as idiot proof as possible.
Slikkster2k said:
This guide assumes you have the SDK Platform Tools installed and working, along with USB drivers for your device (if needed), and have your full update zip which you've already extracted the payload.bin from, and then dumped the images using payload dumper. If you haven't done any of these things yet, there are plenty of other guides out there on how to do them.
Steps:
1. Reboot your device to the bootloader (power off, hold volume up + power) and connect it to USB.
2. The following command will wipe your device. I found this to be necessary to recover my OnePlus 9:
Code:
fastboot -w
3. Now flash the following files:
Code:
fastboot flash boot boot.img
fastboot flash cpucp cpucp.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash oplus_sec oplus_sec.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash splash splash.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img
4. Now reboot into userspace fastboot, aka fastbootd. If you don't do this, the remaining files cannot be flashed:
Code:
fastboot reboot fastboot
5. Flash the remaining files:
Code:
fastboot flash abl abl.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash product product.img
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash odm odm.img
6. Reboot back into the bootloader:
Code:
fastboot reboot bootloader
7. You should now be able to continue booting normally by pressing the power button.
Note:
The files will be flashed to your currently active boot slot. If any of them fail to flash, switch to the other slot and start over from the beginning. I wasn't able to flash odm, product, system, system_ext and vendor to slot a, and had to use slot b instead. To switch slots:
Code:
fastboot --set-active=a
or
Code:
fastboot --set-active=b
Use this guide at your own risk. I take no responsibility if you brick your device, set it on fire, or otherwise mess it up as a result of any of the above steps. That being said, it worked for me using 11.2.2.2.LE25AA available from the official OnePlus support website.
Click to expand...
Click to collapse
My phone has been weird for a week or so occasionally freezing up and saying system ui has crashed or something so I followed these instructions last night to completely wipe and reset everything (after backing up). It worked perfectly!
My only suggestion would be for step 7 to be:
fastboot reboot
Since we're already using fastboot it's just quicker and less fiddly than using the power button
toyanucci said:
That would be helpful indeed. Would this script run on mac as well?
Click to expand...
Click to collapse
Windows offered now to add to MAC - https://support.apple.com/en-us/HT201468
toyanucci said:
My phone has been weird for a week or so occasionally freezing up and saying system ui has crashed or something so I followed these instructions last night to completely wipe and reset everything (after backing up). It worked perfectly!
My only suggestion would be for step 7 to be:
fastboot reboot
Since we're already using fastboot it's just quicker and less fiddly than using the power button
Click to expand...
Click to collapse
Thanks, updated OP.
ok i kind of bricked my phone using this and i need a little help PLEASE?
Ok i tried the fist 2 steps 1. fastboot -w than the first list of commands using cmd with admin rights it worked...i think but it did load everything without issues...now i go to do the "fastboot reboot fastboot"
and now my phone is stuck on a black screen with nothing and i just hear the chime windows makes when you disconnect and reconnect a device..... and in the Device manager this comes up for 10 seconds than goes away for 5 than comes back NON STOP
i cant adb i cant do anything please help !
I'm not sure if this will help you, but I had a lot of issues initially running this. First off you need to use the Oneplus drivers, I don't think the qualcom driver will work the same way. I could be wrong, but that's what I did. Secondly, you need to force install the driver because Windows doesn't like it.
Here are the steps I took.
1. Uninstall any old drivers.
2. Install the newest Oneplus Drivers from here https://oneplususbdrivers.com/
3. Extract the zip file and run the installer like normal
4. Once the installer finishes, you'll need to reboot your machine and bring up the Startup settings (hold down shift and reboot (keep holding down shift until you get a screen with options)) Then click advanced and startup settings and hit restart after that. Once the machines starts up, on the first boot you will have a bunch of options. Choose option 7 "disabling driver signature enforcement" mode.
5. Once Windows launches and you login, go back into the device manager and follow these steps:
right click the device --> update driver
Browse my computer for drivers
Let me pick from a list of available drivers on my computer
Show all Devices --> Next
Have Disk (Button)
Navigate to where you installed Oneplus drivers (Default: C:\Program Files (x86)\OnePlus USB Drivers)
Select "OnePlus_android_winusb.inf"
Select "Oneplus Android Bootloader Interface" and then just hit next/OK until it installs.
You might need to reboot after doing the above, but this worked for me.
----------------------------------------
The above should get your drivers working properly in all modes (adb, fastbootd, bootloader, normal)
One other issue that I ran into when I was using the powershell script was that I was seeing intermittent errors. After trial and error I realized that Windows was picking up a different version of fastboot. I was initially using the minimal adb/fastboot files, but if you compare those to the ones listed in the first post in the "SDK Platform Tools", they are very different from each other, so you need to make sure you use the SDK Platform Tools version. The minimal ADB/Fastboot version will NOT work.
After I got those 2 things ironed out, the powershell script ran without a hiccup and my phone is stock and booting without an issue.
I know I'm late to respond to this thread, but I hope someone finds this information helpful!
Mine keeps trying this and it isn't running and or rebooting into Fastbootd when the script is ran. Should I just try and invoke this manually? I've tried that as well an I'm seeming to get errors left and right with no resolve.
I'd say try it manually and see where the errors happen. Does it boot into fastbootd at all?
Good work
toyanucci said:
I'd say try it manually and see where the errors happen. Does it boot into fastbootd at all?
Click to expand...
Click to collapse
Actually, I ended up making my phone hard bricked to the point where it doesn’t even turn on at this point. I’m just going to send it in for repair, which is nothing short of being due to my stupidity.
ilikepie___ said:
Actually, I ended up making my phone hard bricked to the point where it doesn’t even turn on at this point. I’m just going to send it in for repair, which is nothing short of being due to my stupidity.
Click to expand...
Click to collapse
It's probably stuck in edl mode. Nothing on the screen, no vibration or anything but it shows up in device manager when connected to a computer?
Try the man tool mentioned Here that worked for me.
toyanucci said:
It's probably stuck in edl mode. Nothing on the screen, no vibration or anything but it shows up in device manager when connected to a computer?
Try the man tool mentioned Here that worked for me.
Click to expand...
Click to collapse
I’ll give it a shot, yeah it doesn’t do anything. Can’t see a display or anything on the screen.

Categories

Resources