[AOSP 9.0] [2019-08-25] Phh-Treble

Search This thread
D

Deleted member 7210350

Guest
How can I remove this ugly Google search box from home screen? I wonder why this is included in the first place.
 

moctir

Member
Nov 16, 2017
39
14
Last edited:

kylek389

Member
Jan 10, 2014
26
3
Fingerprint authentication is broken in AOSP 9.0 v123 for Huawei P20 Lite ANE-LX3. Previously I was running v117 fine and had no problems setting up "Security & locations -> Fingerprint", now in v123 it fails with fpc_tac_send_cmd failed with retval: -69. Also there's ton of access file(/data/sec_storage_data/log/LOG@*) mode(0) failed: Permission denied errors.

Code:
system-arm64-aonly-vanilla-nosu.img-AOSP 9.0 [B]v123[/B]
HWANE:/ # logcat *:E
01-11 01:41:45.091   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.092   784  1054 E fpc_tac : Enrol took 51 ms (p: 100 q: 56 t: 0 e: 0)
01-11 01:41:45.094   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.095   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.096   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.097   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.124   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.124   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.126   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.126   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.130   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.130   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.132   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.132   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.134   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.134   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.135   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.136   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.138   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.139   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.141   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.142   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.144   601   606 E teecd   : mkdir /data/sec_storage_data/fp fail
01-11 01:41:45.145   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.146   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.147   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.148   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.150   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.151   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.152   601   606 E teecd   : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.153   601   606 E teecd   : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.154   784  1054 E fpc_tac : fpc_tac_send_cmd failed with retval: -69
01-11 01:41:45.156   784  1054 E fpc_fingerprint_hal: do_enroll_out failed -38
01-11 01:41:45.156   784  1054 E fpc_fingerprint_hal: dsm_buf:dsm_fingerprint,912001004,sensor_id=0x612,ChargerType=0,do_enroll: fpc_tac_end_enrol failed, index=-69
01-11 01:41:45.156   784  1054 E fpc_fingerprint_hal:

You can see logcat from v117 during successful fingerprint setup:
Code:
system-arm64-aonly-vanilla-nosu.img-AOSP 9.0 [B]v117[/B]
HWANE:/ # logcat *:E
01-11 01:34:58.930  1117  1257 E UserRestrictionsUtils: Unknown restriction: null
01-11 01:35:07.048   684   795 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#0] disconnect: not connected (req=1)
01-11 01:35:08.164  1117  1128 E UserRestrictionsUtils: Unknown restriction: null
01-11 01:35:08.741   684  1200 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollIntroduction#0] disconnect: not connected (req=1)
01-11 01:35:08.168  1117  1128 E UserRestrictionsUtils: Unknown restriction: null
01-11 01:35:10.841   684  1200 E BufferQueueProducer: [com.android.settings/com.android.settings.password.ChooseLockGeneric#0] disconnect: not connected (req=1)
01-11 01:35:15.215   757   757 E gatekeeperd: clear_sid: could not remove file [No such file or directory], attempting 0 write
01-11 01:35:15.319   757   757 E gatekeeperd: clear_sid: could not remove file [No such file or directory], attempting 0 write
01-11 01:35:15.407  1117  1581 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system_de/0/spblob/4b65e163bd24c5ed.weaver: open failed: ENOENT (No such file or directory)
01-11 01:35:15.459  1117  1581 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system_de/0/spblob/0000000000000000.handle: open failed: ENOENT (No such file or directory)
01-11 01:35:15.664  1117  1728 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system_de/0/spblob/196cf68d1ff456e6.weaver: open failed: ENOENT (No such file or directory)
01-11 01:35:16.179   684  1685 E BufferQueueProducer: [com.android.settings/com.android.settings.password.ChooseLockPattern#0] disconnect: not connected (req=1)
01-11 01:35:18.714   684   985 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollIntroduction#0] disconnect: not connected (req=1)
01-11 01:35:19.001   684   794 E BufferQueueProducer: [com.android.settings/com.android.settings.notification.RedactionInterstitial#0] disconnect: not connected (req=1)
01-11 01:35:19.467   769   960 E fpc_tac : Enrol took 24 ms (p: 20 q: 37 t: 0 e: 0)
01-11 01:35:19.579   769   960 E fpc_fingerprint_hal: wait_finger_up interrupted
01-11 01:35:19.590   769   769 E hw-IPCThreadState: binder thread pool (1 threads) starved for 116 ms
01-11 01:35:19.875   769   960 E fpc_tac : Enrol took 28 ms (p: 20 q: 62 t: 0 e: 0)
01-11 01:35:20.077   684   985 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollFindSensor#0] disconnect: not connected (req=1)
01-11 01:35:20.637   769   960 E fpc_tac : Enrol took 25 ms (p: 29 q: 64 t: 0 e: 0)
01-11 01:35:21.728   769   960 E fpc_tac : Enrol took 26 ms (p: 40 q: 51 t: 0 e: 0)
01-11 01:35:23.217   769   960 E fpc_tac : Enrol took 40 ms (p: 51 q: 62 t: 0 e: 0)
01-11 01:35:24.603   769   960 E fpc_tac : Enrol took 35 ms (p: 56 q: 56 t: 0 e: 0)
01-11 01:35:25.784   769   960 E fpc_tac : Enrol took 34 ms (p: 61 q: 60 t: 0 e: 0)
01-11 01:35:26.914   769   960 E fpc_tac : Enrol took 29 ms (p: 71 q: 62 t: 0 e: 0)
01-11 01:35:28.012   769   960 E fpc_tac : Enrol took 33 ms (p: 81 q: 62 t: 0 e: 0)
01-11 01:35:28.531  1117  1131 E system_server: No package ID 7f found for ID 0x7f08017e.
01-11 01:35:28.531  1117  1131 E system_server: No package ID 7f found for ID 0x7f120f65.
01-11 01:35:28.532  1117  1131 E system_server: No package ID 7f found for ID 0x7f08017d.
01-11 01:35:28.532  1117  1131 E system_server: No package ID 7f found for ID 0x7f120475.
01-11 01:35:28.532  1117  1131 E system_server: No package ID 7f found for ID 0x7f08017c.
01-11 01:35:28.532  1117  1131 E system_server: No package ID 7f found for ID 0x7f120992.
01-11 01:35:28.560  1437  1437 E PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC
01-11 01:35:29.884   769   960 E fpc_tac : Enrol took 36 ms (p: 83 q: 54 t: 0 e: 0)
01-11 01:35:32.140   769   960 E fpc_tac : Enrol took 39 ms (p: 84 q: 57 t: 0 e: 0)
01-11 01:35:34.165   769   960 E fpc_tac : Enrol took 42 ms (p: 93 q: 65 t: 0 e: 0)
01-11 01:35:36.278   769   960 E fpc_tac : Enrol took 35 ms (p: 100 q: 56 t: 0 e: 0)
01-11 01:35:37.411   684  1200 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollEnrolling#0] disconnect: not connected (req=1)
01-11 01:35:39.383   684   794 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollFinish#0] disconnect: not connected (req=1)
 
Last edited:
W

William.f

Guest
On Redmi Note 5 Pro, the system doesn't recognize physical SD cards in exFAT format as portable storage.
 

phhusson

Recognized Developer
Jul 23, 2009
2,481
4,782
Paris
Fingerprint authentication is broken in AOSP 9.0 v123 for Huawei P20 Lite ANE-LX3. Previously I was running v117 fine and had no problems setting up "Security & locations -> Fingerprint", now in v123 it fails with fpc_tac_send_cmd failed with retval: -69. Also there's ton of access file(/data/sec_storage_data/log/LOG@*) mode(0) failed: Permission denied errors.
Thanks for the report.
Did you do a factory reset in the meantime, or you hit this issue with a simple upgrade?
 

jwarrior319

Senior Member
Well I couldn't get it working on the aospv10 for safety net so I am trying 9 instead ..it works but still failing basic integrity with no securize option that I can find on the latest...I'm on a20

I find it odd the securize option is missing. I just noticed i dont have it although last time i installed this exact version using the exact same file i downloaded, it was there. ?

Sent from my ONN ONA19TB002 using XDA Labs
 

th3legend

Member
Oct 27, 2017
35
7
I find it odd the securize option is missing. I just noticed i dont have it although last time i installed this exact version using the exact same file i downloaded, it was there. ?

Sent from my ONN ONA19TB002 using XDA Labs

V10 has it but hangs when you select it....v9 doesn't have the options latest versions used for both as of today's date
 

kylek389

Member
Jan 10, 2014
26
3
Thanks for the report.
Did you do a factory reset in the meantime, or you hit this issue with a simple upgrade?
Hello, the AOSP 9.0 v123 that I installed was a clean install (the usual stock EMUI8 restore via dload, factory data reset/wipe + cache wipe, and then fastboot flash system with AOSP 9.0 v123).
 

123_win

Member
Sep 20, 2019
8
2
Syncing r53-r47 failed => solved

Using latest script (build.sh) from github.
Try to compile latest AOSP 9.0 and did get the following errors.


While sync:
============
[...]
warning: redirecting to https://gitlab.com/aosp-security/platform_test_vti_test_serving.git/
fatal: Couldn't find remote ref refs/heads/android-9.0.0_r53-r47
warning: redirecting to https://gitlab.com/aosp-security/platform_test_vti_test_serving.git/
fatal: Couldn't find remote ref refs/heads/android-9.0.0_r53-r47
error: Cannot fetch platform_test_vti_test_serving from https://gitlab.com/aosp-security/platform_test_vti_test_serving
[...]
warning: redirecting to https://gitlab.com/aosp-security/platform_external_x264.git/
fatal: Couldn't find remote ref refs/heads/android-9.0.0_r53-r47
warning: redirecting to https://gitlab.com/aosp-security/platform_external_x264.git/
fatal: Couldn't find remote ref refs/heads/android-9.0.0_r53-r47
error: Cannot fetch platform_external_x264 from https://gitlab.com/aosp-security/platform_external_x264
[...]


While checkout the script aborted:
===================================
platform_external_webview_support_interfacChecking out projects: 53% (361/681) platform_external_wycheprooferror: Cannot checkout platform_external_x264: ManifestInvalidRevisionError: revision refs/heads/android-9.0.0_r53-r47 in platform_external_x264 not found
error: in `sync -c -j 1 --force-sync`: revision refs/heads/android-9.0.0_r53-r47 in platform_external_x264 not found



So i deleted from manifest.xml:
===============================
line 377 <project path="external/x264" name="platform_external_x264" groups="pdk"/>
line 663 <project path="test/vti/test_serving" name="platform_test_vti_test_serving" groups="vts,pdk"/>

Also deleted the corresponding files from project-dir and .repo-dir. After that checkout was successful.

My question: are these projects missing or is the manifest not correct?

P. S. Compiling in progress.


Edit 2:
===============================
Installed missing tools (not listed in wiki):
git lfs
xmlstarlet


Edit 3:
===============================
Compiling failed with missing vti test_serving.
Manually cloned:
git clone http://git.videolan.org/git/x264.git (copy folder to ./external/)
git clone https://android.googlesource.com/platform/test/vti/test_serving (copy folder to ./test/vti/)

Edit 4:
===============================
Used disk space is w/o ccache: ~192GB

After these steps, compiling was successful.

Thanks for your work, neeeded this bluetooth fix :).
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 336
    WARNING: You'll most probably loose ALL your data, and might break your phone. Please use with extreme caution!

    The goal of this ROM is to provide maximum hardware compatibility inside a Generic System Image.
    No feature will be added. This will ease forward porting to new Android versions, which is the very goal of Project Treble :)

    My hope is that other ROM developers will use this ROM as a basis to construct more advanced ROM.

    How to flash:
    Follow instructions available at https://www.xda-developers.com/flash-generic-system-image-project-treble-device/


    What doesn't work:
    - NFC on some devices
    - Front camera on Razer Phone
    - Stock AOSP camera app on some devices. Please use OpenCamera app
    - many graphic glitches on Moto E5

    What works:
    - Pretty much everything else

    Tested devices:
    - Samsung Galaxy S9+ Exynos
    - OnePlus 6
    - Blackview A20
    - Koolnee Rainbow
    - Cubot X18 Plus
    - Pixel 2 XL (running Android 8.1 vendor)
    - Lenovo Moto E5
    - Allview V3 Viper
    - Razer phone
    - Huawei View 10
    - Huawei Mate 9

    This is an experimentation, this means that I'm mostly interested in bugreports.
    But, I don't want too many reports, so please:
    - If you use a community Treble, ASK YOUR TREBLE DEV FIRST (then they can come ask me here)
    - I want bugs only about hardware features, not software bugs
    - A bug without a device name doesn't exist
    - A bug without a log doesn't exist

    Downloads are available at https://github.com/phhusson/treble_experimentations/releases/tag/v119

    ChangeLog:
    v113 (2019-05-07):
    - May security patch
    - various fixes for Xiaomi Mi 9

    v111 (2019-03-06):
    - March Android security patch
    - Fix MT6739 incoming SMS and mobile data connection
    - Fix audio glitches on sakura
    - Added overlay for:
    - Asus Zenfone L1
    - Lenovo S5
    - HTC U12+
    - Fix low brightness issue on Realme 2 Pro (Thanks @SamarV-121)
    - Fix sound on Motorola james, pettyl, evert, jeter, aljeter
    - Fix device will boot only few times on A/B devices running Pie vendor
    - Fix boot on some Moto devices running Pie vendor
    - Refix in-call mute on Huawei devices
    - Disable fingerprint as a key on Xiaomi sakura
    - Fix some graphical glitches on some low-end Snapdragon devices

    v109 (2019-01-08):
    - January security patch
    - Fix RIL on Exynos 7870 devices
    - Possibly fix NFC on some Huawei devices
    - Fix sound on some Lenovo Moto devices
    - Fix flashlight on Huawei Y6 2018
    - Fix backlight on Xperia XZ1
    - Fix audio jack on LG V40
    - Fix quick settings position on "low end" screens
    - Fix notch, auto backlight, ... for various devices

    v108 (2018-12-05):
    - Fix broken UI on Snapdragon 425, 430, 435
    - Fix bootanimation for some Mediatek devices
    - Some fixes for some Samsung devices (J6/A6 and alikes. It's still very unstable)
    - Support IA key on Xiaomi Mi Mix 3
    - Fix fingerprint pressing a button on Xiaomi Mi Mix 3, Xiaomi Mi 8 Lite, Xiaomi Mi A2
    - Fix brightness on Xiaomi Mi 8 Lite, Xiaomi Redmi Note 5, Xiaomi Redmi Note 4X, Xiaomi Mi Max 3,
    - Fix the hide notch option
    - Add a new variant for devices running 32bits Android, but 64bits binder (if the kernel is 64bits, or this is a Pie-originated device)
    - Fix weird/ugly sound on Xiaomi Mi Mix 3
    - Fix boot on some Huawei devices
    - Fix flashlight on Huawei devices
    - Fix boot/instability on Qualcomm Android 8.0 vendors
    - Fix USSD on Huawei devices
    - Fix in-call mute on Huawei devices
    - Support notch on Xiaomi Mi 8 Lite
    - Fix stereo not enabled on reboot on Samsung Galaxy S/Note 9/+
    - Adjust Xiaomi Mi 8SE statusbar and rounded corners
    - Fix OnePlus6 overlay
    - December security patch

    v107 (2018-11-09):
    - If you like this release, you can donate: https://www.paypal.me/phhusson
    - Stereo on Samsung Galaxy S9/Note9 (enable it in the Treble Settings)
    - Improve performance of Pie recent apps on Galaxy S9/Galaxy Note9/Huawei P20 Lite
    - Fix S-Pen rotation on Galaxy Note 9
    - November security patch
    - Fix boot on some Android 8.0 vendors
    - Fix passphrase on Hotspot
    - Fix fingerprint triggering key event on various Xiaomi
    - Fix fingerprint gestures on Huawei
    - Overlays (auto brightness and power profiles) for many devices)

    v105 (2018-09-19):
    - Fix hotspot (for some devices?)
    - Fix NFC for some devices
    - [Samsung] Disable some pre-installed malwares
    - [Samsung] Support glove mode
    - [Samsung] Fix some screen-sleep related issues (like dead touchscreen on suspend, or not working hard click button)
    - [OP6/OP3T] Double tap to wake
    - [Xiaomi] Fix distorted sound
    - [Moto G6] Fix distorted sound
    - gapps variant is back!
    - Fix incall audio on qualcomm P vendor devices
    - Fix boot on some community treble devices
    - [Xiaomi some devices] Disable fingerprint button
    - [Mediatek MT6750] Fix boot/crashing UI
    - [SDM660 8.0] Fix camera
    - [Huawei P20/Pro] Support notch
    - [Redmi 6 Pro Indian edition] Support notch

    v104 (2018-09-05):
    - September security patch
    - [Samsung Galaxy Note 9] Fix WiFi, brightness and fingerprint sensor
    - [Samsung Galaxy S9] Support assistant and partial "home" button on S9
    - Include phh su
    - [Xiaomi Mi 6X] Fix backlight control on
    - [Xiaomi ...] Fix sound on Mi 8 *, Poco,
    - [Xiaomi Mi Mix 2S] Delete fingerprint key event
    - [Treble app] [Huawei] Setting for hwcomposer overlay bypass option to workaround blur issue
    - [Treble app] minor fixes
    - Add support for status bar reduction for notches
    - Fix webview issue when not using gapps
    - Huawei RROs (automatic backlight, battery infos, ...) (Thanks @Dil3mm4)
    - [Known regression of this version] Broke ro.sf.hwrotation (needed for screen rotation on some devices)

    v103 (2018-08-29):
    - New Treble app. Look for it in the Settings
    - Fix incoming calls on MTK
    - Fix MTK RIL vendor 8.0
    - Fix brightness on Mi Pad 4
    - Fix dark mode for some devices
    - Fix brightness for Note 9 and Japanese S9
    - Fix status bar height for Pocophone F1's notch

    v102 (2018-08-22):
    - Fix boot on some MTK devices
    - Fix boot on some Huawei devices
    - Fix boot on some community-ported devices
    - Fix screen rotation on some devices
    - Fix WiFi and fingerprint sensor on various devices
    - Fix S9 dead-touchscreen-on-resume issue
    24
    New release, with many little things, but gapps variant is back, hotspot is fixed for most people and NFC is fixed for some people.
    18
    There new build.
    Should fix WiFi for many people (though probably not everyone, I'd like some reports from Xiaomi Mi A2 users)
    Should fix boot for many people
    (Partially?) fixes S9 dead touchscreen
    15
    Been using it for more than 24hrs on a Razer Phone. Battery seems slightly better than in stock MR1, cameras do work except for the frontal one. Everything else, excluding the exceptions mentioned in OP, works perfectly, snappy and at full 120hz.

    This is some daily driver material :cool: