yashsingh1/xdaforums huggingface dataset:
[G4 General] player911:
Apps like this wont allow flashing system but we should be able to flash a custom recovery, which would allow rom flashing. It depends on software.

I would guess that the stock rom has verification checks for partitions on the phone. We would probably have to do a custom recovery, boot into TWRP, and immediately flash a custom rom without said checks. I think we'll get there eventually but I am waiting on the devs to do their thing.

We have KDZ stock files to flash if things go bad. I am not saying to try it but if anyone feels confident in testing, it should be recoverable if things screw up, but most likely you will brick your phone.
[G4 General] konsolen:
Flashfire boot in a minimalistic os to work there.

You can also use partition flasher to flash system.img, boot.img and so on. To flash system img is no problem with locked boot loader at all. But the device can not boot with twrp installed with an locked Bootloader. The signature is not correct, so softbrick.
[G4 General] tabp0le:
You're a dev. lol. Anyways, we can flash stock roms with this. As long as it's running a stock kernel, it shouldn't be a problem. A modified kernel would most likely trigger secure boot error.
[G4 General] CAG-man:
On the contrary. Coming from Samsung, this is how roms are installed on those devices with locked bootloaders. It flashes the system images perfectly working around the Locked boot loader. Just don't try to flash a bootloaders.
[G4 General] dlscott1111:
I was wondering how the s6 was running Roms. Was it an easy process? And why aren't they doing this on the G4?
[G4 General] joshuadjohnson22:
You probably need a dev to build a package accordingly. Remove kernel and stuff like that. No one wants to be the tester lol. It would be nice to have a tot file just in case instead of that PR that is breaking cameras. (talking aT&T version of course)

I would LOVE to try out an international rom if they can get it to work with our devices but I have a feeling we will only be able to run rom on the same update we have? Maybe not as long as it works with the kernel
[G4 General] tabp0le:
Just as an update...I used FlashFire to successfully restore my stock kernel. Granted, there were no modifications, but it worked.
[G4 General] dlscott1111:
The more I hear about flashfire the more I like.
[G4 General] diedemus:
anyone with a stock at&t system want to pull a backup? that would be a good test for the guys running the pr rom. I'll guinee pig it

I did try restoring the 815 system and boot zip last night but I got nothing but force closes and didnt have time to mess with it because I needed my phone today
[G4 General] joshuadjohnson22:
I would totally do it but I don't want to have to factory wipe my device :-/ Just a pain to set it up again lol, I'm sure someone with more time on their hands can do it. Exciting, hope you can get the 815 working, there may be some changes needed to get everything to work

---------- Post added at 08:36 AM ---------- Previous post was at 07:42 AM ----------

looks like you need to try to get this 10f update that fixes touch issues, if we could get that going we will be in paradise :) unless the fix was in the kernel
[G4 General] joshuadjohnson22:
Wait, would this image file work? http://xdaforums.com/att-g4/development/root-images-h81010b-h81010e-t3168427 worth a shot. I'm not sure if that is the full system or not
[G4 General] CAG-man:
No factory reset needed. Just don't include the data and cache partitions in the backup. ;). Since the system partition is not editable without root it is never changed. When a factory reset is performed all that happens is the data and cache partitions are wiped.

Edit: This is why root survives a factory reset.
[G4 General] joshuadjohnson22:
ok... I'll trust you. I have xposed installed so you will have to live with it if it made changes to system and the system.prop edit. I will want to send it directly to you first before I post it in case something stays lol ;) PM me (it is backing up now btw)

---------- Post added at 05:39 PM ---------- Previous post was at 05:36 PM ----------

also I backed up my system.img file before I rooted it using the adb commands maybe this will be useful too? Let me know.

EDIT: if you do not have the data partition exact won't it just have force closes and boot loops? I just have horrible memories on my G3 where I accidentally wiped data and even after flashing new roms i had force closes.

EDIT AGAIN: Currently uploading, I will PM you and the other requester [MENTION=316800]diedemus[/MENTION] the file here in a minute. keep me posted ;)

EDIT LAST: PM Sent
[G4 General] diedemus:
grabbing it now, we'll see how it goes

