yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] gh7531:
Thank you very much. I edited my post hoping it's clearer now. I'll try your steps after I get home.
[G4 Android Development] bonner1928:
No root / no recovery after install

Hi,

running cypherOS for 24 hours now - great work! But how to backup the phone? After installing theres no root access anymore and "adb reboot recovery" doesn't work anymore - how to get to recovery?
[G4 Android Development] fil3s:
If you got a euro G4 the button combo is to hold power and vol - then let's go of vol - the second u see the Lg logo then quickly hold vol - again (be sure to keep holding power ;))

If you gotta usu device then it's simply power + volume down untill u see the "recovery loading" screen.
[G4 Android Development] ThePiGuy:
Not quite. With the officially unlocked ones, its power and vol until LG logo, then briefly release only power before pressing it down again and waiting until factory reset screen.
[G4 Android Development] bonner1928:
Yes, that works, BUT where to go from there? I surely don't want a factory reset :p And chosing "no" leads to nowhere (nothing happens...)

Isn't there a simple way to go to recovery? Am I the only one facing this problem? And what about rooting -> via TWRP/SuperSU ?

Thank you for your fast replies!
[G4 Android Development] ThePiGuy:
Click yes twice (unfortunately this is the way LG recovery works). As you had twrp installed and then flashed cypher (which does not overwrite recovery) it will take you to twrp rather than factory resetting your device
[G4 Android Development] bonner1928:
Ok, I clicked twiced (even though being scared to death :fingers-crossed:

...

then everything went black

...

in my mind I said goodbye to my beloved lg4

...

no trwp appeared

...

hope! CypherOS was coming up!

...

puh!

....

but the problem still remains...

---------- Post added at 03:42 PM ---------- Previous post was at 03:40 PM ----------

"puh" is german for "phew" :o
[G4 Android Development] ThePiGuy:
Ok. Go to settings --> about. Tap build number 7 times to enable Developer Options. Then go into them from the main settings menu and enable adb access.

Then use your pc (make sure adb is set up) and run

adb reboot bootloader

Reflash twrp (latest official or the latest preview) as usual and then type "fastboot reboot"

Once back into cypher, switch off and try again as described before. Also "adb reboot recovery" should work
[G4 Android Development] kessaras:
Pie is beta and even worse it's not being tested yet (until I get my g4 from my mother for a few days).

DO NOT FLASH IT , unless you really want to help me with it's development. Those who want to help you can also find me in telegram @ pavlaras
[G4 Android Development] bonner1928:
Great! Works fine now! TWRP is up again! With installing supersu_img I'l root my device now, right? By the way: can't find a version newer than 2.76...

Bye, Jens.

---------- Post added at 04:47 PM ---------- Previous post was at 04:44 PM ----------

Great! TWRP is showing up again. Now I have to install supersu-image for rooting my device, right? In fact I can't find a version newer than 2.76, will that be ok?
[G4 Android Development] fil3s:
I'm charging and dusting off my G4 now. Happy to test. ;) :svetius:
[G4 Android Development] ThePiGuy:
Sorry. Can't help there as I don't root. Glad twrp is back though ;)

Feel free to give it a go if you want - I've just done it and (unsurprisingly considering it's a first build) it doesn't boot past the LG screen
[G4 Android Development] bonner1928:
Had a problem as twrp couldn't be installed without rooting, only after installing supersu2.82-image it worked - now I've got twrp AND root running :D
[G4 Android Development] fil3s:
Yeah I just tried. Won't boot on my usu'd h815 . Hope u guys get pie to our G4 ;)?
[G4 Android Development] WiZaRd981:
Won't boot up also here, stuck on LG booting without any boot animation, glad too see Pie on our monsters! :fingers-crossed: :good:

Edit: Tried on H815 normally unlocked with last firmware v29a
[G4 Android Development] absinth:
Hi guys, yesterday i tried to istall this rom... I reboot to recovery (twrp 3.1.1.1) -> Wipe data, delvik cache, system, cache. -> but when i install the ROM an "Error 7" occurs... So i have to install the h-rom v30 again.... can you help me?
[G4 Android Development] dray420:
I'm willing to help test pie as well. Usu'd h812 here
[G4 Android Development] NeonHD:
So I briefly tried this ROM for a few hours but wasn't really impressed by it, it's noticeably laggy on my side and for some reason the flashlight doesn't work.

The AICP build was slightly better in terms of lag, but the flashlight doesn't work on that build either. Ended up just sticking with LG stock 7.0 which is buttery smooth for the most part.
[G4 Android Development] ThePiGuy:
Update twrp. Latest is 3.2.3

