[MOD][WIP][ICS] changing the t9 dialer in CM9 contacts app (added apks) - Galaxy S I9000 Themes and Apps

hi,
i'm trying to mod the t9 dialer in CM9 build 13 to have hebrew support but i'm having some trouble,
here is what i have done so far -
using apk-manager i decompiled the apk,
then opened values/strings.xml and found the tags which map
the keys to chars, they are called "t9_map_row_2" where row_x refers to key no. x in the dialpad.
i've changed the original values and replaced with hebrew ones like so:
Code:
<string name="t9_map_row_2">2דהו</string>
<string name="t9_map_row_3">3אבג</string>
<string name="t9_map_row_4">4מםנן</string>
<string name="t9_map_row_5">5יכךל</string>
<string name="t9_map_row_6">6זחט</string>
<string name="t9_map_row_7">7רשת</string>
<string name="t9_map_row_8">8צץק</string>
<string name="t9_map_row_9">9סעפף</string>
compiled the app using apk-manger, used the original signature files (meta-inf folder)
then after pushing the file to /system/app and trying to run the apk but it forced close with the following errors on logcat
Code:
E/AndroidRuntime( 3227): FATAL EXCEPTION: Thread-222
E/AndroidRuntime( 3227): java.lang.NullPointerException
E/AndroidRuntime( 3227): at com.android.contacts.dialpad.T9Search.initT9Map(T9Search.java:223)
E/AndroidRuntime( 3227): at com.android.contacts.dialpad.T9Search.getAll(T9Search.java:79)
E/AndroidRuntime( 3227): at com.android.contacts.dialpad.T9Search.<init>(T9Search.java:74)
E/AndroidRuntime( 3227): at com.android.contacts.dialpad.DialpadFragment$2.run(DialpadFragment.java:512)
E/AndroidRuntime( 3227): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 184): Force finishing activity com.android.contacts/.activities.DialtactsActivity
perhaps someone with more experience can help me with my mod ?

i've been having the exact same issue today. in my case, i'm trying to mod Contacts.apk from a Galaxy Nexus ICS ROM called AOKP. i can drop in pngs, no problem, but as soon as I try to change a resource (in my case, i changed a few colors in values/colors.xml), recompile, drop in the original META-INF and AndroidManifest.xml, and push back to /system/app/, I get the same errors in logcat that you pasted above. Seems like maybe some kind of incompatibility between apktool and Contacts.apk in ICS.

The only solution I have found so far is to recompile from source and it worked for me

yup aand thaat is the only way to mod for now as logn as apktool will not get a proper fixes

i created a ticket for it in the apktool google code issues list. feel free to star this issue:
http://code.google.com/p/android-apktool/issues/detail?id=290

moseschrist said:
The only solution I have found so far is to recompile from source and it worked for me
Click to expand...
Click to collapse
hi i'm kinda new at this.
i've been trying to do the same for DHD and ran into the same error.
could you explain me how did you recompile the app pls?

any solutions?

hi ,moseschrist ...can you please explain step by step what you mean by "recompile from source"...im getting the same t9 dialer errors after recompiling contacts.apk with apktool.

So does this apk work with hebrew?
Can I try it with CM9.1?

Related

"Failed to find provider info for telephony" after exchange Phone.apk in custom ROM

"Failed to find provider info for telephony" after exchange Phone.apk in custom ROM
Hi
i try to customize some apps and then create a custom ROM, but get errors like "Failed to find provider info for telephony" afterwards.
here is what i have tried:
got the original jelly bean binaries (4.1.1 JRO03C) from the android developers site
unzipped it and imported it into the Android-Kitchen (i tried it odexed and deodexed)
downloaded the original android source (4.1.1_r1) and compiled it for maguro (i tried full_maguro-userdebug and full_maguro-user)
replaced some apps (e.g. phone or mms) in the kitchen with the ones from the android source build (i also tried to replace just one at a time)
created the ROM and flashed it to the phone
the phone boots up, but in case of the phone app i get this error every 10 - 20 seconds:
Code:
Failed to find provider info for telephony
FATAL EXCEPTION: main
java.lang.IllegalArgumentException: Unknown URL content://telephony/carriers/current
at android.content.ContentResolver.insert(ContentResolver.java:860)
at com.android.internal.telephony.gsm.GSMPhone.updateCurrentCarrierInProvider(GSMPhone.java:1346)
at com.android.internal.telephony.gsm.GSMPhone.handleMessage(GSMPhone.java:1171)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
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:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
in case of the mms app the almost identical error:
Code:
Failed to find provider info for sms
FATAL EXCEPTION: SmsReceiverService
java.lang.IllegalArgumentException: Unknown URI content://sms/outbox
at android.content.ContentResolver.update(ContentResolver.java:986)
at android.database.sqlite.SqliteWrapper.update(SqliteWrapper.java:79)
at com.android.mms.transaction.SmsReceiverService.moveOutboxMessagesToFailedBox(SmsReceiverService.java:402)
at com.android.mms.transaction.SmsReceiverService.handleBootCompleted(SmsReceiverService.java:378)
at com.android.mms.transaction.SmsReceiverService.access$200(SmsReceiverService.java:72)
at com.android.mms.transaction.SmsReceiverService$ServiceHandler.handleMessage(SmsReceiverService.java:209)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
i de-assembled the phone app from the original binaries to see if it registers itself with the given content URL, but it doesn't. so i am kinda clueless right now about what is going on here.
btw: i can open the apps for a sec when clicking on their icon. the main screen opens and then they crash right away.
thanks
Simon

[Q] Error in miui booting.

Hi!
I decided to port miuiv4 ICS to our device, but my phone always gets bootloop. In logcat I found this:
E/AndroidRuntime( 641): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManager
E/AndroidRuntime( 641): java.lang.UnsatisfiedLinkError: nativeSetStylusIconEnabled
E/AndroidRuntime( 641): at com.android.server.wm.InputManager.nativeSetStylusIconEnabled(Native Method)
E/AndroidRuntime( 641): at com.android.server.wm.InputManager.setStylusIconEnabled(InputManager.java:472)
E/AndroidRuntime( 641): at com.android.server.wm.InputManager.updateStylusIconEnabledFromSettings(InputManager.java:477)
E/AndroidRuntime( 641): at com.android.server.wm.InputManager.start(InputManager.java:160)
E/AndroidRuntime( 641): at com.android.server.wm.WindowManagerService.<init>(WindowManagerService.java:805)
E/AndroidRuntime( 641): at com.android.server.wm.WindowManagerService.<init>(WindowManagerService.java:145)
E/AndroidRuntime( 641): at com.android.server.wm.WindowManagerService$WMThread.run(WindowManagerService.java:691)
Click to expand...
Click to collapse
Is it may be the cause? I can paste all logcat if it's necessary. How should i fix it?
edit: nvm.
where are you porting from?
try using androidlibruntime.so from PORTED(miui) instead of base.
its in /system/lib
When i used ported libandroidruntime.so it didn't boot, stay at Samsung Galaxy screen. I am porting SnapSeries MIUI for ace 2.10.12, and use AOSP 4.0.4 MaclawStudio as base.
You messed up smthing with the libs. Try porting again from the beginning
Sent from my GT-S5660 using xda app-developers app
OK, i will try, but should i do it like there: http://forum.xda-developers.com/showthread.php?t=1777999 or just copy everything first from base to port, then from port to base to add missing files? I am asking about lib folder.
Just follow the normal guide to port from ace to gio(mine for example), all the required changes have already been done, you only need to do the porting changes, not the miui specific ones
Sent from my GT-S5660 using xda app-developers app
Thanks for reply I just port another miui, and everything works perfectly now. Thread can be close. BTW i couldn't port it normal ace to gio, because i wanted change base to newest AOSP 4.0.4

[ROM][AOSP][LolliRock][v.2.1]

