yashsingh1/xdaforums huggingface dataset:
[G3 General] tmjm28:
https://mega.co.nz/#!7xgghT4S!wRmVMCBjP5Uisihj0tmwi90U5c6_-VQuNlatXXIs3EA

I'm not sure that link will work, it should, it worked for me when I tested it and tried downloading it . if you are already rooted , running stock lollipop on the d852 variant, this is all you need to install custom recovery. Download the zip, extract it, open the image prep folder and you will find another image prep folder, move this imageprep folder to your internal sd card and you are ready to go.

Once the folder is on your SD card, open up command prompt and or terminal emulator and type: 1) su (enter)

2) sh /sdcard/imagprep/imageprep1.4.sh (enter)

From there it's a matter of minutes and you have recovery installed. for more information see the original post and if you have any questions refer to the thread. I have nothing to do with the original post, I'm simply posting and sharing the needed files to get recovery installed and running on the D 852 variant. if you ask me a question specifically chances are I will not respond ( sorry just don't have the time)
[G3 General] Sorkz:
may I ask some stupidstupid question?

I just got d858hk last week, kitkat version 10f. I already rooted and install twrp.

If I want to upgrade to 5.0.1 via method on this thread.

Do I need to downgrade toto 10d first, or just skip those downgrade step and start flashing?
[G3 General] ozaq1:
Okay, I didn't want to have to bother you again. But I'm stuck with an, I suppose slightly unique problem that I haven't been able to Google my way out of.

I'm on an AME-XX ROM - V20i. Even on KitKat it was AME.

Csmg lg shows that its a Middle east ROM for the d855. However, its counterpart. Is Not available anywhere. (Counterpart codename). So I don't know which KitKat rom to use.

If you could guide me about which ROM to use. It would be great.

And regarding the thing that guy said about zipping up aboot.IMG and the bootstacks, I wouldn't mind helping out by downloading a few and unzipping them for you and putting up the files on a server. You could tell me which variants you want downloaded and unzipped (in addition to the one you'll recommend for myself) ...

Anyhow. If you have time. No hurries. Thanks for your patience. (Hope I haven't exhausted it)
[G3 General] floring75:
Imageprep
[G3 General] dannzyx:
Got the D855 with v20h.

Downloaded D855 firmware v10e (only one I could find), are these the things (including the ones mentioned in the tutorial) needed to flash custom recovery?

Thanks in advance.
[G3 General] squall458:
You are a god send. I would give you my first born if I had a child. THANK YOU SO MUCH FROM THE BOTTOM OF MY HEART. I PMed you too.
[G3 General] topet2k12001:
Post #153 (Imageprep Tutorial) Updated

Hi Friends,

I added the download links to the repackaged "Imageprep" shared by fellow XDA members. It's on Post #153. Thank you!

For those who are willing to share:

Make sure that you have properly tested Recovery Mode, Download Mode, and booting to normal Android

Mention your LG G3 model/variant

Mention the "Kitkat" Firmware version from which you extracted aboot.img and laf.img. Better if you can mention the full/proper version name of the "Kitkat" firmware

I am also working on an updated version of Imageprep. Are there any relevant features that you think should be added?

NOTE: this upcoming "updated" version will surprise you. :) Making this updated version is a bit complicated for me because supposedly, it requires some programming background/knowledge, and I'm learning it just by reading and on my free time. Please be patient.

Thank you also to those who are helping out by answering questions in the thread!
[G3 General] dornz:
Hi all i just a quick question i done a Nandroid backup and flashed EFSbackup.zip in TWRP no probs and when i boot in to TWRP and browse up through folders i found my TWRP back up and EFS_resore.zip but when i use romtoolbox root browser or my file manager these files arnt there?anyone know whats going on here.. Sorry for posting in this thread redirect me to other thread if anyone knows whats happing here
[G3 General] dornz:
Forget last post noob moment ha ?
[G3 General] billsky83:
I'm currently running D855 V20c-sea-XX . Can anyone please pack the required files for Imageprep method? download speed in here is just sucks. thanks in advance.
[G3 General] razer1405:
Prepacked Imageprep1.4 with D855 10h Files

