yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] steadfasterX:
Well there is not much you can choose from:

- Fairphone 3+ (even with /e/ OS pre-installed)

- Librem 5 (pureOS - ie. Linux based)

- PinePhone (Linux based)

many many others died on the way like blackphone etc but at least there are these 3. IMHO (and that is what I will likely do next year) the FP3+ is now in a state of being usable (camera quality was always holding me back) and in terms of specs the only of the 3 with a good cam. PinePhone might be too nerdy (btw 2 GB RAM sounds less but again its not Android here so plenty enough).

so at the end its up to you what details you love / need more
[G4 Android Development] tonycfc:
Just want to say thank you very much for maintaining the LG G4. Much love! :)
[G4 Android Development] nubla:
I saw the notification of the system update on the phone a few days ago. Awesome! :)

Silly question: how to apply it? After downloading, it mentioned the phone will reboot and install automatically if a compatible recovery is installed otherwise it will need to be done manually. The reboot dropped me into TWRP (version 3.4.0-PREVIEW-230_g4_P) but I don't know what to do next.
[G4 Android Development] steadfasterX:
Hm it should get applied within TWRP automatically but i hadn't had the time to test it. Seems TWRP needs an update here..

If you want to do me a favor :

Just retry installing it from Android and if it booted into TWRP grab the recovery log (see my sig)

Thx
[G4 Android Development] nubla:
View paste XAPA

bpa.st
[G4 Android Development] steadfasterX:
Thx! Hm i have a clue what happens .. I don't wanna bother you too much but if you like do this (if not I'll do next week, so no worries if not):

1. Go to the upgrade screen but before starting the actual update start a logcat:

adb logcat -b all

Wait 5s and press enter several times to better find the begin later

2. Start the update process and wait until the logcat ends automatically due to the reboot . Then share the logcat output from the beginning of the upgrade process
[G4 Android Development] nubla:
Happy to help. Thanks for the clear instructions.

Pasted with a different service since the logcat exceeds bpaste.net's text size limit of 256 kB, but note that this paste expires in 1 day.

Untitled - Pastebin Service

paste.centos.org
[G4 Android Development] steadfasterX:
Great! Thx again.

Due to the logs i know it's clearly a TWRP issue and i know where as well.

If you don't want to wait you can just boot to TWRP and flash the zip manually from here:

/data/lineageos_updates

or watchout for a new TWRP release which i hope to deliver somewhen next week.

Some users on TG mentioned that this new ROM version misses Aurora store on the h815 (I don't have user reports on other models) so maybe its a good idea waiting anyways. You can ofc install aurora manually from F-Droid but that needs to be fixed next week, too..

Cheers
[G4 Android Development] nubla:
Ah thanks, so that's where the update is located. I think I'll wait for the fixed recovery to experience the glorious OTA and have the Aurora-including ROM update.

Also, any chance the updated ROM will have the (in-)app-purchase-support patched phonesky? 😁🤞
[G4 Android Development] MunemWerk:
Hi I applied it manually by rebooting to TWRP and navigating to the folder because I noticed it doesn't do it automatically. :)

I'm not on my desktop and near my phone so I don't remember the path.

EDIT: I didn't realize it was answered already, my apologies.
[G4 Android Development] steadfasterX:
Well the process is a bit ugly. do you really need that? No chance using Aurora with personal account?
[G4 Android Development] nubla:
It is ugly, but it's the least ugly solution I know of so far.

AFAIK Aurora doesn't and can't work because (in-)app-purchase license verification requires the Google Play Store, and I'm not aware of any way to get around that. The patched Phonesky is an attempt at making it a little less terrible.

If you know of another way I'm all ears.
[G4 Android Development] tonycfc:
On my UsU'd H815.

Flashed eOS v1-pie build *20201215* in recovery then I proceed to immediately flash SHRP_v2.3.2-PREVIEW-58_g4.

All good and running.
[G4 Android Development] llarr:
Sweet. The auto-update/ota worked without any intervention (from the August version) using whatever TWRP I have from late October/early November (3.4.0 preview 230).
[G4 Android Development] nubla:
Wonder why OTA works for some and not others. I'm also on TWRP version 3.4.0-PREVIEW-230_g4_P, but it didn't work for me at least on a H812. I tried both available updates: 1.0-202001207 and 1.0-20201215.
[G4 Android Development] steadfasterX:
The only devices affected are UsU'd devices.

It works for non-UsU devices like a charme and does not work for UsU devices . The patches in recovery and ROM are made for them only.
[G4 Android Development] nubla:
Aha.

Which recovery and ROM versions have OTA fixed for UsU'd devices?

Do both the recovery and ROM have to be a patched version, or just one?
[G4 Android Development] steadfasterX:
follow the link "read all the details" in this post: https://xdaforums.com/t/recovery-of...6-n-o-p-twrp-2020-06-22.3442424/post-84146423

.-
[G4 Android Development] tullyp:
I've committed a small monthly donation to both SteadfasterX and e/foundation to help support this independence movement. Want out from under Google/Apple and other Tech anti-free-speech companies.

Latest e-build running on my VS986 Verizon G4. RIL voice works with one initial phone call and rilVoiceFix.zip from @ANDROID2468 does the trick. Had to use Fairmail to get both Gmail and Bellsouth email to work due to OAuth issues with Bellsouth.

With MicroG installed everything I regularly use seems to work, but it took some effort to configure. Still not getting calendar to sync right but working on it. (Google) Duo video calling appears to not work which was my alterative to Verizon HD Video calling but can live without.

Cant get Titanium-Pro paid key to load due to no Playstore.

/e/ 1GB initial cloud storage is underwelming, and expensive for more space compared to Google drives' 15GB free, but price of freedom.

Installed latest TWRP from SFX Telegram, 3.5.0_9-Preview-258_g4, and hope for OTA updates soon. Maybe to Q? :-)