Flashlight is already a known bug with all G4 Oreo ROMs

As for performance, we do our best and if that isn't good enough, feel free to stick with stock. That's the beauty of custom ROMs
[G4 Android Development] rocky184:
Its a known fault that torch doesn't work on any Oreo ROM, without using root and then Kenzo app from play store :)

Other known fault with Oreo is Bluetooth calls.

I've not found any lag issues with Oreo, other than Atomic ROM...hth
[G4 Android Development] NeonHD:
Yup, I already just downloaded a heap of custom ROMs from steadfasterX's server, planning on testing them all to see which one is better for me.
[G4 Android Development] SeewolfPK:
I gave pie a chance, but open_gapps-arm64-8.1-pico-20180629.zip end with error.

So I cannot try.
[G4 Android Development] WiZaRd981:
You tried flashing oreo gapps on Pie??

Of course there will be a error.. :(
[G4 Android Development] SeewolfPK:
Did not find pie gapps: https://opengapps.org/
[G4 Android Development] WiZaRd981:
Try this btw, opening new tab and searching for them is about 3.5 secs :D :D :D

https://xdaforums.com/android/development/gapps-unofficial-opengapps-builds-t3828141
[G4 Android Development] bernavaldiesel1:
hi guys, can someone pass me the file or the link to try android p?
[G4 Android Development] ThePiGuy:
There's a reason there is a password on the folder now ;)

Honestly, there is no point in trying it. Currently it does not boot.

Once it is ready for others to test it, we will let you know
[G4 Android Development] bernavaldiesel1:
Thanks
[G4 Android Development] NeonHD:
Just tested out CypherOS on Nougat, holy sh*t it's so much better than the Oreo version. Much smoother than both stock LG and CypherOS 8.0, loving it :)
[G4 Android Development] kessaras:
Yeah it's good. But I can't maintain many things alone. Its Better if Bluetooth audio call is not a must have, to use the latest official Oreo ( until pie is ready ).

For security reasons ofc. If security is not troubling you then ok use anything you like.
[G4 Android Development] NeonHD:
I personally value ROM stability more than security (I'm sure being on the April 2018 sec. patch isn't that bad), plus I can't get Dolby Atmos working on Oreo for some reason so I think Nougat ROMs are still the most viable option for me.

I'm happy to hear that you guys are working towards getting a stable release of Pie, can't wait to try it out.
[G4 Android Development] fi5z.x9:
Welcome to the club... It's just simply awwesome ?

Thumbs up [MENTION=5461026]kessaras[/MENTION]
[G4 Android Development] fedeanimation:
apps crash

I guys

I have many problem with this ROM. Google Maps continua to crash and the phone tell to remove and reinstall. Even other app like Waze doesn't work.
[G4 Android Development] tmihai20:
[MENTION=7053080]fedeanimation[/MENTION]: have you installed it fresh? Like deleting everything before installing it? It looks like you flashed CypherOS over an existing Rom. A fresh install does not have the issues you are experiencing.
[G4 Android Development] fedeanimation:
For fresh installation you mean cleaning the wipe data from TWRP?
[G4 Android Development] tmihai20:
[MENTION=7053080]fedeanimation[/MENTION]: yes, definitely. You always need to to this when switching to a new ROM. Also, have you installed Gapps from here https://opengapps.org/ (ARM64 flavour)?
[G4 Android Development] fedeanimation:
Working now thanks for your help
[G4 Android Development] Gaptain4:
https://drive.google.com/open?id=1FB890Mc8D4lKDGtRmsfsgBeCNpKmeNSw
[MENTION=5461026]kessaras[/MENTION]

VoLTE LG G4
[G4 Android Development] theophg:
UP ! Does anyone have an answer plz ? Tks :)
[G4 Android Development] kessaras:
i dont see any problem with lte. sim is detected and connected correctly.

when we call it is supposed to fall to 2g/3g if the cell phone and the provider do not support it (both must support VoLTE to make a 4g call).

in our case during the call it must go down to 2g/3g.

EDIT:

i only see LTE there. you dont have 2g 3g ? if not then you cant make a normal phone call.

no
[G4 Android Development] Gaptain4:
My provider uses volte for placing calls.... Which is kinda irritating and asks is to use the jio4Gvoice app the phone ain't volte but just LTE.. But in my case I have volte in settings enabled...I check the log and I find that it says failed to find carrier somewhere...So... Idk and yes my provider gives only 4g and they never have the 2g or 3g sim.. Old sim provider was also 4g but that support 3g also in some places. So that's why I was able to place Normal calls. If you give me time, by evening I'll do another log with another phone with same volte and same sim,I can place calls with it. So you could find what's wrong right?

