[THEME][CM12][CM12.1] Dark WhoAmI v1.2 (20150827) DISCONTINUED - Android Themes

Today, i will share the dark theme called "dark whoami"...Ofcourse this theme have a lot of bugs. so please report the bugs here and give me some suggestions
NB:
*Please forgive me if my theme has expired
**If you got error like can't install or fc please give me LOGCAT
Requirement :
Stock framework cm12/cm12.1
Latest build cm12/cm12.1
Changelog :
v1.0
initial release
v1.1
Improvement material dark
Fixed some background and text
Change some drawables
New font UI
etc
v1.2
Fixed issue can't install, reported by @Enoalife
Fixed QS tile in settings
Fixed music theme (eleven)
Themed sony apps (music, album, video)
Now you can't see material light
etc
Themed apps:
Almost all system apps
Root explorer
Greenify
Xperia Home
soon
Bug :
Greenify
tell me
Installation :
Just install as normal apk
Reboot after update
Enjoy
Screenshots and Download:
See second post​
Credit:
@mikeioannina and @Mardon for cm12.1 build :good:
@nicholaschum for awesome guide and help :good:
@Ambor for xperia themes port :good:
@gamzekal for guide and help :good:
@gianton for awesome font :good:
all users for test and report the issue :good:
Please pm me if i forgot
Simply press thank's button :good:

Screenshots and Download
Screenshots
v1.0
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
v1.1
v1.2
Download
v1.0 Click Here
v1.1 Click Here
v1.2 Click Here

It's failing to install
Sent from my Nexus 6 using XDA Free mobile app

bigstunta101 said:
It's failing to install
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
Give me a logcat...

Nice work:good:

Can't install...temasek build , LG G2.
Envoyé de mon LG-D802 en utilisant Tapatalk

Updated
V1.1 Updated
Changelog :
Improvement material dark
Fixed some background and text
Change some drawables
New font UI
etc
Important note !!!
You must read the first post before download

Failed to install cm-12.1-20150825-NIGHTLY (Nexus 5)
Code:
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
D/Finsky ( 4043): [1] DailyHygiene.goMakeHygieneIfDirty: No need to run daily h
ygiene.
I/ActivityManager( 687): Start proc 4079:com.google.android.gms:car/u0a22 for s
ervice com.google.android.gms/.car.CarService
W/Settings( 4043): Setting download_manager_max_bytes_over_mobile has moved from
android.provider.Settings.Secure to android.provider.Settings.Global.
W/Settings( 4043): Setting download_manager_recommended_max_bytes_over_mobile ha
s moved from android.provider.Settings.Secure to android.provider.Settings.Globa
l.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getCurrentAccount: No account configured on thi
s device.
W/Finsky ( 4043): [1] FinskyApp.getDfeApi: No account configured on this device
.
D/Finsky ( 4043): [1] PackageVerificationReceiver.onReceive: Verification reque
sted, id = 1
D/Finsky ( 4043): [1] WorkerTask.onPreExecute: Verification Requested for id =
1, data=file:///storage/emulated/0/DarkWhoamI_v1.1.apk flags=16 fromVerification
Activity=false
W/ResourcesManager( 4079): Asset path '/system/framework/com.android.media.remot
edisplay.jar' does not exist or contains no resources.
W/ResourcesManager( 4079): Asset path '/system/framework/com.android.location.pr
ovider.jar' does not exist or contains no resources.
I/MultiDex( 4079): VM with version 2.1.0 has multidex support
I/MultiDex( 4079): install
I/MultiDex( 4079): VM has multidex support, MultiDex support library is disabled
.
V/JNIHelp ( 4079): Registering com/google/android/gms/org/conscrypt/NativeCrypto
's 227 native methods...
D/Finsky ( 4043): [1] GmsCoreHelper.cleanupNlp: result=false type=4
D/Finsky ( 4043): [1] RestoreTracker.stopServiceIfDone: Restore complete with 0
success and 0 failed.
I/ProviderInstaller( 4079): Installed default security provider GmsCore_OpenSSL
D/GCM ( 1477): GcmService start Intent { act=com.google.android.gms.INITIALI
ZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmServic
e } com.google.android.gms.INITIALIZE
D/AuthorizationBluetoothService( 1477): Received GmsCore event: Intent { act=com
.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.googl
e.android.gms/.auth.be.proximity.authorization.bt.AuthorizationBluetoothService$
AutoStarter }.
V/GmsCoreStatsServiceLauncher( 1835): Received broadcast intent Intent { act=com
.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.googl
e.android.gms/.common.stats.GmsCoreStatsServiceLauncher }
D/WearableService( 1933): callingUid 10022, callindPid: 1933
E/MDM ( 1413): [144] b.run: Couldn't connect to Google API client: Connectio
nResult{statusCode=API_UNAVAILABLE, resolution=null}
D/LocationInitializer( 1835): Restart initialization of location
I/Timeline( 687): Timeline: Activity_windows_visible id: ActivityRecord{160be2c
1 u0 com.android.packageinstaller/.InstallAppProgress t17} time:386239
V/Finsky ( 4043): [1] GearheadStateMonitor.onReady: sIsProjecting:false
I/qtaguid ( 4043): Failed write_ctrl(u 36) res=-1 errno=22
I/qtaguid ( 4043): Untagging socket 36 failed errno=-22
W/NetworkManagementSocketTagger( 4043): untagSocket(36) failed with errno -22
D/Finsky ( 4043): [1] 1.onResponse: Verification id=1 response=0
D/Finsky ( 4043): [1] PackageVerificationReceiver.onReceive: Verification reque
sted, id = 1
D/DefContainer( 3537): Copying /storage/emulated/0/DarkWhoamI_v1.1.apk to base.a
pk
I/auditd ( 4122): Starting up
E/auditd ( 4122): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 4122): Exiting
D/audio_hw_primary( 197): disable_audio_route: reset and update mixer path: low
-latency-playback
D/audio_hw_primary( 197): disable_snd_device: snd_device(2: speaker)
D/PackageManager( 687): Renaming /data/app/vmdl500165273.tmp to /data/app/com.a
fah_me.dark.whoami-1
V/BackupManagerService( 687): restoreAtInstall pkg=com.afah_me.dark.whoami toke
n=2 restoreSet=0
V/BackupManagerService( 687): Finishing install immediately
W/Settings( 687): Setting install_non_market_apps has moved from android.provid
er.Settings.Global to android.provider.Settings.Secure, returning read-only valu
e.
I/InputReader( 687): Reconfiguring input devices. changes=0x00000020
D/BackupManagerService( 687): Received broadcast Intent { act=android.intent.ac
tion.PACKAGE_ADDED dat=package:com.afah_me.dark.whoami flg=0x4000010 (has extras
) }
W/BackupManagerService( 687): Removing schedule queue dupe of com.afah_me.dark.
whoami
D/installd( 198): aapt source_apk=/data/app/com.afah_me.dark.whoami-1/base.apk
internal_path=assets/icons/ out_restable=/data/resource-cache/com.afah_me.dark.w
hoami/icons uid=50070, pkgId=98, min_sdk_version=21, common_res_path=
D/Documents( 3712): Update found 6 roots in 63ms
E/cutils-trace( 4128): Error opening trace file: No such file or directory (2)
W/ResourcesManager( 1112): Asset path '/system/framework/com.google.android.medi
a.effects.jar' does not exist or contains no resources.
I/Launcher( 1112): Deferring update until onResume
I/art ( 687): Explicit concurrent mark sweep GC freed 122434(6MB) AllocSpac
e objects, 22(7MB) LOS objects, 32% free, 32MB/48MB, paused 79.554ms total 538.9
48ms
I/ActivityManager( 687): Start proc 4135:com.google.android.partnersetup/u0a25
for broadcast com.google.android.partnersetup/.RlzPingBroadcastReceiver
D/ChimeraCfgMgr( 1835): Loading module com.google.android.gms.games from APK com
.google.android.gms
D/ChimeraCfgMgr( 1835): Loading module com.google.android.gms.vision from APK co
m.google.android.gms
D/Vision ( 1835): Received broadcast Intent { act=android.intent.action.PACKAGE
_ADDED dat=package:com.afah_me.dark.whoami flg=0x4000010 cmp=com.google.android.
gms/.vision.DependencyBroadcastReceiverProxy (has extras) }
D/PackageBroadcastService( 1835): Received broadcast action=android.intent.actio
n.PACKAGE_ADDED and uri=com.afah_me.dark.whoami
D/Vision ( 1835): Failed to find package metadata for com.afah_me.dark.whoami
D/Vision ( 1835): No vision deps
I/ConfigService( 1477): onCreate
I/ConfigFetchService( 1835): onStartCommand Intent { act=android.intent.action.P
ACKAGE_ADDED dat=package:com.afah_me.dark.whoami cmp=com.google.android.gms/.con
fig.ConfigFetchService (has extras) }
I/ConfigFetchService( 1835): launchTask
I/ConfigFetchService( 1835): service connected
I/PeopleContactsSync( 1835): CP2 sync disabled
D/ConfigFetchService( 1835): ConfigApi connection successful.
V/ConfigFetchTask( 1835): ConfigFetchTask getDeviceDataVersionInfo(): ABFEt1XZ_s
LyAHRryZH2gS3VcNRc16ABP_sUsHwq2H_XUgOgq3hjuIiFHo9qgYEXHtGccGbpQLSdl4_OLMiSNUnylj
RlzvkqbxN7gpdRqCbNZzpw5jD-Ft8m-R4Pkc4B18LppXEEn7ByASg0oJbY6C6WVdCOCkmy8M79QL3_B9
GOso_g7TJvMZX-7ldsYEdcidxU0V1yjPXk6MdHduN8voL4D5p9qWQ4Y6fNNoPjgHwT1jynGWYzRRQ2B6
U8zb_b8sh_yS23ZLluCg8oRDywR8RXAoFt8f4ugnDwyveIkoH-d5Ixh9W6dUtltQqd0aZVX0ZxSSK4sx
wE8P_1YDAPINSnWKu1WK-sPKsVTGyMTMZ8G6KzHgUkK84
I/UpdateIcingCorporaServi( 2643): Updating corpora: APPS=com.afah_me.dark.whoami
, CONTACTS=MAYBE
I/GoogleURLConnFactory( 1835): Using platform SSLCertificateSocketFactory
I/UpdateIcingCorporaServi( 2643): UpdateCorporaTask done [took 26 ms] updated ap
ps [took 26 ms]
D/installd( 198): aapt source_apk=/data/app/com.afah_me.dark.whoami-1/base.apk
internal_path=assets/overlays/common/ out_restable=/data/resource-cache/com.afah
_me.dark.whoami/common uid=50070, pkgId=95, min_sdk_version=21, common_res_path=
E/cutils-trace( 4167): Error opening trace file: No such file or directory (2)
D/installd( 198): aapt source_apk=/data/app/com.afah_me.dark.whoami-1/base.apk
internal_path=assets/overlays/com.android.cellbroadcastreceiver/ out_restable=/d
ata/resource-cache/com.afah_me.dark.whoami/com.android.cellbroadcastreceiver uid
=50070, pkgId=97, min_sdk_version=21, common_res_path=/data/resource-cache/com.a
fah_me.dark.whoami/common/resources.apk
E/cutils-trace( 4168): Error opening trace file: No such file or directory (2)
D/installd( 198): idmap target_apk=/system/priv-app/CellBroadcastReceiver/CellB
roadcastReceiver.apk overlay_apk=/data/app/com.afah_me.dark.whoami-1/base.apk ca
che_path=/data/resource-cache/com.afah_me.dark.whoami/com.android.cellbroadcastr
eceiver uid=50005
I/ConfigFetchService( 1835): fetch service done; releasing wakelock
I/ConfigFetchService( 1835): stopping self
D/installd( 198): aapt source_apk=/data/app/com.afah_me.dark.whoami-1/base.apk
internal_path=assets/overlays/com.android.gallery3d/ out_restable=/data/resource
-cache/com.afah_me.dark.whoami/com.android.gallery3d uid=50070, pkgId=97, min_sd
k_version=21, common_res_path=/data/resource-cache/com.afah_me.dark.whoami/commo
n/resources.apk
E/cutils-trace( 4170): Error opening trace file: No such file or directory (2)
D/installd( 198): idmap target_apk=/system/app/Gallery2/Gallery2.apk overlay_ap
k=/data/app/com.afah_me.dark.whoami-1/base.apk cache_path=/data/resource-cache/c
om.afah_me.dark.whoami/com.android.gallery3d uid=50044
D/installd( 198): aapt source_apk=/data/app/com.afah_me.dark.whoami-1/base.apk
internal_path=assets/overlays/com.android.calendar/ out_restable=/data/resource-
cache/com.afah_me.dark.whoami/com.android.calendar uid=50070, pkgId=97, min_sdk_
version=21, common_res_path=/data/resource-cache/com.afah_me.dark.whoami/common/
resources.apk
E/cutils-trace( 4172): Error opening trace file: No such file or directory (2)
E/InstallTheme( 198): Failed to generate resource table for split ''
E/InstallTheme( 198): assets/overlays/com.android.calendar/res/values/drawables
.xml:4: error: Error: Resource is not public. (at 'list_primary_holo' with value
'@android:color/background_material_dark').
E/InstallTheme( 198):
E/installd( 198): aapt failed, status=0x0100
E/PackageManager( 687): Unable to process theme, uninstalling com.afah_me.dark.
whoami
E/PackageManager( 687): com.android.server.pm.PackageManagerService$AaptExcepti
on: Failed to run aapt
E/PackageManager( 687): at com.android.server.pm.PackageManagerService.c
ompileResourcesWithAapt(PackageManagerService.java:7071)
E/PackageManager( 687): at com.android.server.pm.PackageManagerService.c
ompileResources(PackageManagerService.java:6987)
E/PackageManager( 687): at com.android.server.pm.PackageManagerService.c
ompileResourcesIfNeeded(PackageManagerService.java:6976)
E/PackageManager( 687): at com.android.server.pm.PackageManagerService.c
ompileResourcesAndIdmapIfNeeded(PackageManagerService.java:6959)
E/PackageManager( 687): at com.android.server.pm.PackageManagerService.p
rocessThemeResources(PackageManagerService.java:14691)
E/PackageManager( 687): at android.app.ApplicationPackageManager.process
ThemeResources(ApplicationPackageManager.java:1859)
E/PackageManager( 687): at com.android.server.ThemeService$ResourceProce
ssingHandler.handleMessage(ThemeService.java:197)
E/PackageManager( 687): at android.os.Handler.dispatchMessage(Handler.ja
va:102)
E/PackageManager( 687): at android.os.Looper.loop(Looper.java:135)
E/PackageManager( 687): at android.os.HandlerThread.run(HandlerThread.ja
va:61)
I/ActivityManager( 687): Force stopping com.afah_me.dark.whoami appid=10070 use
r=-1: uninstall pkg
I/ActivityManager( 687): Force stopping com.afah_me.dark.whoami appid=10070 use
r=0: pkg removed
W/GeofencerStateMachine( 1413): Ignoring removeGeofence because network location
is disabled.
D/BackupManagerService( 687): Received broadcast Intent { act=android.intent.ac
tion.PACKAGE_REMOVED dat=package:com.afah_me.dark.whoami flg=0x4000010 (has extr
as) }
D/JobSchedulerService( 687): Receieved: android.intent.action.PACKAGE_REMOVED
I/InputReader( 687): Reconfiguring input devices. changes=0x00000020
I/art ( 3586): Explicit concurrent mark sweep GC freed 1563(112KB) AllocSpac
e objects, 0(0B) LOS objects, 24% free, 16MB/21MB, paused 212us total 18.477ms
I/Launcher( 1112): Deferring update until onResume
I/LatinIME:LogUtils( 965): Dictionary info: dictionary = ? ; version = 26 ; dat
e = 1351062238
D/Documents( 3712): Update found 6 roots in 48ms
D/VoicemailCleanupService( 2555): Cleaning up data for package: com.afah_me.dark
.whoami
I/Launcher( 1112): Deferring update until onResume
W/Launcher( 1112): setApplicationContext called twice! old=com.android.launcher3
[email protected] [email protected]
0c07
E/NetworkScheduler.SchedulerReceiver( 1477): Invalid parameter app
E/NetworkScheduler.SchedulerReceiver( 1477): Invalid package name : Perhaps you
didn't include a PendingIntent in the extras?
D/PackageBroadcastService( 1835): Received broadcast action=android.intent.actio
n.PACKAGE_REMOVED and uri=com.afah_me.dark.whoami
D/ChimeraCfgMgr( 1835): Loading module com.google.android.gms.games from APK com
.google.android.gms
D/AccountUtils( 1835): Clearing selected account for com.afah_me.dark.whoami
I/LocationSettingsChecker( 1835): Removing dialog suppression flag for package c
om.afah_me.dark.whoami
I/ConfigFetchService( 1835): onStartCommand Intent { act=android.intent.action.P
ACKAGE_REMOVED dat=package:com.afah_me.dark.whoami cmp=com.google.android.gms/.c
onfig.ConfigFetchService (has extras) }
D/GOOGLEHELP_CompatibleDatabase( 1835): Open SQLiteDatabase: /data/data/com.goog
le.android.gms/databases/metrics.db, release reference: 1
D/GOOGLEHELP_CompatibleDatabase( 1835): Acquire reference of SQLiteDatabase: /da
ta/data/com.google.android.gms/databases/metrics.db: 2
D/gH_MetricsDatabase( 1835): 0 metrics were deleted when clearing package com.af
ah_me.dark.whoami.
D/GOOGLEHELP_CompatibleDatabase( 1835): Release reference of SQLiteDatabase: /da
ta/data/com.google.android.gms/databases/metrics.db: 1
I/ConfigFetchService( 1835): service connected
I/PeopleContactsSync( 1835): CP2 sync disabled
D/GOOGLEHELP_CompatibleDatabase( 1835): Open SQLiteDatabase: /data/data/com.goog
le.android.gms/databases/help_responses.db, release reference: 1
D/GOOGLEHELP_CompatibleDatabase( 1835): Acquire reference of SQLiteDatabase: /da
ta/data/com.google.android.gms/databases/help_responses.db: 2
D/GOOGLEHELP_CompatibleDatabase( 1835): Release reference of SQLiteDatabase: /da
ta/data/com.google.android.gms/databases/help_responses.db: 1
D/GOOGLEHELP_CompatibleDatabase( 1835): Open SQLiteDatabase: /data/data/com.goog
le.android.gms/databases/auto_complete_suggestions.db, release reference: 1
D/GOOGLEHELP_CompatibleDatabase( 1835): Acquire reference of SQLiteDatabase: /da
ta/data/com.google.android.gms/databases/auto_complete_suggestions.db: 2
D/GOOGLEHELP_CompatibleDatabase( 1835): Release reference of SQLiteDatabase: /da
ta/data/com.google.android.gms/databases/auto_complete_suggestions.db: 1
D/GOOGLEHELP_CompatibleDatabase( 1835): Close SQLiteDatabase: /data/data/com.goo
gle.android.gms/databases/metrics.db, release reference: 0
D/GOOGLEHELP_CompatibleDatabase( 1835): Close SQLiteDatabase: /data/data/com.goo
gle.android.gms/databases/help_responses.db, release reference: 0
D/GOOGLEHELP_CompatibleDatabase( 1835): Close SQLiteDatabase: /data/data/com.goo
gle.android.gms/databases/auto_complete_suggestions.db, release reference: 0
I/Icing ( 1835): doRemovePackageData com.afah_me.dark.whoami
W/ContextImpl( 3686): Calling a method in the system process without a qualified
user: android.app.ContextImpl.startService:1721 android.content.ContextWrapper.
startService:522 android.content.ContextWrapper.startService:522 com.android.key
chain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleRe
ceiver:2641
I/UpdateIcingCorporaServi( 2643): Updating corpora: APPS=com.afah_me.dark.whoami
, CONTACTS=MAYBE
I/UpdateIcingCorporaServi( 2643): UpdateCorporaTask done [took 21 ms] updated ap
ps [took 21 ms]
I/art ( 687): Explicit concurrent mark sweep GC freed 17743(1297KB) AllocSp
ace objects, 14(5MB) LOS objects, 33% free, 27MB/41MB, paused 1.428ms total 173.
967ms
W/PackageManager( 687): Couldn't remove dex file for package: at location /dat
a/app/com.afah_me.dark.whoami-1/base.apk, retcode=-1
E/org.cyanogenmod.themes.provider.AppReceiver( 3586): Unable to update theme com
.afah_me.dark.whoami, result=-400
I/ActivityManager( 687): Killing 3733:com.android.externalstorage/u0a10 (adj 15
): empty #17
V/ActivityManager( 687): killProcessGroupAsync took 41 ms for PID 3733 on threa
d 17
I/auditd ( 4200): Starting up
E/auditd ( 4200): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 4200): Exiting
I/ConfigService( 1477): onDestroy
I/auditd ( 4202): Starting up
E/auditd ( 4202): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 4202): Exiting
^C
E:\Nexus5\Stock>

