LG h815 HELP - Bootloop in Download Mode - G4 Q&A, Help & Troubleshooting

Hi all,
I manage to (soft) brick my LG H815
It was working fine (using Nougat) until I decided it was time to poke with it (battery was draining way too fast)! Bad idea!
So I tried to upload a new ROM ... which happened to be a wrong variant (i suppose). After that, my device boots straight in to Download Mode all the time. However, I can put it in Fastboot mode (hold Vol + and connect USB cable).
But Fastboot mode doesn't seems to be of any use for me, as when I use ADB DEVICES it doesn't show my device (but it can reboot it, and even respond to a getvar command that shows that its bootloader is unlocked (printscreen attached)
I thought it could be a a driver problem (I use Win10 Pro - Build 16299), but LG Bridge seems to find my device ... but any attempt to fix/recover/update it always fail. Also, LGUP always give "error code = 0x2000, invalid command response" when I try to upload a new KDZ archive.
After 3 days reading all I could find and burning out my brain ... so, I'll be very gratefull if someone can give me a help :good::good:
PS: I added a few print screens from what i've got here. Pls let me know if there is any other useful info.

H815 soft bricked
anyone....?
I'm willing to try any suggestion (phone still bricked and useless)... even if it seems similar/identical to previews try... and I'm happy to donate some gold coins (ie: paypal :highfive for suggestions that leads to fix it.
LGUP = does not seems to work
ADB commands = does not see the device

You can't use *adb* commands in *fastboot* mode!
So when you boot into fastboot only fastboot commands will work. Example: fastboot flash boot twrp.img
So download the latest preview TWRP from my server and rename it to twrp.img then do the above command while in fastboot mode.
This should bring up TWRP temporarely. But that wouldn't help a lot.
The fix would require SALT. You would extract with SALT the correct kdz variant of your model and flash the bootloader stack while in fastboot.
Sent from my LG-H815 using XDA Labs

otavio_aon said:
Hi all,
I manage to (soft) brick my LG H815
It was working fine (using Nougat) until I decided it was time to poke with it (battery was draining way too fast)! Bad idea!
So I tried to upload a new ROM ... which happened to be a wrong variant (i suppose). After that, my device boots straight in to Download Mode all the time. However, I can put it in Fastboot mode (hold Vol + and connect USB cable).
But Fastboot mode doesn't seems to be of any use for me, as when I use ADB DEVICES it doesn't show my device (but it can reboot it, and even respond to a getvar command that shows that its bootloader is unlocked (printscreen attached)
I thought it could be a a driver problem (I use Win10 Pro - Build 16299), but LG Bridge seems to find my device ... but any attempt to fix/recover/update it always fail. Also, LGUP always give "error code = 0x2000, invalid command response" when I try to upload a new KDZ archive.
After 3 days reading all I could find and burning out my brain ... so, I'll be very gratefull if someone can give me a help :good::good:
PS: I added a few print screens from what i've got here. Pls let me know if there is any other useful info.
Click to expand...
Click to collapse
Try after read this: https://forum.xda-developers.com/showpost.php?p=76571471&postcount=23
And this: https://forum.xda-developers.com/showpost.php?p=76580594&postcount=17

steadfasterX said:
You can't use *adb* commands in *fastboot* mode!
So when you boot into fastboot only fastboot commands will work. Example: fastboot flash boot twrp.img
So download the latest preview TWRP from my server and rename it to twrp.img then do the above command while in fastboot mode.
This should bring up TWRP temporarily. But that wouldn't help a lot.
The fix would require SALT. You would extract with SALT the correct kdz variant of your model and flash the bootloader stack while in fastboot.
Click to expand...
Click to collapse
ALRIGHT ... after a few days I managed to install SALT (using a VirttualBox + FWUL 2.6 Forgetfull).
I did as instructed in the SALT tread
git clone https://github.com/steadfasterX/SALT.git
cd SALT
bash install-desktop.sh
...but not sudo pacman -Sy python-pyusb python-crypto as I installed FWUL 2.6
Click to expand...
Click to collapse
However, it failed to identify my device (attached print screen).
Any idea of what I should do? Am I skipping any crucial step? Could this problem be related to the "MODIFIED" mark that shows in red on my device Download Mode screen (photo attached)?

otavio_aon said:
ALRIGHT ... after a few days I managed to install SALT (using a VirttualBox + FWUL 2.6 Forgetfull).
I did as instructed in the SALT tread
However, it failed to identify my device (attached print screen).
Any idea of what I should do? Am I skipping any crucial step? Could this problem be related to the "MODIFIED" mark that shows in red on my device Download Mode screen (photo attached)?
Click to expand...
Click to collapse
if you use FWUL there is no need to install SALT. its already included (LG folder on the desktop) but anyways.
do you have attached the LG device in virtualbox settings after booted to download mode?
if yes: press the skip button when starting SALT and device is connected and open the advanced menu -> debug log -> upload button -> share the link
.

steadfasterX said:
if you use FWUL there is no need to install SALT. its already included (LG folder on the desktop) but anyways.
do you have attached the LG device in virtualbox settings after booted to download mode?
if yes: press the skip button when starting SALT and device is connected and open the advanced menu -> debug log -> upload button -> share the link
Click to expand...
Click to collapse
YEs ... i've attached the device on the VirtualBox setting (Settings -> USB -> Add New USB Filter -> LG Eletronic Inc.) but it doesn't look like it got detected by linux (even though LGE Android Phone appeared there... PHOTO ATTACHED)
The Log generated is HERE (I'll paste it below in case it expires).
Also, when I click Show Your Partitions it is empty (but I suppose that is expected as no_device_found is displayed everywhere)
Code:
2018-05-26 02:57:41: F_VCHK: newer SALT version found (316 / 3.16-0 vs. 38 / 3.8-2)
2018-05-26 02:57:41: F_MSGW: started
2018-05-26 02:57:53: New SALT version available!
You: <b>3.8-2</b>
Online: <b>3.16-0</b>
Do you want to update now?
2018-05-26 02:57:53: 0
2018-05-26 02:57:53: OS: Manjaro Linux
fwulversion=2.6
fwulbuild=1520439165
patchlevel=0
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=17.1.6
DISTRIB_CODENAME=Hakoila
DISTRIB_DESCRIPTION="Manjaro Linux"
Manjaro Linux
NAME="Manjaro Linux"
ID=manjaro
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.manjaro.org/"
SUPPORT_URL="https://www.manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
2018-05-26 02:57:53: OS (lsb): LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 17.1.6
Codename: Hakoila
2018-05-26 02:57:53: yad: 0.40.0 (GTK+ 3.22.28)
2018-05-26 02:57:53: DEVCON before: 99
2018-05-26 02:57:53: F_CHKDEVCON: started
2018-05-26 02:57:58: F_MSG: started
2018-05-26 02:58:06: NO DEVICE CONNECTED?
If you have connected your device ensure that it is in DOWNLOAD mode
(<u>not</u> fastboot, <u>not</u> recovery, <u>not</u> booted Android)
2018-05-26 02:58:06: F_MSG: ended
2018-05-26 02:58:06: F_CHKDEVCON: msge result = 99
2018-05-26 02:58:06: F_CHKDEVCON: lsusb output = Bus 001 Device 006: ID 1004:633a LG Electronics, Inc. Ultimate 2 Android Phone L41C
2018-05-26 02:58:15: RET: 99
2018-05-26 02:58:15: DEVCON after: 99
2018-05-26 02:58:15: DEVCON before: 99
2018-05-26 02:58:15: F_CHKDEVCON: started
2018-05-26 02:58:20: F_MSG: started
2018-05-26 02:58:22: NO DEVICE CONNECTED?
If you have connected your device ensure that it is in DOWNLOAD mode
(<u>not</u> fastboot, <u>not</u> recovery, <u>not</u> booted Android)
2018-05-26 02:58:22: F_MSG: ended
2018-05-26 02:58:22: F_CHKDEVCON: msge result = 11
2018-05-26 02:58:22: F_CHKDEVCON: lsusb output = Bus 001 Device 006: ID 1004:633a LG Electronics, Inc. Ultimate 2 Android Phone L41C
2018-05-26 02:58:22: RET: 11
2018-05-26 02:58:22: DEVCON after: 11
2018-05-26 02:58:22: EXPERIMENTAL: 0
2018-05-26 02:58:22: F_MSGW: started
2018-05-26 02:58:53: Your device does <b>not</b> support direct flashing!
Flashing functionality <b>disabled</b>!
Activate flashing functionality by flashing a SALT compatible LAF partition.
Download it right here for <b>any</b> G4 model (requires unlocked device + TWRP):
<a href='https://www.androidfilehost.com/?fid=818070582850495147'>SALT-compatible-LAF_flash-in-twrp.zip</a>
You can still use many of the features SALT offering - just not the flashing part.
2018-05-26 02:58:53: 0
2018-05-26 02:58:53: Flashing functionality disabled bc: LAFVER = no_device_found and/or EXPERIMENTAL = 0
2018-05-26 02:59:18: F_ADVMENU: started
2018-05-26 02:59:23: F_LISTPARTS: started
2018-05-26 02:59:23: F_GETPARTS: started
2018-05-26 02:59:25: F_LISTPARTS: started
2018-05-26 02:59:25: F_GETPARTS: started
2018-05-26 02:59:25: (F_GETPARTS) created yad list:
2018-05-26 02:59:28: (F_GETPARTS) created yad list:
2018-05-26 02:59:47: getlog script started
2018-05-26 03:00:35: F_MSGOK: started
2018-05-26 03:00:51: Log uploaded successfully!
Please share this link:
http://bpaste.net/show/e883bf5d476c
2018-05-26 03:00:51: 0
2018-05-26 03:00:58: getlog script started
PS: Yes, I installed VirtualBox Extension Pack
PS2: I tried to connect my other mobile (an old Sony Xperia) using the same procedure, and I can access it in linux without a problem.

otavio_aon said:
YEs ... i've attached the device on the VirtualBox setting (Settings -> USB -> Add New USB Filter -> LG Eletronic Inc.) but it doesn't look like it got detected by linux (even though LGE Android Phone appeared there... PHOTO ATTACHED)
The Log generated is HERE (I'll paste it below in case it expires).
Also, when I click Show Your Partitions it is empty (but I suppose that is expected as no_device_found is displayed everywhere)
PS: Yes, I installed VirtualBox Extension Pack
PS2: I tried to connect my other mobile (an old Sony Xperia) using the same procedure, and I can access it in linux without a problem.
Click to expand...
Click to collapse
Try the same with USB 3 in VirtualBox settings
Sent from my LG-H815 using XDA Labs

steadfasterX said:
Try the same with USB 3 in VirtualBox settings
Click to expand...
Click to collapse
:laugh:... it worked!
It's not fixed... but SALT has found my mobile (after I change it to USB3) 2 new things happened:
1) SALT identified all device's information (photo attached)
2) Download Mode screen changed (slightly) and does not display the "Modified" (in red) anymore. Not it shows: "633A 50.0 AS0.0 BB1 UHS || U U LG-H815TR 07.0 Hrev_10 CPU4 || H81529a" (but if I reboot the device, old message returns)
Debug log is HERE:
Code:
[INDENT] 2018-05-26 09:58:38: F_VCHK: newer SALT version found (316 / 3.16-0 vs. 38 / 3.8-2)
2018-05-26 09:58:38: F_MSGW: started
2018-05-26 09:58:46: New SALT version available!
You: <b>3.8-2</b>
Online: <b>3.16-0</b>
Do you want to update now?
2018-05-26 09:58:46: 0
2018-05-26 09:58:46: OS: Manjaro Linux
fwulversion=2.6
fwulbuild=1520439165
patchlevel=0
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=17.1.6
DISTRIB_CODENAME=Hakoila
DISTRIB_DESCRIPTION="Manjaro Linux"
Manjaro Linux
NAME="Manjaro Linux"
ID=manjaro
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.manjaro.org/"
SUPPORT_URL="https://www.manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
2018-05-26 09:58:46: OS (lsb): LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 17.1.6
Codename: Hakoila
2018-05-26 09:58:46: yad: 0.40.0 (GTK+ 3.22.28)
2018-05-26 09:58:46: DEVCON before: 99
2018-05-26 09:58:46: F_CHKDEVCON: started
aarch64
2018-05-26 09:58:47: F_CHKDEVCON: Device seems to be connected!
2018-05-26 09:58:47: RET: 0
2018-05-26 09:58:47: DEVCON after: 0
2018-05-26 09:58:47: EXPERIMENTAL: 0
2018-05-26 09:58:47: F_GETINFO: started
2018-05-26 09:58:47: F_CDARB: started
2018-05-26 09:58:48,032 partitions: INFO: Wrote 1048576 bytes to -
2018-05-26 09:58:48: ARB valid and 0
2018-05-26 09:58:48: F_CDARB: DEVARB=0, DEVARBEMPTY=0
2018-05-26 09:58:48: F_CDARB: ended
2018-05-26 09:58:48: F_GETINFO: ARB 0:0
2018-05-26 09:58:48: F_CKUSU: started
2018-05-26 09:58:48: F_DUMPPART: started with aboot
0:15:2048
1:31:2048
2:46:2048
3:62:2048
3:77:2048
4:93:2048
5:108:2048
6:124:2048
6:139:2048
7:155:2048
8:170:2048
9:186:2048
9:201:2048
10:217:2048
11:232:2048
12:248:2048
12:263:2048
13:279:2048
14:294:2048
15:310:2048
15:325:2048
16:341:2048
17:356:2048
18:372:2048
18:387:2048
19:403:2048
20:418:2048
21:434:2048
21:449:2048
22:465:2048
23:480:2048
24:496:2048
24:511:2048
25:527:2048
26:542:2048
27:558:2048
28:573:2048
28:589:2048
29:604:2048
30:620:2048
31:635:2048
31:651:2048
32:666:2048
33:682:2048
34:697:2048
34:713:2048
35:728:2048
36:744:2048
37:759:2048
37:775:2048
38:790:2048
39:806:2048
40:821:2048
40:837:2048
41:852:2048
42:868:2048
43:883:2048
43:899:2048
44:914:2048
45:930:2048
46:945:2048
46:961:2048
47:976:2048
48:992:2048
49:1007:2048
49:1023:2048
50:1038:2048
51:1054:2048
52:1069:2048
52:1085:2048
53:1100:2048
54:1116:2048
55:1131:2048
56:1147:2048
56:1162:2048
57:1178:2048
58:1193:2048
59:1209:2048
59:1224:2048
60:1240:2048
61:1255:2048
62:1271:2048
62:1286:2048
63:1302:2048
64:1317:2048
65:1333:2048
65:1348:2048
66:1364:2048
67:1379:2048
68:1395:2048
68:1410:2048
69:1426:2048
70:1441:2048
71:1457:2048
71:1472:2048
72:1488:2048
73:1503:2048
74:1519:2048
74:1534:2048
75:1550:2048
76:1565:2048
77:1581:2048
77:1596:2048
78:1612:2048
79:1627:2048
80:1643:2048
80:1658:2048
81:1674:2048
82:1689:2048
83:1705:2048
84:1720:2048
84:1736:2048
85:1751:2048
86:1767:2048
87:1782:2048
87:1798:2048
88:1813:2048
89:1829:2048
90:1844:2048
90:1860:2048
91:1875:2048
92:1891:2048
93:1906:2048
93:1922:2048
94:1937:2048
95:1953:2048
96:1968:2048
96:1984:2048
97:1999:2048
98:2015:2048
99:2030:2048
99:2046:2048
100:2048:2048
2018-05-26 09:58:49: F_CKUSU: USU=0 (1=yes, 0=no)
2018-05-26 09:58:49: F_CKUSU: ended
2018-05-26 09:58:49: F_GETINFO: USU 0:
2018-05-26 09:58:49: F_ROMCOMP: started
0
1
2018-05-26 09:58:50: UsU compatibility: 0 (0=h815, 1=h811)
2018-05-26 09:58:50: F_GETINFO: ROMCOMP H815
2018-05-26 09:58:50: F_CHKLAFV: started with this args:
2018-05-26 09:58:50: F_CHKLAFV: detected 1000006
2018-05-26 09:58:50: F_CHKLAFV: no comparison needed
2018-05-26 09:58:50: F_GETINFO: LAFVER 1000006
2018-05-26 09:58:51: F_GETINFO:
2018-05-26 09:58:51: F_GETINFO: ended
2018-05-26 09:58:51: parsing
2018-05-26 09:58:51: parsing H815
2018-05-26 09:58:51: parsing 0
2018-05-26 09:58:51: parsing 1000006
2018-05-26 09:58:51: parsing 85
2018-05-26 09:58:51: parsing H81529a
2018-05-26 09:58:51: parsing U
2018-05-26 09:58:51: parsing LGH815TRAT-00-V29a-OPT2-HQ-JUL-12-2017+0
2018-05-26 09:58:51: parsing imei:xxxxxxxxxxx
2018-05-26 09:58:51: parsing serial:xxxxxxxxxxx
2018-05-26 09:58:51: parsing LG-H815TR
2018-05-26 09:58:51: parsing GLOBAL
2018-05-26 09:58:51: parsing COM
2018-05-26 09:58:51: F_MSGW: started
2018-05-26 09:59:11: Your device does <b>not</b> support direct flashing!
Flashing functionality <b>disabled</b>!
Activate flashing functionality by flashing a SALT compatible LAF partition.
Download it right here for <b>any</b> G4 model (requires unlocked device + TWRP):
<a href='https://www.androidfilehost.com/?fid=818070582850495147'>SALT-compatible-LAF_flash-in-twrp.zip</a>
You can still use many of the features SALT offering - just not the flashing part.
2018-05-26 09:59:11: 0
2018-05-26 09:59:11: Flashing functionality disabled bc: LAFVER = 1000006 and/or EXPERIMENTAL = 0
2018-05-26 09:59:22: F_ADVMENU: started
2018-05-26 09:59:25: getlog script started
2018-05-26 10:00:10: F_MSGOK: started
2018-05-26 10:03:33: Log uploaded successfully!
Please share this link:
http://bpaste.net/show/1e10b2cccc7e
2018-05-26 10:03:33: 0
2018-05-26 10:03:37: F_LISTPARTS: started
2018-05-26 10:03:37: F_GETPARTS: started
2018-05-26 10:03:38: modem,1,32768,208895,812DD655-627C-0D0F-3FD2-815DCE5ABBC4
2018-05-26 10:03:38: pmic,2,229376,230399,DAF3727B-E6CE-D706-A1D0-56DA4D6215A3
2018-05-26 10:03:38: sbl1,3,230400,232447,1E04EB30-648D-3B3B-1AFE-374D798D8540
2018-05-26 10:03:38: tz,4,232448,234495,A1DB62E4-8B1D-79B6-9BBD-72E3067C629C
2018-05-26 10:03:38: sdi,5,234496,235519,91F2EC68-8B7A-48F9-E26D-738F3EDC27DE
2018-05-26 10:03:38: hyp,6,235520,236543,881AEE2F-4930-E620-D43E-6CF0BD5BBEAC
2018-05-26 10:03:38: rpm,7,236544,237567,13E54E57-3AC1-F5C8-EB08-058DE52AAC47
2018-05-26 10:03:38: aboot,8,237568,241663,666255B1-D974-5DBE-60A2-F8EBB81F7D2E
2018-05-26 10:03:38: sbl1bak,9,241664,243711,D146B23E-8F14-FE0F-8E63-CC1034FF3AD7
2018-05-26 10:03:38: pmicbak,10,243712,244735,78BFD764-AE7C-E491-D43B-D5D68FC7134E
2018-05-26 10:03:38: tzbak,11,244736,246783,C74DD66B-0C83-D518-BF9A-611675363680
2018-05-26 10:03:38: hypbak,12,246784,247807,F62B8FB5-CBDA-4056-EBBC-8F5ED7C3353F
2018-05-26 10:03:38: rpmbak,13,247808,248831,58579D64-17A6-89D0-1622-1397AA80A681
2018-05-26 10:03:38: abootbak,14,248832,252927,E6540864-B4B7-8698-0F1A-DEAF653DAAAA
2018-05-26 10:03:38: sdibak,15,252928,253951,79DD4B98-AD7D-470E-BDD9-CE9AA6E9246A
2018-05-26 10:03:38: limits,16,253952,254975,A22DAF2F-AB5C-9D30-2236-512209A6FAF2
2018-05-26 10:03:38: devinfo,17,254976,255999,72A30C09-12E8-C6FC-7423-949A8EBAAA82
2018-05-26 10:03:38: apdp,18,256000,257023,618ED72A-84A4-3214-9126-DA6BBB3CC4D1
2018-05-26 10:03:38: msadp,19,257024,258047,6E801307-7F0F-6724-D4B6-37031D5C21F7
2018-05-26 10:03:38: dpo,20,258048,259071,77476FA7-2D7F-AD3B-84CA-23BDC11EBCAC
2018-05-26 10:03:38: spare1,21,259072,262143,584CAAA9-BB9D-A018-D395-6DFDCC039918
2018-05-26 10:03:38: misc,22,262144,294911,882D6E37-322E-5861-C2A5-C612AA5DBE1B
2018-05-26 10:03:38: persist,23,294912,360447,977164A1-A02D-24E6-46D4-2419B28F4AF3
2018-05-26 10:03:38: modemst1,24,360448,363519,33A57E1C-8210-8A64-33F2-53421F06125D
2018-05-26 10:03:38: modemst2,25,363520,366591,E012A295-A5BA-0BA0-1A67-B7C75413A1FA
2018-05-26 10:03:38: fsg,26,366592,369663,623D5942-BC88-D653-C36D-0A6F5A5F7716
2018-05-26 10:03:38: fsc,27,369664,370687,0AE8652B-9C14-CC79-DD95-8B15609F0871
2018-05-26 10:03:39: ssd,28,370688,371711,FB4BCE9E-6095-FA8B-12E5-17057399E17F
2018-05-26 10:03:39: keystore,29,371712,372735,F8317C1D-2ABB-20BC-8C67-DBB39C650DB1
2018-05-26 10:03:39: DDR,30,372736,376831,3083DD35-923A-1FE5-791D-4D5DEB9586F3
2018-05-26 10:03:39: sec,31,376832,377855,7ADEF19D-27E6-B1A5-2BFD-3018BAF82F06
2018-05-26 10:03:39: encrypt,32,377856,378879,68A71FCC-004E-5596-E810-1B8006293C58
2018-05-26 10:03:39: eksst,33,378880,379903,A2E77524-2565-B443-9C2A-DD5EE575C1AF
2018-05-26 10:03:39: rct,34,379904,380927,FE2C06FE-D904-DE3A-4076-DA16207ACF17
2018-05-26 10:03:39: persistent,35,380928,385023,C4799A1F-49F9-C600-B2C6-1BD2C7D129C6
2018-05-26 10:03:39: spare2,36,385024,393215,4ECD70C8-B392-9B3A-7652-24148D00DF9D
2018-05-26 10:03:39: laf,37,393216,491519,855DCE51-2AEE-58FA-632F-BC315AE32250
2018-05-26 10:03:39: boot,38,491520,573439,BDBBAA7F-C1F8-65E6-5AD6-E18DDEBB3E44
2018-05-26 10:03:39: recovery,39,573440,655359,F12ADFD1-1B60-AEF0-6C81-67E7114D58ED
2018-05-26 10:03:39: drm,40,655360,671743,A0AA8F72-5649-8BA4-8B44-56F9E1615838
2018-05-26 10:03:39: sns,41,671744,688127,232664F5-B752-C025-3A48-9A7F059572ED
2018-05-26 10:03:39: mpt,42,688128,753663,CF573AF5-D1CB-0311-BC4B-7FA12852D52B
2018-05-26 10:03:39: factory,43,753664,847871,C09B2DD0-3A16-4C44-73C0-A56EF0DD92B6
2018-05-26 10:03:39: fota,44,847872,868351,B728E1E5-DCA5-11FA-B9A3-FA5344F5158A
2018-05-26 10:03:39: raw_resources,45,868352,876543,083A2C34-2EA0-0FA0-5AFD-0F0E80FDD16C
2018-05-26 10:03:39: raw_resourcesbak,46,876544,884735,8587FC90-5E3C-105D-B978-BC293D805FC5
2018-05-26 10:03:39: system,47,884736,9363455,B3364B13-EEB8-CBBA-2B8C-458B7FF5795A
2018-05-26 10:03:39: cust,48,9363456,9887743,030D4113-B0F9-5323-2268-9383055D0B80
2018-05-26 10:03:39: cache,49,9895936,12419071,9CE8E415-5EE6-28A1-DACB-E409CABF612B
2018-05-26 10:03:39: userdata,50,12419072,61046783,7F9EDF99-45E1-EFA5-4CE8-23A9EFE21C86
2018-05-26 10:03:39: grow,51,61046784,61071326,84DB071C-E681-B8AF-77CB-35FD426B4471
2018-05-26 10:03:39: (F_GETPARTS) created yad list: true
modem
1
32768
208895
812DD655-627C-0D0F-3FD2-815DCE5ABBC4
<span color='#558000'>system-partition</span>
2 true
pmic
2
229376
230399
DAF3727B-E6CE-D706-A1D0-56DA4D6215A3
bootloader
1 true
sbl1
3
230400
232447
1E04EB30-648D-3B3B-1AFE-374D798D8540
bootloader
1 true
tz
4
232448
234495
A1DB62E4-8B1D-79B6-9BBD-72E3067C629C
bootloader
1 true
sdi
5
234496
235519
91F2EC68-8B7A-48F9-E26D-738F3EDC27DE
bootloader
1 true
hyp
6
235520
236543
881AEE2F-4930-E620-D43E-6CF0BD5BBEAC
bootloader
1 true
rpm
7
236544
237567
13E54E57-3AC1-F5C8-EB08-058DE52AAC47
bootloader
1 true
aboot
8
237568
241663
666255B1-D974-5DBE-60A2-F8EBB81F7D2E
bootloader
1 true
sbl1bak
9
241664
243711
D146B23E-8F14-FE0F-8E63-CC1034FF3AD7
bootloader
1 true
pmicbak
10
243712
244735
78BFD764-AE7C-E491-D43B-D5D68FC7134E
bootloader
1 true
tzbak
11
244736
246783
C74DD66B-0C83-D518-BF9A-611675363680
bootloader
1 true
hypbak
12
246784
247807
F62B8FB5-CBDA-4056-EBBC-8F5ED7C3353F
bootloader
1 true
rpmbak
13
247808
248831
58579D64-17A6-89D0-1622-1397AA80A681
bootloader
1 true
abootbak
14
248832
252927
E6540864-B4B7-8698-0F1A-DEAF653DAAAA
bootloader
1 true
sdibak
15
252928
253951
79DD4B98-AD7D-470E-BDD9-CE9AA6E9246A
bootloader
1 true
limits
16
253952
254975
A22DAF2F-AB5C-9D30-2236-512209A6FAF2
<span color='#558000'>system-partition</span>
2 false
devinfo
17
254976
255999
72A30C09-12E8-C6FC-7423-949A8EBAAA82
<span color='#ff0000'>dangerous</span>
88 true
apdp
18
256000
257023
618ED72A-84A4-3214-9126-DA6BBB3CC4D1
<span color='#558000'>system-partition</span>
2 true
msadp
19
257024
258047
6E801307-7F0F-6724-D4B6-37031D5C21F7
<span color='#558000'>system-partition</span>
2 true
dpo
20
258048
259071
77476FA7-2D7F-AD3B-84CA-23BDC11EBCAC
<span color='#558000'>system-partition</span>
2 true
spare1
21
259072
262143
584CAAA9-BB9D-A018-D395-6DFDCC039918
unknown-type
2 false
misc
22
262144
294911
882D6E37-322E-5861-C2A5-C612AA5DBE1B
<span color='#ff0000'>dangerous</span>
88 false
persist
23
294912
360447
977164A1-A02D-24E6-46D4-2419B28F4AF3
<span color='#ff0000'>dangerous</span>
88 false
modemst1
24
360448
363519
33A57E1C-8210-8A64-33F2-53421F06125D
<span color='#ff0000'>dangerous</span>
88 false
modemst2
25
363520
366591
E012A295-A5BA-0BA0-1A67-B7C75413A1FA
<span color='#ff0000'>dangerous</span>
88 true
fsg
26
366592
369663
623D5942-BC88-D653-C36D-0A6F5A5F7716
<span color='#558000'>system-partition</span>
2 true
fsc
27
369664
370687
0AE8652B-9C14-CC79-DD95-8B15609F0871
<span color='#558000'>system-partition</span>
2 true
ssd
28
370688
371711
FB4BCE9E-6095-FA8B-12E5-17057399E17F
<span color='#558000'>system-partition</span>
2 true
keystore
29
371712
372735
F8317C1D-2ABB-20BC-8C67-DBB39C650DB1
<span color='#558000'>system-partition</span>
2 true
DDR
30
372736
376831
3083DD35-923A-1FE5-791D-4D5DEB9586F3
<span color='#558000'>system-partition</span>
2 true
sec
31
376832
377855
7ADEF19D-27E6-B1A5-2BFD-3018BAF82F06
<span color='#558000'>system-partition</span>
2 true
encrypt
32
377856
378879
68A71FCC-004E-5596-E810-1B8006293C58
<span color='#558000'>system-partition</span>
2 true
eksst
33
378880
379903
A2E77524-2565-B443-9C2A-DD5EE575C1AF
<span color='#558000'>system-partition</span>
2 true
rct
34
379904
380927
FE2C06FE-D904-DE3A-4076-DA16207ACF17
<span color='#558000'>system-partition</span>
2 false
persistent
35
380928
385023
C4799A1F-49F9-C600-B2C6-1BD2C7D129C6
<span color='#ff0000'>dangerous</span>
88 true
spare2
36
385024
393215
4ECD70C8-B392-9B3A-7652-24148D00DF9D
unknown-type
2 true
laf
37
393216
491519
855DCE51-2AEE-58FA-632F-BC315AE32250
bootloader
1 true
boot
38
491520
573439
BDBBAA7F-C1F8-65E6-5AD6-E18DDEBB3E44
<span color='#558000'>system-partition</span>
2 true
recovery
39
573440
655359
F12ADFD1-1B60-AEF0-6C81-67E7114D58ED
<span color='#558000'>system-partition</span>
2 false
drm
40
655360
671743
A0AA8F72-5649-8BA4-8B44-56F9E1615838
<span color='#ff0000'>dangerous</span>
88 false
sns
41
671744
688127
232664F5-B752-C025-3A48-9A7F059572ED
<span color='#ff0000'>dangerous</span>
88 true
mpt
42
688128
753663
CF573AF5-D1CB-0311-BC4B-7FA12852D52B
<span color='#558000'>system-partition</span>
2 true
factory
43
753664
847871
C09B2DD0-3A16-4C44-73C0-A56EF0DD92B6
<span color='#558000'>system-partition</span>
2 true
fota
44
847872
868351
B728E1E5-DCA5-11FA-B9A3-FA5344F5158A
<span color='#558000'>system-partition</span>
2 true
raw_resources
45
868352
876543
083A2C34-2EA0-0FA0-5AFD-0F0E80FDD16C
<span color='#558000'>system-partition</span>
2 true
raw_resourcesbak
46
876544
884735
8587FC90-5E3C-105D-B978-BC293D805FC5
<span color='#558000'>system-partition</span>
2 true
system
47
884736
9363455
B3364B13-EEB8-CBBA-2B8C-458B7FF5795A
<span color='#558000'>system-partition</span>
2 true
cust
48
9363456
9887743
030D4113-B0F9-5323-2268-9383055D0B80
<span color='#558000'>system-partition</span>
2 false
cache
49
9895936
12419071
9CE8E415-5EE6-28A1-DACB-E409CABF612B
unneeded
99 false
userdata
50
12419072
61046783
7F9EDF99-45E1-EFA5-4CE8-23A9EFE21C86
unneeded
99 false
grow
51
61046784
61071326
84DB071C-E681-B8AF-77CB-35FD426B4471
unneeded
99
2018-05-26 10:04:39: Reboot button script started
2018-05-26 10:04:43: REBOOT INITIATED by USER!
2018-05-26 10:04:44: Reboot button script ended
2018-05-26 10:08:50: F_ADVMENU: started
2018-05-26 10:09:42: F_ADVMENU: started
2018-05-26 10:10:49: F_ADVMENU: started
2018-05-26 10:15:45: getlog script started[/INDENT]
I need to admit that I'm a bit too excited to try to mess with it now (at least without some guidance ) as I cannot understand this log properly. For me there is no clear error/damage...and I'm already happy to know that the device still alive and it even list the partitions (Advanced Menu -> Show My Partitions).
What should I do now? Is just a matter of extract with SALT the correct kdz variant (that I suppose is the H815TR and not the H815) and flash it?
Thanks again for helping me

otavio_aon said:
:laugh:... it worked!
It's not fixed... but SALT has found my mobile (after I change it to USB3) 2 new things happened:
1) SALT identified all device's information (photo attached)
2) Download Mode screen changed (slightly) and does not display the "Modified" (in red) anymore. Not it shows: "633A 50.0 AS0.0 BB1 UHS || U U LG-H815TR 07.0 Hrev_10 CPU4 || H81529a" (but if I reboot the device, old message returns)
Debug log is HERE:
I need to admit that I'm a bit too excited to try to mess with it now (at least without some guidance ) as I cannot understand this log properly. For me there is no clear error/damage...and I'm already happy to know that the device still alive and it even list the partitions (Advanced Menu -> Show My Partitions).
What should I do now? Is just a matter of extract with SALT the correct kdz variant (that I suppose is the H815TR and not the H815) and flash it?
Thanks again for helping me
Click to expand...
Click to collapse
Great. On of the first things which happen when SALT is starting up is it checks for a new version. Please do not skip the update. It's really necessary to use the latest SALT version and you're using an outdated one. So just update first when ever asked.
Then do a backup in SALT before doing anything else. You can mount folders from your windows to VirtualBox and then access it from there which is the best way to backup in a VM. Check the FWUL thread ftp a howto.
When starting the backup you get asked about the type: choose "basic" or when you want to backup all your internal storage (will take hours and needs 33 GB free disk space) choose the full one. Basic will have all partitions which are important on your phone just without your personal stuff and the ROM itself as that can be easily recovered by extracting a kdz.
Now extract a kdz file of your model with SALT (the partitions you need are listed on the next step). Ensure you have the latest SALT version and ensure that no folder or the kdz file contains any spaces in its name (known bug atm).
After you extracted the kdz boot your phone to fastboot mode instead of download mode and begin to flash the extracted partitions:
sbl1
rpm
sdi
pmic
hyp
laf
aboot
tz
system
boot
modem
factory
like that:
fastboot flash sbl1 sbl1.bin
...
Then do this:
fastboot format userdata (will erase all your internal data)
fastboot format cache
fastboot reboot
Keep thumbs pressed. The first boot can take up to 15min!
Sent from my LG-H815 using XDA Labs

steadfasterX said:
Great. On of the first things which happen when SALT is starting up is it checks for a new version. Please do not skip the update. It's really necessary to use the latest SALT version and you're using an outdated one. So just update first when ever asked.
Then do a backup in SALT before doing anything else. You can mount folders from your windows to VirtualBox and then access it from there which is the best way to backup in a VM. Check the FWUL thread ftp a howto.
When starting the backup you get asked about the type: choose "basic" or when you want to backup all your internal storage (will take hours and needs 33 GB free disk space) choose the full one. Basic will have all partitions which are important on your phone just without your personal stuff and the ROM itself as that can be easily recovered by extracting a kdz.
Click to expand...
Click to collapse
SALT updated to 3.16.0 :good:
Basic (dont need my personal data) Backup DONE :good: (and verified)
(set a Virtual Box shared folder with Auto mount, Full access and Permanent)
... however, the next part It wasn't so clear for me:
steadfasterX said:
Now extract a kdz file of your model with SALT (the partitions you need are listed on the next step). Ensure you have the latest SALT version and ensure that no folder or the kdz file contains any spaces in its name (known bug atm).
After you extracted the kdz boot your phone to fastboot mode instead of download mode and begin to flash the extracted partitions:
...
Click to expand...
Click to collapse
1) Should I download a new KDZ file and get the partitions from there?
2) Or I should get the partitions that are currently on my device?
I tried both:
1) Tried to extract a random KDZ (downloaded a time ago), but it don't know what to expect in case of success. I got a <*.kd> file and a <*.params>
2) if that is the case, it isn't very clear how to do it

otavio_aon said:
SALT updated to 3.16.0 :good:
Basic (dont need my personal data) Backup DONE :good: (and verified)
(set a Virtual Box shared folder with Auto mount, Full access and Permanent)
... however, the next part It wasn't so clear for me:
1) Should I download a new KDZ file and get the partitions from there?
2) Or I should get the partitions that are currently on my device?
I tried both:
1) Tried to extract a random KDZ (downloaded a time ago), but it don't know what to expect in case of success. I got a <*.kd> file and a <*.params>
2) if that is the case, it isn't very clear how to do it
Click to expand...
Click to collapse
Good!
Download and extract the latest version of h815 MM.. so I guess 20... whatever. Iirc 20p was the latest.
The backup with SALT is just to have it if something goes completely wrong. Then you may need it..
But to unbrick you should use the h815 20p kdz, extract it and after extraction completed you will be promoted by SALT to open the folder. Do that. Right click in that folder and choose : "open a terminal here". Then you can go on with the fastboot flash commands.
As said there is a known bug in SALT when the folder where the kdz is in contains spaces in its name or when the target folder where you extract the kdz to contains spaces in its name. So ensure that and you should be able to extract without a problem. If you can't extract a kdz share the SALT debug log after trying.
Sent from my LG-H815 using XDA Labs
OT:
Consider to press thanks from time to time when you think you get help from someone

steadfasterX said:
Download and extract the latest version of h815 MM.. so I guess 20... whatever. Iirc 20p was the latest.
...
But to unbrick you should use the h815 20p kdz, extract it and after extraction completed you will be promoted by SALT to open the folder. Do that. Right click in that folder and choose : "open a terminal here". Then you can go on with the fastboot flash commands.
Click to expand...
Click to collapse
I jsut cannot find the H815_20p anywhere ... so I'm considering using H815v29a (this version has already worked in the past) .... is it going to be a risky? Might it cause a problem? (SALT shows a AntiRollBack = 0 (which I suppose is good) in red (which I understand as a warning)
I also found the H815_20G at AutoPrime archive that seems to be an option...but I guess v29a is newer.
Also: is now the stage were I should get a rooted firmware?
Or I must go for a stock (and unrooted) ROM first... and then, when everything is done and working, I go and try to root it?

otavio_aon said:
I jsut cannot find the H815_20p anywhere ... so I'm considering using H815v29a (this version has already worked in the past) .... is it going to be a risky? Might it cause a problem? (SALT shows a AntiRollBack = 0 (which I suppose is good) in red (which I understand as a warning)
I also found the H815_20G at AutoPrime archive that seems to be an option...but I guess v29a is newer.
Also: is now the stage were I should get a rooted firmware?
Or I must go for a stock (and unrooted) ROM first... and then, when everything is done and working, I go and try to root it?
Click to expand...
Click to collapse
H815 20p is on my server, extracted or as a zip:
http://leech.binbash.it:8008/stock/LG/h815/20p/
Antirollback is in red because it's important not in general good or bad. If you would flash an ARB of anything higher then 0 to a h815 you will never be able to fully recover it.
Don't do any special things like rooting. First thing is to get back to normal and that's just pure stock.
Every side path may lead to issues.
Sent from my LG-H815 using XDA Labs

steadfasterX said:
H815 20p is on my server, extracted or as a zip: http://leech.binbash.it:8008/stock/LG/h815/20p/
[...]
Click to expand...
Click to collapse
So I've downloaded the H81520p_00 stock ROM from your server.
In topic #10 you said that I should get files as ".bin" but in your servers they are all ".image". Should I just rename it to change the file extension? Or do I need to convert it somehow?
steadfasterX said:
After you extracted the kdz boot your phone to fastboot mode instead of download mode and begin to flash the extracted partitions:
sbl1
rpm
sdi
pmic
hyp
laf
aboot
tz
system
boot
modem
factory
like that: fastboot flash sbl1 sbl1.bin
...
Click to expand...
Click to collapse
I also tried to flash the "sdb1.bin" (assuming I just needed to rename the .image file) file into it ... but it didn't worked.
FIRST try:
rebooted in Fastboot mode
using FWUL 2.6 (same setup on VirtualBox), I started a terminal and entered command "fastboot flash sbl1 sbl1.bin "
Got Message "< waiting for any device >" ... and it was only this, even after waiting 10min.
SECOND try:
rebooted in Fastboot mode
using Win10, I started a CMD (as Admin) and entered command "fastboot flash sbl1 sbl1.bin " (PS: fastboot.exe in system path)
Got error message: FAILED (remote: cannot flash this partition in unlocked state)
Code:
target reported max download size of 536870912 bytes
sending 'sbl1' (1024 KB)...
OKAY [ 0.058s]
writing 'sbl1'...
FAILED (remote: cannot flash this partition in unlocked state)
finished. total time: 0.080s
​
So I decided to perform a simple test.
At Win10 CMD window, entered "fastboot getvar unlocked" ... and got "unlocked: yes || finished. total time: 0.008s"
At FWUL 2.6 Terminal, entered "fastboot getvar unlocked" ... and got same msg "< waiting for any device >". So apparently linux is connecting to the device while it's in download mode but cannot do it in fastboot mode.
Code:
For the records: how to reboot LG G4 in Fastboot mode:
[LIST=1]
[*] Turn OFF device
[*]remove battery
[*]hold Volume DOWN key
[*]insert battery back
[*]connect USB cable
[/LIST]