Thx SteadfasterX, for your work on this.

@tullyp
[G4 Android Development] steadfasterX:
Lol and i thought you made a mistake by doing a monthly fee ;) thx dude especially as you know XDA "likes" are all that i "need" :D
[G4 Android Development] steadfasterX:
Ok guyz! Thanks to @terence.tan we have a fix for the 3G/4G issue (where you were not able to switch) now.... and as a bonus the network search is working as well finally! Hooray :)

Today's builds contain these and other fixes (like baseband -> unknown fix) so happy (OTA) flashing.

Just as reminder: as mentioned already i don't provide changelog posts here anymore and also no build announcements. For this check my TG groups.

NOTE:

Unfortunately you have to disable selinux before OTA flashing will work (I promise .. one day.. OTA will just work lol).

follow FAQ #1 to find the guide on how to disable selinux (follow just that then start the OTA).
[G4 Android Development] tullyp:
Not a mistake. Just think the e/ foundation cause is REALLLY important for future. And you are part of it.
[G4 Android Development] nubla:
Where is that FAQ? Maybe I'm blind but even Ctrl-F didn't find any instructions on disabling selinux.

If I understood correctly, the required steps to upgrade for UsU'd devices is:

1. Follow the workaround from here.

2. Then update recovery to the latest, eg. TWRP 3.5 Preview 258 https://leech.binbash.rocks:8008/TWRP/g4/

Is that correct?

I can't wait to test Phonesky (in-)app purchase support! :D
[G4 Android Development] tullyp:
On vs986, I downloaded new OTA update, /e/OS 1.0-20210119, but when hit install get "install error". To try this I uninstalled magisk and have latest 258 twrp. I need magisk to use auto dialer rilvoicefix so I'm reinstalling magisk. OTA is more work than just reflashing for me so where is the e/ update stored so can I just flash it?

@tullyp
[G4 Android Development] nubla:
/data/lineageos_updates
[G4 Android Development] tullyp:
Ya, found it, forgot I deleted magisk and could not find. Dumb...
[G4 Android Development] nubla:
I got adventurous and tried updating to /e/ 1.0-20210119 without disabling selinux. The workaround worked, and the updated system booted even with TWRP 3.4.0 preview 230. No boot loops. I updated it to 3.5.0_9 preview 258 anyway.

As for changes:

- There is a slight difference in appearance, with the colors appearing more saturated (eg. the blue system fonts in settings).

- There is an allow/deny dialog that keeps coming up sometimes with only a cloud notification symbol/icon, but no explanation of what it is requesting to allow or deny. Confusing.

- I don't notice Phonesky / patched Google Play Store available? :( Did I miss something or was this discussed option not included?
[G4 Android Development] Tribux:
Thanks for new update :) I didn't read it propeerly before and had to flash everything from the begining :D Now I disabled selinux with adb..

TWRP updated

One question after update should I do some cleaning fromTWRP or use it right away?
[G4 Android Development] Tribux:
You probably found or warkaround but here is the FAQ :) :