Fast Update
Changelog:
v1.2
Fixed issue can't install by @Enoalife
Fixed QS tile in settings
Fixed music theme (eleven)
Themed sony apps (music, album, video)
Now you can't see material light
etc
NB:
If not themed all please reboot or soft reboot
If still failed to install please give me logcat

Related

[Q] Nexus One - Blank screen

I am having very strange issues with my Nexus One. It seems to be having issues with later versions of Kernel and recoveries!! I have tried flashing almost all the custom ROM's and it ends up with a blank screen. Nothing gets displayed. But the touchscreen and phone itself works. Because I can get calls and I can see everything using android screencast program on my desktop.
To resolve the issue, I always flash 2.6.35.4_SVS-925mV_CFS_AXI_720p_1113MHz_082710 on top of any ROM I install. This has been the case with every ROM. Trust me, I have tried almost every ROM out there! I was running adb shell bugreport and found the below error (highlighted in bold). Is this what is causing the problem? Any ideas how to resolve it?
11-17 11:38:40.267 I/SurfaceFlinger( 174): SurfaceFlinger is starting
11-17 11:38:40.267 I/SurfaceFlinger( 174): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
11-17 11:38:40.277 I/qsd8k.gralloc( 174): using (fd=29)
11-17 11:38:40.277 I/qsd8k.gralloc( 174): id = msmfb
11-17 11:38:40.277 I/qsd8k.gralloc( 174): xres = 480 px
11-17 11:38:40.277 I/qsd8k.gralloc( 174): yres = 800 px
11-17 11:38:40.277 I/qsd8k.gralloc( 174): xres_virtual = 480 px
11-17 11:38:40.277 I/qsd8k.gralloc( 174): yres_virtual = 1600 px
11-17 11:38:40.277 I/qsd8k.gralloc( 174): bpp = 32
11-17 11:38:40.277 I/qsd8k.gralloc( 174): r = 0:8
11-17 11:38:40.277 I/qsd8k.gralloc( 174): g = 8:8
11-17 11:38:40.277 I/qsd8k.gralloc( 174): b = 16:8
11-17 11:38:40.277 I/qsd8k.gralloc( 174): width = 48 mm (254.000000 dpi)
11-17 11:38:40.277 I/qsd8k.gralloc( 174): height = 80 mm (254.000000 dpi)
11-17 11:38:40.277 I/qsd8k.gralloc( 174): refresh rate = 60.00 Hz
11-17 11:38:40.297 D/libEGL ( 174): loaded /system/lib/egl/libGLES_android.so
11-17 11:38:40.347 D/libEGL ( 174): loaded /system/lib/egl/libEGL_adreno200.so
11-17 11:38:40.457 D/libEGL ( 174): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
11-17 11:38:40.467 D/libEGL ( 174): loaded /system/lib/egl/libGLESv2_adreno200.so
11-17 11:38:40.627 E/libEGL ( 174): eglSetSwapRectangleANDROID:1909 error 3008 (EGL_BAD_DISPLAY)
11-17 11:38:40.627 I/SurfaceFlinger( 174): EGL informations:
11-17 11:38:40.627 I/SurfaceFlinger( 174): # of configs : 53
11-17 11:38:40.627 I/SurfaceFlinger( 174): vendor : Android
11-17 11:38:40.627 I/SurfaceFlinger( 174): version : 1.4 Android META-EGL
11-17 11:38:40.627 I/SurfaceFlinger( 174): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
11-17 11:38:40.627 I/SurfaceFlinger( 174): Client API: OpenGL ES
11-17 11:38:40.627 I/SurfaceFlinger( 174): EGLSurface: 8-8-8-8, config=0x9
11-17 11:38:40.627 I/SurfaceFlinger( 174): OpenGL informations:
11-17 11:38:40.627 I/SurfaceFlinger( 174): vendor : Qualcomm
11-17 11:38:40.627 I/SurfaceFlinger( 174): renderer : Adreno 200
11-17 11:38:40.627 I/SurfaceFlinger( 174): version : OpenGL ES-CM 1.1
11-17 11:38:40.627 I/SurfaceFlinger( 174): extensions: GL_AMD_compressed_3DC_texture GL_AMD_compressed_ATC_texture GL_OES_EGL_image GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat
11-17 11:38:40.627 I/SurfaceFlinger( 174): GL_MAX_TEXTURE_SIZE = 4096
11-17 11:38:40.627 I/SurfaceFlinger( 174): GL_MAX_VIEWPORT_DIMS = 4096
11-17 11:38:40.627 I/SurfaceFlinger( 174): flags = 00000000
May not be the issue but I had some blank screen problems first time I rooted my N1 because I has accidentally flashed an AMOLED only recovery image on my SLCD N1.
Unlikely to be the fault as you sound like you know what you're doing but just in case I thought I'd tell you.
I saw this on another thread somewhere on the forum, someone who had the same problem as you. Now it's not to discourage you but I don't remember finding a solution :/ now that doesn't mean we can't try but unfortunately since you've tried a lot of ROMs the only thing I can think of other than a radio flash would be to try passimg to get back to stock.
Dude Random21 said:
I saw this on another thread somewhere on the forum, someone who had the same problem as you. Now it's not to discourage you but I don't remember finding a solution :/ now that doesn't mean we can't try but unfortunately since you've tried a lot of ROMs the only thing I can think of other than a radio flash would be to try passimg to get back to stock.
Click to expand...
Click to collapse
Probably it was me!!! I tried installing Gingerbread ROM some time back. It ended up with the same problem. I have been thinking if its really a hardware issue and just use whatever works..

