yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] sdembiske:
From the LG G4 TWRP OP

:

After installing TWRP correctly, you will still have the original LG factory reset screen/menu booting before TWRP, every time. So the correct and only way to get into TWRP with a key combo is to select two times "Yes" in the official LG factory reset menu, and only then you will get into TWRP (It's a restriction by LG. There is no key combo available in some / all / most LG devices to boot directly into recovery and so TWRP).

If that worked go into the reboot menu and choose reboot to recovery again so TWRP should boot up once again

It pays to read the OP ...

NOTE

: Don't forget to click the Thanks button (bottom right of post), when members answer your questions or provide useful information when trying to help. It's an XDA courtesy - please learn to use it.
[G4 Android Development] street_android:
Thank you, i have root access again. I will roll back to my previous rom. Thanks again!
[G4 Android Development] Termehansen:
Does wifi calling work on this phone and if yes also on the Oreo Roms?
[G4 Android Development] karandpr:
Thread cleaned.

No personal attacks please.

-XDA Staff
[G4 Android Development] Justahlagnar:
Hi, I'm using the 6.0.1 version of the cyperOS and everything works so fine but I have an issue about camera apps. I can not find any good camera app works flawlessly without freeze, delay etc. I always love to use new versions of android but I always go back to the v30 ported rom because of the camera. Is there anyway to port v30 camera to this rom? Or any other way to solve this camera issue?
[G4 Android Development] Gigio755:
Try to see these posts :)

https://xdaforums.com/showpost.php?p=78487755&postcount=182

https://xdaforums.com/showpost.php?p=78578987&postcount=188

and from this page and after:

https://xdaforums.com/g4/themes-apps/google-camera-hdr-t3681549/page19

ps: i have atomicos 2.5 on my G4
[G4 Android Development] kessaras:
hello, are there guys still using our N build ?

If yes , tell me to bring it up to date to "now".
[G4 Android Development] nigxxx:
How is going with Pie?
[G4 Android Development] fi5z.x9:
Yesss! Yesss!! Yezzir!!!

You know I'm the biggest Nougat fan.
[G4 Android Development] sdembiske:
The N rom should be brought up-to-date "now", IMO. There are still members who are downloading and installing it for the first time as the Oreo bluetooth calling issues are a deal-breaker for them. The AOSCP CypherOS N is, by far, IMO, the best N rom that has been developed for the LG G4 to-date and a great piece of work.
[G4 Android Development] rocky184:
Yes please Kessaras
[G4 Android Development] MariuszO:
Yes please from me too :)
[G4 Android Development] sperelli:
and if you ever find time, please please please revamp the old rr N..

best regards ;)
[G4 Android Development] WiZaRd981:
Glad to see you founded some time for almost-finished G4.. :good: :)
[G4 Android Development] Mogster2K:
I was, but I switched to Oreo because Nougat development had stopped. I'll switch back if you're willing to pick it up again. :good:
[G4 Android Development] kessaras:
ok. tonight ill update it with latest security patches and updates and share it tomorrow morning.

*keep in mind that only encryption didn't work in our N which i will try fix the next days.

*if you find any bugs inform me here along with a full logcat report -> adb logcat -b all > logcat.txt

because i can't test everything since the g4 is at my mother's hands. at a first glance i dont see any problems, but if any audio, video, multimedia streaming or whatever bug you see, let me know about it
[G4 Android Development] DosenHatti:
Great to get support for N furtheron! Thx [MENTION=5461026]kessaras[/MENTION].

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Gigio755:
please, if possible add some features like: network traffic, clock with seconds, power menu (advanced reboot), battery charge info .. little things like these and if possible (but not necessary, we can install after) include Godly Torch

I hope ctsprofile will be true with your rom

thank you for your hard work, i will try your update
[G4 Android Development] kessaras:
yeah thats what i have in mind. but not yet. i need to update the N kernel first. When i started developing i started with Oreo so Nougat is very outdated. i have to add the work of 2 years there. so just enjoy it as it is for now, im not doing any framework work yet
[G4 Android Development] jovanv:
Keeping N up to date for LG G4 would be great [MENTION=5461026]kessaras[/MENTION] . I really appreciate all yours and other developers and maintainers efforts!

I saw an AOSP CypherOS version from yesterday 20190112 in the [MENTION=5545101]steadfasterX[/MENTION] unofficial builds repository, but I guess we should wait for you announcing the updated build, right?

