[EXP] LineageOS 13 ufoFFICIAL (CVE-2019 April)

Search This thread

oF2pks

Senior Member
May 22, 2016
801
1,092
moved back to cm11-KitKat (@Adam77Root) vendors and HEX-edited libnvos.
source = p880DEV/aosp6 kernel + originalLG vendors + @alfsamsungpatches + mourta widevine
cons: blurred video thumbnails & QR&barcode not working due to CM11vendors.
Code:
[SIZE="1"]<manifest>
	<remote  name="bitbucket"
       fetch="https://bitbucket.org/" />
    <project name="LineageOS/android_external_busybox" path="external/busybox" remote="github" revision="cm-14.1" />
    <project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-13.0" />
    <project name="lenzwagner/android_device_lge_p880" path="device/lge/p880" remote="github" revision="marshmallow" />
    <project name="oF2pks/cmp880devkernel" path="kernel/lge/x3" remote="bitbucket" revision="Los13" />
    <project name="oF2pks/proprietary_vendor_widevine" path="vendor/widevine" remote="bitbucket" revision="Vanir-N" />
    <project path="vendor/lge" name="lenzwagner/proprietary_vendor_lge" revision="marshmallow" />
 <remove-project name="LineageOS/android_packages_apps_CMUpdater" />
 <remove-project name="LineageOS/android_packages_apps_Gello" />
</manifest>
[/SIZE]
Rom features:
-ScreenRecorder
-Xposed-able https://forum.xda-developers.com/showthread.php?t=3034811 (checked , GravityBox, InstallerOpt )
-kexec-ed (MultiROM)
-ButtonBacklight
-Widevine L3 (drm broadcast)
-WakelockBlocker
-AlarmBlocker
-f2fs Ver1.6 (wip)
-Reboot to Recovery
-(NO more keyboard BugFix & NoOverlayWarning & WebView & CM12audioFX-music.zip needed)
-MicroG-ified
-Bromite latest webView v76 with ad-blocking

Installation : wipe and flash in order
a)ROM https://androidfilehost.com/?fid=4349826312261650905
z)Xposed
z)Gapps ( or PlaystoreONLY and Google CalendarSync addon)
z)SuperSU & reboot =>2x auto-boot

Nota: MicroG & CalendarSync need specific in-built permissions to be granted.