d-h.st/CAW4
[G3 General] dornz:
Hi i tried to upload the whole imageprep folder on my pc but it says file to large..help with this cos i have v20c sea xx to and it worked for me TWRP on me g3 stock 5.0
[G3 General] topet2k12001:
Hi [MENTION=5133359]dornz[/MENTION],

If you can't attach it here in XDA you can always use other uploading site (Google Drive, MEGA, Mediafire, etc. etc.) and then just post the link.

Hi [MENTION=5336600]razer1405[/MENTION],

Thanks for sharing. Can you edit the link so that it will be clickable?
[G3 General] dornz:
Hi billsky here ya go https://drive.google.com/folder/d/0B_7RX232M2_ObjB0Nk1WdmZLYTQ/edit you have to creat imageprep folder your self and ad these .imgs to the right folders

---------- Post added at 08:28 PM ---------- Previous post was at 08:27 PM ----------

Here ya go https://drive.google.com/folder/d/0B_7RX232M2_ObjB0Nk1WdmZLYTQ/edit
[G3 General] billsky83:
all done. thanks mate.

---------- Post added at 02:54 PM ---------- Previous post was at 02:52 PM ----------

already done, but thanks any way.
[G3 General] Steelhog:
Awesome, worked flawlessly, fantastic work mate.

:good::good::good:

Forgot to mention:

D855 3Gb/32Gb, Lollipop v20c-sea,

Used no downgrade method, used the repeacked imageprep file in dornz post above. Replaced entire bootstack.

Yes, I can enter download mode.
[G3 General] tmjm28:
****HEADS UP*** MmMm 7-up

On a serious note, If by chance any of you have to run the imageprep script again, make sure at the end you type reboot . Personally I would avoid running the script more than once unless you absolutely have to. for some reason I just hard bricked my phone running the exact same identical script that I've run flawlessly at least a dozen times over the last few weeks. I can't pinpoint why this hard brick happened and if typing reboot had anything to do with it, but its all I can think of that may have triggered the hard brick. It has nothing to do with the script itself that is for sure , it is solely a "bug" with the system programming that is responsible.
[G3 General] funky-dj1:
Worked with my Fido D852!

Awesome work, pal! :good:

Unlocked it after installing TWRP :laugh:
[G3 General] ravi.vydianathan:
Brilliant!!

[MENTION=5231281]topet2k12001[/MENTION] brilliant!! Worked like a charm on my D855 32GB (V20c-SEA-XX) :good:
[G3 General] jfodra:
Hey! How did you made it worked? Did you download both kitkat firmware and lollipop firmware?

---------- Post added at 09:50 PM ---------- Previous post was at 09:46 PM ----------

Can someone upload a prepack for me? I'm currently in v20h-twn-xx
[G3 General] ravi.vydianathan:
[MENTION=4788648]jfodra[/MENTION], yeah you would need your appropriate kk firmware and you can then use the kdz and tot extract tool to get the img files.. [MENTION=5231281]topet2k12001[/MENTION] 's description is very nice and detailed
[G3 General] jfodra:
Where can I find the appropriate kitkat firmware for me? I've been searching but I don't know which one to download. :/

EDIT: Is this link fine? http://d855kdz.weebly.com/firmware-442.html Download the 10N firmware right?
[G3 General] dornz:
No probs

---------- Post added at 04:44 PM ---------- Previous post was at 04:40 PM ----------

Hi all for anyone else on v20c seaxx heres kk bootstack and bumbed TWRP https://drive.google.com/folder/d/0B_7RX232M2_ObjB0Nk1WdmZLYTQ/edit
[G3 General] MosesTheTool:
Ok so first of all, Thank you :)

Second, I have LS990, i downloaded the pre-created zip with all the necessary files in order for this to work, and i did the steps, but then the script said I am missing kitkat-dbi.img, i checked again, and it's misspelled "kikat-dbi.img" ;)

