yashsingh1/xdaforums huggingface dataset:
[Essential Phone Guides, News, & Discussion] daverup:
The reddit thread links the GSI system image, the vendor image, and a custom boot image to get the PH-1 flashed successfully. The trick is that TWRP isn't going to install, so probably not Magisk either.

I checked the Wifi, Mobile Data, and voicecalls working. Did not check BT.

If anyone knows how to get Magisk working with this, please post instructions.
[Essential Phone Guides, News, & Discussion] gk1984:
I haven't tried the Preview yet, but if I were going to flash Magisk, I'd copy the boot image to my phone, open Magisk Manager, tap Install and choose Patch Boot Image. Then select the boot image. It'll make a new, patched boot image in addition to preserving the original. Then flash the patched boot image via Fastboot.
[Essential Phone Guides, News, & Discussion] daverup:
I did run magisk manager with the boot image copied to the phone, but I didn't get an install option. Is there a specific location for the image?
[Essential Phone Guides, News, & Discussion] gk1984:
Open Magisk Manager. Top should indicate if you have Magisk installed, update available, etc. To the right of that is an install button. Then it'll ask how to install.

The boot image will be wherever you saved it to on the phone, the patched boot image might default to the same directory, but mine usually goes to the downloads folder once patched.

https://images.app.goo.gl/NWF4h47zQQiyJNYGA

That link should show the install button and the option to patch a boot image. But it's not necessarily the proper steps.
[Essential Phone Guides, News, & Discussion] daverup:
Thanks for the help.

I got a little further. I must have failed to install Magisk Manager properly the first time,

This install worked and I was able to patch the boot image. I then attempted to flash it using fastboot, and got a failure.

FAILED (remote: 'unknown command')

fastboot: error: command failed

The boot image was modded by someone on reddit, maybe there is something in there causing problems.
[Essential Phone Guides, News, & Discussion] gk1984:
You copied the patched boot image back to your PC? Did you use the following command?

fastboot flash boot_a magisk_patched.img

Replacing boot_a for the slot you're on?

It's also very possible that Magisk isn't compatible with Android 11, which is more likely the case than something about whoever built the boot image.

The errors tell me you typed something wrong. Maybe wrong command or the patched boot couldn't be found.
[Essential Phone Guides, News, & Discussion] newbieandroid:
That's the boot image he grabbed from the reddit link.
[Essential Phone Guides, News, & Discussion] hedphurst:
I haven't tried installing Android 11 yet, but the TWRP encryption issue you're describing has been an issue for quite some time. On Android 10, you can get around the issue by booting into the system, turning off screen lock, then remitting back into TWRP. With no screen lock set (no PIN, pattern, fingerprint, etc), TWRP won't ask for a password. Can't promise it's the same with A11, but I would guess that it'll work the same way.
[Essential Phone Guides, News, & Discussion] mrrocketdog:
might try this one (if you havent already.) i am not on 10 or 11 but i've had no problems with it.