Content removed.
Content removed.
Content removed.
zulu99 said:
Full version of Android 5 Lollipop on Nexus Player.
What's inside ?
Kernel:
✔ NTFS, NFS/CIFS/F2FS Filesystem support
✔ USB Webcam support & USB Audio
Firmware:
✔ Full AOSP firmware with standard Android Launchers.
✔ Compatibility with many more apps from Google Play ( Also Google Plus work )
✔ MTP + ADB (transfer file from NP to PC via usb cable like your tablet/phone)
✔ Unlocked fixed Volume (now you can use any remote to UP/DOWN volume)
✔ UVC Webcam for now can work with apps like USB Camera Trial infinitegra.trial.usbcamera
What not working and i'm working on ?
✔ HAL for usb webcam (for apps like Hangout, Google Camera)
✔ External usb and bluetooth microphones. If you connect a bluetooth mic, you can lose the audio but a reboot solve.
Installation:
Download the firmware from this link: http://goo.gl/1pDBAJ
Put the device in bootloader mode:
1) fastboot flash boot boot.img
2) fastboot flash system system.img
3) fastboot -w
To root download this file http://download.chainfire.eu/631/CF-R and extract the file root.img
4) fastboot boot root.img
To restore the original firmware you can use the Factory Images "fugu" for Nexus Player https://developers.google.com/android/nexus/images
Note:
This video is just a visual example, the firmware is much faster, because i'm recording in real time with SCR app at high resolution, while using many apps.
The little hardware remote work, but for this firmware is preferable to use a mouse and keyboard.
Personally i use DroidMote because i can have mouse, keyboard, multi touch actions, soft gamepad and voice dictation all in one.
I love Android in TV and i use it from 3 years. I made this firmware for my personal use, because i like Android in my Tv with standard Android apps, that are more accessible and fast and with customizable launcher.
I have the Nexus Player just from 7 days, many more things will come in the near future.
I need your help especially to add HAL for usb uvc webcam and in the modification of the audio HAL to accept usb mic from usb webcam.
All works will be public and i'm open to share all that i have modified for now in the fugu device tree.
Sorry for my BAD English
Click to expand...
Click to collapse
Great work, I can't wait to see USB webcams work with hangouts and other apps, if we can get that working it will be badass, congrats on being the first ROM for the nexus player and excellent work! Happy holidays!
Dude this is amazing. Thank you i am scared to install just because its a xmas gift and i want to see someone give the ok and i will dive in. I just want to know the best way to sideload apps/ have more apps on market maybe with a build fingerprint and some internal build.prop changes. Any help on that would be lovely
Hero_is_Over said:
Dude this is amazing. Thank you i am scared to install just because its a xmas gift and i want to see someone give the ok and i will dive in. I just want to know the best way to sideload apps/ have more apps on market maybe with a build fingerprint and some internal build.prop changes. Any help on that would be lovely
Click to expand...
Click to collapse
Chainfire has a side loading app you can use. I installed es file explorer and then opened it with the sideload app then from my phone I transfer apk's to the nexus player over WiFi.
Sent from my Nexus 6 using XDA Free mobile app
Is HDMI audio output one of the things not working yet or is it just my system?
Edit: Just my system apparently. Sound only works with the HDMI is plugged directly into my TV. It doesn't work when plugged into the HDMI on my audio receiver.
Great work! I think it is strange that there is not that much activity on this ROM. I am looking forward to installing it either tonight, or tomorrow, but one quick question.
Is there anything inside the stock lollipop that isn't working? Like apps not working, or something like that? Casting I am not that concerned about, for now.
I will test soon enough and post my findings as well, but a heads up would be nice.
I second this! Would love to keep the cast feature. And is the Included remote useful and does the mic still work good?
I found the included remote barely functional because most apps are configured for touch and you can't navigate.
amberkalvin said:
Great work! I think it is strange that there is not that much activity on this ROM. I am looking forward to installing it either tonight, or tomorrow, but one quick question.
Is there anything inside the stock lollipop that isn't working? Like apps not working, or something like that? Casting I am not that concerned about, for now.
I will test soon enough and post my findings as well, but a heads up would be nice.
Click to expand...
Click to collapse
So far the only ones I've found that don't work at all are Netflix and Hulu. Both crash immediately upon opening.
KalenXI said:
So far the only ones I've found that don't work at all are Netflix and Hulu. Both crash immediately upon opening.
Click to expand...
Click to collapse
Thanks! I'm definitely looking forward to checking it out. I'll post back anything I find as well.
FYI: make sure you have a USB mouse and\or keyboard to set up. The remote is useless since you can't get to the Bluetooth function to pair it and first boot. Will try later when my otg cable comes in. Looks awesome on my 55' though!
http://imgur.com/lfL0APZ
Has anyone figured out how to get the leanback launcher working? I installed a version but it didn't display anything.
Next step done. Audio from usb webcam. I'll do some more tests and then i'll add the work in the next firmware.
Voice calls in Hangout
Voice search
Sound recording
are working.
Tested with Logitech C525 webcam
It was very hard modify the audio HAL.
In the aosp code of nexus player and in the original android tv firmware, the audio hal have many restrictions and point also on some closed parts for the little remote control audio functionality. In the original version of the HAL you can't up/down the internal volume of the nexus player but you can modify only the master volume of TV with the standard remote of the TV, in addition, you can use as external audio input for voice dictation only the little remote, and you can't use programs like hangout or record sound with external microphones. The audio HAL, in other words, is very limited and block voluntary many things. I modified this part to have volume modifiable with any hardware and software remote, unlocked the volume keys and i added the ability to accept others external microphones for voice dictation and the ability to also record sound and use, in app like hangout, the external mic of others sound devices.
KalenXI said:
So far the only ones I've found that don't work at all are Netflix and Hulu. Both crash immediately upon opening.
Click to expand...
Click to collapse
I not have Netflix account to test, have you tested the x86 version or the arm ?
I'm working on other things, but all that works on the original firmware, will also work on LolliRock. You can try also with the original build.prop
the only thing that you must add to the original build.prop are the fields:
ro.sf.lcd_density=220
qemu.hw.mainkeys=0
zulu99 said:
I not have Netflix account to test, have you tested the x86 version or the arm ?
I'm working on other things, but all that works on the original firmware, will also work on LolliRock. You can try also with the original build.prop
the only thing that you must add to the original build.prop are the fields:
ro.sf.lcd_density=220
qemu.hw.mainkeys=0
Click to expand...
Click to collapse
At first I was trying the version installed directly from the play store. Both of which were apparently the ARM versions.
This is the crash log:
Code:
--------- beginning of crash
E/AndroidRuntime(29137): FATAL EXCEPTION: main
E/AndroidRuntime(29137): Process: com.netflix.mediaclient, PID: 29137
E/AndroidRuntime(29137): java.lang.RuntimeException: Unable to create application com.netflix.mediaclient.NetflixApplication: java.lang.IllegalStateException: Native libraries are missing!
E/AndroidRuntime(29137): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4521)
E/AndroidRuntime(29137): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
E/AndroidRuntime(29137): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
E/AndroidRuntime(29137): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(29137): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(29137): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(29137): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(29137): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(29137): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime(29137): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime(29137): Caused by: java.lang.IllegalStateException: Native libraries are missing!
E/AndroidRuntime(29137): at com.netflix.mediaclient.NetflixApplication.loadAndVerifyNativeLibraries(NetflixApplication.java:193)
E/AndroidRuntime(29137): at com.netflix.mediaclient.NetflixApplication.onCreate(NetflixApplication.java:172)
E/AndroidRuntime(29137): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)
E/AndroidRuntime(29137): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4518)
E/AndroidRuntime(29137): ... 9 more
Then I tried installing the Player-specific APKs from this thread: http://forum.xda-developers.com/nexus-player/general/ref-collection-nexus-player-apks-t2976537
The Hulu from that thread works perfectly, but the Netflix apk, in addition to only appearing on the Leanback Launcher, still crashes upon launching with this error:
Code:
E/art ( 896): dlopen("/data/app/com.netflix.ninja-1/lib/arm/libnetflix.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.netflix.ninja-1/lib/arm/libnetflix.so" has unexpected e_machine: 40
E/art ( 896): No implementation found for void com.netflix.ninja.NetflixService.nativeGibbonPrepare() (tried Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare and Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare__)
D/AndroidRuntime( 896): Shutting down VM
E/AndroidRuntime( 896): FATAL EXCEPTION: main
E/AndroidRuntime( 896): Process: com.netflix.ninja, PID: 896
E/AndroidRuntime( 896): java.lang.UnsatisfiedLinkError: No implementation found for void com.netflix.ninja.NetflixService.nativeGibbonPrepare() (tried Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare and Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare__)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.nativeGibbonPrepare(Native Method)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.initNrdLib(NetflixService.java:200)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.onCreate(NetflixService.java:182)
E/AndroidRuntime( 896): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2731)
E/AndroidRuntime( 896): at android.app.ActivityThread.access$1800(ActivityThread.java:144)
E/AndroidRuntime( 896): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1361)
E/AndroidRuntime( 896): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 896): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 896): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 896): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 896): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
W/ActivityManager( 475): Force finishing activity com.netflix.ninja/.MainActivity
I'm still trying to find a copy of the original build.prop for the Nexus Player so I can try that.
KalenXI said:
At first I was trying the version installed directly from the play store. Both of which were apparently the ARM versions.
This is the crash log:
Code:
--------- beginning of crash
E/AndroidRuntime(29137): FATAL EXCEPTION: main
E/AndroidRuntime(29137): Process: com.netflix.mediaclient, PID: 29137
E/AndroidRuntime(29137): java.lang.RuntimeException: Unable to create application com.netflix.mediaclient.NetflixApplication: java.lang.IllegalStateException: Native libraries are missing!
E/AndroidRuntime(29137): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4521)
E/AndroidRuntime(29137): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
E/AndroidRuntime(29137): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
E/AndroidRuntime(29137): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(29137): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(29137): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(29137): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(29137): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(29137): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime(29137): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime(29137): Caused by: java.lang.IllegalStateException: Native libraries are missing!
E/AndroidRuntime(29137): at com.netflix.mediaclient.NetflixApplication.loadAndVerifyNativeLibraries(NetflixApplication.java:193)
E/AndroidRuntime(29137): at com.netflix.mediaclient.NetflixApplication.onCreate(NetflixApplication.java:172)
E/AndroidRuntime(29137): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)
E/AndroidRuntime(29137): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4518)
E/AndroidRuntime(29137): ... 9 more
Then I tried installing the Player-specific APKs from this thread: http://forum.xda-developers.com/nexus-player/general/ref-collection-nexus-player-apks-t2976537
The Hulu from that thread works perfectly, but the Netflix apk, in addition to only appearing on the Leanback Launcher, still crashes upon launching with this error:
Code:
E/art ( 896): dlopen("/data/app/com.netflix.ninja-1/lib/arm/libnetflix.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.netflix.ninja-1/lib/arm/libnetflix.so" has unexpected e_machine: 40
E/art ( 896): No implementation found for void com.netflix.ninja.NetflixService.nativeGibbonPrepare() (tried Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare and Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare__)
D/AndroidRuntime( 896): Shutting down VM
E/AndroidRuntime( 896): FATAL EXCEPTION: main
E/AndroidRuntime( 896): Process: com.netflix.ninja, PID: 896
E/AndroidRuntime( 896): java.lang.UnsatisfiedLinkError: No implementation found for void com.netflix.ninja.NetflixService.nativeGibbonPrepare() (tried Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare and Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare__)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.nativeGibbonPrepare(Native Method)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.initNrdLib(NetflixService.java:200)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.onCreate(NetflixService.java:182)
E/AndroidRuntime( 896): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2731)
E/AndroidRuntime( 896): at android.app.ActivityThread.access$1800(ActivityThread.java:144)
E/AndroidRuntime( 896): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1361)
E/AndroidRuntime( 896): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 896): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 896): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 896): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 896): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
W/ActivityManager( 475): Force finishing activity com.netflix.ninja/.MainActivity
I'm still trying to find a copy of the original build.prop for the Nexus Player so I can try that.
Click to expand...
Click to collapse
You can get the original build.prop and all that you want from the original firmware.
Downlod the stock firmware, extract the system.img , convert it to standard ext4 img with the linux tool simg2img. When you have the ext4 system img, you can mount it where you want, also in windows, and in this way you can help to test many things.
Instead, when you need updated exlusive apk for the original firmware, you can reinstall the stock firmware, extract all apk that you need and share with friends. The apk name is base.apk and is inside the /data/app/your-app folder. For the leanback launcher apk in the third post, I did it this way.
I think that for netflix, you need the x86 version, you can get it from your android tv firmware. From your log, i see that you installed the arm version because the log point to an arm folder. should be x86. Maybe you have installed the ADT-1 version.
I not understand why netflix is so restrictive and monopilstic with users who have regular subscriptions. This behavior only leads to failure even if ..... http://arstechnica.com/information-...ing-fast-lanes-at-the-expense-of-competitors/
Update:
The new boot.img solve arm traslations problems. You can find the new boot.img in the first post.
Really like this rom, smooth, stable and easy to install. Just wish netflix worked, i can't really use it without that.
keep up the great work, thank you!!!
Turbo4V said:
Really like this rom, smooth, stable and easy to install. Just wish netflix worked, i can't really use it without that.
keep up the great work, thank you!!!
Click to expand...
Click to collapse
For now, for restrictive services like Netflix, on all Android TV box, you can install Splashtop 2 Remote Desktop, connect to your PC in lan and do what you want.
If you use the Splashtop 2 Remote Desktop on the Nexus Player, i suggest to go in settings of the app and check compatibility mode.
Update:
solved with the new boot.img

