[tut]G2 baseband repair with adb/fastboot - G2 General

hi guys
DO IT ON YOUR OWN RISK
i'm here with a trick which i found yesterday in error and trial
if anyone has unknown baseband in g2 then he must try this simple trick. trick is that you must tot back to sotck version(mine was d800 20c). then root it and take efs backup and secure it on pc or cloud and install WRONG version autorec recovery installer(i installed ls980 version) and install recovery with it. it will brick your phone and lead you to fastboot screen.don't worry it is not scary and i will tell you how to recover it. download adb+fastboot and pda net drivers and usb drivers for your phone.(just google them).
after installing drivers,connect g2 to pc and in the folder where adb.exe and fastboot.exe are located,open command prompt(shift+right click). in cmd, enter fastboot reboot if your device restarts then you can proceed and if not then reinstall drivers and pda net.
after device restarts to fastboot screen, enter following commands without coma
"fastboot erase modemst1" and press enter
then
"fastboot erase modemst2" and press enter
and your baseband is repaired(imei may or may not recover). to recover your brick, download lg kdz extractor and open your tot file in it(remember to open version you installed on mobile)
when tot is opened, tick following files and extract them
aboot
boot
dbi
recovery
laf
sbl1
tz
rpm
and press extract and copy them to folder where adb and fastboot is located and open cmd promot
in cmd enter these commands one by one
fastboot erase aboot
fastboot flash aboot aboot.bin
fastboot erase boot
fastboot flash boot boot.bin
fastboot erase dbi
fastboot flash dbi dbi.bin
fastboot erase recovery
fastboot flash recovery recovery.bin
fastboot erase laf
fastboot flash laf laf.bin
fastboot erase sbl1
fastboot flash sbl1 sbl1.bin
fastboot erase tz
fastboot flash tz tz.bin
fastboot erase rpm
fastboot flash rpm rpm.bin
fastboot reboot
and wulaa your phone is back
i am new here so plz someone simplify it and add links
sory for bad english

Related

[GUIDE][FASTBOOT] FLASHING FASTBOOT MiUI ROMS