EDIT : switching to 3g means my signal goes dead and says emergency call, my provider name itself is jio4g...........
[G4 Android Development] kessaras:
This is a problem. There is nothing I can do. The option for volte is there because of the prop in build.prop.

We may be able to see the volte option but our variant is not volte.

Volte g4 are only a few variants , like Turkey one for example. LG didn't do a very good job. Each variant of this phone is different in specs.
[G4 Android Development] Minto107:
Mine didn't recognise the network, but it showed my phone number. Strangely enough LOS recognises network
[G4 Android Development] Gaptain4:
Even the tmo ? I thought the tmo version was volte supported:crying:
[G4 Android Development] kessaras:
Maybe , only stock rom.

You see, me I have a h815 int. and it definitely isn't volte. The blobs are extracted from a h815 and the development is also tested and logged on my h815.

Even if there is volte in h811 it's impossible for me to make it work.

Only if there was a developer with a h811 ... as far as I know there is none
[G4 Android Development] Gaptain4:
Only stock ROM. I forgot. Nope it ain't working there too.. Volte enabled and it also shows in status bar...but can't make normal calls...
[G4 Android Development] bernavaldiesel1:
hello
[G4 Android Development] kessaras:
Hi
[G4 Android Development] kessaras:
fixed adb and now you can grab logs in pie.

The next bug i need to fix now is on the

adreno

libs dependencies.

So now you can all participate into this if you want this to procceed faster.

Anyone without knowledge on how to update the adreno dependencies, do not download Pie rom, i'm not gonna do this with baby steps.

If nobody helps, its not problem for me. I can fix it anyway, all i need is time as usual.
[G4 Android Development] whitewolf1608:
Hello, Dear Kessaras, what does this mean in the title of Official - Rom?
[G4 Android Development] fil3s:
:crying: beloved

What is password & login for pie builds do not delay
[G4 Android Development] adam_s_459_:
The password is on there so people don't try those builds because they are in development
[G4 Android Development] kessaras:
sad times.

I fixed many bugs in pie and its very stable according to the log, but i haven't actually boot to homescreen yet.

In Pie, keymaster got an update to v4 (as many other hals did , but all the others work fine).

keymaster is very important in pie and its included in vold. https://github.com/CypherOS/system_vold/commit/f5b085c13ae130b30fb11b35420c2dbdc1f9e4fa

What does this mean ? That if keymaster doesn't work properly, then crash and goodbye in simple words.

what i tried to fix it:

1. https://gerrit.cypheros.co/#/c/CypherOS/vendor_aoscp/+/6923/

2. https://github.com/Suicide-Squirrel...mmit/22cb75937c3ed4bbde6745fbbfa20489c1ff7e04

3. locally tested building the old keymaster, but ofc that would never work, it needs the new keymaster v4.

4. locally tested to remove keymaster && not build keymaster && build a non-keymaster supported device -> all failed because keymaster v4 is a must have, at least for qcom devices, i don't know for other devices.

The error message is this:

https://github.com/Suicide-Squirrel/logcat_reports/blob/master/logcat.txt

E SystemServer: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.exist(java.lang.String, int)' on a null object reference

It doesn't explain why, it doesn't show me anything else before that or after that.

It's just telling me that ikeystore service crashed because of a null object reference. I don't even know what's this reference so i don't know what to change in framework to ignore it, or in kernel to add it.

If anyone has the same error in his device too and he has the slightest idea at least what's that null object , find me in telegram and inform me so that i can fix it in keymaster or bypass/ignore it in framework.
[G4 Android Development] ntnlzr:
did you try TARGET_KEYMASTER_WAIT_FOR_QSEE to true?

or

https://w3bsit3-dns.com/forum/index.php?showtopic=209610&view=findpost&p=63876951

service not boot @ start
[G4 Android Development] ThePiGuy:
First one is already there

https://github.com/Suicide-Squirrel...ob/poundcake-release/BoardConfigCommon.mk#L29

