• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[10][microG] Los17.1 ufOFFICIAL with WakelockBlocker (cve July 2021)

Search This thread

oF2pks

Senior Member
May 22, 2016
783
1,079
[17.1 cve 202107] download : https://androidfilehost.com/?w=files&flid=306432
All-in-one: "Regular" #derf elot Los17.1 build with microG patches, extended 2x permissions, #ale5000 implementation and multiple foss apps:
  • microG: GmsCore(mapbox) GoogleServicesFramework DroidGuard
  • addons: NominatimGeocoderBackend DejaVuBackend IchnaeaNlpBackend LocalWifiNlpBackend openbmapRadiocellsOrg LocalGsmNlpBackend
  • hot-built: browserQuarks photoEditor aospBrowser2
  • prebuilt: Fdroid F-DroidPrivilegedExtension NeoLinker
  • others: Bromite ; system/bin* aapt32
Also included are these non-foss 3 Google : Playstore, Calendar/Contact_Sync; like Sony embedded artfilter soundphoto moviecreator apk, they are disabled by default (due to Internet permission with known trackers), and can be activated via Settings/Apps.
not included: Latest compatible Google Maps 9.84.2 optional https://androidfilehost.com/?fid=11410963190603886579

Extra(s): Nfc and AudioFX tiles, basic photoEditor*, experimental WakelockBlocker via Settings/{}DevOptions <USE WITH CAUTION>.

Nota: : android Webview v91 is signed & upgradable from Bromite, Terminal is activated via Settings/System/Advanced/DeveloperOptions and Playstore has to be ForceStop-ed once after registration/wizard, and relaunch. F-Droid V.102.3 auto-update needs FDroid/Settings/ExpertMode/Privileged disabled.
After first rom flash and MicroG prim-initialization, for immediate working location, toggle /Settings /Security&Location /Location off&on.
All other included prebuilts are fdroid signed editions.

donations: Consider prim-origin @derf elot @MaR-V-iN @csagan5(Bromite)
others : @Setialpha #ThibG(DroidGuard)

+info for microG implementation https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360
If you need more, please let me know about it, but for more "Google": just switch to derf_elot 's and flash Gapps...

ufo202104.png ufo_F-Droid.png microG_Services_Core1.png microG_Services_Core2.png purchasedApps_Google_Play_Store.jpg microG3.png
 

Attachments

  • photoEditor-debug.apk
    8.9 MB · Views: 59
  • GoogleServicesFramework.apk
    22.8 KB · Views: 79
  • DroidGuard.apk
    108.5 KB · Views: 63
  • GmsCore.apk
    14.1 MB · Views: 67
  • photoEditor-debug2.apk
    8.9 MB · Views: 40
  • microG1.png
    microG1.png
    167.8 KB · Views: 418
Last edited:

oF2pks

Senior Member
May 22, 2016
783
1,079
WIP Installation, Features, Patches, ...


Installation : be sure to [FormatData]/yes with latest derfelot/Los17.1 xz1's TWRP

before flashing all-in-one rom' zip.

Features:
  • microG with BackgroundLocation granted & latest ForegroundService
  • Q un-throttled wifi backends
  • Playstore + GoogleSync calendar/contacts
  • LineageOS stats removed
  • Cafeine long-press to PermissionsManager
  • Bromite jQuarksBrowser F-Droid photoEditor
  • AudioFX tile
  • jQuarks: Jelly with AdBlock
  • aosp HTMLViewer (Browser2) for webrtc permissions (missing in Jelly)
  • WakelockBlocker
(EasterEgg is up and have no idea what IconQuiz is about ??)


XML:
<manifest>
<remote name="gitlab" fetch="https://gitlab.com/"/>
<remote name="aos" fetch="https://android.googlesource.com/"/>
<remove-project name="LineageOS/android_packages_apps_Updater"/>
<remove-project name="LineageOS/android_external_chromium-webview"/>
<!--  To build jQuarks instead of Jelly: -->
<remove-project name="LineageOS/android_packages_apps_Jelly"/>
<project name="oF2pks/jelly" path="packages/apps/Jelly" remote="gitlab" revision="jQuarksMore"/>
<project path="packages/apps/Browser2" name="platform/packages/apps/Browser2" remote="aos" revision="master"/>

      <!-- SONY -->
      <project name="whatawurst/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github" revision="lineage-17.1" />
      <project name="whatawurst/android_device_sony_yoshino-common" path="device/sony/yoshino-common" remote="github" revision="lineage-17.1" />
      <project name="whatawurst/android_device_sony_poplar" path="device/sony/poplar" remote="github" revision="lineage-17.1" />

      <!-- Pinned blobs for poplar -->
      <project name="whatawurst/android_vendor_sony_poplar" path="vendor/sony/poplar" remote="github" revision="lineage-17.1" />

