yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] kufus:
Hello,

I have problem with my G2 (d802). I have updated it to latest AICP version (7.1.1). No issue with this. But I was missing root acces and I spotted last time that recovery asked me if I want to flash root. So I went back to recovery and flash root in this way. That was bad idea.

Now I have a bootloop on AICP logo. Cannot step into recovery, only Download mode. I tried SRK Tool to fix it, but with no success. ADB does not work neither.

I think my last chance is to flash back stock rom and I am aware that I will lost all of my data in this way (I have some backups, but I have new photos here without backup).

Does anybody have an idea how to fix this or atleast get data from phone?

Thank you!
[G2 Android Development] ep2610:
It happened to me also.

The only thing that does the job is SRK Tool. But you have to be very careful.

1. Connect the phone to your PC and let it as it is (no Download mode just connect it). You will see in the screen of your PC a bunch of disks try to open and it will ask you to format them. Don't do anything! Just let it be.

2. Open the Disk Management in your PC and write down the number of the disk that has a lot of partitions (You will understand that when you see it...) eg. Disk 4.

3. Then open the SRK Tool and select '4 (Fixed Utility)' and then '5 (Unbrick - qhsusb_bulk 9006)'.

4. Follow the instructions and this will get your phone back to life and it will get you back to Recovery upon the first boot.

5. While you are in the Recovery connect your phone in to your PC and you will see the storage of your phone (Unless you have already in the memory of your phone the ROM that you prefer).

6. Transfer any ROM you like (custom or not) and gapps, from your PC to the phone and install it (through recovery) as you usually do.

7. When it asks you for SuperSu (like before you brick your phone) DONT install it !!!!!!!!!

8. Wipe case and dalvick as you do after every installation of a new ROM and Reboot.

Remember that before you do the above process you have to have installed the appropriate drivers for your LG phone and ADB drivers also.

Hope that helps
[G2 Android Development] kufus:
I tried to do it in this way, but I am able to see only my hardrive.

EDIT: Finally I solved it! But in different way. I had to NUKE Download Mode, than it finally booted to Fastboot and then I fixed Recovery mode over SRK again. Anyway, thanks for the tip!
[G2 Android Development] ep2610:
OK. Glad you finally solved it.
[G2 Android Development] Drgravy:
ok I don't know how you guys are losing root? Has not happened to me at all.

are you guys flashing a custom kernel?

that would probably remove root

FYI

the magisk in the rom was modified by me to work for the g2's so don't update it!

the next version of magisk should be ok but it has not been released yet.

also flashing supersu is a bad idea especially if you haven't re bumped the kernel.
[G2 Android Development] Immortal0907:
oh no :o I updated it through play store few days ago, but I havent experienced any issue and also im on like 5-6 days old build waiting for this root thing to settle
[G2 Android Development] n@vier:
No problems here with last AICP updates even with the last build with the security patch of February. Everything is working great :good:

Just a question: Can we update magisk manager app on Google play or not? Because I updated magisk manager with the last version 4.2.6 without any problems... Thanks as always for your support ;)
[G2 Android Development] ep2610:
Flashing only the latest aicp and gaps. Nothing else!

Till 20 of Feb everything was working fine. Suddenly after the 20th of FEB every update via OTA update gave me google service error. So I did a clean install of latest nightly (D802) and latest gaps. After that I lost ROOT.

I tryed to install via TWRP the latest magisk and that f*ck up my phone!

Right now I managed to get my phone back to life using the srk tool and flashed the latest nightly with latest gaps (micro). The google service error has stopped but the ROOT is lost! The problem is that I cant use any app that needs a ROOTed phone like Titanium backup etc. Also the AutoRec app (to Root phone again) doesn't work because it can't install loki_tool (gives error that no luck installing loki_tool).

Any suggestions???
[G2 Android Development] Drgravy:
the magisk manager should be ok (I think)

I am speaking of magisk 11.1
[G2 Android Development] n@vier:
Okay...so if we will receive a notification of a new magisk version in magisk manager we must ignore and wait you will merge in AICP right?
[G2 Android Development] Immortal0907:
AutoRec app is for installing TWRP, not rooting your phone? Anyway you must be doing something wrong? Whats your procedure for 'clean' installing? You need to wipe system, data, cache you can also follow my procedure for installing LineageOS (link in signature) its different rom but installation is same for all of them
[G2 Android Development] Drgravy:
ok first thing LOKI is basically deprecated, that only worked with the jellybean bootloader

first thing to try would be to flash THIS MAGISK ZIP ONLY: http://host.drgravy.com/aicp/G2/Magisk.zip

then if things still are not working try to get me logs

