yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] the_Pan:
How to keep MicroG Installation after Update?

I flashed the latest ota-update (aicp_mata_p-14.0-WEEKLY-20200121) with the update tool. The update itself seems to work o.k., but why does this rom remove microg with every update?

Should I instead of using the ota-tool dirtyflash the update with twrp to keep microg installed? Just tested, doesn't work neither.

So, how do I have to update, to keep microg installed?

PS: I also noticed aosp-keyboard shows swipe-typing on aicp-rom, but I never get it to work. back on latest aosip-rom it works as it should after installing swipelibs. But that's something completely different.
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
This update fixed the soft reboot/vendor mismatch issue for me. I also realized that the BTS thread 's link for the latest firmware without boot and system was from march so I updated to may's firmware and wiped in case there was something in data that was causing the issue. While the latest kernel update worked without issue, attempting to root caused it to fail at boot without making it to the boot animation.

I'm eager to try your rom with your kernel, it seemed super smooth for the hour or so I used it without root. However, I'm pretty attached to rooting for adblock, titanium backup, and some audio mods so I had to switch to a different kernel. I'm not familiar with how to get the relevant log files without being rooted but let me know if there's any more info you'd need to troubleshoot.
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Hook your phone to your PC...

make sure adb is working...

Type

adb logcat > logcat.txt

Wait for trouble... Then hit Ctrl-C

If it's a random reboot...

After it starts again

