yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] zeduck:
Hi,

I can't make encryption work.

Can you write a procedure to use it with this ROM, please?

What I did:

- Install TWRP latest version

- Install latest nightly

- Remove gate keeper (using this)

- Launch encryption

What happened:

- Device reboot, display a green android on a black screen for a second, then reboot again try to boot on LineageOS but it froze after maybe a minute.

- I put off the battery and reboot the phone, that boot normally (data not encrypted but not corrupted either).

Thanks by advance
[G4 Android Development] steadfasterX:
thx for testing..

yea I rem that there was a "trick" .. Could you try this build pls: http://droid.binbash.it:58885/h815/lineage-13.0-20170912-UNOFFICIAL-h815.zip

It includes an insecure kernel which will allow to debug.

Factory Reset in TWRP

Flash in TWRP

Boot Android

Enable encryption

when it reboots open a terminal and type (linux or FWUL): while true; do adb logcat ;done

on windows ensure that once the logcat aborts that you restart it immediately again!! and use just adb logcat

if using windows or linux: ensure the terminal buffer is big enough bc thats a a lot to handle.. (go into the settings of the cmd or terminal and set it to a very high value. e.g. 5000000)

let it bootloop and boot into Android again (logcat should run all the time)

CTRL+C when its completed with the above

copy & paste the whole stuff in a text file and attach it here

sfX
[G4 Android Development] zeduck:
Are there any special modifications that would make it work?

Because I use this ROM as a daily driver and I would appreciate not to backup and reflash several times :P

If not, I will take the time to test this weekend.
[G4 Android Development] steadfasterX:
without logs I cannot say anything for sure...

It may can be solved by just typing the encrypt command over adb or it requires to modify the ROM..

If you like you can try the following but keep in mind that having a complete Backup is a good idea always and when I say complete I mean including internal storage which is not be backuped by TWRP!! Use e.g FlashFire app to accomplish this. I would take a TWRP backup for all (use my latest beta!!!) and then FlashFire to backup internal storage.

Encryption often fails to a wrong formatted data partition so this can be a reason as well.

Try this:

Backup as described above

In TWRP select wipe - advanced - press "Format data" button to format the data partition

Boot android

set a pin or password for the lock screen!

Encrypt

If succeeded restore backup with FlashFire

As always there is a risk and it requires some time so I would not recommend to do this on a busy day.. as you say at the weekend fe.

Then we can try to use the adb commands and if that doesn't work as well the logcat..

sfX
[G4 Android Development] breversa:
Hi !

I gave a try with lineage-13.0-20170918-UNOFFICIAL-h815.zip that I dirty-flashed over my previous lineage-13.0-20170204-UNOFFICIAL-h815 version.

Everything went fine (I had to replace the su zip/app though), except that satellite location would not work (network location was fine) : I kept getting

QCOM PowerHAL : Failed to acquire lock.

in logcat.

I'll give another try with the latest lineage-13.0-20170927-UNOFFICIAL-h815.zip.

If that fails too, I guess I'll have to clean-flash it then.

EDIT :

Bad news : after a clean flash, I keep getting

QCOM PowerHAL : Failed to acquire lock.

in logcat.
[G4 Android Development] Netsab:
No GPS?! Kind of annoying bug... I'm still in 20170608 build and that news don't make me want to updated. I use GPS everyday, so this is very annoying
[G4 Android Development] breversa:
After flashing several successive versions of that ROM, I discovered that version lineage-13.0-20170813-UNOFFICIAL-h815.zip seems to be the last one with satellite location working fine.

Starting from lineage-13.0-20170814-UNOFFICIAL-h815.zip, satellite location stops working. I guess something is broken in that build.

[MENTION=5545101]steadfasterX[/MENTION] :

Can you look and see what's happened with 20170814 ? Thanks ! :)

[MENTION=6010113]Netsab[/MENTION] :

You can safely upgrade to 20170813.
[G4 Android Development] Netsab:
Thanks you, I'll try.
[G4 Android Development] steadfasterX:
thanks for your report. btw a dmesg is very helpful in these cases but the above should be fixed on next build.

next build will also have all proprietary stuff upgraded to v20p.

sfX

EDIT

new build is up

.
[G4 Android Development] breversa:
Hey sfX,

When trying to dirty-flash 20170930 over 20170813, the phone gets stuck on the boot animation (for over 30 minutes).

I did not try to clean-flash it though ; I thought I'd let you know first.
[G4 Android Development] datorprofessor:
:) Sir SteadfasterX!

I use Unofficial 13.0-20170625-UNOFFICIAL-h815 as a daily driver and it never crashed once. I will try yours in near future, beginning with a dirty flash (but with a backup in case).

My question is, do the Bluetooth APT-X include in this rom?

One of my other phones Sony Z5 (modded stock) includes from factory an APT-X notifier, whenever it connects to a Bluetooth with APT-X I get a toast message that the device using "BLUETOOTH apt-x".

I see in Nougat 7 that it is possible to check in "developer mode" which Bluetooth protocol that currently is in use.

[Request] It would be nice if you could pick Bluetooth APT-X drivers/codec from above version of LinageOS14

:cool: Thank you very much!

I have attached the spoken AptxNotifier.APK from Sony z5 Marshmallow
[G4 Android Development] steadfasterX:
Better wait until I fixed the current nightlies..

nice app btw. when all is fixed i may take a look into it
[G4 Android Development] Netsab:
It would be cool if could write what's working and what's not in the first msg.
[G4 Android Development] steadfasterX:
Weekly nightlies will be build again.

Unfortunalely I hadn't the time yet to test the new blobs (updated to 20p) so use the nightlies still with care! It may bootloop or have other issues.
[G4 Android Development] datorprofessor:
I thought it was because I dirty flashed it, but then I tried clean-flash, very clean with wiping a lot except the internalSD.

I clean-flashed 3 times your unofficial LOS-13 2017oct30 with

bootloop

. But I

believe

very much in you and you are welcome to be my room-mate.

H815 EU.

Solved to enter Recovery by giving up and I was ready to delete the whole **** in my phone. Luckily, the LG factory reset question with white background took me to TWRP.

I succeed to enter TWRP 3.1.1.1 by accepting a total factory reset, luckily the factory-scripts opened recovery image TWRP for me, and that was the surprise. It didn't delete anything, not even the internal SD.

Of course, in my case, TWRP can reboot to bootloader-mode.

But recovery-mode was more than enough for me ;)

I will try a newer weekly nightly. :highfive:
[G4 Android Development] breversa:
I'm glad I'm not the only one who met the same problem ! :)

[MENTION=4956303]datorprofessor[/MENTION]*:

Since you'll be trying the next nightlies, could you post your results ? Thank you !*:)
[G4 Android Development] -]AF[-Death:
Same thing with me. Land in the bootloop, too.

The last working one was the lineage-13.0-20171002-UNOFFICIAL-h815. zip, but the GPS didn't work.
[G4 Android Development] steadfasterX:
Yea sorry guys.. I had no time yet to fix that. It's due to incompatible blobs..

EDIT:

Can you guys tell me which bootloader you flashed? The new blobs are based on 20p so you should try to flash 20p kdz first then the newest nightly. Would be a great help if someone is willing to try that..
[G4 Android Development] datorprofessor:
yes Sir!, I'll change my bootloader. I think mine bootloader is old.

Fastboot getvar all

gives back version 0.5 for my bootloader, but that maybe not exactly the correct return. Where can I find the 20p information on my phone?

Ultimately, the best would be if you have some bootloader & modem only zips, instead of whole stock-rom becuase I have limited internet right now. I go to a friend and do it ;)

EDIT: Found 20p H815 firmware from Spain and England

https://lg-firmwares.com/lg-h815-firmwares/
[G4 Android Development] kessaras:
freedom rom 2nd post. tap and go find the firmware you want to flash
[G4 Android Development] datorprofessor:
Thank You!

More precisely, it was this:

https://androidfilehost.com/?w=files&flid=194933

It was even flashable.zip for Recovery-mode :good:

The file.zip hadn't any md5 zip verification, for such fragile thing as a bootloader-partiton. :cyclops:

Update: Still bootlooping after 20p modem- & -bootloader-flashZipping; with LOS-13 2017oct30

Do your thing SteadfasterX! Do your thing at your tempo; I'll be back, Later! Alligator!
[G4 Android Development] steadfasterX:
many thx for testing this! too bad it hasnt worked though.

I have send my device to repair so i cant test anything atm.. i could revert to the old blobs in the meanwhile maybe..

UPDATE:

ok reverted to the old blobs. next build will contain them and so should boot again..

Check the build status here: https://releases.nailyk.fr/jenkins/job/LG-G4/job/LOS-13.0/job/Build Pipe/ once finished you will find the download on my server in the OP.

UPDATE 2:

New build up! Lemme know guys if that works again for you now..

sfX
[G4 Android Development] TomaCastaña!:
Hi steadfasterX! Thank you for all your work

I was on 0813 build, encryption and no gapps installed.

I updated to this last build (1103) and the phone doesn't boot, it doesn't bootloop on the boot animation, the phone doesn't pass from the LG screen.

I'm on v20D bootloader and modem, what can I do to help? Count on me for testing if you want

I hope you understand my english, have a nice day :good:

Update: I tried a clean flash and the same happens
[G4 Android Development] -]AF[-Death:
Same here.

I updated to the last build and doesn´t pass the LG Screen.

What can i make ? I can't get into recovery mode anymore either
[G4 Android Development] steadfasterX:
thx for testing.

could you guys try to do an adb connection when the LG logo is showing like:

adb devices

and

adb shell

and

adb shell mount

and

adb shell dmesg

and

adb logcat

If you get any results posts them on paste.omnirom.org and provide the link to the paste.

The recovery mode is not affected by installing LOS. you may use the wrong key combo? Do you see even the factory reset screen? What happens exactly when you try to go into TWRP?

.
[G4 Android Development] TomaCastaña!:
I can enter in recovery mode without problems, reflashed last working build and phone boots normal

I'm installing it again and I will try to make the adb connection.

EDIT: no device is detected when I run adb devices while on the lg logo.

I tried with your FWUL and same

I also tried this https://xdaforums.com/general/xda-university/universal-test-rom-build-didnt-boot-t3258818 and same

I've got the dmesg from twrp maybe it's useful for you? I've sent you a PM, I'm not sure if it contains personal data
[G4 Android Development] -]AF[-Death:
Whatever, but after I've left the cell phone a while off I'm coming back to recovery with the key combination.

Have then the last working version installed and running.

By the way, I've made a mistake, the last working version is the lineage-13.0-20170927-UNOFFICIAL-h815.zip
[G4 Android Development] steadfasterX:
thanks for your reports. I will check it asap..

afaik 20170927 is working but without GPS?

sfX
[G4 Android Development] -]AF[-Death:
Correct. It find no satellites
[G4 Android Development] steadfasterX:
If someone wanna help me ( my device is still not back from repair):

Watch until the job here has finished : https://releases.nailyk.fr/jenkins/job/LG-G4/job/LOS-13.0/job/Build Pipe/

EDIT:

Build finished :)

once finished you will find a new LOS release on my download server. Download and flash.

It will still fail to boot but now the above adb commands should work so pls paste the results as mentioned above

thx

steadfasterX

.
[G4 Android Development] TomaCastaña!:
I tried with 1106 and 1107 and I can't get adb connection, I don't know what to do to make it work or if I'm doing something wrong, is any special driver needed?

In twrp or in a booted up android I get the adb connection, I'm not an expert but I use sometimes adb, so I'm not that newbie...

What can I do to help?

Thanks steadfasterX :good:

Those new builds have security updates? Is it possible to have this last security update of november? Or we have to forget all that in our loved old lineageos 13?
[G4 Android Development] steadfasterX:
If you can connect with adb in TWRP and not when you see the LG logo it is not an issue on your site..

Let's wait until I have my device back and some free time to test on my own..

Tbh if you wanna have a secure ROM go with aoscp or aokp these days. Nougat though..
[G4 Android Development] :
Can somebody point me to the official cm13 last stable release if any I need a working link
[G4 Android Development] datorprofessor:
I have tested yours unofficial LOS13 2017-11-07 and I cant past the LG logo too, as other commented here.

Clean install.

No adb connection after clean flash.

Waiting with patient to test more of yours ROMs.

I have two unlocked H815 LG4 devices, and could borrow to you one of mine's, if you want to test, before the service-repair return your device, if you think I am faster. I live in north Europe.
[G4 Android Development] steadfasterX:
Many thanks for your offer dude..!!!

The easiest for me is to test by myself as I have no idea where it hangs atm..

which base firmware btw? Did you flashed v20p or g?

Hope that I can go on next week with this..

In the meanwhile you can flash the latest working variant mentioned in the OP.
[G4 Android Development] datorprofessor:
Yes v20p

modem and bootloader
[G4 Android Development] steadfasterX:
Ok I made a new build with completely reverted blobs.

Find it as usual on my download server.

If someone wants to try lemme know the result..
[G4 Android Development] TomaCastaña!:
It boots!!!

Dirty flash on 0813

Thank you steadfasterX!
[G4 Android Development] datorprofessor:
sorry, What do you mean with "completely reverted blobs"?? No blobs or old blobs? :silly:
[G4 Android Development] kessaras:
iphone X blobs !
[G4 Android Development] steadfasterX:
The blobs are now those from the official again.

A phone without blobs wouldn't boot at all..

I will update the blobs again when I have the time to test the result..

