Invalid Software Package & Rooting questions - G4 Q&A, Help & Troubleshooting

Hello XDA,
I got an LG G4 gifted, and as one of the first things I want to do is to root it. However I seem to have quite some difficulties with it.
My previous phone was a Nexus 4, and I simply rooted with 'Nexus Root Toolkit'.
For this phone there appears to be many, different ways to do that.
First thing I need to be sure is what exact model my G4 is.
In 'Phone Info > Hardware' it simply says H815. In the LG Mobile Support Tool it says H815B (Which gives no result on Google). The phone is from Germany if it helps.
Second thing is that it says I can update to SW version v10c. But when I download the update, it simply throws a 'Invalid Software Package' error at the end of it. The LG Mobile Support Tool says I have no update avalaible instead.
Third thing is that I don't remember if I have to unlock the bootloader to root my phone (did that only once on my N4, forgot if it's needed). If yes, can somebody link me to the appropriate page? (I've read around LG itself released a tool to unlock that?) (Also, I will loose all my data IIRC?)
Last thing, obviously, the most appropriate Root guide for my model. I've read many of them, one requires you to have linux on your PC (Which is a nope), others mentions '10c' (which I suppose is the update I'm unable to get). So far I got myself only very confused. (Root voids warranty? IIRC LG still covers phone with root?)
Thanks in advanced for your help
EDIT: Currently trying with LG Bridge software, seems to work and says my phone is H81520A (So I suppose the part after the device code is the 'SW Version' ?).
EDIT2: Apparently updating with that software worked. Now on v10c (Marshmallow 6.0 - Unless there are other updates waiting)

You can indentify your model by adding your IMEI to the following link: csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=
(look for the field buyer)
The unlock process is described in this thread.
But don't fash SuperSu If you are on Android 6.0, because it will fail to boot. First flash an custom kernel (like this) and then SuperSu.
If you're unable to unlock the bootloader, then there is no possibilty to get root on Android 6.0.

Thanks. It says DEU at the buyer line.
D(eutschland)EU(Europe) I suppose.
And thanks for the link. In the kernel page it says 'download 20a or 20b? What's that number? So I need a Kernel that inclused SuperSU as flashing it on its own will cause that problem in few words?
What about this? http://forum.xda-developers.com/g4/development/repack-kernel-root-android-6-0-t3232387
From what it seems, it's a custom kernel + root. Would I still need to unlock the bootloader? Perhaps using the 'LG Site' section from the thread you linked (http://forum.xda-developers.com/g4/general/unlock-bootloader-install-twrp-root-t3128241)?