Recommended app : SuperSu attached 2.82 twrp/zip + app install), Deltadroid's GApps, Greenify, BetterBatteryStat;
Kernel (cm/aosp7): take time to check with Kernel Adiutor(0.9.9.4 attached post#3), that swap meet you desires, disable KSM + rise dirty_writeback&expire for better battery
echo "0" > /sys/kernel/mm/ksm/run;
sysctl -w vm.dirty_writeback_centisecs=2000;
sysctl -w vm.dirty_expire_centisecs=1000;
sysctl -w vm.vfs_cache_pressure=50;
sysctl -w vm.swappiness=50;

GPL* aosp7 SELinux permissive
-check attached image from @ csk1jw 's aosp7-2016-12-07 post#2
-multirom : http://forum.xda-developers.com/showpost.php?p=67882937&postcount=21
-livedisplay/bandwith : http://forum.xda-developers.com/showpost.php?p=68213357&postcount=670
-perl/timeconst : http://review.cyanogenmod.org/#/c/104105/
Kernel GPL
 

Attachments

  • before-watch-xfiles-644x250.jpg
    before-watch-xfiles-644x250.jpg
    37.5 KB · Views: 2,464
  • multiromXDA.png
    multiromXDA.png
    6.3 KB · Views: 2,368
  • microG.png
    microG.png
    4 KB · Views: 1,616
  • WakelockBlocker.png
    WakelockBlocker.png
    116.2 KB · Views: 2,576
  • kernelAOSP6.png
    kernelAOSP6.png
    86.8 KB · Views: 1,761
  • SuperSU-v2.82-201705271822.zip
    5.6 MB · Views: 168
  • gapps-mn-google-calendarsync-20160326-1-signed.zip
    1.2 MB · Views: 72
  • PlaystoreONLY-601-base-20170305.zip
    9.8 MB · Views: 74
Last edited:

oF2pks

Senior Member
May 22, 2016
801
1,092
microG compatible PlaystoreONLY (including Google ContactsSyncAdapter), to flash simultaneously with rom : https://www.androidfilehost.com/?fid=889764386195912422 ; once rebooted it will auto-update to latest version and survive OTA (thx @Deltadroid ); same for GoogleCalendarSyncAdapter.

Bromite latest webView v76 with ad-blocking, upgradable via F-Droid repo https://fdroid.bromite.org/fdroid/repo (Bromite 76 returns a 74/SamsungS9 webclient https://github.com/bromite/bromite/issues/156#issuecomment-445449741: Mozilla/5.0 [Linux; Android 8.0.0; SM-G960F] AppleWebKit/537.36 [KHTML, like Gecko] Chrome/74.0.3729.157 Mobile Safari/537.36); if v76 seems too selective, upgrade to latest Bromite without ad-blocking (v78).
Otherwise switch to official com.google.android.webview via regular install + 1 reboot.

Latest custom MicroG edition can be found here : https://forum.xda-developers.com/pr...arm64aosp-9-0-0r21-microg-ufofficial-t3878115
 

Attachments

  • snapmusicGITLAB0-debug.apk
    16.3 MB · Views: 2
  • snapmusicGITLAB1-debug.apk
    21.3 MB · Views: 2
Last edited:

oF2pks

Senior Member
May 22, 2016
801
1,092

Attachments

  • 2111.jpe
    2111.jpe
    7.8 KB · Views: 580
  • com.grarak.kerneladiutor.apk
    2.8 MB · Views: 237
  • FDroid.apk
    4.6 MB · Views: 75
  • com.lonelycatgames.Xplore-3_72.apk
    2.5 MB · Views: 77
Last edited:

oF2pks

Senior Member
May 22, 2016
801
1,092
Video Calling ??? Any update???

You tell me... Best will be to track Euphoria 5 to understand it: I tried once but didn't see any thing related; vendor in los13 are same origin (alfsamsung) than Euphoria 5 but they are hacked to fit Marshmallow new policies : http://dmitry.gr/index.php?r=06. Thoughts&proj=04. Android M on Grouper
To get all things better we could move to further modif like https://github.com/Unlegacy-Android/proprietary_vendor_nvidia/commits/aosp-6.0/grouper
 

b886b

Senior Member
Jan 22, 2012
415
171
I am kinda confused, is this ROM has aosp6 kernel or the newest in aosp7?
 

oF2pks

Senior Member
May 22, 2016
801
1,092
New build CVE-2017 June

New build : CVE-2017 June https://www.androidfilehost.com/?fid=817550096634778703
With @Deltadroid packages : no need to reflash Webview\Gapps\CalendarSync on upgrade, only [Rom+CM12audioFX-music.zip(+Xposed+su)].
I am kinda confused, is this ROM has aosp6 kernel or the newest in aosp7?
Kernel aosp7 2016-12-07 GPL* aosp7 SELinux permissive
-check attached image from @ csk1jw 's aosp7-2016-12-07 post#2
-multirom : http://forum.xda-developers.com/showpost.php?p=67882937&postcount=21
-livedisplay/bandwith : http://forum.xda-developers.com/showpost.php?p=68213357&postcount=670
-perl/timeconst : http://review.cyanogenmod.org/#/c/104105/
 

Attachments

  • cyanogenmod_x3_defconfig.txt
    90.3 KB · Views: 34
  • kernelAOSP6.png
    kernelAOSP6.png
    86.8 KB · Views: 345
Last edited:

Izzysoft

Senior Member
Oct 10, 2010
306
99
android.izzysoft.de
Just to make sure I've read this right:

  1. microG is already built-in?
  2. It's MultiROM compatible, but MultiROM is not a requirement? (I rarely boot, so for me MultiROM would be overkill – no need keeping everything twice)
  3. NO GApps are built-in (so one can keep it Google-free)?
  4. As it's LOS based, no Superuser capabilities are built-in (but must be flashed afterwards if wanted)?

If I'm right with that, anyone tried it with Magisk? I'm considering to switch from "hard SU" to systemless root with Magisk (and what better time to do so then with a fresh install?), but if someone has experience with that (especially on this ROM), feedback would be very welcome!
 

oF2pks

Senior Member
May 22, 2016
801
1,092
For me it's complicated.
You recommend the supers 2.79, and give the link that directs to version 2.82. :confused:
Did you mean recommendation supersu stable?

Stable 2.78 works fine on both primary and secondary rom, I'm not 100% sure but 2.8x focus on N and O new security stuff, so I didn't try them already, but some beta can bootloop on secondary install; anyway, once flashed, you can still upgrade app 2.7x live to latest and reboot.
Also you can patch LOS with su addons https://download.lineageos.org/extras .

( @svv3000 , Post #2 updated with minimal PlaystoreONLY.zip for microG + paid app.)
 
  • Like
Reactions: ze7zez

svv3000

Member
Feb 18, 2016
23
7
Wileyfox Swift 2
Stable 2.78 works fine on both primary and secondary rom, I'm not 100% sure but 2.8x focus on N and O new security stuff, so I didn't try them already, but some beta can bootloop on secondary install; anyway, once flashed, you can still upgrade app 2.7x live to latest and reboot.
Also you can patch LOS with su addons https://download.lineageos.org/extras .

( @svv3000 , Post #2 updated with minimal PlaystoreONLY.zip for microG + paid app.)

Thanks, @oF2pks! PlaystoreONLY is not necessary. I have tried a X-los13-201706-ufoHYBRID-p880.zip and fully satisfied. Many thanks for you one more time!
SuperSU 2.82 works fine and stable, by the way, on this ROM.
MicroG + patched Playstore also work. I had a some troubles with authorization in Google services (as result, MapsAPI was dead too). After success with authorization I had a problem with access to the Playstore content (and maps). But, a little bit of shamanistic dances with a tambourine... and all is fine.
GPS is OK. Camera (photo and video) is OK. Calls (except video calls - haven't try) is very good, but a small delay with the output to the screen is present. No freeze and reboot. Very good battery using (0.5-0.8% per hour with my very old battery, when I don't touch a phone)! Time to time a slight lethargy is happened, especially when using one of number opened apps and receive an incoming call.
But, in total - it's best ROM for P880 of all tested (original, Euphoria, AOSP, CM...)
 

oF2pks

Senior Member
May 22, 2016
801
1,092
Thanks, @oF2pks! Flashing Gapps or Nougat is not an issue for me (I don't want either: I much more prefer microG and XPosed). So I'm waiting for your update of post #1 then to know whether to update TWRP and to what. If a special formatting is required (or another strongly discouraged), please point that out as well. Currently I'm running your LP build, with /system formatted as ext4.

What's also not clear to me is what you mean by "MicroG & CalendarSync need specific in-built permissions to be granted": CalendarSync (according to the list there) seems only relevant with Gapps, so I can ignore that. But what is expected to run for those "special grants" – or does your image already take care for that with regards to microG, as you list "MicroG-ified" with the "Rom features"? And by "MictoG-ified" you mean GmsCore incl. signature-spoofing and GsfProxy – so one would just need to add desired backends for UnifiedNlp?

And while you recommend SuperSu: Any hint on Magisk/MagiskSU? If that ROM comes without internal SU, I thought to give systemless-root a try (not that I had any issues with the other, no apps in use that could fail because of SafetyNet or the like – but AFAIK MagiskSU is completely open-source ;))

Oh: And does your TWRP build include MultiROM? Maybe I misunderstood what you wrote in this regard; did you mean: "Flash this TWRP with MultiROM, and then flash the MM ROM in parallel to your current LP to try it out"? I'm a bit confused now :p

-(Google)CalendarSync needs Calendar permission (check also native Calendar & CalendarStorage permissions)
-Spoof package Signature in all permissions section needs: on for microG services app. (this is the buit-in secure Marvin ROM patch).
-Latest microG app 2.4.9x needs registration activated in microG_app/menu for official Playstore (?) and could needs one reboot.
SuperSU works fine and always has real better efficient security checks (thx Chainfire).

Warning: on all MM &N, if you have wifi extender on same general router, switching from extender wep, to general router wep won't allow you to come back to extender connection (infinite waiting). I checked that on both p880 & Asus_tf700 and I'm 99% sure it's not kernel (works ok with same kernel on L with both p880 & tf700, or other modern devices with MM or N), neither rom or device tree: probable missing vendor location normalization (check post#5), since MM new policy. Also audio/music is not as cleared than my latest cm12.1
The working trick is to use multirom: forget wifi router on MM &N, reboot to L KK or even lgJB and switch twice, then reboot to MM and open wifi extender wep.

Latest multirom : https://www.androidfilehost.com/?w=files&flid=146943
 
Last edited:

svv3000

Member
Feb 18, 2016
23
7
Wileyfox Swift 2
One more question. I didn't find a "performance" option in "settings", like on CM13. And in statistics of BetterBattery I saw 1500 as maximum frequency of CPU. Is it possible to rise up a frequency to 1700 on this ROM and how (by system settings, not by App's)?
 

Izzysoft

Senior Member
Oct 10, 2010
306
99
android.izzysoft.de
As this wasn't answered yet: If I got that right, other than CM, LOS does NOT ship with any superuser built-in. So did anyone try the ROM with Magisk and MagiskSU? For one, that'd be a FOSS solution, and then there are several nice features it offers. So my thoughts were whether it would be worth a try when "starting from the scratch" anyway.

oF2pks said:
Nota: MicroG & CalendarSync need specific in-built permissions to be granted.

Thanks for updating the initial post! Could you include some details on the quoted line, maybe in the "spoiler section"? Especially for the microG part. Again: I understand correctly that "MicroG-ified" just refers to the signature patch, but one would need to install the framework separately? Must be so as otherwise one couldn't flash Gapps, I guess :p

And one more question: When you finally update the first post with the TWRP stuff you've planned for it (especially which TWRP version [link] you recommend), I'm still confused on the MultiROM part. I've never used that. So: Does your TWRP build already include MultiROM? If not, in which step must MultiROM [link] be flashed? And if I have your LP build running before I start the procedure on MM, can I then simply install this LOS build as second ROM, keeping LP as first?
 

oF2pks

Senior Member
May 22, 2016
801
1,092
(Sorry for delay: broken computer os)
One more question. I didn't find a "performance" option in "settings", like on CM13. And in statistics of BetterBattery I saw 1500 as maximum frequency of CPU. Is it possible to rise up a frequency to 1700 on this ROM and how (by system settings, not by App's)?
No our aosp/cm kernel does not support, personally I even go for ondemand governor.
Everything can be set with KernelAdiutor or similar control/performance app.

...Again: I understand correctly that "MicroG-ified" just refers to the signature patch, but one would need to install the framework separately? Must be so as otherwise one couldn't flash Gapps, I guess :p

And one more question: When you finally update the first post with the TWRP stuff you've planned for it (especially which TWRP version [link] you recommend), I'm still confused on the MultiROM part. I've never used that. So: Does your TWRP build already include MultiROM? If not, in which step must MultiROM [link] be flashed? And if I have your LP build running before I start the procedure on MM, can I then simply install this LOS build as second ROM, keeping LP as first?
I use microG+Playstore (Cal_sync)+embedded email and NO GoogleSearch or others; if you need Gmail.app, imho, it's better to use normal Gapp for battery and performance.

Concerning Multirom you can use latest
twrp for all flash operations : https://www.androidfilehost.com/?fid=529152257862714405
multirom.zip which patch first rom boot.img with menu selection (& all adb operations) https://www.androidfilehost.com/?fid=817550096634757304
All my kernels are kexeced https://en.wikipedia.org/wiki/Kexec
You can use Cyospak on top of aosp7 (but primary rom only) and get all your roms (KK L MM) on secondary or even use a boot.img only on primary . I usually use primary for rom testing because flashing via twrp is much faster on primary vs 2nd. Then when I need access to 2nd, I just flash multirom.zip ; once done you have 3 diff linux : twrp + multirom stand-by + rom (+all 2nd). It can be useful to keep secure f2fs/data (wip) on one rom only.
Try to flash rom with no more update on 2nd. I will update more explanation...
 
Last edited:

svv3000

Member
Feb 18, 2016
23
7
Wileyfox Swift 2
(Sorry for delay: broken computer os)

No our aosp/cm kernel does not support, personally I even go for ondemand governor.
Everything can be set with KernelAdiutor or similar control/performance app.


Thanks for your reply. I think your opinion about customization of the performance (and others too) is correct. Of course, KernelAdiutor is quite convenient to use and will satisfy most of the needs in the configuration. Never had problems with using it.
 

4xhd noob

New member
Jul 20, 2017
1
0
hi guys, noob here

just installed the rom, and now ive lost root access and dunno how to boot to my recovery (twrp 3)

i used third party apps to boot to twrp but now they request for root access which i dont have

i dunno the key combination for accessing the recovery

so now i want my root access back and a way to access my recovery

thx so much guys really need ur help
 

oF2pks

Senior Member
May 22, 2016
801
1,092
As this wasn't answered yet: If I got that right, other than CM, LOS does NOT ship with any superuser built-in. So did anyone try the ROM with Magisk and MagiskSU? For one, that'd be a FOSS solution, and then there are several nice features it offers.
Magisk is really useful for modern devices to provide SafetyNet : using it with Oneplus5, Google always fight to broke it every week (AndroidPay) and when you loose Magisk, you loose all your setups; thus, imho ,SuperSu provides a much stable & secure with old p880 regular/system. But you should try installing csk1jw's ('pure') AOSP as primary rom, without Gapps, and with Magisk + MicroGNanomod https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928
Then flash kexeced Cyospak to access Multirom with los13 & others as secondary. I didn't have much time, but I will try this soon; for now I have los13 on primary due to fastest flash time (vs 2nd slots).

Will update los13 on next August Cve upgrade.

hi guys, noob here

just installed the rom, and now ive lost root access and dunno how to boot to my recovery (twrp 3)

i used third party apps to boot to twrp but now they request for root access which i dont have

i dunno the key combination for accessing the recovery

so now i want my root access back and a way to access my recovery

thx so much guys really need ur help
Fist, if you were using SuperSu before, try easy install back SuperSu.apk only ( and check binaries).
Otherwise
-PowerOff : press [Volume Down & Power Button] until logo
or (check Developer Options)
-USB/adb : adb shell setup-recovery + adb reboot
BTW , reboot to recovery is included via AdvancedReboot option , (check Developer Options)

What's also not clear to me is what you mean by "MicroG & CalendarSync need specific in-built permissions to be granted": CalendarSync (according to the list there) seems only relevant with Gapps, so I can ignore that. But what is expected to run for those "special grants" – or does your image already take care for that with regards to microG, as you list "MicroG-ified" with the "Rom features"? And by "MictoG-ified" you mean GmsCore incl. signature-spoofing and GsfProxy – so one would just need to add desired backends for UnifiedNlp?
Coming with MM (& N), are dynamic permissions, and so is build MicroG: if you don't grant permission explicitly, security won't allow signature faking; and CalendarSync needs Calendar permission. I will post attached screenshot very soon.
Concerning Multirom, I will update the dedicated thread with more info, but the whole thing is open source (from the beginning) : https://github.com/Tasssadar/multirom/wiki/Introduction
 

Attachments

  • Screenshot_20170721-003826.png
    Screenshot_20170721-003826.png
    32 KB · Views: 166
  • Screenshot_20170721-003307.png
    Screenshot_20170721-003307.png
    74.6 KB · Views: 171
Last edited:
  • Like
Reactions: 4xhd noob

Top Liked Posts