And yet another question regarding the external sdcard format: you suggest we use vfat (from CHANGELOG: "Killed ExFat. The overkill wasn't done by me. Use Vfat for the sdcard now"). In TWRP 3.2.3 I see only an option to format to FAT, I have tried to find information from the TWRP pages (and its github) what sort of FAT is that and no luck: I can guess it's FAT32 or VFAT, but not sure. Are there any troubles formatting the external sdcard to ext4? Will the CypherOS would be happy with ext4 sdcard?
[G4 Android Development] kessaras:
fat = vfat for twrp. but you can just format the sd after boot too.

vfat is suggested for the oreo builds as changelog sais. because aoscp decided to keep a different development way for vold repository.

exfat may work in N , i dont know. im using vfat here.

*if exfat doesnt work no need to worry, your sd is not corrupted, you can use a sdcard reader and back it up anytime before you format it. or boot to twrp and back it up from there using adb pull.

yes build from yesterday is ok. N will have daily updates until im done updating it.
[G4 Android Development] jovanv:
Well, I have tried to install the new N-build without success:

1. Nandroid backup in TWRP 3.2.3, saved to the external sdcard

2. Wipe: factory reset + /data + cache and davlik cache just in case.

3. Install aoscp_h815-4.2-20190112-unofficial.zip

4. Install open_gapps-arm64-7.1-nano-20190110.zip

5. Reboot

Booted in AOSP, set as new device, connected to the wifi and then got stuck for hours on "Checking for updates..." Did not try anything else: now recovering the previous ROM from the backup.
[G4 Android Development] WiZaRd981:
For me H815 build is working.. Maybe some Internet connection problems? :rolleyes:
[G4 Android Development] jovanv:
Well, I tried with both my networks (2.4 and 5 GHz) and also with the LTE (4G), same thing. Stuck at "Checking for updates...".

As this is my only phone and I need it for work, I did not want to do any further experiments, like re-flashing again. I will probably try next weekend when I'll have more time for experiments.
[G4 Android Development] adam_s_459_:
You could try deleting the setup wizard from recovery. That should skip that process all-together.
[G4 Android Development] grantdb:
I found this too on several roms, I just hit the back key then tried again and it worked.

Cheers
[G4 Android Development] kessaras:
factory reset is all wrong. we do not do that..... i don't think anywhere in any rom OP at any device anywhere in XDA and outside XDA it sais that you should do a factory reset...

what ? but i'm using it and my mother is using it too. if it didn't have an internet connection it would be totally useless, so i wouldn't share it at all...
[G4 Android Development] jovanv:
Sorry, what I put in 2. is incorrect. I did not do factory reset, I meant Advanced Wipe and selecting /data, cache, Davlik cache.

Anyway, obviously it was a one-off problem. I will try again the coming days and will let you know the outcome.
[G4 Android Development] WiZaRd981:
Was thinking on his internet connection problems.. Nothing wrong for ROM.. :svetius:
[G4 Android Development] kessaras:
oke, but wipe system too.. Never forget the system partition. You can't dirty flash a system over a system unless there is no change in that rom
[G4 Android Development] jovanv:
OK, second attempt with aoscp_h815-4.2-20190112-unofficial was successful! I managed to get it up and running, however I encountered a problem connecting to the WIFI at work.

The connection is 802.1x EAP with PEAP and MSCHAPv2 authentication and trying to set this up leads to FC of the wireless settings app. The logcat is here. Note however that the time and date are completely off for some reason (no network?) although I have mobile signal (but data connection is off). I can definitely see a java.lang.NullPointerException in there. (Unrelated to this problem: I also saw a lot of E/QCOM PowerHAL( 5120): Failed to acquire lock. lines in the log).

So, at the time being I cannot use the 802.1x WiFi, have to use data, which seem to work... There were no problems connecting to the same network with my previous N-version.
[G4 Android Development] Bluto666:
Since a long time I visited this forum today and I was very surprised, that Android 9 is in development for my beloved G4, but I am also very sad about the furthermore not working bluetooth-calling, so I'll stay on official Nougat again. Anyway, great work, thank you guys!
[G4 Android Development] kessaras:
i don't understand what error that is and where to fix that. it sais that

com.android.volley has error to find the googleapis.com hostnames. But do i even have anything like that ? where does com.android.volley comes from ? in a google search i found this :https://github.com/google/volley

is something like that depending from me ?
[G4 Android Development] jovanv:
I could be wrong but com.androind.volley error is unrelated to the FC of the wifi settings. It only indicates that when I have rebooted the phone it is not connected to internet (true).

The crash report starts at line 4820 in the logcat (below the line with --------- beginning of crash) and it is in module com.android.settings

You can try to replicate the problem, at least this happens any time I try these steps:

1. Open WIFI settings

2. Add network with any fake SSID

3. Security: 802.1x EAP

3. EAP method: PEAP

4. Phase-2 authentication: MSCHAPV2

5. CA certificate: Do not validate

6. Identity and password: anything, and leave anonymous identity blank

7. Press save: ==> crash
[G4 Android Development] kessaras:
Ah fake ssid or mock location will not work yet.

I haven't added it in AOSCP framework ? (not yet)

**And that part you are talking about in the log, it's not there. So I didn't see it. But ok , I can indeed replicate the issue and so I will fix it as soon as I start working in the framework, when I'm done with device bugs

Edit: NVM. It's just Google drive that is loading only part of the log until I scroll down a lot
[G4 Android Development] jovanv:
I have solved my problem with the 802.1x PEAP connection FC-ing the wifi settings. I had to install my company root certificate first (obvious mistake) and then it was OK. But the crash is a bug that has to be fixed, although it is not only G4 that suffers from it, I saw a number of other xda posts on the problem with other devices: search for "com.android.settings 802.1x crash".
[G4 Android Development] Mogster2K:
Running on H811, but haven't tested extensively yet. :D
[G4 Android Development] Ximo F. Verde:
Hello everybody. 1st of all big thanks to [MENTION=5461026]kessaras[/MENTION] for this great ROM, really appreciate the time & effort you are putting on a 4-year old device.

I'd like to go over the steps I followed to install the O version in case somebody that has been using it for some time can (& cares to) pinpoint something I might have done wrong.

B4 flashing the ROM: Unlocked BT & stock v29 (LG-H815_Official_V29_keepsTWRP-LAF.zip if not mistaken)

1) Flashed twrp-3.2.3-PREVIEW-144_g4_N.img

2) Advanced Wipe: Data, Cache, Dalvik, Internal Storage (not System)

3) Flashed aoscp_h815-6.0.1-20181016-unofficial.zip

4) Flash 8.1 Stock gapps

Did system partition also need wiping? Should I have flashed Version: 6.0.0 from official website instead of 6.0.1? In case this is so, should I flash an O TWRP before re-wiping & flashing v6.0.0? I only do clean installs btw

Any suggestion is more than welcome. Thanks
[G4 Android Development] obvious:
Yes, wipe system :)
[G4 Android Development] Ximo F. Verde:
Yeah, I thought so.. Dirty flashing system partition didn't seem a very good idea. Thanks!
[G4 Android Development] kessaras:
flash O twrp for O rom. All TWRP work the same for flashing and backup/resore, but if you are to encrypt your G4 you need to also be able to decrypt when needed. So you need O TWRP.

Advance wipe : system, data. no need to wipe internal storage or anything else. Cache will be wiped automatically when you will boot a different framework (even a small change in framework will cause the cache deletion. only the part of cache that refers to system. For example if you use cache partition to save a file you need, it will not be deleted unless you do wipe cache) and dalvik cache are inside data partition. So if you wipe data , dalvik are wiped too.

nah,

no need for changelog yet. the only thing not working at all is encryption. for now.

if i fix that i will let everyone know it.

what i do is what i said, i update it and fix small errors not visible to the user.
[G4 Android Development] jovanv:
A couple of days using aoscp_h815-4.2-20190112-unofficial and it seems good and no problems so far.