(yes , this is the guy with "black screen of ……… wont do a darn thing. but i promise it was from something else , trying to go back to nougat ; and not this twrp [emoji4]

(and apologies for dropbox link. could not get it to load from xda site.)

https://www.dropbox.com/sh/d37cz469ejyrsmv/AAB9m8OZtLdf0jXrnq9srYtra?dl=0
[Essential Phone Guides, News, & Discussion] newbieandroid:
Thanks I'll test it out, got Magisk working fine a few days back. Wanted to upgrade the Adreno driver but like many people mentioned TWRP isn't working. If this doesn't work I'll see if I can create a Magisk module with the new OpenGL/Vulkan drivers.
[Essential Phone Guides, News, & Discussion] Mostafa Wael:
Beta 2 seems to mess around with a lot of stuff. I'll stick to beta 1 for now. Been rock stable and battery life is decent enough to last me through the day. Maybe I'll change to a custom ROM or beta 2 after I'm done with my final exams and my thesis defense :D
[Essential Phone Guides, News, & Discussion] mrmrkmail:
for me beta 2 works very stable. i am missing the ability to modify the system files with magisk, which doesn't work at the momement.

user farmerbb provided us a magisk module with the ability to activate fixes for the essential phone. this module includes the fix for the front camera cutout and the circled icon shape. what the module does is to copy the nessesary files to the system folder.

i have repacked the module with all files including the sound files, the boot animation, the statusbar overlay and the circled icon shape. the module is a zip file which can be modified. for example you can delete the boot animation.zip file or delete some sound files if you don't want them in the media folder. you can also add your own accent color in the overlay folder. for the sound files there is nothing to do, but overlays must always be activatetd via adb debug for example with the following commands:

[B]adb shell cmd overlay enable --user 0 com.android.theme.icon.circle[/B] (circled icon shape)
[B]adb shell cmd overlay enable --user 0 com.android.internal.display.cutout.emulation.essential[/B] (display cutout for the front camera)

https://drive.google.com/file/d/1BK0NYREoQu0VgWy381u3cyagtaUiGFCT/view?usp=sharing
[Essential Phone Guides, News, & Discussion] newbieandroid:
Pretty large boost in GPU performance with the latest GPU drivers. Downloaded the module from here: https://xdaforums.com/lg-g5/development/driver-adreno-5xx-gpu-drivers-t4042619/amp/

3Dmark Sling Shot Extreme:

OpenGL: 3633

Vulkan: 3312
[Essential Phone Guides, News, & Discussion] AceShinobi:
Did you flash it using the LineageOS Recovery?
[Essential Phone Guides, News, & Discussion] newbieandroid:
I used Magisk
[Essential Phone Guides, News, & Discussion] DAE1964:
New system image is out.

RPB2.200611.012

System is still read only. Everything else seems good

Oh well, wi-fi hotspot still broken.
[Essential Phone Guides, News, & Discussion] Mostafa Wael:
I think this hotspot thingy is just the same as all the broken stuff. It's part of the deal of booting a GSI on this phone. Maybe if someone looked into that and tried to patch the boot.img just like when the WiFi was fixed with this boot.img file linked earlier.

So I wouldn't get my expectations any higher than what we have now, which is not bad at all.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
flashed the new image. works like the previous one and haven't found any changes. installed magisk modules does work out of the box. no need to reinstall/re-enabling them.
[Essential Phone Guides, News, & Discussion] dememted1:
If you want AptX/AptX HD Bluetooth support copy the two files in the attached zip to /system/lib64/

libaptX_encoder.so

libaptXHD_encoder.so
[Essential Phone Guides, News, & Discussion] DAE1964:
Bluetooth tethering work in place of wi-fi hotspot

Only thing I need is ability to edit or replace the host file.
[Essential Phone Guides, News, & Discussion] newbieandroid:
VoLTE-Fix can be located here: https://github.com/KhushrajRathod/VoLTE-Fix/releases

No clue how to flash it since TWRP isn't working on our Essential Phones.
[Essential Phone Guides, News, & Discussion] potatohead:
can anybody confirm whether 'Hide Magisk Manager' is working on latest Canary build for Essential PH-1 running latest GSI Android 11 Beta (RPB2 012)? Thank you,
[Essential Phone Guides, News, & Discussion] newbieandroid:
Just tested it and it works like it should.
[Essential Phone Guides, News, & Discussion] DAE1964:
So I unpacked and repackaged the system image. Then installed on the other slot and I had read/write working.

System became unstable.

Switched back to other slot and was able to edit the host file but not replace it.

Reinstalled adaway and it now works.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
new beta is out:

https://developer.android.com/topic/generic-system-image/releases
[Essential Phone Guides, News, & Discussion] dememted1:
PLAYTIME.... lol
[Essential Phone Guides, News, & Discussion] mrmrkmail:
i have flashed the new beta.

image includes some fixes for gestural navigation, which does react smoother.

magisk modules does work out of the box (front camera display cutout for example).

system folder is read only so far.

hotspot does not work (switch goes on and off)
[Essential Phone Guides, News, & Discussion] DAE1964:
All working as with previous build for me.

Ordered the Google pixel 4a. Can't wait to play with something new.
[Essential Phone Guides, News, & Discussion] potatohead:
boot image probably needs some work for hotspot to function once final is out :)
[Essential Phone Guides, News, & Discussion] DAE1964:
Bluetooth tethering works just as wi-fi hotspot should.
[Essential Phone Guides, News, & Discussion] SirDigitalKnight:
With the imminent release of 11 coming soon is there a one stop place I can go to learn how to install it on my PH-1?

I am still running stock 10 on mine but would like to load the official release of 11 as soon as it comes out.

Anyone have step by step, easy to follow instructions to do that?
[Essential Phone Guides, News, & Discussion] DAE1964:
Have a look here.

https://www.pixelspot.net/2020/03/2...-11-developer-preview-on-the-essential-phone/
[Essential Phone Guides, News, & Discussion] logitechor:
Using the instructions I have Beta 3 installed. Only problem I am unable to flash the Wifi fix. So dont have wifi.
[Essential Phone Guides, News, & Discussion] dememted1:
Unable?
[Essential Phone Guides, News, & Discussion] logitechor:
When I fastboot flash the newpatched image file I get a parse 0 error. Still boots into Beta 3. Have cellular but not wifi. Used bluetooth tethering. Changed phone apk. Can use phone.
[Essential Phone Guides, News, & Discussion] DAE1964:
It worked fine on my ph-1.