one more thing just to be sure:)

Never disable Magisk in magisk settings

also open gapps have been giving me issues lately so I have switched to dynamic gapps and they have been working great

Dynamic Gapps Community
[G2 Android Development] Drgravy:
Right!

or ask here I will answer eventually:)
[G2 Android Development] ep2610:
My plan was to reinstall TWRP and go with the hall process from scratch.

As far it concerns clean install, I wiped system,data,cache as you did.

Thanks anyway. Hope someone will find a solution with ROOT.

---------- Post added at 02:42 AM ---------- Previous post was at 02:37 AM ----------

Thanks.

Just to be sure. I will install Magisk.zip and nothing else or I will have to clean install ROM and Gaps and Magisk ?
[G2 Android Development] Drgravy:
well if you are on aicp and you lose root try flashing the magisk.zip and rebooting.

if that doesn't work try a clean flash with the gapps I recommended.
[G2 Android Development] ep2610:
Just installed (clean install meaning wipe system data cashe) latest nightly (20170227) with dynamic gaps and I f*cked my phone!!!!!!!!!!

I get an error "Setup Wizard keeps stopping".

I did it twice and the procedure was Q

-Format factory reset (wipe system, data and cashe)

-Install latest nightly (for D802)

-Install dynamic gaps

-Reboot

The second time I did the above and before Reboot I wiped cashe.

Both times same result!!!
[G2 Android Development] Drgravy:
What dynamic gapps are you using?

Also what bootstack are you on?
[G2 Android Development] Eselter:
I also lose root after 1/2 days of using ROM but reboot bring it back. Very odd behavior.
[G2 Android Development] Sobek5150:
[MENTION=4557482]Drgravy[/MENTION] Hey! My wife has G2 and I wanted to throw this on it. I have her on 4.4.2 Kitkat, rooted and used the old Kitkat autorec to install TWRP 2.7.0.0.

I just installed the 2/22 for the vs980 and open gapps from 2/23. Whenever the phone reboots it flashes the LG logo for a half second and goes black. Screen still on, but nobody home. The LG backup I made in twrp works and can be restored.

Did I do something wrong here? I tried to update twrp to the 2.8.6.0 or what ever the latest is, but the zip doesn't flash, saying it can't "assert to /tmp/loki" failed or something.

Any help anyone can be on this is appreciated.
[G2 Android Development] dodora3d:
for me once time i lost root and restart my phone back ! i don't what's happened or why but tha'ts what happened ..but not face error i'm on last nigh 27 and every things good

---------- Post added at 09:18 AM ---------- Previous post was at 09:13 AM ----------

when face error and bootloop usage nuke download mode too and it's work not Unbrick - qhsusb_bulk 9006 !! what's case here ?
[G2 Android Development] ep2610:
Mini_Dynamic_GApps-7.1.x-20170215

bumpboot-v1.0-blastagator-signed
[G2 Android Development] Sobek5150:
Figured it out. Re did Tot to 26a then updated to 39a lollipop. Rooted, twrp, backed up and installed AICP. Booting up now.
[G2 Android Development] Immortal0907:
you could just flash bootstack for lollipop but ok :)
[G2 Android Development] n@vier:
1. Flash last twrp 3.0.2.1 by blastagator:

https://xdaforums.com/lg-g2/development/twrp-twrp-2-8-0-0-kernel-f2fs-tools-t2898705

2. Flash hybrid boot stack for your device (check your LG G2 if it is d802 or d80X ect. then choose the correct boot stack to download):

https://xdaforums.com/lg-g2/development/boot-g2-hybrid-bootstacks-t3183219

Note: check the combinations of buttons to enter in recovery (it's different...see in the OP of the hybrid bootstack)

3. Download last AICP nightly (for your LG G2 checking the correct model) and opengapps pico 7.1.1 for ARM SoC

4. Wipe all (system, data and cache)

5. Flash AICP + opengapps downloded (at point 3)

6. Reboot and wait it takes around 5 mins (take a coffee in the meanwhile :) )

Try this and report...it should work.
[G2 Android Development] ep2610:
I installed twrp 3.0.2.1 by blastagator, then I did a factory reset, then I installed aicp with mini dynamic gapps and everything works great (till now)!

The only thing I didnt do is step 2 (Flash hybrid boot stack), and thats because I did the above few minutes before your post!

Thanks
[G2 Android Development] n@vier:
Well, your problems started when you flashed the bumpboot, you need bumpboot for roms that come without root to avoid boot security error if you flashed SuperSU by recovery.

AICP ROM comes pre-rooted with MagiskSu so you don't need bumpboot.

