yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] willywacken:
I wish! Right now, updating to newer version only works by completely putting the device back to stock (with the LG flash tool), updating it to Lollipop, rooting, running AUTOREC, then flashing the latest Lineage, GApps and the bootstack, since Lineage won´t start with the LG bootstack... I tend to update less often, as you might imagine :p
[G2 Android Development] Hzlph:
I'm on a D805 with the Bump recovery (that I had to flash through Flashify because I was dumb enough to have forgot to flash it before flashing the bootstacks), and I'm running Marshmallow with no complains whatsoever. But I want to Move to Lineage 14.1, Nightly from the D802 Nov 27 2017. But I want to know, does this ROM have a baseband? Or would it mess up the phone? I miss Nougat from my S6 and my J5 :c
[G2 Android Development] zaibansari20:
I've a F320L device with Stock Lollipop 5.0.1.....

Can I flash these bootstacks???
[G2 Android Development] justin567:
Hey guys i managed to sort out my situation so i think this will help

I flashed on my LG G2 D802 lineageOS 14.1 using TWRP , but after the flash i lost the ability to enter Recovery Mode (never managed to enter download mode either but anyway) i have tried all sorts of button combinations volume+power or volume alone...no luck, and following this thread i was ready to start using using the TOT method and try my luck BUT i used this first https://xdaforums.com/lg-g2/orig-development/tool-universal-fastboot-adb-tool-t3475836 and totally unexpected it managed to enter recovery again.

I booted the phone into lineageOS 14.1 , in settings i allowed ADB over network, connected to my pc via USB cable and using the ADB command prompt on my pc i checked if the device was found using [ adb devices] command , and it was found.

The ADB tool Universal Fastboot & Adb Tool has many options but i only used the REBOOT RECOVERY option and by phone booted into my TWRP recovery :D

I hope this helps, i haven't used any other of the tools options :D
[G2 Android Development] ST Dog:
What bootstack do you have?

Flashing LOS would not mess with recovery or bootstack so won't affect entering recovery.

Maybe just timing issue?
[G2 Android Development] justin567:
I used the bootstack-d802-CAF-signed and tried all key combinations several times including the old ones and new ones, but even before i flashed anything on the phone i had the KK OTA and could not boot into download mode no matter what.

Could be sever case with timing but i doubt it, now using the ADB tool i enter TWRP Recovery if i need to flash anything new :silly:
[G2 Android Development] ST Dog:
That's just weird.

Maybe try reflashing the bootstack or a different bootstack.

I have a vs980 so not sure what option you have for the d802.
[G2 Android Development] lini:
Are there any mirrors for the bootstacks? Anyone have a copy of bootstack-d802-CAF-signed.zip? The Github repo seems to be removed and all links I found only point to it.
[G2 Android Development] ST Dog:
You could try contacting the OP.

He has not posted in a while but has been on the forum.
[G2 Android Development] 60nine:
is this what you were looking for? i've found it in one of my backup old rom folders for my d802...

download (40,8mb)

file name - bootstack-d802-CAF-signed.zip

link > https://file.io/cca8mt
[G2 Android Development] imiimiimi:
it seems link has problem
[G2 Android Development] 60nine:
maybe the upload service had a limit, i honestly didn't check that out...

try this one

https://gofile.io/?c=oskCz7
[G2 Android Development] imiimiimi:
thanks it working
[G2 Android Development] onepump:
touch screen issues

Hello, i have a vs980 and almost half of the upper touch zone is dead, it started dying and acting up itself a while back. I read somewhere that flashing bootstraps that are hybrids might stop it from dying completely. And before getting my touch screen replaced i wanna try this method. Can somebody elaborate on this? is it true that flashing hybrid bootstrap can solve this issue and is there any way to get this issue resolved and let it not appear again?
[G2 Android Development] ST Dog:
I don't see how the bootstack would affect the digitizer like that.

Just replace.
[G2 Android Development] onepump:
I need a link to CAF bootstack for VS980. the link in the op doesnt work anymore.
[G2 Android Development] Carlos_Bilibio:
Guys, link to bootstack D805 / 06 not found ...