So please notice this, all LS990 users, you need to fix the name of the "kikat-dbi.img" file if you're downloading the premade zip.

Will follow up later if this worked at all, looks very good tho.
[G3 General] ICavalera:
Is there a pack for European d855?

I really want to install recovery on my stock rooted lollipop.
[G3 General] dornz:
Here ya go fella https://drive.google.com/folder/d/0B_7RX232M2_ObjB0Nk1WdmZLYTQ/edit.kkbootstack+bumbed TWRP For d855 European version on stock lolipop

---------- Post added at 11:21 PM ---------- Previous post was at 11:20 PM ----------

https://drive.google.com/folder/d/0B_7RX232M2_ObjB0Nk1WdmZLYTQ/edit
[G3 General] ravi.vydianathan:
Hi [MENTION=4788648]jfodra[/MENTION], sorry I just dozed off. Have you seen this one? There is a link to the Kitkat firmware file. You might want to double check the version with some more googling http://xdaforums.com/lg-g3/help/rooting-v20h-twn-xx-t3041756

---------- Post added at 11:54 PM ---------- Previous post was at 11:41 PM ----------

[/COLOR [MENTION=4788648]jfodra[/MENTION], You might also want to check this out:

http://lg-phone-firmware.com/mobile/index.php?id_mod=41
[G3 General] duda_86:
It worked on european D855 (Poland exactly) with v20h lollipop. I used KK v10h files.

Somehow I misread instruction about sharpening script and I made my phone not-bootable. Installing script via TWRP fixed the issue.

Thank you my friend for all your work!
[G3 General] jfodra:
Hey bro. That's fine. I tried to download with the link I had. It's working now. I got twrp now. Time to flash custom roms! Haha. Thanks by the way.
[G3 General] ravi.vydianathan:
[MENTION=4788648]jfodra[/MENTION] that's great... Happy flashing ?
[G3 General] ICavalera:
Thanks... All went OK. ;) only installed in "no" question..

And could enter download mode and recovery.

;) thanks
[G3 General] topet2k12001:
Responses 03.29.2015

Hi [MENTION=4567648]Steelhog[/MENTION], [MENTION=6407788]funky-dj1[/MENTION], @duda, and [MENTION=3813732]ICavalera[/MENTION],

Great to know! Please mention:

1. LG G3 model/variant

2. Which method did you use (Imageprep, Manual Kitkat Downgrade, Manual No Downgrade)?

3. Did "Download Mode" work?

4. Did you have to flash all the Kitkat image files, or just the aboot.img and laf.img?

Hi [MENTION=6204688]tmjm28[/MENTION],

Thanks for the feedback.

When you said you "hard-bricked" the phone, what does it mean? I just wanted to get more information. Did you mean that upon typing "reboot" at the Android Terminal, the phone did not reboot and just stayed shut off? If yes, did it happen the first time you ran the script and typing "reboot", or did it happen on the next instances?

I want to collect feedback so that I can personally test and try to replicate (and if we see a problem with having to type "reboot", then I'll change the how-to guide).

Hi [MENTION=4400079]MosesTheTool[/MENTION],

Great to know. :)

What is the LS990 variant/model?

Thanks also for mentioning the typographical error. Please PM the XDA member who originally posted the pre-packed Imageprep so that he can correct it. Helps to save trouble for future members.
[G3 General] black gun:
TWRP Lg g3

Worked very good on the European version D855 v20H

tks!:D:D
[G3 General] ICavalera:
Worked OK.

LG G3 D855 European 32Gb

Used Imageprep with no Downgrade on Terminal Emulador

Only installed parcial files. Did not install everything.

Tested if could enter download mode and went OK.
[G3 General] MosesTheTool:
I didn't see anyone mentioned a name of the LS990 Zip creator.

LS990 model is Sprint

By the way I succeeded, it was easy.