Note: now you don't need anymore the hybrid boot stack (it's an optional) simply don't flash magisk according to [MENTION=4557482]Drgravy[/MENTION]'s advice.

---------- Post added at 12:54 PM ---------- Previous post was at 12:19 PM ----------

Flash last twrp 3.0.2.1

Flash the hybrid bootstack (you need it because you have JB bootloader...autorec downgrades the bootloader)

See my guide above and check the links you will find all you need ;)
[G2 Android Development] Tibiti:
[MENTION=4557482]Drgravy[/MENTION]

The way I've been doing it works for me.

So:

clean or dirty flash ROM

Flash gapps if clean

Install Lambda

Update magisk manager

Update magisk su to 11.1, flash kernel straight after

All dandy.
[G2 Android Development] zauzaupt:
So I just decided to update my phone today, almost 10 days without updating, installed the last nightly and now there's a kind of a **** on Taskbar, what the he'll is this?
[G2 Android Development] n@vier:
Well [MENTION=1184673]LorD ClockaN[/MENTION] there is something interesting for you (the patch works great :D )
[G2 Android Development] LorD ClockaN:
well, you are an app thief and use LuckyPatcher to steal paid apps..

This rom has a very special algorithm that decets that and shows you the middle finger and then slowly starts to eat into your internal memory
[G2 Android Development] zauzaupt:
OK thanks for the info, time to find a new rom.
[G2 Android Development] Tibiti:
Now that is funny.. ? I'd rather quit using that app than leave the ROM, not many left around..
[G2 Android Development] apka528:
Any one facing battery issues I'm in latest build d802.

My phone gets very hot when watching a move or lisning to music

Plzz help...

Ty in advance..
[G2 Android Development] Sobek5150:
I have an affinity for finding the long way through the woods. :svetius:
[G2 Android Development] Tibiti:
But you learn more.
[G2 Android Development] boyplayhon:
Can u make this last vesion rom support for f320 pls . i using aicp date 23-1-2017, everything fine but when screen off battery like when screen on
[G2 Android Development] Drgravy:
that is the preferred way :)
[G2 Android Development] Drgravy:
only way that will happen is if someone else maintains it.

I am busy enough!
[G2 Android Development] Sobek5150:
Quick question: Got it all set on my wife's G2, but Magisk says there isn't any root. Before Magisk the option was in Developer settings. Not there anymore (presumably because of Magiak)

Any ideas why root isn't showing?

EDIT: So I looked through the forum a bit in the last week and see I am not alone. Is it possible because I used autorec to install twrp instead of using a bumped version like blastagtors?
[G2 Android Development] Drgravy:
In that case I recommend flashing the latest blastgators twrp then reboot recovery flash the hybrid bootstack then reboot recovery then clean install the Rom again.
[G2 Android Development] kepeto:
hi, i guess we have similiar problem with root

- using autorec to install twrp

- previous ROM : exodus MM

[MENTION=4557482]Drgravy[/MENTION] any ideas how to work around with root (MagiskSU)?

thanks
[G2 Android Development] Drgravy:
Just posted an idea:)

Look above
[G2 Android Development] Sobek5150:
Yep. Sounds good. While I was waiting on someone to see my post I read through what [MENTION=5664999]n@vier[/MENTION] had said before. I'll try and report back. Might be a few days.

Thanks as always for your solid work and assistance.
[G2 Android Development] kepeto:
PERFECT!!! THANKS!!

based on your suggestion