Introduction:
Hey friends, as we know we can flash fastboot Miui Roms which comes with complete package and then we have to flash it with MiPHONE.exe. There are no other methods to flash roms Via PC! Roms can also be flashed with stock recovery, custom recovery but there should be a zip in sd card!Sometimes it even happen that we want to flash a rom/mod/zip and it fails! At that time we can restore via backup or flashing rom again.But what if there is NO ROM/BACKUP in SD CARD and ur in BOOTLOOP.
I tried numerous time flashing Miui fastboot rom via mi PHONE, but every time it gave me error 'The system cannot find the file specified.(0x80070002)' , I know i was doing somewhere wrong.Atlast I gave up and wanted to try different.
So I will be sharing with you a method to flash Miui Fastboot Roms by fastboot commands via ADB. Yes you can do it easily. Just enter the commands and hit enter.
Prerequisite :
Computer
Minimal adb and fastboot zip
MIUI FASBOOT ROM
Mi FLASH
(For installing usb drivers)
Steps to be performed :
1)Download minimal adb and fastboot zip and install it.
2) Also install Miflash for necessary usb drivers!
3)Download MIUI Fastboot roms zip and extract it in same folder where Minimal adb fastboot were installed.
FOR EXAMPLE : Mine path is C:\Program Files (x86)\Minimal ADB and Fastboot.
4)So extract files inside Minimal ADB and Fastboot FOLDER
5) Now go to Minimal Adb and Fastboot folder and HOLD 'Left Shift Button' and 'Right Click'
anywhere on folder area and there you can see OPEN COMMAND WINDOW HERE.
6) Follow the commands given below : Ps Enter commands one by one!!
Code:
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
7) The phone will automatically reboot after entering last commands , so have patience!
ENJOY!!!!!!
ps :Btw this helped me fix my otg which was giving me error!​
Can I suggest another solution, but not tested?
Just flash a CWM recovery .img, restart in recovery and use the sideload flash option to push and flash the .zip file of a rom.
All will be simplier if you use a Mac, no drivers needed, just ADB and platform-tools
Pi3rluigi said:
Can I suggest another solution, but not tested?
Just flash a CWM recovery .img, restart in recovery and use the sideload flash option to push and flash the .zip file of a rom.
All will be simplier if you use a Mac, no drivers needed, just ADB and platform-tools
Click to expand...
Click to collapse
Everyone doesnt have a Mac bro, I know it can be done via other methods too. Many people at this particular moment opt for easy way. this is damn easy , just download files put it in adb folder and hit command and done!!!
Since we have only one method for using via pc [ that also failed for me, maybe i was doing wrong] so i thought for doing this way!!
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
After all the commands except erase boot and reboot I get en error: target report max download size of 671088640 bytes error cannot flash..............
Any help would be deeply apreciated
SOLVED!!!! Using this.
http://forum.xda-developers.com/showthread.php?t=2277112
can u tell me how u solved the max download size limit error.
Can you tell me how to create fastboot rom?
Does it works to with Mi4..?
i've tried anything,,but its useless, lucky i'm not bricked my phone,
i just want to upgrade from MIUI5 to MIUI6, i've try flashing with standart procedure on the xiaomi web, but useless.
in fastboot mode, my phone is not detected, neither when i plug in and use Mi PC Suite,
now i'm running on MIUI-V6.2.4.0.KXDCNBJ
can you help me, ?
thanks a lot it works! with the help of Pallmalli post
Hi there,
I tried this with my Redmi Note 2 (I misunderstood the thread and thought it was for ALL Xiaomi) and the phone is in a loop of rebooting all the time. Like searching the boot but doesn't find it! :S
How can I reinstall the boot?
PLEASE help...
Cannot Load
It say cannot load xxx.mbn
please help
i was entered the commands like u... but it showing error: cannot load 'tz.mbn'
oooh man, ur rock!!!
Sk.D said:
Introduction:
Hey friends, as we know we can flash fastboot Miui Roms which comes with complete package and then we have to flash it with MiPHONE.exe. There are no other methods to flash roms Via PC! Roms can also be flashed with stock recovery, custom recovery but there should be a zip in sd card!Sometimes it even happen that we want to flash a rom/mod/zip and it fails! At that time we can restore via backup or flashing rom again.But what if there is NO ROM/BACKUP in SD CARD and ur in BOOTLOOP.
I tried numerous time flashing Miui fastboot rom via mi PHONE, but every time it gave me error 'The system cannot find the file specified.(0x80070002)' , I know i was doing somewhere wrong.Atlast I gave up and wanted to try different.
So I will be sharing with you a method to flash Miui Fastboot Roms by fastboot commands via ADB. Yes you can do it easily. Just enter the commands and hit enter.
Prerequisite :
Computer
Minimal adb and fastboot zip
MIUI FASBOOT ROM
Mi FLASH
(For installing usb drivers)
Steps to be performed :
1)Download minimal adb and fastboot zip and install it.
2) Also install Miflash for necessary usb drivers!
3)Download MIUI Fastboot roms zip and extract it in same folder where Minimal adb fastboot were installed.
FOR EXAMPLE : Mine path is C:\Program Files (x86)\Minimal ADB and Fastboot.
4)So extract files inside Minimal ADB and Fastboot FOLDER
5) Now go to Minimal Adb and Fastboot folder and HOLD 'Left Shift Button' and 'Right Click'
anywhere on folder area and there you can see OPEN COMMAND WINDOW HERE.
6) Follow the commands given below : Ps Enter commands one by one!!
Code:
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
7) The phone will automatically reboot after entering last commands , so have patience!
ENJOY!!!!!!
ps :Btw this helped me fix my otg which was giving me error!​
Click to expand...
Click to collapse
thanks bro, it work on my mi3, i skip flash userdata.img
Hello, please help me - When i type first command - FAILED (remote: unknown command).. any solution please? REDMI 2 2GB RAM
Hi, is this method still applicable for miui 7 or 8? thanks in advance
Sent from my MI 3W using Tapatalk
from where can i download MIUI Fastboot roms zip
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
After all above commands running successful
After reboot
To start Android, enter your password
More detalies
Hi,
Can you please be more specific about:
1. which mode does the phone need to be in while procedure? stay in boot-loop? boatloader mode? is recovery mode ok? download mode?
2. What files exactly to move to the minimal adb folder? there is the tgz file which extracts to the tar file which extracts to a folder - does that folder need to be copied? or the images file in that folder?
When trying to enter the lines some of them weren't exepted/missing.
Thanks,
Amitai
thank you SO MUCH for this tutorial, it worked perfectly for me.
@amitai, the phone needs to be in fastboot-mode, you can get there by typing "adb reboot bootloader" into commands (your phone has to be connected via USB); you will also be needing the FASTBOOT-ROM which you can get on the official miui website ... you also have to unpack them twice to get to the files. just copy all the files into the minimal adb folder. it does NOT work with normal miui roms, only with fastboot-roms!
any update about this Guide? Because we tried use on Xiaomi Mi 5 after first boot, Local Setting only Display China. And another issues two and third step is error (not available)
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
Any clues?

(Guide]HOW TO get back to stock when your phone stuck in fastboot mode update

