[GUIDE] Proper H815 unbrick through QFIL (Files included)

Creear

Member
Jul 29, 2018
9
0
0
Dude I did all of your words but still get this error.

Start Download
Program Path:C:\Users\Neri1\Desktop\h815_full_working_7a3ae5809224d\flashing\prog_emmc_firehose_8992_lite.mbn
COM Port number:4
Sahara Connecting ...
Sahara Version:2
Start Sending Programmer
Sending Programmer Finished
Switch To FireHose
Wait for 3 seconds...
Max Payload Size to Target:49152 Bytes
Device Type:eMMC
Platform:8x26
Disable Ack Raw Data Every N Packets
Skip Write:False
Always Validate:False
Use Verbose:False
COM Port number:4
Sending NOP
FireHose Log: Binary build date: Mar 3 2015 @ 19:29:19
FireHose Log: fh.attrs.Verbose is set to 0
FireHose Log: Chip serial num: 22897967 (0x15d652f)
FireHose Log: Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke
FireHose NOP sent successfully
Sending Configuration
Device Type:eMMC
Platform:8x26
FireHose Log: Host's hash buffer size not provided or 0; using 8192
FireHose Log: fh.attrs.MaxPayloadSizeToTargetInBytes > FIREHOSE_CHANNEL_BUFFER_SIZE
FireHose Log: Calling hotplug_poll_device('MMC')
Invalid response NAK
Set TxBuffer 0x2000, RxBuffer 0x1000
Firehose configure packet sent successfully!
ReadBackMode:No_Readback
Disable read back
Total Bytes To Program 0x4C4F0A0
Download Image
Fail to open image file: C:\Users\Neri1\Desktop\h815_full_working_7a3ae5809224d\flashing\emmc_appsboot.mbn
Error reading the C:\Users\Neri1\Desktop\h815_full_working_7a3ae5809224d\flashing\rawprogram0.xml
Download Fail:FireHose Fail FireHose Fail:Failed to Upload the emmc images to the phone using Firehose.
Finish Download
 

neptunej

Member
Jan 25, 2013
7
3
23
Help post your edited raw-program

Can you please help post your edited raw-program.xml so I could also make use of it as all attempts to get into download mode even after successful download from QFIL proved abortive


finally it boot again i chanced
these 3 files laf , emmc_appsboot , raw_resources
with laf,aboot, raw_resources from h815-usu unlock files
and edited the raw-program to match these files
also change the recovery with twrp
fianaly can boot to fastboot and twrp

Later did edit the partition-p1_global_com.xml, rawprogram0.xml and readback.xml to reflect files from the Usu unlock folder and voila, my G4 is alive. Thanks to you all for your efforts and for sharing
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
Can you please help post your edited raw-program.xml so I could also make use of it as all attempts to get into download mode even after successful download from QFIL proved abortive





Later did edit the partition-p1_global_com.xml, rawprogram0.xml and readback.xml to reflect files from the Usu unlock folder and voila, my G4 is alive. Thanks to you all for your efforts and for sharing
can you share your edited usu xml files
There is no need to modify the XML as mentioned here:
https://forum.xda-developers.com/showpost.php?p=76965322&postcount=20
and as well directly in the second post of this thread.

I solved brick problem but when I flash g4 usu firmwares my device always bootloops. How can I solve this
how do you flash? fastboot, TWRP, lgup, ...?
and what exactly do you flash?

.
 
  • Like
Reactions: Creear

Creear

Member
Jul 29, 2018
9
0
0
just TWRP

---------- Post added at 12:18 PM ---------- Previous post was at 12:12 PM ----------

I tried 3 usu firmwares but while booting sound crashes and starts rebooting and I just flashed firmwares from TWRP
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
just TWRP

---------- Post added at 12:18 PM ---------- Previous post was at 12:12 PM ----------

I tried 4 usu firmwares but while booting sound crashes and starts rebooting and I just flashed firmwares from TWRP
when someone asks you what ROM you try to flash share the exact filename, link or more details.
What QFIL files do you have used? the one from this OP or others?
boot to TWRP and share the TWRP recovery log (see my sig for a howto)
 
  • Like
Reactions: Creear

Creear

Member
Jul 29, 2018
9
0
0
when installing %99 reboots starting sound crashes and this continues again and again

---------- Post added at 12:29 PM ---------- Previous post was at 12:26 PM ----------