Try downloading the boot image again.
[Essential Phone Guides, News, & Discussion] potatohead:
is wifi hotspot working for you on the newest beta 3? it didnt work for [MENTION=8878926]mrmrkmail[/MENTION] in his post above (switches off immediately after being turned on) and if i remember correctly, also didnt work out for some others on beta 2 etc. i m still on official android 10 though.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
wifi hotspot does not work on beta 3 so far- switch immediately goes off after activation.
[Essential Phone Guides, News, & Discussion] potatohead:
yes, that is my understanding from your feedback and also from other beta testers few pages back; however, [MENTION=4597357]DAE1964[/MENTION] suggested otherwise, thus i was seeking further clarification from him.
[Essential Phone Guides, News, & Discussion] DAE1964:
I meant to say Bluetooth tethering works in place of wi-fi hotspot.

Wi-fi hotspot has not worked for this phone on Android 11 from the beginning.
[Essential Phone Guides, News, & Discussion] logitechor:
I did and the full error is:

Fastboot error: couldnt parse partition size '0x' -
[Essential Phone Guides, News, & Discussion] DAE1964:
Try fastboot erase boot_a or b

Then flash it.
[Essential Phone Guides, News, & Discussion] logitechor:
I did - bummer. Same error. This time it took out the boot image. I had to reinstall. So the erase command worked.

---------- Post added at 12:59 PM ---------- Previous post was at 12:06 PM ----------

I was given this command:

I did some research on this, can you try this command instead?

fastboot -i 0x2e17 flash boot_a unsigned-new.img

I will let you know.
[Essential Phone Guides, News, & Discussion] logitechor:
I was given this command:

I did some research on this, can you try this command instead?

fastboot -i 0x2e17 flash boot_a unsigned-new.img

I will let you know. I tried this command and I get error with -i
[Essential Phone Guides, News, & Discussion] DAE1964:
Maybe you need to

Critical partition unlocked: run the command fastboot flashing unlock_critical in bootloader (THIS WIPES USER DATA, BACKUP BEFOREHAND),
[Essential Phone Guides, News, & Discussion] q13017:
I was suffering from the same issue I ended up downloaded an older version of minimal adb. :cowboy:

the annoying boot__a issue disappear! Now you only need to use fastboot flash boot (patched boot).img
[Essential Phone Guides, News, & Discussion] logitechor:
Excellent! On Beta3 with wifi. Totally awesome of all of you: minimal adb was the answer.
[Essential Phone Guides, News, & Discussion] TacoLoco:
Still no WiFi for me, flashed boot image from reddit thread.. It detects the networks I can enter password and then it only says "Saved".. Anyone an idea?
[Essential Phone Guides, News, & Discussion] logitechor:
I was given several ideas. The one that worked for me was using an earlier version of Minimal ADB. Other ideas may work too.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
to flash the beta i was using the official driver provided by essential :

https://drive.google.com/file/d/10lWmJdpANyUxvicLmz9wagdS3ASqO5Mv/view?usp=sharing

boot image:

https://drive.google.com/file/d/1Ph3ax0U1BL5OclGwmg6pCxnGX5gaZQxV/view?usp=sharing

vendor image:

https://drive.google.com/file/d/1YzaOH_CUOIb4QUc2VpPsyO9TuYHC4_Tz/view?usp=sharing

fastboot comnands i used to flash the beta:

fastboot flash vendor_a vendor-QQ1A.200105.088.img
fastboot reboot-bootloader
fastboot flash system_a system.img
fastboot reboot-bootloader
fastboot flash boot_a boot.img
fastboot reboot-bootloader
fastboot set_active a
fastboot reboot-bootloader

edit:

drivers from essential does already include adb and fastboot.
[Essential Phone Guides, News, & Discussion] logitechor:
It worked for me too. Thank you.

---------- Post added at 05:45 PM ---------- Previous post was at 05:43 PM ----------

Two of us have had success using minimal adb.
[Essential Phone Guides, News, & Discussion] IronRoo:
Got Tasker app then you can do this on A11:fingers-crossed:

https://www.xda-developers.com/tasker-test-hijacks-android-11-power-menu/
[Essential Phone Guides, News, & Discussion] litmus4to:
I Have a Engineer Model PH-1