otavio_aon said:
So I've downloaded the H81520p_00 stock ROM from your server.
In topic #10 you said that I should get files as ".bin" but in your servers they are all ".image". Should I just rename it to change the file extension? Or do I need to convert it somehow?
I also tried to flash the "sdb1.bin" (assuming I just needed to rename the .image file) file into it ... but it didn't worked.
FIRST try:
rebooted in Fastboot mode
using FWUL 2.6 (same setup on VirtualBox), I started a terminal and entered command "fastboot flash sbl1 sbl1.bin "
Got Message "< waiting for any device >" ... and it was only this, even after waiting 10min.
SECOND try:
rebooted in Fastboot mode
using Win10, I started a CMD (as Admin) and entered command "fastboot flash sbl1 sbl1.bin " (PS: fastboot.exe in system path)
Got error message: FAILED (remote: cannot flash this partition in unlocked state)
So I decided to perform a simple test.
At Win10 CMD window, entered "fastboot getvar unlocked" ... and got "unlocked: yes || finished. total time: 0.008s"
At FWUL 2.6 Terminal, entered "fastboot getvar unlocked" ... and got same msg "< waiting for any device >". So apparently linux is connecting to the device while it's in download mode but cannot do it in fastboot mode.
[/LIST]
Click to expand...
Click to collapse
For the bin/image question read FAQ #11 here: https://forum.xda-developers.com/g4/general/tool-salt-lg-revolution-t3717864/post74811095
FWUL detects fastboot mode without any problems but when entering fastboot the USB id changes. That means when using VirtualBox you need to add that new USB device to FWUL. normally named android phone or similar.
But anyways the error you get in fastboot mode indicates that you can't flash anything useful in that firmware version. FWUL or windows makes no difference here.
So the only option is to flash in download mode then. Either come to IRC ( http://webchat.freenode.net/?channels=Carbonfusion-user ) or write me a PM with subject "SALT flashing mode".
Sent from my LG-H815 using XDA Labs

I have the same problem "Got error message: FAILED (remote: cannot flash this partition in unlocked state)". Please help how to flash in downloaded mode.

I have also tried "[GUIDE] Proper H815 unbrick through QFIL (Files included) by inteLzzz". Flashed different roms by LGUP. All went well, but nothing changed. Pls help.

Related

[Q] Flash by apx

Hey guys,
Is it possible to flash full image by?
Really important I get stuck with no bootloader when trying to flash..
What cab I do?
Thank you
APX is a hardware defect, no solution for that at the moment....yes there is one ! Replace the mainboard
THe thing is I switched the tegra IC and now its stuck on APX but I can Use APX only need the files.
Nothing like the known problem...
Ow oke......good luck then
Thanks
Any one knows a way to full flash by apx ?"
Maybe you can look by posts from nitrous2 or TripnRaver......they know more about APX. At least in general so it might be helpful
Some one any ideas ?
Trip has released drivers for apx mode however you will need the sbk for the one x in order to flash anything which is something that nobody except HTC have
Sent from my HTC One X using xda app-developers app
deadwolf666 said:
Hey guys,
Is it possible to flash full image by?
Really important I get stuck with no bootloader when trying to flash..
What cab I do?
Thank you
Click to expand...
Click to collapse
Did you manage to get the files to flash with APX ?
I have the device stuck in APX mode and I got the drivers, but that's as far as I could get without the files.
Thanks in advance!
Bugz! said:
Did you manage to get the files to flash with APX ?
I have the device stuck in APX mode and I got the drivers, but that's as far as I could get without the files.
Thanks in advance!
Click to expand...
Click to collapse
Sorry but I didnt manage to fix it then but here are some possible solution I found today on google:
http://forum.xda-developers.com/showthread.php?t=2118259
http://forum.gsmhosting.com/vbb/f485/htc-onex-pj46100-dead-solution-1653973/index2.html
http://www.gsmforum.ru/threads/161505-HTC-One-X-s720e-PJ46100-%D0%BD%D0%B5-%D0%B2%D0%BA%D0%BB%D1%8E%D1%87%D0%B0%D0%B5%D1%82%D1%81%D1%8F
https://www.youtube.com/watch?v=nmzk92rV6k4
apparently you need to be s-off to have any chance
Ive also attached the files needed (from the above links)
Hope it helps, also please update.
Thanks for the reply !
I have been able to communicate with the device from the second link you provided, but it gives errors when trying to repartition it.
I will post the errors first thing in the morning as I don't have the device with me now to regenerate it
I've read on so many forums that the mainboard may be fried as in it needs to be replaced, but then again I've proven forums wrong before when it comes to unknown errors and situations, so I'm hoping they're wrong again.
I'm curious, how far did you go with your device? where did you stop and give up on it?
deadwolf666 said:
Sorry but I didnt manage to fix it then but here are some possible solution I found today on google:
http://forum.xda-developers.com/showthread.php?t=2118259
http://forum.gsmhosting.com/vbb/f485/htc-onex-pj46100-dead-solution-1653973/index2.html
http://www.gsmforum.ru/threads/161505-HTC-One-X-s720e-PJ46100-%D0%BD%D0%B5-%D0%B2%D0%BA%D0%BB%D1%8E%D1%87%D0%B0%D0%B5%D1%82%D1%81%D1%8F
https://www.youtube.com/watch?v=nmzk92rV6k4
apparently you need to be s-off to have any chance
Ive also attached the files needed (from the above links)
Hope it helps, also please update.
Click to expand...
Click to collapse
Ok here's my log:
Code:
C:\Documents and Settings\Bugz\Desktop\RD_release(with_sbk)without sis>nvflash -
-blob blob.bin --bct flash_enc.bct --setbct --odmdata 0x40080105 --configfile fl
ash_32g.cfg --create --bl hboot_enc.img --go
Nvflash v1.2.57794 started
Using blob v1.1.57813
rcm version 0X30001
System Information:
chip name: unknown
chip id: 0x30 major: 1 minor: 3
chip sku: 0x81
chip uid: 0x015d256462581c11
macrovision: disabled
hdcp: enabled
sbk burned: true
dk burned: true
boot device: emmc
operating mode: 4
device config strap: 0
device config fuse: 17
sdram config strap: 0
sending file: flash_enc.bct
- 6128/6128 bytes sent
flash_enc.bct sent successfully
odm data: 0x40080105
downloading bootloader -- load address: 0x80108000 entry point: 0x80108000
sending file: hboot_enc.img
- 2097168/2097168 bytes sent
hboot_enc.img sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
setting device: 2 3
creating partition: BCT
creating partition: PT
creating partition: EBT
creating partition: DIA
creating partition: BIF
creating partition: GP1
creating partition: WLN
creating partition: WDM
creating partition: RCA
creating partition: LNX
creating partition: SOS
creating partition: PG1
creating partition: PG2
creating partition: PG3
creating partition: SIF
creating partition: SP1
creating partition: RV1
creating partition: APP
creating partition: CAC
creating partition: ISD
creating partition: UDA
creating partition: DUM
creating partition: MSC
creating partition: RFS
creating partition: DLG
creating partition: PDT
creating partition: GPT
failed executing command 13 NvError 0x120002
command failure: create failed (bad data)
bootloader status: fatal failure to read / write to mass storage (code: 9) messa
ge: nverror:0x8 (0x9) flags: 0
C:\Documents and Settings\Bugz\Desktop\RD_release(with_sbk)without sis>pause
Press any key to continue . . .
Did you get this far? I don't know what this error means as I don't have any experience with nvflash
I'll be looking into the error code, just wanted to share this in case someone is following the footsteps

[Q] Galaxy Nexus stopped working, trying to recover important data...

Hi Guys
I'm new to the Forum and start with asking a question - apologize for that, I know that it's impolite.
I'm pretty desperate at the moment. Tried to switch on my Galaxy Nexus some days ago and it did not start. If I try to switch it on (long button press), the google logo appears for about 72 seconds, then "something" happens on the screen (usually the logo becomes brighter and horizontal lines appear on the screen). And that's it.
There's no clear reason why the mobile is broken now.
The big problem is that I have lots of pictures of my little boy on that device, from his birth until now (it's his first birthday tomorrow). These pics are very very important to me, the only pictures I have from his birth. I did not backup those pictures - I'm stupid. So my goal is to rescue those images from the device somehow. Currently I'm spending every free second to read and learn how to recover those images...
Device info:
Galaxy Nexus, Tuna Maguro 16GB
HW Version: 9
Bootloader Version: PRIMEMD04
Baseband Version: I9250XXLJ1
Everything is stock version, Android 4.4.2 (I think), stock bootloader
What I've tried so far:
- Installed fastload / ADB on Ubuntu 14.04 from repo. Manually installed ADB 1.0.32 as well.
- I can boot the device into Fastboot / Rescue / Odin mode, that works.
- Tried to clear the cache. It hangs after "Formatting /cache". No "completed" message. If I go to the recovery menu now, I get a couple of messages which say
"E:failed to mount /cache (Invalid argument)"
and then lots of "Can't mount /cache/recovery/log" messages.
If I boot in Rescue Mode, select "apply update from ADB" and connect the mobile to the PC:
Code:
[ 502.524071] usb 1-5: new high-speed USB device number 3 using ehci-pci
[ 502.657321] usb 1-5: New USB device found, idVendor=18d1, idProduct=d001
[ 502.657330] usb 1-5: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 502.657348] usb 1-5: Product: Galaxy Nexus
[ 502.657352] usb 1-5: Manufacturer: samsung
[ 502.657355] usb 1-5: SerialNumber: (redacted)
So it gets detected, at least.
Then:
Code:
$ ./adb get-state
sideload
$ ./adb devices -l
List of devices attached
(serial redacted) sideload usb:1-5
$ ./adb backup -all
adb: unable to connect for backup
$ ./adb bugreport
error: closed
$ ./adb shell pwd
error: closed
$ ./adb logcat
- waiting for device -
^C
I've downloaded the stock yakju ROM from the google dev website (can't post links, sorry).
There are a bunch of files in that archive:
Code:
$ ll
total 298996
drwxr-x--- 2 m m 4096 Aug 21 2013 ./
drwxr-xr-x 7 m m 4096 Aug 30 23:50 ../
-rw-r----- 1 m m 2363392 Aug 21 2013 bootloader-maguro-primemd04.img
-rw-r----- 1 m m 956 Aug 21 2013 flash-all.bat
-rwxr-x--x 1 m m 827 Aug 21 2013 flash-all.sh*
-rwxr-x--x 1 m m 785 Aug 21 2013 flash-base.sh*
-rw-r----- 1 m m 291192953 Aug 21 2013 image-yakju-jwr66y.zip
-rw-r----- 1 m m 12583168 Aug 21 2013 radio-maguro-i9250xxlj1.img
Code:
$ zipinfo image-yakju-jwr66y.zip
Archive: image-yakju-jwr66y.zip
Zip file size: 291192953 bytes, number of entries: 5
?rw-r--r-- 2.0 unx 4481024 b- defN 09-Jan-01 00:00 boot.img
?rw-r--r-- 2.0 unx 5042176 b- defN 09-Jan-01 00:00 recovery.img
?rw-r--r-- 2.0 unx 485561008 b- defN 09-Jan-01 00:00 system.img
-rw------- 2.0 unx 140860420 b- defN 13-Aug-13 22:56 userdata.img
-rw-r----- 2.0 unx 93 b- defN 13-Aug-13 16:00 android-info.txt
So my questions are:
Am I doing the right thing here? I Hope that this is a software problem and the hardware is ok.
If yes, which of those file(s) should I flash to the device, without risking the loss of data?
Can you think of any other possibility to recover the data? Clockwork mod or TWRP maybe? Or a custom sideload script (inside the uploaded zip file).
I've read that flashing a custom bootloader wipes the device - so maybe CW / TWRP is not a good idea...
Thank you very very much for your help.
Matt
It may have been a while, bit it might help anyways
Boot your phone to the Bootloader mode. Connect it to your PC via USB.
Use Terminal to cd into your adb/fastboot folder.
Grab the latest TWRP from here: https://dl.twrp.me/maguro/
Copy it into the same directory as fastboot and rename it to recovery.img
Then try to boot into recovery (assuming you haven't rooted your phone and you have a locked bootloader) with "./fastboot boot recovery recovery.img"
I am not sure if this will work with a locked bootloader, but it's worth a try.
If it boots to TWRP then "./adb pull /sdcard/ /backup/" this should create a folder with all the contents of the internal memory in the fastboot direcory. Just let it copy, its done when you are at a prompt again.

Lumia 950 XL Dual Sim having problem flashing need help.

Hello everyone I recently got a Lumia 950 XL from B&H not knowing that I ended up with one from Mexico no big deal but id like to have the Reset Protection on the phone since that's a US only feature. So I look up my phone on the back of it an such and so on. And I try this one code that suppose to change my product code which didn't work I try even my original code of my device and nothing happen just errors. this what ive done. Mine a RM-1116 and product number 059X5P5 I wanted to put on my device a US code of 059X505 since there both RM-116 then I put this code down as followed try both as a test.
"C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool\thor2.exe" -mode uefiflash -ffufile C:\ProgramData\Microsoft\Packages\Products\RM1116_1078.0038.10586.13080.15285.033372_retail_prod_signed.ffu -skip_flash -productcodeupdate 059X5P5
"C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool\thor2.exe" -mode uefiflash -ffufile C:\ProgramData\Microsoft\Packages\Products\RM1116_1078.0038.10586.13080.15285.033372_retail_prod_signed.ffu -skip_flash -productcodeupdate 059X505
But both didn't work. I ended up with a huge error. If I could get some help on this or more clarification of what im doing wrong please help im not a coder just ran into this code from a different forum I belong too. here the log off my error below.
Process started Mon Apr 25 08:58:17 2016
Logging to file C:\Users\Daniel\AppData\Local\Temp\thor2_win_20160425085817_ThreadId-232.log
Debugging enabled for uefiflash
Initiating FFU flash operation
WinUSB in use.
isDeviceInNcsdMode
Normal mode detected
Rebooting to the normal mode...
Resp from NCSd {"id":7,"jsonrpc":"2.0","result":null}
[THOR2_flash_state] Switching to flash mode
Detecting UEFI responder
HELLO success
Lumia Boot Manager detected
Check status of battery
State of charge 69, charging current 71
Protocol version 2.6 Implementation version 2.48
Booting to FlashApp
Reboot to FlashApp command sent successfully.
Verifying that device is online
Device is online
Detecting UEFI responder
HELLO success
Lumia Flash detected
Protocol version 2.41 Implementation version 2.75
[THOR2_flash_state] Pre-programming operations
Disable timeouts
Get flashing parameters
Lumia Flash detected
Protocol version 2.41 Implementation version 2.75
Size of one transfer is 2363392
MMOS RAM support: 1
Size of buffer is 2359296
Number of eMMC sectors: 61071360
Platform ID of device: Microsoft.MSM8994.P6211.2.1
Async protocol version: 01
Security info:
Platform secure boot enabled
Secure FFU enabled
JTAG eFuse blown
RDC not found
Authentication not done
UEFI secure boot enabled
SHK enabled
Device supports FFU protocols: 0015
Subblock ID 32
[THOR2_flash_state] Device programming started
Using secure flash method
CoreProgrammer version 2015.06.10.001.
Start programming signed ffu file C:\ProgramData\Microsoft\Packages\Products\RM1116_1078.0038.10586.13080.15285.033372_retail_prod_signed.ffu
FfuReader version is 2015061501
Send FlashApp write parameter: 0x4d544f00
Perform handshake with UEFI...
Flash app: Protocol Version 2.41 Implementation Version 2.75
Unknown sub block detected. Skip...
DevicePlatformInfo: Microsoft.MSM8994.P6211.2.1
Unknown sub block detected. Skip...
Unknown sub block detected. Skip...
Supported protocol versions bitmap is 15
Secure FFU sync version 1 supported.
Secure FFU async version 1 supported.
Secure FFU sync version 2 supported.
Secure FFU async version 2 supported.
CRC header v. 1
CRC align bytes. 4
Get CID of the device...
Get EMMC size of the device...
Emmc size in sectors: 61071360
CID: Hynix, Size 29820 MB
Start charging...
Requested write param 0x43485247 is not supported by this flash app version.
Start charging... DONE. Status = 0
ConnSpeedEcho: Elapsed= 0.221000, EchoSpeed= 30.54, Transferred= 7077918 bytes
Get security Status...
Security Status:
Platform secure boot is enabled.
Secure eFUSE is enabled.
JTAG is disabled.
RDC is missing from the device.
Authentication is not done.
UEFI secure boot is enabled.
Secondary HW key exists.
Get RKH of the device...
RKH of the device is 427D8FD5A7F227820D5B11BF8C6F7670C0A0622CC61BA95AAEE18F7517FC0B77
Get ISSW Version...
ISSW Version: 291
Thu Nov 19 16:02:20 EET 2015 ;ISSW v0291; rg0; OS; DNE; KCI 1318; ASIC 899x;
Get system memory size...
Size of system mem: 3145728 KB
Read antitheft status...
Reset Protection status: Disabled
Reset Protection version: 1.1
Send backup to RAM req...
Unable to parse FFU file. File open failed
programming operation failed!
Unable to parse FFU file. File open failed, Error code: 2
Operation took about 34.00 seconds.
FFU_PARSING_ERROR
THOR2 1.8.2.18 exited with error code 2228224 (0x220000)
same
maliksantika said:
same
Click to expand...
Click to collapse
you can ask for help in telegram group.its called "LumiaWOA" join it and ask there

can't flash twrp (no error - just not installed)

hello,
im trying to flash my S4 Mini with lineage os - first step installing twrp fails.
i tried using heimdall to to flash twrp with the gui and via cli, but fail the same way: they report no error at all! finish the flashing and reboot. when i then try to go into recovery the standard recovery is still there! everything is jsut as stock as it was before.
here is the cli output:
Code:
sudo heimdall flash --RECOVERY twrp-3.2.3-0-serranoltexx.img --verbose
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Manufacturer: "Sasmsung"
Product: "MSM8960"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
PIT file download successful.
Uploading RECOVERY
0%
11%
22%
33%
45%
56%
67%
79%
90%
100%
RECOVERY upload successful
Ending session...
Rebooting device...
Releasing device interface...
note that: i tried 2 different versions of the latest twrp (one compiled by someone from xda), and i tried the gui too - adding the path to the save pit -> same result.
my problem seems similar to this post:
https://forum.xda-developers.com/galaxy-s4-mini/help/heimdall-reboot-to-custom-recovery-t3474163
but there was no response
also, ive read that sudo can be problem for heimdall, but without sudo it cant access the usb....
if anyone has any idea, please dont be shy to attempt to help, or point to other places where i could get help thank you!
about me: this is literally the first time im having an android device (im a sailfish user), so forgive me the possible beginners mistakes. also, my host pc is runing mint19.
misc11 said:
hello,.
Click to expand...
Click to collapse
Bro I think you are in stock.....
But which model? If i9192
Then root using https://forum.xda-developers.com/galaxy-s4-mini/general/root-root-s4-mini-i9192-2018-t3780235 and flash twrp.img using apps
HemanthJabalpuri said:
Bro I think you are in stock.....
But which model? If i9192
Then root using https://forum.xda-developers.com/galaxy-s4-mini/general/root-root-s4-mini-i9192-2018-t3780235 and flash twrp.img using apps
Click to expand...
Click to collapse
yes, the phone is still completely stock. not rooted, but apparently the bootloader comes unlocked with samsung phones...
the version is: GT-I9195. so, from your link, i understand that i HAVE to root it?
HemanthJabalpuri said:
Bro I think you are in stock.....
But which model? If i9192
Then root using https://forum.xda-developers.com/galaxy-s4-mini/general/root-root-s4-mini-i9192-2018-t3780235 and flash twrp.img using apps
Click to expand...
Click to collapse
thank you for your help! in fact, rooting the phone was the solution. installing twrp worked right away!
misc11 said:
thank you for your help! in fact, rooting the phone was the solution. installing twrp worked right away!
Click to expand...
Click to collapse
Thanks no worries
HemanthJabalpuri

G4 not able to enter fastboot mode after Wipe

Hi,
since i wanted to install a custom Lineage OS ROM for my LG G4, i wanted to make a clean install of the OS according to https://forum.xda-developers.com/showpost.php?p=79502871&postcount=2 .
I used
Code:
fastboot boot ~/Downloads/twrp.img
to boot into TWRP from my phone. I didn't install TWRP.
I chose WIPE->Advanced and selected "System" and "Cache". After that, I also used the "Format Data" function.
I rebooted the phone, but since then, only the LG logo is shown with the message "Bootloader Mode: Bootloader unlocked!"
I tried to enter fastboot mode by following these instructions from https://forum.xda-developers.com/g4/general/unlock-unlock-lg-g4-device-usu-t3760451:
take out the battery
unplug the usb cable from the PC (not from the device)
Insert the battery again
wait 2 sec
press volume DOWN and while keeping it pressed: plug the USB cable to the device
keep volume DOWN pressed until you see the fastboot screen
Click to expand...
Click to collapse
However, it doesn't work. Right now, It looks I can't use the phone for anything anymore. Can anyone help me with this?
Edit: I found out that my phone manages to enter download mode.
benni_g4 said:
Hi,
since i wanted to install a custom Lineage OS ROM for my LG G4, i wanted to make a clean install of the OS according to https://forum.xda-developers.com/showpost.php?p=79502871&postcount=2 .
I used
to boot into TWRP from my phone. I didn't install TWRP.
I chose WIPE->Advanced and selected "System" and "Cache". After that, I also used the "Format Data" function.
I rebooted the phone, but since then, only the LG logo is shown with the message "Bootloader Mode: Bootloader unlocked!"
I tried to enter fastboot mode by following these instructions from https://forum.xda-developers.com/g4/general/unlock-unlock-lg-g4-device-usu-t3760451:
However, it doesn't work. Right now, It looks I can't use the phone for anything anymore. Can anyone help me with this?
Edit: I found out that my phone manages to enter download mode.
Click to expand...
Click to collapse
UsU'd or not? Sounds like an official unlocked so an advice for UsU devices will not help.
Which TWRP version do you had used?
And most importsnt what model (h815, h812..)?
Sent from my OnePlus 6T using XDA Labs
steadfasterX said:
UsU'd or not? Sounds like an official unlocked so an advice for UsU devices will not help.
Which TWRP version do you had used?
And most importsnt what model (h815, h812..)?
Sent from my OnePlus 6T using XDA Labs
Click to expand...
Click to collapse
The model is is H815. You are right, I unlocked it the offical way. The TWRP version is 3.3.1-2.
Any chance to solve this? It would be sad to throw it away because of this reason...
benni_g4 said:
Any chance to solve this? It would be sad to throw it away because of this reason...
Click to expand...
Click to collapse
I think, I had the same problem a couple of years back, but I don't remember the solution. Might have been the USB cable that I used. You could try changing up the cable.
Are you able to detect the device with "adb devices"?
dat_benjie said:
I think, I had the same problem a couple of years back, but I don't remember the solution. Might have been the USB cable that I used. You could try changing up the cable.
Are you able to detect the device with "adb devices"?
Click to expand...
Click to collapse
I changed the cable, but the problem remains. As I said, the phone is also able to enter download mode when I press volume up and plug in the cable.
There is neither any output from
Code:
adb devices
nor from
Code:
fastboot devices
.
But I checked the output of
Code:
lsusb
. There is no usb entry for my phone after trying to enter fastboot mode.
BUT an entry appears after entering download mode:
Code:
Bus 002 Device 026: ID 1004:633a LG Electronics, Inc.
(but still no output from adb devices or fastboot devices)
benni_g4 said:
The model is is H815. You are right, I unlocked it the offical way. The TWRP version is 3.3.1-2.
Click to expand...
Click to collapse
The official TWRP is for oreo ROMs not pie. I don't believe that was the reason though , more likely because you didn't flashed TWRP and just fastboot boot'ed it.
You need to find the right combo for the h815. Just use the xda search to find it and also youtube could show good results.
The cable can be an issue as well and also the usb port ( try on usb 2 and usb 3 port).
Other then that it can differ between the bootloader stack version.
If you haven't flashed any bootloader TWRP zip then this is the last stock firmware version (the last one you had installed on your device).
Last but not least (depends on your bootloader stack version) you might be able to flash with SALT TWRP and boot it afterwards. Btw what was your reason not flashing TWRP ?
Sent from my OnePlus 6T using XDA Labs
steadfasterX said:
The official TWRP is for oreo ROMs not pie. I don't believe that was the reason though , more likely because you didn't flashed TWRP and just fastboot boot'ed it.
You need to find the right combo for the h815. Just use the xda search to find it and also youtube could show good results.
The cable can be an issue as well and also the usb port ( try on usb 2 and usb 3 port).
Other then that it can differ between the bootloader stack version.
If you haven't flashed any bootloader TWRP zip then this is the last stock firmware version (the last one you had installed on your device).
Last but not least (depends on your bootloader stack version) you might be able to flash with SALT TWRP and boot it afterwards. Btw what was your reason not flashing TWRP ?
Sent from my OnePlus 6T using XDA Labs
Click to expand...
Click to collapse
To answer your question first: I didn't have a specific reason not to flash TWRP, I just read it somewhere that it was possible just to boot into TWRP. So I thought it wouldn't make a difference.
I didn't find any other key combination to enter fastboot mode.
I actually don't know what a bootloader stack is, my knowledge about android phones is limited .
Maybe the following information might be useful: before my attempts to install your custom ROM, I had a completely outdated ROM of the Official Lineage OS running on my LG G4. I once installed it also using TWRP. I think, back then I actually flashed TWRP, because I followed these instructions: https://wiki.lineageos.org/devices/h815/install .
I installed SALT and was able to connect with my phone. SALT seems to retrieve the correct device information. However, I don't understand how I can flash TWRP using SALT.
benni_g4 said:
To answer your question first: I didn't have a specific reason not to flash TWRP, I just read it somewhere that it was possible just to boot into TWRP. So I thought it wouldn't make a difference.
I didn't find any other key combination to enter fastboot mode.
I actually don't know what a bootloader stack is, my knowledge about android phones is limited .
Maybe the following information might be useful: before my attempts to install your custom ROM, I had a completely outdated ROM of the Official Lineage OS running on my LG G4. I once installed it also using TWRP. I think, back then I actually flashed TWRP, because I followed these instructions: https://wiki.lineageos.org/devices/h815/install .
I installed SALT and was able to connect with my phone. SALT seems to retrieve the correct device information. However, I don't understand how I can flash TWRP using SALT.
Click to expand...
Click to collapse
Share the debug log of SALT, latest version (advanced menu -> debug log -> upload button -> copy & share the link)
Sent from my OnePlus 6T using XDA Labs
steadfasterX said:
Share the debug log of SALT, latest version (advanced menu -> debug log -> upload button -> copy & share the link)
Sent from my OnePlus 6T using XDA Labs
Click to expand...
Click to collapse
Here you go: https://hastebin.com/yafukeyisu
Hi,
sorry if I ask again. Is the debug information i posted above helpful in this case?
Thanks for your help btw!
benni_g4 said:
Hi,
sorry if I ask again. Is the debug information i posted above helpful in this case?
Thanks for your help btw!
Click to expand...
Click to collapse
Yes because you can use the flashing part of SALT which makes things easier.
Just start a terminal in mAid and type:
sudo ~/programs/SALT/salt --experimental
This will allow flashing.
Download latest TWRP preview(!) for P.
Choose flash folder and browse to TWRP and choose BOOT as your target partition. Let it flash . Then either choose reboot in SALT or reboot manually .
If all went fine TWRP will boot without any interaction. While in TWRP push the TWRP image to the device and then flash TWRP to the RECOVERY partition (you must use the button to show IMG files). Then choose reboot and there recovery. TWRP will show up again this time from the recovery partition. Now flash the ROM of your choice and you should be back in business.
Sent from my OnePlus 6T using XDA Labs
steadfasterX said:
Yes because you can use the flashing part of SALT which makes things easier.
Just start a terminal in mAid and type:
sudo ~/programs/SALT/salt --experimental
This will allow flashing.
Download latest TWRP preview(!) for P.
Choose flash folder and browse to TWRP and choose BOOT as your target partition. Let it flash . Then either choose reboot in SALT or reboot manually .
If all went fine TWRP will boot without any interaction. While in TWRP push the TWRP image to the device and then flash TWRP to the RECOVERY partition (you must use the button to show IMG files). Then choose reboot and there recovery. TWRP will show up again this time from the recovery partition. Now flash the ROM of your choice and you should be back in business.
Sent from my OnePlus 6T using XDA Labs
Click to expand...
Click to collapse
I followed your instructions and selected the flash folder containing the TWRP preview image file. Then, I need to choose the partitions I want to flash. My TWRP preview image is displayed there, as shown in the picture.
{
"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 don't understand, how I can choose the BOOT partition here. I thought, I could simply type in the string "BOOT" in the "Target Partition" column. But after pressing FLASH, two error dialogs appear.
This is the according log output:
Code:
2020-06-10 17:25:06: F_FLASHPART: started
2020-06-10 17:25:17: F_FLASHPART: IMGDIR=/home/benjamin/Downloads/twrp_flash
2020-06-10 17:25:17: F_CHKDEVCON: started
LGLAF.py: DEBUG: product id in CR list: >LG_new<
LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
LGLAF.py: DEBUG: Final CR detection: None / 1
LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
LGLAF.py: DEBUG: Using Protocol version: 0x1000001
LGLAF.py: DEBUG: CR detection: 1
LGLAF.py: DEBUG: Hello done, proceeding with commands
LGLAF.py: DEBUG: Challenge: b'1a63780b'
LGLAF.py: DEBUG: Response: b'764940f602e3805cb7098e6d602cbaed'
LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
LGLAF.py: DEBUG: Header: b'EXEC' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\x1fW\0\0' b'\xba\xa7\xba\xbc'
2020-06-10 17:25:17: F_CHKDEVCON: Device seems to be connected!
2020-06-10 17:25:17: RET: 0
2020-06-10 17:25:17: F_USUVARVALID: started
2020-06-10 17:25:17: F_FLASHPART: will display all files (USUOVERRIDE=FALSE)
2020-06-10 17:25:17: F_FLASHPART: image files: twrp-3.3.1-PREVIEW-213_g4_P.img
2020-06-10 17:25:17: F_FLASHPART: created yad list: true
twrp-3.3.1-PREVIEW-213_g4_P.img
twrp-3.3.1-PREVIEW-213_g4_P
unknown-type
2
2020-06-10 17:25:30: F_FLASHPART BTNRET: 0
2020-06-10 17:25:30: choosen partitions: twrp-3.3.1-PREVIEW-213_g4_P.img:BOOT:unknown-type:2 -> 1
2020-06-10 17:25:30: sorted partitions: twrp-3.3.1-PREVIEW-213_g4_P.img:BOOT -> 1
2020-06-10 17:25:30: F_VERIFYDARB: started with /home/benjamin/Downloads/twrp_flash
2020-06-10 17:25:30: F_CDARB: started
2020-06-10 17:25:31: F_CDARB: ARB partition seems to be: sbl1
2020-06-10 17:25:32: F_CDARB: DEVARB=0, DEVARBEMPTY=0
2020-06-10 17:25:32: F_CDARB: ended
2020-06-10 17:25:32: F_VERIFYDARB: KARB: , DARB: 0:0,
CHKMRES: unknown VS. unknown
2020-06-10 17:25:32: F_ERR: started
2020-06-10 17:25:32: ERROR: 3 occurred in F_VERIFYDARB (expected 0, got 3)
2020-06-10 17:25:32: F_MSGE: started
2020-06-10 17:25:34: ERROR:
ERROR!
Device ARB or file-based ARB cannot be checked! ABORTED!!
2020-06-10 17:25:34: 0
2020-06-10 17:25:34: F_EXIT: started
2020-06-10 17:25:34: EXIT: F_VERIFYDARB->F_ERR with code 4
2020-06-10 17:25:34: F_ERR: started
2020-06-10 17:25:34: ERROR: 3 occurred in F_FLASHPART (expected 0, got 3)
2020-06-10 17:25:34: F_MSGE: started
2020-06-10 17:25:35: ERROR: Aborted on user check verification (2020-06-10 17:25:32: ERROR: 3 occurred in F_VERIFYDARB (expected 0, got 3)
0
2020-06-10 17:25:34: EXIT: F_VERIFYDARB->F_ERR with code 4)
2020-06-10 17:25:35: 0
2020-06-10 17:25:35: F_EXIT: started
2020-06-10 17:25:35: EXIT: F_FLASHPART->F_ERR with code 4
2020-06-10 17:25:37: F_ADVMENU: started with LG-H815
2020-06-10 17:25:37: F_ADVMENU: main YAD_PID is 7508
2020-06-10 17:25:38: CR setting: Auto =
2020-06-10 17:25:38: getlog script started
Am I doing something wrong, or is this related to something else?
benni_g4 said:
I followed your instructions and selected the flash folder containing the TWRP preview image file. Then, I need to choose the partitions I want to flash. My TWRP preview image is displayed there, as shown in the picture.
I don't understand, how I can choose the BOOT partition here. I thought, I could simply type in the string "BOOT" in the "Target Partition" column. But after pressing FLASH, two error dialogs appear.
This is the according log output:
Code:
2020-06-10 17:25:06: F_FLASHPART: started
2020-06-10 17:25:17: F_FLASHPART: IMGDIR=/home/benjamin/Downloads/twrp_flash
2020-06-10 17:25:17: F_CHKDEVCON: started
LGLAF.py: DEBUG: product id in CR list: >LG_new<
LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
LGLAF.py: DEBUG: Final CR detection: None / 1
LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
LGLAF.py: DEBUG: Using Protocol version: 0x1000001
LGLAF.py: DEBUG: CR detection: 1
LGLAF.py: DEBUG: Hello done, proceeding with commands
LGLAF.py: DEBUG: Challenge: b'1a63780b'
LGLAF.py: DEBUG: Response: b'764940f602e3805cb7098e6d602cbaed'
LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
LGLAF.py: DEBUG: Header: b'EXEC' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\x1fW\0\0' b'\xba\xa7\xba\xbc'
2020-06-10 17:25:17: F_CHKDEVCON: Device seems to be connected!
2020-06-10 17:25:17: RET: 0
2020-06-10 17:25:17: F_USUVARVALID: started
2020-06-10 17:25:17: F_FLASHPART: will display all files (USUOVERRIDE=FALSE)
2020-06-10 17:25:17: F_FLASHPART: image files: twrp-3.3.1-PREVIEW-213_g4_P.img
2020-06-10 17:25:17: F_FLASHPART: created yad list: true
twrp-3.3.1-PREVIEW-213_g4_P.img
twrp-3.3.1-PREVIEW-213_g4_P
unknown-type
2
2020-06-10 17:25:30: F_FLASHPART BTNRET: 0
2020-06-10 17:25:30: choosen partitions: twrp-3.3.1-PREVIEW-213_g4_P.img:BOOT:unknown-type:2 -> 1
2020-06-10 17:25:30: sorted partitions: twrp-3.3.1-PREVIEW-213_g4_P.img:BOOT -> 1
2020-06-10 17:25:30: F_VERIFYDARB: started with /home/benjamin/Downloads/twrp_flash
2020-06-10 17:25:30: F_CDARB: started
2020-06-10 17:25:31: F_CDARB: ARB partition seems to be: sbl1
2020-06-10 17:25:32: F_CDARB: DEVARB=0, DEVARBEMPTY=0
2020-06-10 17:25:32: F_CDARB: ended
2020-06-10 17:25:32: F_VERIFYDARB: KARB: , DARB: 0:0,
CHKMRES: unknown VS. unknown
2020-06-10 17:25:32: F_ERR: started
2020-06-10 17:25:32: ERROR: 3 occurred in F_VERIFYDARB (expected 0, got 3)
2020-06-10 17:25:32: F_MSGE: started
2020-06-10 17:25:34: ERROR:
ERROR!
Device ARB or file-based ARB cannot be checked! ABORTED!!
2020-06-10 17:25:34: 0
2020-06-10 17:25:34: F_EXIT: started
2020-06-10 17:25:34: EXIT: F_VERIFYDARB->F_ERR with code 4
2020-06-10 17:25:34: F_ERR: started
2020-06-10 17:25:34: ERROR: 3 occurred in F_FLASHPART (expected 0, got 3)
2020-06-10 17:25:34: F_MSGE: started
2020-06-10 17:25:35: ERROR: Aborted on user check verification (2020-06-10 17:25:32: ERROR: 3 occurred in F_VERIFYDARB (expected 0, got 3)
0
2020-06-10 17:25:34: EXIT: F_VERIFYDARB->F_ERR with code 4)
2020-06-10 17:25:35: 0
2020-06-10 17:25:35: F_EXIT: started
2020-06-10 17:25:35: EXIT: F_FLASHPART->F_ERR with code 4
2020-06-10 17:25:37: F_ADVMENU: started with LG-H815
2020-06-10 17:25:37: F_ADVMENU: main YAD_PID is 7508
2020-06-10 17:25:38: CR setting: Auto =
2020-06-10 17:25:38: getlog script started
Am I doing something wrong, or is this related to something else?
Click to expand...
Click to collapse
sorry the BOOT was just in uppercase to highlight it (because it is unusual to flash a recover to the boot partition).
so simply type "boot" there (lower case) and it should work.
.-
steadfasterX said:
sorry the BOOT was just in uppercase to highlight it (because it is unusual to flash a recover to the boot partition).
so simply type "boot" there (lower case) and it should work.
.-
Click to expand...
Click to collapse
I tried it again with lower case, but the error message remains the same. Also the log output didn't really change, except that "boot" is now lower case, of course.
Code:
2020-06-11 13:44:41: F_FLASHPART: started
2020-06-11 13:44:54: F_FLASHPART: IMGDIR=/home/benjamin/Downloads/twrp_flash
2020-06-11 13:44:54: F_CHKDEVCON: started
LGLAF.py: DEBUG: product id in CR list: >LG_new<
LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
LGLAF.py: DEBUG: Final CR detection: None / 1
LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
LGLAF.py: DEBUG: Using Protocol version: 0x1000001
LGLAF.py: DEBUG: CR detection: 1
LGLAF.py: DEBUG: Hello done, proceeding with commands
LGLAF.py: DEBUG: Challenge: b'6ac5a97c'
LGLAF.py: DEBUG: Response: b'5cc04d128e07296b63574a3034bc7435'
LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
LGLAF.py: DEBUG: Header: b'EXEC' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\x1fW\0\0' b'\xba\xa7\xba\xbc'
2020-06-11 13:44:54: F_CHKDEVCON: Device seems to be connected!
2020-06-11 13:44:54: RET: 0
2020-06-11 13:44:54: F_USUVARVALID: started
2020-06-11 13:44:54: F_FLASHPART: will display all files (USUOVERRIDE=FALSE)
2020-06-11 13:44:54: F_FLASHPART: image files: twrp-3.3.1-PREVIEW-213_g4_P.img
2020-06-11 13:44:54: F_FLASHPART: created yad list: true
twrp-3.3.1-PREVIEW-213_g4_P.img
twrp-3.3.1-PREVIEW-213_g4_P
unknown-type
2
2020-06-11 13:45:12: F_FLASHPART BTNRET: 0
2020-06-11 13:45:12: choosen partitions: twrp-3.3.1-PREVIEW-213_g4_P.img:boot:unknown-type:2 -> 1
2020-06-11 13:45:12: sorted partitions: twrp-3.3.1-PREVIEW-213_g4_P.img:boot -> 1
2020-06-11 13:45:12: F_VERIFYDARB: started with /home/benjamin/Downloads/twrp_flash
2020-06-11 13:45:12: F_CDARB: started
2020-06-11 13:45:12: F_CDARB: ARB partition seems to be: sbl1
2020-06-11 13:45:13: F_CDARB: DEVARB=0, DEVARBEMPTY=0
2020-06-11 13:45:13: F_CDARB: ended
2020-06-11 13:45:13: F_VERIFYDARB: KARB: , DARB: 0:0,
CHKMRES: unknown VS. unknown
2020-06-11 13:45:13: F_ERR: started
2020-06-11 13:45:13: ERROR: 3 occurred in F_VERIFYDARB (expected 0, got 3)
2020-06-11 13:45:13: F_MSGE: started
2020-06-11 13:45:20: ERROR:
ERROR!
Device ARB or file-based ARB cannot be checked! ABORTED!!
2020-06-11 13:45:20: 0
2020-06-11 13:45:20: F_EXIT: started
2020-06-11 13:45:20: EXIT: F_VERIFYDARB->F_ERR with code 4
2020-06-11 13:45:20: F_ERR: started
2020-06-11 13:45:20: ERROR: 3 occurred in F_FLASHPART (expected 0, got 3)
2020-06-11 13:45:20: F_MSGE: started
2020-06-11 13:45:28: ERROR: Aborted on user check verification (2020-06-11 13:45:13: ERROR: 3 occurred in F_VERIFYDARB (expected 0, got 3)
0
2020-06-11 13:45:20: EXIT: F_VERIFYDARB->F_ERR with code 4)
2020-06-11 13:45:28: 0
2020-06-11 13:45:28: F_EXIT: started
2020-06-11 13:45:28: EXIT: F_FLASHPART->F_ERR with code 4
2020-06-11 13:47:05: F_ADVMENU: started with LG-H815
2020-06-11 13:47:05: F_ADVMENU: main YAD_PID is 5304
2020-06-11 13:47:07: CR setting: Auto =
2020-06-11 13:47:07: getlog script started
benni_g4 said:
I tried it again with lower case, but the error message remains the same. Also the log output didn't really change, except that "boot" is now lower case, of course.
Code:
2020-06-11 13:44:41: F_FLASHPART: started
2020-06-11 13:44:54: F_FLASHPART: IMGDIR=/home/benjamin/Downloads/twrp_flash
2020-06-11 13:44:54: F_CHKDEVCON: started
LGLAF.py: DEBUG: product id in CR list: >LG_new<
LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
LGLAF.py: DEBUG: Final CR detection: None / 1
LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
LGLAF.py: DEBUG: Using Protocol version: 0x1000001
LGLAF.py: DEBUG: CR detection: 1
LGLAF.py: DEBUG: Hello done, proceeding with commands
LGLAF.py: DEBUG: Challenge: b'6ac5a97c'
LGLAF.py: DEBUG: Response: b'5cc04d128e07296b63574a3034bc7435'
LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
LGLAF.py: DEBUG: Header: b'EXEC' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\x1fW\0\0' b'\xba\xa7\xba\xbc'
2020-06-11 13:44:54: F_CHKDEVCON: Device seems to be connected!
2020-06-11 13:44:54: RET: 0
2020-06-11 13:44:54: F_USUVARVALID: started
2020-06-11 13:44:54: F_FLASHPART: will display all files (USUOVERRIDE=FALSE)
2020-06-11 13:44:54: F_FLASHPART: image files: twrp-3.3.1-PREVIEW-213_g4_P.img
2020-06-11 13:44:54: F_FLASHPART: created yad list: true
twrp-3.3.1-PREVIEW-213_g4_P.img
twrp-3.3.1-PREVIEW-213_g4_P
unknown-type
2
2020-06-11 13:45:12: F_FLASHPART BTNRET: 0
2020-06-11 13:45:12: choosen partitions: twrp-3.3.1-PREVIEW-213_g4_P.img:boot:unknown-type:2 -> 1
2020-06-11 13:45:12: sorted partitions: twrp-3.3.1-PREVIEW-213_g4_P.img:boot -> 1
2020-06-11 13:45:12: F_VERIFYDARB: started with /home/benjamin/Downloads/twrp_flash
2020-06-11 13:45:12: F_CDARB: started
2020-06-11 13:45:12: F_CDARB: ARB partition seems to be: sbl1
2020-06-11 13:45:13: F_CDARB: DEVARB=0, DEVARBEMPTY=0
2020-06-11 13:45:13: F_CDARB: ended
2020-06-11 13:45:13: F_VERIFYDARB: KARB: , DARB: 0:0,
CHKMRES: unknown VS. unknown
2020-06-11 13:45:13: F_ERR: started
2020-06-11 13:45:13: ERROR: 3 occurred in F_VERIFYDARB (expected 0, got 3)
2020-06-11 13:45:13: F_MSGE: started
2020-06-11 13:45:20: ERROR:
ERROR!
Device ARB or file-based ARB cannot be checked! ABORTED!!
2020-06-11 13:45:20: 0
2020-06-11 13:45:20: F_EXIT: started
2020-06-11 13:45:20: EXIT: F_VERIFYDARB->F_ERR with code 4
2020-06-11 13:45:20: F_ERR: started
2020-06-11 13:45:20: ERROR: 3 occurred in F_FLASHPART (expected 0, got 3)
2020-06-11 13:45:20: F_MSGE: started
2020-06-11 13:45:28: ERROR: Aborted on user check verification (2020-06-11 13:45:13: ERROR: 3 occurred in F_VERIFYDARB (expected 0, got 3)
0
2020-06-11 13:45:20: EXIT: F_VERIFYDARB->F_ERR with code 4)
2020-06-11 13:45:28: 0
2020-06-11 13:45:28: F_EXIT: started
2020-06-11 13:45:28: EXIT: F_FLASHPART->F_ERR with code 4
2020-06-11 13:47:05: F_ADVMENU: started with LG-H815
2020-06-11 13:47:05: F_ADVMENU: main YAD_PID is 5304
2020-06-11 13:47:07: CR setting: Auto =
2020-06-11 13:47:07: getlog script started
Click to expand...
Click to collapse
ah ok. just do a backup in SALT and choose custom. There select aboot and sbl1 and after the backup copy them in the same dir as the twrp image and try again.
.-
steadfasterX said:
ah ok. just do a backup in SALT and choose custom. There select aboot and sbl1 and after the backup copy them in the same dir as the twrp image and try again.
.-
Click to expand...
Click to collapse
Awesome!
Just installed your newest LineageOS build and everything is working again. Thanks for your help, I would never have succeeded without you!
I donated to your Account to support your work.

Categories

Resources