I found the D802, but not the D805 ... does anyone know where I find it?
[G2 Android Development] Valicore:
Would anyone be willing to share the ls980 bootstack with me? The original links are dead and I cannot find it anywhere. Thank you in advance!
[G2 Android Development] sufi g:
Boot stacks links are dead , i need f320L boot stack my phone is on recovery :(
[G2 Android Development] 4Freedom:
Bootstacks links are offline, website down and github deleted.

I searched online, for those who need I found bootstacks for G2 here:

https://github.com/aleasto/hybrid_caf_bootstacks/releases

https://github.com/agravelot/simpleBootstacks-g2/tree/master/bin

https://yun.baidu.com/wap/link?surl=1kVe4zjD&#/multshare//G2底层文件///

https://androidfilehost.com/?w=search&s=bootstack-d802

https://androidfilehost.com/?w=files&flid=46208
[G2 Android Development] ailing:
F320 can't get into download mode

I am glad to see you back to xda. hope to see your another aosp rom build.

For F320 users, this is only LP bootstack which has KK bootloader. I am using this very well, it's working good with Render Kernel.

Thanks for your work !

But I have found one problem, I can't get into download mode.

G2 shows security error cause of boot certification verify. Maybe there's problem with laf in bootstack.

BTW F320's key combination seems different wih other variants.

Going into recovery : volume up + power

Going into download mode : volume up + USB connection
[G2 Android Development] x551:
I got this issue by his previous version, so Daniel help me to replace aboot and laf files to F320L20Y version.

Are you on F320L ?
[G2 Android Development] Lawlrus:
[MENTION=6103587]samuele94[/MENTION]

Dirty unicorns has been bumped for the 4.4 aboot months before he even released it for the other variants

Why spread misinformation?
[G2 Android Development] samuele94:
Dirty unicorn use bump,I use kk bootloader with stock kernel on rom I mentioned as bump then I can assure you from personal experience (d802)

ONLY WON'T boot with kk bootloader is RR

( http://xdaforums.com/showpost.php?p=62441306&postcount=16 )
[G2 Android Development] daniel.stuart14:
It doesn't seems to be boot related. Send me a logcat. (Maybe it's because modem, which stock build you flash? 30a/b/d/e)

As [MENTION=4760447]x551[/MENTION] said, He was having the same issue. He sent me laf & aboot from F320L20Y, I updated package then.

Are you on f320L? You can try this package if not, it's before I update laf & aboot from 20Y. Feedback me if work.
[G2 Android Development] ailing:
Thanks for reply.

I tested updated version with my F320S.

Booting is okay, going into recovery is okay.

BlissPop 3.8 doesn't recognize USIM because of baseband, which is not critical because I can change baseband.

Going into download mode still has security booting error.

well... I think I should send my own version. I have been using this for months.

KK bootloader is not from me, I just downloaded from somewhere, it's KK 20A(F320S) version.

And My LP bootstack is saved from 30h version, which is latest one. This LP bootstack doesn't include aboot and laf.

https://app.box.com/s/ejepgrssf5y3l3gstric74qsv8pgvf62
[G2 Android Development] daniel.stuart14:
Thx, I'm going to create three different packages for f320.
[G2 Android Development] 4Freedom:
All roms can boot over this bootstrack?
[G2 Android Development] Jeik:
Ressurrection Remix can't.

These boottacks are good because Render Kernel boots with them.
[G2 Android Development] daniel.stuart14:
Except roms that use old loki patch. (Ex: RR)

But these, are being even more rare.
[G2 Android Development] 4Freedom:
can i flash also stock rom over?

Oookay so, what it the difference with these? http://xdaforums.com/lg-g2/development/lg-g2-bootstacks-t3173715, there are also 2 versions there.

the bump one is the same as the one in this thread?

thanks
[G2 Android Development] Jeik:
No,these bootstacks are specifically for CAF(AOSP) roms,and the details are seriously complex.

The hybrid bootstacks(both BUMP and LOKI) are better than normal BUMP and LOKI.
[G2 Android Development] daniel.stuart14:
If you're talking about LP stock, then, yes.

The answer is in first post. :rolleyes:
[G2 Android Development] daniel.stuart14:
#UPDATE

-Add D803 (Still waiting tester report)

-Split f320 into K/L/S packages.
[G2 Android Development] anbinhv:
The download page show only white color on my phone. I will try on my lap later when i back home.
[G2 Android Development] daniel.stuart14:
If it's after you select variant to download, is normal. Just wait a few seconds (github servers aren't the best)
[G2 Android Development] anbinhv:
Tried on my lap. Everything is fine. Thanks alot!
[G2 Android Development] z720:
can you help on LG L22 japan variant ? Which has almost same hardware as D802.
[G2 Android Development] iko11:
Is there any D802 users having some signal drops or issues with texting might cause from Modem file ? Any feedback would be great thanks.
[G2 Android Development] paul89rulez:
Here you go, logcat with info for the random reboot. [MENTION=5263483]daniel.stuart14[/MENTION]
[G2 Android Development] daniel.stuart14:
Yes, I can. Just need the lp files. You know where I can found it?
[G2 Android Development] ailing:
Updated F320 hybrid bootstack doesn't work. I tested with my F320S, and this bootstack is the first separated F320 build.