In topic http://forum.xda-developers.com/showthread.php?t=2477595
But wrong>>
If phone in kikat flash laf.img and recovery.img of 4.2.2 phone not done
Remember in fastboot you need flash all partitiont for phone of you
Download driver fastboot and fastboot.exe
https://drive.google.com/file/d/0B_Hol5T47S-baWtxS2ctOVp1dmc/view?usp=sharing
fastboot flash (name partitiont) (name file download):
fastboot flash sbl1 sbl1.img
fastboot flash tz tz.img
fastboot flash rpm.img
fastboot flash aboot.img
fastboot flash dbi dbi.img
fastboot flash recovery.img
fastboot flash laf.img
all paritiont all model in http://downloads.codefi.re/autoprime/LG/LG_G2
If hard send id pass teamveiwer i can help free

MetroPCS Moto E5 Plus Root And Recovery Solution

So with the help of @CodyF86 with his lovely twrp recovery I have had trouble flashing to the metro variant of this device so I found a firmware where I can flash it without messing up my modem and my LTE Metro Connection so this is for those who cannot boot up.
So first you will need to use Cody's guide on booting up twrp to along with fstab and all the other stuff on his guide before doing this.
After you did his guide now it's time for mine if you can't boot up properly and mind you the LTE works and wifi but I can't seem to find out why it feels a bit slow but anyway.
Step 1. Download this update and put it(unzip file) into your adb/fastboot folder on your computer. https://drive.google.com/file/d/1kW-FAfXccQMBMX3DuGJ_p2r0moDiCYtR/view?usp=drivesdk
Step 2. Put your phone into fastboot mode
Step 3. Flash these in order
fastboot flash boot boot.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 oem oem.img
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
After that's done follow Cody's guide again and make sure you do it step by step and flash ONLY MAGISK 16.7
TheAmbition267 said:
So with the help of @CodyF86 with his lovely twrp recovery I have had trouble flashing to the metro variant of this device so I found a firmware where I can flash it without messing up my modem and my LTE Metro Connection so this is for those who cannot boot up.
So first you will need to use Cody's guide on booting up twrp to along with fstab and all the other stuff on his guide before doing this.
After you did his guide now it's time for mine if you can't boot up properly and mind you the LTE works and wifi but I can't seem to find out why it feels a bit slow but anyway.
Step 1. Download this update and put it(unzip file) into your adb/fastboot folder on your computer. https://drive.google.com/file/d/1kW-FAfXccQMBMX3DuGJ_p2r0moDiCYtR/view?usp=drivesdk
Step 2. Put your phone into fastboot mode
Step 3. Flash these in order
fastboot flash boot boot.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 oem oem.img
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
After that's done follow Cody's guide again and make sure you do it step by step and flash ONLY MAGISK 16.7
Click to expand...
Click to collapse
I keep getting cannot open error. any help would be greatly apprecciated

Moto G5S PLUS INDIAN VARIANT LOCKING THE BOOTLOADER WITH JUNE PATCH INCLUDED

DISCLAIMER
I am not to be held responsible for any of the damage that occurs to your device during this process. You are yourself responsible for any damage done (if) to your device during this process.
REQUIREMENTS
1. Make sure your device is charged above 80%.
2. We recommend creating a backup of all your important files before beginning with this process.
HOW TO INSTALL STOCK ROM IN MOTO G5 PLUS And LOCK THE BOOT LOADER
1. Download Moto G5s Plus Stock Firmware and other necessary files from the download link.
2. Extract and install ABD Fastboot Drivers drivers
3. Install ADB Fastboot Driver on your PC.
4. Install the Latest Motorola Drivers
5. Now extract stock firmware in ADB Fastboot folder
6. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
7. Now, connect your device to your PC via a USB Cable.
8. Open a command prompt or PowerShell window and type the following commands:
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Now Setup the phone properly till you reach the main screen, don't skip any steps
Now use this second command
Code:
fastboot oem lock
fastboot oem lock
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 boot boot.img
fastboot oem lock
Flash the phone again with the first command and set it up again then boot to the fastboot again and flash the phone twice with the second command and your Motorola G5S PLUS should have a locked bootloader, keep in mind older Firmware would not work for this process to work, if you see any errors regarding bootloader.img not signed, don't worry and proceed with it.
Downloads:
HTML:
https://drive.google.com/drive/folders/1lWCQAjZBXM_iYHNwBO-5xKU4RY1FK9QV?usp=sharing
Kindly copy the full link to your browser and download the files, all the required files are present on the link
WIsh you guys all the best, I locked my bootloader the same and hope it will solve your problems too if you follow the instructions properly, I am no developer, I learned the hardway
Please Rate and comment if you liked my post helped you.
Shampak said:
DISCLAIMER
I am not to be held responsible for any of the damage that occurs to your device during this process. You are yourself responsible for any damage done (if) to your device during this process.
REQUIREMENTS
1. Make sure your device is charged above 80%.
2. We recommend creating a backup of all your important files before beginning with this process.
HOW TO INSTALL STOCK ROM IN MOTO G5 PLUS And LOCK THE BOOT LOADER
1. Download Moto G5s Plus Stock Firmware and other necessary files from the download link.
2. Extract and install ABD Fastboot Drivers drivers
3. Install ADB Fastboot Driver on your PC.
4. Install the Latest Motorola Drivers
5. Now extract stock firmware in ADB Fastboot folder
6. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
7. Now, connect your device to your PC via a USB Cable.
8. Open a command prompt or PowerShell window and type the following commands:
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Now Setup the phone properly till you reach the main screen, don't skip any steps
Now use this second command
Code:
fastboot oem lock
fastboot oem lock
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 boot boot.img
fastboot oem lock
Flash the phone again with the first command and set it up again then boot to the fastboot again and flash the phone twice with the second command and your Motorola G5S PLUS should have a locked bootloader, keep in mind older Firmware would not work for this process to work, if you see any errors regarding bootloader.img not signed, don't worry and proceed with it.
Downloads:
HTML:
https://drive.google.com/drive/folders/1lWCQAjZBXM_iYHNwBO-5xKU4RY1FK9QV?usp=sharing
Kindly copy the full link to your browser and download the files, all the required files are present on the link
WIsh you guys all the best, I locked my bootloader the same and hope it will solve your problems too if you follow the instructions properly, I am no developer, I learned the hardway
Please Rate and comment if you liked my post helped you.
Click to expand...
Click to collapse
hi, i have tried the same as you gave command. but unfortunately it doesn't work for me. i had installed soak test OREO then moved to Android P custom ROM, finally rolled back to android N to relock the bootloader. now i couldn't relock it.
i am getting error "still require valid signed image"
i am using sanders.
kindly assist me
Thanks
---------- Post added at 06:39 PM ---------- Previous post was at 06:35 PM ----------
hi, i have tried the same as you gave command. but unfortunately it doesn't work for me. i had installed soak test OREO then moved to Android P custom ROM, finally rolled back to android N to relock the bootloader. now i couldn't relock it.
i am getting error "still require valid signed image"
i am using sanders.
kindly assist me
Thanks
arunkumar.rp said:
hi, i have tried the same as you gave command. but unfortunately it doesn't work for me. i had installed soak test OREO then moved to Android P custom ROM, finally rolled back to android N to relock the bootloader. now i couldn't relock it.
i am getting error "still require valid signed image"
i am using sanders.
kindly assist me
Thanks
---------- Post added at 06:39 PM ---------- the Previous post was at 06:35 PM ----------
hi, I have tried the same as you gave the command. but unfortunately, it doesn't work for me. i had installed soak test OREO then moved to Android P custom ROM, finally rolled back to android N to relock the bootloader. now I couldn't relock it.
i am getting the error "still require valid signed image"
i am using sanders.
kindly assist me
Thanks
Click to expand...
Click to collapse
Don't worry about the signed image. Try the locking command twice back to back. Hope this helps

Boot Animation Stuck after Camera 2 api & Dm verity flash via twrp

Hello there! I unlock my bootloader and install twrp in my redmi 6 pro(sakura). Then i install havoc os and it was running completely fine . Then i flash camera to api & dm verity by twrp. After flashing and rebooting, my phone stuck on havoc animation after redmi sign . Then i wipe everything and then i flash lineage os and it also stuck on lineage animation. Whichever os i flash, it stuck on that Animation. It's non root device. Still it stuck on os animation. How to solve? Please Help
connect to pc via usb
open cmd window in adb and fastboot folder
reboot your device to fastboot mode using hardware keys
type fastboot devices to test connection
then download your stock rom from the internet
extract it
enterthe firmware file
copy recovery.img system.img cache.img userdata.img and boot.img
paste them in the adb folder
now in cmd window type
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot erase cache
fastboot flash cache cache.img
fastboot erase system
fastboot flash system system.img
and you're all done, your phone should be able to start now
brother i am very new . adb and fastboot folder means ? is it platform tools folder
brother i am very new .adb and fastboot folder means ? is it platform tools folder ?
narwhhal27 said:
connect to pc via usb
open cmd window in adb and fastboot folder
reboot your device to fastboot mode using hardware keys
type fastboot devices to test connection
then download your stock rom from the internet
extract it..
enterthe firmware file
copy recovery.img system.img cache.img userdata.img and boot.img
paste them in the adb folder
now in cmd window type
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot erase cache
fastboot flash cache cache.img
fastboot erase system
fastboot flash system system.img
and you're all done, your phone should be able to start now
Click to expand...
Click to collapse

Categories

Resources