</manifest>


Magisk 20.4 compatible useful apps: https://forum.xda-developers.com/an...etter-v1-0-t3637705/post81954189#post81954189

Attached patches.zip if for rom devs only
default_wallpaper.png fdroid.png
 

Attachments

  • patches.zip
    27 KB · Views: 104
  • patches_2020-08.zip
    110.2 KB · Views: 8
Last edited:

boa05

Senior Member
Mar 19, 2016
86
35
20
Budapest
Hi, thanks for the amazing ROM! I've used your treble based ROM, but then switched to derf elot's los for more stability, now this is perfection!

If I may have a feature request: would it be possible to add an option to have the old Oreo style (vertical) recents menu?
Also I feel like nowadays most apps unfortunately need interNet (why capitalise the N btw) so can we have a switch for default state of the internet permission. It was a bit inconvenient to always go into settings and allow permission for every single app.

Sorry if I sound a bit greedy, your patches are already awesome!
 

boa05

Senior Member
Mar 19, 2016
86
35
20
Budapest
Well it's stable enough for me, but if you rely heavily on gapps, then I don't recommend it. So for example Google classroom didn't work, had one app that couldn't enable push notifications and some firebase related crashes - stuff you'd expect from using microg. I had a few crashes at first but I think that's just because I didn't allow certain permissions. Since it's based on derf elot's build, I think it's mostly the same as if you'd have his build with microg and signature spoofing patches.
 
  • Like
Reactions: SGH-i200 and oF2pks

boa05

Senior Member
Mar 19, 2016
86
35
20
Budapest
Found a bug with the boot animation being scaled wrongly, luckily bootup time is super fast.
 

Attachments

  • IMG_20200320_154048_066.jpg
    IMG_20200320_154048_066.jpg
    106.8 KB · Views: 515

oF2pks

Senior Member
May 22, 2016
783
1,079
May cve release

Latest May 2020 is uploaded : https://androidfilehost.com/?fid=4349826312261816983

Changelog:
- Lineage & derfelot/kernel latest upstream
- Swappiness 25
- Calendar is now working with edit feature ok (be sure to grant all secured tweaked InterNEt apps permission)
- photoEditor updated

Gmail crashing when version > 2020.03.15: download https://androidfilehost.com/?fid=4349826312261817054

scaled wrongly, luckily bootup time is super fast.
This is all the good about microG, isn't it ...