*edit 1* First attempt gave me the security error..... on to round 2
[G4 General] joshuadjohnson22:
Hmm interesting, Fingers crossed, what can you do differently the second time?
[G4 General] deejay6901:
just an update to flashfire... i was able to do a full backup for now. the black screen is a bit scary at first, u dont know if it hangs or not :D u just have to be patient. now i want to try if xposed will really work. *crossfingers*

edit.. xposed framework works!! finally! :D
[G4 General] joshw0000:
You're restoring this with FlashFire?
[G4 General] joshuadjohnson22:
yeah, it seems to work but we don't know if we can manage flashing a different version of stock yet. He is testing that out. Would love to get someone with 10F to install the app and back up system, data (with a factory wipe) and boot using FlashFire and see if we can get the touchscreen fix.
[G4 General] dlscott1111:
Thanks for trying this guys! Great to see the development move forward!
[G4 General] joshw0000:
Has anyone tried pulling the stock rom, deodexing, packaging into a zip, and flashing?

Here's a nice tool for deodexing - http://xdaforums.com/android/software-hacking/script-app-joeldroid-lollipop-batch-t2980857
[G4 General] joshuadjohnson22:
Not yet, I'm still waiting for an update from [MENTION=316800]diedemus[/MENTION] to see how far he got.
[G4 General] diedemus:
No progress yet, didn't have any time on it today unfortunately. Restoring the backup throws the security error due to the boot loader mismatch I believe. I haven't given up yet though
[G4 General] joshuadjohnson22:
Great so did you restore the boot I sent? If you didn't try that if you did try leaving it the way it was before.
[G4 General] shootind5nukes:
I have been waiting a month or so until I thought the new phones would have the touch screen issue fixed and I think it's fixed now because my buddy and his wife both bought G4s the other day and I set both of them up and they had absolutely no missed taps. So I think I'm going to call verizon and warranty my phone. After the phone gets here which I'm assuming Monday I'll flash anything you have ready to flash. FlashFire seems beast.
[G4 General] diedemus:
Tried with and without the boot partition. I think it might work as a zip instead of Restoring a backup but I'll need a couple of days to give it a shot.
[G4 General] joshuadjohnson22:
Will restoring the boot cause issues? It seems like that would be a good solution.
[G4 General] user787:
So the green pictures camera issue is software related? And can be solved flashing other than PR fw?
[G4 General] joshuadjohnson22:
This issue is caused by software but it may cause perm hardware damage. We won't know for sure until we can bring a PR back to full stock
[G4 General] diedemus:
Joshua can you get me a full backup minus data and cache?
[G4 General] aaronrw:
would it be possible to install superuser.zip with this? Sorry if absolutely absurd
[G4 General] diedemus:
You need to be rooted to use flashfire, no point flashing superuser.zip after that
[G4 General] joshuadjohnson22:
yeah I will actually skip the files I have already uploaded to save time. I will just get everything minus data, system, boot and cache would that be fine?
[G4 General] diedemus:
That should be fine, thanks
[G4 General] joshuadjohnson22:
PM sent
[G4 General] diedemus:
Looks like restoring with flashfire isnt going to work for getting back to a stock at&t rom, but I was talking to [MENTION=2684188]autoprime[/MENTION] and might have another option. Im going to pm you some instructions shortly Joshua

As a side note since we kinda hijacked the thread, I have been able to flash other mods with flashfire similar to using twrp so provided we get roms that match the partition layout we should be able to flash them with this.
[G4 General] jasonzarko:
Just wanted to say I flashed Dolby atmos from here:

http://xdaforums.com/showthread.php?t=3109446

With Flashfire and it's working!
[G4 General] MicroMod777:
Where can I download Flashfire?
[G4 General] sardroid:
Here is: MOD EDIT: Link removed
[G4 General] diedemus:
yeah don't do that, chainfire has requirements to grab it for a reason, thats also an old version.

go here http://xdaforums.com/general/paid-software/flashfire-t3075433

then follow the instructions in the first post
[G4 General] xoxey:
flashfire is good app but only problem is it take ages to flash something:(but worth it to wait.....
[G4 General] joshuadjohnson22:
right because it has to go in a stripped android mode so it doesn't brick your device. If it wasn't for that we would have no flash-ability. Just flash when you have a good 30 minutes :). Beggars can't be choosers
[G4 General] MetroGnome711:
Tried installing Xposed framework but Flashfire just hung on a black screen. (10 minutes) Forced a reboot and booted no problem. Not sure if that's how long you meant when you said, "takes forever." But i got scared.

