yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] Virus_672:
tried to install this rom and got an error. here's log from twrp:

**********************************
* AOSPA-L *
* *
* Build date: 06/12/15 *
* Device: d802 *
**********************************
Patching system image unconditionally...
writing 104442 blocks of new data
wrote 104442 blocks; expected 104442
max alloc needed was 0
detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
cp: can't stat '/tmp/addon.d/*': No such file or directory
detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system
about to run program [/system/bin/loki.sh] with 1 args
2048+0 records in
2048+0 records out
1048576 bytes (1.0MB) copied, 0.017901 seconds, 55.9MB/s
Loki tool v2.1
[-] Unsupported aboot image.
run_program: child exited with status 1
script aborted: assert failed: run_program("/system/bin/loki.sh") == 0
assert failed: run_program("/system/bin/loki.sh") == 0
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/System/pa/pa_d802-5.1-20150612.zip'
Error flashing zip '/sdcard/System/pa/pa_d802-5.1-20150612.zip'
Updating partition details...
I:Data backup size is 2876MB, free: 2269MB.
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'install_image'
I:Set page: 'install'
I:Set page: 'selectstorage'
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/07cf7f5e9a33b516'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'settings'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'filemanagerlist'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log

i'm on cloudy g3.
[G2 Original Android Development] gu_de_o:
I am experiencing the same issue with the latest build. The phone wakes up by itself after having switched off the display. This issue keeps going for however long the setting in "sleep after.. seconds of inactivity" is set for.
[G2 Original Android Development] slayer3032:
The issue hasn't been fixed, you can check if MikeCriggs has made any commits to our device on his Github, the last device related commits were 12 and 16 days ago. Newer builds since his last device commits will only be fresh builds against the most recent rom sources most likely. I've been checking almost daily hoping for the moment I can clean flash away this ridiculously annoying bug. I have to restart my phone before I go to bed simply because the screen won't stay off. I've had my phone screen stay on for over an hour even now.
[G2 Original Android Development] vikdal:
Yeah, the bug is back on my device as well. But it only wakes up one or two times, and then stays off. For some reason it seem to help to close all open apps,before turning off the screen at night.
[G2 Original Android Development] MikeCriggs:
Guys, I merge the latest cm-12.1 upstream whenever it's available. There are no commits that I can see that pertain to this issue. It may be a bug with some display options (like ambient display and etc) may be causing this issue. I will delve into it when I get a chance.

I need someone to grab a logcat the second the screen wakes on its own and submit it through the form in the OP.
[G2 Original Android Development] slayer3032:
I submit a logcat with it a while back, I can try to recreate it sometime later if it happens again. I haven't used my phone much in the last couple days so it's played quite nicely for the first time in quite a while.
[G2 Original Android Development] slayer3032:
I submit another bug report with a logcat, capture time was far shorter. Maybe this one will be more helpful.
[G2 Original Android Development] MikeCriggs:
There isn't much to go off on these screen-wake logcats. I will have to deduce what is exactly going on, but again, these are blind builds so please be patient with me. Thank you.
[G2 Original Android Development] Hbohd:
[MENTION=3376095]MikeCriggs[/MENTION]

You should check lg-devs github.

These two might be useful:

https://github.com/lg-devs/android_...mmit/74b529c2926907fd726680b9cd4ffeb6a837d26c

https://github.com/lg-devs/android_...mmit/93ac20969af4ba99ee8758738e675aebb554c506
[G2 Original Android Development] MikeCriggs:
I'm part of that team as well. And I can't use anything custom in these builds, especially kernel work.
[G2 Original Android Development] ykota89:
Could you maybe make an unofficial test build to see if these problems would still exist?
[G2 Original Android Development] .wojtek:
I'm having exactly same problem. Been on the LG lollipop. '/system/bin/loki.sh' is there. Is there any way to have more verbose debug from running loki shellscript so one would know why it fails?

EDIT: after removing lines referencing loki.sh from update script installation finished ok, but then phone went into bootloop. Any help getting PA on my device would be appreciated. Currently on restored backup stock LG LP
[G2 Original Android Development] Choristav:
Are you on the 4.4 bootloader?
[G2 Original Android Development] .wojtek:
Hm, that's a really good question! I have no idea, unfortunately. ADB says:

I've used LG One Click root (v. http://xdaforums.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951) when I was still on 4.4.x. Then I used today AutoRec (v. https://play.google.com/store/apps/details?id=b007.autorec2) to get TWRP. I don't remember touching bootloader at any point. I've tried googling about how to find the information without much success - I've only got what I've paste above, there is no information in TWRP, tried booting into 'bootloader' (from QuickBoot) without any effect, in DownloadMode I have only "User B66 / ROOTED" printed.
[G2 Original Android Development] brucar:
hi

installed this rom, but I had a problem with my sim card,.

does not recognize the sim card operator and does not allow me to put the pin to activate.

it will be because not installed the baseband ??

I came from kit kat rom.

thanks
[G2 Original Android Development] merlen:
I'm having issues with group mms. Anyone else? D800 6/22 build. Bug report submitted.
[G2 Original Android Development] xXRapToRiXx:
I have the same problem.Are you running official or unofficial version? I am using official...
[G2 Original Android Development] brucar:
official version.
[G2 Original Android Development] xXRapToRiXx:
Thx, I am going to try out the unofficial one... If the sim card issue will be still there, than I will go back to AICP.
[G2 Original Android Development] brucar:
I am currently with euphoria official, and so far I'm enjoying the results.
[G2 Original Android Development] xXRapToRiXx:
I flashed the newest unofficial built... The bug seems to be gone(first boot).
[G2 Original Android Development] .wojtek:
I'm having two weird problems with the latest official/stable:

- phone/network not working - drops network signal every couple of seconds, impossible to make a call

- turning off the screen - each time I want to do that with the power button it lit up again so I have to wait for it to time-out; sometimes double-tap give better results; I've tried to tinker with 'lift to wake' (disabled), 'wake on plug' (disabled), "prevent accidental wake up" (disabled) but nothing seem to work -- any idea?

And now I have another idea (or problem?) -- it's impossible to double-tap on lockscreen to put device do sleep -- it makes the lockscreen move up without turning off the device -- is this a bug or intentional behaviour?
[G2 Original Android Development] .wojtek:
Hi, I'm just struggling with dt2w (and screen waking up randomely, tho after removing simcard it stopped o_x). Anyhow - how can I help with troubleshooting / improving dt2w? With the lg and power button on the back lack of dt2w is a bit inconvenient :(
[G2 Original Android Development] 4Freedom:
You use Autorec to install TWRP because it downgrade also the bootloader and surely it install the recovery.

you can do it also manually, but with auterec it is easier.

however REMEMBER:

using

Autorec (lollipop version)

: downgrade to KK bootloader with BUMP exploit

using

Autorec(kitkat version)

: downgrade to JB bootloader with LOKI exploit
[G2 Original Android Development] djbaha:
Anyone has that problem,that whenever i lock screen using the button (or sometimes double knocking) the screen comes on again,several times going on and off. Weird. Tried setting proximity waking up off and several similar settings,no luck. It still lights up again.
[G2 Original Android Development] Lawlrus:
Yeah, two posts ago.
[G2 Original Android Development] berryman13:
Hell learn. But somebody else will ask again...
[G2 Original Android Development] djbaha:
It has been 3 days but i'm still feeling dumb as I should be and laughing to myself.

Sorry all.

Seems like a common problem without a solution yet..
[G2 Original Android Development] MikeCriggs:
Hey, guys.

Real sorry about the slack, I've been extremely busy with work and my son just had his third birthday. I have an hour of free time right now, so I'm going to see what I can do about the most important issues. Please remember that it's just me doing like five variants and I don't own any anymore, so it's really hard for me to make sure everything is tip top every build. I really appreciate all of the logcats, they've been very helpful. I'll give you guys a status update as soon as I make some progress with these issues. Thank you for the patience!

Love,

Criggs
[G2 Original Android Development] robbyf66:
For those d803 users looking to get on this I've started my own build. I work with PA but this is just unoffical because it's my first from

http://downloads.hostingsharedbox.com/robbyf/g2/d803/pa/

see this thread for more support.

Thanks for the work [MENTION=3376095]MikeCriggs[/MENTION]
[G2 Original Android Development] MikeCriggs:
If all went accordingly, you guys have a surprise in the unofficial builds that were pushed today. Just a little preview of what we're up to.
[G2 Original Android Development] Len:
Three questions guys,

1. Is this ROM fine to everyday use?

2. What about FM Radio

3. Maybe someone know is XPrivacy from XPosed framework working?

Thanks!
[G2 Original Android Development] aaronDroid80:
The true saga of development. One problem seems to get fixed and another one pops up. So far on the 7/2 build (D800), it appears that dt2w is working now. Will follow this and the screen wake issue for a while and send logs if necessary. Vibration intensity also no longer FC's. Two new problems though: first, auto brightness does not appear to be working; second, all sound is broke. Notifications, phone calls, music playback...silent. I'll put some logs together later this evening.

Edit: phone calls not working, system stops responding. Reboot (any type) doesn't work, just shuts down. I'll upload those logs later tonight. Had to restore to 6/19 because of these last two issues.

Sent from my Sweet Candy 5.1.1 LG G2 (D800)
[G2 Original Android Development] cmlohff:
First off, nice work on this new build Mike!

I noticed that checking status under about phone in the settings menu causes a com.android.phone crash. Log submitted.
[G2 Original Android Development] MikeCriggs:
1) If you have to ask that, then no.

2) No...

3) We do not speak of Xposed here. Keep it away from custom firmware. Use it ONLY on stock rooted firmware.

With love,

Criggs
[G2 Original Android Development] MikeCriggs:
Well, a SUPER PREVIEW of pie should be baked in there :).

Also, I will be rebasing ALL device trees off the CAF branches from another team I work with (LG Dream Team). I think that should fix up MOST of the issues that you guys are experiencing.

It's going to take forever, but I love you guys ❤
[G2 Original Android Development] aaronDroid80:
the live display feature looked really nice, too.

Sent from my Sweet Candy 5.1.1 LG G2 (D800)
[G2 Original Android Development] L0nelyE4rth:
Signal problem's finally gone. All sounds's working

Auto brightness is working, Everything's good.

but have some vibration bugs.

#StayParanoid #D802
[G2 Original Android Development] MrWunderbaum:
I have the exact same problems (D802).

One question, where can one preview/activate PIE, earlier it has been under immersive mode...?
[G2 Original Android Development] dannyphantom97:
why my phone is always turning on after i press the power button to turn it off?
[G2 Original Android Development] purpleraintoxicity:
As i recall, there is an option to turn on screen on lifting
[G2 Original Android Development] dannyphantom97:
The option is turned off, the phone's turning on though it is on my table and i use double tap to sleep
[G2 Original Android Development] Crumplet:
I think using stock kernal and boot stack for offcial LP will address most issues using kexec method of unlocking our phones.Droid razr maxx uses kexec why not try for non stock based roms?
[G2 Original Android Development] MikeCriggs:
Do you even Android bro?
[G2 Original Android Development] dannyphantom97:
So, am I the only one with this issue?
[G2 Original Android Development] MikeCriggs:
Please read back. This is a known issue and is being worked on by me completely rebasing EVERY variants device tree with hacky CAF code. It's going to take a little bit, so please be patient. I also have some surprises for you guys very soon.
[G2 Original Android Development] dannyphantom97:
I changed to Cyanogen Mod, way better and more stable
[G2 Original Android Development] MrWunderbaum:
I'm confused.

Reading the last posts it seems the latest release, 7/2, is working well...

I'm experiencing trouble that earlier builds didn't have.

Sound doesn't seem to work and

therefore apps like Spotify and YouTube isn't working.

Calling doesn't work.

Rebooting to recovery doesn't work.

Rebooting doesn't work.

I've done clean install where I wiped system and data.

I've tried flashing different modems/basebands.

I've tried flashing different gapps...

What am I missing, in earlier builds I only had minor problems with dt2s and such?

Should I just wait for next release?

I'm on D802.

Thanks for the great work on this rom Mike!
[G2 Original Android Development] L0nelyE4rth:
I'm just flashing on JB bootloader with LP Bootstack and my Gapps is OpenGapps.
[G2 Original Android Development] MikeCriggs:
These are still ALPHA builds. I don't own the device. I can't test anything. And please DO NOT talk about other firmwares here. It's blatantly rude. Unappreciative and snarky comments are not welcome here. If you don't like it, go somewhere else.
[G2 Original Android Development] MikeCriggs:
Read above.
[G2 Original Android Development] MrWunderbaum:
Thank you!

Flashing LP Bootstack did it. Now everything is working nicely again!

Maby it should be mentioned in the OP?

Still haven't found the Pie though... Is it around or did I misunderstand? Longing for Pie :)
[G2 Original Android Development] merlen:
I'm running 7/2 build on d800. Pretty sure I'm on the lp bootstack. Sound works, however I ran out of battery and it was a little difficult to get the phone on again. Is it possible to get a log or something to help with that issue?
[G2 Original Android Development] Crumplet:
So rude...Why would you say such a comment.You have no respect for this dev or his free work.Shame on you.
[G2 Original Android Development] cmlohff:
Running a battery to 0% is quite bad to for the battery.
[G2 Original Android Development] MikeCriggs:
Sorry mate! I'm going to start using bump and etc instead of odin. It's on my to-do list. Also, if seems that I built the wrong branch of fwb & settings. I'll give everyone a preview of Pie 3.0 (super alpha) once I get time to finish rebasing all of these trees. It has been a long few weeks at work. Soon! ❤
[G2 Original Android Development] MrWunderbaum:
No worries! It gave me the opportunity to learn something new witch I'm happy for :)
[G2 Original Android Development] MikeCriggs:
//ATTENTION G2 USERS

The following variants have been rebased off CAF trees from my good friends at LG Devs (G2 Dream Team). Please flash them and report bugs and issues!

D800, D801, D802, D803, LS980, & VS980

You can find the latest builds here: downloads.hostingsharedbox.com/mikecriggs/aospa

Love,

Criggs﻿
[G2 Original Android Development] ntmmtn:
i using the rom that 2th July release . It's AWESOME!

Thanks!!!

i can't into http://www.downloads.hostingsharedbo...kecriggs/aospa, is it already closed? or just for limited members?
[G2 Original Android Development] Choristav:
remove the www
[G2 Original Android Development] ntmmtn:
Oh,Thanks. Mine is D802. So 2nd July released is newest. I will wating nest update.

Thank you!!!
[G2 Original Android Development] aaronDroid80:
D800 here. Just posted a bug report for the broken audio in the 7/9 build. That's as far as I got, because when I was downloading my backups from box, I got a SOD. Clean flashed. I'd love to get these new builds working, because the longer I go with the 6/19 build, the more unstable it becomes.

What is the correct bootloader, boot stack, baseband combination these days? I'm seeing things around about lollipop boot stacks with jellybean bootloaders, and Mike mentioned something about bumping soon.

Thanks.

Sent from my Sweet Candy 5.1.1 LG G2 (D800)
[G2 Original Android Development] MikeCriggs:
I need everyone to post working combinations of bootloader, baseband, and bootstacks for their variants so we can put it in the OP :)
[G2 Original Android Development] L0nelyE4rth:
https://github.com/Drgravy/bootstacks/tree/master/d802/lp - Bootstack

D802 : JB Bootloader , Flash Loki Bootstack , Rom and Gapps.
[G2 Original Android Development] ntmmtn:
I along with your teammate way.

lp bootstack

reboot recovery

kk bootloader

kk baseband

rom at 2nd JULY

SUPERSU

tkgapps

I am using this rom for a week.

It's nice rom.
[G2 Original Android Development] MikeCriggs:
What variant?
[G2 Original Android Development] ntmmtn:
D80210a(hongkong) update to 4.4.2

&

I started using AOSPA4.4.4 to 4.6 BETA.
[G2 Original Android Development] aaronDroid80:
Mike, check your links. The link for the D800 modem is for D803.

Sent from my Sweet Candy 5.1.1 LG G2 (D800)
[G2 Original Android Development] L0nelyE4rth:
PA D802 2015/7/10 - Advanced Reboot can reboot into recovery only.
[G2 Original Android Development] MikeCriggs:
Whoops! Thanks for the heads up man!
[G2 Original Android Development] MikeCriggs:
The bootloader is locked, so there's no reason to have it boot into that. Also, some XML strings need some tweaking to have the "reboot" option pop up if it's not there already. I'll get to it when I can.
[G2 Original Android Development] L0nelyE4rth:
That problem doesn't matter,but thanks for your work
[G2 Original Android Development] aaronDroid80:
I think what he was trying to say was that we're back to an older issue where, when advanced reboot is enabled, the only option that shows in the reboot dialog is "reboot", and it boots into recovery.

On that note, when you pick "Power off", the dialog box says "your phone will now reboot". This is just cosmetic.

Sent from my Sweet Candy 5.1.1 LG G2 (D800)
[G2 Original Android Development] aaronDroid80:
D800, 7/10 build. Phone rebooted during a phone call. Log submitted.

Sent from my Sweet Candy 5.1.1 LG G2 (D800)
[G2 Original Android Development] MikeCriggs:
Derp, forgot to push those commits to the trees XD
[G2 Original Android Development] Artim_96:
very strange. I installed the ROM from 10th july on my d802 after installing LP bootstack [MENTION=6156180]L0nelyE4rth[/MENTION] posted (the one from the main page is lokified, would it even run in a kitKat bootloader?) and it ran extremely slow but had about 800mb of free RAM, even after wiping /system, /cache and dalvik-cache. Flashing the last one I used before (from 1st june) however still works fine so it's definetely no problem with the bootstack. I will try it again in a few days after flashing KK bootloader from dorimanx, maybe that works better.

Is there anything to know about upgrading bootloader? It should be only flashing of the zip from 20h from dorimanx servers, flashing TWRP (blastgator's which is bumped) and system (builds from 10th july should be bumped already, aren't they?). Other zips don't have to be bumped for all I know (unless I don't find a custom kernel which works with PA).
[G2 Original Android Development] L0nelyE4rth:
If you see on my post. That link has bump version and they're fixed download mode.
[G2 Original Android Development] Artim_96:
[MENTION=6156180]L0nelyE4rth[/MENTION] I said I took yours. I will try it in a few days with KK bootloader, LP bumped bootstack, bumped TWRP an latest ROM.

In wich order should I flash them? Bootloader, TWRP, bootstack or bootstack, bootloader, TWRP?
[G2 Original Android Development] L0nelyE4rth:
If you want flash with KK bootloader.

Bump TWRP > Bootloader > Bump Bootstack > ROM
[G2 Original Android Development] Artim_96:
Thanks. Bumped TWRP is already installed (blastgator's 2.8.7.1). I think I will do it next weekend, have some stuff to do first.
[G2 Original Android Development] L0nelyE4rth:
As I said about bootstack. Just downloade it from my post.

It just fixed broken download mode.
[G2 Original Android Development] TheUnladenSwallow:
Didn't realize there were new bumped bootstacks XD Thx lol.
[G2 Original Android Development] TheUnladenSwallow:
Hey guys, new builds are up for everyone but sprint by the looks of it.
[G2 Original Android Development] Lawlrus:
Xdabbeb's 39a bootstack also works so long as the kernel is bumped.
[G2 Original Android Development] TheUnladenSwallow:
Yup, that's what I was saying in my long ass post above. It's what I've been using forever.
[G2 Original Android Development] Lawlrus:
Yeah I have a tendency to skip walls of text haha.

He's making some new ones soon. Pretty sure he's removing the recovery img
[G2 Original Android Development] TheUnladenSwallow:
Probably not a bad idea.

Also the advanced reboot option and power off dialogue haven't been fixed in the 7/16 build (although the dev is aware of it so it's fine) and I've also noticed a bug in the dialer pictured below, it's been in both of the last two builds at least. Basically it's got the add contact icon merged with the dialer one and if the add contact button is tapped it throws that really weird screen. I'll fill out a proper bug report later if I have the time, but I'd imagine the dialer bug is happening for everyone and I also doubt it's anything a logcat would help with.
[G2 Original Android Development] Artim_96:
Thanks for the tipps and for providing the fixes bootstacks. PA is now working properly again.

The only bugs I can see where already mentioned. However unlike [MENTION=5377343]TheUnladenSwallow[/MENTION] I don't have an "add contact" FAB at all, only the normal dialer one and it seems to be working right. Maybe a device specific problem? I'm on d802.

But sadly, XPosed doesn't seem to work anymore.
[G2 Original Android Development] TheUnladenSwallow:
Hmm, I'm on vs980. I have to think that'd be an apk issue right? Something within the app's code? Maybe the vs980 (or cdma, sprint included) dialer is different?
[G2 Original Android Development] Artim_96:
Seems so. I'm on 16072015 build and I only can add a contact from phone app over the menu and thats working, so there is an bug in the app or it is some linking bug or so.
[G2 Original Android Development] djbaha:
I still have that screen not going to sleep issue. I see that Mike has posted new releases - though they are not available on Paranoid OTA. Which ones should i wipe before updating? Only dalvik?
[G2 Original Android Development] ajamer:
Hi guys ,my phone ls980 has poor battery life with this ROM. It seems it can never deep sleep. Things like wake lock detector aren't kicking up any thing causing wake locks. Any ideas? Kernel dt2w thing?