Backlight notification in MIUI and slowdown - LG Optimus 4X HD

Hello. I install MIUI version 4.1.24 based on Android 4.2.2. Why Lg backlight notification dont working and why this rom have slowdown animations ??
Log from lg notification :
Code:
Thu Jan 30 22:48:43 CET 2014 :: start :: Starting new log
Thu Jan 30 22:48:54 CET 2014 :: debug :: Screen on: false
Thu Jan 30 22:48:54 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_SCREEN_OFF
Thu Jan 30 22:48:54 CET 2014 :: debug :: Unregister sensor MPL accel
Thu Jan 30 22:49:05 CET 2014 :: debug :: Screen on: true
Thu Jan 30 22:49:05 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_SCREEN_ON
Thu Jan 30 22:49:05 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_USER_INTERACTION
Thu Jan 30 22:49:05 CET 2014 :: debug :: pnn: false
Thu Jan 30 22:50:48 CET 2014 :: debug :: Screen on: false
Thu Jan 30 22:50:48 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_SCREEN_OFF
Thu Jan 30 22:50:48 CET 2014 :: debug :: Unregister sensor MPL accel
Thu Jan 30 22:51:08 CET 2014 :: debug :: Screen on: true
Thu Jan 30 22:51:08 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_SCREEN_ON
Thu Jan 30 22:51:21 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_USER_INTERACTION
Thu Jan 30 22:51:21 CET 2014 :: debug :: pnn: false
Thu Jan 30 22:51:52 CET 2014 :: debug :: Screen on: false
Thu Jan 30 22:51:52 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_SCREEN_OFF
Thu Jan 30 22:51:52 CET 2014 :: debug :: Unregister sensor MPL accel
Thu Jan 30 22:51:55 CET 2014 :: debug :: Screen on: true
Thu Jan 30 22:51:55 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_SCREEN_ON
Thu Jan 30 22:52:26 CET 2014 :: debug :: Screen on: false
Thu Jan 30 22:52:26 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_SCREEN_OFF
Thu Jan 30 22:52:26 CET 2014 :: debug :: Unregister sensor MPL accel
Thu Jan 30 22:52:45 CET 2014 :: debug :: Screen on: true
Thu Jan 30 22:52:45 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_SCREEN_ON
Thu Jan 30 22:52:46 CET 2014 :: debug :: onStartCommand() com.martinborjesson.o2xtouchlednotifications.services.MainService.ACTION_USER_INTERACTION
Thu Jan 30 22:52:46 CET 2014 :: debug :: pnn: false

Related

Galaxy Mini S3 "sleeps" and cannot recieve msgs/calls