Once I power up, I encountered secure boot error. This is critical error because I can't go into recovery, nor download mode either.

In this situation there's nothing you can do except opening G2 and trying short-circuit.

I think you'd better take your time and find someone to help you go through testing before release.
[G2 Android Development] daniel.stuart14:
Download mode should work. I take it from bootloader changer. Will take down until fix.
[G2 Android Development] joshua_tam:
I also tried that bootstack version...How to fix this problem now?
[G2 Android Development] ailing:
Oops... You have to learn how to open and disassemble G2.

Find some youtube clip, it would help you understand how to open.

Just take battery out, open up g2, unscrew everything. And lift back cover one by one from bottom to top.

remember, you have to find toshiba chip right behind the button(vol, power).

You have to lift metal guard to see that toshiba chip, it's hard to explain with words.

F320 is different with other variants, it's logic board looks different, and dissembling button part is different.

And the position of capacitor to make short is different. Please refer to liink.

http://xdaforums.com/lg-g2/general/fix-lg-g2-recovery-mode-download-mode-t2840458

Connect to USB, this will not boot your G2, it's black screen yet.

And trying short-circuit. If you did right, you can see your PC trying to find SW driver. This means you are on qualcomm's bulk mode.

Now you need to run SRKTool, with this tool you can rewrite bootloader to G2.

http://xdaforums.com/lg-g2/development/tools-srk-tool-useful-toos-lg-root-twrp-t3079076

Just follow the step. There are youtube video in that thread.

Well... It's not easy. Good luck !
[G2 Android Development] joshua_tam:
Thanks! Which capacitor to short? I already lifted the metal guard.

Edit:

Finally I managed to fix the issue and enter download mode!

Thanks!
[G2 Android Development] daniel.stuart14:
#Update

Redid all the F320 packages, to fix secure boot error. (Sorry about that guys)

I'm finishing the new d802 bootstacks, with baseband updated to 30B (latest open_com)
[G2 Android Development] joshua_tam:
Hi, any ideas on what to do next in download mode, after fixing secure boot error?
[G2 Android Development] daniel.stuart14:
KDZ it, as CSE flash.
[G2 Android Development] BoostRoid:
The D803 boostack worked for me, allowing me to finally boot Render CAF R3. Thanks.
[G2 Android Development] iko11:
I am happy to hear that about D802, it looks like ready to flash on github but we should wait for you to anounce it ? Thanks
[G2 Android Development] daniel.stuart14:
Yep, should be working without reboots.

Just download and flash
[G2 Android Development] z720:
unfortunately and sad to say that's no lp for this variant. :(

that's why this variant group still stuck in kk.
[G2 Android Development] daniel.stuart14:
hmmm, it doesn't share the same kernel with d802, right?
[G2 Android Development] z720:
yes, it sharing same kernel source among d80x variant, g2-kddi-perf_defconfig is for l22.
[G2 Android Development] ailing:
http://xdaforums.com/showthread.php?t=2432476

This is how to go back to stock rom using download mode with flash tool.

I recommend you to try KDZ first, if you are lucky, you can save your internal memory.

Because KDZ

normal flash

doesn't wipe internal SD memory.

But you have possibility you could be stuck while flashing about at 49% progress.

Sometimes this happens when you flash KDZ to go from AOSP rom to stock rom.

Even if you get stuck, don't be panic, you are safe. Just plug out usb and quit KDZ flash tool.

Then try TOT flashing tool while you are still at download mode. It would finish flashing to the end.

But TOT flashing will wipe internal memory.

And one more thing, when you do flashing KDZ/TOT,

Please Don't forget to plug out your external SD for safety.
[G2 Android Development] joshua_tam:
Yes, I already tried to use LG Flash Tool 2014 but seems it always stuck at like 3% (while on the phone still showing 0%)

Is it related to the firmware I am choosing? Which firmware you would suggest?

--Edit--

[MENTION=6761403]ailing[/MENTION] can you unbrick your f320s device? I re-bricked the phone with SRK Tool
[G2 Android Development] iko11:
New MODEM is more stable for me. Previous one had some problems while texting, signal quality etc. Now it's much better, thank you
[G2 Android Development] ailing:
Just Power off, press and hold volume up and plug usb cable. Then you can see if G2 goes into download mode.

If you can get into download mode, you can always go back to stock rom.

If you can't, then you should re-do short-circuit and rewrite boot loader.