- latest blastgators twrp ( http://www.gregtwallace.com/lgg2-projects/twrp/?version=3.0.3-a)

- reboot recovery

- flash the hybrid bootstack (https://xdaforums.com/lg-g2/development/boot-g2-hybrid-bootstacks-t3183219)

- reboot recovery

- clean install the Rom again.
[G2 Android Development] Drgravy:
correct
[G2 Android Development] kepeto:
-- deleted --

already answered few page back :D
[G2 Android Development] jenda.69:
Tried 12.1 (nightly 20170228) today and it still doesn't work.
[G2 Android Development] cyclops13:
Thanks for the update. I guess I'll stick to los till this is fixed as I use miracast often.
[G2 Android Development] apka528:
Hi I'm in latest nightly from past 5 mightly I'm facing fast battery down even its not charging fast... Plzz help....
[G2 Android Development] addoyle:
I'm not sure if I actually lost root or if it was just disabled in Dev options but it all started when magisk was first used. I'm now sorted but the only way I found to fix it was too factory reset and install the latest lineage zip, gapps and the SU zip from the lineage site. Then go into Dev options and enable root for adb and apps .....
[G2 Android Development] pete022682:
Latest nightly had major random reboots for me
[G2 Android Development] dodora3d:
but in your case you can open recovery but i couldn't open ^_^

anyone know why we use magisk replace superUS ?
[G2 Android Development] Tibiti:
My bet is it's open source, superSU is owned now..
[G2 Android Development] nauman284:
is this still on marshmallow?? and pls someone tell me which nightly version is stable
[G2 Android Development] Zackptg5:
Latest is fine for me. This is nougat 7.1.1
[G2 Android Development] Tibiti:
Short and simple answer: any + a clean flash ;)
[G2 Android Development] peestandingup:
Clean flash the standard for this ROM? I upgraded my d801 to the latest weekly (from last weeks, which was a clean install) and the battery drain was insane. In 10 minutes it prob dropped 10% or more. Stock kernel, hardly any apps installed at all.
[G2 Android Development] Tibiti:
Not standard. But unless you want problems (possibility) is better. FYI: I didn't flash clean either but I could live with any consequences, entirely up to you.

Battery varies by nightly, but just because it dropped so much for you don't mean it still will after 2-3 charging cycles.. I'm using a D802 and flash a nightly every 2-3 days with Lambda kernel.
[G2 Android Development] pejicgoran:
There is a bug in quickpic apk.They says unknown error 14 sgl data base.It is somethings with Selinux.
[G2 Android Development] addoyle:
I wasn't easily able to get into recovery, I had to power/vol down to say yes to factory reset which then got me into recovery .....
[G2 Android Development] Tibiti:
That's how it's always been..
[G2 Android Development] maksakal:
How can I change LockScreen shortcuts. I could not find in AICP Extras . Thanks.
[G2 Android Development] dodora3d:
yes i know that but my recovery was broken ..
[G2 Android Development] Immortal0907:
[MENTION=4557482]Drgravy[/MENTION] possible bug report . When I enable App Sidebar in Aicp Extras - System Extensions my back button stops working. Simply nothing happens when I press it.
[G2 Android Development] miloske83:
Hello wher can find and download last aicp mm rom
[G2 Android Development] FredMontteiro:
Hi, how to update to Magisk v11.1?

I tried it by update inside the Magisk and then I tried via TWRP, on both occasions I got a boot error.
[G2 Android Development] chery22:
After you flash Magisk, you have to flash bumbboot from Blastagator. Otherwise you'll get boot error.
[G2 Android Development] Drgravy:
see this: https://xdaforums.com/showpost.php?p=71204345&postcount=844
[G2 Android Development] Taalaay:
Stable but i have wifi problem. My network have no password. But wifi connection error : password May be incorrect.

---------- Post added at 09:07 AM ---------- Previous post was at 08:50 AM ----------

İf my wifi connection perfect, my cellucar signal drop. İf my cellucar signal perfect my wifi connection Must be drop. i Will never use again this rom.
[G2 Android Development] dodora3d:
try clean flash again maybe everything be good ..i don't face your problem at all so may something wrong with you
[G2 Android Development] pejicgoran:
There is no any problem with wifi or data.
[G2 Android Development] FredMontteiro:
Any new recommendations for clean flash?

I usually do the basics on my D802.

- Wipes (Not storage)

- Flash rom

- Flash Gapps

- Reboot

I'm coming from AICP 12.1, and I'm going to AICP 12.1. But I do not want to do dirty flash.
[G2 Android Development] dodora3d:
no that's good enough not need to do anything else
[G2 Android Development] FredMontteiro:
Thanks man! ;)
[G2 Android Development] dodora3d:
i still face lost root again and again i think once in day and solve it by restart ....

new logo it's cool BTW
[G2 Android Development] pejicgoran:
Flash kdz v30d,root and i instal recavery and then flash this rom like all people on this forum and it will work perfekt.
[G2 Android Development] dodora3d:
i think i will stay with my case
[G2 Android Development] Cyberman5145:
I recently flashed AICP on my D802. First impression post 2 weeks usage:-

1. Buttery smooth.

2. Awesome battery performance.

3. Flawless OTA's.

4. Great UI.

Drawback(s):-

1. Backlight blinking doesn't work which is the only charm for me on LG G2. I read on google that their is a patch called tasker which needs to be customised to allow the back light blinking to work just as it works on Stock ROM.

Pls help enable this in your next night lies / build. I simply like your work n builds you have offered for D802.
[G2 Android Development] Tibiti:
You can do it yourself. Unless 1-4 isn't worth it to you..
[G2 Android Development] Cyberman5145:
[MENTION=4862710]Tibiti[/MENTION], I have no clue what you meant in your comment above. I am not a developer who may have made change to incorporate changes that I stated in my last comment.