[Guide][tut] [LP/MM/+] Color your Icons and Text from Settings (color mods)

Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
ok lets start work
All you need is
Deodexed Systemui
1. Decompile the SystemUI.apk
2.Download this View attachment Systemui.zip
3. Merge the Code
4. If you dont have this color picker preference to settings (need only this one) add this to settings..
Now look for SystemUI.apk/res/layouts
in that the xml code which starts with
Code:
<TextView
or
<ImageView
are the codes of text and icons you are able to make color mods
Example :
ICON color change
open systemui.apk/res/layout/signal_cluster_view.xml
find codes start with
Code:
[COLOR="Blue"]<ImageView[/COLOR] android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
and replace with this
Code:
[COLOR="blue"]<com.android.settings.rz.Image key="[COLOR="Red"]img1[/COLOR]"[/COLOR] android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
here key="img1" play role
where in settings you need to define in display_settings.xml or your own
Code:
<com.android.settings.rz.colorpicker.ColorPickerPreference android:title="Icon1" android:key="[COLOR="red"]img1[/COLOR]" android:defaultValue="0xffffffff" alphaSlider="true" hexValue="true" />
if you want other just change key
Text color change
open systemui.apk/res/layout/keyguard_weather_view.xml
find codes start with
Code:
[COLOR="Blue"]<TextView[/COLOR] android:textSize="15.0sp" android:textStyle="bold" android:layout_gravity="right" android:id="@id/city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:includeFontPadding="false" />
and replace with this
Code:
[COLOR="blue"]<com.android.settings.rz.Text key="[COLOR="Red"]text1[/COLOR]"[/COLOR] android:textSize="15.0sp" android:textStyle="bold" android:layout_gravity="right" android:id="@id/city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:includeFontPadding="false" />
here key="text1" play role
where in settings you need to define in display_settings.xml or your own
Code:
<com.android.settings.rz.colorpicker.ColorPickerPreference android:title="Text1" android:key="[COLOR="red"]text1[/COLOR]" android:defaultValue="0xffffffff" alphaSlider="true" hexValue="true" />
if you want other just change key
Thanks to Alvin os and maaadon team for being with me all the time
Dont forget to mention me if you use my work
Great job bro ^^
Sent from MWA Pro-Spect V1.0.0 On My Z5
Works perfectly man, very simple and easy mod
Help
Bloodlvst said:
Works perfectly man, very simple and easy mod
Click to expand...
Click to collapse
please give me your SystemUI and settings , for I tried to learn :angel:
Yudistira1988 said:
please give me your SystemUI and settings , for I tried to learn :angel:
Click to expand...
Click to collapse
Why you need it, to use ?
This guide is very simple.
Pandemic said:
Why you need it, to use ?
This guide is very simple.
Click to expand...
Click to collapse
I got the error " parameter "
maybe I need smali version 2.0
help me
venkat kamesh said:
Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
ok lets start work...................................................
Click to expand...
Click to collapse
smali error log
Log For : SystemUI.apk
Log Type : Recompiling
Log Recorded At : Mon 09-01-2017 14:43:56.61
Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak
------------------------------------------------------
..\3-Out\SystemUI.apk\smali\com\android\settings\rz\Image.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\settings\rz\Image.smali[28,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/settings/rz/Image.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:385)
at brut.androlib.Androlib.buildSources(Androlib.java:312)
at brut.androlib.Androlib.build(Androlib.java:295)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
------------------------------------------------------
Where the screen?
D6503 cihazımdan Tapatalk kullanılarak gönderildi
Zidni said:
smali error log
------------------------------------------------------
Click to expand...
Click to collapse
Please Use apktool 2.1.1
Nothing went wrong cheers
yakupTR said:
Where the screen?
D6503 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
This mod dont come with screen
Please Read them ... in example i gave sim card
if you apply this code for network Cluster ... Default is white
but from settings you can change to any color you need ...
so if i start to provide SS .. that will be endless
Hope you got my point
venkat kamesh said:
Please Use apktool 2.1.1
Nothing went wrong cheers
Click to expand...
Click to collapse
apparently i used more latest apktool v2.2.1 on 6.0
@venkat kamesh bro, does this color mod work for TextClock ?
Edit:
I tried this mod and got recompiling error (used Apktool 2.1.1) :
...'.parameter' invalid directive
So I checked the smalis and found that they had '.parameter' element in them which is actually found in smalis decompiled using Apktool v1.5.2 or below.
So I deleted the .parameter element and tried to recompile and it successfully recompiled. (Really noobish work, I know)
I signed the systemUI and pushed back to system. But it gave systemUI force close.
Please review the smalis bro. Help please.
Bloodlvst said:
Works perfectly man, very simple and easy mod
Click to expand...
Click to collapse
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Bro What is you android and apktool version?
nitesh9 said:
@venkat kamesh bro, does this color mod work for TextClock ?
Please review the smalis bro. Help please.
Click to expand...
Click to collapse
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Zidni said:
Bro What is you android and apktool version?
Click to expand...
Click to collapse
i used apktool ver 2.0 /2.1
in this case there is another process to convert old smali to new
I will explain when i am free bro
No More Recompile Problem
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Smali bug fixed now......
it will work on marshmallow 6.0+ & LP 5+(hopefully)
use the attached smali...
hit thanks if work :good:
Zidni said:
Smali bug fixed now......
it will work on marshmallow 6.0+ & LP 5+(hopefully)
use the attached smali...
hit thanks if work :good:
Click to expand...
Click to collapse
Thanks bro, will try and revert back soon.
Update:
The new smali worked like charm. Thanks bro.
venkat kamesh said:
Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
Click to expand...
Click to collapse
bro, its not compiling!
log:-
Recompiling "SystemUI.apk" With New Signature,
in work area "_WorkArea4", using "apktool_2.1.1.jar"
With Tickle My Android 14.3.0.0.
(tinyurl.com\ticklemyandroid)
----------------
Installed Framework File(s):
1.apk
63.apk
----------------
I: Using Apktool 2.1.1
I: Smaling smali folder into classes.dex...
..\_WorkArea4\_working\SystemUI.apk\smali\com\android\settings\rz\Image.smali[27,4] Error for input '.parameter': Invalid directive
..\_WorkArea4\_working\SystemUI.apk\smali\com\android\settings\rz\Image.smali[28,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/settings/rz/Image.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:67)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:51)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:38)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:364)
at brut.androlib.Androlib.buildSources(Androlib.java:295)
at brut.androlib.Androlib.build(Androlib.java:278)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
----------------
Recompile Not Successful!
Can anyone put some pictures here?
I am having issues with it inflating. FC statusbar.
E/AndroidRuntime( 1123): FATAL EXCEPTION: main
E/AndroidRuntime( 1123): Process: com.android.systemui, PID: 1123
E/AndroidRuntime( 1123): android.view.InflateException: Binary XML file line #5: Error inflating class com.android.settings.rz.Image
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
E/AndroidRuntime( 1123): at android.view.View.inflate(View.java:18465)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:536)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3564)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3535)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:426)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:491)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(Native Method)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/AndroidRuntime( 1123): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1123): at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime( 1123): at android.app.ActivityThread.main(ActivityThread.java:5598)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 1123): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1123): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.settings.rz.Image" on path: DexPathList[[zip file "/system/framework/twframework.jar", zip file "/system/framework/sechardware.jar", zip file "/system/framework/com.broadcom.bt.jar", zip file "/system/priv-app/SystemUI.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /lib]]
E/AndroidRuntime( 1123): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createView(LayoutInflater.java:565
W/ActivityManager( 654): Process com.android.systemui has crashed too many times: killing!
RealWelder said:
I am having issues with it inflating. FC statusbar.
E/AndroidRuntime( 1123): FATAL EXCEPTION: main
E/AndroidRuntime( 1123): Process: com.android.systemui, PID: 1123
E/AndroidRuntime( 1123): android.view.InflateException: Binary XML file line #5: Error inflating class com.android.settings.rz.Image
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
E/AndroidRuntime( 1123): at android.view.View.inflate(View.java:18465)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:536)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3564)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3535)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:426)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:491)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(Native Method)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/AndroidRuntime( 1123): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1123): at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime( 1123): at android.app.ActivityThread.main(ActivityThread.java:5598)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 1123): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1123): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.settings.rz.Image" on path: DexPathList[[zip file "/system/framework/twframework.jar", zip file "/system/framework/sechardware.jar", zip file "/system/framework/com.broadcom.bt.jar", zip file "/system/priv-app/SystemUI.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /lib]]
E/AndroidRuntime( 1123): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createView(LayoutInflater.java:565
W/ActivityManager( 654): Process com.android.systemui has crashed too many times: killing!
Click to expand...
Click to collapse
Use the latest fixed smali by @Zidni above.

Wha-t-heck is manage crashes in android???

I Have An Samsung Galxy Grand Dous GT-i9082 And After A Long Time Of Use I Rooted It And Installed Xposed Framwork And So On And It's Get The Time To Delete The Safe To Delete System Apps To Stop Them For Costumizing Ram So I Delete Some Of The Safe To Delete List And After Time When An App I Use Updated With An Updated That Make It Crashes In My Android Version It Crashed When I Open It And The Wired Thinge That I Didn't See And Error Window Telling Me "Unformatly App Name Has Stopped" But Rather Than This The Phone Freezed For 2Min Then Restart It Self And After Many Trys I Found That If Any App In My Phone Crashed It Do The Same Thing So A Thinked That The Delete Of ContextProvider.apk Is The Reason So I Posted In Xda To Find Some One To Give Me The Original Apk And At Last I Get It And Put It In System/App And Give It The Premissions But Nothing Changed And This **** Is Driving Me To Madness And That's Start To Be Really Annoying And I Can't Reinstall The Rom For Some Reasons So I Need To Find A Fix For This I Searched To Much But No One Experienced This Before So All I Need To Know What Is The Thing That Manages Crashes In Android So I Tried To Logcat While Crashing With Logcat Extreme Pro And See This That I Don't Understand What's Mean:-
---- 16 Jan 2017 19:55:02 ----
E/EnterpriseContainerManager(18834): ContainerPolicy Service is not yet ready!!!
E/AudioResampler(19069): Unsupported sample format, 1 bits, 2 channels
E/MoreInfoHPW_ViewGroup(18834): Parent view is not a TextView
E/MoreInfoHPW_ViewGroup( 5681): Parent view is not a TextView
E/EnterpriseContainerManager(18834): ContainerPolicy Service is not yet ready!!!
E/AudioResampler(19069): Unsupported sample format, 1 bits, 2 channels
E/AndroidRuntime( 5681): FATAL EXCEPTION: main
E/AndroidRuntime( 5681): java.lang.ArithmeticException: divide by zero
E/AndroidRuntime( 5681): at net.mitchtech.xposed.CustomErrorPreferenceActivity$3.onPreferenceClick(CustomErrorPreferenceActivity.java:86)
E/AndroidRuntime( 5681): at android.preference.Preference.performClick(Preference.java:959)
E/AndroidRuntime( 5681): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:229)
E/AndroidRuntime( 5681): at android.widget.AdapterView.performItemClick(AdapterView.java:301)
E/AndroidRuntime( 5681): at android.widget.AbsListView.performItemClick(AbsListView.java:1490)
E/AndroidRuntime( 5681): at android.widget.AbsListView$PerformClick.run(AbsListView.java:3275)
E/AndroidRuntime( 5681): at android.widget.AbsListView$1.run(AbsListView.java:4518)
E/AndroidRuntime( 5681): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 5681): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 5681): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5681): at android.app.ActivityThread.main(ActivityThread.java:5283)
E/AndroidRuntime( 5681): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5681): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 5681): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
E/AndroidRuntime( 5681): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
E/AndroidRuntime( 5681): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 5681): at dalvik.system.NativeStart.main(Native Method)
E/android.os.Debug(18834): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
E/Watchdog(18834): [email protected] 10
E/EnterpriseContainerManager(18834): ContainerPolicy Service is not yet ready!!!
---- 16 Jan 2017 19:55:21 ----
So Can Anyone Please Help Me To Fix This And Please Don't Tell Me To Reinstall The Rom.
check for viruses in your device with an antivirus.
maybe you got a corrupted/wrong contextprovider.apk, download and replace with a new one.
wipe the app data as well.
try renaming the contextprovider.apk to contextprovider.apk.bak
or
freeze the contextprovider, using link2sd or titanium backup.
if still the problem persist,
hold down the power button,
press and hold shutdown option to boot into safe mode.
see if it's still causing any force close. if it's working in safe mode properly, then the suspects would be any third party app.
inspect one by one, uninstall and download again from a genuine and safe place.
I hope you haven't messed up from within any xposed modules, patching or adding too many mods could cause issues as well.

Categories

Resources