So, now you found you are gonna stuck in KDZ flashing, You should try TOT flashing too instead of KDZ.

(you can get TOT flashing tool in the thread I already showed you)

Which F320 do you have between S/K/L ? If you can't find KitKat TOT file, I will send you.

[edit]

http://innoloud.com:82/LG/LG G2/Kitkat_TOT_SKT_KT_U+/

These are TOT files.
[G2 Android Development] joshua_tam:
Thanks! I have been searching for TOT file for my F320S, I am doing a TOT flash now.

By the way, the tool said the model is not correct (not F320) so I have to manually modify "F320S" to "F320" in the TOT file using hex editor.
[G2 Android Development] daniel.stuart14:
That's great. I'll update all variant's modem images. They're out-of-date.
[G2 Android Development] Kurinkita:
I can confirm that Resurrection Remix ROM does not boot with the hybrid bootloader on D802. It keeps getting stuck on the LG Logo. I flashed Rashed97's KK bootloader and it booted just fine.

Other than that, good work with the hybrid bootloaders!
[G2 Android Development] paul89rulez:
i have the same problem with the new modem (but signal strenghtis better than the old one).
[G2 Android Development] daniel.stuart14:
Yep, RR uses loki patch method. It doesn't work with kk aboot. We need to wait devs update its code.

Hmm, it seems to be a CM problem.
[G2 Android Development] ddee105:
But we can flash RR + Fruity Kernel, at least this is how i did it. D805 all good here! Using ur hybrid bootstack of course.
[G2 Android Development] ailing:
Today I tested newly modified F320S bootstack.

Yes, secure booting problem is gone, we are safe now.

Booting is okay

Going into recovery is okay

Baseband is up to date

But Can't get into download mode. Power off - pressing vol. up + plug into usb doesn't initialize download mode. What's different with previous build is G2 doesn't show secure boot error any more.

Because of not going into download mode, g2 only shows battery charging screen, instead.

[edit]

I tested again to confirm. When I plug into usb charger, G2 doesn't get into download mode.

But When I plug into PC via USB cable, G2 gets into download mode. ^_^

For comparison, with JB bootloader and KK 20A bootloader can get into download mode when I plug into usb charger.

After all, new F320S bootstack is working good.
[G2 Android Development] Matze060906:
Sorry if this was answered before, but is this bootstack working on slim Saber rom? Especially the d802 variant...

Thanks in advance

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] lacus:
Yes it works fine, i'm on slimsaber d802
[G2 Android Development] daniel.stuart14:
That's good to hear, sorry about the previous package.

I can't tell you sure, you should ask rom dev if it supports bump.

But, afaik only RR isn't bump. (Talking about 12.1 caf roms)
[G2 Android Development] Matze060906:
The dev recommended the bootstacks from rashed. Both are working, loki and bump. But with these bootstacks I can't boot slim Saber and render kernel. Render kernel boots with this bootstack on other roms, so I wanna try it with slim Saber...

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] eric93se:
As of the 8/23 CM12.1 nightly build I now have more satellites and a corrected compass. I don't know if this has the modem update your referring to, but I thought I'd let you all know.

cm-12.1-20150823-NIGHTLY-d801.zip

g2: Fix cdma baseband grep. (android_device_lge_g2-common)

g2: init: Set correct cdma baseband ver. (android_device_lge_g2-common)

binder: Remove deprecated Exynos platform variant logic (android_frameworks_native)

stagefright: Remove deprecated Exynos platform variant logic (android_frameworks_av)

Change the cache partition size check into warnings. (android_build)

g2 overlays: Update Telecomm + FB (android_device_lge_g2-common)

input: touchscreen: g2: Display touch_gesture value (android_kernel_lge_msm8974)

The CM team's been hard at work fixing so many annoying bugs! :D
[G2 Android Development] marchino123:
The download link doesn't work

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] daniel.stuart14:
Here it is working. Try refresh. (F5)

I'm going to change to a new host, github.io is lazy.
[G2 Android Development] marchino123:
Does it work fine with slimsaber?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] daniel.stuart14:
Yes, slimsaber is supported. If you are in doubt if a rom is bump, just see if its device sources has this commit.
[G2 Android Development] barturblits:
What is the difference between baseband and modem? Generally, baseband, modem and radio are terms which point to exactly the same thing.
[G2 Android Development] Lawlrus:
You just answered you own question?
[G2 Android Development] barturblits:
Nope, Daniel's OP implies that baseband is not the same as modem. If modem = baseband then this is not possible:

'an edited D802 baseband with d805 modem files'
[G2 Android Development] Lawlrus:
A modem is a radio is a baseband. Less he is referring to the modem as the physical mode in phone.

