Related
Hey Everyone,
Thought i would share what i did to fix up the issues using the market!
Had a fresh install of FRX06, Had done the bluetooth patch (all working, great work guys btw)
Only real issue i had was downloading from the market. Nothing would download.
Every time just download unsuccessful.
So i played around trying to fix it, and ended up being able to upgrade the market to the newer version, and it all works
So steps.
1. Download vending.apk for version 2.2.6 of the market. (attached)
2. plug your phone into your PC and start up droidexplorer.
3. open command prompt in droidexplorer and type "mount -o remount,rw /"
4. go to /system/app and copy the current vending.apk to your computer (for a backup)
5. delete vending.apk from /system/app
6. Rename the new 2.2.6 version to "vending.apk" and copy it to /system/app
7. restart the phone
8. open market and check that it is working
Hope this helps a few of you out and to get your market working
Or to get the newer version of the market.
Cheers
And now something has gone wrong
Was working fine, till my phone had a SOD and wouldnt turn on so i pulled the battery.
Now getting force closes
Code:
I/ActivityManager( 1355): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.in
tent.category.LAUNCHER] flg=0x10200000 cmp=com.android.vending/.AssetBrowserActivity }
I/ActivityManager( 1355): Start proc com.android.vending for activity com.android.vending/.AssetBrow
serActivity: pid=2067 uid=10004 gids={1015, 3003}
I/ActivityThread( 2067): Publishing provider com.android.vending.SuggestionsProvider: com.android.ve
nding.SuggestionsProvider
D/vending ( 2067): [1] VendingApplication.onCreate(): Resetting ServiceLocator from app
D/dalvikvm( 2067): GC_FOR_MALLOC freed 1849 objects / 128848 bytes in 80ms
D/dalvikvm( 2067): GC_FOR_MALLOC freed 6969 objects / 520096 bytes in 90ms
D/GoogleLoginService( 1465): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.goog
le.android.gsf/.loginservice.GoogleLoginService }
I/ActivityManager( 1355): Displayed activity com.android.vending/.AssetBrowserActivity: 1790 ms (tot
al 47180 ms)
D/ResourceType( 2067): calling getConfigurations
D/ResourceType( 2067): called getConfigurations size=200
E/DatabaseUtils( 1465): Writing exception to parcel
E/DatabaseUtils( 1465): java.lang.SecurityException: Permission Denial: writing com.google.android.g
sf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=2067, uid=1000
4 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/DatabaseUtils( 1465): at android.content.ContentProvider$Transport.enforceWritePermission(
ContentProvider.java:348)
E/DatabaseUtils( 1465): at android.content.ContentProvider$Transport.insert(ContentProvider.
java:196)
E/DatabaseUtils( 1465): at android.content.ContentProviderNative.onTransact(ContentProviderN
ative.java:146)
E/DatabaseUtils( 1465): at android.os.Binder.execTransact(Binder.java:288)
E/DatabaseUtils( 1465): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 2067): threadid=9: thread exiting with uncaught exception (group=0x400207f0)
E/AndroidRuntime( 2067): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 2067): java.lang.SecurityException: Permission Denial: writing com.google.android.
gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=2067, uid=100
04 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/AndroidRuntime( 2067): at android.os.Parcel.readException(Parcel.java:1260)
E/AndroidRuntime( 2067): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUt
ils.java:160)
E/AndroidRuntime( 2067): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUt
ils.java:114)
E/AndroidRuntime( 2067): at android.content.ContentProviderProxy.insert(ContentProviderNative
.java:408)
E/AndroidRuntime( 2067): at android.content.ContentResolver.insert(ContentResolver.java:587)
E/AndroidRuntime( 2067): at com.google.android.gsf.GoogleSettingsContract$NameValueTable.putS
tring(GoogleSettingsContract.java:55)
E/AndroidRuntime( 2067): at com.google.android.gsf.GoogleSettingsContract$Partner.putString(G
oogleSettingsContract.java:126)
E/AndroidRuntime( 2067): at com.android.vending.compat.MarketCheckinHelper.updateCheckinDatab
ase(MarketCheckinHelper.java:12)
E/AndroidRuntime( 2067): at com.android.vending.CheckinUpdater.sendContentSyncViaCheckin(Chec
kinUpdater.java:219)
E/AndroidRuntime( 2067): at com.android.vending.CheckinUpdater.performCheckin(CheckinUpdater.
java:176)
E/AndroidRuntime( 2067): at com.android.vending.CheckinUpdater.access$000(CheckinUpdater.java
:38)
E/AndroidRuntime( 2067): at com.android.vending.CheckinUpdater$1.run(CheckinUpdater.java:109)
E/AndroidRuntime( 2067): at com.android.vending.util.WorkService$1.run(WorkService.java:37)
W/ActivityManager( 1355): Force finishing activity com.android.vending/.AssetBrowserActivity
D/dalvikvm( 2067): GC_FOR_MALLOC freed 6230 objects / 580152 bytes in 160ms
D/dalvikvm( 2067): GC_EXTERNAL_ALLOC freed 3710 objects / 318976 bytes in 110ms
E/Tethering( 1355): active iface (usb0) reported as added, ignoring
Strangely enough... I copied the original market back over and its working (not as pretty though )
I don't have a vending.apk on my system. I tried replacing market.apk, but it just force closed.
I won't have time to check that market APK until quite late tonight at the earliest, and maybe not for a few days (really busy week!), but nearly every one I've ever seen is signed with a key incompatible with our gapps distribution, so I suspect that's the problem you are having.
To get it to work without permissions-related force closes, you have to re-sign it with one of the platform test keys. (I forget exactly which one at the moment). I've done this with 2.2.6 on my phone but I haven't had time to write a tutorial on it.
Edit: Looking at your logcat, GoogleSettingsProvider permissions issues are a classic sign of a signing key mismatch.
Entropy512 said:
I won't have time to check that market APK until quite late tonight at the earliest, and maybe not for a few days (really busy week!), but nearly every one I've ever seen is signed with a key incompatible with our gapps distribution, so I suspect that's the problem you are having.
To get it to work without permissions-related force closes, you have to re-sign it with one of the platform test keys. (I forget exactly which one at the moment). I've done this with 2.2.6 on my phone but I haven't had time to write a tutorial on it.
Edit: Looking at your logcat, GoogleSettingsProvider permissions issues are a classic sign of a signing key mismatch.
Click to expand...
Click to collapse
Oh ok, thanks.
How come it would have worked initially then? Thats weird
Shadoxity said:
Oh ok, thanks.
How come it would have worked initially then? Thats weird
Click to expand...
Click to collapse
I don't know - I do remember a couple of situations where it would work for one download and then fail.
For example, I tried a market APK from a tiad8 ROM - it was awesome for one download and then failed. Now that I know more about the download architecture I think the awesomeness in performance was a fluke. Download performance is all about DownloadProvider.apk and our filesystem drivers... And so far, my attempt to improve Market downloads by tweaking DownloadProvider made the browser totally unusable.
I have had the same as Entropy with most roms I tried.
I can download 1 or 2 things from the market, very slowly, and then it fails, sometimes with random reboots
Just as an FYI, I HAVE gotten Market 2.2.6 to work reliably - it isn't any faster though, that's for sure.
I'll try to post details sometime next week on how to do it. I'm basically out all evening every evening until the end of the weekend so don't have time to post it now.
Shadoxity... question if you will... where did you d/l the bluetooth patch from?
BTW.. I had the same issue w/ market. Went into settings>>applications>> manage applications>> clicked on Market and cleared cache. Did it once and I was only able to d/l 1 file... did it a second time and I've been good since Tuesday. Hope it helps
bluetooth
MerlinOfLore said:
Shadoxity... question if you will... where did you d/l the bluetooth patch from?
Click to expand...
Click to collapse
bluetooth was being tested for Rhodiums over at [TESTING] New audio routing for Froyo. Bluetooth info is in 2nd post.
It didn't work for me... After rebooted the phone (topaz) if I try to run the market it seems to load a white window and after a couple of second it says it's not responding...
What I notice about market is that it leaves 1.83MB-sized "orphans" in /cache. Not sure why it is that size, but regardless of the size of the app it ends up with that fragment.
-- Starfox
MerlinOfLore said:
Shadoxity... question if you will... where did you d/l the bluetooth patch from?
Click to expand...
Click to collapse
From this thead
http://forum.xda-developers.com/showthread.php?t=885550
MerlinOfLore said:
BTW.. I had the same issue w/ market. Went into settings>>applications>> manage applications>> clicked on Market and cleared cache. Did it once and I was only able to d/l 1 file... did it a second time and I've been good since Tuesday. Hope it helps
Click to expand...
Click to collapse
Tried that but made no difference on mine
Has anyone bothered to get logs from the original issue (before the known issue of permissions after manually upgrading the apk)? The only one I've seen had out of memory errors spamming their logs, but they couldn't get me a useful set of logs to look at. If someone could get a log from after a failed market download with my app http://forum.xda-developers.com/showthread.php?t=1123129 it would be much appreciated.
I replaced google apps in frx06 on gapps package downloaded here:
http://goo-inside.me/gapps/gapps-mdpi-20110501-signed.zip
Yes is named as mdpi, but 100% compatible with hdpi too.
And it's works perfect on my opinion.
DmK75 said:
I replaced google apps in frx06 on gapps package downloaded here:
http://goo-inside.me/gapps/gapps-mdpi-20110501-signed.zip
Yes is named as mdpi, but 100% compatible with hdpi too.
And it's works perfect on my opinion.
Click to expand...
Click to collapse
But why...? For what purpose did you replace the gapps package?
arrrghhh said:
But why...? For what purpose did you replace the gapps package?
Click to expand...
Click to collapse
Simply i noticed that built-in gapps are quite old, and also market cant be auto-updated
DmK75 said:
Simply i noticed that built-in gapps are quite old, and also market cant be auto-updated
Click to expand...
Click to collapse
Fair enough, thanks for the follow-up.
DmK75 said:
Simply i noticed that built-in gapps are quite old, and also market cant be auto-updated
Click to expand...
Click to collapse
Just to know, how to install this package? Still through droidexplorer?
EDIT: I figured out what was causing the crash. I went through my settings one by one from a clean start and rebooted between each setting change. Using the "Vertical old" App Drawer style was causing the bootup crashes.
A new ADW Launcher EX version was released last night. I like the new look but I am receiving crash notices upon reboot that are to be emailed to the developer. Everything seems to work fine. I wiped the ap data using Titanium BU and reset everything back to the way I like it but the notices continue. Running "Fix Permissions" or wiping Delvik cache also did not help. I am on CM7.1 with the latest Tiamat Kernel.
Any ideas on how to stop the bootup crash notices?
Here is the crash report:
DETAILS:
New Trace collected :
=====================
Error Report collected on : Wed Dec 07 10:15:21 MST 2011
Informations :
==============
Version : 1.3.3.5
Package : org.adwfreak.launcher
FilePath : /data/data/org.adwfreak.launcher/files
Phone ModelPC36100
Android Version : 2.3.7
Board : supersonic
Brand : sprint
Device : supersonic
Display : GWK74
Finger Print : sprint/htc_supersonic/supersonic:2.3.3/GRI40/61076:user/release-keys
Host : ashpool
ID : GRI40
Model : PC36100
Product : htc_supersonic
Tags : test-keys
Time : 0
Type : user
User : shade
Total Internal memory : 448397312
Available Internal memory : 159465472
Custom Informations :
=====================
Stack :
=======
java.lang.RuntimeException: Unable to destroy activity {org.adwfreak.launcher/org.adwfreak.launcher.Launcher}: java.lang.NullPointerException
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2793)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:2811)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:2927)
at android.app.ActivityThread.access$1600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3835)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at org.adwfreak.launcher.AlmostNexusSettingsHelper.B(SourceFile:233)
at org.adwfreak.launcher.IconHighlights.b(SourceFile:20)
at org.adwfreak.launcher.IconHighlights.a(SourceFile:74)
at org.adwfreak.launcher.AllAppsGridView.a(SourceFile:161)
at org.adwfreak.launcher.Launcher.onDestroy(SourceFile:1459)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2780)
... 12 more
Cause :
=======
java.lang.RuntimeException: Unable to destroy activity {org.adwfreak.launcher/org.adwfreak.launcher.Launcher}: java.lang.NullPointerException
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2793)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:2811)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:2927)
at android.app.ActivityThread.access$1600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3835)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at org.adwfreak.launcher.AlmostNexusSettingsHelper.B(SourceFile:233)
at org.adwfreak.launcher.IconHighlights.b(SourceFile:20)
at org.adwfreak.launcher.IconHighlights.a(SourceFile:74)
at org.adwfreak.launcher.AllAppsGridView.a(SourceFile:161)
at org.adwfreak.launcher.Launcher.onDestroy(SourceFile:1459)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2780)
... 12 more
java.lang.NullPointerException
at org.adwfreak.launcher.AlmostNexusSettingsHelper.B(SourceFile:233)
at org.adwfreak.launcher.IconHighlights.b(SourceFile:20)
at org.adwfreak.launcher.IconHighlights.a(SourceFile:74)
at org.adwfreak.launcher.AllAppsGridView.a(SourceFile:161)
at org.adwfreak.launcher.Launcher.onDestroy(SourceFile:1459)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2780)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:2811)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:2927)
at android.app.ActivityThread.access$1600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3835)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at dalvik.system.NativeStart.main(Native Method)
**** End of current Report ***
"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
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
Hi,
Two weeks ago, my back-facing camera fc the stock CM camera app and won't be recognized in any other cam apps...
I didn't changed any setting!
Here is the log from the CM camera app..
java.lang.AssertionError: Supported FPS ranges cannot be null.
at android.hardware.camera2.legacy.LegacyMetadataMapper.mapControlAe(LegacyMetadataMapper.java:410)
at android.hardware.camera2.legacy.LegacyMetadataMapper.mapCharacteristicsFromParameters(LegacyMetadataMapper.java:183)
at android.hardware.camera2.legacy.LegacyMetadataMapper.createCharacteristics(LegacyMetadataMapper.java:154)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:191)
at com.android.camera.one.OneCameraManager.isCamera2Supported(OneCameraManager.java:132)
at com.android.camera.one.OneCameraManager.create(OneCameraManager.java:95)
at com.android.camera.one.OneCameraManager.get(OneCameraManager.java:74)
at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1415)
at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:101)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2310)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2419)
at android.app.ActivityThread.access$900(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5293)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
I've already cleaned the cache.
Thanks for anything that can help me!
FrKamikaze said:
Hi,
Two weeks ago, my back-facing camera fc the stock CM camera app and won't be recognized in any other cam apps...
I didn't changed any setting!
Here is the log from the CM camera app..
java.lang.AssertionError: Supported FPS ranges cannot be null.
at android.hardware.camera2.legacy.LegacyMetadataMapper.mapControlAe(LegacyMetadataMapper.java:410)
at android.hardware.camera2.legacy.LegacyMetadataMapper.mapCharacteristicsFromParameters(LegacyMetadataMapper.java:183)
at android.hardware.camera2.legacy.LegacyMetadataMapper.createCharacteristics(LegacyMetadataMapper.java:154)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:191)
at com.android.camera.one.OneCameraManager.isCamera2Supported(OneCameraManager.java:132)
at com.android.camera.one.OneCameraManager.create(OneCameraManager.java:95)
at com.android.camera.one.OneCameraManager.get(OneCameraManager.java:74)
at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1415)
at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:101)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2310)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2419)
at android.app.ActivityThread.access$900(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5293)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
I've already cleaned the cache.
Thanks for anything that can help me!
Click to expand...
Click to collapse
Boot into recovery wipe cache & dalvik cache. Reboot system.
Open settings/apps/all/camera/clear data
I've just done that, then launched the camera. But it recrashed after two seconds of black screen
FrKamikaze said:
I've just done that, then launched the camera. But it recrashed after two seconds of black screen
Click to expand...
Click to collapse
Then the only way is reflash the rom
Well okay, thanks anyway! :/