[AOSP 9.0.0_r50][v121] microG ufOfficial (cve Nov ?, 2019) arm32/64

Do you believe microG Treble GSi should be pre-rooted ?

  • yes, with su

    Votes: 62 53.9%
  • NO su

    Votes: 53 46.1%

  • Total voters
    115
Search This thread

oF2pks

Senior Member
May 22, 2016
819
1,116
"Regular" #phhusson AOSP 9.0 vanilla build with microG patches, #ale5000 implementation and multiple foss apps:
(/system partition requires: [arm64:>1.6Gb] [arm32:>1Gb] minimum)
  • microG: GmsCore19.9.99.mapbox*² GoogleServicesFramework* DroidGuard*
  • addons: NominatimGeocoderBackend DejaVuBackend IchnaeaNlpBackend LocalWifiNlpBackend openbmapRadiocellsOrg LocalGsmNlpBackend
  • hot-built: emailExchange2 snapMusic Terminal screenRecorder testDevCamera browserQuarks
  • prebuilt: Fdroid F-DroidPrivilegedExtension ZxingClient kDI
  • system/bin* : aapt32 curl32 grep64(pcre2grep version 10.22 2016-07-29)
Also included are these non-foss 3 Google : Playstore, Calendar/Contact_Sync; they can be fully disabled, if not needed, via Settings/Apps, and re-activated back (with or without previous valid Google account registration) . To match Magisk ctsProfile:true (Playstore certified) check https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228 to restore vendor original build.fingerprintwip
not included: Latest compatible Google Maps 9.84.2 optional https://androidfilehost.com/?fid=11410963190603886579

Nota : android Webview v76 (spoofing an Oreo 74/SamsungS9) 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. Switching between vtm & mapbox can need wipe for apk cache & account re-creation.
*) home-built with targetSDK 28 and manifest/multiArch
*²) GmsCore is anticipated to v19.9.99(PlayServices variants): can be upgraded with all attached gmscore__.apk
All other included prebuilts are fdroid signed editions.

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

+info for microG implementation https://xdaforums.com/android/development/microg-unofficial-installer-t3432360
If you need more, please let me know about it, but for more "Google": just switch to phhusson "gapps" flavour...
 

Attachments

  • XsNet.png
    XsNet.png
    132.3 KB · Views: 10,067
  • MagiskHidePropsConfVENDOR.zip
    48.3 KB · Views: 697
  • XfingerprintVendor.png
    XfingerprintVendor.png
    112.5 KB · Views: 9,963
  • XmG1.png
    XmG1.png
    156.8 KB · Views: 9,631
  • XmG2.png
    XmG2.png
    151.1 KB · Views: 8,981
  • GoogleServicesFrameworkXafh28.apk
    22.8 KB · Views: 463
  • DroidGuardThibG28.apk
    108.5 KB · Views: 361
  • DroidGuardNEW-0.apk
    108.5 KB · Views: 273
  • GmsCore19999NanolxNEWmapbox-3.apk
    14.1 MB · Views: 161
  • GmsCore19999NanolxNEWmapbox-4.apk
    14.1 MB · Views: 130
  • GmsCore19999NanolxNEWvtm-4.apk
    6.5 MB · Views: 104
  • GmsCore19999NanolxNEWmapbox-4b_Foreground.apk
    14.1 MB · Views: 83
  • GmsCore209999NEWmapbox0cTracing.apk
    17.2 MB · Views: 94
  • DroidGuardNEW-0_1_2-28.apk
    98.6 KB · Views: 42
Last edited:

oF2pks

Senior Member
May 22, 2016
819
1,116
Bugs reporting

ufOfficial rom includes static & passive app kDI (KalturaDeviceInfo) to list all your device specs (treble, widevine...) in a json, and can help you with GSFid or others info(s). This app doesn't connect to internet, and the json (~Android/data/com.oF2pks.kalturadeviceinfo/files/) should not include any private data or ids; it's up to you to share or not.

If you encounter major AOSP "hardware (not software)" related bugs, please switch to #phhusson vanilla v___ edition and help him with proper focused hardware logs. For Camera2 missing features, take time to check OpenCamera first, aosp DevCamera "sample stub" is included for testing purpose : autofocus... ; full cam specs are also in KalturaDeviceInfo (per each "physical" cam).
(Specific Sony yoshino overlay & props are added: only available for Sony xz1/G8341-2 & xz1c/G8441 devices)
For Treble when rooted, you can do some tests modifying specifically : /system/bin/rw-system.sh to change some features on post-fs https://github.com/phhusson/device_phh_treble/blob/android-9.0/vndk.rc#L1

hot-built links :
Code:
[SIZE="1"]https://source.codeaurora.org/external/gigabyte/platform/packages/apps/Exchange -b LA.UM.7.6.r1-03700-89xx.0
https://source.codeaurora.org/quic/la/platform/packages/apps/SnapdragonMusic -b android_ui.lnx.3.0.r11-rel
https://github.com/LineageOS/android_packages_apps_Recorder -b lineage-16.0
https://gitlab.com/oF2pks/jelly -b jQuarksMore
https://github.com/LineageOS/android_external_chromium-webview/tree/lineage-15.1
https://github.com/LineageOS/android_packages_apps_Terminal
[/SIZE]
- 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)
- Optimized browser Quarks ( offline reading mht , print/pdf , share/clipboard target ...) https://gitlab.com/oF2pks/jelly/commits/jQuarksMore package is renamed org.lineageos.jelly for better LineageOS upstream.
 

Attachments

  • microG-Webkit.diff.txt
    8.3 KB · Views: 117
  • microGfull-Webkit.diff.txt
    19.6 KB · Views: 72
  • default_wallpaper.png
    default_wallpaper.png
    61.8 KB · Views: 1,747
  • fdroid.png
    fdroid.png
    7.4 KB · Views: 1,750
  • com.android.devcamera.apk
    78 KB · Views: 180
  • jelly2018.diff.txt
    22.2 KB · Views: 31
  • OmniRom_3_addWhitelistExtended.diff.txt
    2.2 KB · Views: 133
  • microg-a5k.xml.txt
    8 KB · Views: 55
  • frameworks_base_TILES-Caffeine-Nfc.diff.txt
    15.2 KB · Views: 21
Last edited:

swiftbones74

Senior Member
Mar 13, 2017
1,037
883
Taos New Mexico
[9.0.0_r21/v108] download : https://androidfilehost.com/?a=show&w=files&flid=286761
"Regular" #phhusson AOSP 9.0 vanilla build with microG patches, #ale5000 implementation and multiple foss apps: .
microG: GmsCore15.9.99** GoogleServicesFramework
addons: DroidGuard* DejaVuBackend NominatimGeocoderBackend IchnaeaNlpBackend
hot-built: emailExchange2 snapMusic Terminal screenRecorder testDevCamera browserQuarks
prebuilt: Fdroid ZxingClient NightshadelabsAnotherbrowser** kalturadeviceinfos**
system/bin** : aapt32 curl32 grep64(pcre2grep version 10.22 2016-07-29)


Any chance you would be interested in building arm64 a/b ?


Sent from my mata using XDA Labs
 

phhusson

Recognized Developer
Jul 23, 2009
2,489
4,796
Paris
Thanks for doing that, I know that's something that's been missing for some time.

Do you think you'll maintain it "long"-term? (you're using it for yourself?)
Are you releasing by hand, or do you have scripts to automate releases?

It would be nice to also have arm a-only variant, since usually those are cheaper devices, with a lot less RAM, which would be much more happier without Google apps.
 

oF2pks

Senior Member
May 22, 2016
819
1,116
Missing complementary old MapsAPIv1 will be added in next release (framework/com.google.android.maps.jar) + specific attached wallpaper
"long"-term? (you're using it for yourself?)
Are you releasing by hand, or do you have scripts to automate releases?
Yes, I will try to follow your releases versioning so user's reports will be synced (build: I've added an inherit ufo.mk -> vendor/ufo, to your generated treble_arm64_*vN.mk)

For arm32 low cost device release, are you referring to treble_arm_avN(vndk-binder32) or treble_a64_avN(vndk32) ?
EDIT2: @phhusson , both arm32_aonly uploaded here :
https://androidfilehost.com/?w=files&flid=287186
com.google.android.maps.jar & LosTerminal are now included​

btw, I choose to deodex embedded webwiew (Los v69), but was not able to build a stable complete deodexed aosp (#WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true), any hint ?

For info, I use your embedded prebuilt Phonesky(gapps-go) to initiate Playstore account; already paid apps are ok, but with microG/Magisk 17.3 (sony xz1), I fail on CTSprofile match.
EDIT Playstore NOT certified (PlayProtect...) despite GSFid registration


Since some don't have twrp, I'm also looking for a simple "bridge" to patch etc/hosts from within Settings/.../DevOptions, do you believe it could break Treble securities & bootloop : https://github.com/AICP/packages_ap...ndroid/settings/aicp/hfm/HfmHelpers.java#L108 ?

1000Thx again for your heavy works.
 

Attachments

  • default_wallpaper.png
    default_wallpaper.png
    61.8 KB · Views: 4,136
  • sNet2.png
    sNet2.png
    164 KB · Views: 4,099
  • ufo.mk.txt
    2.6 KB · Views: 33
Last edited:

oF2pks

Senior Member
May 22, 2016
819
1,116
This is for a only , I am having a device with a/b partition...
you should find it in arm64_abSEAMLESS
... it would much better if there are no apps preinstalled, like here:https://lineage.microg.org/
Can you elaborate ? Not all users have twrp on their device, so they need all @ale5000 prebuilts in/system + Playstore + Contact/Calendar_GoogleSync;
-classic "old" fdroid 0.102.3 in /system helps users decide to upgrade to any "modern" version with option to downgrade back,
-NightshadelabsAnotherbrowser is tiniest existing apk : browser switcher.
-(hotbuilts are not preinstalled...)
-most of all users forgot barcode/QRcode and miss it when they need it, also it useful to test camera (same as devCamera... and ZxingClient best you can find).
Finally KalturaDeviceInfo (I'm also the dev) is embedded because, conversely to Lineage, aosp don't include any dynamic reporting, and should helps users ( @conanedogawa1011 , @SkyWorldWide ) to overview their device & report: my next release will include fdroid signed edition.
(will also probably use MicroG gmscore semi-official @Setialpha ' release & repo)
All these "preinstalled" floss can be disabled via settings: your next ota will keep them disabled automatically.
Just installed latest arm32_binder64 version on j6 (j600fn to be more exactly) booted fine but without RIL, stock camera crashed at launch.
DevCamera & KalturaDeviceInfo can help you understanding the behavior: check latest(rc6) for "#CAMERA2API="in json for more details, and find appropriate focused log (clean all recent apps+ launch adb shell logcat + launch camera...)for Phhusson (hardware bug)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 39
    "Regular" #phhusson AOSP 9.0 vanilla build with microG patches, #ale5000 implementation and multiple foss apps:
    (/system partition requires: [arm64:>1.6Gb] [arm32:>1Gb] minimum)
    • microG: GmsCore19.9.99.mapbox*² GoogleServicesFramework* DroidGuard*
    • addons: NominatimGeocoderBackend DejaVuBackend IchnaeaNlpBackend LocalWifiNlpBackend openbmapRadiocellsOrg LocalGsmNlpBackend
    • hot-built: emailExchange2 snapMusic Terminal screenRecorder testDevCamera browserQuarks
    • prebuilt: Fdroid F-DroidPrivilegedExtension ZxingClient kDI
    • system/bin* : aapt32 curl32 grep64(pcre2grep version 10.22 2016-07-29)
    Also included are these non-foss 3 Google : Playstore, Calendar/Contact_Sync; they can be fully disabled, if not needed, via Settings/Apps, and re-activated back (with or without previous valid Google account registration) . To match Magisk ctsProfile:true (Playstore certified) check https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228 to restore vendor original build.fingerprintwip
    not included: Latest compatible Google Maps 9.84.2 optional https://androidfilehost.com/?fid=11410963190603886579

    Nota : android Webview v76 (spoofing an Oreo 74/SamsungS9) 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. Switching between vtm & mapbox can need wipe for apk cache & account re-creation.
    *) home-built with targetSDK 28 and manifest/multiArch
    *²) GmsCore is anticipated to v19.9.99(PlayServices variants): can be upgraded with all attached gmscore__.apk
    All other included prebuilts are fdroid signed editions.

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

    +info for microG implementation https://xdaforums.com/android/development/microg-unofficial-installer-t3432360
    If you need more, please let me know about it, but for more "Google": just switch to phhusson "gapps" flavour...
    12
    Thanks for doing that, I know that's something that's been missing for some time.

    Do you think you'll maintain it "long"-term? (you're using it for yourself?)
    Are you releasing by hand, or do you have scripts to automate releases?

    It would be nice to also have arm a-only variant, since usually those are cheaper devices, with a lot less RAM, which would be much more happier without Google apps.
    10
    Bugs reporting

    ufOfficial rom includes static & passive app kDI (KalturaDeviceInfo) to list all your device specs (treble, widevine...) in a json, and can help you with GSFid or others info(s). This app doesn't connect to internet, and the json (~Android/data/com.oF2pks.kalturadeviceinfo/files/) should not include any private data or ids; it's up to you to share or not.

    If you encounter major AOSP "hardware (not software)" related bugs, please switch to #phhusson vanilla v___ edition and help him with proper focused hardware logs. For Camera2 missing features, take time to check OpenCamera first, aosp DevCamera "sample stub" is included for testing purpose : autofocus... ; full cam specs are also in KalturaDeviceInfo (per each "physical" cam).
    (Specific Sony yoshino overlay & props are added: only available for Sony xz1/G8341-2 & xz1c/G8441 devices)
    For Treble when rooted, you can do some tests modifying specifically : /system/bin/rw-system.sh to change some features on post-fs https://github.com/phhusson/device_phh_treble/blob/android-9.0/vndk.rc#L1

    hot-built links :
    Code:
    [SIZE="1"]https://source.codeaurora.org/external/gigabyte/platform/packages/apps/Exchange -b LA.UM.7.6.r1-03700-89xx.0
    https://source.codeaurora.org/quic/la/platform/packages/apps/SnapdragonMusic -b android_ui.lnx.3.0.r11-rel
    https://github.com/LineageOS/android_packages_apps_Recorder -b lineage-16.0
    https://gitlab.com/oF2pks/jelly -b jQuarksMore
    https://github.com/LineageOS/android_external_chromium-webview/tree/lineage-15.1
    https://github.com/LineageOS/android_packages_apps_Terminal
    [/SIZE]
    - 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)
    - Optimized browser Quarks ( offline reading mht , print/pdf , share/clipboard target ...) https://gitlab.com/oF2pks/jelly/commits/jQuarksMore package is renamed org.lineageos.jelly for better LineageOS upstream.
    9
    Missing complementary old MapsAPIv1 will be added in next release (framework/com.google.android.maps.jar) + specific attached wallpaper
    "long"-term? (you're using it for yourself?)
    Are you releasing by hand, or do you have scripts to automate releases?
    Yes, I will try to follow your releases versioning so user's reports will be synced (build: I've added an inherit ufo.mk -> vendor/ufo, to your generated treble_arm64_*vN.mk)

    For arm32 low cost device release, are you referring to treble_arm_avN(vndk-binder32) or treble_a64_avN(vndk32) ?
    EDIT2: @phhusson , both arm32_aonly uploaded here :
    https://androidfilehost.com/?w=files&flid=287186
    com.google.android.maps.jar & LosTerminal are now included​

    btw, I choose to deodex embedded webwiew (Los v69), but was not able to build a stable complete deodexed aosp (#WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true), any hint ?

    For info, I use your embedded prebuilt Phonesky(gapps-go) to initiate Playstore account; already paid apps are ok, but with microG/Magisk 17.3 (sony xz1), I fail on CTSprofile match.
    EDIT Playstore NOT certified (PlayProtect...) despite GSFid registration


    Since some don't have twrp, I'm also looking for a simple "bridge" to patch etc/hosts from within Settings/.../DevOptions, do you believe it could break Treble securities & bootloop : https://github.com/AICP/packages_ap...ndroid/settings/aicp/hfm/HfmHelpers.java#L108 ?

    1000Thx again for your heavy works.
    9
    August 119 release

    Latest August 119 is uploaded : https://androidfilehost.com/?a=show&w=files&flid=286761
    Changelog :
    - (phhusson changelog) use arm64_abSEAMLESS version for Samsung s10
    - DejaVu Back-end updated to 1.1.12
    - Browser (Quarks CarbonRom) bug fixes :)random crash)
    - aosp Pie /system/bin/ curl added (embedded Terminal: curl --version)
    - *xml readable via Files/HTMLviewer
    - aosp Pie egg Paint accessible via launcher
    - GmsCore updated to 19.9.999 mapbox. Switching between vtm & mapbox can need wipe for GmsCore GoogleServicesFramework DroidGuard apks' cache & account re-creation.

    Broken:
    - SafetyNet (wip?)
    - (Playstore registration with Webview75 & old previous 17999May's compatible gmscore)
    - F-Droid V.102.3 auto-update needs Settings/ExpertMode/Privileged disabled