I love the ROM for mentioned reasons however just made a point for developer group to consider for inclusion in future builds if feasible.
[G2 Android Development] UncleRipper:
He means that you can follow a guide to enable that light with tasker.

Try it, it is simple.
[G2 Android Development] Tibiti:
Even so, it's sluggish and doesn't add much to the experience.

The reason my original post was so cryptic is that you asked for a feature to be implemented (from tasker). If it was easy it probably would've been implemented already as cm based ROMs port most (if not all) previous features over to the newer versions.

What I tried to say is: live with it or at least try to get around it.
[G2 Android Development] pejicgoran:
Build 09032017 .There is a bug in galery.Video is problem.You can not see preview.Not just in stok galery and in quickpic galery too.
[G2 Android Development] Cyberman5145:
I second your opinion. I tried tasked this day and to be honest, m way better with the ROM itself than making it work with tasker.

The performance overall for my G2 gets messy. I guess I have to accept the device without blinker instead.
[G2 Android Development] MB525:
Same problem here.
[G2 Android Development] asus700:
Which g2 are you using with the gallery glitch?
[G2 Android Development] MB525:
D802 here.

No errors in log.
[G2 Android Development] apka528:
In the 7th nightly when recents is opened when there are no apps the systemuii restarts same on today's nightly I've done clean flash for the 7th....
[G2 Android Development] pejicgoran:
Build 10032017.Galery problem fixed but there is a new bug.Clock is not good.3 min late. D802

Edit:There is a another problem with alarm rington.You can not change rington with advanced ton.On early build we can change .
[G2 Android Development] Immortal0907:
If its 3 min late just go to settings and set it manually to be correct XD
[G2 Android Development] pejicgoran:
[MENTION=7919751]Immortal0907[/MENTION] I already done that,but problem will stay.This is a temporary solution.
[G2 Android Development] dodora3d:
sorry but it's make me mad .... so i will solve it so which way i have to do ?

1. flashing the latest twrp ( already i use it ) ..then flash hybird then clean install

or 2 .. stock rom then flash root and recovery and reflash Aicp ?

i need sure answer and easy one

thanks in advance
[G2 Android Development] Marvinpatel38:
Substratum compatibility

Hi! i would like to know does this ROM work with substratum?:)
[G2 Android Development] Drgravy:
uploaded some experimental builds for you guys since they failed last week :)

http://host.drgravy.com/aicp/G2/
[G2 Android Development] kepeto:
any changelogs?

btw, how to boost loudspeaker volume?

usually i flash Lambda kernel to be able to change the loudspeaker volume

any plan to implement FauxSound patch to your kernel?
[G2 Android Development] Marvinpatel38:
Thanks man! Tried it and it works as flawless a ever!:good:
[G2 Android Development] peestandingup:
Been on the d801 ROM for a few weeks. Every time a new weekly version gets released, I do an upgrade (dirty flash) & the battery life always takes a huge hit. Last night I went to bed w around 70%, woke up & battery was completely dead. Also lots of app crashes.

So I'd say if you're using the d801, I'd def recommend a clean install w each new release. Sucks to do it that way but something is def going on if you simply dirty flash.

Link is dead BTW.
[G2 Android Development] Drgravy:
link fixed in my post

that is strange my d801 does not do that.

Next time try to get me some battery stats and a logcat to see if we can see what is draining it.
[G2 Android Development] guilledoc1:
Sorry if OT

It's ok to flash new TWRP 3.1, I mean it will be ok to afterwards continue to OTA within AICP
[G2 Android Development] Drgravy:
nope not yet

waiting on this:

https://review.lineageos.org/#/c/165001/
[G2 Android Development] machinehead121:
Sir , if i may, ask you what's the difference between experiment builds and the official nightlies ?

And can i request you to kindly include system root too along with magisksu as an option ?

Because None of the new nightlies work for me since they don't worth with titanium backup which is very crucial for me to restore all my apps with data and only the last 19/02 experimental build worked for me once , because of which I've been forced to use another Rom but I'd really like to use AiCP again flawlessly with titanium and other root apps coz magiskSU still has some issues with some apps , hence my request to include system root too as an option.
[G2 Android Development] Tibiti:
Funnily enough, I have outstanding battery life first after flashing, then gets worse. Dunno why.
[G2 Android Development] blastagator:
Does AICP do OTA packages? With new twrp /misc is mounted but a bootloader offset is needed in the ROM. Check out my patch on the los Gerrit.
[G2 Android Development] asus700:
I have been getting less battery life with the latest experimental vs980 rom from 311
[G2 Android Development] pejicgoran:
Us older titanium backup apk 7.5.0 and it will work.