I have a Samsung S3 mini, which I flashed with Kit Kat Cyanogenmod 11.0 from novafusion.pl
Everything in the installation was OK.
However my phone randomly falls "sleep" and cannot recieve msgs or calls. I have to turned Airplane mode on and off, to give it a "shake" and "wake" it up.
These is a report from Logcat, plus the log from yesterday,
Code:
build.board: montblanc
build.bootloader: unknown
build.brand: samsung
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: golden
build.display: cm_golden-userdebug 4.4.4 KTU84Q d39c1e8ca0 test-keys
build.fingerprint: samsung/cm_golden/golden:4.4.4/KTU84Q/d39c1e8ca0:userdebug/test-keys
build.hardware: samsunggolden
build.host: novafusion.pl
build.id: KTU84Q
build.manufacturer: samsung
build.model: GT-I8190
build.product: cm_golden
build.radio: unknown
build.serial: 47900592d6cb30c0
build.tags: test-keys
build.time: 1436279173000
build.type: userdebug
build.user: root
version.codename: REL
version.incremental: d39c1e8ca0
version.release: 4.4.4
version.sdk_int: 19
I can't attach my full log because I'm new on the forum.
This is the top 30 unique lines processed by me in Bash,
Code:
[email protected]:~/Dropbox# cat 2015-07-28-10-25-50.txt | grep " E/" | cut -d "/" -f 2- | sort | uniq -c | sort -rn | head -n 30
166 Drm ( 1669): Failed to open plugin directory /vendor/lib/mediadrm
144 SpannableStringBuilder( 4288): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
118 ActivityThread( 2565): Failed to find provider info for com.google.android.wearable.settings
87 AuthorizationBluetoothService( 2483): Proximity feature is not enabled.
85 ConnectivityService( 2088): Can't set delayed ACK size:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_use_userconfig: open failed: ENOENT (No such file or directory)
85 ConnectivityService( 2088): Can't set delayed ACK size:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_delack_seg: open failed: ENOENT (No such file or directory)
70 audio_a2dp_hw( 1669): adev_set_parameters: ERROR: set param called even when stream out is null
59 WifiNative-wlan0( 2088): doBoolean: disable
57 WifiNative-wlan0( 2088): doBoolean: enable
49 CallDetails( 2409): list is null in setConfUriList
48 ActivityThread(14438): Failed to find provider info for com.google.android.wearable.settings
31 MDM ( 2388): [64] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
31 BluetoothPhoneService( 2409): Could not get a handle on Connection object for the call
30 MDM ( 2388): [89] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
26 MDM ( 2388): [67] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
25 LocationReceiver( 6879): Received bad location: null
17 ENSWrapper( 1673): return OMX_ErrorNotImplemented - GetExtensionIndex OMX.ST.AFM.pcmprocessing.spl h=0x414b3f80 cParameterName=STE.ADM IndexType=unknown OMX_INDEXTYPE [ 0x4d2efb3e ]
16 SpannableStringBuilder(25691): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
15 YSNP_TAG( 5072): [NetworkHelper] : [thread:1]checkNetworkChange() - no active network!
14 bp ( 2374): onStartInput event aborted: com.touchtype.keyboard.c.ag: could not obtain extracted text (class com.touchtype.keyboard.c.ag)
13 ENSWrapper( 1673): return OMX_ErrorNotImplemented - GetExtensionIndex OMX.ST.AFM.pcmprocessing.spl h=0x411acd98 cParameterName=STE.ADM IndexType=unknown OMX_INDEXTYPE [ 0x4d2efb3e ]
11 ENSWrapper( 1673): return OMX_ErrorNotImplemented - GetExtensionIndex OMX.ST.AFM.pcmprocessing.spl h=0x4161b3a0 cParameterName=STE.ADM IndexType=unknown OMX_INDEXTYPE [ 0x4d2efb3e ]
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x419f8f40
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x416a0f08
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x41490f68
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x412c9f58
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x412c8f48
8 VFM ( 1669): ! getSupportedVideoSettings RETURN_XXX_IF_WRONG, condition=(index<mNbVideoSettingsSupported[nPortIndex]), error=-2147479538(0x8000100e)(OMX_ErrorNoMore) /home/se.infra/jenkins1/workspace/HUDSON_GA_JELLYBEAN_GOLDEN_EUROPEN-PROD-XX/android/vendor/st-ericsson/variant/multimedia/video/vfm/src/VFM_Component.cpp:407
8 VFM ( 1669): ! getSupportedProfileLevel RETURN_XXX_IF_WRONG, condition=(index<mNbProfileLevelSupported), error=-2147479538(0x8000100e)(OMX_ErrorNoMore) /home/se.infra/jenkins1/workspace/HUDSON_GA_JELLYBEAN_GOLDEN_EUROPEN-PROD-XX/android/vendor/st-ericsson/variant/multimedia/video/vfm/src/VFM_Component.cpp:379
8 VFM ( 1669): ! getParameter RETURN_OMX_ERROR_IF_ERROR, condition=pParam->getIndexParamVideoProfileLevelQuerySupported(pt), error=-2147479538(0x8000100e)(_error) /home/se.infra/jenkins1/workspace/HUDSON_GA_JELLYBEAN_GOLDEN_EUROPEN-PROD-XX/android/vendor/st-ericsson/variant/multimedia/video/vfm/src/VFM_Component.cpp:140
any guess?

Where are the jars in XposedInstaller from?

I started digging a little inside https://github.com/rovo89/XposedInstaller source code and would like to know where they are from.
Code:
286987 48 -rw-r--r-- 1 47645 Jan 25 13:46 ./libs/libsuperuser-185868.jar
286985 32 -rw-r--r-- 1 30181 Jan 25 13:46 ./libs/StickyListHeaders-d7f6fc.jar
286986 632 -rw-r--r-- 1 644520 Jan 25 13:46 ./libs/android-support-v13.jar
287177 1160 -rw-r--r-- 1 1184741 Jan 25 13:46 ./tools/signapk.jar
286973 100 -rw-r--r-- 1 98482 Jan 25 13:46 ./assets/XposedBridge.jar
286983 4 -rw-r--r-- 1 3191 Jan 25 13:46 ./lib/AndroidHiddenAPI.jar
Are some jar official google ones and from AOSP? From other rovo89 repositories?

