Cannot flash roms with TWRP - G3 Q&A, Help & Troubleshooting

Hello,
I got a used G3 for my gf. I installed the latest LG marshmallow rom with LG flash tool.
After that I rooted and installed TWRP 3.0.2-0. Within TWRP I erased data and wiped everything.
Now when I try to install a rom (tried 3-4 different ones) I get this error:
"set_metadata_recursive some changes failed".
How should I proceed?
Great many thanks!

Just a quick question to understand what you've done:
If you installed "the" latest marshmallow rom with the flash tool, then how did you root and install TWRP? You can't root Marshmallow properly; That needs to be done from 10B.

my.ads0 said:
Just a quick question to understand what you've done:
If you installed "the" latest marshmallow rom with the flash tool, then how did you root and install TWRP? You can't root Marshmallow properly; That needs to be done from 10B.
Click to expand...
Click to collapse
Maybe I used the wrong terms. I flash "Europe D85530B_00_1217.kdz" with the flash tool. Afterwards the phone was on 6.0. Then rooted with Kingroot (if I remember correctly).

Related

How Autorec works

Hi guys,
I've planned to do a CSE flash (means "with data loss") of latest official rom and then switch from the obsolete CloudyG3 to the FulmicsRom.
So I'll need TWRP recovery, but according to my experience it need to be "bumped", otherwise I get a Secure Boot error.
Autorec is considered the best solution, now I want to know:
1) How Autorec works to prevent this?
2) I'll get latest 2.8.7.0 TWRP recovery or the 2.8.6.0 instead?
3) I'll definitely solve bootloader issues, also when in future I'll manually flash "non-bumped" recoveries?
Ps i would appreciate more a better method to obtain the same result (the freedom of use non-bumped recovery).
The only I know is the "oem-unlock", but it's irreversible so I dislike it.
Simone98RC said:
Hi guys,
I've planned to do a CSE flash (means "with data loss") of latest official rom and then switch from the obsolete CloudyG3 to the FulmicsRom.
So I'll need TWRP recovery, but according to my experience it need to be "bumped", otherwise I get a Secure Boot error.
Autorec is considered the best solution, now I want to know:
1) How Autorec works to prevent this?
2) I'll get latest 2.8.7.0 TWRP recovery or the 2.8.6.0 instead?
3) I'll definitely solve bootloader issues, also when in future I'll manually flash "non-bumped" recoveries?
Ps i would appreciate more a better method to obtain the same result (the freedom of use non-bumped recovery).
The only I know is the "oem-unlock", but it's irreversible so I dislike it.
Click to expand...
Click to collapse
1) Autorec flash the "bumped" kitkat bootloader.
2) I have the 2.8.7.0, but its up to you really.
3) If you flash a not bumped rom or recovery, you will get a secure boot error. But, everything is bumped because its the only bootloader unlock that we have
RapHaeL_4_4_4_ said:
1) Autorec flash the "bumped" kitkat bootloader.
2) I have the 2.8.7.0, but its up to you really.
3) If you flash a not bumped rom or recovery, you will get a secure boot error. But, everything is bumped because its the only bootloader unlock that we have
Click to expand...
Click to collapse
So Autorec is useless, if I obtain the same result and limitations of a manual bumped recovery flash.
Why make useless bootloader changes if same result without mess up other partitions?
So, if I understand well, Autorec make exactly what I manually do by flashing of a "signed" boot/recovery partition.
I'm wrong?
Simone98RC said:
So Autorec is useless, if I obtain the same result and limitations of a manual bumped recovery flash.
Why make useless bootloader changes if same result without mess up other partitions?
So, if I understand well, Autorec make exactly what I manually do by flashing of a "signed" boot/recovery partition.
I'm wrong?
Click to expand...
Click to collapse
Its useless if you are still on kitkat, but if you're on lollipop and you want to install a custom rom or recovery, you don't need to downgrade with tot, loose everything, flash bump, and go on... it make things easier in that case.
In fact,
Bump make believe to the phone that what you try to boot is legit,
While Autorec install the bumped kitkat boot partition if you are on lollipop.
And the bootloader change is not useless if you're on lollipop because bump don't work on lollipop.
If you are on the cloudy Rom, you already have TWRP installed.
You don't need to go back to stock.
Just boot to recovery: turn off, press vol.down+power, when you see the LG logo release the buttons and press then again units you see the recovery the factory reset. Say yes both questions and then you are in TWRP.
Copy the new ROM on the SD card and flash it.
Brgds
Sent from my phone
ypsmav said:
If you are on the cloudy Rom, you already have TWRP installed.
You don't need to go back to stock.
Just boot to recovery: turn off, press vol.down+power, when you see the LG logo release the buttons and press then again units you see the recovery the factory reset. Say yes both questions and then you are in TWRP.
Copy the new ROM on the SD card and flash it.
Brgds
Sent from my phone
Click to expand...
Click to collapse
So you're saying that FulmicsRom, based on 21A, will works greaceful even under 20H system (bootloader, etc.)?
The CloudyG3 developer suggest to flash latest official rom before its latest custom one.
I think it's true for FulmicsRom too.
RapHaeL_4_4_4_ said:
Its useless if you are still on kitkat, but if you're on lollipop and you want to install a custom rom or recovery, you don't need to downgrade with tot, loose everything, flash bump, and go on... it make things easier in that case.
In fact,
Bump make believe to the phone that what you try to boot is legit,
While Autorec install the bumped kitkat boot partition if you are on lollipop.
And the bootloader change is not useless if you're on lollipop because bump don't work on lollipop.
Click to expand...
Click to collapse
Regarding the rom, I never needed to look for bumped releases.
On my device I flashed both Resurrection Remix (CM-based) and CloudyG3 without any problem: as requirements only the root access and a TWRP bumped recovery.
Probably the cited roms are signed by default, so the scenario described by you may happens only in other systems like MIUI or Ubuntu Touch... given that they are unsigned, I'm doing only an example.
I continue to be confused regarding the aim of Autorec.
So, why if I flash a non-bumped recovery I continue to get Secure Boot errors? The bootloader may be modified to prevent this behaviour, but Autorec won't do that.
So what it does?
Simone98RC said:
So you're saying that FulmicsRom, based on 21A, will works greaceful even under 20H system (bootloader, etc.)?
The CloudyG3 developer suggest to flash latest official rom before its latest custom one.
I think it's true for FulmicsRom too.
Regarding the rom, I never needed to look for bumped releases.
On my device I flashed both Resurrection Remix (CM-based) and CloudyG3 without any problem: as requirements only the root access and a TWRP bumped recovery.
Probably the cited roms are signed by default, so the scenario described by you may happens only in other systems like MIUI or Ubuntu Touch... given that they are unsigned, I'm doing only an example.
I continue to be confused regarding the aim of Autorec.
So, why if I flash a non-bumped recovery I continue to get Secure Boot errors? The bootloader may be modified to prevent this behaviour, but Autorec won't do that.
So what it does?
Click to expand...
Click to collapse
If you flash a non-bumped recovery, its normal that you get "Secure Boot Error" because bump is the "unlock". Everything on the g3 must be bumped to boot.
Autorec flash the kitkat bootloader if you are on lollipop (to make bump work) and after it flash a bumped twrp (recovery), that's all.
And if you read through the thread you will understand what autorec does: http://forum.xda-developers.com/lg-g3/general/apk-flash-twrp-autorec-thanks-to-t3081396
Simone98RC said:
So you're saying that FulmicsRom, based on 21A, will works greaceful even under 20H system (bootloader, etc.)?
The CloudyG3 developer suggest to flash latest official rom before its latest custom one.
I think it's true for FulmicsRom too.
Regarding the rom, I never needed to look for bumped releases.
On my device I flashed both Resurrection Remix (CM-based) and CloudyG3 without any problem: as requirements only the root access and a TWRP bumped recovery.
Probably the cited roms are signed by default, so the scenario described by you may happens only in other systems like MIUI or Ubuntu Touch... given that they are unsigned, I'm doing only an example.
I continue to be confused regarding the aim of Autorec.
So, why if I flash a non-bumped recovery I continue to get Secure Boot errors? The bootloader may be modified to prevent this behaviour, but Autorec won't do that.
So what it does?
Click to expand...
Click to collapse
Yes, you can flash on top of the cloudy no need to go back to stock.
The only thing you have to do is wipe all partitions except the sd before flashing.
Both ROMs are stock based.
If you decide to flash a KDZ or TOT to go back to stock you will have to root first and then use Autorec.
Brgds
Sent from my phone
ypsmav said:
Yes, you can flash on top of the cloudy no need to go back to stock.
The only thing you have to do is wipe all partitions except the sd before flashing.
Both ROMs are stock based.
If you decide to flash a KDZ or TOT to go back to stock you will have to root first and then use Autorec.
Brgds
Sent from my phone
Click to expand...
Click to collapse
Ok, thanks for the clarification.
I was afraid regarding the compatibility of the actual 20H bootloader with custom 21A rom, CloudyG3 is based on 20H but works under the same bootloader.
But you're telling me it's not existing any kind of problem with that.
So I can flash rom in the easier way (from zip file with TWRP recovery).
RapHaeL_4_4_4_ said:
If you flash a non-bumped recovery, its normal that you get "Secure Boot Error" because bump is the "unlock". Everything on the g3 must be bumped to boot.
Autorec flash the kitkat bootloader if you are on lollipop (to make bump work) and after it flash a bumped twrp (recovery), that's all.
And if you read through the thread you will understand what autorec does: http://forum.xda-developers.com/lg-g3/general/apk-flash-twrp-autorec-thanks-to-t3081396
Click to expand...
Click to collapse
So we can say that Autorec is useful only when I work with TWRP on official (obviously rooted) firmware.
But since the cited rom is only "based" on official, I'm not needing to use Autorec, if I directly flash bumped version of TWRP.
Simone98RC said:
Ok, thanks for the clarification.
I was afraid regarding the compatibility of the actual 20H bootloader with custom 21A rom, CloudyG3 is based on 20H but works under the same bootloader.
But you're telling me it's not existing any kind of problem with that.
So I can flash rom in the easier way (from zip file with TWRP recovery).
So we can say that Autorec is useful only when I work with TWRP on official (obviously rooted) firmware.
But since the cited rom is only "based" on official, I'm not needing to use Autorec, if I directly flash bumped version of TWRP.
Click to expand...
Click to collapse
Listen... Lollipop bootloader DOES NOT accept BUMP.
So what autorec app by Bender does is flash a kitkat bootloader which ACCEPTS BUMP.
Autorec also flashes the bumped TWRP to recovery partition.
So... if you have TWRP you are on kitkat bootloader and you can flash whatever you want that is bumped. All images based on whichever version of ROM 21A, 20H or any of the other ones you find will work on that bootloader.
To finalize, yes you can flash it the easy way with TWRP.
NatusVincere said:
Listen... Lollipop bootloader DOES NOT accept BUMP.
So what autorec app by Bender does is flash a kitkat bootloader which ACCEPTS BUMP.
Autorec also flashes the bumped TWRP to recovery partition.
So... if you have TWRP you are on kitkat bootloader and you can flash whatever you want that is bumped. All images based on whichever version of ROM 21A, 20H or any of the other ones you find will work on that bootloader.
To finalize, yes you can flash it the easy way with TWRP.
Click to expand...
Click to collapse
Clearful, thank you so much... even if uppercases may seem offensive (like you talk to a stupid who won't understand)
So if I start from an official 21A firmware, I need to:
1) Root device;
2) Install and execute Autorec;
3) Flash anything from the bumped TWRP (automatically installed by Autorec alongside the KitKat bootloader).
Simone98RC said:
Clearful, thank you so much... even if uppercases may seem offensive (like you talk to a stupid which won't understand)
So if I start from an official 21A firmware, I need to:
1) Root device;
2) Install and execute Autorec;
3) Flash anything from the bumped TWRP (automatically installed by Autorec alongside the KitKat bootloader).
Click to expand...
Click to collapse
1. root
2. install autorec for v20t or 20u
3. install rom (you already have bumped recovery because of step 2)
4. yes, you can now upgrade recovery if you find a more recent one
bender_007 said:
1. root
2. install autorec for v20t or 20u
3. install rom (you already have bumped recovery because of step 2)
4. yes, you can now upgrade recovery if you find a more recent one
Click to expand...
Click to collapse
Thanks much for the specification: since I want to flash a firmware newer than 20H, I need latest Autorec to work with that [emoji106]
https://www.androidfilehost.com/?fid=24052804347817962
After all you are the official Autorec developer
^ yap, flash safely, after that flash fulmics
That's how I was using it
Plus thx to all people involved in here for answering and helping out
Poslano sa mog LG-H815 koristeći Tapatalk