I saw a new build in the repository, so I was wondering if there is any CHANGELOG at least for the first build in 2019. The Changelog in the OP ends on 03/06/18, which is quite a long time ago. Thanks!
[G4 Android Development] Ximo F. Verde:
Thanks for the detailed explanation, it's good to know more about how things work.
[G4 Android Development] 19Gonzo82:
I'm on 4.2 and all of a sudden, my mobile data connection doesn't work anymore. I tried everything so far. From a simple restart, airplane mode switched on and off to reapplying APN. Nothing works. Anybody has another idea how to fix this?
[G4 Android Development] kessaras:
how about "DNA unlock" ? would you like that feature ?
[G4 Android Development] steadfasterX:
Huh? Really? I have implemented that several months or even years ago and as nobody wanted it I have removed it completely.... :(
[G4 Android Development] kessaras:
yes , people don't respect a good and strong security.

DNA unlock is the best. They must stub you to unlock the phone.
[G4 Android Development] steadfasterX:
It is/was a nice feature nobody else had though.. and I never had any issues with it ... even no battery draining which I expected due to the heavy changes..

.-
[G4 Android Development] lordc:
Just worried about lowering battery demand on The decoding parte of audio playing. Thanks forma any improve you do

All here is perfect, i wast thinking about modded mixer_path XML (with biquads support enabled)

You rules tour Roms so i can say anything. Just thinking about a optimized browser from our roms ready after install (caf+chromiun). But thanks again, i understand the bloat idea.

Thanks, stupid qualcomm. And a very sad and hard lost on xda with the dead of mike Re
[G4 Android Development] Minto107:
Nah mate. It's kinda bug. When you use fast charging it will blink instead of staying red

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] kessaras:
But here , connected to our fast charger or connected to USB , or anywhere, it doesn't blink ?

Is it a hardware problem maybe ?
[G4 Android Development] Minto107:
In my case it might be battery issue

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] bedencic:
it blinks on quickcharge 2.0 on mine too, on regular 5v2a charge it doesnt.

even though the text on lock screen says slow charging
[G4 Android Development] MariusGGWP:
Hello Kessaras, I love what you did with this great piece of hardware, it is clean and fast, it really is. I hope you support this ROM long way, or shall we have an even one made also by you! I currently wonder, I clean flashed the newest nightly and some of the features you listed aren't here like face unlock and stuffs, android pay(which i've seen after i dirty flashed). Also there's a weird thing. Everytime I root with Magisk the 4 main cores shut off, the 2 big ones remain alive and when i go into kernel adiutor I cannot turn on the first core, only the 2nd 3rd and 4th. Magisk version 14. What should I do at this point? I want to modify my kernel values and such and just have a non problematic rom(i can still get my way around things if needed). I wiped data, dalvik and cache before installing the build, the first time it was a dirty flash with both dirty flashed gapps but the kernel problem occured.

Thanks in advance!
[G4 Android Development] kessaras:
dont know mate why your phone is like this.

The procedure is wipe all , flash rom , gapps and root.

im no magician...
[G4 Android Development] RoboSK:
-today I had a blue death screen, clean AOSCP installation and the latest kernel 1.7

-BSOD was modem related as someone wrote 1-2 days back

-the phone had a screen off and was running on the GPS and BT, after picking up and returning the battery started, but the GPS tracking application was totally without data as a clean installation

aoscp_h815-4.1.2-20171114-unofficial.zip

+

Titan_kernel_H815_N_LOS_Based_v1.7.zip
[G4 Android Development] kessaras:
blue screen of death ?

It's called kernel panic and may be ril related. dont know.

kernel panic needs dmesg log to see why it happened.

here i never had a kernel panic with Titan....

Only you and god know why it happened unless i see a dmesg log.

Edit:

See screenshot. For me GPS is 24hours open and Bluetooth only when I connect my handsfree. Never had a kernel panic here.
[G4 Android Development] kessaras:
Chromium added and scheduled for next update.

https://github.com/Suicide-Squirrel/vendor_rom/commit/beb4135f70828c84734e9686d9d3aee92a6a91ad

About mixer_path.xml, i cant modify the stock because it may cause issues to people who don't use the biQuads mod.

Did you test if the LG G2 mixer_path.xml works ?

Or the one for Nexus 5 since we have the same stracture.

If none of them works, what i can do is create a flashable zip for TWRP or Magisk module to flash it and get the modified mixer_path.xml for our device.

https://github.com/Suicide-Squirrel...mmit/3e874015a0ef509611069c995bb149538be4ac38

https://github.com/Suicide-Squirrel/build/commit/d8541f80a30de9ab7137108695a94c92584f11ca
[G4 Android Development] deltadiesel:
File manager would be great
[G4 Android Development] marn3us:
Thanks for your great work as always my friend :D

Just one quick question: will we be able to uninstall these apps in next update or will we need root to do so?

In the second case, I really believe that we should not add these apps because the point of this ROM is to be as bloat-free as possibile (but ofc it's your ROM so I will accept and adapt).

I'm asking because I use Firefox (the new one is amazing) and I feel like MiXplorer (here from XDA) is by far the best file explorer available (and it's also open-source) :)