Edit: Apparently, according to this page http://xdaforums.com/g4/themes-apps/guide-installing-xposed-locked-t3181593 it DOES take that long. My bad!
[G4 General] joshuadjohnson22:
takes around 30 minutes to an hour. Keep waiting. I was scared too but it is working. Android is in a minimalistic state to be able to write to system. It will eventually show scrolling text then black again and once done it will reboot itself.
[G4 General] AUSTAB2012:
Mate let it do its thing i flashed last night all up about 40mins of black screen. Dont watch it as it is kinda nerve racking lol.

Let the wife have 30 mins of your time before you have hours of messing with xposed.
[G4 General] diedemus:
so I bricked my phone tonight.... going to be a few days before I'm back up and running.
[G4 General] joshuadjohnson22:
Oh man that sucks how? Let me pull what you requested and PM you
[G4 General] diedemus:
I was screwing around with flashfire and tried something stupid in retrospect.

On the up side I'll be back on a stock AT&T rom so I can pull everything we need once I get the new phone.
[G4 General] joshw0000:
How did you hard brick with FlashFire? I would think you could only mess up the system partition as everything else is locked?
[G4 General] joshuadjohnson22:
He flashed his recovery and with a locked BL that will result in hard brick every time. But it is a great way to get LG to flash AT&T back on your PR device lol
[G4 General] joshw0000:
I've flashed the T-Mo TWRP with Flashify on my Verizon G4 and all it did was give me a secure boot error. The next time I rebooted, my stock recovery was back. I also fastboot flashed it and it failed to flash.

So he flashed the PR recovery? I'm guessing it accepted the flash since it was a signed recovery?
[G4 General] joshuadjohnson22:
I can only assume because only he knows exactly what he did. My guess is he was on PR recovery and flashed 81010e recovery which killed everything. I'll let him confirm.
[G4 General] diedemus:
The only other partitions that are locked are primary and secondary bootloaders, I was trying to force a partial break to see if I could get the lg tool to do a recovery.....

I'll have my replacement in a day or two and can then pull the AT&T partitions and start working on getting us a way to go back to stock.
[G4 General] joshw0000:
Maybe the Verizon version is different?
[G4 General] ecen92:
Not sure if effects LG devices also but on Sammy FF will sometimes hang on the black screen and was a known issue that if you manually set the year to 2013 it loads up almost immediately. YMMV
[G4 General] diedemus:
Got the replacement and have started extracting the partitions. Came with 10b so it'll be a true stock image once I'm done
[G4 General] faizalotai:
Hey,can you check front facing camera bud, how's it going with 10b?
[G4 General] konsolen:
To flash a twrp on a device with locked bootloader is not the problem. To start with the flashed twrp, thats the problem.

The org. bootloader dont accept unsigned recovery and will not boot. If someone bricked his device he can repair it with a kdz flash.
[G4 General] diedemus:
it was a hard brick and had nothing to do with twrp, the phone literally did nothing but tell me when I had the cable attached without a battery. no download mode, no fastboot, no factory reset