Just only one version for g8341 ? . DSDS can't use it ?
I'm now testing unified build method from Carbon, but can't get all FingerprintedPartitions_system equal ( @Myself5 https://github.com/derfelot/android_device_sony_poplar/blob/lineage-17.1/lineage_poplar.mk#L28 missing in CarbonRom process ?); also I'm not sure if it is crucial for microG integration, since safetyNet is still broken (?). @haiha I'll pm you when I'll upload a unified test-build.
 
  • Like
Reactions: boa05

Myself5

Recognized Developer
Mar 17, 2011
3,418
9,786
23
myself5.de
I'm now testing unified build method from Carbon, but can't get all FingerprintedPartitions_system equal ( @Myself5https://github.com/derfelot/android_device_sony_poplar/blob/lineage-17.1/lineage_poplar.mk#L28 missing in CarbonRom process ?); also I'm not sure if it is crucial for microG integration, since safetyNet is still broken (?). @haiha I'll pm you when I'll upload a unified test-build.

The fingerprint is stored on /odm. As I dont touch the stock odm, the vaues are loaded and set via init_yoshino from there. Therefore theres no need to set them inside the device sources
 
Last edited:
  • Like
Reactions: oF2pks

7hr08ik

Senior Member
Oct 8, 2011
258
95
Few days now, and all is good. She seems smoother than before. I used to get the occasional lock up, in the launcher. But none recently.

Great work dude. Thank you for keeping my phone relevant ?
 

pleniceanu cristian

Senior Member
Aug 9, 2017
98
26
i tried to install this ROM after wiping everything (previous was Carbon rom - Android 10) with twrp 3.3.1-0, the twrp says UNABLE TO DECRYPT FBE DEVICE but it shows it installs the ROM. But when I restart the phone after flashing with TWRP I get continuos boot loop, I see the SONY LOGO but the device restarts to TWRP, I enter twrp again, wipe everything again and install lineage beta 17.1 but the same things happen, the same message UNABLE TO DECRYPT FBE DEVICE and boot loop.
Then I go and wipe everything and install Carbon ROM again, everything seems fine. Why I cannot install Lineage?

Update: it seems that twrp remembers the security options to unlock the screen from the previous ROM, even after wipping everything, including internal SD, I have a 4 points pattern. After I installed Carbon ROM again, I entered twrp again and wiped everything and the error mesage is no more (UNABLE TO DECRYPT FBE DEVICE). Then I tried to instal this ROM again but still no succes, I see SONY LOGO, the device cannot boot and enters TWRP again (and with the same error mesage before flashing UNABLE TO DECRYPT FBE DEVICE). Something is not quite wright.
 
Last edited:

7hr08ik

Senior Member
Oct 8, 2011
258
95
No idea then. Trying to think back.

So, for me the process was

TWRP - format data (type yes)
Reboot into recovery
Full wipe (slide across for data, cache etc)
Another reboot into recovery
Then install
But at end of install don't reboot phone.
Go back to TWRP main menu.
Shutdown
Power back on
 

oF2pks

Senior Member
May 22, 2016
783
1,079
That's what I did, multiple times. But with no result
Are you using derfelot latest twrp ?: https://androidfilehost.com/?w=files&flid=295816

The fingerprint is stored on /odm. As I dont touch the stock odm, the vaues are loaded and set via init_yoshino from there. Therefore theres no need to set them inside the device sources

@Myself5 , on Lineage, I also have system_fingerprint different and same as odm (checked via Build.getFingerprintedPartitions()) : any hint about possible downside effects with init_poplar.cpp modified, such as:
Code:
void target_load_properties()
{

    std::string model = GetProperty("ro.product.vendor.name", "");

[B]+    std::string fp = GetProperty("ro.bootimage.build.fingerprint", "");
+    property_override("ro.odm.build.fingerprint", fp.c_str());
+    property_override("ro.system.build.fingerprint", fp.c_str());[/B]

    if (model == "G8342") {
    ... ...
(btw, didn't follow 100 extreme value for swappiness value on both Lineage & Carbon : 25 instead ?)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    June cve release

    Latest June 2020 is uploaded : https://androidfilehost.com/?fid=8889791610682875033

    Changelog:
    - unified build (untested on DSDS G8342 @haiha ?)
    - Lineage & derfelot/kernel latest upstream (rebased on Pie instead of previous Q msm8998)
    - Calendar is now replaced by LineageOS Etar
    - Bromite v83.4103.101

    Due to this new unified single/dual sim build, plus the kernel retro-rebased on Pie; be sure to proceed a safe copy of TWRP/backup for the partition /data (all others are included into the zip), prior to June.zip flash.

    That's what I did, multiple times. But with no result
    In such case you need to re-flash latest official Xperia (47.2.A.11.228) with Newflasher and boot once until Wizard setup shows up, then reboot to TWRP with, first [FormatData]/yes, then flash any custom rom. (Solely treble Generic System Image are compatible without the need for [FormatData]/yes)
    4
    [17.1 cve 202107] download : https://androidfilehost.com/?w=files&flid=306432
    All-in-one: "Regular" #derf elot Los17.1 build with microG patches, extended 2x permissions, #ale5000 implementation and multiple foss apps:
    • microG: GmsCore(mapbox) GoogleServicesFramework DroidGuard
    • addons: NominatimGeocoderBackend DejaVuBackend IchnaeaNlpBackend LocalWifiNlpBackend openbmapRadiocellsOrg LocalGsmNlpBackend
    • hot-built: browserQuarks photoEditor aospBrowser2
    • prebuilt: Fdroid F-DroidPrivilegedExtension NeoLinker
    • others: Bromite ; system/bin* aapt32
    Also included are these non-foss 3 Google : Playstore, Calendar/Contact_Sync; like Sony embedded artfilter soundphoto moviecreator apk, they are disabled by default (due to Internet permission with known trackers), and can be activated via Settings/Apps.
    not included: Latest compatible Google Maps 9.84.2 optional https://androidfilehost.com/?fid=11410963190603886579

    Extra(s): Nfc and AudioFX tiles, basic photoEditor*, experimental WakelockBlocker via Settings/{}DevOptions <USE WITH CAUTION>.

    Nota: : android Webview v91 is signed & upgradable from Bromite, Terminal is activated via Settings/System/Advanced/DeveloperOptions and Playstore has to be ForceStop-ed once after registration/wizard, and relaunch. F-Droid V.102.3 auto-update needs FDroid/Settings/ExpertMode/Privileged disabled.
    After first rom flash and MicroG prim-initialization, for immediate working location, toggle /Settings /Security&Location /Location off&on.
    All other included prebuilts are fdroid signed editions.

    donations: Consider prim-origin @derf elot @MaR-V-iN @csagan5(Bromite)
    others : @Setialpha #ThibG(DroidGuard)

    +info for microG implementation https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360
    If you need more, please let me know about it, but for more "Google": just switch to derf_elot 's and flash Gapps...

    ufo202104.png ufo_F-Droid.png microG_Services_Core1.png microG_Services_Core2.png purchasedApps_Google_Play_Store.jpg microG3.png
    4
    WIP Installation, Features, Patches, ...


    Installation : be sure to [FormatData]/yes with latest derfelot/Los17.1 xz1's TWRP

    before flashing all-in-one rom' zip.

    Features:
    • microG with BackgroundLocation granted & latest ForegroundService
    • Q un-throttled wifi backends
    • Playstore + GoogleSync calendar/contacts
    • LineageOS stats removed
    • Cafeine long-press to PermissionsManager
    • Bromite jQuarksBrowser F-Droid photoEditor
    • AudioFX tile
    • jQuarks: Jelly with AdBlock
    • aosp HTMLViewer (Browser2) for webrtc permissions (missing in Jelly)
    • WakelockBlocker
    (EasterEgg is up and have no idea what IconQuiz is about ??)


    XML:
    <manifest>
    <remote name="gitlab" fetch="https://gitlab.com/"/>
    <remote name="aos" fetch="https://android.googlesource.com/"/>
    <remove-project name="LineageOS/android_packages_apps_Updater"/>
    <remove-project name="LineageOS/android_external_chromium-webview"/>
    <!--  To build jQuarks instead of Jelly: -->
    <remove-project name="LineageOS/android_packages_apps_Jelly"/>
    <project name="oF2pks/jelly" path="packages/apps/Jelly" remote="gitlab" revision="jQuarksMore"/>
    <project path="packages/apps/Browser2" name="platform/packages/apps/Browser2" remote="aos" revision="master"/>
    
          <!-- SONY -->
          <project name="whatawurst/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github" revision="lineage-17.1" />
          <project name="whatawurst/android_device_sony_yoshino-common" path="device/sony/yoshino-common" remote="github" revision="lineage-17.1" />
          <project name="whatawurst/android_device_sony_poplar" path="device/sony/poplar" remote="github" revision="lineage-17.1" />
    
          <!-- Pinned blobs for poplar -->
          <project name="whatawurst/android_vendor_sony_poplar" path="vendor/sony/poplar" remote="github" revision="lineage-17.1" />
    
    </manifest>


    Magisk 20.4 compatible useful apps: https://forum.xda-developers.com/an...etter-v1-0-t3637705/post81954189#post81954189

    Attached patches.zip if for rom devs only
    default_wallpaper.png fdroid.png
    3
    Aug cve release

    Latest Aug 2020 is uploaded : https://androidfilehost.com/?fid=8889791610682922981

    Changelog:
    - WakelockBlocker implementation instead of previous experimental permissionX for both Internet & Wakelock.
    - LineageOS new official network isolation
    - Lineage & derfelot/kernel latest upstream (rebased on Pie instead of May Q msm8998)
    - Bromite v85.0.4183.82
    - Browser jQuarks fix Color white on white for Status & Nav bar
    - aosp HTMLViewer (Browser2) for webrtc permissions
    - Latest GmsCore with contactTracing Exposure Notifications toggle (disabled by default).

    Due to Internet permission with known trackers: Playstore, Calendar/Contact_Sync, like Sony embedded /artfilter /soundphoto /moviecreator apks, are disabled by default at first install ONLY (no changes for rom classic upgrade) and can be activated via Settings/Apps.

    All state changes are now on par with my microG GSi (https://forum.xda-developers.com/attachment.php?attachmentid=5079941&d=1597508878). I will upload los patches.zip for devs in post#2 soon.
    3
    Latest GmsCore (anticipated to 20.99.99) is uploaded on my Treble xda thread here : https://forum.xda-developers.com/pr...arm64aosp-9-0-0r21-microg-ufofficial-t3878115 (with untested? contactTracing Exposure Notifications toggle).
    - https://github.com/microg/android_p...mmit/2076970d4052dd6438896f35319018202c6d7b73
    - https://github.com/microg/android_packages_apps_GmsCore/pull/1132


    August LineageOS will come with a new official network isolation https://review.lineageos.org/q/ten-network-isolation. Thus I will switch to WakelockBlocker implementation instead of previous experimental permissionX for both Internet & Wakelock.