FORUMS
Remove All Ads from XDA

[REQ] Need help. Unbrick phones with locked bootloader, oem unlock disabled

1,544 posts
Thanks Meter: 1,245
 
Post Reply Email Thread
23rd November 2015, 02:42 PM |#11  
JaCh0o's Avatar
Senior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by bitdomo

Download usb drivers
Download LG flashtool
Download dll file
Download H790 or H791 tot file for 32GB variant
Follow the steps in this video. I made this video for nexus 5, but everything is the same for nexus 5x too. Just use the the tot and the dll file I linked.

If you have the H791 variant can you check the device factory version? If you flashed the tot successfully you should see a LOG folder in the same directory as the dll file. You will find a .txt file in the LOG directory. Search for device factory version and paste it here. It is something like this: LGH790AT-00-V10f-NXS-XXX-OCT-03-2015-32G-MDA89E-US

As I can see this example is for US. Im from Poland (Central Europe). There will be no problem with radio/modem brandwitdth ? Is this for every H791 32GB Nexus 5x ? This dll file looks to be for LG G4, is it ok ?
 
 
23rd November 2015, 03:02 PM |#12  
OP Senior Member
Flag Göd
Thanks Meter: 1,245
 
Donate to Me
More
Quote:
Originally Posted by JaCh0o

As I can see this example is for US. Im from Poland (Central Europe). There will be no problem with radio/modem brandwitdth ? Is this for every H791 32GB Nexus 5x ? This dll file looks to be for LG G4, is it ok ?

Same modem is used for both nexus 5x, and for the dll it should not be a problem. LG Optimus G dll can be used for all LG optimus G and nexus 4, LG G2 dll can be used for all LG G2, G3 and nexus 5. And I think that "US" at the end of file name is a short form of USER and not united states, but I cannot tell for sure until you post the device factory version of a H971.

Edit: The only differance between the two tot file is the model string and tot version string.

For H790 the model string is LGH790 and the tot version string is LGH790AT-00-V10f-NXS-XXX-OCT-03-2015-32G-MDA89E-US

For H791 the model string is LGH791 and the tot version string is LGH791AT-00-V10f-NXS-XXX-OCT-03-2015-32G-MDA89E-US

These two strings makes no differnace it could be anything, but sadly lg flashtool will throw an error like model mismatch H790 => H791 if you try to flash a H791 tot file to a H790, so this is the only reasone why we need seperate tot files. And also the most recently flashed tot file's version number will be written to the misc partition so that is why I ask for the device factory version to dont screw up the versioning. But all these has no effect on the phone's behaviour.
The Following 3 Users Say Thank You to bitdomo For This Useful Post: [ View ] Gift bitdomo Ad-Free
23rd November 2015, 03:15 PM |#13  
JaCh0o's Avatar
Senior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by bitdomo

Same modem is used for both nexus 5x, and for the dll it should not be a problem. LG Optimus G dll can be used for all LG optimus G and nexus 4, LG G2 dll can be used for all LG G2, G3 and nexus 5. And I think that "US" at the end of file name is a short form of USER and not united states, but I cannot tell for sure until you post the device factory version of a H971.

Here's log. FAILED DoDownload Error! After 16 sec and 9%
This phone is after cleaning with TWRP Wipe All. It is Nexus 5X H791 32GB Euro (with last soft MRB08L).
By Device Factory Version you mean H791 or H790 yes ?? If so this is H791 for sure.

The question about radio and my concern about it is made by some notes:
https://productforums.google.com/for...us/ku-FFtRjf-o
https://www.reddit.com/r/Nexus5/comm..._will_4g_work/

Any solution to flash successfully ?
Attached Thumbnails
Click image for larger version

Name:	fail.JPG
Views:	1254
Size:	33.8 KB
ID:	3552670  
Attached Files
File Type: log MSM8994_COM41.log - [Click for QR Code] (5.8 KB, 140 views)
23rd November 2015, 03:28 PM |#14  
OP Senior Member
Flag Göd
Thanks Meter: 1,245
 
Donate to Me
More
Quote:
Originally Posted by JaCh0o

Here's log. FAILED DoDownload Error! After 16 sec and 9%
This phone is after cleaning with TWRP Wipe All. It is Nexus 5X H791 32GB Euro (with last soft MRB08L).
By Device Factory Version you mean H791 or H790 yes ?? If so this is H791 for sure.

The question about radio and my concern about it is made by some notes:
https://productforums.google.com/for...us/ku-FFtRjf-o
https://www.reddit.com/r/Nexus5/comm..._will_4g_work/

Any solution to flash successfully ?

Thanks for the feedback. The error is this

Quote:

[01:01:531] Invalid Tot File : Invalid Partition Size(57973760)

Probably it is because of the 3gb system.img I try to flash is too big. Lg usually flash the system.img by braking it up to 10-15 pieces and flash these pieces after eachother. I will make a tot which flashes the system.img that way.

Do you still have twrp on your phone? If so can you still boot into twrp?
The Following User Says Thank You to bitdomo For This Useful Post: [ View ] Gift bitdomo Ad-Free
23rd November 2015, 03:34 PM |#15  
JaCh0o's Avatar
Senior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by bitdomo

Thanks for the feedback. The error is this