The green blob issue isnt present on the stock AT&T firmware, once ive got everything extracted and instructions written up for it I'll see if anyone with the issue wants to test going back to stock.
[G4 General] joshuadjohnson22:
Maybe [MENTION=5227565]CAG-man[/MENTION] will give it a shot :). I'm already on stock so it would be useless for me
[G4 General] rodcpierce:
I'm currently on the PR version, but wouldn't mind trying to go back to AT&T stock.
[G4 General] Svartsyn333:
My bad if I missed something while reading the thread but has anybody flashed a stock system img successfully? I'd like to upgrade to 10f without the need of a computer.
[G4 General] joshuadjohnson22:
no, it probably wont be a good idea, just use a computer or wait for the OTA. Why risk a brick if you don't have to? I assume you have the 815?
[G4 General] Svartsyn333:
I'm already root and have xposed installed. So no OTA (and btw O2 Germany is bad regarding updates). I read somewhere (think it was the xposed for G4 thread) that it might be possible to flash ROM img but I wanted to reassure before I break anything. And yes, I'm on the 815.
[G4 General] joshuadjohnson22:
I'm assuming your bootloader is locked?
[G4 General] Svartsyn333:
It is. Or else why would I need Flashfire? ;)
[G4 General] diedemus:
someone said they flashed 10f successfully, but I haven't tried it myself. put your current system.img and the 10f on the internal storage then flash like you did for root, worst case it boot loops, but since you will have the original on the phone already you will be able to just reflash in download mode
[G4 General] joshuadjohnson22:
Hey now, I didn't want to assume anything ;) you said you didn't want to use your computer so I didn't want to assume you couldn't unlock your BL.
[G4 General] Svartsyn333:
Haha no problem. One thing you can assume is that I'm simply lazy. :D
[G4 General] joshuadjohnson22:
lol well I would agree with diedemus that the best way to do this would be with a computer. If you want to flash it follow the guide on how to back up your system image (it's in to root thread). Name that system image something you can remember like systemrestore.img(NOTE you must keep this in your device's internal storage where it exports). Then put the img for 10f on your internal and flash it using the same as root. Reboot and if it worked you will be good to go if it didn't simply boot into download mode and do the same process to flash the systemrestore.img. Doing outside the OS will not only be faster than using FireFlash but you may have better success. Or you can just wait for others to be the tester lol
[G4 General] Svartsyn333:
I guess you're right then and this is the best available procedure atm. I need to dig into that system.img backup thing first, might be a good idea though I would also be ok with just backing up apps and data with TB. If I screw up I always can use LG flash tool and clean flash and start with a fresh install. It's not such a hassle to restore all the apps with TB.
[G4 General] joshuadjohnson22:
Yeah true, I guess for us 810 users we don't have a tot or kdz available so we have to be more careful. So if you have that option you are in a good spot either method
[G4 General] joshw0000:
What would be the risk in flashing it with FlashFire? Especially if you have the backup system images on your internal sd to fall back on if it bootloops? It would be nice to know whether or not it works.
[G4 General] joshuadjohnson22:
Is the IMG formatted correctly for a flash? For test sake I say go for it but at the same time if the goal is to avoid the PC what good will it do to set up a situation to where you will need a PC to restore your phone? Since the phone is 815 it probably wont have issues but for us it will most likely cause bootloop or force closes, still waiting for an AT&T guy to do a YOLO flash and see what happens :P hopefully they have a restore lined up
[G4 General] joshw0000:
I honestly don't know. Us Verizon guys have nothing fun to flash.

But if the goal is not to use a computer, using FlashFire seems like the only option that could potentially end on a positive note with the use of a PC.
[G4 General] joshuadjohnson22:
It would be depending on what you are flashing. We will have to get a proper FireFlash "rom" set up with perfect permissions, partitions and so on to make it work. If it's not 100% it will fail with a security error. It would be really nice to get a dev on this so we can have some type or "rom" system. I also have a feeling we will only be able to make a "rom" based on the software version we are currently on(10b, 10e, 10g etc) because that is probably the only way to ensure that everything would be compatible. But I am not dev... For now I would recommend doing the method we know would work and not risk a device brick unless you are willing to be the guinea pig and understand that you might be without a device for a few days. It's so easy for us to cheer others on if our device is not at risk. At the end of the day these devices cost most of us 620+ so we have to be careful. I agree with [MENTION=316800]diedemus[/MENTION] we might want to buy a dev a G4
[G4 General] joshw0000:
Now that I think about it you're right. I've used Safestrap on multiple locked B/L phones and typically when a new OTA was released the devs would package a rooted rom to flash first in Safestrap but there would be a separate file to flash in Odin containing the new boot image and likely other files.

Unless FlashFire has different permissions than Safestrap (and could flash other needed files), this is almost guaranteed to fail.
[G4 General] joshw0000:
I buy/sale/trade phones as a side hobby (and to fuel my addiction). I have a spare Verizon G4 that I would be willing to sell to a dev (only) for $325. Mint condition and clean ESN. Obviously this would be a loss on my part, and I can't afford to donate it entirely, but if some people want to pitch in on it, and we have a dev willing to do some work for us it'd be worth it.