[Solved] Problem while running the app

Hello everybody, I'm having a problem developing an application (a launcher) with android studio.
Log:
01-31 15:26:27.744 22983-22983/joe2k01.launcher E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NullPointerException
at joe2k01.launcher.DrawerLongClickListener.onItemLongClick(DrawerLongClickListener.java:36)
at android.widget.AbsListView.performLongPress(AbsListView.java:2878)
at android.widget.AbsListView$CheckForLongPress.run(AbsListView.java:2828)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5336)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
01-31 15:26:27.986 22983-22989/joe2k01.launcher D/jdwp: processIncoming
01-31 15:26:27.986 22983-22989/joe2k01.launcher D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40002CA3, flags=0x0, dataLen=0x9
01-31 15:26:27.986 22983-22989/joe2k01.launcher D/jdwp: sendBufferedRequest : len=0x34
Click to expand...
Click to collapse
Code :
package joe2k01.launcher;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.SlidingDrawer;
import android.widget.TextView;
public class DrawerLongClickListener implements AdapterView.OnItemLongClickListener
{
SlidingDrawer drawerForAdapteer;
RelativeLayout homeViewForAdapter;
Context mContext;
public DrawerLongClickListener(Context ctxt, SlidingDrawer slidingDrawer, RelativeLayout homeView)
{
mContext = ctxt;
drawerForAdapteer = slidingDrawer;
homeViewForAdapter = homeView;
}
@override
public boolean onItemLongClick(AdapterView arg0, View item, int arg2, long arg3)
{
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(item.getWidth(), item.getHeight());
lp.leftMargin = (int) item.getX();
lp.topMargin = (int) item.getY();
LayoutInflater li = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
LinearLayout ll = (LinearLayout) li.inflate(R.layout.drawer_layout, null);
((ImageView)ll.findViewById(R.id.icon_image)).setImageDrawable(((ImageView) item.findViewById(R.id.icon_image)).getDrawable());
((TextView)ll.findViewById(R.id.icon_text)).setText(((TextView) item.findViewById(R.id.icon_text)).getText());
homeViewForAdapter.addView(ll, lp);
drawerForAdapteer.animateClose();
return false;
}
}
Click to expand...
Click to collapse
I'm tryng the app on my phone that runs android 4.2.1.
Can anyone help me? :silly:
Anyone can help me?
NullPointerException indicates that one of objects that you're using has null value. You can set breakpoint at the line on which this exceptions happens and inspect values of your objects. To do that, you should run application in Debug mode (a button next to Run).
Ok man, I' ll try later
Thank you, I fixed it. :good: :highfive:
Correct. A object has not yet create but you already call some method of it, system return null pointer
I've already solved the problem