I am going to try this with my PH-1 and see if it runs better on the engineer model. Its what the phone is for right? I remember the day this happened and being so sad..ok ill give a report. im gonna do 2 ph-1s ans see if there is a difference.
[Essential Phone Guides, News, & Discussion] dememted1:
Auto brightness working....

Copy attached apk to /system/product/overlay/
[Essential Phone Guides, News, & Discussion] hooutoo:
Has anybody successfully done this? Every time I try to copy these modules into /system/lib64 I get an error message with copy fail. My PH1 is of course rooted so I'm thinking this my be a 32 bit vs 64 bit problem? Any suggestions?
[Essential Phone Guides, News, & Discussion] dememted1:
You have to mount /system/lib64 as writable in a terminal emulator.

su

mount -o rw,remount /system/lib64
[Essential Phone Guides, News, & Discussion] hooutoo:
Thanks for the reply but not sure that's it. I'm using Root Explorer which is telling me the folder /system/lib64 is / was mounted r,w and copy still failing.

Just to be clear, I did run above commands in terminal emulator. The remount gave me a whole list of modified (I believe) files which I think is all files in folder being changed to r,w.
[Essential Phone Guides, News, & Discussion] dememted1:
System is read only on Beta3 Use attached magisk mod
[Essential Phone Guides, News, & Discussion] hooutoo:
You mind me asking which version of Magisk you're using? I've got 6c8fe465 which is a canary build of Magisk. This ran just fine, modifying boot.img and root phone no problem. I then installed installed Manager version eec19ba9 (293) which seems to run fine but everytime I run it, it just takes me back to home screen showing first, Magisk and an install option and then below the option to install Manager. BTW, it says both are installed???
[Essential Phone Guides, News, & Discussion] dememted1:
Im using same 6c8fe465. I think i'd uninstall manager and start again after reboot

Don't forget these are canary builds for testing
[Essential Phone Guides, News, & Discussion] hammer7t:
Do you guys see the OEM Unlock setting in Developer Options on the GSI image? Maybe I missed it...
[Essential Phone Guides, News, & Discussion] mrmrkmail:
seems to be normal... no entry in developer option.
[Essential Phone Guides, News, & Discussion] hammer7t:
Is this normal because it is a GSI? My pixel 2xl is running the 11 beta but has the option greyed out.

Also I realized that video recording is wonky and randomly stops recording the video but it does record the audio part of the video. Clearing data and force stopping does not seem to fix it and I have to restart for it to work again. Then stops randomly again. Tried other camera app and same result. Anyone have this issue?

Thanks.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
did you try the following gcam mod, because it works very well for me so far:

https://www.celsoazevedo.com/files/android/google-camera/f/changelog593/
[Essential Phone Guides, News, & Discussion] hammer7t:
Had issues with it. Reverted to stock for now. Thanks!
[Essential Phone Guides, News, & Discussion] mrmrkmail:
sorry to hear.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
new system image is ready to download

https://developer.android.com/topic/generic-system-image/releases

edit: just flashed it over the previous build with no issuses.

hotspot does not work in this release... system is read only.
[Essential Phone Guides, News, & Discussion] potatohead:
probably need guru to help patch the boot image for hotspot to work, if problem is linked to original wifi problem.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
i agree
[Essential Phone Guides, News, & Discussion] BlockOfDynamite:
I used the latest GSI build RP1A.200720.009 and the only issues I seem to be having are 1) slight touch interface lag and 2) no LTE on sprint. I assume it's missing the necessary system apps to provision itself on Sprint. Not sure if there's a way to fix that. Also I can't remember if we had access to an engineering menu via the dialer on android 10, but we don't on android 11. There's the regular *#*#4636#*#* but nothing else special like a band selection or anything. Also APN editing and selection is very broken.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
i have just tested the following gcam mod and this version does work very well for me especially in normal video recording ecxpet slowmo does'nt work very well.

https://www.celsoazevedo.com/files/android/google-camera/f/changelog1329/
[Essential Phone Guides, News, & Discussion] payas0:
Doesn't seem to work anymore.
[Essential Phone Guides, News, & Discussion] DAE1964:
System partition is read only. Copy and paste no longer works. You must be rooted and use magisk module to move APK to system.
[Essential Phone Guides, News, & Discussion] baboon23:
Guys, that's a lot of odd steps indeed

Is it at all possible that one of the Lineage/havoc/whatever devs will create an all in one ROM on android 11 that works without strange external zip flahes ?