Probably it is because of the 3gb system.img I try to flash is too big. Lg usually flash the system.img by braking it up to 10-15 pieces and flash these pieces after eachother. I will make a tot which flashes the system.img that way.

Do you still have twrp on your phone? If so can you still boot into twrp?

Thank you very much for soo much help...
I discovered this too while trying to flash newer system. Its impossible to flash-all by fastboot (zip concering all the main images with system 3gb) becuose of that. It goes successful only while manual flash every partition alone (while fastboot flash system system.img it sparse file into ~512MB parts).
No TWRP, got stock recovery. I thought i have failed and have to send it to LG Service Center, therefore i flashed original recovery (to make it as stock as possible).

Eagerly waiting for new tot file...

PS. I've found out that MBR08L and MBR08M have same release date (1. November 2015), I've tried to flash M version and on welcome screen phone asked me to choose gmt settings (where i didn't found nor Poland or Central Europe), while in L version it doesn't asks and put this settings properly by default. Is it possible that L i for poor countries and M is for States and wealthy ones ??
23rd November 2015, 07:33 PM |#16  
OP Senior Member
Flag Göd
Thanks Meter: 1,245
 
Donate to Me
More
Quote:
Originally Posted by JaCh0o

Thank you very much for soo much help...
I discovered this too while trying to flash newer system. Its impossible to flash-all by fastboot (zip concering all the main images with system 3gb) becuose of that. It goes successful only while manual flash every partition alone (while fastboot flash system system.img it sparse file into ~512MB parts).
No TWRP, got stock recovery. I thought i have failed and have to send it to LG Service Center, therefore i flashed original recovery (to make it as stock as possible).

Eagerly waiting for new tot file...

PS. I've found out that MBR08L and MBR08M have same release date (1. November 2015), I've tried to flash M version and on welcome screen phone asked me to choose gmt settings (where i didn't found nor Poland or Central Europe), while in L version it doesn't asks and put this settings properly by default. Is it possible that L i for poor countries and M is for States and wealthy ones ??

Try now https://mega.nz/#!c4AmlCTT!LS1urRD8P...FHHe7PBNzzJLak

That M and L thing is just nonsense. If it were that the case then google would have done 2 seperate download sections for the two variants of nexus 5x on it's stock rom download page.
The Following User Says Thank You to bitdomo For This Useful Post: [ View ] Gift bitdomo Ad-Free
23rd November 2015, 07:59 PM |#17  
JaCh0o's Avatar
Senior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by bitdomo

Try now https://mega.nz/#!c4AmlCTT!LS1urRD8P...FHHe7PBNzzJLak

That M and L thing is just nonsense. If it were that the case then google would have done 2 seperate download sections for the two variants of nexus 5x on it's stock rom download page.

Still error on 17 sec. Log attached. After successful restoring of nexus soft can i flash immediatly (by fastboot) m version of soft?
Attached Files
File Type: log MSM8994_COM41.log - [Click for QR Code] (5.8 KB, 228 views)
23rd November 2015, 08:06 PM |#18  
OP Senior Member
Flag Göd
Thanks Meter: 1,245
 
Donate to Me
More
Quote:
Originally Posted by JaCh0o

Still error on 17 sec. Log attached. After successful restoring of nexus soft can i flash immediatly (by fastboot) m version of soft?

Ah I was wrong. The problem is the size of the modem.img (57973760 bytes) and not the system.img. I still have to figure it out what is wrong with the size.
If you manage to flash the tot file you can flash whatever rom you want with fastboot after you enable oem unlocking and unlock bootloader.
The Following User Says Thank You to bitdomo For This Useful Post: [ View ] Gift bitdomo Ad-Free
23rd November 2015, 08:12 PM |#19  
JaCh0o's Avatar
Senior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by bitdomo

Ah I was wrong. The problem is the size of the modem.img (57973760 bytes) and not the system.img. I still have to figure it out what is wrong with the size.
If you manage to flash the tot file you can flash whatever rom you want with fastboot after you enable oem unlocking and unlock bootloader.

Ok. I'm waiting for next tots for check.
23rd November 2015, 08:56 PM |#20  
gee one's Avatar
Senior Member
Flag linux command line
Thanks Meter: 734
 
More
Quote:
Originally Posted by bitdomo

Ah I was wrong. The problem is the size of the modem.img (57973760 bytes) and not the system.img. I still have to figure it out what is wrong with the size.
If you manage to flash the tot file you can flash whatever rom you want with fastboot after you enable oem unlocking and unlock bootloader.

modem partition sizes in bytes. I think modemstN are the EFS partitions.

Code:
90177536 modem
1572864 modemst1
1572864 modemst2
23rd November 2015, 09:32 PM |#21  
OP Senior Member
Flag Göd
Thanks Meter: 1,245
 
Donate to Me
More
Quote:
Originally Posted by JaCh0o

Ok. I'm waiting for next tots for check.

Quote:
Originally Posted by gee one

modem partition sizes in bytes. I think modemstN are the EFS partitions.

Code:
90177536 modem
1572864 modemst1
1572864 modemst2

Yes, modemst1 and modemst2 are the efs partition.
I extracted some tot files for other devices and in every case for every image the file size is always multiple of 524288 bytes.
So now I will add padding bytes to the images and redo everything.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread