yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] mattnin:
Yep, it's fixed, set to enforcing. Thanks Genesixx!
[G4 Android Development] brossovitch:
Selinux is enforcing now? Bummer. Theres goes the perfection.
[G4 Android Development] svetloslav:
Why would one want for Selinux to be in enforcing mod? Just because google said so?
[G4 Android Development] brossovitch:
I wonder the same thing.

Maybe to have less function and freedom?

I thought we use custom ROMs to have the freedom to do whatever we want and have better performance. To live without restriction. Hmm. Enforcing SELinux mode is a restriction. Thankfully there's ways around it. But one of the key perfection points of thos ROM was the fact that it had SELinux in permissive mode.

I think there should be a toggle. Maybe tapping on SELinux mode 10+ times? In, "About Phone." That would be great.
[G4 Android Development] mattnin:
For security purposes. Why do some people flash SuperSU? I've seen people do it just so they can remove the # symbol in the status bar. For some people, it doesn't bother them that some app runs in root all day and they get sick and tired of looking at the # so they flash SuperSU meanwhile those apps have the keys to all their data. ES Explorer anyone? I haven't had a need to run in permissive mode and I like the fact that it makes my phone more secure. We have many ways to make our phone less secure, root adb and USB debugging always enabled, leaving unknown sources checked all the time, always allowing root, and flashing apps that require root that are proprietary. Good luck gentleman with your permissive phones.
[G4 Android Development] genesixxbf3:
For some app requesting enforcing to work???

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] FadeFx:
Everyone, watch out, steve kondik will need our help soon: https://plus.google.com/+JeanBaptisteQueru/posts/jjwjobbMUY8

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] mattnin:
Is there any way to hide root? The direct TV app won't let me play video with a rooted phone. I tried disabling root and rebooting and that's not working. :(
[G4 Android Development] brossovitch:
Magisk works if you need to hide root but want a rooted device. Or you can remove root altogether.

Either way, you'll need to remove the SU binary from system/bin & system/xbin .
[G4 Android Development] mattnin:
Yea, I tried that and removed binary su in bin and xbin using twrp and safetynet still shows CTS profile match false which I am assuming is the reason I am not able to use the directv now app :( If this is out of the scope of this thread, let me know but is there a way of passing safetynet checks using CM?
[G4 Android Development] brossovitch:
Yea, I don't know. If an app won't let me use it because I want control of my phone I just don't use it.

Good luck!
[G4 Android Development] codeworkx:
For security reasons. Security is nowadays the most important part of a device which can access the internet.

Without those security stuff we would have a ton more problems than we have with those stuff.
[G4 Android Development] brossovitch:
Yea I suppose. I wipe my devices so often I don't even think it matters all that much to me.

I'm just used to making sure to have Permissive, ADB active, & unknown sources at all times with root. Simply so all the things I do will work. I guess mostly Titanium Backup. And now that I think of it, besides writing to the system directly the only thing that seems to need permissive is V4A..

I ever since I started using CM ROMs (10.2 stable) I've always had Permissive Selinux. It's become second nature. I'd figured it was fine since the regular security updates. The whole subject has been a bit dodgy since Google removed Selinux Mode Changer from the Play Store.

Thank you guys anyhow. I always keep a copy of SMC anyway. The only issue I've ever had was ATT dropping my contract for using CM11. LOL
[G4 Android Development] codeworkx:
"things i do will work" may come together with "things others try to do will work".

Most of the users don't know about security issues so we have to care about it for them.
[G4 Android Development] brossovitch:
For that, we thank you. ✌️?
[G4 Android Development] FadeFx:
First of all, you dont need selinux mode changer, any terminal app will do...

Also you are aware that you are using heavy mods on your system and thus lost your right to report any proboems here. I am not trying to be unpolite, but you know many people do mods to their systems that cause severe kind of problems abd dont even mention they have a modded system. This often causes the devs to either search into problems that are caused by a mod, or ignore any report that doesnt clearly proove that the system is stock cm.

Gesendet von meinem LG-H815 mit Tapatalk

---------- Post added at 09:14 AM ---------- Previous post was at 09:12 AM ----------

Ah, forgot that:

su
setenforce 0
SELINUX=permissive

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] brossovitch:
Yes. I don't run CM ROMs with heavy mods until I'm sure about its stability in the first place. And used SMC because it automatically sets on boot and is there even after OTA in addition to being a quick way to toggle it back and forth.

Besides that is why I loved the ROMs being permissive from the start.
[G4 Android Development] FadeFx:
You could just put that into an init.d script. To be persistent you need to put it in a special folder on data, which i forgit the path and cant check as i am on cm14.1...

Me for my part i use permissive to start the samba service, to do so, i use tasker to automagically toggle back and forth and dont have to think about it anymore.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] mattnin:
Want a good security challenge? Try using the phone without giving root or important passwords to closed source proprietary apps.

greenify - closed source

titanium backup - closed source

SuperSU - closed source

Makes ya think eh? Everyone just assumes those apps are trustworthy. Look into your apps requesting root gentleman.
[G4 Android Development] codeworkx:
Me doesn't use apps which require root. ;)

Root is only allowed for adb if needed.
[G4 Android Development] mattnin:
Other than nandroid backup, how do you back up apps and data? Can you rsync with adb and get user apps and data and then restore them? I noticed rsync is in our CM builds. What about ad blocking? I'm down to just two apps needing root at the moment, AdAway and Titanium Backup. I'm just about ready to get rid of Titanium Backup because I just can no longer accept proprietary apps and root. I don't know about anyone else, but I'm very impressed that you are only using root under adb when necessary.
[G4 Android Development] codeworkx:
Helium Backup

Firefox + uBlock
[G4 Android Development] mattnin:
I found an open source backup app in F-Droid that seems to be working with CM13. It's called oandbackup, https://f-droid.org/app/dk.jens.backup

It asks for BusyBox but works with toybox, just use /system/bin/toybox as the path in preferences. I just used it to back up my apps with data. I tested it by factory resetting and I was able to restore everything. I am happy as a clam. Bye bye titanium backup and other closed source apps wanting root. Begone!
[G4 Android Development] mattnin:
I just noticed I'm missing the torch tile. It's there but greyed out when I try to edit the tiles, but it's missing after I click done. I'm running cm-13.0-20161129-UNOFFICIAL-h811.zip
[G4 Android Development] FadeFx:
Hi, thanx for that, however, i had a look at this yesterday, but it didnt work for me on cm14.1, can not crwate files, which seems to me like its not getting external storage permission and other things. Does it backup for you?

edit: Ok, seems to be an incompatibility to nougat: https://github.com/jensstein/oandbackup/issues/141

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] mattnin:
Yes, it did backup for me but I'm still on CM13. I did get it to work using the ext SD card but I had issues initially. I had to set the backup path to /storage/xxxx-xxxx/Android/data/dk.jens.backup/files

otherwise it wouldn't write properly to the ext SD.

The program did great for me on the backup though. I backed everything up and crossed my fingers and did a factory reset. I had to install the f droid apk first, then installed oandbackup and properly set it up and let it restore. Everything went fine.

oandbackup is obviously a beta. There are sorting issues for example and it took a good 15 minutes for it to backup chrome on my phone. I did have oandbackup crash once. I probably should've grabbed the logcat for the dev because i definitely want this program to succeed. My suggestions for anyone using oandbackup is to backup apk+data for only the programs that really need it because of how long it takes. For everything else, just backup the apk. Backing up chrome I highly suggest to clear caches images and files and browsing history to speed up the back process just a bit because oandbackup does take a long time.
[G4 Android Development] genesixxbf3:
Oops forgot to merge the torch fix

Envoyï¿½ de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] flatratte82:
Will this fix be merged? :)
[G4 Android Development] genesixxbf3:
Already done

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] flatratte82:
OK... Looking forward to a new build :)
[G4 Android Development] owlery_hk:
Has anyone still got a zip file of CM13.0 for H815?

I cannot find it on the official get.cm website anymore...

Thanks.
[G4 Android Development] genesixxbf3:
Read lastest post

EnvoyÃ© de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] owlery_hk:
Merci.

I put it here again if anyone needs it.

The MEGA link does not work, use the dropbox one.