Internet permission denied within com.android.systemui context

Hello,
I'm fairly new to using Xposed. I've used it a couple of times to solve some Android CTF challenges, where its ability to hook into an app is a real benefit.
But now I'm trying to understand it a little bit better. As a simple toy project, I'm considering using Xposed to implement a sort of periodic update for Xposed modules. It's not exactly the most useful mod, but it helps me get a better understanding of the framework.
Based on the development tutorial, I thought I could just implement a naive cron.d over the updateClock() method and fire off an AsyncTask to handle
communication to an external server (a package repo if you will). So far, my code goes like this:
Code:
package com.example.red;
import android.app.AndroidAppHelper;
import android.app.Application;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import de.robv.android.xposed.IXposedHookLoadPackage;
import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XposedBridge;
import de.robv.android.xposed.callbacks.XC_LoadPackage;
import static de.robv.android.xposed.XposedHelpers.findAndHookMethod;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Calendar;
class UpdateModulesTask extends AsyncTask<Void, Void, Void> {
protected Void doInBackground(Void... voids) {
XposedBridge.log("Updating modules");
try {
Application app = AndroidAppHelper.currentApplication();
Context ctx = app.getApplicationContext();
int res = ctx.checkCallingOrSelfPermission(android.Manifest.permission.INTERNET);
if (res == PackageManager.PERMISSION_DENIED)
XposedBridge.log("No internet");
else
XposedBridge.log("Internet granted");
URL url = new URL("<MY URL>");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("POST");
conn.setDoOutput(true);
DataOutputStream out = new DataOutputStream(conn.getOutputStream());
out.writeBytes("key=value");
out.flush();
out.close();
int rcode = conn.getResponseCode();
XposedBridge.log("Return code " + String.valueOf(rcode));
if (rcode == 200) {
BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line = "";
StringBuilder response = new StringBuilder();
while ((line = in.readLine()) != null) {
response.append(line);
}
in.close();
XposedBridge.log(response.toString());
}
} catch (Exception e) {
XposedBridge.log(e.getMessage());
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
XposedBridge.log(sw.toString());
}
return null;
}
}
public class Main implements IXposedHookLoadPackage {
public void handleLoadPackage(final XC_LoadPackage.LoadPackageParam lpparam) throws Throwable {
XposedBridge.log(lpparam.packageName);
if (lpparam.packageName.equals("com.android.systemui")) {
findAndHookMethod("com.android.systemui.statusbar.policy.Clock", lpparam.classLoader, "updateClock", new XC_MethodHook() {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
Calendar now = Calendar.getInstance();
int hour = now.get(Calendar.HOUR_OF_DAY);
XposedBridge.log("Hour is: " + String.valueOf(hour));
if (hour == 11) {
int minute = now.get(Calendar.MINUTE);
XposedBridge.log("Minute is: " + String.valueOf(minute));
if (minute % 2 == 0) { // update modules
new UpdateModulesTask().execute();
}
}
}
});
}
}
}
What Xposed logs, instead, goes like this:
Code:
I/Xposed ( 3574): Hour is: 11
I/Xposed ( 3574): Minute is: 50
I/Xposed ( 3574): Updating modules
I/Xposed ( 3574): Internet granted
I/Xposed ( 3574): Permission denied (missing INTERNET permission?)
I/Xposed ( 3574): java.lang.SecurityException: Permission denied (missing INTERNET permission?)
I/Xposed ( 3574): at java.net.InetAddress.lookupHostByName(InetAddress.java:451)
I/Xposed ( 3574): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
I/Xposed ( 3574): at java.net.InetAddress.getAllByName(InetAddress.java:215)
I/Xposed ( 3574): at com.android.okhttp.HostResolver$1.getAllByName(HostResolver.java:29)
I/Xposed ( 3574): at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:232)
I/Xposed ( 3574): at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:124)
I/Xposed ( 3574): at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:272)
I/Xposed ( 3574): at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211)
I/Xposed ( 3574): at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:373)
I/Xposed ( 3574): at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106)
I/Xposed ( 3574): at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:208)
I/Xposed ( 3574): at com.example.red.UpdateModulesTask.doInBackground(Main.java:41)
I/Xposed ( 3574): at com.example.red.UpdateModulesTask.doInBackground(Main.java:26)
I/Xposed ( 3574): at android.os.AsyncTask$2.call(AsyncTask.java:288)
I/Xposed ( 3574): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
I/Xposed ( 3574): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
I/Xposed ( 3574): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
I/Xposed ( 3574): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
I/Xposed ( 3574): at java.lang.Thread.run(Thread.java:818)
I/Xposed ( 3574): Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
I/Xposed ( 3574): at libcore.io.Posix.android_getaddrinfo(Native Method)
I/Xposed ( 3574): at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
I/Xposed ( 3574): at java.net.InetAddress.lookupHostByName(InetAddress.java:438)
I/Xposed ( 3574): ... 18 more
I/Xposed ( 3574): Caused by: android.system.ErrnoException: android_getaddrinfo failed: EACCES (Permission denied)
I/Xposed ( 3574): ... 21 more
So, from what I understand, com.android.systemui should have the "android.permission.INTERNET" permission, which is also what the "Internet granted" message in the logcat output indicates. I also checked for SELinux violations and it doesn't seem to be the case.
What I'd like to understand is why my hook, called from the context of com.android.systemui (which hold the Internet permission), checks to see if it has the Internet permission (and it does) and then receives a permission denied error when actually attempting make the connection, despite the fact that there is no intervention from SELinux. Am I missing something obvious with regards to the way Xposed works?
Don't know on which Android version you test this but by simply looking at SystemUI manifest of Android 6.0.1
you can clearly see there is no INTERNET permission.
Your "if" statement is confusing you. You should rather use:
Code:
if (res == PackageManager.PERMISSION_GRANTED)
XposedBridge.log("Internet granted");
else
XposedBridge.log("No internet");
Thanks for the reply, C3C076!
Sorry for not mentioning the Android version. I'm running Android 5.0.0 build LRX21T on a Nexus 4, if that is of any use.
I've looked through the manifest for 5.0.0 and indeed, there seems to be no reference to the Internet permission. So I've looked around for some means to grant that permission, and came up with:
Code:
if (lpparam.packageName.equals("android")) {
final Class<?> pmServiceClass = XposedHelpers.findClass("com.android.server.pm.PackageManagerService", lpparam.classLoader);
findAndHookMethod(pmServiceClass, "grantPermissionsLPw", "android.content.pm.PackageParser.Package", boolean.class, String.class, new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
final String pkgname = (String) XposedHelpers.getObjectField(param.args[0], "packageName");
XposedBridge.log("Called for package: " + pkgname);
if (pkgname.equals("com.android.systemui")) {
Object extras = XposedHelpers.getObjectField(param.args[0], "mExtras");
Object sharedUser = XposedHelpers.getObjectField(extras, "sharedUser");
Set<String> grantedPerms = (Set<String>) XposedHelpers.getObjectField(sharedUser != null ? sharedUser :extras, "grantedPermissions");
Object settings = XposedHelpers.getObjectField(param.thisObject, "mSettings");
Object permissions = XposedHelpers.getObjectField(settings, "mPermissions");
XposedBridge.log(grantedPerms.toString());
if (!grantedPerms.contains("android.permission.INTERNET")) {
final Object pInet = XposedHelpers.callMethod(permissions, "get", "android.permission.INTERNET");
grantedPerms.add("android.permission.INTERNET");
int[] gpGids = (int[]) XposedHelpers.getObjectField(sharedUser != null ? sharedUser : extras, "gids");
int[] bpGids = (int[]) XposedHelpers.getObjectField(pInet, "gids");
XposedBridge.log("Extended GIDs with: " + bpGids.toString());
XposedHelpers.callStaticMethod(param.thisObject.getClass(), "appendInts", gpGids, bpGids);
}
}
}
});
XposedBridge.log("Granted extra permission.");
}
The funny thing is that android.permission.INTERNET did not have to be added. It was already in the list of granted permissions.
Code:
I/Xposed ( 6218): Called for package: com.android.systemui
I/Xposed ( 6218): [android.permission.SYSTEM_ALERT_WINDOW,
android.permission.GET_APP_OPS_STATS,
android.permission.REMOVE_TASKS,
android.permission.STATUS_BAR_SERVICE,
android.permission.CHANGE_WIFI_STATE,
android.permission.GET_ACCOUNTS,
android.permission.CAMERA,
android.permission.ACCESS_ALL_EXTERNAL_STORAGE,
android.permission.MEDIA_CONTENT_CONTROL,
android.permission.WRITE_DREAM_STATE,
android.permission.REMOTE_AUDIO_PLAYBACK,
android.permission.STOP_APP_SWITCHES,
android.permission.MANAGE_ACCOUNTS,
android.permission.BLUETOOTH_ADMIN,
android.permission.ACCESS_NETWORK_STATE,
com.android.alarm.permission.SET_ALARM,
android.permission.MANAGE_MEDIA_PROJECTION,
android.permission.DEVICE_POWER,
android.permission.START_TASKS_FROM_RECENTS,
android.permission.START_ANY_ACTIVITY,
android.permission.READ_PROFILE,
android.permission.WRITE_SECURE_SETTINGS,
android.permission.CHANGE_NETWORK_STATE,
android.permission.BIND_APPWIDGET,
android.permission.GET_DETAILED_TASKS,
android.permission.DUMP,
android.permission.MANAGE_APP_TOKENS,
android.permission.READ_EXTERNAL_STORAGE,
android.permission.SET_SCREEN_COMPATIBILITY,
android.permission.CONTROL_KEYGUARD,
android.permission.EXPAND_STATUS_BAR,
android.permission.DISABLE_KEYGUARD,
android.permission.READ_PHONE_STATE,
android.permission.MANAGE_USB,
android.permission.INTERACT_ACROSS_USERS,
android.permission.INTERNAL_SYSTEM_WINDOW,
android.permission.MODIFY_PHONE_STATE,
android.permission.READ_CONTACTS,
android.permission.ACCESS_KEYGUARD_SECURE_STORAGE,
android.permission.WAKE_LOCK,
android.permission.INTERACT_ACROSS_USERS_FULL,
android.permission.MASTER_CLEAR,
android.permission.READ_FRAME_BUFFER,
android.permission.REAL_GET_TASKS,
android.permission.GET_TOP_ACTIVITY_INFO,
android.permission.SET_ORIENTATION,
android.permission.INJECT_EVENTS,
android.permission.CONFIGURE_WIFI_DISPLAY,
android.permission.READ_DREAM_STATE,
android.permission.VIBRATE,
android.permission.CHANGE_COMPONENT_ENABLED_STATE,
android.permission.INTERNET,
android.permission.REORDER_TASKS,
android.permission.WRITE_SETTINGS,
android.permission.STATUS_BAR,
android.permission.MOUNT_UNMOUNT_FILESYSTEMS,
android.permission.WRITE_EXTERNAL_STORAGE,
android.permission.READ_NETWORK_USAGE_HISTORY,
android.permission.MANAGE_ACTIVITY_STACKS,
android.permission.MANAGE_USERS,
android.permission.CONNECTIVITY_INTERNAL,
android.permission.MANAGE_NETWORK_POLICY,
android.permission.TRUST_LISTENER,
android.permission.BLUETOOTH,
android.permission.RECEIVE_BOOT_COMPLETED,
android.permission.BIND_DEVICE_ADMIN,
android.permission.ACCESS_WIFI_STATE]
I'm not sure what to make of this difference between AOSP and my device. The only modifications I've made are installing TWRP, SuperSU, and Xposed. To my knowledge, none modify permissions by default. But then again, I could be wrong.
I'm curious whether you have any idea about this, C3C076.
Or anyone else for that matter ...
Did you take a look at the permission list before you were testing code for adding permission or after?
Because if you previously added permission during code testing then it will be there cached in the system.