adb shell cp /sys/fs/pstore/* /sdcard/

Then upload any files you've harvested...
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
This is the part I didn't know, thanks. I'll try the boot.img again and pull whatever files I can find from that directory, assuming there's persistence through flashing twrp
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
No no...

Do it while the OS is loaded...

There's also a good chance you have adb root as well...
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
You flashed root in twrp or patched the boot img?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
And for everyone with the vendor mismatch, flash the latest kernel and be sure you are on the OPM1.180104.166 firmware please
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
I default to flashing magisk 16.0 in twrp but I also tried magisk 16.4 and patching the boot.img with 16.0. Totally am amateur guess but it might be selinux related since your kernel defaults to permissive. Once I get to my PC I'll try to get some logs
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
I also had a bootloop trying to root the kernel that was posted last. Fun shtuff.
[Essential Phone ROMs, Kernels, Recoveries, & Other] aago1254:
well all i could get is 3g on verizon. had to go back to stock :(
[Essential Phone ROMs, Kernels, Recoveries, & Other] sinkoo1979:
Tried to flash magisk with twrp (sideload) but did not work. The rom booted up but no root.....

any suggestions?
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
Did you use the same method as described in the root guide?
[Essential Phone ROMs, Kernels, Recoveries, & Other] brepeti:
same here

flashing boot.img, install magisk 16.0 and 16.4

restart, and wait, wait, wait, nothing happened
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Don't do that. Get the boot.img I posted and patch it with magisk. Then flash it with fastboot
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Flashing that newer kernel you posted and Magisk results in a bootloop, so may wanna avoid that all together.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Gonna try it rn

Edit: Confirmed not working. Quite strange, I'm sorry for the inconvenience. I'll get to work asap on it
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
No rush, thanks for the ROM and support.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Thank you. Just trying to bring up something good. Also, try Magisk 16.4 if you were using 16.0, maybe that would do something. My VM was nuked so I don't have how to work on anything rn

P.S. To everyone on the latest kernel and rom, some words please. How's battery and performance compared to before and other roms.
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
So I ditched magisk and went with the Los add-on su so that I could test this out. I would consider myself a heavy user to the point of almost being addicted to looking at my phone haha.

I'm looking at 5-6 hours of SoT which is about average across roms/kernels. I get similar results with BBQ and los and considering the additional mods included in aicp, this is pretty solid. While idle rate is <1.5% per hour, my phone doesn't get the chance to idle too often so the screen on usage matters way more. I have aicp set to efficiency if that matters.

Regarding performance, this is smooth af. Multitasking, hdr processing, substratum theme building, and scrolling feels like butter without any noticeable stutter or lag. Smoother than smf but smf seems to be quicker if that makes sense. I was using the cultivation governor on smf which could contribute to this. BBQ is still the smoothest imo but there's a lot less going on so I'm not surprised.

Considering how much aicp has going simultaneously (baked in customizations and mods, oms themes, plus whatever else I'm doing in the foreground) I expected this to either feel bloated (RR) or devour battery (aosip) but you've put together a very stable experience. The biggest area for improvement in my opinion would be the battery efficiency while screen is on. Might get better results using another governor like schedutil or something.

I'll stick to your kernel for a few battery cycles to see if anything changes but I'm already missing magisk for the audio mods :p
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Thanks, I needed that. I'm glad it works good and you like it. Right now I'll get on reworked it from 0 to balance out the battery and clean it up a bit. I take proud in my kernel not being a chaotic mess like the lineage kernel. The reason I didn't go for schedutil and EAS is because I find it to be quite inefficient. The wahoo power stack is toooo aggressive and there is no proper caf bring up to use their power hal. I believe interactive to be the best if tuned correctly. Hopefully today I'll finish redoing everything and balancing stuff a bit and fixing magisk. Thank you!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Deandre7452:
Can't even root this rom this is crazy
[Essential Phone ROMs, Kernels, Recoveries, & Other] jmkarnai01:
You know what's crazy! Your poor taste in comments Jr.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Deandre7452:
Boi sit your ass down somewhere don't comment if you

Don't have nothing good to say
[Essential Phone ROMs, Kernels, Recoveries, & Other] eddro22:
This ROM is awesome running great rooted and all kernal that's with ROM now is a little wonky at the moment but I was able to use smf-kernal r2 to get it going thanks for the ROM man looking forward to more like this.
[Essential Phone ROMs, Kernels, Recoveries, & Other] jmkarnai01:
Lil boi live by your own words. Chump
[Essential Phone ROMs, Kernels, Recoveries, & Other] martinezs89:
Running great with a different kerenel I'm using and rooted! Thank you for the rom. Kinda sad when people hate before even saying thank you......
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Ignore the downers, this ROM is awesome, gonna switch back to it after messin' with Treble a bit. Miss that good ol' AICP!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Breadslave:
OK Google

Hello

I want to use Assistant 'ok google' function. I have tried to activate voice match. But it returns whenever I click the button for activation for voice match. Why? I want to use 'ok google' on screen off. Please, help me.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Obamaloominaty:
Ok Google doesn't work on custom roms atm. It's an issue with every ROM out for this device except stock
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
Chad got it working on BBQ, pretty sure he was using some of phh's work. Not sure of any more details
[Essential Phone ROMs, Kernels, Recoveries, & Other] Obamaloominaty:
Is anyone else noticing major delay when waking the device? I'm talking like 3 seconds to get to the lockscreen after pressing the power button. This is after a clean install with magisk installed

The strange thing is when unlocking with the fingerprint sensor its almost instantaneous but the power button is the only thing that's having issues
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
I have not experienced this but I never got magisk installed. Which version did you use?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Joylesstuna:
Someone in this asoip thread settings---security---quick unlock cause wake delay. Not positive if this ROM has it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] bmg1001:
A similar issue occurs when enabling the Expanded Desktop/Immersive Mode feature for the entire system. It's actually more related to enabling Immersive Mode for the Google app.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Big update!

*Updated rom

*Completely reworked kernel from scratch. OEM Android P as a base, upstreamed and latest caf tag, cleaner now

*Reworked ramdisk from Franco

Big change in performance and battery (hopefully for the better)

Also, FIXED MAGISK! :)

As usual, I recommend using the kernel that comes with the rom(Artemis)

https://drive.google.com/open?id=1BLOAEHFydAqpNZKCMTG6xJm7356R4hnV

Boot.img(tested with magisk 16.4): https://drive.google.com/open?id=1TMrBqkW-HKIwFDKVrlqiwjdWfQpJm0SL

The way I installed magisk:

>Flash twrp

>Reboot into twrp

>Flashed kernel

>Flashed magisk

>Rebooted

It might work with it patched too, just didn't try it.

Waiting for feedback. Have a great evening everyone
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Also guys, I have a potential fix for the FC'es and this crap but would require everyone to wipe data. If you are fine with this, I will test it out
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
Can confirm Magisk installs normally and zero issues so far. Too early to tell the performance/battery imoact yet but smooth af so far
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
[MENTION=6760768]KuranKaname[/MENTION] the update is great, felt very smooth, battery life decent, but unfortunately, touches aren't registering on some games (which is fine a reboot solves this), but I really feel the touch sensitivity is very dull.

I tried messing around with Magisk to see if I could crank up the sensitivity a bit, but no dice. Is there any chance that you could include extra touch screen settings like in the stock ROM or in LOS or AOSIP?

Other than that great build can't wait to see more AICP! ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
[MENTION=6760768]KuranKaname[/MENTION]

Update: performance is fantastic, zero issues so far. I definitely missed quick charge, charged at over 2amps last night! Deep sleep works fine but there seems to be a bit more idle drain than I'm used to. 5 hrs of SoT at Max brightness with 26% going to screen, 13% to idle, 9% to Google play services. Let me know if anyone wants more detail.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Thanks man! About touchscreen sensitivity I removed it cuz I found it quite bad but sure I'll add it back. About battery life, I was able to hit 11 hours sot of almost continuous usage which I find pretty nice.

Nice! Glad it works good. I'll look into QC but yeah I can confirm that idle is kinda ****ty. I'll see what I can do about that
[Essential Phone ROMs, Kernels, Recoveries, & Other] agmyers76259:
Just to confirm----this uses Android P as a base? If so, this should be bigger news given Android P was just released as a standard build...
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
So this rom has no quick charging?
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
It does, charged at over 2000ma with my laptop
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
How has battery life been with the new update?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Yes, it does. Tho, the kernel could have been run on P without the P base too
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
Hmm you're not the first person to get double the screen on time that I do. I'm starting to think there's an issue with my phone's battery. What brightness level do you usually use?

My bad, I meant to say that there is no issue with QC, I missed it when I used other rooms/kernels. Only thing I could suggest is the adreno idler. But performance is probably the best experience yet so I'll sacrifice some battery

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

See:

I use the **** out of my phone (top), constant retheming, streaming, powering a headphone amp or dac, GPS. But there's two extremes
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
11 hours sot that's amazing! Awesome stuff, and thank you very much for adding that back in, I was only asking because I have some games on my phone that are very touch screen sensitive and it makes it very hard to play them on certain ROMs, but AICP has always been my favorite since the HTC days. Cheers!

Edit: also wanted to mention that when I was digging through build props and such I noticed a line saying this ROM is treble enabled, so that should be fine for a base for treble as well! Go AICP! ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Oh alright, I thought QC was broken :silly:. Glad that everything works fine. As for adreno idler, tbh I just forgot to add it :)). I'll see for some tuning that gives better battery and still holds performance. For how I got so much sot, I mentioned continuous usage. My usage was youtube, social media, web browsing and just a tiny bit of gaming too, all on just under medium brightness as I can't find myself needing more light day or night. On a day at school I get like 7 hours of sot with 14-16 hours of total usage
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Thank you! That will come in the next build, tomorrow or overmorrow
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
your sot is incredible are you rooted?.

I was on P and had over 6 hours....im on another rom now barely getting 3. I will definitely be coming to this rom. dont know if i should wait it out until the next build you mentioned.

I did some messing around over the weekend to find out wiping in twrp instead of fastboot -w (which wipes internal) works fine when flashing to a different rom. its a pain to wipe internal storage and have to manually restore everything. So moving to your rom should be a quick process.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Sometimes rooted sometimes not. I do even 20 kernel builds per day so keeping root in-between would be a pain. And yeah, to flash it just go into twrp, wipe system, dalvik and data (not internal) and flash and you're set
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
Loving the rom!!

Will there be a fix for camera? I can record video but playback doesnt work... I can record a video for like 5 seconds and it will show a different record time that doesnt play.
[Essential Phone ROMs, Kernels, Recoveries, & Other] agmyers76259:
If coming from LOS and doing a full wipe, how long does this usually take to boot the first time? It's been well over 5 minutes at this point---I installed using the ADB sideload process...any thoughts?

Thanks in advance
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
​

I came from LOS and wiped 3 times in twrp and flashed in twrp as well. Booted up within a few minutes.
[Essential Phone ROMs, Kernels, Recoveries, & Other] agmyers76259:
Odd...yeah still waiting for it to boot - I even followed the steps before and re-flashed (flash-all) the OPM1.180104.092 firmware on both slots before booting TWRP, wiping, then sideloading - anyone have any other suggestions? Really want to test out this rom - doesnt even boot LOOP---just stays with the AICP boot screen color flashing as if its still going...been over 10- minutes now...

---------- Post added at 11:20 AM ---------- Previous post was at 11:09 AM ----------

Going to just do the fastboot-w command as well, then copy the file to internal storage (vs sideload), and try again...ill report back...

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

***FYI on Slot B in case anyone is interested, don't (think) this matters, but maybe im missing something

---------- Post added at 11:27 AM ---------- Previous post was at 11:21 AM ----------

***SUCCESS! Guessing the fastboot-w did it...
[Essential Phone ROMs, Kernels, Recoveries, & Other] ~~Tito~~:
Amazing battery life and performance. I'm actually surprised at how good this is.

My only gripe is with what's been plaguing all custom Oreo builds it seems... Video recording.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Thanks! Fixed in next build coming in a few hours ;)
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Glad you like it! Fixed and tested, works fine now, coming with next build
[Essential Phone ROMs, Kernels, Recoveries, & Other] agmyers76259:
Awesome! assume its ok to dirty flash this build (twrp-wipe davlik/cache yes?) - will this arrive today?

SOT is fantastic after some subjective testing compared to LOS (even with the caelum kernel mod)---GREAT WORK! Debating on whether I want to root as well...
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
Awesome news to hear!

I want to achieve the same sot as you. What is your current setup to get the sot you have?

These are my first battery stats after flashing the rom Wednesday night:
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Can't wait thanks! Just out of curiosity, is the missing touchscreen taps on games fixed in the next build?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Nice! Sure, a dirty flash is alright. If there is a need to clean flash I'll specify it before. Root works just fine, I only do it for debugging :))

I don't modify anything. Everything is tuned out of the box so no one has to touch it and I actually suggest not touching anything. There was a bug with deep sleep, now *hopefully*, more sot on a longer period of time

I should say thanks :)). Hopefully it's fixed, I added back the touch settings from lineage, otherwise I don't have anything different for touchscreen compared to others.

Eta: 30 mins
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Alright guys. Sorry been for a beer :p. Here is the update:

Rom: https://transfer.sh/jCz3A/aicp_mata_o-13.1-UNOFFICIAL-20180601.zip

Kernel: https://transfer.sh/wz5oI/boot.img

A lot of work on the kernel. Rebased, updated to latest version, adreno idler and boost, a lot of misc work done on it. Also undervolted to keep it cool. Fixed some important bugs like video recording and others

Guys as always I'm waiting on your feedback! Tell me if it's any better or worse or if you have any problems. I'm always open! And why are you people so quiet? :)). The thread has 6k+ views and only 120 replies?? I encourage off topic and friendly banter here. You can talk about anything, how was your day, any thoughts. It's not just about the rom, we're a family here :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Thanks again, going to download and Flash this right away! I also wanted to say I really appreciate how prompt and involved you are with the xda community, it's definitely refreshing having such a great dev here.

Time for some AICP, crack a beer fellas!

Edit: also I'm curious why is this ROM in pre-official status, is it because gapps are shipped in?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Thanks man! Cheers :). I usually get involved with people and especially my projects. I'm not here to be a robot and only ship builds, I like making friends too ;). About the pre-official status, the only reason for that is that I want to make sure it deserves official status. Having gapps is no problem, I actually spoke with the team and I could have gotten official status even last month. I only need to say I'm ready and it's up. Before that I just want to make sure I ship the best rom and kernel this device ever had and that everyone likes it, I do like 20 kernel builds per day till I'm happy with what came out and I deem it deserving to be put up
[Essential Phone ROMs, Kernels, Recoveries, & Other] indian84:
Dude.

Kernel status is still permissive?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Yep for now it is. Switching from eas to hmp means power hal stuff too and other crap and I didn't focus on checking every selinux permission. You could probably run it in enforcing no problem and will be enforcing before official, just didn't find time for it and neither a reason to be honest, people are way too scared these days
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
[MENTION=6760768]KuranKaname[/MENTION] well I just got the ROM installed, so far great in performance but I'll have to gauge it over the next couple days to see how it plays out, so far so good though, had one minor FC with SystemUI but I think that was my fault for messing around with the phone as soon as it booted up. No Magisk issues either. Touchscreen settings are in of course as well.

Solid asf!
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
Thanks again for the update and all the work you do.

Im rooted and on 527 build. Do i flash new build then boot.img then magisk in that order in twrp?
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Don't quote me on it but I believe if you wanted to retain your data, you'd fastboot flash TWRP, flash the ROM, boot the ROM, go back to fastboot, flash TWRP again, flash boot.IMG, and finally Magisk 16.4, then reboot.

However, I never dirty flash so my steps posted above may be inaccurate, but that's just what I'd do if I was dirty flashin'.
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
I believe you are right....i dont wanna do the wrong thing. My phone is set up and working perfectly.
[Essential Phone ROMs, Kernels, Recoveries, & Other] charlatan01:
I dunno about you guys, but the download speed for me is painful. 5 hrs if I'm lucky at this rate...

Thanks for the ROM and your prompt support!
[Essential Phone ROMs, Kernels, Recoveries, & Other] jmkarnai01:
Starting to like the positivity of this thread. On Android p preview and some how my data is f'ed. Backing up everything now to give this room a whirl. Will banter and give feed back also.
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
I came from P...it was a nice experience but Bluetooth wasnt working right. flashed this rom and wont be looking back....awesome rom right here
[Essential Phone ROMs, Kernels, Recoveries, & Other] ~~Tito~~:
I'm on the new build, video recording works! However... there is another issue now. When you record and make sudden movements there is slight banding in the video. It looks choppy if you move the camera quickly.