FAQ #01 SELinux disable
[G4 Android Development] nubla:
Aha, it's in the FAQ of a different ROM :LOL: Thanks for finding it!

PS. What issues did you have with the upgrade without disabling selinux? I didn't disable it and so far my upgrade appears to be just fine.
[G4 Android Development] LouMinartey:
No SIM card detected after OTA from 15 Dec 20 build to 19 Jan 21 - Non USU'd H815 on 20p modem, OTA performed by SHRP

EDIT: Flashed Modem, no fix

EDIT2: Clean flashed build 20210120, no fix

EDIT3: Clean flashed build 20201215, SIM card detected. Phone working again
[G4 Android Development] tullyp:
Verizon vs986, flashed just system first of 20210120, no SIM detected. flashed back to previous system 20201215, got service. Then tried full clean flash. No SIM detected. No service. Flash back to previous version 20201215. Get service again.

@tullyp
[G4 Android Development] steadfasterX:
As written in my TG groups (you really sbould join) the 20210120 build is

buggy

.

20210121 works as it should

selinux permissive is needed only during the process of OTA flashing and will not be needed anymore once flashed the latest build .

Enjoy..
[G4 Android Development] nubla:
Wait, buggy builds are being pushed to OTA?? o_O

I'm currently on 20210119, but I use it without a SIM, so I can't confirm others' issues with that.

I don't have Telegram and don't want to be forced to join just to use /e/...
[G4 Android Development] tullyp:
New 20120121 build does get cell service on my Verizon vs 986! What a quick fix!

Thx @steadfasterX
[G4 Android Development] tullyp:
I did join, that's where I saw 20210120
[G4 Android Development] Tribux:
It just did not want to go through, showed me warning sign and messeage on top task bar "installation error", that's why i thought that I should disable selinux and after that while phone connected to PC, it worked for me from OTA, kind of because it went to twrp and autoinstalled..

Thanks for info. I will check out the group ;)
[G4 Android Development] steadfasterX:
Well first of all I am not LG. I'm doing this alone and do not have a team of testers who verify everything is working after every build. Second the whole process of Building and pushing out to OTA is fully automated so there's always a VERY rare chance that something is going wrong here when an issue occurs during the build process. That was the case with that build version.

To be crystal clear bigger changes like the latest ones regarding the RIL stack have been tested before I pushed it out of course. But my tests are done on a single build always not on the build during the automated build process. The chance that they differ is very rare but it exists.

You're not forced to join. Absolutely not. It is just an offer and you are totally free to take it or leave it. It's just that important information and change logs are pushed there only (or at least more early).

if you don't want to join I would recommend to wait at least one week before doing an OTA. usually that is enough to let other users find bigger issues and so let me make a new build or removing it from the OTA server.
[G4 Android Development] nubla:
Ok, that works. It would be nice to see changelogs here too, but I get that it's annoying to keep info synchronized in multiple places. It's cool that the build is fully automated.

Could you perhaps just let me know if/when the (in-)app purchase support patched Phonesky makes it into a build? The inability to use one important app (OBDLink) that requires that support is the only thing holding me back from full enjoyment of the setup.

Otherwise, I'm super happy with the LG G4 and your /e/ builds. 👌🥂 Thanks for continuing to support it.
[G4 Android Development] LouMinartey:
These things happen, always gonna get the odd bad egg. I could've just restored a backup but I wanted to make sure I hadn't FUBAR'd it myself and a little troubleshooting goes a long way. Thanks for keeping my zombie-ass half-dead-CPU G4 alive, it overheats itself to pieces on most other roms if I don't disable some cores (Thanks, Google)
[G4 Android Development] llarr:
On latest - 21 January update, did notice this behaviour on earlier versions though.

I have noticed something odd and could use some advice narrowing it down. Basically if I turn the wifi on at 8am - 8.30am in the morning (GMT) and then leave the phone to idle, there's maybe a 50% or more chance there will be excess battery drain to the tune of 6.5% battery per hour.

Never had this issue when turning the wifi on in middle of the day or the evening or leaving the wifi on overnight and then throughout the next day.

Looking at battery stats it seems to be phantom drain that isn't associated with anything in particularly, but it does stop as soon as I turn wifi off.