Thanks again
[G4 Android Development] kessaras:
You can disable it without root and chromium will be top soon when chrome stable will get adblock.

Hmm. Cm file explorer has a repo on GitHub and I can easily add remove fix something.

MiXplorer not. It's only developed by hoot and the only way to do changes is by decompiling it, thing that I won't do.

So if any bug with file explorer will be reported to him in his thread at his email.

If that's ok, then I can use it as default.

(Ok I don't believe there is gonna be any bug anyway. But if there is one in the future , I can change to CM)

EDIT:

Ah no. MiXplorer is nice but it doesn't support all languages. Some users will have to know English or a more common language to use it.

https://sites.google.com/site/mixplorer/language

I guess ill stay with the stock one and those who dont like it they may disable it also. It's no big deal, we got so many useful free space in /system not doing anything.
[G4 Android Development] marn3us:
Perfect, thank you very much for you explanation :)

You are very quick and helpful as usual!

Looking forward to next update ;)
[G4 Android Development] axcpDev:
Hello and thanks for this great work! I have installed it today and works good. I was on lineage before. Just two things by now: AOSCP seems a little laggy, and battery drops too fast. I did a check with BBS and there's a lot of activity in kernel wake lock tab, something in lineage didn't occurred. There's something called bluesleep i.e. that is on 51% of time, and there are more. I don't know if I can do anything to solve this by myself, Amplify only solves partial wake locks and alarms, not kernel wake locks. Thanks in advance, and again thanks for your support with G4 community.
[G4 Android Development] kessaras:
Bluesleep is a wakelock that helps Bluetooth sleep.

Turn Bluetooth off and you are fine.

My friend I'll check the logs when I'm back and see what you got there, compare with mine and try think of something.

But honestly I'm not any kind of magician. For one thing that I'm sure is that here I have the best battery life I've ever had in a rom and you see that it's minimal, it's clean and pure AOSP.

Maybe ... I say maybe, what I can do is if we talk privately first and describe me all your activity. E.g. which apps you use , which google services you turn on or off , how you use the phone, so I have an idea of how you use it and help you reduce the drain as much possible. There r several ways to reduce the drain. So we talk later when I'm back.

Your logs look fine. Same default wakelocks we all have, but here i got 5+ hours sot and im going through a day ++ until i charge again the phone.
[G4 Android Development] raptorddd:
i took some pics with stock and AOSCP. go here for pics and camera app i used and settings

https://xdaforums.com/showpost.php?p=74571217&postcount=52
[G4 Android Development] kessaras:
you did a very bad editing. quality in aoscp is obviously greater

picture is more stable and clean.

try again and take a look at both pictures you got , at the same zoom level.

LG photos app is a joke in front of Paranoid's
[G4 Android Development] marn3us:
I agree, stock LG camera's auto pictures are quite mediocre, but LG's manual mode is the best of all OEM by far (and I am a photographer) :)
[G4 Android Development] INFERNO997:
I flashed the latest build yesterday ... today i used all of my battery and put the phone on charger for 30 min ( it was on 23 percent or so), i wanted to power it on and i ended up in bootloop (just endeless boot on your aoscp logo) .. I used Lineage OS official builds and builds of genesisx, and no bootloop .. this rom has a potencial to be a great rom, great performance and battery life(4h SOT all day with medium-heavy use, gaming too), but the bootloop is a NO GO for me. Please fix this
[G4 Android Development] sperelli:
why does playstore say Google Earth and Instagram not compatible for this version ?!?

EDIT: delete data and cache from PS and ...voilà!
[G4 Android Development] Netsab:
Hi, could you explain what is it?
[G4 Android Development] ChristosPas:
hey everyone, i was running RR, and i decided i wanted to try out aosp today. I wiped everything and flashed the rom, magisk and gapps, but first boot takes for ever. I mean when i was running RR the first boot after the flash would take about 15 mins, but now it has already been going for almost 25. What do you suggest i do?

update:

well it probably just needed its time, for some reason it took almost 40 mins but now i m setting up the device and everything seems fine, guess we ll see how it goes
[G4 Android Development] kessaras:
DNA unlock ? You don't know ?!

You bleed your finger and touch the power button for a few seconds. The app saves your DNA and that's it.

Next time the only way for someone to unlock your phone he has to stab you with a knife. Maximum security achieved. Only if you die they unlock it.