How to spoof/change device on Honor 9 Lite

I'm wondering how to spoof my device to change it to for example, a Samsung Galaxy s8. I have looked at my build.prop but the lines to edit don't seem like the right ones. I'll leave my build.prop text below.
Any help is appreciated.
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=OPR6.170623.010
ro.build.version.incremental=eng.jslave.20180606.111008
ro.build.version.sdk=26
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=8.0.0
ro.build.version.security_patch=2018-06-01
ro.build.version.base_os=
ro.build.date=Wed Jun 6 11:10:08 CST 2018
ro.build.date.utc=1528254608
ro.build.type=user
ro.build.user=jslave
ro.build.host=shajk0012cna
ro.build.tags=test-keys
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.manufacturer=unknown
ro.product.locale=en-US
ro.wifi.channels=
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=generic_a15-user 8.0.0 OPR6.170623.010 eng.jslave.20180606.111008 test-keys
ro.build.fingerprint=Huawei/generic_a15/generic_a15:8.0.0/OPR6.170623.010/jslave06061110:user/test-keys
ro.build.characteristics=default
# end build properties

P20Pro kernel SELinux Permissive

SourceCode:http://download-c1.huawei.com/downl...adId=101178&version=439689&siteCode=worldwide
kernel.img
Code:
HWCLT:/ # cat /proc/version
Linux version 4.9.148 ([email protected]) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Jul 8 22:37:45 CST 2020
HWCLT:/ # getenforce
Enforcing
HWCLT:/ # setenforce 0
HWCLT:/ # getenforce
Permissive

How To Guide How to compile the OmniROM for the ASUS Zenfone 8

