FORUMS
Remove All Ads from XDA

[ROM][X52x][UNOFFICIAL][9.0.0][s2] LineageOS 16.0

152 posts
Thanks Meter: 764
 
Post Reply Email Thread
12th September 2019, 04:59 PM |#231  
ThE_MarD's Avatar
Senior Member
Flag Grande Prairie
Thanks Meter: 2,524
 
More
Heyyo, thanks to kalehrl and CptFlush? Seems like we just needed a few last fixes for selinux enforcing.

So here's the moment of truth! an selinux enforcing build is going up on my OSDN page in about 30 minutes! lineage-16.0-20190912-UNOFFICIAL-s2! We should still follow the same path as before for installation just to ensure there isn't any leftover selinux denials that didn't pop up before.

For the sake of making the sepolicy as simple to work with as possible? I ask this to be a clean flash without gapps.

1. Make a TWRP backup of data, system, vendor
2. Wipe Dalvik, cache, system and data
3. Install only lineage-16.0-20190912-UNOFFICIAL-s2
4. Reboot to system
5. Enable developer options
6. Enable root for adb
7. Use a PC to run these commands...

Code:
adb root
adb pull /sys/fs/selinux/policy
adb logcat -b all -d > logcat.log
adb shell dmesg > dmesg.log
adb shell lshal --init-vintf > manifest.xml
8. Place those files in a zip and send it to me via pm or something
9. Once that's done? You can restore your TWRP backup and continue on.

The download link is here:
https://osdn.net/projects/lineageos-for-s2/
The Following 4 Users Say Thank You to ThE_MarD For This Useful Post: [ View ] Gift ThE_MarD Ad-Free
12th September 2019, 07:38 PM |#232  
Senior Member
Thanks Meter: 118
 
More
Hi @ThE_MarD
I was able to get policy and logcat.log but the other commands gave errors.
dmesg.log is empty while manifest.xml couldn't be retrieved.

adb shell dmesg > dmesg.log
Code:
dmesg: klogctl: Permission denied
adb shell lshal --init-vintf > manifest.xml
Code:
Warning: Skipping "[email protected]::IDisplayService/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISchedulingPolicyService/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISensorManager/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IEffectsFactory/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IDevicesFactory/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBiometricsFingerprint/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBluetoothHci/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IMediaCasService/default": no information for PID 462, are you root?
Warning: Skipping "[email protected]::ISurfaceFlingerConfigs/default": no information for PID 362, are you root?
Warning: Skipping "[email protected]::ICryptoFactory/clearkey": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ICryptoFactory/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ICryptoFactory/widevine": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IDrmFactory/clearkey": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IDrmFactory/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IDrmFactory/widevine": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ICryptoFactory/clearkey": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ICryptoFactory/widevine": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IDrmFactory/clearkey": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IDrmFactory/widevine": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IGatekeeper/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IGnss/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IGnss/gnss_vendor": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IAllocator/default": no information for PID 365, are you root?
Warning: Skipping "[email protected]::IHealth/backup": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IHealth/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IConsumerIr/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IKeymasterDevice/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ILight/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IOmx/default": no information for PID 562, are you root?
Warning: Skipping "[email protected]::IMemtrack/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IPower/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IPower/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IOemHook/slot1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IOemHook/slot2": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IRadio/slot1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IRadio/slot2": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISap/slot1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISap/slot2": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IRadio/slot1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IRadio/slot2": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISap/slot1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISap/slot2": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISensors/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISoundTriggerHw/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISoundTriggerHw/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IOffloadConfig/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IOffloadControl/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IThermal/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUsb/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IVibrator/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IVr/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISupplicant/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ISupplicant/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IWifi/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IWifi/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IWifi/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IAllocator/ashmem": no information for PID 458, are you root?
Warning: Skipping "[email protected]::IBase/Uim0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/Uim1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/UimLpa0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/ashmem": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/backup": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/clearkey": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/com.qualcomm.qti.uceservice": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/dpmQmiService": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/gnss_vendor": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/imsradio0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/imsradio1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/imsrtpservice": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/oemhook0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/oemhook1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/qti.ims.connectionmanagerservice": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/slot1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/slot2": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/uimRemoteClient0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/uimRemoteClient1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/uimRemoteServer0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/uimRemoteServer1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IBase/widevine": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IServiceManager/default": no information for PID 357, are you root?
Warning: Skipping "[email protected]::INetd/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::INetd/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IKeystore/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IdpmQmi/dpmQmiService": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IImsCmService/qti.ims.connectionmanagerservice": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUceService/com.qualcomm.qti.uceservice": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IDisplayColorCalibration/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IDisplayModes/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IPictureAdjustment/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ILineagePower/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IKeyDisabler/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUsbRestrict/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IFactory/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ILocHidlGnss/gnss_vendor": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IAlarm/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::ILinkLatency/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IIop/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IPerf/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IAppConnector/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IGPAppConnector/default": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IQcRilAudio/slot1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IQcRilAudio/slot2": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IImsRadio/imsradio0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IImsRadio/imsradio1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUimLpa/UimLpa0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IQtiOemHook/oemhook0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IQtiOemHook/oemhook1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IQtiRadio/slot1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IQtiRadio/slot2": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUim/Uim0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUim/Uim1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUimRemoteServiceClient/uimRemoteClient0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUimRemoteServiceClient/uimRemoteClient1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUimRemoteServiceServer/uimRemoteServer0": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IUimRemoteServiceServer/uimRemoteServer1": cannot be fetched from service manager (null)
Warning: Skipping "[email protected]::IRTPService/imsrtpservice": cannot be fetched from service manager (null)
Attached Files
File Type: zip x52x LineageOS 16.0 logs 3.zip - [Click for QR Code] (324.5 KB, 8 views)
The Following 2 Users Say Thank You to kalehrl For This Useful Post: [ View ] Gift kalehrl Ad-Free
13th September 2019, 09:21 AM |#233  
Junior Member
Thanks Meter: 4
 
More
@kaehrl
Didn't faced your problem, are you sure you activated ADB root in developer options?
13th September 2019, 10:06 AM |#234  
tImI breakdown's Avatar
Junior Member
Thanks Meter: 32
 
More
I registered specifically to help as I can.
I did the logs according instructions without errors, but I do not see the file attachment button. Is it because I'm new or blind (links I can’t attach yet)?)
The Following User Says Thank You to tImI breakdown For This Useful Post: [ View ] Gift tImI breakdown Ad-Free
13th September 2019, 10:53 AM |#235  
Senior Member
Thanks Meter: 118
 
More
Quote:
Originally Posted by CptFlash

@kaehrl
Didn't faced your problem, are you sure you activated ADB root in developer options?

I did exactly the same as with the previous 2 builds. I even fished it the second time but no change. The only difference is I updated to the latest adb tools from September. Maybe that's the problem.
The Following User Says Thank You to kalehrl For This Useful Post: [ View ] Gift kalehrl Ad-Free
13th September 2019, 06:19 PM |#236  
Junior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by kalehrl

I did exactly the same as with the previous 2 builds. I even fished it the second time but no change. The only difference is I updated to the latest adb tools from September. Maybe that's the problem.

Weird. I updated adb to 29.0.3 (was using 29.0.2 before) and still can pull/get all files. Seems not to depend on abd version though... Maybe someone else could check?
Anyway, as long as we get at least one set of files for ThE_MarD it should be fine
The Following 2 Users Say Thank You to CptFlash For This Useful Post: [ View ] Gift CptFlash Ad-Free
13th September 2019, 06:35 PM |#237  
Senior Member
Thanks Meter: 118
 
More
Yeah. Weird. I also tried running adb shell followed by su but got an error as well. How exactly is root activated in developer options? I activated android debugging and debug over network. It was enough for the previous builds.
13th September 2019, 06:44 PM |#238  
Junior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by kalehrl

Yeah. Weird. I also tried running adb shell followed by su but got an error as well. How exactly is root activated in developer options? I activated android debugging and debug over network. It was enough for the previous builds.

Developer options first section (one of the options before the debugging section) under 'Root access' select ADB only. On default it should be set to disabled.
The Following 2 Users Say Thank You to CptFlash For This Useful Post: [ View ] Gift CptFlash Ad-Free
13th September 2019, 07:42 PM |#239  
Senior Member
Thanks Meter: 118
 
More
Well, I don't have that option.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190913-194108_Settings.png
Views:	124
Size:	138.8 KB
ID:	4819097   Click image for larger version

Name:	Screenshot_20190913-194133_Settings.png
Views:	120
Size:	139.2 KB
ID:	4819098  
14th September 2019, 02:29 AM |#240  
ThE_MarD's Avatar
Senior Member
Flag Grande Prairie
Thanks Meter: 2,524
 
More
Heyyo, so here's another new build. This time it will be selinux permissive again as there was a few more denials still left over compared to what I thought there would be lol... So build lineageos-for-s2 lineage-16.0-20190913-UNOFFICIAL-s2 has a bunch for policy fixes and also 32bit libtime_genoff.so as rk noted it is required for the camera.

For the sake of making the sepolicy as simple to work with as possible? I ask this to be a clean flash without gapps.

1. Make a TWRP backup of data, system, vendor
2. Wipe Dalvik, cache, system and data
3. Install only lineage-16.0-20190913-UNOFFICIAL-s2
4. Reboot to system
5. Enable developer options
6. Enable root for adb
7. Use a PC to run these commands...

Code:
adb root
adb pull /sys/fs/selinux/policy
adb logcat -b all -d > logcat.log
adb shell dmesg > dmesg.log
adb shell lshal --init-vintf > manifest.xml
8. Place those files in a zip and send it to me via pm or something
9. Once that's done? You can restore your TWRP backup and continue on.

The download link is here:
https://osdn.net/projects/lineageos-for-s2/
The Following 3 Users Say Thank You to ThE_MarD For This Useful Post: [ View ] Gift ThE_MarD Ad-Free
14th September 2019, 07:14 AM |#241  
Senior Member
Thanks Meter: 118
 
More
Hi @ThE_MarD
Please find the requested logs in the attachment.
You wrote about fixing the camera but in the latest build it is still not available.
Is this something to be worried about:
Code:
'closed /dev/adsprpc-smd c 222 0'
I see a lot of these in the log.
I found the root option in developer options
It isn't available in my everyday LineageOS 16.0 ROM probably because of Magisk but it is in the one without it.
Attached Files
File Type: zip x52x LineageOS 16.0 logs 4.zip - [Click for QR Code] (344.2 KB, 10 views)
The Following User Says Thank You to kalehrl For This Useful Post: [ View ] Gift kalehrl Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes