yashsingh1/xdaforums huggingface dataset:
[G3 General] badchip:
[MENTION=5231281]topet2k12001[/MENTION], Thanks for the tips and information. I just tried to replace boot.img inside Cloudy 1.2 (which is based on LG Stock not CM) with boot.img from 10d d858hk, flashed and then I got "Security Error" with LG logo.. So nope, doesn't work. I recovered via twrp nandroid backup :)

I might do more experiments when I have the time, like extracting the boot.img and I'll replace everything except the kernel.

Anyway don't worry about it, thanks for your help and keep it on!
[G3 General] danzel:
Hi,

The images are missing :( I can't follow the guide. Thanks!
[G3 General] danmak89:
I think I know what the problem is. I didn't have the lollipop boot.img, system.img and modem.img files extracted. At least based on the information from post#2. Although I followed the instructions on post#153 where the only mention of Lollipop was to have a stock rooted version installed on the device.

Then I downloaded a stock KitKat KDZ, extracted the files as I was supposed to, renamed as I should have done and placed everything in the correct folders on my device. The process when I entered the script ran as it should have done with no errors, typed reboot and now I just have a blank screen. As I say, pulling battery and trying to boot doesn't work. Trying to boot in to download mode doesn't work and trying to boot in to a recovery (to see if it did flash) doesn't work. Have I completely killed my device?
[G3 General] aitanoddl:
THESE are the files I used if what you say is true then also bringing the phone service is not recovered ? my phone pè in Warranty tell me What They Pay Something ?

https://www.dropbox.com/s/e5yx3fsaz23gtbi/COPIA DA METTERE NEL TOOL.rar?dl=0
[G3 General] ch4dwick:
Heads up folks. 20d firmware was released today. Double check if it's still working.
[G3 General] danmak89:
Doesn't look like I'm gonna be able to restore my device.

Good thing it's still under warranty from the store I got it from. I'll just take it back.
[G3 General] bender_007:
^ what is the issue?
[G3 General] danmak89:
Hi Bender, full details are on the previous page, but basically the device just will not boot at all, despite following the instructions exactly as they were laid out. Black screen, no download mode, no recovery. Pulling the battery and trying again does nothing. I guess I would have to either get a new device or pay someone to fix it.
[G3 General] bender_007:
What happens when the device is connected to computer? (also try entering recovery mode and connect)
[G3 General] danmak89:
I can't enter recovery unfortunately. However, when the device is connected to a computer it does get recognised by my device manager. As this is a work computer with strict admin setup I can't install the drivers here, so I'll have to check my computer at home.

I did live boot in to Ubuntu here though with ADB and Fastboot installed. Both give me nothing when I run devices command.
[G3 General] bender_007:
I'll check in later when I'm also on my computer to inform you about the issue.
[G3 General] MaurizioSalv:
I have the international variant D855. I did exactly as described but I certificate errors and goes into bootloop.

Firmware Global 20i
[G3 General] briefer:
Did it work for any D855 international version?
[G3 General] DE52:
I read your post on the previous page and I think you forgot one key step. I'm pretty sure no matter the way you do this (getting a recovery), aboot.img from the kit kat KDZ has to be installed as well as at least the laf.img to get download mode to work. If you don't install aboot.img from kit kat, you will basically have lollipop bootstack which will not allow a recovery or at least you won't be able to boot into it. Correct me if I'm wrong, but I'm pretty sure you haven't installed this have you (aboot.img and laf.img)?
[G3 General] topet2k12001:
"Imageprep" version 1.4 is out!

Hi Friends,

Sorry I wasn't as active in the thread; I was updating "Imageprep".

WIth that in mind...version 1.4 is out! Please visit Post #153 for the details and for a download link to a video tutorial!
[G3 General] GUZGUN:
Yes it works perfect.

Στάλθηκε από το LG-D855 μου χρησιμοποιώντας Tapatalk
[G3 General] danmak89:
The kitkat aboot.img and laf.img (renamed with kitkat-) were included in my kit kat image files folder, so I'm really not sure what could have happened. I'm starting to wonder if the problem could have been caused by using firmware for the 32GB D855, but I'm not sure if this would have been a problem.

Anyway, my store are replacing it for me.
[G3 General] sonictwins:
I have problem. I am on D858HK20d. I did everything according to your instructions... but...

(http://prntscr.com/6ibe3r)

can you help me?
[G3 General] badchip:
No need to quote the OP man.. too much!

Did you install BusyBox successfully?
[G3 General] sonictwins:
yes I did!

and I try from pc ...

I found and corrected the mistake. I finally succeeded...
[G3 General] vinothnallavan:
stuck

i'm really a noob

i saw your video

where did you get the imageprep1.4.sh file

what are those files in the tmp folder

:(:(
[G3 General] mlazim14:
You don't need to touch the files in the tmp folder, and imageprep1.4.sh should be present in the root of the folder you downloaded - if not try downloading and unzipping it again.
[G3 General] bender_007:
You need to hit space key sometimes m8. Check for typos..
[G3 General] topet2k12001:
Responses 03.19.2015

Hi @sonictwins,

I checked your screenshot. You had a typographical error. :)

This is what you typed:

sh/sdcard/imageprep/imageprep1.4.sh

There should be a "space" between "sh" and "/sdcard/imageprep/imageprep1.4.sh"

Hope this helps!

EDIT:

Sorry I missed reading this. Glad you had it all sorted!

Hi [MENTION=4794809]GUZGUN[/MENTION],

Glad it worked for you. Which method did you follow: "Kitkat Downgrade", "No Downgrade - Manual" or "No Downgrade - Imageprep"?

What is your LG G3 model/variant?

Hi [MENTION=6515115]vinothnallavan[/MENTION],

If you saw my video it means you went to Post #153 of this thread already. :) Just read the instructions and watch the video. The download file (imageprep1.4.sh) is attached to the post.
[G3 General] Tornisyourdaddy:
I just did it using ImagePrep1.4 on my LG G3 D852G ( Videotron )

It worked like a charm ! Many Thanks!
[G3 General] danmak89:
So I have my device back. Still no luck but I might try the b2b method to fix it. Although in device manager it says LG USB Android Device. If anyone has any tips I will be eternally grateful.
[G3 General] topet2k12001:
Responses 03.19.2015 (Part 2)

Hi [MENTION=4388912]Tornisyourdaddy[/MENTION],

That's great to hear!

I'd like to get feedback from those who tried and were successful...please let me know your LG G3 model/variant. Also please check if you can boot to custom recovery (TWRP) and can use Download Mode. Thank you!

Hi [MENTION=5159277]danmak89[/MENTION],

Hm...can your LG G3 boot in any "state" like custom recovery or Download Mode? Sorry if you already answered my question and I missed reading it.

What is the "b2b" method?

It's wierd...I don't know if I can declare your LG G3 as a "full-brick". In your case, when you plug it to your PC it says "LG USB Android Device" and not the "Qualcomm..." message.
[G3 General] danmak89:
Oh I meant the Qualcomm method. It's very weird that it still appears in device manager. This says to me that I haven't fully killed my device so I still have hope. Doesn't the LG flashtool have a board repair tool?
[G3 General] topet2k12001:
Hi @danmak89,

Indeed, it has. I just don't know how to use it. I was Googling your problem earlier and I think I came across an article about that. I just forgot the site (sorry I have my browsing history on auto-delete). Or maybe ask in the LG G3 thread that talks about restoring the LG G3 to stock since the how-to in the thread also discusses the LG Flash Tool? I'm sorry if I'm not of much help, but I'm trying.

EDIT:

Here's an article that makes use of "Board DL" mode: http://androidforums.com/threads/how-to-restore-phone-with-dl-mode.861292/

Here's an XDA Thread that, I assume, is the "B2B" that you were referring to earlier: http://xdaforums.com/lg-g2/general/fix-unbrick-lg-g2-stuck-qualcomm-hs-usb-t2933830. The "parent thread" is this one and it says that although the "B2B" method is for the LG G2, it can be used with LG G3 files.

Here's an XDA Thread that talks about the usual way of reflashing the LG G3 (both for KDZ and TOT methods): http://xdaforums.com/showthread.php?t=2785089
[G3 General] dornz:
Hi sorry for late reply.. Thanks for info very good. I am debating whether to do this on my g3 or pc ?.. Might go with pc since i rooted it that way. My g3 is d855 v20c SEA XX 5.0 lolipop. So if i understand your really detailed guide aboot.img on this device is lolipop aboot.img and i need to replace it with kk aboot.img and other img files as per your guide and run script to boot in to twrp and the install img files via twrp ?( sorry for lameint noob talk here) i want to get this right on first go as you say its all in the details so as not to get errors..? thanks again for replys
[G3 General] GUZGUN:
I followed no downgrade-manual and my model is D855 international.

Στάλθηκε από το LG-D855 μου χρησιμοποιώντας Tapatalk
[G3 General] Pannam:
Hi,

I have a cwm recovery for f460k. I can't get it working. i pushed it in the system but when i reboot it goes to fastboot mode. can you suggest what i could have missed ? i tried the general tool available to bump images . i bumped my recovery image. not sure if i need to bump boot image (i am on stock rom 4.4.2). May be out of topic but would be nice if u could give a few pointers.
[G3 General] danmak89:
Looks like I've made some progress. I just need to find a TOT for my device, but the 2014 flashtool recognizes there is a device present. I'm downloading a TOT at work for my device (faster internet) and I'll use the 2015 flashtool with the board DL mode. Good thing is that I managed to set my device as a COM port in device manager, so I can change it to COM41. If this works I'll probably just go with the downgrade method instead just to be safe.
[G3 General] floring75:
153
[G3 General] mafury:
For ktk u have to use anzhi recovery its just an apk.

Somebody have twpr for lollipop f460?.
[G3 General] topet2k12001:
Responses 03.20.2015

Hi @Pannam,

I'm not sure if the procedure will work for a CWM custom recovery as I haven't used that. As far as the "general tool for bumping images", I'm assuming you're referring to this one. I was able to bump my TWRP custom recovery using it. But I'm not sure if it works for CWM custom recovery.

Yes, you need to also "bump" your boot image. Please read the First Post (First Page) of this thread to understand the logic behind it all.

Hi @danmak89,

That's great to hear!

Request: can you write, in detail, what you did? It may help other members. Also please mention your LG G3 model/variant.
[G3 General] danmak89:
Well it looks like it's a complete brick as far as I can tell. I think the tool that restores the boot image is dead as it seems like someone got it banned. (Qualcomm 9008 method).

Flashtool can't see the device.

I guess I'll have to contact LG to see if I can it fixed/replaced under warranty. If not then I have an expensive good looking paperweight.
[G3 General] zuixian:
Hi topet2k12001,

I plan to flush as per your instructions on Post#44.

http://xdaforums.com/showpost.php?p=59353812&postcount=44

1) Lollipop Bump's boot img from here (from your D858HK, mine is D855):

https://mega.co.nz/#F!QMdyBDpB!8lwKAsqqrG-WvulCW7jl1Q

2) TWRP (Bump'd) from here:

https://www.androidfilehost.com/?w=files&flid=22380

3) kitkat aboot.img (D855) from here:

http://xdaforums.com/showpost.php?p=59493424&postcount=581

4) Flash Kitkat Boot Stack from here (if I can boot into TWRP recovery)

http://xdaforums.com/showpost.php?p=59395754&postcount=98

My Question is:

(a) The lollipop bump'd boot.img posted by you if for D858HK, would it work on D855 ?

(b) Am I missing anything ?

Many Thanks In Advance :)

Zuixian

LG G3 32GB D855

V20c-SEA-XX (Rooted )
[G3 General] zuixian:
Original D855 lollipop recovery, boot and aboot img

If I may ask, does anyone have original D855 Lollipop:

1) recovery.img

2) boot.img

3) aboot.img

(Our download speed has been quite terrible of late due to upgrading works)

Pls help to post if you have them

Many thanks in advance
[G3 General] cre4per:
Bell D852

works perfect on bell D852, except everytime i reboot i have to do a battery pull to get it to turn back on :confused: besides that everything perfect
[G3 General] danmak89:
Hey guys, so if you have essentially super-bricked your device through this process, you may be able to restore it using this method (http://xdaforums.com/showthread.php?t=2582142) I found for the G2. I'm going to try it myself and see what results I get.
[G3 General] lr89stang:
Same issue here! I have to pull the battery, put the charger in until i see a caution signal, put the battery back in and then it finally starts again.

Helpppppppp!
[G3 General] Tornisyourdaddy:
I am on LG G3 d852g vith Videotron

The first time I tried it with Imageprep1.4, everything worked fine.

I had to restore to stock for some reason and when i got back on lollipop, tried Imageprep1.4 again with the same files i had used before but this time phone won't boot.

Boot Error, Certificat validation error or something like this.

My Download mode and Recovery mode were working fine though. I had to boot in Dowlooad mode and use LG Flash Tool to restore my device.

Any idea what could have happend ? And is there any way i could have fixed it without having to restore stock ?
[G3 General] jojobans:
Dear friend, lollipop bumped boot.img d858 not working for d855 phone is bricked i recomended just rooted
[G3 General] lordzouga:
I already have a rooted Lollipop LG G3 D855. I went through the instructions on the first post and it seems to me that most of the files listed there to be extracted from the KDZ file can be used for the same variant across multiple devices. For example: the extracted aboot.img used for one LG G3 D855 variants will work for all LG G3 D855 variants. Right?

If so, is there a way I can get the needed "*.img" files (without having to download another Lollipop rom) that I can use to make my stock lollipop rom bump'd? like it was provided for LG G3 D850 users on this thread: http://xdaforums.com/att-lg-g3/development/rom-lg-d850-20f-lollipop-5-0-1-extras-t3052041.

I have already tried installing a bump'd twrp recovery on my current non-bump'd stock Lollipop rom and I am getting a "Secure Boot error" when I try to boot into recovery as I explained here: http://xdaforums.com/lg-g3/help/help-secure-boot-error-trying-to-boot-t3054977#post59578413. So I really need this.
[G3 General] topet2k12001:
Hi @lordzouga,

I don't want to make that assumption and bear the responsibility of "bricked" devices for other users. :) Even if those files have the exact same file size across the different firmware versions, or same firmware versions of different models/variants.

Saw your edit:

"Secure Boot error" is already a known error.

Please read Page 1 of this thread, for the following topics:

1. "The Logic Behind It All" (First Post)

2. "Troubleshooting and Q&A"

I have already encountered those problems, tried to understand their causes, so I documented them, and explained the logic of the how-to guide.

EDIT AGAIN:

So, based on your edit/added information, the cause of your problem is clear now. Here's the solution:

Can you boot to normal "Android"? The reason for "Securre Boot Error" is:

1. You "bump'd" your TWRP (which is not a bad thing; it's required). "Bump"ing means "patching" (for the lack of words) by "signing" an image file with a Kitkat signature.

2. The "ABOOT" partition of the device (Android Bootloader), if you're on Lollipop, is signed with a "Lollipop" version. It checks if the "RECOVERY" and "BOOT" partitions bear the same signature (whether "Lollipop" or "Kitkat")

3. The thing with "bump" is that it signs recovery and/or boot images with a "Kitkat" signature.

4. So, your objective is to replace the "ABOOT" partition with a "Kitkat" version. This way, once you have "bump'd" your recovery.img (the TWRP custom recovery one) and boot.img, the "ABOOT" partition (which by now is Kitkat version) will not "complain" of a signature mismatch...and therefore will allow the device to boot (and not give a "Secure Boot Error" or a "Certification Verify" error).

5. You can extract a "Kitkat" "ABOOT" partition by following the how-to guide at Page 1. Look for the section "Extract". You need a KDZ/TOT of your latest Kitkat firmware and the KDZ and Extractor Tool.

6. By default, extracted partitions from a KDZ or TOT are in ".bin" file extension. Make sure you also read how to convert/change a ".bin" file to an ".img" file.

At this point, you have two methods of fixing:

1. The old "No Downgrade" manual method (you will type a lot of commands via the Android Terminal Emulator)

2. "Imageprep" which is basically an automated version of the "No Downgrade" manual method. See Post #153 for the instructions.
[G3 General] squall458:
Anyone on Fido done this and want to help a bro out get twrp installed. I am already rooted.
[G3 General] cre4per:
I used imageprep and just did the laf as download mode works perfect the first time I used imageprep I used the wrong twrp used a twrp flashable one instead...everything went OK except when I tried to enter recovery went to fastboot instead so just rebooted and flashed twrp with flashify everything good now not experiencing the battery removal thing now that I'm on cm12.
[G3 General] re_di:
boot certification verify d858HK

I am a lame, because I really don't know what went wrong.

I have Lg G3 d858HK, Lollipop 20d (upgraded by OTA), rooted without downgrading.

I went step by step how is described in post #153.

I can go into download mode, recovery mode (twrp), but system cannot start (boot certification verify, secure Booting error, cause: boot certification verify).

Second thing is that after each powering off I have to pull the battery.

Is there somebody who can help me?

--------------------edit--------------------------------

Phone is visible by computer- I mean internal, and external storage, but there is not possible to charge battery (during charging the same info- secure booting error)

Maybe my mistake is because I've tried to run phone into bootloader mode from twrp?

If yes- how to fix it?

I enclosed txt file- copy everything which were shown in command window during using imageprop
[G3 General] lr89stang:
I flashed

2. "No Downgrade" method

only Kitkat ABOOT.img and LAF.img
[G3 General] topet2k12001:
Responses 03.21.2015 (2)

Hi [MENTION=4327605]squall458[/MENTION],

What is your LG G3 model/variant? Pardon me as I am from the Philippines..."Fido" is a carrier/service provider?

Hi [MENTION=5015107]cre4per[/MENTION] and [MENTION=2064854]lr89stang[/MENTION],

Thanks for the information. Based on your individual responses, one of you used the "Imageprep" method and another did it manually ("No Downgrade") and got the same results (needing to pull out the battery). It means that there is nothing wrong with "Imageprep" and we can deduce that it's just a possibility of having flashed the wrong image files.

Following [MENTION=5015107]cre4per[/MENTION]'s response, the cause might have been:

1. you used a ".zip" version of TWRP (should be ".img")

2. make sure that it is already "bump'd"

3. make sure that it is saved in /sdcard/imageprep/twrp

4. make sure that it is renamed to "twrp.img"

Hi [MENTION=4048733]re_di[/MENTION],

Thanks for the details. It helped me troubleshoot faster. Good move that you ran the command from your PC with the LG G3 plugged in...I assume you used "adb". :)

I saw the logs, and I can see that the cause of your problem is that you did not install BusyBox.

You need to install BusyBox, and then open BuxyBox and make sure that you actually finish the installation (Smart Install).

Here are the specific lines from your log that indicates BusyBox was not installed:

/sdcard/imageprep/imageprep1.4.sh[246]: sed: not found
/sdcard/imageprep/imageprep1.4.sh[271]: printf: not found

Explanation: shell scripts run some basic Linux commands. Those Linux commands are part of BusyBox so you need to install it. As per the log, the "Imageprep" script is complaining that it cannot find two Linux commands: "sed" and "printf".
[G3 General] re_di:
How can I fix it now? I cannot boot "normal" android, so I cannot install anything from market, and of course I cannot do this procedure ones again... :(

If it is possible to solve, I think it would be great to place walktrough in Q and A section :)
[G3 General] topet2k12001:
Hi [MENTION=4048733]re_di[/MENTION],

What mode can you boot on? Can you boot to custom recovery? Can the device recognize the Internal and External storage of the LG G3?

I already have this covered in the "Troubleshooting and Q&A" section. Please see the article: Q: I get the “certificate verify” error when booting to Android.
[G3 General] re_di:
I can go into download mode, custom recovery, fastboot.

Device recognizes both: Internal and External storages (when I connect device to computer- computer recognizes it too)

You're right, but AFAIK there is for people who have installed busybox, not for lame (like me), who have not...
[G3 General] topet2k12001:
Hi @re_di,

The steps in the "Troubleshooting and Q&A" do not require BusyBox.

The steps in "Imageprep" requires BusyBox and is mentioned in the "Requirements" section in Post #153, and is clearly mentioned that you have to install it in the app, not just install the BusyBox APK.

I'll just make it ultra-clear when I edit it.
[G3 General] ansari.srm:
Hi

I used the TWRP recovery codes as: dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery .... and so on

to upgrade my LG G3 to android 5. but my auto rotation and proximity sensors stopped working.

I tested the sensors through hidden menu and saw that the sensors are working perfectly. is there any relation with these codes that i used?

i also downgraded my os to the stock one but the problem still exists. how can I fix the problem. please help
[G3 General] topet2k12001:
Hi @ansari.srm,

We don't know, with the limited information provided. Can you tell me, step-by-step, what you did? Please be very detailed when doing so (including what commands you typed/entered).

EDIT:

Apparently you had the problem since March 14th. I saw your thread here: http://xdaforums.com/lg-g3/help/auto-rotating-proximity-sensor-t3054578

That said, I doubt that the commands have anything to do with your issue. You did mention in your thread that you upgraded via LG PC Suite.
[G3 General] re_di:
Hi [MENTION=5231281]topet2k12001[/MENTION]

Thanks for good news! :)

I am waiting for results your editing Q and A section!
[G3 General] topet2k12001:
Hi [MENTION=4048733]re_di[/MENTION],

Apparently I did not need to edit the "Troubleshooting and Q&A".

The steps and requirements for "Imageprep" method (automated way of doing the "No Downgrade" method) already mentions that you have to have BusyBox installed, and you have to open it so that the required "Linux commands" will be installed. To quote Post #153:

Also, the "Troubleshooting and Q&A" section already has a walkthrough for situations of "Certification Verify". And it is not mentioned that BusyBox is required here. To quote:

My walkthroughs are as detailed as possible. If I mention that something is required, then it is required. If it is not mentioned, then it is not required.
[G3 General] re_di:
dear [MENTION=5231281]topet2k12001[/MENTION]

I am really sorry for my previous bothering you, and thank you very much for your patience and help.

Flashing sharpening MOD sounded to easy to solve my problem (especially because name of it has nothing to do with "certificate verifying" :) )

After my last post I looked into zip with this mod... then I flashed it... and now everything work perfectly!

Thank you very much ones again!