Before anyone starts making accusations, I was very active in the XDA Marketplace before it shut down (30+ positive feedbacks) and I'm also a member of celltraderonline.com. I invite anyone who's skeptical to look me up over there and contact any of the people I've sold/traded with (located in the feedback section of my profile). I use the same handle for both accounts.
[G4 General] joshuadjohnson22:
sounds good to me. We will need to start another bounty thread for this if we want to get serious with the goal to hit the 325 mark. I'm sure one of the awesome devs would be thrilled to give it a shot.
[G4 General] joshw0000:
Do you have any devs you can contact to see if they're interested? I have the phone listed for sale locally but if we have a dev in mind than I'll close my sales listing.
[G4 General] joshuadjohnson22:
We could probably find one easily but none on the top of my head. Normally you would raise the money first and usually after that it is easy to find a good dev to give the phone to.
[G4 General] joshw0000:
I would rather have a dev lined up than to hold everyone's money and not have anywhere to send the phone. Plus it would give the dev incentive to start working on a rom even before he received the phone. Otherwise we could get someone browsing the threads who says "hey a free phone, I'd do some work on it" but never follows through. It could happen the other way as well, but this would limit the amount of people sending messages saying "hey I'm a dev" when in fact they're not.
[G4 General] joshuadjohnson22:
well no way, we would only chose respected devs from this forum not random people lol.
[G4 General] diedemus:
When I said a dev phone I meant for me to test going back to stock AT&T, I got away with one replacement but dont want to push my luck lol. Plus I cant afford to be down a phone at the moment. The verizon phone would probably work for a dev to build a custom rom though
[G4 General] joshuadjohnson22:
Oh lol. Who did you do your replacement through? Att or KG? Seems like they replaced it fast.
[G4 General] diedemus:
It was through AT&T since its still under the 1 year warranty
[G4 General] whomiketodd:
Just curious if there's been any more headway on the returning to stock AT&T
[G4 General] gabripo93:
Unlock and keep calm!

Too risk in make certain operations without unlocked btl..
[G4 General] VerizonLover:
Does this cause the my Verizon app to flag your account as rooted, thus voiding the asurion total equipment coverage insurance as well as the warranty?
[G4 General] meneves:
xposed is working good on lg g4, but significantly slower compared to galaxy s5 for instance

i dont get why flashing xposed can took so long
[G4 General] jal3223:
[MENTION=2941286]xdabbeb[/MENTION] should definitely be considered. He has done a ton of development for the LG G2 including Xcam. He does awesome work with stock based roms. I'd donate toward getting him the phone for sure.
[G4 General] Eagle1337:
Anyone else's Flashfire just opens and then clsoes for no apparent reason? I've uninstalled/reinstalled flashfire, I've even flashed the kdz without success.
[G4 General] phineous:
Change the date. It's a beta that expired at the end of last month.
[G4 General] joshw0000:
I gave my wife the spare G4 but it may become available soon. I ordered a couple Moto X Pures. I love this G4 but the lack of development is killing me.
[G4 General] jal3223:
Got ya man. I have a Moto X Pure on the way as well. Lol. I still haven't give up hope for the G4 though.

If anyone wants to start a donation pool get Xdabbeb a G4 please let it be known. We will figure out a way to get it done. Check the G2 thread or Google his screen name to see the work he has done for LG devices.
[G4 General] dadrumgod:
Hey I have an extra G4 I'll let go extremely cheap, all I want is to get a g3 or even a g2 (used idc or something doesn't have to be LG) that has or had a bunch of development I can go back and play with all the good old roms. I really only care about Kit Kat, maybe earlier lollipop and down (not a fan of the new sh.t as far as custom roms go). I'm fairly new to flashing and only (had) an LG L70 which died, and now just a samdung exhibit & centura with very lil development. There's only a handful of roms for those and I want something loaded lol don't care if it's older. This g4 is on a debloated stock Rom with some v10 stuff and there's the KDZ of course. Condition is good minor ware (very few very light scratches that could possibly be buffed out) and there's some kinda extremely faint Mark at the bottom right of the screen the nav bar normally covers you can only see on a white full Bright screen. I have no clue what it is or how it got there but since it's there I'll take a huge cut to get something old-school. I have it through accident, my step dad borrowed it, thought he left it on top of his truck, thought it was lost and had it replaced. Almost 2 months later we were cleaning out his workroom and the damn thing was behind a tool cabinet lol worked fine. Anyway if it'll help in any development it would also help me catch up with modern times more??(please someone crack this God forsaken bootie??)