[TODAYS-SEC-PATCH-LEVEL][ROM][UNOFFICIAL][P][UsU/non-UsU] /e/ OS | BYE Google, HELLO Privacy!

Search This thread

pealfa

Member
Mar 15, 2023
7
1
Hello.
On my LG G4-H815 GPS does not work at all on /e/OS 1.8.1 or lineageOS 1.8.1 (also not on Samsung S4 - jfvelte).
Is there anything I can do?
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,146
15,403
127.0.0.1
OnePlus 7T Pro
The /e/OS website currently indicates Android 11 is the end result at least for the Murena phones that come installed with /e/OS. Is this also true these CUSTOM builds for the G4? I recently learned I need Android 10 for using a new app for work.

Edit - Perhaps this was a dumb/naive question. My apology for this. This morning I thought that it may not make sense to need/use a Google Play Store App (Duo Mobile) for this Os. If it can accommodate this app then great if not I may be required to use LOS.
The e OS website indicates PIE as the latest official build for the g4. (see OP). This thread is about PIE even for the custom builds I offer.
There are more versions avail though:

A11: https://forum.xda-developers.com/t/...-vs986-e-os-bye-google-hello-privacy.4478815/

A10: https://forum.xda-developers.com/t/...s991-h81x-us991-vs986-lineageos-17-1.4397805/

All my custom builds come with google play installed. this app can be disabled if wanted though. Pls check Difference from pure /e/ or: why are the builds CUSTOM? topic in the OP for details.

Hello.
On my LG G4-H815 GPS does not work at all on /e/OS 1.8.1 or lineageOS 1.8.1 (also not on Samsung S4 - jfvelte).
Is there anything I can do?
there is no 1.8.1 version neither for eOS nor for LOS. this thread is about PIE which is A9. if you have issues with any other version report in the proper thread. also I do not support Samsung S4 . and this is the complete wrong section to report issues on Samsung phones anyways.
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,146
15,403
127.0.0.1
OnePlus 7T Pro
Any one else have an issue with camera? Its always busy by process id:0. i can run it only once after reboot, and after every try to open camera shows the error, all other apps could not access it also. i tried to disable all apps permission to camera without success. could you recommend any solution for this.
flashlight unavailable also from topbar icon and from apps
it feels like it started from switching to titan kernel, but i`m not sure its a reason
are you sure that you have the correct bootloader stack installed? See Requirements topic in the OP
 

thachdangss

Member
Apr 5, 2018
7
2
Hi all, I couldn't find the rom for F500_usu'd, is there a version for that variant, or it can use with other variants, thank you, and sorry for the noob question.
 

LinuxFan82

Member
Oct 28, 2020
8
0
Hi steadfasterX, thanks for your awesome work!

Today I replace LineageOS 16.0 with e-0.23-p-20230317-CUSTOM-h815.zip. Before I flashed SHRP_v3.1_stable-Official_g4-1676585551.zip and h815_20p_bootloader_20p_modem_TWRP-flashable.zip and wiped all partitions except "Encryption metadata" and then did "Format data".

I see the "e" with a bouncing ball and for a second a message popping up "Factory reset - rebooting..." and then my phone reboots into recovery.

Tried flashing everything again to no avail.

The first three digits of my serial number are 602.
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
6,146
15,403
127.0.0.1
OnePlus 7T Pro
Hi steadfasterX, thanks for your awesome work!

Today I replace LineageOS 16.0 with e-0.23-p-20230317-CUSTOM-h815.zip. Before I flashed SHRP_v3.1_stable-Official_g4-1676585551.zip and h815_20p_bootloader_20p_modem_TWRP-flashable.zip and wiped all partitions except "Encryption metadata" and then did "Format data".

I see the "e" with a bouncing ball and for a second a message popping up "Factory reset - rebooting..." and then my phone reboots into recovery.

Tried flashing everything again to no avail.

The first three digits of my serial number are 602.
hm yea 602 is likely affected by the ILAPO but that is not certain.
when issues like these happen it is crucial important to use the factory reset in recovery as required stuff happens in the background when doing that.

so:

1. in recovery: factory reset
2. in recovery: format data
3. reboot recovery
4. flash the ROM
5. boot
6. if it still fails grab the boot logs (FAQ #7)
 

LinuxFan82

Member
Oct 28, 2020
8
0
Thanks for your fast reply. I did what you said:
1. in recovery: factory reset
2. in recovery: format data
3. reboot recovery
4. flash the ROM
5. boot

Still "e with bouncing ball", then reboots to recovery.

Tried to grab the logs:
adb pull /cache/debug/boot_lc_crash.txt
adb pull /cache/debug/boot_lc_full.txt
adb pull /cache/debug/boot_lc_kernel.txt

adb: error: failed to stat remote object '/cache/debug/boot_lc_kernel.txt': No such file or directory

/cache is mounted, but there's no folder "debug", only "backup", "backup_stage", "lost+found" and "recovery".

In "recovery" there's a last_log.gz and log.gz.

I did "Advanced / Copy Logs" but it looks like that's only a log of the recovery.

Recovery.log: https://bpa.st/KTEFU

Here is "adb shell dmesg" from within Sky Hawk: https://paste.systemli.org/?7bcb90c790ab61d4#FKLuVR6Dv2xbozmciWtZzskKhERFRPkw3iYpbVSQjRiY
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
6,146
15,403
127.0.0.1
OnePlus 7T Pro
Thanks for your fast reply. I did what you said:
1. in recovery: factory reset
2. in recovery: format data
3. reboot recovery
4. flash the ROM
5. boot

Still "e with bouncing ball", then reboots to recovery.

Tried to grab the logs:
adb pull /cache/debug/boot_lc_crash.txt
adb pull /cache/debug/boot_lc_full.txt
adb pull /cache/debug/boot_lc_kernel.txt

adb: error: failed to stat remote object '/cache/debug/boot_lc_kernel.txt': No such file or directory

/cache is mounted, but there's no folder "debug", only "backup", "backup_stage", "lost+found" and "recovery".

In "recovery" there's a last_log.gz and log.gz.

I did "Advanced / Copy Logs" but it looks like that's only a log of the recovery.

Recovery.log: https://bpa.st/KTEFU

Here is "adb shell dmesg" from within Sky Hawk: https://paste.systemli.org/?7bcb90c790ab61d4#FKLuVR6Dv2xbozmciWtZzskKhERFRPkw3iYpbVSQjRiY
hm ok a new build will arrive soon which has the whole boot debugging part re-worked. If nothing bad happens it will come today
 

f_4Strings

Senior Member
May 13, 2015
51
29
LG G4
Hello, here is a new /e/OS entry! :) I successfully flashed the /e/OS Custom (e-0.23-p-20230705-CUSTOM-h815_usu) on my Usu unlocked H815. Following the instructions in the OP the installation process went smoothly and flawlessly.
The OS runs smooth and the battery lasts long so that my G4 got new (google-less) life!
Thank you @steadfasterX . :)

SIM card and Carrier detected but I had to insert manually the APN to get phone and mobile data services. Bluetooth works as well.
EDIT: GPS works, too (made a quick test with Magic Earth)

So far I didn't flash the "G4-VideoLag-Fix" since it seems that I don't need it. In fact, I tried to run youtube videos on newpipe and they run flawlessly at 720p/60fps and in quite well even at 1080p/60fps.
Does the "G4-VideoLag-Fix" allow to make video recordings at 60fps, too?

I guess this /e/OS custom build is using OpenGL and not SkiaGL.
Code:
adb shell getprop debug.hwui.renderer
...returns
OpenGL

Should I switch to SkiaGL for video/graphical improvement?
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
6,146
15,403
127.0.0.1
OnePlus 7T Pro
Hello, here is a new /e/OS entry! :) I successfully flashed the /e/OS Custom (e-0.23-p-20230705-CUSTOM-h815_usu) on my Usu unlocked H815. Following the instructions in the OP the installation process went smoothly and flawlessly.
The OS runs smooth and the battery lasts long so that my G4 got new (google-less) life!
Thank you @steadfasterX . :)

SIM card and Carrier detected but I had to insert manually the APN to get phone and mobile data services. Bluetooth works as well.

So far I didn't flash the "G4-VideoLag-Fix" since it seems that I don't need it. In fact, I tried to run youtube videos on newpipe and they run flawlessly at 720p/60fps and in quite well even at 1080p/60fps.
Does the "G4-VideoLag-Fix" allow to make video recordings at 60fps, too?

I guess this /e/OS custom build is using OpenGL and not SkiaGL.
Code:
adb shell getprop debug.hwui.renderer
...returns
OpenGL

Should I switch to SkiaGL for video/graphical improvement?
the videofix zip is for those having even issues on lower fps so no need to flash it . if you decide to flash it there is no way back though and you need to flash it always again after any ROM upgrade or change.

you can switch to skia on-the-fly without reboot and check if that improves things for you. it does not hurt to try while skia might improves quality it has issues like screen flickering etc
 
  • Like
Reactions: f_4Strings

f_4Strings

Senior Member
May 13, 2015
51
29
LG G4
I've noticed that opening the "Open Camera" makes two ports listening on the tcp protocol. Here the netstat output:
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program Name
tcp    0       0    0.0.0.0:55555    0.0.0.0:*    LISTEN       -
tcp    0       0    0.0.0.0:55556    0.0.0.0:*    LISTEN       -
Closing the app doesn't close the two listening ports. The only way to close them is to reboot.
It seems that there's no in/out internet traffic for the Camera app according to Privacy Guard (no alert received), so the listening ports "seem" harmless....

I really would like to know more about that for having the chance to learn more! Even more of what I could learn in the last twenty days knowing all at once "/e/OS", SALT, the mAid linux distro and the Usu unlock procedure!
(Thank you again @steadfasterX). :)🙏

The argument has already been dealt here: https://forum.xda-developers.com/t/...ageos-15-1-14-1.3782722/page-52#post-78340136
Renaming the "libmmcamera_tuning.so" solves the issue of the "...opening ports" but I don't know if it breaks something in the Camera app and if it could be considered a "clean" solution. Applying the patch wouldn't be a quick and easy solution for me.

Is it worrying or harmless having those open listening ports and would it be worthy applying the patch?
 
  • Like
Reactions: steadfasterX

steadfasterX

Recognized Developer
Nov 13, 2013
6,146
15,403
127.0.0.1
OnePlus 7T Pro
I've noticed that opening the "Open Camera" makes two ports listening on the tcp protocol. Here the netstat output:
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program Name
tcp    0       0    0.0.0.0:55555    0.0.0.0:*    LISTEN       -
tcp    0       0    0.0.0.0:55556    0.0.0.0:*    LISTEN       -
Closing the app doesn't close the two listening ports. The only way to close them is to reboot.
It seems that there's no in/out internet traffic for the Camera app according to Privacy Guard (no alert received), so the listening ports "seem" harmless....

I really would like to know more about that for having the chance to learn more! Even more of what I could learn in the last twenty days knowing all at once "/e/OS", SALT, the mAid linux distro and the Usu unlock procedure!
(Thank you again @steadfasterX). :)🙏

The argument has already been dealt here: https://forum.xda-developers.com/t/...ageos-15-1-14-1.3782722/page-52#post-78340136
Renaming the "libmmcamera_tuning.so" solves the issue of the "...opening ports" but I don't know if it breaks something in the Camera app and if it could be considered a "clean" solution. Applying the patch wouldn't be a quick and easy solution for me.

Is it worrying or harmless having those open listening ports and would it be worthy applying the patch?
well yea that is a thing here. It seems libmmcamera_tuning.so should never go into a (final) ROM.

All refs I found to that library and its calling functions (https://gitlab.com/search?search=tu...815852&search_code=true&repository_ref=master) are related to internal tests and nothing we want to have in productive. Likely they use it for internal test communication and that's also why you do not see any traffic there. Having ports like that open is really not cool though.

so yes removing/renaming that file should not cause any issues (I am 99.9999% sure), while it would be good if you can test everything is still working after a reboot (if you haven't already).

that means rename:
- libmmcamera_tuning.so

then reboot, test and if all is fine do the same for:
- libmmcamera_tuning_lookup.so

Also try at least 1 other camera app just to be sure. The only "test" needed is to see if you can start the camera, take a pic and video. if that is working fine (which I am pretty sure it is) then we can remove that lib completely.

thanks for the investigation and feedback!
 

f_4Strings

Senior Member
May 13, 2015
51
29
LG G4
well yea that is a thing here. It seems libmmcamera_tuning.so should never go into a (final) ROM.

All refs I found to that library and its calling functions (https://gitlab.com/search?search=tu...815852&search_code=true&repository_ref=master) are related to internal tests and nothing we want to have in productive. Likely they use it for internal test communication and that's also why you do not see any traffic there. Having ports like that open is really not cool though.

so yes removing/renaming that file should not cause any issues (I am 99.9999% sure), while it would be good if you can test everything is still working after a reboot (if you haven't already).

that means rename:
- libmmcamera_tuning.so

then reboot, test and if all is fine do the same for:
- libmmcamera_tuning_lookup.so

Also try at least 1 other camera app just to be sure. The only "test" needed is to see if you can start the camera, take a pic and video. if that is working fine (which I am pretty sure it is) then we can remove that lib completely.

thanks for the investigation and feedback!I went through all the steps and did some quick tests by trying the 'standard', 'HDR', 'macro' and 'EV filter' photo modes on both jpg and raw (dng) files. I also tried some FHD videos. I didn't notice any significant difference from having (or not having) the two shared libraries, but the two closed ports :D
Thank you very much for your detailed answer!
I went through all the steps and, after renaming the two shared libraries (in two different steps), I did some quick tests (for each step) by trying the 'standard', 'HDR', 'macro' and 'EV filter' photo modes on both jpg and raw (dng) files. I also successfully took some FHD videos. I didn't notice any significant difference from having (or not having) the two shared libraries, but the two closed ports!! :D

I rebooted twice, and tested twice for each library renaming. Maybe I could be wrong, as I only checked a few options for photos and videos, but everything seems to be working fine; there are many combinations for "Open Camera" photos and videos options that would take time to test yet, but "...probably" if there were problems they would have already occurred in these quick tests.

At last, I installed "Libre Camera" from the FDroid repository and it worked fine too, by making photos and videos using the two cameras (front and rear).
 
Last edited:
  • Love
Reactions: steadfasterX

steadfasterX

Recognized Developer
Nov 13, 2013
6,146
15,403
127.0.0.1
OnePlus 7T Pro
Thank you very much for your detailed answer!
I went through all the steps and, after renaming the two shared libraries (in two different steps), I did some quick tests (for each step) by trying the 'standard', 'HDR', 'macro' and 'EV filter' photo modes on both jpg and raw (dng) files. I also successfully took some FHD videos. I didn't notice any significant difference from having (or not having) the two shared libraries, but the two closed ports!! :D

I rebooted twice, and tested twice for each library renaming. Maybe I could be wrong, as I only checked a few options for photos and videos, but everything seems to be working fine; there are many combinations for "Open Camera" photos and videos options that would take time to test yet, but "...probably" if there were problems they would have already occurred in these quick tests.

At last, I installed "Libre Camera" from the FDroid repository and it worked fine too, by making photos and videos using the two cameras (front and rear).
Perfect thanks. Thats fine. I will remove those in my next builds!

 
Last edited:
  • Like
Reactions: f_4Strings

f_4Strings

Senior Member
May 13, 2015
51
29
LG G4
Hi, I did a full clean install, not rooted (not installed Magisk, neither Exposed). The system runs smooth and flawless but I am experiencing some strange reboots that only occur when I take my G4 outdoors, such as leaving it in my pocket.
I haven't experienced any reboots when the phone is stationary, so I think it's something to do with movement. For this reason I think the reboots could also be caused by the Nano-Sim adapter (I tried two anyway), loose plastic due to age or faulty battery contacts.

However, I pulled the files in /sys/fs/pstore and noticed (in the console-ramoops-0 file) the presence of some warnings and kernel call traces related to the cpu up to the message:
Code:
Reboot auto-fsync: panic - force flush!
Rebooting in 15 seconds..

I attach the pstore.tgz and the PMSG log in a readable format in the hope that reading them will reveal some useful information!

Notes:
1. the /cache/debug directory does not exist
2. these reboots have nothing to do with the fact that I renamed "libmmcamera_tuning.so" and "libmmcamera_tuning_lookup.so" a few days ago; on the contrary the "Open Camera" app continues to work fine even after further testing!
 

Attachments

  • pstore.tgz
    100 KB · Views: 3
  • readable-pmsg.txt.tgz
    10.3 KB · Views: 0

steadfasterX

Recognized Developer
Nov 13, 2013
6,146
15,403
127.0.0.1
OnePlus 7T Pro
re 1: pls check /persist - the path has moved (fixing the faq asap) EDIT: updated the FAQ
re 2: thx for the crash logs. the reason is:

> Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.

that occurs in 2 scenarios only (at least what I found):

1. when you are not running the latest modem firmware (e.g. 20p for h815)
2. when UsU'd but not using an UsU compatible ROM

so most likely the first one applies in your case. are you really on 20p? If you are not sure flash the TWRP zip (see Requirements topic of this thread)
 
Last edited:
  • Like
Reactions: f_4Strings

f_4Strings

Senior Member
May 13, 2015
51
29
LG G4
re 1: pls check /persist - the path has moved (fixing the faq asap) EDIT: updated the FAQ
re 2: thx for the crash logs. the reason is:

> Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.

that occurs in 2 scenarios only (at least what I found):

1. when you are not running the latest modem firmware (e.g. 20p for h815)
2. when UsU'd but not using an UsU compatible ROM

so most likely the first one applies in your case. are you really on 20p? If you are not sure flash the TWRP zip (see Requirements topic of this thread)
My original firmware before the Usu procedure was:
LGH815AT-00-V20p-EUR-XX-APR-03-2018+0

Please, is this the correct stock rom version to get a 20p modem firmware version? This stock rom version was the latest Marshmallow available for my H815.

Then, after unlocking Usu, I flashed the rom e-0.23-p-20230705-CUSTOM-h815_usu.zip and I did a full clean install.

Given that, should I flash the h815_UsU_20p_bootloader_20p_modem_TWRP-flashable.zip?

I attach the files in /persist/boot_debug although they refer to a reboot I did voluntarily afterwards and not immediately after the kernel panic. However, the G4 was never turned off in the meantime.

Thank you! :) I really hope to solve this as I really like your /e/OS!
 

Attachments

  • persist.tar.gz
    23.8 KB · Views: 2
  • Like
Reactions: steadfasterX

Top Liked Posts

  • There are no posts matching your filters.
  • 36
    e-color.png

    brought to you by the
    eFoundation-1-400x61.png


    Code:
    /*
    * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
    * Please do some research if you have any concerns about features included in the products you find here before flashing it!
    * YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
    * Your warranty will be void if you tamper with any part of your device / software.
    * Same statement for XDA.
    */

    ****
    These builds are for all G4 models: official unlocked and UsU'd devices
    ****

    UsU? http://bit.do/unlockg4


    About /e/
    /e/ is an a mobile ecosystem (ROM + onlines services) that:

    • is open source
    • is pro-privacy
    • is compatible with most existing Android applications
    • cares about usability
    • is as far as possible freed from shackles by Google and OEMs
    • already exists!
    It’s the alternative to the Apple/Google duopoly on the smartphone.

    ... so again and just to be clear: /e/ is not just a ROM, it is more a complete privacy ecosystem and consists of:
    • an installable mobile operating system for smartphones, which is forked from Android and strongly “ungoogled”
    • a set of sorted and improved default open source applications
    • various online services that are linked to the mobile operating system, such as: a meta search engine for the web, drive (with synchronization), mail, calendar, notes, tasks.


    Features

    • Based on LineageOS so a very stable base
    • microG fully pre-installed with Signature Spoofing in restricted mode!
    • All features described on the /e/ page: What is e
    • All features and fixes of my LOS 16 builds.
    • Finally I had the time to setup an own OTA server.. so my builds come with full OTA update support :)
      ... you know that thing which informs you that a new update is there and where you just click to download + install ;)


    Difference from pure /e/ or: why are the builds CUSTOM?

    • The /e/ app store has been removed completely (read the FAQ why I did this drastic change)
    • AuroraStore has been added (pls always use "anonymous" unless you need paid apps to avoid bans)
    • F-Droid has been added (The OpenSource alternative store. First search for any apps here!)
    • Dozens of F-Droid repositories are pre-installed (activate them with just a finger tip! That's needed to ensure you only get what you want)
    • added PhoneSky a patched Google playstore working with microG
    • added Lawnchair (latest from their TG group)

    The above changes are the reasons why my builds are of the type "CUSTOM" and not "UNOFFICIAL".
    This is according to the rules /e/ defined.


    Known issues:

    Keep in mind that this is brand new stuff so it may (still) contain unknown issues!
    So back up regularly and frequently!

    1. Check the current issues at the github tracker (feel free to help, provide logs etc!)
    2. If you find a bug not listed, follow the instructions here and provide me with the logs: FAQ #1


    Requirements
    • Your device need to be unlocked either officially (h815 international or h811) or by UsU
    • Your bootloader stack should be on lastest MM version for your model. That is e.g. 20p for the H815 models or 20x for H811.
      So.. NO SUPPORT ON LOWER bootloader stacks then the latest MM version for your model
      ... and NO SUPPORT for the BETA v29A as well!!
      -> for your convenience I have created TWRP flashable files for that !!!! (click)
      Of course ensure you just use files for your model, your ARB and UsU'd or not. If unsure ask.
    • in particular that means this thread is for:
      F500, H810, H811, H812, H815 (official unlocked or UsU'd), H819 , LS991, US991, VS986
    • Latest TWRP - PREVIEW build: click or SHRP build: click
    • Do a full Nandroid backup before doing anything!


    Installation
    1. This single very first step is for UsU'd devices only (SKIP when you have an official unlocked model):
      If you have ever flashed the UsU baseband package: Clean flash the modem partition from your backup in TWRP.
      If you do not know if you ever flashed it simply re-flash your modem partition again and you can be sure. This can't do any harm.
      If you have no backup:
      - TWRP flashable MM modems (N will not work)
    2. Ensure your bootloader is current! You will have issues if you are not on the latest bootloader stack. Read the above Requirements topic to find a link to TWRP flashable files.
    3. Full clean install as described here (FAQ "#2") is highly recommended. DO NOT REPORT ISSUES when you have skipped that step!
    4. Flash /e/
    5. Optional (if you want root): Flash Magisk
    6. Flashing OpenGapps ????? NO No no! you don't want that on a google-free phone! /e/ contains everything you need to live without Google! So flashing OpenGapps on /e/ is like using a bit more secure LOS but that's not the point of /e/. Either try without or go with LOS (imho).
    7. Boot it (will take a bit on first boot!!! be patient!)
    8. Enjoy the most easy way to have a privacy focused and google-free phone!


    Download

    OFFICIAL builds (new install or re-install):
    https://doc.e.foundation/search?q=LG G4

    CUSTOM builds (new install or re-install)
    https://leech.binbash.rocks:8008/e-os/pie/

    If you have /e/ installed already and just want to update to a newer release:
    Android settings -> Updater (yes my CUSTOM builds have OTA support like OFFICIAL has!)

    Note:
    1. CUSTOM builds: Builds are updated as soon as possible. There is no build cycle.
    2. Information pertaining to your device is displayed accordingly.
    3. The current build is the latest for your device.


    Changelogs



    Support
    Of course in this thread but also by Telegram. I have created a generic group for all stuff around Android : here
    and another one if you want to keep up2date whenever I build something (TWRP, SHRP, LOS, /e/, ...): here


    Credits
    • LineageOS (the base of /e/)
    • The /e/ foundation and all related devs making this experience possible!
    • The Suicide-Squirrel team (ThePiGuy, kessaras, steadfasterX)
    • aoleary
    • and more..


    Sources

    XDA:DevDB Information
    g4_eos-pie_custom, ROM for the LG G4

    Contributors
    steadfasterX
    Source Code: https://gitlab.e.foundation/e

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: latest MM firmware for your model !
    Based On: Lineage OS

    Version Information
    Status:
    Stable

    Created 2020-08-03
    12
    faq

    Frequently Asked Questions (FAQ)

    Q #0: Why is the /e/ App store not included??? It is GREAT!
    Mainly due to security and privacy concerns. Wth? I thought /e/ is secure and privacy focused? Yes it is but.. read on:

    First of all the App store itself has no security or privacy issues. It is opensource and I see no issues with the app itself!
    ... the most important point for a smartphone is the availability of apps. I mean having a secure device which respects your privacy is great but it will have no chance to win when you cannot get easily apps on it.
    ... and the most dangerous part for a smartphone is installing apps because here is where Malware can easily step in! So whatever you do never install APK files from a website directly unless you can be 100% safe it is trustworthy.

    It is all about trust again and when you look in the sources of the /e/ Apps store you find it connects to: cleanapk.org.
    /e/ makes that not a secret though as you can read here.
    So who is behind that cleanapk.org? Why is /e/ trusting them? While reading through the /e/ forums I found that this page hosts (as far as we know) apps mirrored from apkpure + fdroid.
    .. and it's completely unclear who hosts that site and where is behind it. On the other site /e/ (Gael, the founder as well) states clearly they are not in any relation to that site. "They just using their api".

    here some facts:

    • you cannot get the owner by a whois request
    • They have a info page here which just roughly describes where the apps are coming from and how
    • There is no detailed privacy statement or even an info if they keep your data GDPR compliant or not
    • No way for devs to get their apps removed or updated

    The /e/ foundation clearly states they have no relationship to that repository of apps but some things are interesting aren't they:


    During that mentioned discussion and after pointing Gael to that - the welcome message suddenly changed to what it is today..
    The full topic where even Gael is talking (not that friendly) is: here

    TL;DR:
    /e/ is providing apps (the most used way to get infected by malware) by an API which is at least questionable.
    I do not say /e/ is doing questionable things and as said before the /e/ ROM is 100% trustworthy (otherwise I would not do any builds for it) but that cleanapk.org site is truly another story.
    An interesting quote of Gael can make one read between the lines (I marked the interesting ones bold and cursive):
    Some users have reported that they are using Aurora, [...] (context: we will never integrate this) because it’s infriging the play store terms of services.
    For this, we have to use indirect mechanisms, that don’t infrige the play store TOS, and therefore, we are using a service that is not officially part of the /e/ project, and which is called cleanapk.org
    On the long run, we other plans with partners, to offer something more transparent, but it’s too soon to talk about this.
    Of course /e/ needs to ensure that what they are doing is 100% legal and offering an app repository like cleanapk.org is not.
    My personal assumption is that /e/ is offering that repo - indirectly so not officially by the e.foundation itself.
    A relation between is for sure nothing they want to have public as this would cause legal questions.

    So the last question is:
    Q: Why do I consider AuroraStore "better" then using cleanapk.org and so removed the /e/ apps store and adding AuroraStore instead?
    A: Because I definitively know where the apps are coming from when using Aurora instead of /e/. Not just the app itself is OSS (like the /e/ one) the apps are coming directly from the play store instead of an unknown source.


    Q #01: I want to report an issue. What is the proper way to do so?
    I'm glad that you are asking: before doing so check the KNOWN ISSUES topic in the OP and ofc the other FAQ's listed here!
    If you encountered a kernel panic follow FAQ #6 in this post instead.
    If you have issues with "just" the boot process follow FAQ #7 for a very easy way to grab the boot logs.
    if you have an audio issue follow FAQ #10 instead.

    If your issue is not listed there click here to proceed:

    If your issue is not listed there follow the directions here briefly and I may can fix it:

    logcat GUIDE

    Ensure you have done a full CLEAN install before doing so (refer to FAQ #2 for what that means).

    Warning: NO SUPPORT when:
    - magisk is installed (known to cause issues sometimes - regardless of the ROM or version)
    - Xposed is installed (known to cause issues sometimes - regardless of the ROM or version)
    If you have installed any of these UNINSTALL or better do a FULL CLEAN install (see FAQ #2) before doing anything else. Often enough these above causes several issues like battery draining, problems on booting and much more. Even when they may work properly you should re-produce your issue without them first and follow the above to grab the log.

    Magisk is a great piece of software and besides that it is Open Source which SuperSu never was.
    I just saying I do not "support" issues with LOS when you have Magisk installed. Why? It is (like Xposed) extendable with modules (made by whoever) and those can cause billions of issues.
    Other then that magisk was sometimes the reason for battery drain etc. Magisk modifies the boot "process" and sits very deep in the system (which is needed to make it work ofc) but that has the potential to make a system/ROM unstable or result in strange behaviors.

    so in order to support a specific issue I have to be sure the ROM is in a "clean" state, no magisk, no xposed.
    Pro-Tip: set magisk to core functions only to see if an extension causes your issue or not.


    Q #02: I want to install clean, how? What is a clean install? What is the recommended way to flash a new ROM version?
    A clean install ensures that there are no leftovers from any previous install. One can say that there are 2 phases of a clean flash:
    1) regular
    2) full - when you (still) encounter issues

    Usually the regular one is fully ok when flashing a new ROM version but if you encounter strange issues nobody else is reporting or if a release post is recommending it you should do a full clean install instead.

    A regular clean install can be done like this:
    • WIPE -> Advanced -> select: System + Cache
    • Flash the ROM
    • reflash root addon/magisk if you want root

    A full clean install needs 2 steps more then the regular:
    • follow the steps for regular clean
    • go back in WIPE -> touch Factory Reset and let it do its job
    • go back in WIPE -> touch the "FORMAT data" button and type "yes" to format the internal storage (you will LOOSE ALL YOUR DATA - obviously)
    • REBOOT -> Recovery
    • Flash the ROM
    • reflash root addon/magisk if you want root
    It is absolutely recommended to create a backup before and COPYING IT to your PC(!) before doing the above.


    Q #03: Are there any plans or a chance of official /e/ builds?
    yes this in progress (as of April 2021) and so should happen somewhen in 2021


    Q #04: Will this ROM support / pass SafetyNet?
    When you install Magisk you can hide and so yes you might be able to pass SafetyNet. Which can change every day though because even when that might work atm you should note the following:
    Magisk has its own protections to ensure you pass safetynet but this is something which will change one day and there is no known method yet to workaround that.


    Q #05: It looks like the CPU cores 5 and 6 are disabled - how can I fix that?
    TLDR;
    There is no fix required! it is fully ok when those are idle. they get hot plugged whenever needed.
    Details:
    we have 2 clusters of CPU cores resulting in a Hexa-core CPU set: (4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57)
    the big one (2 CPU cores - higher performance = more battery drain, more heat which potentially causing the: bootloop issue) and the little (4 CPU cores - less battery drain but a bit slower) are handled dynamically based on the load of your device.
    the big cluster will run ONLY when it is NEEDED - i.e. high load.
    so when you look closer: those are not DISABLED they are IDLE which is a big difference.



    Q #06: I get a kernel panic or green/purple/blue screen how to grab logs for this?
    When you encounter a kernel panic and you are able to reboot without taking out the battery (taking out the battery will erase RAM and so erase the needed logs):
    1) reboot (without taking out the battery!) to either TWRP/SHRP or (if you have root access) to your ROM
    2) grab everything need from here: /sys/fs/pstore/ (e.g. adb pull /sys/fs/pstore/)
    If you don't have a pc near you can do it directly from the device as well:

    Enable the terminal app in developer options or download any
    Open the terminal app.

    su
    cd /sdcard/Download
    tar czf pstore.tgz /sys/fs/pstore

    Attach pstore.tgz to your post.

    It is crucial important that you do this only after the reboot happened . It's not important "when" though - as long as the device stays powered on.

    Developers note:
    convert PMSG log (requires a linux system):
    Code:
    tr -cd '\11\12\15\40-\176' < pmsg-ramoops-0 | sed 's/TENS\s/\n/g' > readable-pmsg.txt


    Q #07a: I get a kernel panic on boot or having other boot issues but the pstore log are empty! What should I do?
    Q #07b: How can I provide a clean boot log?


    Since a while there is a very easy way to provide debug logs for the boot process. Before my convenient logging you had to follow FAQ #1 to grab them and it was a bit of PITA for some users.
    So here you go for a much easier way:

    1. boot Android
    2. once booted : reboot to TWRP/SHRP
    3. when you have a bootloop instead: take the battery out just before the bootloop occurs, or better press the key combo to get into TWRP all the time to eventually get there directly
    4. once in TWRP ensure that "Cache" is mounted in the "Mount" menu (if not mount it by ticking the box)
    5. open a terminal on your PC and type:
      when running a version after Jun 16, 2023:

      Code:
      adb pull /persist/boot_debug/crash.txt
      adb pull /persist/boot_debug/full.txt
      adb pull /persist/boot_debug/kernel.txt
      adb pull /persist/boot_debug/selinux.txt

      when running a version before Jun 16, 2023:
      Code:
      adb pull /cache/debug/boot_lc_crash.txt
      adb pull /cache/debug/boot_lc_full.txt
      adb pull /cache/debug/boot_lc_kernel.txt
    6. paste one by one to a paste service like https://del.dog/ , https://paste.systemli.org/ or https://paste.omnirom.org/



    Q #8: upgrade your bootloader stack only?! Read here how:
    Check the OP of this thread which has TWRP flashable files linked.


    Q #9: Is there an /e/ specific FAQ?
    Sure:

    • FAQ: click
    • Forum: click
    • HOWTOs: click (a great resource for all your first questions)


    Q #10: issues with audio (e.g. echo's, silence on one or the other site, ..)? Read here how to provide a specific log for that:
    Do the following steps:

    • 1) Ensure you have adb set up on your PC, and have adb debugging and adb root enabled in developer options on your phone
    • 2) Then perform the following (all one command)

      On Linux:
      adb root ; adb shell "stop audioserver; logcat -c -b all; start audioserver" && sleep 10 && adb logcat -b all |egrep -vi "(dialer|telecom|ril|gsm|touch|brightn|dct|QC-time-services|SST|sensors|AlarmMan|Lights|perfp)"

      On windows:
      adb root ; adb shell "stop audioserver; logcat -c -b all; start audioserver && sleep 10 && logcat -b all |egrep -vi '(dialer|telecom|ril|gsm|touch|brightn|dct|QC-time-services|SST|sensors|AlarmMan|Lights|perfp)' "

    • 3) Then re-produce your audo issue and cancel the logcat from step 2 before hanging up!

    • 4) Share the logcat output from the console screen using paste.omnirom.org


    Q #11: I'm scared about that microG , I don't want to expose my phone so is this /e/ version a security risk?
    First of all you need a lot of trust installing ANY custom ROM. A developer can do nasty things right? Besides that yes microG allowing to let apps act like as they are another app, also known as signature spoofing. This CAN be a good and a bad thing. Read on why my builds are different:


    In general the microG patch is an all or nothing. A ROM which supports microG (i.e. signature spoofing) have that feature enabled, always.
    The difference in my /e/ builds is that I am using the "restricted" option of signature spoofing so as long as you trust me you are as safe as without microG.




    Q #12: I have graphic glitches / issues, what can I do?
    My builds using skiaGL instead of OpenGL since a while. skia is the new and faster renderer coming with pie by default but it can cause graphic glitches in some applications and/or situations.
    Is there any fix for skiaGL coming? No, details here .
    To check if your current ROM version is using skiaGL do this:

    Code:
    adb shell getprop debug.hwui.renderer
    If you get an empty result it means skiaGL is active.
    If for any reason you wanna go back and enforce OpenGL you can do so by

    temporary (immediately activated):
    Code:
    adb root (must be enabled in dev options)
    adb shell setprop debug.hwui.renderer opengl

    or make that change persistent:
    Code:
    boot TWRP
    backup system
    mount system
    adb shell
    echo "debug.hwui.renderer=opengl" >> /system/build.prop
    sync
    reboot


    .-
    5
    BREAKING NEWS
    I've decided to create a Telegram group for all stuff around Android : here
    and another one if you want to keep up2date whenever I build something (TWRP, SHRP, LOS, /e/, ...): here

    New builds are cooking...

    I have added a test in my jenkins build process to ensure that the unified device tree is working as it should.
    Unifying our device tree makes it much easier to maintain and to add other not-yet added models - while it comes with the risk something goes wrong when it comes to blobs.

    Nevertheless:
    I would highly recommend doing the following (I have done that in my manual builds but you get it from jenkins - so there is a tiny little chance of bad luck .. ):

    Pre-Cautions | Flashing instructions

    1. Recommended: Backup (system, userdata in TWRP, your internal storage which contains your photos etc elsewhere)
    2. Required: Do a "REGULAR CLEAN FLASH" (see bottom of this post)
    3. Flash LOS - DO NOT choose to reboot afterwards - stay in TWRP.
    4. TWRP menu: "Mount" --> choose "System"
    5. From a terminal execute:
      Code:
      adb shell md5sum /system/etc/firmware/venus.mbn
    6. Compare the value (last 4 characters is fully enough) with these:
      If you flash:
      h815, f500, h818, h819 it should be: d1f6fe863643b1e8d1e597762474928c
      h810, h811, h812, ls991, us991, vs986 it should be: 78e5cf520d0de4a413ef1cfa7bbbe713
      WARNING: If that checksum is NOT as it should be: DO NOT PANIC! simply FLASH the PREVIOUS LOS version BEFORE booting!. This will ensure you will not blow a fuse.
      While the above test should be considered safe: If you are unsure about this procedure: WAIT before flashing until someone (or I) had done the above quick test from the builds jenkins is providing at my leech server.
    7. Whenever an error occurs while flashing in TWRP (e.g "E1001: Failed to update system image.Updater process ended with ERROR: 7")
      or if the above checksum does not match:
      provide the recovery.log (FAQ #4 A)!!
      ... then flash the previous LOS version to get back to life - without harming your device.
    8. if instead (as we all expect) all went well and you had opengapps before - ensure you reflash gapps

    Cooking order & LIVE cooking view

    • H815
    • H811
    • H815 UsU
    • VS986
    • H812
    • H810

    Live - View:


    Noteworthy Changes:

    Flashing method: "REGULAR CLEAN FLASH" is REQUIRED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    (See the FAQ #2 of the LOS thread how to do this)




    • If you encounter any overheat or lagging issues follow this:

      Code:
      adb shell
      logcat -b all  -d | egrep -i "thermal|kill" > /sdcard/Download/log.txt
      ps -A  >> /sdcard/Download/log.txt
      free -m >> /sdcard/Download/log.txt 
      logcat -b crash -d >> /sdcard/Download/log.txt 
      exit 
      adb pull  /sdcard/Download/log.txt
      Share the log.txt as an attachment of your reply (bc txt is fine for that) or - as usual - by your favorite paste service

    • Platform Security Patch: 2020-08-05

    • Due to some user reports I reverted the GPS updates by kessaras. Please let me know if GPS works better with this build or not.

    • New signing keys. You may now the "Trust" feature by LOS telling you if the build is trustworthy or not?! It checks if selinux is enforcing (it is in my builds) and if non-default signing keys (I sign my builds with my own ones) are in use.
      The signing keys are required to allow installing OTA updates (it downloads, checks if the signature is mine, rejects if not or accepts and installs if).
      Unfortunately I had to re-generate the signing keys that means you have to install this new build as usual in TWRP.
      All builds after that one will fully support OTA. sorry for that :p

    • ...... and more. Read "Full details"


    • Full details:
      kernel: commits
      g4-common tree: commits
      g4 unified tree: commits
      /e/OS: gitlab


    Keep in mind that almost all pie ROM's sharing the same common device tree (or main parts of it), same model device trees and for sure the same kernel - so you can enjoy most fixes for any pie ROM available.. :victory:

    ok enough of words, just one more thing:
    flash and enjoy this privacy focused and totally Google-Free experience :D


    .-
    4
    It's fantastic to see so much development effort for such an old but still wonderful device. Thank you all! Can't wait to try it out.