Of course I mean someday in a few months, not now.
[Essential Phone Guides, News, & Discussion] dememted1:
Heads up people... I have just installed the latest lineage os rom with their boot loader and hated it as usual lol so i flashed Google R GSI after wiping system and it worked. Better than our aosp vendor and patched boot. Seems that adaptive brightness works out of the box along with notch spacing.
[Essential Phone Guides, News, & Discussion] hammer7t:
Interesting. Does the wifi hotspot toggle on and do the LED lights blink? How about the camera...I had some issues...not sure it is prevalent. Anything broken at all?

Thanks!
[Essential Phone Guides, News, & Discussion] dememted1:
Seem to have notification led (only tested in telegram) but hotspot still a no go.

Also i notice there is a /vendor/overlay which seems to be writable so we can add overlays a little easier.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
thanks for the info.
[Essential Phone Guides, News, & Discussion] hammer7t:
I tried it and most stuff works but phone app is broken... No audio, yes defaults are set and it dials fine, just no sound or mic. I read that we may need adjustments to the build prop file but haven't had time to do that. Will look at it later.

Do you have this issue? Thanks.
[Essential Phone Guides, News, & Discussion] mrmrkmail:
"Google Phone app:

if you want to use the official google phone app on this device, you have to join the beta in google play store: https://www.google.com/url?sa=t&source=web&rct=j&url=https://play.google.com/store/apps/details%3Fid%3Dcom.google.android.dialer%26hl%3Den_US%26referrer%3Dutm_source%253Dgoogle%2526utm_medium%253Dorganic%2526utm_term%253Dgoogle%2Bphone%2Bapp%26pcampaignid%3DAPPU_1_OiliX5mIEIyvrgSumqGABA&ved=2ahUKEwiZjdWM-e3rAhWMl4sKHS5NCEAQ8oQBMAB6BAgOEAQ&usg=AOvVaw3o0Unc3SKkqC2LVHYsZbs8"​

have you tried the official beta google phone app, because it works flawlessly with the official vendor image, boot image by essential and gsi from google.
[Essential Phone Guides, News, & Discussion] hammer7t:
Thanks, but this was in reference to using the LOS boot and vendor images with the 11 GSI. And yes I tried both the stock dialer and the Google phone app.
[Essential Phone Guides, News, & Discussion] logitechor:
I now have Android11 with Magisk running. I flashed the last release of 10. Used Minimal ADB for all but fastboot -w which I used the full recommended ADB. All seems fine now.
[Essential Phone Guides, News, & Discussion] newbieandroid:
Anyone get auto brightness working?
[Essential Phone Guides, News, & Discussion] mrmrkmail:
never was a fan of google's integrated automatic brightness control, so i am using "lux" (https://xdaforums.com/showthread.php?t=1944921) to control the brightness of the display.

lux may crash at start, this is because you have to enable "usage data access" and "screen overlay" for lux first.

How do enable "usage data access" and "screen overlay":

https://xdaforums.com/showpost.php?p=82933013&postcount=148
[Essential Phone Guides, News, & Discussion] logitechor:
Good application.
[Essential Phone Guides, News, & Discussion] hammer7t:
So here's an update...a good one. I compiled from source based on the instructions on the essential GitHub page and the build is great! Everything works including adaptive brightness, LED blinking light, wifi hotspot. I need to test this a bit longer. Of course it is vanilla aosp with almost nothing extra.

Now I need to figure out a good way to get gapps installed since I am not able to get twrp to work. Is there a way to use magisk to install gapps... Have not bothered rooting with this phone and I did try patching the boot image with magisk manager but it does not work. Gapps also does not have an Android 11 version of gapps but I saw bitgapps did. Any thoughts on this?
[Essential Phone Guides, News, & Discussion] emowing:
you can try https://xdaforums.com/apps/magisk/module-systemless-beansgapps-mini-7-1-x-t3611362
[Essential Phone Guides, News, & Discussion] mpena:
There is a gsi with gapps. The boot image was that you compiled with the sources of essential. At least I understand that in the instructions of essential.
[Essential Phone Guides, News, & Discussion] logitechor:
I suppose the idea is to improve on the functionality - WiFi hotspot being one. I like Lux for adaptive brightness. Magisk helps with audio tweaks through viper.
[Essential Phone Guides, News, & Discussion] hammer7t:
Thanks, I'll take a look.

Right, I wanted to see if some of the challenges with the Android 11 GSI exist if I build AOSP from source and I have been able to confirm that they don't and things work quite well like stock 10.

Also, I downgraded my essential stock version on the other slot and installed twrp. Of course the touch issue was there, but I am still able to do most things using the twrp adb shell commands from my desktop. I am having some challenges with BitGapps for Android 11 and will need to look at this a bit more over the weekend.