G4_ARB-any_v29a_FULL-STOCK-ROM_UsU .............. LG-H815_Official_v29A .............. LG-H815_Official_v29A_keepsTWRP-LAF.zip

---------- Post added at 01:26 PM ---------- Previous post was at 12:29 PM ----------

QFIL from this OP ....................................... I:TUNESD: 2015-01-01_00:04:32 - Started /sbin/tunesd.sh
I:READTIME: 2015-01-01_00:04:32 - Starting /sbin/readtimeprop.sh
I:READTIME: 2015-01-01_00:04:32 - timeadjust before setprop: ><
Starting TWRP 3.2.2-PREVIEW-131_g4_N-fac1b383-dirty on Thu Jan 1 00:04:32 2015
(pid 343)
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
TW_INCLUDE_CRYPTO := true
I:Find_File: Error opening '/sys/class/backlight'
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 162
I:LANG: en
Starting the UI...
setting DRM_FORMAT_RGBX8888 and GGL_PIXEL_FORMAT_RGBX_8888
cannot find/open a drm device: No such file or directory
fb0 reports (possibly inaccurate):
vi.bits_per_pixel = 32
vi.red.offset = 0 .length = 8
vi.green.offset = 8 .length = 8
vi.blue.offset = 16 .length = 8
I:READTIME: 2015-01-01_00:04:32 - checking for twrp fstab
I:READTIME: 2015-01-01_00:04:32 - No twrp fstab which includes /system generated yet! will wait until its there..
setting GGL_PIXEL_FORMAT_RGBA_8888
double buffered
framebuffer: 0 (1440 x 2560)
Using fbdev graphics.
I:TWFunc::Set_Brightness: Setting brightness control to 162
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...
I:Scaling theme width 1.333333x and height 1.333333x, offsets x: 0 y: 0 w: 0 h: 0
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
=> Linking mtab
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
when installing %99 reboots starting sound crashes and this continues again and again

---------- Post added at 12:29 PM ---------- Previous post was at 12:26 PM ----------

G4_ARB-any_v29a_FULL-STOCK-ROM_UsU .............. LG-H815_Official_v29A .............. LG-H815_Official_v29A_keepsTWRP-LAF.zip

---------- Post added at 01:26 PM ---------- Previous post was at 12:29 PM ----------

QFIL from this OP
My guide says clearly to use bpaste.net for shareing the recovery log

.-
 
  • Like
Reactions: Creear

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
you know that there is a thanks button beyond each post?

good so you flashed LG-H815_Official_v29A.zip and even LG-H815_Official_v29A_keepsTWRP-LAF.zip ?
cool I dont know what I should say then.. pictures say more then words maybe?

screenshot_003.png

so you have bricked your device again as you flashed UsU incompatible files.

Read and do the fastboot flash commands of FAQ #8b)

Then boot to TWRP, flash this: http://leech.binbash.it:8008/lineage/oreo/h815-UsU/lineage-15.1-20180719-UNOFFICIAL-h815_usu.zip
and tell me if it boots or not.

-
 
Last edited:
  • Like
Reactions: Creear

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
it gives error:can not load file error I tried adb and fwul
No one can help with such less information.

Always share logs,
share console output,
share screenshots,
share anything you can. Well at least if you wanna get help



Sent from my LG-H815 using XDA Labs
 
  • Like
Reactions: Creear

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
Hi,
I'm trying it but i have a NOP fail code 14

https://bpaste.net/show/54ac71d41b64

Did you know about it ? My H815 brick so i tried to flash LGH815 EU Nougat 7.0 BySezerSimsek and the download mode shut during it.
I don't know what to do (except change motherboard....)

Do you have some solution ?

Thanks :D
Is your device in QDL mode? What happens when you connect it to your pc in the device manager? Do you see a device named qhusb / qdl 9008 or similar?


Sent from my LG-H815 using XDA Labs
 

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
My device is in QDL mode

Okay in device mode and QFIL



take out battery
disconnect USB
start QFIL & prepare the files there so you are ready to press the download button (without pressing it yet)
put battery back in
directly when QFIL(!) detects the device press the download in QFIL

the QDL mode is sensitive.
if you wait too long it will fail.
if it fails once you must re-do all the steps above.


.
 

gutchi

Member
Nov 7, 2008
36
0
0
Done 15 times and nothing. With and without battery.
I taking less than 1 sec to press download button when Qualcomm is detected.

Nop 14 is the step when we trying to write in memory right ? So i think my memory is crap

Thanks a lot for your answer !
 
Last edited: