Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

[BETA][5.0.2] Android TV (CM12 based) for WeTek Play

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [BETA][5.0.2] Android TV (CM12 based) for WeTek Play

    Release notes

    Android TV is very limited at the moment, you can see it, for example. opening Play Store. Because of this I've decided for an "hybrid build" (see it like Windows 8 with Metro/Modern and Desktop parts.)

    From ATV's launcher you will be able to run only a limited set of apps (only those built with support for the Android TV SDK), for all the other apps I've included Chainfire's Sideload launcher.

    Using this launcher you can access to all apps installed on the system, included regular Android settings (I left if there because it's way more complete, from there you can even change resolution and/or overscan for your WeTek like in CM12).

    Since the Play Store is really empty, if you wanna install apps without sideloading the APK, you can launch the browser (from Sideload Launcher), search for the app that you wanna install straight from the address bar (ex. "mx player"), click install and open the resulting link in Play Store; it's easier said than done.

    If the device seems sluggish it might be caused by a background install process (an app is updating), the dex2oat process (aka ART compiles the apk) is very resource hungry, so just let it finish

    Remember that as a consequence of the switch to art from dalvik: first boot, updates and apps installation will take longer; this happens because art compiles the apk and does not work like dalvik that was using a just-in-time approach (so expect almost 10 minutes for the first boot and future upgrades)


    First install instructions

    * As really first thing install one of the available customs recoveries (CWM or TWRP)
    * Power off your device and unplug the AC power cord.
    * Get the latest available ROM and GAPPS version from the links below and copy them to a MicroSD card.
    * Now insert the MicroSD card in your STB.
    * Plug the AC power cord while you keep pressed the little reset pinhole (located on the bottom of the device) for 10 seconds (just count slowly to ten and it will be good).
    * Once the device has booted to recovery perform a factory reset and flash the ROM's zip for first followed by the GAPPS zip.
    * Reboot and enjoy Android TV.



    Update instructions

    * Get the latest available ROM and GAPPS version from the links below and copy them to a MicroSD card.
    * Now insert the MicroSD card in your STB.
    * Enable "Developer options" following this tutorial and from it enable the "Reboot to recovery" option.
    * Bring up power menu by keeping pressed the power button on the STB for a couple of seconds (or pushing F4 if you have a keyboard plugged in) and select "Reboot -> recovery".
    * Once the device has booted to recovery flash the ROM's zip for first followed by the GAPPS zip.
    * Reboot and enjoy your updated Android TV.



    Downloads

    * ROM 2015-01-15
    * GAPPS 2014-12-31 (ATV)



    Screenshots





    Last edited by ChristianTroy; 15 January 2015, 15:08.
    WeTek Play
    Recoveries: CWM | TWRP
    Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
    KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
    Misc: Unbrick WeTek Play

    #2
    Older builds

    * ROM 2015-01-13
    * ROM 2015-01-12
    * ROM 2015-01-11
    * ROM 2015-01-10
    * ROM 2015-01-05
    * ROM 2015-01-02
    * ROM 2015-01-01
    * ROM 2014-12-31
    * ROM 2014-12-28
    * ROM 2014-12-27
    Last edited by ChristianTroy; 15 January 2015, 15:08.
    WeTek Play
    Recoveries: CWM | TWRP
    Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
    KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
    Misc: Unbrick WeTek Play

    Comment


      #3
      well done
      Its all about FW !!!

      Comment


        #4
        Maby it will be of some use.
        Its lenbacklauncher apk but this one is not odexed and its 15mb
        I think the one on xda was something about 8mb
        If you will need any other arm android tv apps let me know

        MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
        Everything is possible if we work together!
        ApkFreak

        Comment


          #5
          Thank you Lewy Last night I was able to deodex the gapps from the Nexus Player factory image, included its LeanbackLauncher, now I'll drink my coffee and will try to sideload it and see what happens.

          Right now I guess I should be good with most of the gapps, apart from "Katniss" (it's the google search/now app that replaces "Velvet" that is used on phones / tablets), the problem is that it comes with some libraries that are built for x86 (system-deodexed/priv-app/Katniss/lib/x86/libvision_face_jni.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped)

          You can find it here: https://play.google.com/store/apps/d...ndroid.katniss (is there a way to fetch it from there?)


          @lewy
          excellent yours works, the one from the nexus player doesn't, it fails to compile, now let's try the google apps, at least the play store "PhoneskyKamikazeCanvas"
          I was able to update it from the play store opening its page, I tried to install katniss but it says it's not available in my country, damn big G

          edit: the deodexed version of the gapps that came from nexus player fail to compile and don't work, damn I'd need at least google play and gms :P in the "leanback" version


          edit2: I'd need somebody with a nexus player that pulls me /data/app content so I have the "naked" apks, anybody has it?
          Last edited by ChristianTroy; 27 December 2014, 07:34.
          WeTek Play
          Recoveries: CWM | TWRP
          Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
          KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
          Misc: Unbrick WeTek Play

          Comment


            #6
            To summarize, the launcher from play store works, everything would be good if I manage to get the gapps for Android TV, a good start would be PhoneskyKamikazeCanvas.apk and PrebuiltGmsCorePano because if I use the phone/tablet version of them, they won't update to the leanback/pano version.

            I posted on XDA in Nexus Player forum to see if somebody with a NP can dump me /data/app because hopefully gms and store have been updated and there the apk is deodexed and working on all architectures.
            WeTek Play
            Recoveries: CWM | TWRP
            Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
            KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
            Misc: Unbrick WeTek Play

            Comment


              #7
              Try this:
              MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

              also
              MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

              MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.


              Its two apps you asked for, hope you will get it to work

              Edit:
              Added Katniss and libs.
              Last edited by lewy20041; 27 December 2014, 09:50.
              Everything is possible if we work together!
              ApkFreak

              Comment


                #8
                Thanks, I see it's the same size as the one I have found from Google ADT-1 factory zip (damn google that for the updated stuff uses patches to save space/bandwidth...), I'm building a gapps package right now based on that one, do you confirm me that for that gmscorepano you need only those libraries?

                Code:
                -rw-r--r-- 1 alan alan 458K 28 feb  2008 libAppDataSearch.so
                -rw-r--r-- 1 alan alan 1,1M 28 feb  2008 libconscrypt_jni.so
                -rw-r--r-- 1 alan alan 1,4M 28 feb  2008 libgames_rtmp_jni.so
                -rw-r--r-- 1 alan alan 158K 28 feb  2008 libgcastv2_base.so
                -rw-r--r-- 1 alan alan 174K 28 feb  2008 libgcastv2_support.so
                -rw-r--r-- 1 alan alan  30K 28 feb  2008 libjgcastservice.so
                WeTek Play
                Recoveries: CWM | TWRP
                Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
                KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
                Misc: Unbrick WeTek Play

                Comment


                  #9
                  Cant say as i dont have any device with android tv.
                  Just a bunch of files on my pc.
                  There is few OTA for ADT-1, so maby you can use something from it



                  (damn google that for the updated stuff uses patches to save space/bandwidth...) +1
                  Everything is possible if we work together!
                  ApkFreak

                  Comment


                    #10
                    yes the second and third ota patch some file and don't overwrite them, I'm doing a lot of crap mixing stuff from those otas hoping it will work... I'd need to find a nandroid backup of someone running adt-1, the backup of system would be sufficient
                    WeTek Play
                    Recoveries: CWM | TWRP
                    Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
                    KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
                    Misc: Unbrick WeTek Play

                    Comment


                      #11
                      Heh,
                      If i manage to find something i will let you know.
                      Everything is possible if we work together!
                      ApkFreak

                      Comment


                        #12
                        Can't add a google account (works for imap or exchange)

                        Code:
                        W/AccountAuthenticator( 3501): addAccount(com.google)
                        W/AccountAuthenticator( 3501): java.lang.NullPointerException: list == null
                        W/AccountAuthenticator( 3501):  at java.util.Collections.unmodifiableList(Collections.java:2283)
                        W/AccountAuthenticator( 3501):  at com.google.android.gms.auth.firstparty.delegate.SetupAccountWorkflowRequest.c(SourceFile:83)
                        W/AccountAuthenticator( 3501):  at avu.a(SourceFile:86)
                        W/AccountAuthenticator( 3501):  at avp.a(SourceFile:90)
                        W/AccountAuthenticator( 3501):  at avn.a(SourceFile:158)
                        W/AccountAuthenticator( 3501):  at avn.a(SourceFile:87)
                        W/AccountAuthenticator( 3501):  at avw.addAccount(SourceFile:182)
                        W/AccountAuthenticator( 3501):  at android.accounts.AbstractAccountAuthenticator$Transport.addAccount(AbstractAccountAuthenticator.java:128)
                        W/AccountAuthenticator( 3501):  at android.accounts.IAccountAuthenticator$Stub.onTransact(IAccountAuthenticator.java:67)
                        W/AccountAuthenticator( 3501):  at android.os.Binder.execTransact(Binder.java:446)
                        E/AddAccountWithTypeActivity( 3862): Failed to get add account intent: android.accounts.AuthenticatorException: addAccount failed
                        WeTek Play
                        Recoveries: CWM | TWRP
                        Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
                        KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
                        Misc: Unbrick WeTek Play

                        Comment


                          #13
                          It's a problem of PrebuiltGmsCorePano, if I replace it with the usual GmsCore it works, but you can't add a google account from Android TV's settings but you will be prompted to add one when you launch play store.

                          Probably that Gms is too old for 5.0.2
                          WeTek Play
                          Recoveries: CWM | TWRP
                          Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
                          KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
                          Misc: Unbrick WeTek Play

                          Comment


                            #14
                            Fixed it (I guess, lol), it's been a pain in the... Going to try a couple of things and I'll post a new build, greatly improved
                            WeTek Play
                            Recoveries: CWM | TWRP
                            Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
                            KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
                            Misc: Unbrick WeTek Play

                            Comment


                              #15
                              New build with new gapps, read carefully the release notes in the OP

                              * ROM 2014-12-27
                              * GAPPS 2014-12-27 (ATV)
                              WeTek Play
                              Recoveries: CWM | TWRP
                              Lollipop ROMs: CyanogenMOD 12 | OMNI | Android TV
                              KitKat ROMs: CyanogenMOD 11 | OMNI | ParanoidAndroid | AOKP
                              Misc: Unbrick WeTek Play

                              Comment

                              Working...
                              X