App craches on AlertDialog .show()

Hello there!
I'm building an app but whenever it comes to the AlertDialog .show() it chrashes. I've reserached but couldn't find any solution.
Most of them were got their problem fixed by changing Context on
AlertDialog.Builder example = new AlertDialog.Builder(Context)
to
AlertDialog.Builder example = new AlertDialog.Builder(MyActivity.this);
But that's not my case, I've beeing using MyActivity.this all long and still crashes.
Here's my code:
ublic class MainActivity extends AppCompatActivity {
Button btMudaTela;
final Funcoes funcao = new Funcoes();
@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button btMudaTela = (Button) findViewById(R.id.btMudaTela);
//Ao clicar no botão outra activity será aberta (ActivityCadastro)
btMudaTela.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View v) {
AlertDialog.Builder adb = new AlertDialog.Builder(MainActivity.this);
adb.setTitle("teste");
adb.setMessage("ok");
adb.show();
funcao.mudaActivity(MainActivity.this, ActivityCadastro.class);
finish();
}
});
}
}
And here's my Logcat:
06-23 07:41:42.113 3303 3303 E AndroidRuntime: Process: com.example.teste.projetofinal, PID: 3303
06-23 07:41:42.113 3303 3303 E AndroidRuntime: at com.example.teste.projetofinal.MainActivity$1.onClick(MainActivity.java:46)
06-23 07:41:42.123 954 1367 W ActivityManager: Force finishing activity com.example.teste.projetofinal/.MainActivity
06-23 07:41:43.334 954 1602 I ActivityManager: Process com.example.teste.projetofinal (pid 3303) (adj 9) has died.
06-23 07:41:43.334 954 1454 I WindowState: WIN DEATH: Window{444ca450 u0 com.example.teste.projetofinal/com.example.teste.projetofinal.MainActivity}
06-23 07:50:39.406 6806 6806 W InstallAppProgress: Replacing package:com.example.teste.projetofinal
06-23 07:50:42.219 5389 5389 I Finsky : [1] com.google.android.finsky.verifier.impl.br.c(104): Verification complete: id=0, package_name=com.example.teste.projetofinal
06-23 07:50:42.960 954 1046 I PackageManager: Package com.example.teste.projetofinal codePath changed from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk; Retaining data and using new
06-23 07:50:43.921 954 1046 W PackageManager: Code path for pkg : com.example.teste.projetofinal changing from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk
06-23 07:50:43.921 954 1046 W PackageManager: Resource path for pkg : com.example.teste.projetofinal changing from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk
06-23 07:50:45.592 954 1036 I CrashAnrDetector: onPackageUpdateFinished : com.example.teste.projetofinal
06-23 07:50:46.073 6987 6987 E dalvikvm: >>>>> com.example.teste.projetofinal [ userId:0 | appId:10200 ]
06-23 07:50:47.444 6987 6987 E AndroidRuntime: Process: com.example.teste.projetofinal, PID: 6987
06-23 07:50:47.444 6987 6987 E AndroidRuntime: at com.example.teste.projetofinal.MainActivity$1.onClick(MainActivity.java:40)
06-23 07:50:47.444 954 1602 W ActivityManager: Force finishing activity com.example.teste.projetofinal/.MainActivity
06-23 07:50:48.806 954 1602 I WindowState: WIN DEATH: Window{433e3670 u0 com.example.teste.projetofinal/com.example.teste.projetofinal.MainActivity}
06-23 07:50:48.836 954 1545 I ActivityManager: Process com.example.teste.projetofinal (pid 6987) (adj 9) has died.
06-23 07:50:51.188 3939 3939 E SPPClientService: [PackageInfoChangeReceiver] [handlePkgRemovedEvent] PackageName : com.example.teste.projetofinal, true, false
06-23 07:50:54.531 5389 5389 I Finsky : [1] com.google.android.finsky.externalreferrer.d.run(9): Package state data is missing for com.example.teste.projetofinal
06-23 07:50:55.792 3498 7271 I FontsPackageChangeOp: Package com.example.teste.projetofinal has no metadata
I've found solution
Yeah!!!! After 2 days of digging on the Internet I finally found solution here:
https://stackoverflow.com/questions...der-when-android-suport-library-updated-to-24
You need to import this for your AlertDialog:
Code:
import android.app.AlertDialog;
instead of this:
Code:
import android.support.v7.app.AlertDialog;

Strange problem with supersu

The problem
situation1:
- SuperSU app is active on the foreground
- When I su from adb shell i get the confirmation prompt and get root without any problems
situation2:
- SuperSU app is not running
- When I su from adb shell
sometimes it keeps waiting indefinite but SuperSU. app never starts and therefore never asks confirmation.
other times it works like expected
situation3
- SuperSU app is not running
- Start rootexplorer it waits indefinite (super supersu app never starts)
- If i manually start SuperSU then it sometimes ask for permission for rootexplorer
Device & Rooting info
DEVICE: wiko sunny2 [v2510]
OS: Android 6.0 [MRA58K]
SuperSU version: 2.79
Rooting: Installed official SUinstaller zip version 2.79 from twrp recovery
- installation proceeded without any errors
Parts of logcat
logcat extract of situation 1
Code:
03-13 13:32:00.094 1461 10939 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{c86c211 u-1 android.intent.action.TIME_TICK}, [foreground], remain = 0
03-13 13:32:00.096 1461 1461 D AlarmManager: onSendFinished begin
03-13 13:32:00.886 540 626 D phoneserver: rsrp[0]=6,rscp[0]=0,rxlev[0]=0 ind_str= M
03-13 13:32:00.886 540 626 D phoneserver: +CSQ: 6,0M
03-13 13:32:01.743 535 784 D WCND : is_cp2_alive_ok: open polling interface: /dev/spipe_wcn0, fd = 13
03-13 13:32:01.744 535 784 D WCND : is_cp2_alive_ok: loop: /dev/spipe_wcn0 is OK
03-13 13:32:03.551 16049 16049 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
03-13 13:32:03.562 16049 16049 D AndroidRuntime: CheckJNI is OFF
03-13 13:32:03.559 16049 16049 W app_process: type=1400 audit(0.0:496): avc: denied { write } for name="[email protected]@boot.art" dev="mmcblk0p23" ino=14597 scontext=u:r:shell:s0 tcontext=u:object_r:dal
03-13 13:32:03.570 16049 16049 W art : 707e5000-71201000 rw-p 00000000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:32:03.570 16049 16049 W art : b11f3000-b31cb000 r--p 00000000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b31cb000-b49dd000 r-xp 01fd8000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b49dd000-b49de000 rw-p 037ea000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b49de000-b49fc000 r--p 00a1c000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:32:03.570 16049 16049 W art : b49fc000-b49fd000 rw-p 00000000 00:00 0 [anon:linker_alloc_vector]
{....full callstack removed...}
03-13 13:32:03.581 16049 16049 W art : b6f9b000-b6f9c000 rw-p 00000000 00:00 0
03-13 13:32:03.581 16049 16049 W art : b8e2b000-b8e5d000 rw-p 00000000 00:00 0 [heap]
03-13 13:32:03.581 16049 16049 W art : be7e4000-be805000 rw-p 00000000 00:00 0 [stack]
03-13 13:32:03.581 16049 16049 W art : ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
03-13 13:32:03.581 16049 16049 W art :
03-13 13:32:03.646 16049 16049 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-13 13:32:03.659 16049 16049 W main : type=1400 audit(0.0:497): avc: denied { write } for name="arm" dev="mmcblk0p23" ino=14595 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tcl
03-13 13:32:03.707 16049 16049 E memtrack: Couldn't load memtrack module (No such file or directory)
03-13 13:32:03.707 16049 16049 E android.os.Debug: failed to load memtrack module: -2
03-13 13:32:03.712 16049 16049 I Radio-JNI: register_android_hardware_Radio DONE
03-13 13:32:03.753 16049 16049 D AndroidRuntime: Calling main entry com.android.commands.am.Am
03-13 13:32:03.749 16059 16059 W Binder_1: type=1400 audit(0.0:498): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16059 16059 W Binder_1: type=1400 audit(0.0:499): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16060 16060 W Binder_2: type=1400 audit(0.0:500): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16060 16060 W Binder_2: type=1400 audit(0.0:501): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.761 1461 1471 D BroadcastQueue: Add broadcastBroadcastRecord{ea7ff76 u0 eu.chainfire.supersu.NativeAccess} into (background/order), now header = BroadcastRecord{ea7ff76 u0 eu.chainfire.s
03-13 13:32:03.773 1461 1474 I ActivityManager: Start proc 16061:eu.chainfire.supersu/u0a104 for broadcast eu.chainfire.supersu/.NativeAccessReceiver
03-13 13:32:03.813 16061 16061 E linker : readlink('') failed: No such file or directory [fd=17]
03-13 13:32:03.813 16061 16061 E linker : warning: unable to get realpath for the library "/data/app/eu.chainfire.supersu-1/oat/arm/base.odex". Will use given name.
03-13 13:32:03.815 16061 16061 W System : ClassLoader referenced unknown path: /data/app/eu.chainfire.supersu-1/lib/arm
03-13 13:32:04.152 1461 10941 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x50840000 cmp=eu.chainfire.supersu/.PromptActivity (has extras)} from uid 10104 on display 0
03-13 13:32:04.152 1461 10941 D ActivityManager: DEBUG_POWER_HINT start activityh
03-13 13:32:04.169 1461 10941 V WindowManager: Pausing WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:32:04.181 501 501 D gralloc.sc8830: fb_post fps = 0.728464
03-13 13:32:04.181 1461 10941 D WindowManager: Input focus has changed to null
03-13 13:32:04.182 1461 10941 D ActivityManager: startActivityUncheckedLocked return : 0
03-13 13:32:04.183 1461 1781 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{ea7ff76 u0 eu.chainfire.supersu.NativeAccess}, [background], remain = 0
03-13 13:32:04.185 16049 16049 D AndroidRuntime: Shutting down VM
03-13 13:32:04.196 1461 10940 V WindowManager: Resuming WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:32:04.209 16061 16061 D AccessibilityManager: getInstance() new sInstance = [email protected], context = [email protected], userId
03-13 13:32:04.299 16061 16117 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
03-13 13:32:04.302 16061 16061 E linker : readlink('') failed: No such file or directory [fd=25]
03-13 13:32:04.302 16061 16061 E linker : warning: unable to get realpath for the library "/system/lib/hw/gralloc.sc8830.so". Will use given name.
03-13 13:32:04.308 1461 1616 V WindowManager: addWindow: New client [email protected]: window=Window{53e1a05 u0 eu.chainfire.supersu/eu.chainfire.supersu.PromptActivity} Callers=com.androi
03-13 13:32:04.329 1461 2231 D WindowManager: Input focus has changed to Window{53e1a05 u0 eu.chainfire.supersu/eu.chainfire.supersu.PromptActivity}
03-13 13:32:04.350 16061 16117 I OpenGLRenderer: Initialized EGL, version 1.4
03-13 13:32:04.421 1461 1491 I ActivityManager: Displayed eu.chainfire.supersu/.PromptActivity: +233ms
logcat extract of situation 2
Code:
03-13 13:19:41.861 13245 13245 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
03-13 13:19:41.872 13245 13245 D AndroidRuntime: CheckJNI is OFF
03-13 13:19:41.865 13245 13245 W app_process: type=1400 audit(0.0:412): avc: denied { write } for name="[email protected]@boot.art" dev="mmcblk0p23" ino=14597 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0
03-13 13:19:41.879 13245 13245 W art : 707e5000-71201000 rw-p 00000000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:19:41.880 13245 13245 W art : b123b000-b3213000 r--p 00000000 b3:11 1176 /system/framework/arm/boot.oat
{....full callstack removed...}
03-13 13:19:41.891 13245 13245 W art : b6fd9000-b6fdb000 rw-p 0001f000 b3:11 522 /system/bin/linker
03-13 13:19:41.891 13245 13245 W art : b6fdb000-b6fdd000 rw-p 00000000 00:00 0
03-13 13:19:41.891 13245 13245 W art : b6fdd000-b6fe2000 r-xp 00000000 b3:11 398 /system/bin/app_process32
03-13 13:19:41.891 13245 13245 W art : b6fe2000-b6fe3000 r--p 00004000 b3:11 398 /system/bin/app_process32
03-13 13:19:41.891 13245 13245 W art : b6fe3000-b6fe4000 rw-p 00000000 00:00 0
03-13 13:19:41.891 13245 13245 W art : b8337000-b8369000 rw-p 00000000 00:00 0 [heap]
03-13 13:19:41.891 13245 13245 W art : beadd000-beafe000 rw-p 00000000 00:00 0 [stack]
03-13 13:19:41.891 13245 13245 W art : ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
03-13 13:19:41.891 13245 13245 W art :
03-13 13:19:41.952 13245 13245 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-13 13:19:41.955 13245 13245 W main : type=1400 audit(0.0:413): avc: denied { write } for name="arm" dev="mmcblk0p23" ino=14595 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
03-13 13:19:42.017 13245 13245 E memtrack: Couldn't load memtrack module (No such file or directory)
03-13 13:19:42.017 13245 13245 E android.os.Debug: failed to load memtrack module: -2
03-13 13:19:42.023 13245 13245 I Radio-JNI: register_android_hardware_Radio DONE
03-13 13:19:42.067 13245 13245 D AndroidRuntime: Calling main entry com.android.commands.am.Am
03-13 13:19:42.055 13255 13255 W Binder_1: type=1400 audit(0.0:414): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13255 13255 W Binder_1: type=1400 audit(0.0:415): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13256 13256 W Binder_2: type=1400 audit(0.0:416): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13256 13256 W Binder_2: type=1400 audit(0.0:417): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
--------- beginning of system
03-13 13:19:42.077 1461 3330 D BroadcastQueue: Add broadcastBroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess} into (background/order), now header = BroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess}, size = 1
03-13 13:19:42.093 1461 1474 I ActivityManager: Start proc 13257:eu.chainfire.supersu/u0a104 for broadcast eu.chainfire.supersu/.NativeAccessReceiver
03-13 13:19:42.145 13257 13257 E linker : readlink('') failed: No such file or directory [fd=17]
03-13 13:19:42.145 13257 13257 E linker : warning: unable to get realpath for the library "/data/app/eu.chainfire.supersu-1/oat/arm/base.odex". Will use given name.
03-13 13:19:42.149 13257 13257 W System : ClassLoader referenced unknown path: /data/app/eu.chainfire.supersu-1/lib/arm
03-13 13:19:42.497 1461 3692 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x50840000 cmp=eu.chainfire.supersu/.PromptActivity (has extras)} from uid 10104 on display 0
03-13 13:19:42.497 1461 3692 D ActivityManager: DEBUG_POWER_HINT start activityh
03-13 13:19:42.504 1461 3692 V WindowManager: Pausing WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:19:42.508 1461 3692 D WindowManager: Input focus has changed to null
03-13 13:19:42.509 1461 3692 D ActivityManager: startActivityUncheckedLocked return : 0
03-13 13:19:42.513 1461 2242 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess}, [background], remain = 0
03-13 13:19:42.506 13255 13255 W Binder_1: type=1400 audit(0.0:418): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.515 13245 13245 D AndroidRuntime: Shutting down VM
Questions/Remarks
It looks like app_process (app_process32) is started in the wrong context
Any hints or tips on how to proceed ?
Reflashed stock and twrp and installed SuperSU the classic way (on /system)
Now everything works as expected

Categories

Resources