http://xdaforums.com/showpost.php?p=69647115&postcount=5159
[G4 Android Development] genesixxbf3:
Oh actually use these they are built every day http://eu.host.erwanleboucher.fr/genesixx/cm/h815/

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] freddymelly_forgotten_pw:
i have an problem. I have update to CM14 by mistake from CM13 ... And now i cant make update to newer CM14? I choise that the recovery will be updated at every update... But nothing happens. After download say my LG "cant reboot for installing"
[G4 Android Development] flatratte82:
How to reproduce this? Torch is working for me on 12/08.
[G4 Android Development] The Face1:
Dunno, not for me. The torch tile is simply not showing when I add it to the quick settings panel, it disappears as soon as I press Done.
[G4 Android Development] genesixxbf3:
Clean flash :)

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] maxauvy:
Same here, 12/08 build too. Torch tile stays hidden whatever I try to do.

EDIT: [MENTION=5776465]genesixxbf3[/MENTION] did you remove Gello from your builds on purpose? If so, may I ask why? :)
[G4 Android Development] florosus:
Torch tile definitely broken.

I'm also having problems with Bittorent/Resilio Sync. The auto media update doesn't happen after synching files to my SD. I flashed stock LG ROM this morning and the issue doesn't occur when using it. I did a factory reset on cm13 just to see if /data had become messy, but the library still wouldn't update! I remember that this wasn't an issue before. Please help.
[G4 Android Development] papsr6:
I have an cm13 unofficial version and I have many lags when open the phone app and settings app.

Can someone tell me which is the last OFFICIAL version of cm13?

And if we know a link to download it?
[G4 Android Development] flatratte82:
Build 1216 works fine on my phone. :good:
[G4 Android Development] papsr6:
I try the 1216 unofficial now but something is bad.

I can edit the quick settings.

I try to move flashlight button and when I apply icon lost.

When I put on edit appears again.
[G4 Android Development] flatratte82:
I can confirm this. Flashlight in quick settings is not working - just as [MENTION=7909585]papsr6[/MENTION] described.

But appart from this it makes a good impression.
[G4 Android Development] Bunsenbrenner:
I have the same issues:

flashlight doesn't work and translation not completely (german)
[G4 Android Development] The Face1:
1217 the torch thing isn't fixed.
[G4 Android Development] Kevin.Silbstedt:
Well, just want to report, that the flashlight tile indeed disappears, when you exit the editing tiles mode... (I'm currently on the 1216 build)

BUT.....

It may be, that there is a work around for this bug. Today I used my G4 as a PC VR Screen via Moonlight and Nvidia Gamestream. Certain tiles like USB tethering tile only appear when connected via USB to a PC. The flashlight tile also reappeared and I could switch it on and guess what, since then it is always visible. This behavior could also be a hint at the cause of this bug.
[G4 Android Development] kessaras:
Always use logcats to show the error otherwise the dev has to flash everyday a new Rom or buy himself 10+ phones to test them all haha
[G4 Android Development] genesixxbf3:
can someone with torch problem test that please ? http://na.host.erwanleboucher.fr/genesixx/cm/cm-13.0-20161218-UNOFFICIAL-h815.zip
[G4 Android Development] genesixxbf3:
Use the one I link above

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] kessaras:
[MENTION=4193211]The Face1[/MENTION] did you wipe cache ? important when a bug is fixed (if it is fixed) , else you will just use the same settings with before bug is fixed
[G4 Android Development] The Face1:
Yay! It works! CM 13 1218.

What I did was remove the torch tile from the quick settings panel, reboot, add again and voila!

I did try to remove it and add again every time I installed a new build, but without the reboot in between.
[G4 Android Development] kessaras:
lol you dirty flashed ?
[G4 Android Development] The Face1:
Over 1219 - yes. I do wipe the caches doe.
[G4 Android Development] kessaras:
lol. thats why i said to clean earlier. when there is a bug and you dirty flash and don't at least clear data of the buged app, the bug follows you until the end of the world !

anyway its all good now so he fixed it :D

yay flashlight is working
[G4 Android Development] papsr6:
I try clean install and the flashlight toggle not work.

It is bug...
[G4 Android Development] kessaras:
Just tell one thing.

Why?

Why don't you follow the discussion since it started?

Genesix said someone test this build

http://na.host.erwanleboucher.fr/genesixx/cm/cm-13.0-20161218-UNOFFICIAL-h815.zip

He test it and flashlight worked.

Did you try clean install the same build and it doesn't work?
[G4 Android Development] The Face1:
Are you on 1219? Can you do the steps I did? Namely, remove the flashlight toggle from the quick settings panel, restart your phone, add the toggle back.
[G4 Android Development] papsr6:
I will try it after....thank you.
[G4 Android Development] vincppl9701:
where can I find the latest version of the CM13? now on the site there are only versions CM14
[G4 Android Development] flatratte82:
Please have a look at the first post in this thread.
[G4 Android Development] vincppl9701:
I can not find
[G4 Android Development] flatratte82:
Seems like the link was removed... :confused:

In that case take this one: http://na.host.erwanleboucher.fr/genesixx/cm
[G4 Android Development] brossovitch:
https://play.google.com/store/apps/details?id=com.erwanleboucher.host
[G4 Android Development] SmokeTooMuch:
[MENTION=5776465]genesixxbf3[/MENTION]

Torch tile issue still present @ 20161223.

Did not fix the issue.
[G4 Android Development] genesixxbf3:
Clean flash
[G4 Android Development] jotade:
Hi is the FM Radio working in these buildings CM13? I saw is working in CM14 for other phone. Thanks http://tinyurl.com/h5l3azt
[G4 Android Development] SmokeTooMuch:
Please elaborate. I did wipe cache + dalvik cache and still encountered the issue.
[G4 Android Development] kessaras:
cleaning dalvik-cache and cache thats not clean flash.

clean flash is to wipe system and data.

your problem might be fixed if you open my android tools or similar app and clean the data of system ui. if not, wipe data in twrp and reboot.
[G4 Android Development] Ganjax:
Why CM shows my signal is weak, it jumps from 5 to 1 lines, then back to 3-4 and again back to 0-1. Have someone idea what's wrong? Iv'e flash few modems and nothing. On stock it looks stable and high signal.

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[G4 Android Development] fropal:
Still no torch tile.

Since the autofocus fix was included I'am struggling to get the torch tile back.

I tried everything so far, I even LGUPed my H815 back to 20g today, installed twrp 3.0.2.1 and wiped everything (SDcard too) before flashing cm-13.0-20161225-UNOFFICIAL-h815 and open_gapps-arm64-6.0-nano-20161220 without success.

I don't know what I'm doing wrong.

Is there anything else I can do ?

Thanks and merry christmas
[G4 Android Development] goorek:
How is this ROM as a daily driver? Does encryption works? And sd card encryption? Camera (I don't need superb quality, I just want it to work)? Does it still have that 'cannot unlock' bug sometimes?
[G4 Android Development] genesixxbf3:
Try to get me a log please
[G4 Android Development] fropal:
I hope I did it right.

One is from my current install and the other one from a fresh flash with full wipe (system, data, cache, internal, dalvik) both started during boot.

xxxps://drive.google.com/open?id=0BwacjbPqZpBwY3N2UmlieEZVSW8

xxxps://drive.google.com/open?id=0BwacjbPqZpBwRFJHaVE3YXpVNzQ

I'm not allowed to post links so please exchange the xxx with "htt"
[G4 Android Development] SortelOne:
So, I've got two questions, and I'm sorry if they were already asked and answered, but I updated to CM 14 on my h815 and I really didn't like it much. I had the last nightly I used on cm13, and when I went to downgrade I had no data and my service was incredibly finicky, dropping all the time and whatnot. Does anyone know why this is happening? I either want to go back to cm13 or go to a more stable version of cm14, which is where my second question comes in. Whenever I try and update, I download the latest nightly and go to install it, but my phone won't boot back to the system, no matter what I do. No fresh install, no factory reset, nothing. I have to use LG UP to install a fresh KDZ for it to work again. I'm currently on the 12-05-16 build and it's super frustrating. Thank you!!
[G4 Android Development] kessaras:
12-5 you call it latest ? cm and now named lineage updates everyday.... where are you looking for updates ?

http://eu.host.erwanleboucher.fr/genesixx/LineageOS/
[G4 Android Development] SortelOne:
I'm just using the Cm update manager in settings
[G4 Android Development] mjheid.muc:
Is there an official LineageOS website for our G4 device as well?
[G4 Android Development] kessaras:
Search google to find it. Our device is there.

As for the builds, it's up to our device maintainer if he wants to use the official host or use his own host. Genesix owns a host so he uses his own host which is faster than an official public host for all devices.
[G4 Android Development] The Face1:
Are Lineage 13 builds as stable as CM 13 builds?
[G4 Android Development] dianxxyyzz:
Hello ,did you find the torch fix, to make it appear in quick settings? If you found it ,can you please give the github link to the code that fix it?

I see that torch appear if I send the boot completed broadcast via am command

Android reboot and torch appear .

But I have to do it all time after every phone reboot.

Thank you for help!
[G4 Android Development] genesixxbf3:
Please give me exactly your command

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] dianxxyyzz:
man , here it is :

adb shell am broadcast -a android.intent.action.BOOT_COMPLETED

Please let me know what worked for you to make flashlight appear back in settings .

Also I noted if I change screen DPI ,again android reboot and torch appear . kernel do not reboot just android services.

This make me think that camera service and some other service must be restarted at some point . maybe something start to soon ,I do not know
[G4 Android Development] genesixxbf3:
Okay my way of fixing was right but not using the right stuff

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] dianxxyyzz:
And what was that way? :) sounds interesting ..
[G4 Android Development] genesixxbf3:
Restarting media-server when boot is completed

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[G4 Android Development] dianxxyyzz:
I tested this on Slim 6 rom and works perfect , at boot completed , or from adb shell do :

restart media

torch appear all is good , I do notknow if it works for cm too , but maybe will .

All is fine , I also thinked somebody found a code to make it work without restarting media , so at lest there is a fix , so you can try

---------- Post added at 07:32 PM ---------- Previous post was at 06:58 PM ----------

for me works like this

put in : /data/local/userinit.sh

#!/system/bin/sh

restart media

And do chmod +x /data/local/userinit.sh

Or another method is to add to init.qcom.rc inside ramdisk at line

on property:init.svc.bootanim=stopped

add : restart media

And at every phone startup flashlight appear in quick settings .

You have to try if works for you .
[G4 Android Development] genesixxbf3:
only media ?
[G4 Android Development] dianxxyyzz:
Yes , this is what works for me , but I tested in Slim 6 rom , maybe works for CM too .

Slim is a lot based on CM .Maybe works too .

you can allso try this in your /data/local/userinit.sh

#!/system/bin/sh

killall -9 android.process.media

killall -9 mediaserver

but this must be run as root
[G4 Android Development] dianxxyyzz:
I added this to init.baseband.sh inside ramdisk :

pkill android.process.media

pkill mediaserver

pkill com.android.systemui

I checked rebooted over 10 times and all times flashlight was there and also system seams to start faster ,before it was some delay at "Starting apps" message , now is faster
[G4 Android Development] :
The latest release lineage-13.0-20170107-UNOFFICIAL-h815.zip does not encrypt anymore correctly.

Steps to reproduce:

1. Boot into TWRP

2. format the partitions (wanted to remove the encryption from another rom installation)

3. install rom lineage-13.0-20170107-UNOFFICIAL-h815.zip

4. initial setup (language, wifi, ...)

5. set pin code and launch encryption

6. system reboots

7. all settings, apps are lost, system re-asks for initial setup (language, wifi, ...)

Additionally a notification says: "Storage space running out", clicking on it shows: "Mémoire de stockage interne, 256 Mo utilisé(s) sur 256 Mo".

In rom lineage-13.0-20170101-UNOFFICIAL-h815.zip encryption works fine, apart the usual lock screen issue.

Update 1:

ResurrectionRemix-M-v5.7.4-20170107-h815.zip has the same issue. Here the message says: "Internal storage 8.00 GB used of 8.0 GB"

Update 2:

Found the issue!

I was testing the SlimRom with F2FS support. I changed the data and cache partition to F2FS. Formatting in TWRP apparently only changes the data partition back to EXT4 but not the cache partition. Have now changed manually back the cache partition to EXT4 and everything works as before.
[G4 Android Development] goorek:
20170105 was fine
[G4 Android Development] goorek:
Even Android Pay works with this ROM :)
[G4 Android Development] kessaras:
thanks for sharing this. The banks should be happy that we can pay this way too
[G4 Android Development] thewild:
How so ?

I just wiped everything, installed latest LineageOS 13, Nano Gapps, rebooted : safetynet does NOT pass.

Can you please explain exactly which version of the ROM/Gapps you installed, and if you did something special to get Android Pay to work ?
[G4 Android Development] goorek:
I removed su binaries from system
[G4 Android Development] thewild:
OK thanks, I'll give it a last try then.

I also removed these binaries but I flashed SuperSU systemless afterwards, I thought this did not trigger SafetyNet.
[G4 Android Development] goorek:
Frankly I was quite surprised because we have unlocked bootloaders, and Pay should not be working