Security Error after flashing stock 30b (Marshmallow)

Hi,
I had a D855 with Android 5.0, rooted and with TWRP v2.8.6.0 installed, then I used TWRP to install a ZIP with Marshmallow (30B), but after installation TWRP asked for installing SuperSU and I did it. Now I know this should not be done because Supersu is not compatible with this version.
After rebooting I get into Security Error.
I did the same thing many times and always the same error. I tried to flash a KDZ but LG Flash Tool 2014 does not connect throuh USB, although under TWRP I can connect my pc to the phone and move thing in and out of it.
Any idea ?
Thanks
Security is error is more likely because the boot image may not bumped. Refer post http://forum.xda-developers.com/lg-g3/development/stock-d855-30b-images-kdz-flashables-t3282012. And SuperSu version 2.52 is said to work with Marshmallow on LG G3.

Bought new LG3. How should I go about rooting? Update first?

So I bought a new G3. It'll be there today, and I don't know if I should update to MM first then root, or just root, twrp and then load a custom ROM.
There isn't any need to update to MM right? Since we're all here doing custom Roms, I can always just flash a rooted stock MM ROM right?
mroneeyedboh said:
So I bought a new G3. It'll be there today, and I don't know if I should update to MM first then root, or just root, twrp and then load a custom ROM.
There isn't any need to update to MM right? Since we're all here doing custom Roms, I can always just flash a rooted stock MM ROM right?
Click to expand...
Click to collapse
Its easiest to root LP and install TWRP then just flash a rom
Which model? Anyways, on my D850, I updated to the latest version (had to keep forwarding date after each update so get the following update, because the AT&T version wants you to wait a day between updates), which I believe was the Lollipop LRX21Y. After that, I used this guide for rooting:
http://forum.xda-developers.com/lg-g3/general/guide-root-method-lg-devices-t3129197
Note that the distribution did not have a "reboot" script, even though it was mentioned in the docs. Create an empty text file called "reboot" without an extension and type one word LEAVE in it, then it should work. Or simply pull the battery out after rooting to exit download mode.
And use this guide for TWRP (make sure you download the correct version of autorec from that page):
http://forum.xda-developers.com/lg-g3/general/apk-flash-twrp-autorec-thanks-to-t3081396
Sorry, can't believe I forgot the model. Its a vs985 and it was OK 10b. So I used stump and twrp manager. All is well now. Thanks all!
mroneeyedboh said:
Sorry, can't believe I forgot the model. Its a vs985 and it was OK 10b. So I used stump and twrp manager. All is well now. Thanks all!
Click to expand...
Click to collapse
You are perfectly fine to do so on 10(which is kitkat), on lollipop or mm you can´t go down the same routine

