• 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
784
1,079
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)
 

pleniceanu cristian

Senior Member
Aug 9, 2017
98
26
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)
I did what you said and managed to install the system but could not configure it with wi fi, i don.t have sim.
 

pleniceanu cristian

Senior Member
Aug 9, 2017
98
26
No need to configure Xperia, once Wizard setup shows up: reboot (power button) to TWRP with, first [FormatData]/yes, then flash any custom rom (LineageOS can be launched without wifi or sim).
What do you mean by any custom ROM, do I have to install another custom ROM before this one?
I tried to install this one immediately after stock and the configuration for this one didn't work
 

oF2pks

Senior Member
May 22, 2016
784
1,079
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.
 

oF2pks

Senior Member
May 22, 2016
784
1,079
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.
 
Last edited:

TEK023

Senior Member
Oct 17, 2018
79
10
amazing rom does patch included? or have to flash patch
seem working on my xz1 japan variant with other rom it consume battery like 20% a night because there no deep sleep cpu lock at 518mhz all time
but this rom seem to consume way less
any idea?
 

oF2pks

Senior Member
May 22, 2016
784
1,079
Complete state-changes, for devs only ( @Simon94 @Phie ) are uploaded in post#2 : https://forum.xda-developers.com/attachment.php?attachmentid=5088973&d=1598785295

For users aiming at microG Fakestore feature only : be sure to activate network isolation on disabled Playstore & 2xGoogleSync via AppsSettings.

amazing rom does patch included? or have to flash patch
seem working on my xz1 japan variant with other rom it consume battery like 20% a night because there no deep sleep cpu lock at 518mhz all time
but this rom seem to consume way less
any idea?
Nothing needs to be patched for WakelockBlocker : it's not a kernel side (linux) feature, but an aosp block per app declaration.
If you are rooted, give a try to BetterBatteryStats and SuperFreezZ to knock down efficiently disgraceful apps in deep doze (root + non-auto mode with Magisk & KAdiutor unchecked).
Once done use WakelockBlocker for fine tuning only when needed (avoid targeting system components).

If you don't need any of /wifi /nfc /bluetooth overnight: switch them off; on custom roms reboot once sometimes can also help to get better behavior (sometimes not)...

Normally you should get more than 80% deep sleep: check with KAdiutor and not BBS which consumes battery when tracking alarms on your device (with modern aosp doze aosp AlarmBlocker patch is not very useful ?).
 
  • Like
Reactions: tombbb

oF2pks

Senior Member
May 22, 2016
784
1,079

I don't use MicroG that deep and this is missing in MicroG wiki https://github.com/microg/android_packages_apps_GmsCore/wiki/Building.

I have uploaded a VTM build https://forum.xda-developers.com/attachment.php?attachmentid=5095247&d=1599734756 in Treble MicroG; can you give a try ? (Any idea of a foss app that breaks like WhatsApp due to this missing key ?)

Since Mapbox key don't seem to be sharable freely, I may switch next rom release to official marvin's GmsCore/GSFProxy and DroidGuard; unfortunately MicroG don't provide nightly builds ...

(I also may re-harden Mapbox detection in my tracker app: https://f-droid.org/en/packages/com.oF2pks.classyshark3xodus/ ? )
 
  • Like
Reactions: tombbb

feduss

Senior Member
I have uploaded a VTM build https://forum.xda-developers.com/att...7&d=1599734756 in Treble MicroG; can you give a try ? (Any idea of a foss app that breaks like WhatsApp due to this missing key ?)

Nothing, even with this version the map doesn't load. What is VTM?
Btw, Foss app? I don't think whatsapp is foss :D! But, according to my personal test, non-foss telegram, whatsapp and ufficio postale (an italian app) have this loading problem.

Since Mapbox key don't seem to be sharable freely, I may switch next rom release to official marvin's GmsCore/GSFProxy and DroidGuard; unfortunately MicroG don't provide nightly builds ...

(I also may re-harden Mapbox detection in my tracker app: https://f-droid.org/en/packages/com....syshark3xodus/ ? )

i really didn't understand what you have written here :')...i don't know so much about.
 

oF2pks

Senior Member
May 22, 2016
784
1,079
September cve release

Latest September 2020 is uploaded : https://androidfilehost.com/?fid=8889791610682941087

Changelog:
- Lineage & derfelot/kernel latest upstream 4.4.235
- Bromite v85.0.4183.110
- switch to official (@MaR-V-iN 's) microG 3x: GmsCore, GoogleServicesFramework, DroidGuard
Prior to rom upgrade specifically, be sure to :
first clean 3x microG apps:
{_Names} = {_Apks}
  • DroidGuard = org.microg.gms.droidguard
  • GoogleServicesFramework = com.google.android.gsf
  • GmsCore = com.google.android.gms
Code:
 - Remove /Settings /Accounts /Google
 - Uninstall updates for 3x apps via /Settings /apps
 - TWRP : mount /system & delete 3x{_Names} in /priv-app /.
[U] - TWRP : delete 3x{_Apks} in /data/data /.[/U]
 - Reboot once
 - TWRP : flash rom.zip 2020-09
 
  • Like
Reactions: tombbb

feduss

Senior Member
Last edited:

oF2pks

Senior Member
May 22, 2016
784
1,079
December CVE update

Latest December 2020 is uploaded : https://androidfilehost.com/?fid=17248734326145693505

Changelog:
- Lineage & derfelot/kernel latest upstream 4.4.247
- Bromite v87.0.4280.106
- GmsCore 0.2.15.204713
- fix preventing install for other webview providers (Playstore /Google) due to Bromite dynamited versionCode.

Wish you all the best for 2021 (this is definitively the best rom I ever built, thx to @derf elot )

Thanks for the update. I have still problems with maps and netflix/primevideo...
These are MicroG misses to Google fashion Cronet ; use post#1Google Maps 9.84.2
 
  • Like
Reactions: SGH-i200 and tombbb

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.