The phone stats claim the cpu is in deep sleep during this. I wonder if there is some sort of update check scheduler. Maybe my phone goes crazy renegotiating its wifi connection for some reason under these specific circumstances. Any tips, basically my work around is to try to remember to check the phone after 20-30mins and if it has dropped 2-3% while idle then toggle the wifi and that tends to fix it. Very odd.
[G4 Android Development] steadfasterX:
well I think u know the answer. we need to take a look into the log when that happens (FAQ #1). When that happens again follow "Specific Issue", let it run for a while and then turn off wifi (logcat still running but note the exact time) and turn it on again, then let it run again for a a while.
[G4 Android Development] xDev91:
Good day, steadfasterX! I have the latest firmware / e / from January 21st. I have a problem with the camera, it won't start. I have vs986, UsU, magisk is not installed. Logcat (I hope I did it right): https://pastebin.com/Swx6r10m
[G4 Android Development] steadfasterX:
Follow FAQ 7 and share the boot logs. Did you ever flashed the videolagfix?
[G4 Android Development] xDev91:
Also, data transfer via USB stopped working. The phone charges, but does not transfer files, the PC does not see the phone, but WFUL sees. The camera is working! The reason was the crooked driver for the USB input. After reinstalling the driver, the data transfer via USB started working, and the camera too!

I have a question: does NFC payment via GPAY work on /e/OS and LOS 16?
[G4 Android Development] serenita:
Hi,

I just wanted to say a little thank you :) I am experienced with Linux but this was my first time tampering with a phone. I installed this custom /e/ image on my LG G4 H815 and it went very smooth. I appreciate the development and the very well-written instructions!
[G4 Android Development] steadfasterX:
I can't test that so its up to you.
[G4 Android Development] serenita:
Do you provide (read-only) access to the source code of this custom ROM in some way? If yes, could you please send a link? I wasn't able to find it on my own.
[G4 Android Development] steadfasterX:
sure:
[G4 Android Development] serenita:
Thanks! I saw that build manifest but wasn't familiar with such kinds of build processes to actually recognize this as (a pointer to) the source code :D
[G4 Android Development] steadfasterX:
ah ok. usually you do:

git clone https://github.com/LGgFour/local_manifests.git .repo/local_manifests

then repo sync will automatically download the defined sources
[G4 Android Development] breversa:
Hello @steadfasterX !

I’m in dire need of help…

I clean flashed version 1.0-p-20210307-CUSTOM-h815 on my H815 some days ago, and everything seemed to be working fine… until I eventually got out of my house (and out of wifi range), and realized I don’t have any mobile data service ! :-O

My findings so far :

PIN code is being asked at boot (… usually)

Service triangle icon is not empty

Phone network is being autodetected

Phone network can be manually selected (and changes nothing)

Phone provider name is displayed

Voice calling works !

SMS works (a bit unreliably maybe)

Switching mobile data on/off displays the small X on the service triangle

Mobile data type is displayed (right now it’s only EDGE, but I’ve seen it range from GPRS to 3G to H)

If I type *#*#4636#*#* to enter the test menu, everything looks fine, except :

"Mobile data" is disconnected

"Roaming" is deactivated (though I *did* activate it)

Ping test fails with "Fail(2)" : "Fail: IOException"

And the most worrying thing :

In the "Select radio band mode", I can only switch between "Automatic", and "United States"… and I live in France ! 😱

I’m wondering if this version has the correct basebands for non-US data networks, but I’m really not knowledgeable about this.

I’m now out of my house with no wifi and can only use voice call. I’m typing from a computer with very limited access (both network and hardware) so I can’t upload any log at the moment, but I can look for something in particular and type it manually if needed.
[G4 Android Development] breversa:
Here's a log taken just after boot, if that helps.
[G4 Android Development] breversa:
I *think* I may have pinpointed the issue !

In Settings > Networking and Internet > Mobile data (?) > Advanced settings, I can change "Preferred network" to 2G, 3G, or "LTE (preferred)".

If I then go to the hidden Test menu by typing *#*#4636#*#*, I can check/select the "real" preferred network, and here is the mapping table :

In Settings>Networking...	In Test menu (*#*#4636#*#*)
2G	GSM only
3G	WCDMA preferred
LTE (preferred)	LTE/UMTS auto (PRL)

Now, WCDMA is a US thing, AFAIK.

Also, if I switch the preferred network to "LTE only", the network signal drops dead immediately.

My hypothesis is that this ROM version lacks the settings to operate with the european protocols and/or frequency. Am I making sense ?
[G4 Android Development] steadfasterX:
could u re-upload it? its missing (at least for me)
[G4 Android Development] breversa:
No idea why it didn't work here.

Anyway, here it is : https://del.dog/aillonypal
[G4 Android Development] breversa:
So, after hours of troubleshooting and LOTS of help from @steadfasterX and other people on Telegram here : https://t.me/sfX_Android, I eventually solved my problem… basically by reflashing the lastest stock ROM, then flashing /e/ OS again.

So if it ever happens to you :

Make a backup of you data partition with SHRP/TWRP.

Format data with SHRP/TWRP.

Flash the latest/best/most appropriate stock ROM (either a KDZ with LG tool, of just boot.image and system.image with fastboot)

REBOOT TO SHRP/TWRP *FIRST* (otherwise your recovery will be replace by LG’s at first stock ROM boot and you’ll have to reinstall SHRP/TWRP again).

Boot (and test mobile data).

Flash /e/ OS again with SHRP/TWRP.

Restore your data backup with SHRP/TWRP.

Boot.

Hope for the best !

Warning :

If you have a schema/PIN/password/lockscreen or whatever, deactivate it before making your backup. My phone wouldn't recognize my schema after restoration.

So once again : THANKS @steadfasterX !!!

(This guy deserves so much praise but I can only like his messages once, so help me by liking him too !)
[G4 Android Development] nubla:
What is eSpeak (com.reecedunn.espeak, v1.48.15.20) and is it a default app in the /e/ build?

I happened to notice eSpeak in my installed apps list in Aurora Store after upgrading that to v4. I don't recall seeing it before, and it is installed as a system app, so I could not uninstall it.
[G4 Android Development] steadfasterX:
its is a TTS (text-to-speech) engine and yes its included in /e/
[G4 Android Development] nubla:
Good to know! In that case, I'll add it to the Blacklist in Aurora.

I had tested some questionable apps via Aurora and hoped something malicious didn't sneak in...

Also, I'm not sure if updating to Aurora Store v4 manually is ok or if I should have waited for an /e/ build with it included. An update notification tempted me to press the button and so far everything is working fine.
[G4 Android Development] steadfasterX:
v4 is not "just" a complete UI re-write but also the backend (how apps are accessed) has totally changed. This results in often having login issues from my experience. From what I heard by others it happens more often when using anonymous (i.e not using your google account). other then that it works fine so far. a disadvantage of their new approach is e.g. in v3 you can spoof your country and get apps which are country-specific. due to their major change in the backend this does not work anymore thats why some / many? apps are missing..
[G4 Android Development] nubla:
The extent of the changes is why I'm surprised/happy that it's working after updating manually.

I had no problems with anonymous login except once when the token server was down for a bit.

The lack of geo-restricted apps in V4 was a result of increased privacy protection, but due to popular demand, the functionality has been restored, though still disabled by default: https://xdaforums.com/t/app-4-4-aur...t-march-20-2021.3739733/page-78#post-84739245
[G4 Android Development] steadfasterX:
yea I am aware about the why (and even technical details) but thanks for the link to the geo fix! :)
[G4 Android Development] stsz1954:
I have the h812 model. I have the 16.0-20201024-UNOFFICIAL-812_usu rom installed. I also have the 3.4.0-PREVIEW-230_g4_P

TWRP. I have been trying to do the OTA update to a newer rom. When I do that, all what happens after the rom is downloaded

and install is pressed is that the device reboots to TWRP and just stays there. I'm supposed to have installed the 20201020 or

20201021 roms but I don't see them available for download. What can I do to make the updater work? Where are the downloaded

files stored so that I could delete them?

Also, another problem, not really a big deal. When the device is charging, the charging light is pink. But when the phone is fully charged,

the light does not turn green. Is there a simple fix for this?

Any help is appreciated. Thanks.
[G4 Android Development] steadfasterX:
The version you're on is too old bc it does not include an important ota fix. When it booted to twrp you find the file in /data/lineageos_updates (or smtg similiar) so you can install it from here manually.

Reg the led i have to check but should be fixable .
[G4 Android Development] steadfasterX:
hmm I think you mean its green (not pink)? pink flashing is happening on boot only.

I found how we can set the leds on charging event so I will set it to this in my next build:

blink green while charging
solid green when fully charged
[G4 Android Development] stsz1954:
I finally decided to install this rom from LOS. I have the1.0-p-20210225-CUSTOM-h812_usu installed.

I did a clean install, but I blew it by not making a TWRP backup. Now the install overwrote TWRP and installed

stock recovery. Is there any way to have TWRP installed again?

Thanks
[G4 Android Development] steadfasterX:
Simply follow the twrp guide to re-install (check my sig for the official thread)