But now i can't find any roms that say they are good for bump, or maybe I can just install any rom?
[G3 General] nickslg:
guys i have a D855 running v20h eur i have root and i have downloaded the appropriate files and pasted them to imageprep1.4

opened terminal emulator typed in the appropriate code but nothing happens what am i doing wrong
[G3 General] topet2k12001:
Hi [MENTION=4692977]nickslg[/MENTION],

Something should happen. Not even an error message? It's tough to help troubleshoot and tell what you are doing wrong if all the information we have is "it's not working" or "nothing is happening". :)

Did you mean to say that you created a folder on your Internal Storage named Imageprep1.4?

Please read through the entire how-to on Post #153 and follow it exactly how it was written.

There is also a video tutorial on that post.
[G3 General] nickslg:
This is all I get on terminal emulator
[G3 General] ch4dwick:
I understand you can't use dual sim features on third party roms but does using dual sim apps on Play enable you to access those capabilities?
[G3 General] gelroyliao:
Kabayan, Topet! You just did a great job there buddy! You really are a big of a help

I just wanted to asked before doing this steps. I actually, followed you're video tutorial for downgrading to 10D and rooted it but unfortunately I am not receiving any OTA update to 10F unless I update thru LG PC. Can I still do this steps without updating to 10F? Thank you again kabayan!:good:
[G3 General] topet2k12001:
Responses 03.09.2015

Hi Friends,

Here's what I'll do: I'll do my best to check this thread at least once a day, browse through the posts, and then multi-quote them and provide responses whenever I can. So let's start. :)

Hi [MENTION=4803927]ch4dwick[/MENTION],

I was supposed to edit my initial response to you to provide an update, but I'll just put it here.

So I flashed Euphoria OS 1.0 for the D855 (since the D855 is an international variant). Not sure but I think Euphoria is CM12-based (correct me if I'm wrong). Result: brick! Hahaha! As in full brick and can't even be flashed via the LG Flash Tool. Good thing I made a full system backup via TWRP (so this is a reminder to everyone - back up your system via TWRP first before doing anything adventurous!) and I was able to restore.

I did ask the OP of Euphoria OS 1.0 to add the D858HK as a supported variant. Unfortunately the answer is "no" because (as per the OP) the D858HK variant does not support CM12. Having said that, I did not explore/dwell into looking further as far as dual-SIM apps from the Play Store.

Maybe it will be possible by building/compiling CM from source for our D858HK. That's actually what I'm reading/learning about (as I mentioned in the first post that I am not a developer by profession). If someone with skills can do it, then that would be awesome.

Hi [MENTION=6204688]tmjm28[/MENTION],

Thank you as well. :) You don't have to do the "bumping" of TWRP; I already did it for D858HK users. Just go back to the tutorial under the "Requirements" section. I have provided a link to download the "bump'd" TWRP. Although for your situation I would suggest starting all over because at this point, I can't trace what you did in the week prior.

Hi [MENTION=4294399]ReeeN[/MENTION],

Allegedly, the LG G3 is "too sharp" so it creates a "ghosting" effect on text. So a developer created a script to fix that and put it up as a flashable zip (hence, we have the Sharpening Mod Script). Some users can't tell the difference though, so if it doesn't affect you then it doesn't matter. :)

The reason why I advise everyone to flash the Sharpening Mod Script is because it also contains another script that will "unlock" ("bump") the boot.img. This is a very important step for keeping root on Android Lollipop, as well as keeping TWRP.

For the selection: higher value = sharper display. I usually select zero (0) for "no sharpening".

Hi [MENTION=4646677]zurny[/MENTION],

Thanks for confirming your LG G3 variant. :) I will update the First Post.

Yup, as far as download speed, I haven't investigated it because I did not experience the problem. Try to isolate the easiest causes first (i.e. your Internet quality/speed). One typical way that I would do it is to switch to another wifi, or disable wifi and use 3G/4G/LTE and see if it makes a difference. Only then will I move further in troubleshooting such as clearing cache, etc.

Hi [MENTION=5296411]gelroyliao[/MENTION],

Yes, you can update to Lollipop directly from Kitkat version 10F. I tried that too and it worked (which reminds me, I have to update the tutorial). You're welcome, kabayan. :)
[G3 General] m.swastik:
Hi, will this work on other LG phones for which official Lollipop KDZ has been released?

I have LG L90 official lollipop firmware, desperately want to root it, but till now nothing seems to work.
[G3 General] ReeeN:
[MENTION=5231281]topet2k12001[/MENTION]

thanks dude.... its crystal clear rite now...
[G3 General] topet2k12001:
Hi [MENTION=3684416]m.swastik[/MENTION],

Sorry but i do not know the answer. You can try if you are adventurous enough, but ,make sure you take calculated risks (i.e. fully backup your system via TWRP, etc.).

Hi [MENTION=4294399]ReeeN[/MENTION],

You're welcome. :)
[G3 General] cirusnb:
Very nice job ! guide is a spectacular,

but I would like mention that there is one Pre_rooted Rom (LOLIPOP) for the D852 Bell/rogers.

http://xdaforums.com/lg-g3/general/canada-lg-g3-canadian-users-t2810696/page110

I've been running it since last weeks.
[G3 General] zurny:
Yes that's what I did, I was running stock kitkat and flashed the stock lollipop rom from the official kdz file.
[G3 General] ch4dwick:
I'll try to look into this but it doesn't look very promising. It would be far easier for me to just work with a cm supported phone than go through the trouble of cooking up a custome cm for it.

Tried it with an SM-G900K in the past that lead me nowhere. :(
[G3 General] zurny:
Well I let the updates finish while I was sleeping and everything is fine this morning. The speed problem wasn't caused by my connection cause I ran a speedtest with the speedtest.net app and my wifi was getting 45 mbps. I think the rom needs to stabilize for a while after the initial flash. For my part I flashed the Lollipop stock KDZ to upgrade from stock Kitkat, so a lot of stuff was updating at the same time so the slowdown was probably CPU or disk related.

On a side note, for those of you getting an LG security error at boot after flashing everything, make sure your boot_196608.bin is renamed to boot.img and your modem_32768.bin to modem.img. I made the mistake of only renaming the extension to .img and forgot to rename the file name. I was able to reboot to recovery and re-flash everything and it was fine.

Cheers!
[G3 General] ReeeN:
Battery draining fast

hai all....

after upgrading to lollipop, do you all having problem with the battery? because i think the battery is draining to fast on my device, compared to kitkat. or its just me having this prob? or maybe its lollipop bugs? just curious...
[G3 General] zurny:
I didn't flash the full KDZ, I meant to say that I extracted the three .img files from the kdz , I thought that it was insinuated. I'll more clear in the future :)
[G3 General] topet2k12001:
Clarification

Oh, I see. Thanks for clarifying that part. :) Yes, we all need to be very clear; I realized that XDA is an international forum so everyone is required to speak in English but of course, not all of us use English as the first language (that includes myself, of course).

I'll just keep my previous response as-is, so others who happen to flash the full Lollipop KDZ will also have a reference in the future.
[G3 General] topet2k12001:
Q&A Added

Hi Friends,

Thank you so much for your posts and questions. It allowed me to add a few Q&A items (I edited the "Troubleshooting" section to add the Q&A's). This helps ensure that newcomers can easily be directed to Page #1 of this thread and help save them time in reading the entire thread just to find the answer.

In case this thread becomes busy in the future and you notice that something needs to be added/removed/edited in the First Page (and I missed reading it), please don't hesitate to let me know via PM (Private Message).

Keep them coming!
[G3 General] ReeeN:
thanks for your suggestion [MENTION=5231281]topet2k12001[/MENTION] i'll try latter to change the governor from interactive to conservative, hope that will help my battery issue...
[G3 General] DE52:
D852 Rogers working! :)

Just wanted to report that this worked. For some reason, it seems that open_bump wasn't bumping the image properly. Anyway, the sharpening script did the trick. Will report in autoprime's thread as well as some canadian users had an issue updating if memory serves correctly. Anyway, thanks for doing most of the experimenting for us :P and writing this detailed guide. I knew my issue was with the boot.img. Just didn't know that the sharpening script provided another way of bumping. Had I known, would've got lollipop working way earlier (2 days after Rogers OTA xD) since the phone wouldn't throw the error anymore.
[G3 General] topet2k12001:
Great to know!

Hi [MENTION=5374539]DE52[/MENTION],

Good to know that! I'll add your LG G3 variant to the list of working devices for the manual method. I saw your post in [MENTION=2684188]autoprime[/MENTION]'s thread as well.

Yup, this how-to guide is practically sourced from [MENTION=2684188]autoprime[/MENTION]. I just added that extra step of "bumping" the boot.img via the Sharpening Script Mod (apparently, it also contains a script to properly "bump" the boot.img). And then I just detailed the steps - I really did not invent anything here, I just basically spelled it out. :)
[G3 General] smirdex1:
problem wit OTA update

hi..i have lg g3 d858hk

few days ago i got v20c update in my update center with OTA,but i didnt update...i cancel it...i didnt select upgrade botton...yesterday i decide to update again with OTA but over again i cancel it and did not push upgrade botton...today i want to update with OTA but there is no update in OTA!!!

it say you are updated to lasted os...my os is kitkat 4.4.2......what happeneed?

why i cant update from ota?

but when i connect phone to pc and luanch LG MOBILE SUPPORT TOOL there is a update..

size of ota update is 566 MB...but size of LG MOBILE SUPPORT TOOL is 1126 MB!!!!what diference of this updates?

plz help me....
[G3 General] topet2k12001:
Hi [MENTION=6491130]smirdex1[/MENTION],

So basically, you want to upgrade to Lollipop, correct?

If so, don't worry. You can upgrade using the guide in this thread. It's not OTA method, but it will get up upgraded to Lollipop just the same. Plus, this guide will give you root and custom recovery (TWRP). :)
[G3 General] epertetes:
request for D858HK 10d KDZ extracted files

Hi topet2k12001, would you mind sharing the D858HK extracted files from the 10d KDZ you used in the video? I am using a windows virtual box and the extract software just isn't working for me. I'm rooted on LP now after a KDZ flash, the phone was on 10d out of the box. Now I just need to get TWRP installed.
[G3 General] DanielKrause:
The "Imageprep"-procedure worked fine for me with an D855 on V20h-EUR-XX!

Download Mode is working. I only replaced the LSF, not the whole stack.

I used the pre-packed version from this thread : Link (Thank you for that [MENTION=792479]razer14[/MENTION]06!)

I have now a small question:

In the package was the TWRP-Version 2.8.0.0. Do i need to do the whole procedure to update the recovery, or can i just flash the update via the recovery?

Thank you in advance!
[G3 General] topet2k12001:
Hi [MENTION=4471785]DanielKrause[/MENTION],

Yes. As long as your TWRP is bump'd.

Hi [MENTION=6545835]epertetes[/MENTION],

Actually you can go with the "Kitkat Downgrade" approach since it's already running on Kitkat.

If you still want to follow the Imageprep method, that's also fine. I'll pre-pack Imageprep for the D858HK when I get home.
[G3 General] epertetes:
Hi [MENTION=5231281]topet2k12001[/MENTION]. Thanks a lot!

I did try the downgrade method earlier today but it was also problematic, I think because I'm using a Virtualbox of Windows XP. The LG Flashtool froze. It didn't brick my phone, it just failed to even start the flash. I think it has something to do with how the USB port is shared with the Windows instance by the Mac host. Flashing the LP firmware KDZ worked fine, but it doesn't like the TOT software (LG Flashtool), or the Firmware extract utility.

I think I'll have better luck using Imageprep, and avoiding using a computer at any stage in the process.

Thanks!