Not sure about the bits in the link though. Maybe [MENTION=5461026]kessaras[/MENTION] will understand it
[G4 Android Development] kessaras:
Yes first one is there already since MM. Second one will test it asap (on Monday when I'm back).

We don't have a keystore service in init. That may actually work, I don't know.

Keystore never needed a service before , so it's not there.

Edit:

If I recon , service keystore must be in init of each rom. But I will test adding it in our device init too

Edit2:

Yup there it is, see screenshot.

But as I said. I will test it in our device init too.
[G4 Android Development] nigxxx:
[MENTION=5461026]kessaras[/MENTION] can you tell is there some significant difference between compiling for oreo 8.1 and now for pie? some major code change etc
[G4 Android Development] BunkerBert:
ezz all. do i still need to install the easy ril restart app?
[G4 Android Development] kessaras:
Keymaster, gnss, wifi, audio, display, nfc, Bluetooth, ir hals and ofc small appearance differences.

So almost everything has changed again.

No
[G4 Android Development] doomanix:
I just got my bootlooping H812 fixed by LG and would be happy to test Pie if you [MENTION=5461026]kessaras[/MENTION] need another tester. Happy to take logs on any issues I encounter.
[G4 Android Development] blacko89:
new guy here

Hi everybody!

I'm new here. I have android 7.0 "V29a-EUR-XX" at now without any modification. I would like to upgrade my phone to AOSCP firmware. I would like a rom which faster than the original one(or just it handles the ram better than the original) and everything works as before. Is this rom good for it, or do you have any annoying issue?

Anyway, Could you help me to choose the good version of AOSP rom for it, and help my to upgrade. I saw before that I need to install TWRP(its a kind of boot menu??). Do I need to root my device? Unfortunately, I dont see the big picture.

By the way I've installed costom roms for few phones some years ago.

So, Could you help me and send some links to prepare to install this rom?

Thank you very much in advance!
[G4 Android Development] kessaras:
First boot. Wifi and gps and ril are working but this build here locally is full aosp.

My caf build still has a lot of work.

I only fixed the display caf and partially Bluetooth.

When it's stable I will let you know. It has a great lot of work to be done
[G4 Android Development] obvious:
Your outstanding work is very much appreciated! :)
[G4 Android Development] MariuszO:
Mister, you are unbelievable! :)
[G4 Android Development] grantdb:
I don't mean to be blunt but you definitely need to do some reading, maybe watch some YouTube videos etc I suggest that you don't do anything to your device, since you don't know what TWRP is, you will probably end up not being able to use your phone at all (brick). There's plenty of guides and tutorials if you take the time to search and explore XDA.

Goodluck!
[G4 Android Development] RefinedPL:
Sorry, is there anywhere information about what is working and what is not? Or something like that? Tried to find it but without success... Am i blind or there is no such thing?
[G4 Android Development] nigxxx:
awesome. take your time , beer is on me :)
[G4 Android Development] mathbond:
on the oreo , everything is fine except the Bluetooth call
[G4 Android Development] ThePiGuy:
And torch tile (not a biggie, but prevents the bug report later on ;))
[G4 Android Development] mathbond:
hello

you should indeed watch some tuto to understand each part and dont k brick your phone ...

And when it s done , you just have to unlock the bootloader (tuto on xda depending of your g4 version) ,flash twrp and install the rom !
[G4 Android Development] levider:
What about YouTube and Chrome cast to TV?
[G4 Android Development] fedeanimation:
some bugs

after 2 weeks with this ROM I have 3 problems.

after few minute of using the mobile its come very hot, with every kind of app.

the blutooth not work with the call

the ligth doesn't work

Someone have the solution for the first 2 points?
[G4 Android Development] ThePiGuy:
Personally I don't have this issue. Make sure it was a full clean flash before moving to this ROM (wipe system, data, cache and dalvik)

Please use the search button. Both of these bugs are stated about 5 posts before yours
[G4 Android Development] Minto107:
My would get hot after anything as well, maybe it's issue with old G4s, idk however completely stock v29a worked well with no overheating and awesome(5hr) SOT
[G4 Android Development] RefinedPL:
Guys, am I only one who have problem with high battery drainage? Battery is brand new. G4 unplugged from charger at 9, and after an hour battery went from 100% to 87% lying on the table with wifi on only, and meanwhile my mum wrote only 2 sms.

Edit: It seems that wifi is draining so much battery, 20 minutes ago i OFF wifi at 86%, checked at 10:40 and it's still 86%.
[G4 Android Development] popy2006:
Do you using 5ghz wifi? That is something like broken on this phone, also on stock roms and draining battery faster than 2,4ghz. That's my experience with my g4 and an business like unifi wifi.

On this wifi all other smartphones, tablets and notebooks (OPOs, Lenovo...) didn't suffer from this problem. I never have a good 5ghz wifi with that phone.