How to compile the OmniROM for the ASUS Zenfone 8
Update 14.11.2022 /bs
This HowTo is about how to compile the OmniROM 12 for the ASUS Zenfone 8 -- see How to compile the OmniROM 13 for the ASUS Zenfone 8 for how to compile the OmniROM 13 for the ASUS Zenfone 8.
Correction
There was a spelling error in the name of the command to list all available targets : the command name is breakfast
Compiling the CustomROM OmniROM from within Linux is a very simple and straight forward process -- the developer for the OmniROM did a really amazing good job setting up the build environment for the OmniROM.
But some information are missing in the instructions (at least I did not found them ...)
Therefor I document here what I did to compile the OmniROM for the ASUS Zenfone 8 on my Linux notebook:
First install the neccessary tool called "repo" to maintain the repositories for the OmniROM ; see here https://gerrit.googlesource.com/git-repo/
Next create a new directory on your PC; switch to that directory, and initialize the necessarry repositories like described in the section "Getting Started" here: https://github.com/omnirom/android :
Note [29.07.2022]:
The repositories for the branch android-12.0 are somehow outdated with the security patch level from February 2022 . To get the code with the security patch level from June 2022 use the repositories for the branch android-12.1.
Bash:
repo init -u https://github.com/omnirom/android.git -b android-12.1
# Then to sync up:
repo sync
Be aware that the repositories need about 140 GB disk space so this will take a while.
Please note that I did not install any additional tool to compile the CustomROM for android - everything neccessary was installed by synching the repositories.
When the download is finished you must add the repositories for the vendor and device tree for your phone to the manifests in the local repositories.
This should be done in the file .repo/local_manifests/local_manifest.xml . For the ASUS Zenfone 8 the file should look like this:
Code:
[[email protected] /data/develop/android/OmniROM]$ cat .repo/local_manifests/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="DonkeyCoyote"
fetch="https://github.com/DonkeyCoyote" />
<project path="device/asus/zenfone8" name="android_device_asus_zenfone8" remote="omnirom" revision="android-12.0" />
<project path="vendor/asus" name="proprietary_vendor_asus" remote="DonkeyCoyote" revision="android-12.1" />
</manifest>
After updating the file local_manifest.xml do another
Bash:
repo sync
to sync the added repositories. This time the download will be faster because only the two additional repos will be downloaded.
Now you can start the build with these commands:
Bash:
. build/envsetup.sh
brunch omni_zenfone8-user
in the directory with the downloaded repositories (use the command "breakfast" instead of "brunch" to see other possible targets)
Note that the first time the compile process will take 4 hours or more. And keep in mind that the compile process will need additional 140 GB for the temporary output files.
If everything is fine there will be a ZIP file with your own CustomROM image in the directory ./out/target/product/zenfone8/ when the compile script is done, e.g:
Code:
[[email protected] /data/develop/android/OmniROM]$ ls -ltr out/target/product/zenfone8/omni-12-20220621-zenfone8-HOMEMADE.zip
-rw-rw-r--. 25 xtrnaw7 xtrnaw7 1253703465 Jun 25 10:03 out/target/product/zenfone8/omni-12-20220621-zenfone8-HOMEMADE.zip
[[email protected] /data/develop/android/OmniROM]$
That image can now be installed on the Zenfone 8 using the LineageOS Recovery or TWRP.
Notes
[Update 29.07.2022]
In case you want to rename the directory with the repositories for OminROM:
Be aware that the make scripts for the OmniROM will create some absolute links in the repo directories in ./out. Therefor you must recreate these links after renaming the directory.
How to create an OmniROM image with MicroG
To create an OmniROM image with MicroG these additional steps are neccesarry:
Add the repo with the prebuild MicroG apks, android_prebuilts_prebuiltapks, to your local_manifests.xml file, e.g:
Code:
[[email protected] /data/develop/android/OmniROM]$ cat .repo/local_manifests/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="DonkeyCoyote"
fetch="https://github.com/DonkeyCoyote" />
<project path="device/asus/zenfone8" name="android_device_asus_zenfone8" remote="omnirom" revision="android-12.0" />
<project path="vendor/asus" name="proprietary_vendor_asus" remote="DonkeyCoyote" revision="android-12.1" />
<project path="vendor/microg" name="android_prebuilts_prebuiltapks" remote="omnirom" revision="android-12.0" />
</manifest>
[[email protected] /data/develop/android/OmniROM]$
Do another repo sync to download the repository for MicroG:
Code:
repo sync
and create the CustomROM using these instructions:
Code:
export ROM_BUILDTYPE=MICROG
brunch omni_zenfone8-user
This will create an OmniROM Image with MicroG already installed, e.g:
Code:
[[email protected] /data/develop/android/OmniROM]$ ls -ltr out/target/product/zenfone8/omni-12-20220621-zenfone8-MICROG.zip
-rw-rw-r--. 25 xtrnaw7 xtrnaw7 1253703465 Jun 25 10:03 out/target/product/zenfone8/omni-12-20220621-zenfone8-MICROG.zip
[[email protected] /data/develop/android/OmniROM]$
Update 29.09.2022 /bs
There seems to be a bug or feature in the scripts to compile OmniROM:
Old versions of the ZIP file with the image in the output directory will always be overwritten or replaced with the current image, e.g.:
Code:
[ OmniRomDev - [email protected] /data/develop/android/test ] $ ls -l /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220*zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220728-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220729-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220804-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220809-zenfone8-HOMEMADE.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220810-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220820-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220828-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220904-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220911-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220918-zenfone8-MICROG.zip
-rw-rw-r--. 20 xtrnaw7 xtrnaw7 1256445293 Sep 27 18:12 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220927-zenfone8-MICROG.zip
[ OmniRomDev - [email protected] /data/develop/android/test ] $
[ OmniRomDev - [email protected] /data/develop/android/test ] $ cksum /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220*zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220728-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220729-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220804-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220809-zenfone8-HOMEMADE.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220810-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220820-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220828-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220904-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220911-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220918-zenfone8-MICROG.zip
592627598 1256445293 /data/develop/android/OmniROM/out/target/product/zenfone8/omni-12-20220927-zenfone8-MICROG.zip
[ OmniRomDev - [email protected] /data/develop/android/test ]
Update 03.11.2022 /bs
When compiling aborts with error messages like these
Code:
error: vendor/qcom/opensource/interfaces/wifi/supplicant/aidl/Android.bp:16:23: unrecognized property "versions_with_info"
error: vendor/qcom/opensource/interfaces/bluetooth_audio/aidl/Android.bp:17:23: unrecognized property "versions_with_info"
Do a forced repo sync:
Bash:
repo sync --force-sync
and start the compile process again .

Categories

Resources