;)
[G4 Android Development] TomaCastaña!:
GPS not working like last working builds, no other bugs found yet.
[G4 Android Development] steadfasterX:
Hm THAT'S strange.. It may has to do with gps conf.. I will look at it as soon as I can but quite busy these days..
[G4 Android Development] zeduck:
Any news about not working functions/hardware?

It would be a shame if LOS 13 is no more updated :(
[G4 Android Development] TomaCastaña!:
It's my daily driver, phone doesn't get hot, really stable, latest security patches from lineageos tree (Is this right?)

Everything but no GPS, but if you want GPS you can stay on 0813 build.

Thanks again steadfasterX for building this!!!!
[G4 Android Development] steadfasterX:
:)

yes as long as LineageOS members are supporting 13.0 I will build for it

( https://en.wikipedia.org/wiki/LineageOS#Version_history )

When you see the security patch level changing then its true ;) ... for the ROM. The only thing is that this does not reflect the kernel as that one is completely outdated.

I currently trying to fix that plus the GPS thing in a next experimental build (will be shared here when ready).

Cheers

EDIT:

So if someone wants to try (I can not atm) download and flash this - BUT BEWARE - it may not even boot.. :eek:

http://droid.binbash.it:8008/lineag...tal_lineage-13.0-20171208-UNOFFICIAL-h815.zip

Lemme know how it goes :)
[G4 Android Development] TomaCastaña!:
Boots, gps now working, and I see the kernel updated :victory:

But now no camera, I've sent you a pm with the logcat

Thanks steadfasterX you are the best! :good:
[G4 Android Development] steadfasterX:
Hahaha nice :) say thx to [MENTION=5461026]kessaras[/MENTION] for his incredible TITAN kernel which now is running on even LOS 13 (this will even is a surprise for kessaras ;) ) including all his fixes, security patches and enhancements!

Pls check for WiFi and Bluetooth!

Regarding the camera: which bootloader stack do you currently have flashed?
[G4 Android Development] kessaras:
lol !

source ? i wanna see this !

EDIT:

Can't find anything around. Don't tell me the nougat with everything up to date to now -v.3.10.108 works ?!
[G4 Android Development] steadfasterX:
Sure yes. bc I'm a magician ;)
[G4 Android Development] steadfasterX:
Thx for the logcats.

Could you pls try the Google camera app?

Or any of the others here :

https://xdaforums.com/g4/development/g4-cypheros-t3680102/post73950207
[G4 Android Development] TomaCastaña!:
I tried all of them (that let me install, most of them are +7.0 required)

Last official google cam for 6.0.1,

And the snapdragon one (attached on the aoscp #2 post of the thread)

Open camera and the WhatsApp camera

Need more logcats? Using the experimental build since then and it's smoother and a lot better. Just missing my camera.

Have a nice day steadfasterX!
[G4 Android Development] steadfasterX:
well yea without camera this phone makes not much sense for many ;)

hm I will look into the kernel code and maybe try to remove the shim or something.. it must be related.

yes pls make a new logcat after using the google cam and the snapdragon cam would be nice.

Cheers
[G4 Android Development] zeduck:
I edited my previous message because I found where the stable build was on the website.

Sorry for the noise, you can delete this message.
[G4 Android Development] datorprofessor:
tl;dr Too Long; Didn't read

Talking about; how to getting secret codes exported to our modified phones. Speculating with OP.

LGs camera use laser-light for measuring distance for the camera, it's helpful when auto-focus-snapping spiders and insects, like worms in the nature; Just so you could log out sometimes and take lit pictures on how metal nature is! Fantastic!

:cowboy: Sir steadfasterX !

-Is the blobs- advantage to get the full camera functionality? And could you describe the method how you will extract it? Also, are the blobs are device specific? (Yes, of-course, :cyclops: after some rereading

-Is it possible to use special home-made xposed- or magisk-module to extract BLOBS? Or is it in a too high level of java? Or does it need a special lg G4 motherboard-debugging-SoC? or Jtag? Or do you completely reverse the official-camera-app?

-Will it be hard-coded? or Pointing the symbols? Or breaking the official-HAL ? Hex-editing binaries?

Also, by comparing official MM camera-HAL with Nougat-HAL, what solid structure will it give

... And the result is a fully working camera with LOS13?​

-Do you/ should you, use social-networking with LG-team to help you a bit and accelerate? Could someone i Taiwan help you somehow, giving you the HAL or Binary Large OBject? Is it possible for official LG-team to provide their own SHIM to us? hehe

-This link is explaining about "shim"-method, for beginners. https://www.xda-developers.com/came...opers-make-hardware-work-without-source-code/

"-I admire you, whether you'll succeed or trying! /Datorprofessor"​

:o Happy Christmas!
[G4 Android Development] hteles:
Hi [MENTION=566426]stead[/MENTION]erfasterX!

What are the status/quality of those builds at http://droid.binbash.it:8008/lineage/nougat/experimental/. ?

I'm running one build that is getting old. It is an unofficial lineage build from tuti_something for nougat modem based on Korean model. I would like to stay updated on google security patches.

Are they safe? Couldn't find any info on them, are they automated?

I'm one of your usu customers ? on a h815 refurbished phone.

I did a small contribution to you after unlocking my H815. BTW, do you know that there is a unlock bounty for LG G4 Models? You deserve that prize, hope that you already get it.

https://xdaforums.com/g4/general/bounty-unofficial-bootloader-unlock-t3258208/page33

Regards, and thanks for all your wonderful work.
[G4 Android Development] steadfasterX:
No bounty I think that's too long ago.

and thx for your donation! Highly appreciated.

Never ever use experimental builds.
[G4 Android Development] hteles:
Thanks,

I do wish you all the best.

Since I recently bought this phone, I will keep following your and Mr kessaras work.

Will shown my appreciation to him too.
[G4 Android Development] datorprofessor:
EXOPLAYER codec avs

Sir steadfasterX!

I have issue when "redditing" videos and even youtube app.(Sound comes out but No picture) (Funny, when I restart my phone it works,

The issue is that it can not render videos with Qualcomm codecs, and it seems to be lineageOS related. I get taos-message and logcats says

OMX.qcom.video.decoder.avc

I am using your very earlier built 13.0-20170813 unofficial stable one

Your late version, I think it did work with.

Maybe my issue is NOT you causing it, and it could be other mods. But I tried to both inactivate xposed and magisk and still the issue occur.

Hope you could give some advice¨

Thanks!

Edit: Never mind. I found my problem. It was third part app causing when flashed something in recovery.
[G4 Android Development] whitewolf1608:
Hello, is there already a stable version of Bootlader and Modem for this Rom?
[LeEco Le Pro3 Questions & Answers] bloooo:
Two apps in particular I've noticed, Whatsapp and Gmail. Can't find any pattern to it, it happens on wi-fi and on 4g. I stop getting notifications for these apps if I don't use them for an hour or so. When I next open the apps all the notifications come through. Using EUI on an X722.

I've checked all the usual battery and app related settings I can think of:

Lock-screen cleanup - disabled

Align wakeup - disabled

Clock night-alignment mode - disabled

App protection - Whatsapp added just in case the above were ignored. Can't find gmail in the list to switch it

Battery assistant - disabled

Notifications are all enabled for both apps

Any ideas?
[LeEco Le Pro3 Questions & Answers] ZeblodS:
Have you disabled "Background Ressource Control" after dialing "* # * # 4 6 3 6 0 0 0 0 # * # *" ?

I don't know about whatsapp, but Gmail get notifications even if the process is not active anymore. Google Play Services is the one that gets the push notifications and that wake up/launch Gmail when necessary.
[LeEco Le Pro3 Questions & Answers] bloooo:
I hadn't done that, just disabled it now. I'll let you know if it makes any difference.

Thanks for the suggestion!
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Azuritko:
Hi, on my D5503 I have changed broken display for OEM display from China. As I turn the phone on touch screen works even for hours. As I turn off the screen and turn it on before 2 minutes everything works normal. If I leave display turned off for more than 2 minutes the touch stops working. Somtimes it kindoff crazilly reacts on first touch or as I push power button to wake up but then "die". I have to restart phone with power and volume button and than it starts over touch is working until the sleep mode tooks more than 2 minutes. Is it faulty display? Can you think of any software (app) solution which should keep touch on and display off?
[General Questions and Answers] danr831:
Hello, I am trying to use Charles with my Moto E4 running 7.1.1 root with Magisk 13. I see there is a program called xposed but it is not fully compatible with nougat. Is there any alternatives to accomplishing this? The app I am trying to work with fails at 37% when trying to connect. My iPad works with it with no problem but I prefer not to use. Any help would be greatly appreciated it
[Galaxy Note5 Q&A, Help & Troubleshooting] waelidress:
Am trying to flash my SM-N 920C to UAE ROM but nothing happen ... the Odin successfully transfer the ROM, the phone rebooted..the software update gos to 30% after that he show me erasing note ...the phone rebooted and nothing happen.

What shall i do ? is there any step i should do in the Odin options ?

Am attaching the Odin option screen..

I download the ROM from sammobile ..

Any advice..

Many Thanks,