Anyways, this is taken from the op

"If you're on cm-12.1, you'll need flash a boostacks, but why use hybrid?

Hybrid flash zips, were made thinking on stability and closest possible to stock.

All of them, use the most recent aboot/laf & modem compatible. Also, devices without official lollipop, have here a workaround:

-D805/6 variant has its own package, that brings lp files from d802 with a modified lp baseband. (COMPATIBLE WITH D805 & D806)"

So he's reffering to the same thing as first a modem, and then a baseband.

What exactly are you trying to figure out or are confused about?
[G2 Android Development] barturblits:
Well my confusion originated from the fact that today I found out that there are two types for all variant LP modems for the D802. The 30B modem has a 56MB and a 67MB version. Daniel updated his bootstack for the D802 from a 56MB 30D to a 67MB 30B. I was using a 56MB 30B modem. So I digged a bit deeper and also found the 67MB 30D modem. There is no information available on the differences between these versions.

When I read that part of the OP I started wondering if I missed something and maybe for LG there is a difference between baseband and modem.

So my original question is what is the difference between this small and large 30B D802 modem.
[G2 Android Development] Lawlrus:
[MENTION=5932098]barturblits[/MENTION]

Alright that clears up what the issue is, going to have to wait on him to respond, not sure what the answer is.
[G2 Android Development] daniel.stuart14:
Baseband is all the images we have inside modem.img (adsp + wine. + modem, etc).

Inside modem.img we have other modem images, these images we call as radio or sometimes, just modem.

So, on d805 we're using D802 baseband (adsp + wine + modem, etc), which is named as modem.img, but with the modem images (which are inside modem.img), also called as radio, from d805 KK.
[G2 Android Development] daniel.stuart14:
About that, send me your 56MB 30B, I'll take a look. Probably one of the carriers did a mess. (As always)
[G2 Android Development] barturblits:
Thanks! That's clear.

30B 56 MB Modem_D802-30B_EUROPE-OPEN.zip:

https://www.androidfilehost.com/?fid=23991606952610798

All bootstacks there have a 56MB modem.img and can be found here:

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

Also found this, has the same modem.img as Modem_D802-30B_EUROPE-OPEN (md5 checked):

'zip modem 30B ITA by samuele94(Lg g2 Original Modding Italy G+ Community).zip'

found in thread:

http://xdaforums.com/lg-g2/development-d802/modem-flashable-modem-d-802-20g-20h-t2960263

file is located at:

https://www.dropbox.com/sh/v7wsi50x...Original Modding Italy G+ Community).zip?dl=0

All 30B modems found in that thread are 56MB found.

Your old 30D 56MB modem.img which was part of bootstack-d802-CAF-signed before your last update can be found as Modem_D802-30D_SPAIN-VODAFONE.zip over here (md5 checked):

https://www.androidfilehost.com/?fid=24052804347769991

The new 30B 67MB modem in bootstack-d802-CAF-signed is the same as the 30B baseband from somboons: LP-BaseBand-d80230b_droidth.zip (md5 checked):

https://www.androidfilehost.com/?w=files&flid=31134
[G2 Android Development] reeper250:
F320 versions

This may seem a bit silly but how do I tell which version F320 I have? Not sure if I have the K, L, or S

Under the battery cover it says L/S ?
[G2 Android Development] mirktamas:
Is there ANY bug with the latest Slimsaber ROM? (crashes, reboots, etc.)
[G2 Android Development] daniel.stuart14:
You should ask it to SlimSaber maintainer, since bootstacks are not guilty for these problems.
[G2 Android Development] Matze060906:
You should ask it to SlimSaber maintainer, since bootstacks are not guilty for these problems.[/QUOTE]

The maintainer of slim Saber recommended an other bootstack, but I can say, that this bootstack works without issues on my d802 running latest slim Saber build...

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] daniel.stuart14:
I compare these two modem images, take a look, they're almost the same, except by the image compress method:

As you can see, only the modem.img size is different. Probably by how the images was taken. (One from unzipping kdz, and other backuping part. from twrp.)

So, it shouldn't make difference, since twrp will mount and then copy all the files inside it.

PS: I renamed modem.bin to modem.img, so I can mount it. But, it doesn't change any byte at all.
[G2 Android Development] barturblits:
Aha ok, I thought these were plain dd images. Your screenshots show these extracted modems to be smaller than the img files. So doesn't look like compression but more like parity archives.

Can you tell me with what filesystem these partitions are formatted?
[G2 Android Development] daniel.stuart14:
Both are FAT16