How to re-root a LG G Pad 8.3 (V500) already on Marshmallow 6.0.1

I rooted my LG G Pad 8.3 (V500) and I installed the AOSP 6.0.1 (MOB30J). It works fine, but for some reasons (?), I lost the root. Does someone know how to re-root the G Pad 8.3, already on Marshmallow 6.0.1 ? The root guides for Android 4.4 do not work and I do not find a guide for the 6.0 version. Thanks for your help.
Hi, you flash SuperSU 2.52 in recovery to root your Device? If still not have SuperSu after boot, you install it from playstore. It's will OK.
hptnhan said:
Hi, you flash SuperSU 2.52 in recovery to root your Device? If still not have SuperSu after boot, you install it from playstore. It's will OK.
Click to expand...
Click to collapse
Hi. Many thanks for your answer. I have SuperSu, but it tells me that:
1- I have no binary installed
2- if I made an update to Android 5.0 (in my case, it's 6.0), I have to re-root my device manually.
As @hptnhan says, if you flash the latest SuperSU.zip from custom recovery then you should be set.
roirraW "edor" ehT said:
As @hptnhan says, if you flash the latest SuperSU.zip from custom recovery then you should be set.
Click to expand...
Click to collapse
OK. I understand. I'll do it. Thanks for your help.
I have the same problem. Lost root after AOSP 6.0.1
I tried to flash the latest supersu zip 2.76 and got secure booting error and stuck on LG logo. Please help.
Edaily7 said:
I have the same problem. Lost root after AOSP 6.0.1
I tried to flash the latest supersu zip 2.76 and got secure booting error and stuck on LG logo. Please help.
Click to expand...
Click to collapse
Restore to a 100% stock unrooted ROM using a KDZ or TOT made for your variant (V500). Flashing a TOT or flashing a KDZ with the CSE option will wipe everything including internal storage. If you flash the same version of the stock ROM that you were previously successfully running, you could try flashing a KDZ with the Normal option which won't wipe Data. If the tablet won't finish booting after that, try wiping Cache or a Factory Reset which will be the same as flashing the KDZ with the CSE option.
Thanks for your help. I was able to flash the stock rom. I installed ASOP 6.01 again and i lost root again. How do I gain root again on ASOP 6.01? Flashing the supersu.zip doesnt work for me. Is there another way to regain root on ASOP 6.01? Thank you.
I will ask the same question: How do i root my LG G Pad 8.3, running Android 6.0.1?
I've tried SuperSU 2.52, but got stuck on the secure boot error.
Bump bump...
Edaily7 said:
Thanks for your help. I was able to flash the stock rom. I installed ASOP 6.01 again and i lost root again. How do I gain root again on ASOP 6.01? Flashing the supersu.zip doesnt work for me. Is there another way to regain root on ASOP 6.01? Thank you.
Click to expand...
Click to collapse
AOSP or CM 13? I haven't fooled with CM for any device in over a year but last I checked it includes it's own SuperUser app that you could enable. It might've been in the Developer Options section of Settings. You could also optionally try flashing an old version of SuperSU that's not Marshmallow-aware such as v2.46 or 2.5x (I think 2.5x was still not Marshmallow aware). Don't blame me for bricks though.
When I had tried CM 12.1 (for a different device, I don't have what you have) you could opt for flashing SuperSU.zip instead of enabling the built-in SuperUser app. I don't know if that's still an option under CM 13.
Sounds like you fellas are running wrong base ^^ (original firmware that V500 came with?)
Could be wrong as I've been out of the game a while o_0
Try a new base and then root, recovery and custom ROM it.

Stock VS9862BA flashable zip

Hello!
I'm making a zip which contains stock 2ba software untouched, extracted from the original kdz
Includes:
Stock untouched System
Stock Boot (compatible with Magisk)
Stock MM modem
Install instructions:
- Reboot to TWRP
- Wipe data, cache, system
- Install zip
- Reboot
- Enjoy!
Link:
https://drive.google.com/open?id=1GaPfb_WNUW_4-kd_jk_80OWosbjdCLAv
Link updated! Feel free to upload some mirrors if you want
P.D: Sorry for my bad english
Hello. Thank you very much for the file. Installed everything works. At first I could not understand why there was no root, but then installed Magisk and everything turned out.
I am on a completely stock OTA upgrade version of 2BA, I have NO root, my boot loader is still locked,<as I have still not got around to flashing the UsU method, There for I currently do NOT have a custom recovery installed; such as TWRP; which is listed as a requirement(?) in the first step of following process (to flash a rooted Rom.)
I am curious as to how I will be able to complete these steps, or am I missing something? Is this,supposed a way to gain root on 2BA if you are on a non root version like me, or is this suppose to be a update of your on a previous version which you already have rooted, or is this just a different way to root AFTER you have had the UsU boot loader unlocked?
robles4242 said:
I am on a completely stock OTA upgrade version of 2BA, I have NO root, my boot loader is still locked,<as I have still not got around to flashing the UsU method, There for I currently do NOT have a custom recovery installed; such as TWRP; which is listed as a requirement(?) in the first step of following process (to flash a rooted Rom.)
I am curious as to how I will be able to complete these steps, or am I missing something? Is this,supposed a way to gain root on 2BA if you are on a non root version like me, or is this suppose to be a update of your on a previous version which you already have rooted, or is this just a different way to root AFTER you have had the UsU bootloader unlocked?
Click to expand...
Click to collapse
the only way to root your phone on 2BA is with UsU.
so after you do UsU you can flash TWRP and from there you can flash magisk for root. you don't have to flash this rom for root
here's a side note. when you do the UsU unlock do not flash the baseband package. it gave me problems with my SIM not being detected
ANDROID2468 said:
the only way to root your phone on 2BA is with UsU.
so after you do UsU you can flash TWRP and from there you can flash magisk for root. you don't have to flash this rom for root
here's a side note. when you do the UsU unlock do not flash the baseband package. it gave me problems with my SIM not being detected
Click to expand...
Click to collapse
I tested downgrading from Lineage 15.1 and this ROM Works and TWRP works too! Thanks!

Categories

Resources