pOpY

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] deltadiesel:
Any update on pie?
[G4 Android Development] kessaras:
i prefer to keep pie of topic and hidden until i have everything working because it may have more bugs than O in the end and i just abandon it.
[G4 Android Development] deltadiesel:
Plz make it workvsir :cowboy:
[G4 Android Development] kessaras:
[youtube]gxuwKRs-yWc[/youtube]

But I need time. Can't work all day ?
[G4 Android Development] seannolo24:
Will Android Pie arrive for G4 ? :cyclops:
[G4 Android Development] obvious:
Looks like WiFi is working...
[G4 Android Development] kessaras:
Keystore , encryption, gps, wifi, Bluetooth partially , media partially,

Are working.

Audio caf is not ready and I'm not yet working on the audio.

camera proprietary is not working so that's it for max camera quality , Oreo is our limit for the proprietary to work so I'll switch to open source which is not ready yet.

Rild in AOSCP is not getting built and Chris will probably fix that soon and I can work to fix ril.

The above "is not ready yet" mean that I can't work on them yet to fix them or our device is not supported yet.

So yes we will get pie for sure , but I don't know how stable it will be. Oreo may be our last stable and I may end up improving our Oreo ...
[G4 Android Development] niccotaglia:
What bugs are there on the Oreo build?
[G4 Android Development] aha360:
Bluetooth audio, and temperamental RIL startup, in which the latter has a workaround built into it.
[G4 Android Development] caponex:
Hi, my question my sound a bit inappropriate but how exactly does the RIL bug affects the phone? I mean as far as I know it concerns the phone's modem, but which functionality? Is it like you phone accidentally losing signal for calls and mobile connection? Or is it more like happening on startup and you will know when the RIL is not working properly to restart the phone? The Bluetooth is not of much concern to me but if this RIL bug may brake and you don't notice that your phone is not receiving calls then I may stick to the good old Nougat version. :D

One more time please excuse me if you find the question inappropriate, I tried to find the information within the thread but its like 500 pages now and its not that easy.

Regards and thank you
[G4 Android Development] NickName777:
If you look in the latest post of the AICP's thread you can see that kessaras finally fixed RIL
[G4 Android Development] kessaras:
yup ! exactly.

I'm building it now.

For AOSCP i will have to sync back to O since there is not gonna be any official release any time soon... so hung on a bit over here. Next week i will have them all enforced and encryptable.
[G4 Android Development] kessaras:
Now we are enforced and soon all roms will be.

What you expect is that apps won't have permission to do anything they want inside the system, unless I allow them to do so.

If an app crash , send me a log to see if it crashed because of a selinux policy. If the app wants something that's not dangerous , I will allow it. Otherwise not.

Some functions are not tested because I can't.

For example I don't use my phone as a remote control, I don't have a smart TV with chrome cast or miracast, I don't have a Bluetooth handset and I don't have a car with Bluetooth connection.

Ofc you will send me a log and I will add instantly all missing policies with your help and share a new build.
[G4 Android Development] aha360:
No sorries man. The RIL doesn't initialise properly at times, meaning that the phone will act like there's no network or SIM, so the RIL restart commands are embedded into the ROM to workaround that issue.

UPDATE: Apparently, the RIL Bug has been fixed - didn't know that
[G4 Android Development] speed47:
Usually with those roms, when the ril doesn't start up correctly, you'll notice that you have no signal. Most specifically, the phone will behave as if you didn't have a sim inserted at all. The icon in the status bar is pretty self-explanatory. When this happen, just stop/start rild, and 10 seconds after that you'll be online.

Once this is the case, the phone never looses the signal again. It's just a startup issue.

Edit: hah, didn't refresh before replying, didn't see this has already been answered ;)
[G4 Android Development] Minto107:
I guess Bluetooth should be fixed too as G5 received Oreo for few variants already
[G4 Android Development] kessaras:
What variants ? Me I only saw a Korean release shared in xda again.

Someone was good enough to upload it because LG couldn't do it again ?

Edit:

Bluetooth can't be fixed from there. But camera blobs may work better than ours and maybe be compatible with the way the framework calls for the flashlight torch up there ;)
[G4 Android Development] Minto107:
US ones, Verizon and Tmo I believe :D but HW is the same right? Tmo firmware is available here on XDA
[G4 Android Development] franco853:
guys there is any way to make mhl video output working on this rom? i really need that feature
[G4 Android Development] Minto107:
If you provide logs then [MENTION=5461026]kessaras[/MENTION] will try his best to do that ;)