The software versions are quite strange on lg phones. 20A was the first test version that was released in poland. The official version now is 20B but phones with a branding have different versions. For example my phone has a vodafone branding and has the version 20A, but it is the same as unbranded 20B. (so it's really strange some times)
Look what is written in the settings under software information.
You need to unlock your bootloader to root your phone on Android 6.0 (this will void your warranty). You're right, it seems that SuperSu is already integrated in the kernel so you don't have flash SuperSu separately. But i am not complete sure because i didn't unlock my bootloader.

Thanks a lot for your help.
I managed to unlock the bootloader, but then I fuffed up..
Accidentally installed SuperSU (Was following that guide, and forgot about what you said).
Now the phone is kinda stuck at the very start, with the LG Logo (Not the animated one, the very first one)...
I'm hopeless now? D:
EDIT
I'm trying to recover with this video (LG G4 KDZ Firmware Restore Unbrick and unroot tutorial -- can't post links yet..)
But the LGFlashTool throws an error at 9% (imgur link -- can't post them fully yet) imgurDOTcom/pR1NYHD
EDIT2
Apparently I'm trying to flash a KDZ with Android 5.x while I'm on 6.0, which is a no. Will try with a 6.0 KDZ if I find one...
Else I hope for LG assistance (Or Amazon support, since the phone is less than 1 week old)
EDIT3
No luck with KDZ, but now the phone is going past to the animated logo, but being stuck there..
EDIT4
This saved me: http://forum.xda-developers.com/showpost.php?p=63843511&postcount=146
Worked perfectly, my phone is back and fully working

Sorry, i wasn't online the last couple of hours, but i'm glad that all worked out for you

X0rzist said:
Sorry, i wasn't online the last couple of hours, but i'm glad that all worked out for you
Click to expand...
Click to collapse
No problem, you were of great help.
I'm currently not trying to root until there is a safe procedure to do so for 6.0

I don't think that there will be an easier option in the near future. You can make a backup with twrp and try to flash the kernel again.

Mmm, currently I have only the bootloader unlocked. No root, no custom recovery.
I don't feel like to play more with these stuff in the near future, after I nearly bricked the G4
Perhaps later on.

Related

[Q] Downgrading to KK ROM - Three UK

Hi,
First time poster, long time trawler... thanks for all your info over the years.
I have a specific question about downgrading to KK from L on my branded Three Mobile UK.
I had rooted on KK and was loving it, everything was working great.
Three kept pushing the OTA at me, but because of root it wouldn't take.
Borrowed a PC (I run mac for work) to run LG Suite and (back up first) fix upgrade errors to unroot to take OTA.
For some reason it bricked it...it just sat on Firmware update at 0% forEVER. Wouldn't boot past it or recognise the device anymore.
Had to use the Mobile Support tool to bring it back to life... although this resulted in an upgrade to 5 anyway.
I'm really not a fan of L. Won't go into details as to why it sucks, but I want to go back to KK and root, and then wait for L to get root options.
I've never flashed a ROM before, however there's a ton of resources here so I will give it a go.
I want to go back to the exact same ROM that came with the device which I THINK I have tracked down to - D85510g_00 via
http://forum.xda-developers.com/showpost.php?p=53606494
and
http://www.mylgphones.com/lg-g3-firmware-checking-the-software-version-and-update-history
Can anyone confirm that would be the right one... Is there any reason why I shouldn't use this ROM?
I want to go with what works, and not risk bricking it by installing an unbranded ROM in case they've used some sort of security measure that I'm unaware of... or am I just being a noob?
TL : DR
ON Lpop, want KK back... downgrade to D85510g_00.kdz for 3 UK (Hutchinson) branded ROM - Correct?
Fitz-Gibbon said:
Hi,
First time poster, long time trawler... thanks for all your info over the years.
I have a specific question about downgrading to KK from L on my branded Three Mobile UK.
I had rooted on KK and was loving it, everything was working great.
Three kept pushing the OTA at me, but because of root it wouldn't take.
Borrowed a PC (I run mac for work) to run LG Suite and (back up first) fix upgrade errors to unroot to take OTA.
For some reason it bricked it...it just sat on Firmware update at 0% forEVER. Wouldn't boot past it or recognise the device anymore.
Had to use the Mobile Support tool to bring it back to life... although this resulted in an upgrade to 5 anyway.
I'm really not a fan of L. Won't go into details as to why it sucks, but I want to go back to KK and root, and then wait for L to get root options.
I've never flashed a ROM before, however there's a ton of resources here so I will give it a go.
I want to go back to the exact same ROM that came with the device which I THINK I have tracked down to - D85510g_00 via
http://forum.xda-developers.com/showpost.php?p=53606494
and
http://www.mylgphones.com/lg-g3-firmware-checking-the-software-version-and-update-history
Can anyone confirm that would be the right one... Is there any reason why I shouldn't use this ROM?
I want to go with what works, and not risk bricking it by installing an unbranded ROM in case they've used some sort of security measure that I'm unaware of... or am I just being a noob?
TL : DR
ON Lpop, want KK back... downgrade to D85510g_00.kdz for 3 UK (Hutchinson) branded ROM - Correct?
Click to expand...
Click to collapse
as lang as you have an d855 it will not be bricked and the brand apps wikll be automatically reinstalled as soon as you hav an working internet connection
suljo94 said:
as lang as you have an d855 it will not be bricked and the brand apps wikll be automatically reinstalled as soon as you hav an working internet connection
Click to expand...
Click to collapse
Champion!
Thanks for your reply. Will borrow a PC again and give it a whirl tonight.
I have the KDZ file, USB drivers and LG Flash tool already downloaded... and intend on following this guide - http://forum.xda-developers.com/showthread.php?t=2785089
I have seen in the second method mentioned in that guide - TOTs and DLLs, could you confirm that these are different paths to the same goal? Either I need KDZ or I need TOT & DLL... but I don't need KDZ and TOT and DLL? Have I understood that correctly?
Fitz-Gibbon said:
Champion!
Thanks for your reply. Will borrow a PC again and give it a whirl tonight.
I have the KDZ file, USB drivers and LG Flash tool already downloaded... and intend on following this guide - http://forum.xda-developers.com/showthread.php?t=2785089
I have seen in the second method mentioned in that guide - TOTs and DLLs, could you confirm that these are different paths to the same goal? Either I need KDZ or I need TOT & DLL... but I don't need KDZ and TOT and DLL? Have I understood that correctly?
Click to expand...
Click to collapse
yep that sounds about right
All good.
Back on KK and rooted again.

Rollback Number

Hey guys,
Does anyone know how we can get the rollback number on our devices? I was reading this thread here:
http://forum.xda-developers.com/g4/...wngrade-g4-t3197675/post62748057#post62748057
I guess you need to know your rollback number to do a KDZ becasue there is a chance of a hard brick. I tried the numbers highlighted below but it didn't work for Verizon. Anyone know how we could get this information?
waylo said:
This was not written anywhere specifically on the LG G4 forums that I could find. But every flash-addict needs to be warned. It is something you want to know before you continue tinkering.
Several users (myself included) have made the unfortunate mistake of attempting to downgrade their bootstack (for various reasons) to a former version.
DO NOT DO THIS (at least for the USA T-Mobile H811 version, and possibly other USA versions, per @autoprime)! It will result in a hard brick! Specifically, this results in the "Qualcomm QDLoader HS-USB port ( 9008 )" error. Connecting your phone to a PC will pop up with this active connection, but nothing else. There is no download mode. There is no publicly available fix as of yet.
This WILL happen both through KDZ restore as well as flashing bootstack .zips.
Yes, an official KDZ image can BRICK your USA phone, if you try to rollback.
This is in stark contrast to other manufacturers (i.e. Samsung), where the attempt to flash an older bootloader/modem/radio will simply fail, but your phone is not bricked.
I have conferred with @autoprime, who confirmed that with each OTA firmware release (on T-Mobile it was 10H, and now 10N), the version # increments. Flashing a lower version # will result in brick.
I have searched far and wide for a DIY fix. Without the proper firmwares in the right format, as well as the right flashing software, your phone is done and must be sent in for LG repair.
To check what antiroll-back version you are on, input this sequence in the dialer (T-Mobile and ATT) and scroll down:
*#*#244773825625#*#*
Flashing a bootstack version less than this # (through KDZ or zip) will brick the phone. You are free to flash anything equal or higher than the version listed.
Click to expand...
Click to collapse
sefirosu0522 said:
Hey guys,
Does anyone know how we can get the rollback number on our devices? I was reading this thread here:
http://forum.xda-developers.com/g4/...wngrade-g4-t3197675/post62748057#post62748057
I guess you need to know your rollback number to do a KDZ becasue there is a chance of a hard brick. I tried the numbers highlighted below but it didn't work for Verizon. Anyone know how we could get this information?
Click to expand...
Click to collapse
If you are still on the original software version 10b, then you have v0. If you took the OTA (or flashed the KDZ) to 11a, then you have v1.
We have a new OTA out now, 12a. I'm not sure what version that one is, but I'm willing to bet it is v2, and you will not be able to rollback if you install it.
laurasaurisrex said:
If you are still on the original software version 10b, then you have v0. If you took the OTA (or flashed the KDZ) to 11a, then you have v1.
We have a new OTA out now, 12a. I'm not sure what version that one is, but I'm willing to bet it is v2, and you will not be able to rollback if you install it.
Click to expand...
Click to collapse
Yeah right now I'm stuck with 11A and I'm not sure what I should do. Even though my phone sucks the way it runs, I'm gonna hang in there and wait a couple weeks. See what comes out of 12A.
Well I don't believe there is a way to check or there is a known way of finding it yet. Apparently there is an APK app that reads it. Perhaps we can rip it from another rom and access the APK via the same method we do for accessing the Themes (using a launcher to do custom shortcuts).
The inability to KDZ back to original software is ridiculous. Just like 12A and the broken notifications. How stupid is it to force broken updates yet make it impossible to go back to previous backup/software. I am half tempted to just take the 12A update and force Verizon to give me another phone just to emphasize my dislike for their method of locking the system down.

KitKat, Rooted with Purple drake, update OS will i loose root

OK I have a UK Vodaphone G3 (LG-D855) still with their bootloader but it is rooted using the purple drake method which i did about 9 months ago, I think now is the right time to update the OS, so should i go via the OTA route and go to Lollipop or wait and go the Marshmallow or given i have rooted do i have to use another method to upgrade the OS.
Looking at my "Update Centre" it says the following "New OS Version: V20f-DEC-22-2014 (522.49MB)"
I am happy working with PC's but know very little about phones so please be gentle with me.
If you need any more info from me just ask.
All1
Allonewordinuk said:
OK I have a UK Vodaphone G3 (LG-D855) still with their bootloader but it is rooted using the purple drake method which i did about 9 months ago, I think now is the right time to update the OS, so should i go via the OTA route and go to Lollipop or wait and go the Marshmallow or given i have rooted do i have to use another method to upgrade the OS.
Looking at my "Update Centre" it says the following "New OS Version: V20f-DEC-22-2014 (522.49MB)"
I am happy working with PC's but know very little about phones so please be gentle with me.
If you need any more info from me just ask.
All1
Click to expand...
Click to collapse
Do not upgrade via ota when rooted this is a big no no can cause big problems.. If you want a new update just flash a kdz (stock rom) with flashtool. There are plenty of guides on here on how to do that.
v20f is a very old update the newest is 21a..I would probably wait for Marshmallow according to rumors it should be with us about middle of December .:good:
Edit here are a couple of links for you flashtool and guide >>http://forum.xda-developers.com/showthread.php?t=2785089 << Kdz stock roms >> http://lg-phone-firmware.com/index.php?id_mod=41 <<
Also when you are rooted you can't take ota
OK many thanks for the info tallman43 and also thx for the links, looking at the link with the rom's i'm unsure if i should go for number 520 as it say V10l or 530 as mine is Vodaphone 16GB, or does it not even matter?
Also one very newbie question if i may these "roms" are in PC talk just images of a pc when it comes out the factory, all have windows 7 for example but some will have different apps preinstalled depending if it was Dell or HP etc, just trying to get my head round it "my way" if you get my drift.
All1
Allonewordinuk said:
OK many thanks for the info tallman43 and also thx for the links, looking at the link with the rom's i'm unsure if i should go for number 520 as it say V10l or 530 as mine is Vodaphone 16GB, or does it not even matter?
Also one very newbie question if i may these "roms" are in PC talk just images of a pc when it comes out the factory, all have windows 7 for example but some will have different apps preinstalled depending if it was Dell or HP etc, just trying to get my head round it "my way" if you get my drift.
All1
Click to expand...
Click to collapse
V10 kdz are kitkat roms V20 kdz are lollipop roms obviously if you want the latest firmware then V20 is the one to go for.Also if you look through all the firmware's not just uk you will find 21a kdz this is the very latest one.Also you don't have to specifically use the uk ones technically you can flash any I am from the Uk and have used 21a without any problems.
Only thing I would say is if you flash one from another country try for ones that are closer to uk ie: Don't flash lets say a HongKong firmware but places like Poland,Spain,France etc are ok but like I said you could technically flash any.
Also in answer to your last question about pre installed apps yes some of them may have odd one or two different apps installed in them by the carrier.
One last thing if and when you use flashtool make sure you do not unplug your phone until it as fully flashed and rebooted flashtool sometimes comes up with a banner saying something like can't connect or failed. Look at the progress bar on your phone this is the best way to see if it is flashing ok.
OK mant thanks tallman43 you've been a real star with all this info.
All1
Another thing - custom ROMs are faster than stock work various improvements, so flashing a custom is highly recommended.
(insert witty signature here...)

Understanding the correct KDZ file, help!

Hi,
I purchased the phone in the UK from the network carrier Vodafone. I have done a fair bit of research on the rooting and unrooting process mainly via videos and reading tutorials on XDA.
I would like to root the phone and gain super user access and install some Xposed modules but would also like to be able to unroot and flash back to a stock Vodafone firmware encase I need to claim under warranty. I have been trolling the internet to get the correct KDZ file and found this site (ttp://devtester.ro/projects/lg-firmwares/country.php?country=United+Kingdom). I believe that the correct firmware may be on here but am a little confused on what the suffix and software version means to be honest.
The reason for my confusion is that I updated the firmware to 6.0 Marshmallow through the LG bridge but when I now check my phones software version it states v20b-234-15. I assume this is right but from memory the first software version when I got the phone was something like H81510B_00.
I cant remember exactly what it was before unfortunately but the KDZ files I have found state H81510C_00 (Suffix - AVDFVK) and H81510C_00 (AVDFLR) and this does seem to make sense but I'm thinking it was B instead of C but and not 100% on that.
Do you think these KDZ files would be the correct one to flash back to encase I run in to some problems rooting?
I am also assuming that this KDZ is Android Lollipop and not Marshmallow so is it OK to use this to revert back from Marshmallow?
Thanks and any help would be much appreciated.
Ross
The 10X version are all Lollipop, 20X is marshmallow.
When flashing a KDZ on your phone, what's important is what model your phone is. H815 in your case.
If you want to restore to stock in case something goes wrong, you can find everything here: http://forum.xda-developers.com/g4/general/guide-lg-g4-stock-firmware-to-stock-kdz-t3107848
In there is a link to this directory: http://storagecow.eu/index.php?dir=Xda/LG+G4/ where you find pretty much all KDZ files for G4 phones.
I'm not that experienced myself, but I rooted my phone just recently and I can share my experience with you.
I have a H815. It was a V10c-TWN-XX version (Taiwan). I updated to Marshmallow with LG Bridge also and the new software version was V20b-TWN-XX.
Marshmallow rooting is not possible on my phone because I can't unlock the bootloader on it. And Marshmallow rooting is only possible with an unlocked bootloader. Unlocking the bootloader is only possible on European phones (http://developer.lge.com/resource/mobile/RetrieveBootloader.dev?categoryTypeCode=ANRS). I asked autoprime (renown user and developer here) if I can unlock bootloader after flashing an European KDZ on it. He said no, having European software on it is not enough, it has to be a phone manufactured for the european market. Dont know why, guess because of different hardware.
So, not being able to root MM, I had to revert back to stock (downgrade) using one of the KDZs.
I chose the most recent one in the directory I linked (which is the Poland H81510E). In the "Go Back to Stock" thread I linked the OP says to use LG Flash Tool 2014, which unfortunately doesn't work with Marshmallow. But fret not, it works with LG UP! http://forum.xda-developers.com/g4/help/lgup-install-kdz-mm-lp-t3249803
When I tried flashing the KDZ with Flash Tool 2014, the process failed with an error at 5%. It worked flawlessly with LG UP. Here's more information regarding downgrading, but it really isnt hard. Just download + install LG UP. Launch it. Connect your phone. Choose KDZ file. Select option "upgrade". Hit start.
NOTE: after the firmware update was done, the phone rebooted automatically and for me it stuck at at the LG Logo (bootloop). But a simple hard factory reset did it, the phone booted and my new version was 10e-something. With Lollipop 5.1 of course.
After that, I rooted my phone using this pre-rooted image: http://forum.xda-developers.com/g4/development/h815-eu-l-p-t-sea-twn-t3176195
and this guide: http://forum.xda-developers.com/g4/...-tmo-vzw-intl-variants-soon-root-lg-t3164765/
I now have a "H81510e-EUR-XX" Lollipop 5.1 with root (SuperSU 2.49).
I don't really know about Vodafone and if carrier specific firmware is necessary in this case. If not, you could use any 815 firmware.
From the site you have linked with the KDZ files..... it seems they are all the same.
If you check the table for H815 KDZs from Vodafone, there are some 10C and 10D versions. Now I compared the fileKey parameter in the URL to the 10C files and the 10D files and also the bytes of the files.
All the 10C version are identical to each other, same for 10D.
Check out this screenshot I made for you: http://i.imgur.com/Ie0w4us.png
Bytes are also identical, so it's pretty safe to say those are the same files.
Dont know why they are listed several times there. The suffix doesnt matter.
I'd grab a 10D if I were you. But I think the Poland 10E should work, too. Better confirm it with somebody else though.
If you flash your system to 10e, you can use the pre-rooted image I used. Otherwise you will have to inject root yourself: http://forum.xda-developers.com/g4/general/lg-g4-100-root-success-directives-root-t3180586. In this method you create an image of your system and inject root into the image, which you then flash back on your phone.

Downgrading K428 (T-Mobile) to Root it

There is good information on this forum on how to root your k428 (https://forum.xda-developers.com/lg-k10/development/root-twrp-rom-t-mobile-k428-k10-t3582493)
This however, is not possible on anything later than the 10f(?) firmware, due to there being a December 15, 2016 security update.
Firmwares I am pulling from: https://lg-firmwares.com/lg-k428sg-firmwares/
My K10 is on the most recent update 20h(?), the only thing I've done is unlock the bootloader. I'm trying to get it down to an earlier firmware version to be able to root. I have tried:
Uppercut with LGUP:
There are two separate errors I get with this. One is when I select refurbish and it gets to about 4% (On LGUP, not the phone) and it says my ".kdz does not allow refurbishing" or something along those lines.
I have tried update as well, and I get an error at 14%(on LGUP, 10% on device) and I get "invalid command response code" (image attached)
I have tried both of these options with 3 different .kdz files, so the problems aren't just unique to one file.
LG Flash Tool 2014:
When I start there is an error saying no connection to the server and no progress indicated on the phone or computer, even after maybe 1/2 hour.
After LGUP, I do have to bring my phone back with LG Bridge Update Error Recovery, but interestingly no data is lost at all so clearly my phone is not being wiped at all.
How have people successfully downgraded their k428 and how do I?
Also, is the k428 the same as the k428sg? I can't seem to figure this out and the firmwares website has slightly different specs.
I have another phone, just really hoping to switch to this one is it seems quicker, isn't running Touchwiz, has a decent camera, more storage... I won't be switching if I can't get this rooted because I have been spoiled by rooted devices.
der_cobester said:
There are two separate errors I get with this. One is when I select refurbish and it gets to about 4% (On LGUP, not the phone) and it says my ".kdz does not allow refurbishing" or something along those lines.
I have tried update as well, and I get an error at 14%(on LGUP, 10% on device) and I get "invalid command response code" (image attached)
I have tried both of these options with 3 different .kdz files, so the problems aren't just unique to one file.
[...]
After LGUP, I do have to bring my phone back with LG Bridge Update Error Recovery, but interestingly no data is lost at all so clearly my phone is not being wiped at all.
[...]
Also, is the k428 the same as the k428sg? I can't seem to figure this out and the firmwares website has slightly different specs.
I have another phone, just really hoping to switch to this one is it seems quicker, isn't running Touchwiz, has a decent camera, more storage... I won't be switching if I can't get this rooted because I have been spoiled by rooted devices.
Click to expand...
Click to collapse
Having very similar issues, at the moment stuck in a "Firmware update" loop with a T-Mobile K10 K428, after trying to downgrade from 7.0 to 6.0.1.
How are you reverting it to useable form with the LG Bridge app?
It only tells me I have the latest update then goes away.
[nevermind, this part worked]
Managed to bring the device back to functional 7.0 state, but have found no way to downgrade back to 6.0.1.. the regret I feel for allowing the update to happen before rooting the device is indescribable in frikkin words.
Hopefully someone somewhere is working on the root of this computer in Android 7.0, I have 3 of these and I need to do the root to unlock them
last Friday I could downgrade a version 10R to 10G and rooted .
but since yesterday I'm with another to downgrade but am getting error while modem part flashing .
version was 20H , I noticed once upon 20 no possible to back In 10 .
psytr0nic said:
last Friday I could downgrade a version 10R to 10G and rooted .
but since yesterday I'm with another to downgrade but am getting error while modem part flashing .
version was 20H , I noticed once upon 20 no possible to back In 10 .
Click to expand...
Click to collapse
i have been trying to make nougat downgrade to marshmallow for months. still no results. most i get is phone simply not booting OS.
SO,there is no way to downgrade from 20g?
what about about using special tools like Octoplus Box andZ3X Box?
anyone tried?
---------- Post added at 07:54 PM ---------- Previous post was at 07:53 PM ----------
SO,there is no way to downgrade from 20g?
what about about using special tools like Octoplus Box andZ3X Box?
anyone tried?
Worked Fine, min was a K428 with build number MMB29M, sec patch 2016-08-01
I did it as its posted step by step.
Nice Job!

Categories

Resources