[Solution] Nexus 4 Hard Brick Restore - Nexus 4 General

I have hard-bricked my Nexus 4 while flashing Optimus G Kitkat KDZ file. I could not get into download mode, fastboot, and it had no signs of life but Qualcomm HS-USB driver. I have successfully restored it to download mode, which allows to flash stock ROM via instruction at Here.
LG BoardDiag looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However, since there is no Nexus 4 on this list, I have chose G (APQ8064), as Optimus G uses same AP and it is almost identical to Nexus 4.
You need to download tot file for Nexus 4 from this post:
http://forum.xda-developers.com/nexus-4/general/stock-stock-roms-collection-ca-eu-au-t1976057
Click the link saying LGE960AT-00-V10c-NXS-XX-NOV-14-2012-JVP15L-FACTORY_0.
If you already have a .tot file, we need to extract important files including bootloader and partition table within tot file.
1. Rename tot file extension to bin (*.tot to *.bin). Renaming will make this file also usable for LGNPST, which you can use to flash Nexus 4 stock ROM.
2. On the Image Extraction section of BoardDiag, click 3 dot button on BIN, then choose Nexus 4 firmware image renamed at step 1.
3. Click 3 dot button on DIR, and make a folder "N4" on any familiar directory.
4. Click "Extract" Button.
5. On Target DIR section of the BoardDiag, choose "N4" folder you have created at step 3.
6. Go to Device Manager and find COM port number of HS-USB QDloader (In my case, it was COM13, but in case COM port of your Nexus 4 is different, you need to choose right COM Port.)
7. On BoardDiag, at COM Port section, choose COM Port that you have seen on Device Manager at step 6 (If HS-USB QDloader showed COM13, you may select COM13, otherwise, choose right COM Port that you have found on Device Manager.)
8. Tick AP check, then click start.
9. Tick EMMC Test, then click start after AP check is done.
10. Tick SDRAM Test, then click start after EMMC Test is done. Wait until your device shows "Download Mode" screen.
11. Download Automated LGNPST on This Post. and install LGNPST.
12. Flash Nexus 4 stock ROM (bin file used at step 2) with LGNPST. However, after you flash stock ROM via LGNPST and finish first boot, it will show "type password to decrypt storage". Don't panic and flash factory image from google (I recommend 4.2.2) on fastboot mode (Vol up + down + Power without power/usb cable connected. If vol up+down are pressed while usb / power cable is connected, it will boot up to download mode.)
13. For storage issue (16GB model showing 8GB of storage), follow the instruction at http://forum.xda-developers.com/nexus-4/general/tutorial-how-to-unbrick-n4-t2347060 .
Credits
kryptonite for providing LG BoardDiag and instructions how to use BoardDiag
Gigadroid for providing instruction how to use LGNPST and solve storage issues.

Related

[ROOT] Any stock rom step by step with Mobile Odin Pro (Noob Proof)

I think most people want their android phone get rooted. And should do flash step carefully.
I'm noob too. So, I'm make some step by step to get you to your goal without any worry. (If you have mobile odin pro of cause)
1. Download this 4 package
- ODIN 1.85 for Windows
- Sheep Rom v2.2 (You can flash this rom with odin with out any flash counter and it's build-in root)
- Mobile Odin FlashKernel for Note (will need this for your Mobile Odin Pro)
- Kies (You need this package from Sammy to install Mobile driver for you)
- Stock Rom by your choice
2. Make your phone into download mode by press and hold "Volume Down + Home + Power" until you see screen with yellow sign (Don't panic this is not legendary flash counter sign )
3. Press "Vol Up" to continue You'll see green android mascot.
4. Unzip "ODIN" package and "Sheep Rom" then Install "Kies"
5. Run ODIN with Odin3 v1.85.exe
6. You will see something like this. Connect your phone to PC with USB cable (program status become yellow when you connected to PC) (If Kies try to start just cancle and close it)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
7. Click on PDA PHONE and CSC button and choose file like in picture.
8. Click Start (This process take some time becareful to not shutdown your PC while flashing)
9. Status will show "PASS" in green This means you're good to go. You can unplug your USB cable now. (You mobo will automtically reboot)
10. Wait your mobo to reboot. (this'll take for awhile than normal boot don't panic) (You can close ODIN program now.)
11. If you can boot normally then you're good to go. Just Install Mobile Odin and FlashKernel package.
12. Move new stock rom you want to flash to Build-in SDCARD by connect your mobo phone with USB cable. (New portable device name GT-N7000 will show. If it's not just try reconnect again)
13. Double click on it. You'll see Build-in SDCARD drive name "Phone" just double click again. (Your current path shoud be look like this "Computer\GT-N7000\Phone")
14. Unzip stock_rom.zip. Then copy file .tar.mp5 to that drive "ETC. N7000DXLA1_N7000OLBKL2_N7000DXKL2_HOME.tar.md5" Wait to complete then close explorer.
15. back to your phone open mobile odin you'll see some thing like this.
16. choose Open file .... then choose you file .tar.mp5 (if you put it like I'm told. it should be on lowest screen.)
17. Ever Root will automatically checked (Ever Root is needed to automatically root your stock rom)
18. Press Flash Firmware... then wait and enjoy our new rooted stock rom.

[Guide] How to revert back to Kitkat from Miui Lollipop in easiest way

​
How to revert back to Kitkat from MIUI lollipop in easiest way​
Requirements :
MIUI 7.1 KK Rom
MiFlash
Important :
Before flashing it is advised to take the backup of data and make sure that your phone battery is charged enough.
Steps :
1. Download ROM from the above link and extract it to Desktop.
Note: - Some users get error while extracting onDesktop Because there is space in the username of PC or the folder as shown.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The users should put the ROM In C Drive in a folder without spaces. E,g C:/ROM/MIUI
The Error shown when using space between foldername.
2. Download flashing tool from the above link and install it.
3. Once installation is complete, Run MiFlash application.
4. Click on browse
5. Select ROM folder from Desktop(From the location where ROM is saved)
Note: -The path of the ROM folder Should be like "C:\Users\zeus\Desktop\MIUI" Not "C:\Users\zeus\Desktop\MIUI\images"
The MIUI Rom folder should Contain the following files
6. Turn off the phone, press and hold the Volume Down key and the Power button at the same time to enter Fastboot mode, then connect the phone to a computer.
7. Press Refresh button to see you device in flashing tool.
After pressing refresh button you will see connected device.
Here You have 3 options to select.
Choose the options carefully as per your need:-
1. Flash_all:- Clears all the data of the built-in storage, clear all user data, please be careful!(Clean Install)
2. Flash_all_except_storaget:- Will erase all user data does not clear the built-in storage data.
3. Flash_all_except_data_storage:- Does not clear the built-in storage data does not clear user data
8. Click on Flash and it will start process
Device Mismatch error ? Don't worry, click below.
Steps :
1. Dowload Notepad++ from here. Go to folder where you have extracted the Rom
2 .Right Click on any of 3 Batch Files ( .bat extension) you want to choose and open it with Notepad++
3. Delete those 2 lines ( line no. 10 and 11 ) and then Save it using ctrl+s or file menu.
4. Done , now you can flash fastboot rom on your device using Mi flash tool without having that error
9. Once flashing process completes Device will automatically reboot. Reboot might take upto 5 minutes.
Done !
its working 100% thanks for ur guide

Development ***CLOSED***[RECOVERY] [A11-A12] [UNOFFICIAL] TWRP 3.6.11 RECOVERY M32 4G (SM-M325F/FV)

***Mod Announcement: Thread has been locked and download links removed due to XDA GPL violations.***
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I would like to thank TeamWin for their amazing work!
I saw that the newer Samsung MediaTek phones were not getting any sort of love, so I bought one myself to kick start the development.
TWRP is the obvious choice as it is reliable and trustworthy with frequent updates and patches.
INSTALLATION:
Odin Method (Windows):
Step 0: Unlock Device Bootloader by toggling the OEM Unlock option in Developer Options. Device will reboot to Odin mode and will prompt you to long press volume up, device will then unlock bootloader and perform a complete factory reset so make sure to backup any data.
Step 1: Download the unofficial TWRP image from the link attached below.
Step 2: Put the device in Odin download mode by holding VolumeUp+VolumeDown and inserting USB cable after the device is completely shut down.
Step 3: Select the downloaded recovery.tar in AP slot and vbmeta_disabled_R.tar in USERDATA slot, connect the device to PC, go to options and untick "Auto-Reboot"
Step 4: Click START and the Device will get flashed, Odin will say SUCESS!.
Step 5. Exit Download mode by holding VolumeDown+PowerButton and then immediately boot
into Recovery mode by pressing VolumeUp+PowerButton.
Step 6: Congratulations, you have installed TWRP latest for your M32 4G, to access the system now, you need to perform some additional steps.
Step 7: Open up TWRP terminal and then type in "multidisabler" and then perform a full factory reset again by going into "Wipe" -> Format Data -> type "yes"
Step 8: Now stock ROM should work fine with TWRP!
Heimdall Method (Linux):
Step 1: Install heimdall tool on linux , google it.
Step 2: Put the device in Odin download mode by holding VolumeUp+VolumeDown and inserting USB cable after the device is completely shut down.
Step 3: Open up terminal in the downloaded TWRP directory, extract twrp image from recovery.tar
Step 4: Enter the command "heimdall flash --RECOVERY recovery.img --no-reboot" where twrp.img is name of the downloaded image
Step 5. Exit Download mode by holding VolumeDown+PowerButton and then immediately boot
into Recovery mode by pressing VolumeUp+PowerButton.
Step 6: Congratulations, you have installed TWRP latest for your M32 4G, to access the system now, you need to perform some additional steps.
Step 7: Open up TWRP terminal and then type in "multidisabler" and then perform a full factory reset again by going into "Wipe" -> Format Data -> type "yes"
Step 8: Now stock ROM should work fine with TWRP!
COMPATIBILITY:
TWRP Recovery is compatible with latest Android 11-12 firmware
tested on:
M325FXXU3AUK1, M325FXXU4AVB1 ,M325FXXU4BVI2 as well
First time you boot into TWRP, don't forget to backup your EFS, Secondary EFS and NVRAM! Go into Backup and select "EFS,", "Secondary EFS" and "NVRAM" and backup to preferably MicroSDcard and copy it to your PC in case you need it if IMEI corrupts.
DON'T IGNORE THIS STEP!
DOWNLOADS:
VBMETA DISABLED FOR R: ***Link Removed***
TWRP TAR: ***Link Removed***
by [email protected] #PruhBootlooper
@cha0scl0wn

Download Not Complete error 0x992566 (SOLUTION WITH SP FLASH TOOL)

The 0x992566 error is because when using "SP flash tool" and using the "Format all" option it causes us to erase all partitions on the device and if you thought that you bricked the phone and it won't react anymore, relax, because
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
it's an easy fix for that you have to install the "Oppo_Custom" partition but keep in mind something:
If you got to have the "NvRAM" and "NVdata" partition you can recover the IMEI but if not then this tutorial will only fix the system but will not recover the IMEI (it is better that after restoring the device you go to a support center to have them Installed).
STEP 1: download the file ZIP
Download Not Complete Solution.zip
drive.google.com
You must download the ZIP file, it contains all the files to be able to restore the phone (WARNING: DO NOT ATTEMPT TO DOWNLOAD FILES FROM OTHER SITES, YOU MAY END UP DAMAGING THE DEVICE)
Step 2: you must unzip the file
Step 3: open the "ByPASS" folder and open the "Lib USB" installer and install it.
Step 4: open the executable "mtk_bypass_rev4" and when it is open press the "BYPASS" button.
Step 5: now turn off the device (wait for the countdown to end) and hold down the volume + and volume - buttons while the bypass waits for it to recognize the device i.e. by holding them down you connect it to the pc, otherwise it will not go into "BROM" mode (but if it fails to connect you should open the "Lib_USB" application and when you apply these steps you should hit the "Mediatek USB Port" option and hit "install device").
Step 6: after bypassing the device you should open the "SP Flash Tool" folder.
Step 7: now in the "Download Agent" box select the "Choose" option and select the file "DA_6765_6785_6768_6873_6885_6853.bin".
Step 8: now in the "Scatter -Loading File" box select "Format all + Download scatter".
PLEASE NOTE: the phone must be in BROM mode and connected to the PC and make sure that the "Oppo custom" partition is selected and you have not moved it to another place.
Final step: you must change the "Download only" option to "Format all downloads" and press the download button.
If everything went well in the loading bar will start to load the system to the phone and you should wait 10 minutes or more (depends on the speed of the pc) after the process is finished a window with an arrow will appear.
Disconnect the device and turn it on with volume + and the power button.
NVRAM AND NVDATA
EYE IF YOU DON'T HAVE A COPY OF YOUR NVDATA AND NVRAM OF YOUR DEVICE SKIP THIS PART AND GO TO A SERVICE CENTER TO RESTORE YOUR IMEI.
If you have a backup of these files, you must open in the unzipped file the folder "NVRAM Scatter" and open SP Flash Tool.
Step 1: in the "Scatter loading file" part select the "Nvdata Nvram Scatter" file (it is located in the "nvram scatter" folder).
Step 2: after selecting it, you should scroll down and select the Nvram and Nvdata partition and then select its partition file.
Step 3: select the "preloader" partition and this will open a window and in it you should go to the "RMX2020 Stock ROM" folder and select the "preloader_oppo6769" file.
Step 4: now open the "MTK bypass" and you should put the phone in "BROM" mode (remember to turn off the phone and hold volume+ and volume- and connect the phone to the pc without releasing the buttons i.e. holding down you connect it to the pc, otherwise it will not go into "BROM" mode).
will oppo_custom.img file work in my rmx 2117 device ?
It depends, since each model has different writings, and that could terribly affect your device, you should search for your model on the web or look for a dump file of your model, oppo will appear there Oppo custom and you will have to copy and paste it, and don't even think about taking an external NVRAM OR NVDATA file because that will damage your WiFi connectivity, but it is fixed by formatting

Question HELP

my device is locked in fastboot after flashing gsi, i tried all but nothing, so i locked the bootloader, i know i'm dumb but i was and i am desperate, solutions? idk if there is still a rom in because it was empty and i tried the fastboot method to reflash rom like flash boot.img and vbmeta.img and others (nothing changed).
UPDATE, i unlocked the bootloader but the problem is still here, i tried to flash rom with fastboot but it fails with system and vendor, i think that's the problem.
logs? photos? how you flashed? what you flashed?
Supposing your bootloader is unlocked, just follow this guide taken from this Mi official page.
Method 2: Fastboot Update
Note
A Windows PC/laptop will be needed for the following steps. Make sure that your device is fully charged or has enough power for this process. This guide will help you update your device to the latest MIUI ROM version. All user data will be purged in this process. Please back up your data and think twice before proceeding.
STEP 1
Download MIUI ROM Flashing Tool (Size: 66.7 MB)
STEP 2
Select the right MIUI ROM version for your phone:
★ Redmi Note 11 [spes] Global
★ Redmi Note 11 NFC [spesn] Global
★ Redmi Note 11 NFC [spesn] Europe
★ Redmi Note 11 NFC [spesn] Russia
STEP 3
Turn off the device. Press the Volume– key and the Power button at the same time to enter Fastboot mode. Then connect the device to the Windows PC/laptop via a USB cable
STEP 4
Double click on the downloaded ROM file to decompress it. Open the file folder for the decompressed ROM pack, and copy its path on the computer.
STEP 5
Decompress the MIUI ROM flashing tool downloaded in Step 1, and double click on it to install (if there is security warning, select 'Run'). After installation is completed, open MiFlash.exe and paste into the address bar the ROM file folder path copied in the last step.
Click on the first button (circled out in yellow) to Refresh, and MiFlash should automatically recognize the device. Then click the second button (circled out in red) to flash the ROM file to the device.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
STEP 6
Wait until the progress bar inside MiFlash turns fully green, which means the ROM has been successfully installed. Then your device should automatically boot to the new version.
If the flashing guide could not help you, please download Mi PC Suite here (after Mi PC Suite is installed, make sure that your phone is in fastboot mode, connect your phone to a computer, and select the correct ROM file to flash).
I finally solved, i unlocked bootloader again with mi unlock and i followed this instructions, thx

Categories

Resources