FORUMS
Remove All Ads from XDA

Shaw FreeRange for MI Box V4.2.1.001

23 posts
Thanks Meter: 10
 
By buggine, Junior Member on 28th May 2017, 02:08 AM
Post Reply Email Thread
Shaw Free Range v 4.2.1.001 on MI Box
I used these instruction posted from another user in a different forum, thought i would share.

Tools used:
APK Icon Editor
apktool
APK 4.2.1.001 APK from apkpure.com ( shaw Freerange )

1.) Download APK
2.) Decompile the APK
apktool d {download location} -o {output location}
3.) Goto {output location} open AndroidManifest.xml

4.) Add the below lines after line 61 (other apk may not be line 61)
Code:
Code:
<activity android:label="" android:launchMode="singleTop" android:name="com.xfinity.cloudtvr.view.AndroidTvBrowseActivity" android:theme="@style/DefaultAppTheme.Xtv.Browse" android:windowSoftInputMode="adjustPan"/>
        <activity android:configChanges="orientation|screenSize" android:label="" android:launchMode="singleTop" android:name="com.xfinity.cloudtvr.view.PlayerActivity" android:parentActivityName="com.xfinity.cloudtvr.view.AndroidTvBrowseActivity" android:theme="@style/DefaultAppTheme.Xtv.Browse.Player" android:windowSoftInputMode="adjustPan">
            <meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".view.AndroidTvBrowseActivity"/>
        </activity>
5.) Recompile the APK
apktool b {output location}
6.) open APK in APK Icon Editor
7.) In APK Icon Editor File -> Explore APK Contents
8.) copy {output location}/build/apk/AndroidManifest.xml to the Explore APK Contents - [replace file]
9.) In APK Icon Editor File -> Export (Pack) APK
10.) Sideload to you Mi Box
The Following User Says Thank You to buggine For This Useful Post: [ View ] Gift buggine Ad-Free
 
 
28th May 2017, 02:11 AM |#2  
OP Junior Member
Thanks Meter: 10
 
More
Extra stuff abbout the shaw mod
Shaw Freerange.


The menu items on the top of the screen are still chopped but it manageable. Just to clarify this is working for the MI Box. The App will not launch if you are using the Sideload Launcher. You must launch from the Apps in Settings. .
31st May 2017, 11:30 PM |#3  
Junior Member
Thanks Meter: 1
 
More
Would either of you be willing to post the APK here for download? I'd love to test this on my Shield TV.
13th June 2017, 08:12 PM |#4  
OP Junior Member
Thanks Meter: 10
 
More
Shaw/Xfinity Android TV TOP MENU FIX!
Tools Used: APK Icon Editor

Process:
1. Open APK with APK-Icon-Editor
2. Change Current mode to APKTOOL (If you are in ZIP mode, you will not see all files.)
3. Explorer APK Contents
4. Open file (\res\layout-television-v13\actionbar_custom.xml)
5. Change the following to 78.0dip form 64dip ( android:layout_height="78.0dip) and save.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="bottom|center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"
  xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
    <com.xfinity.common.view.metadata.ActionViewContainer android:id="@id/ab_animated_button_bar" android:background="@drawable/animated_button_bar_bg" android:layout_width="fill_parent" android:layout_height="78.0dip" android:layout_marginLeft="24.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="8.0dip" app:textSize="@dimen/nav_bar_button_text_size" />
</LinearLayout>
5. Open file ( \res\values-television-v13\dimens.xml)
6. change the follwoing to 25dip from 32dip (<dimen name="nav_bar_button_text_size">25.0dip</dimen>) and save
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <dimen name="list_item_side_padding">48.0dip</dimen>
    <dimen name="action_view_spacing_inner">64.0dip</dimen>
    <dimen name="overscan_horizontal_adjustment">48.0dip</dimen>
    <dimen name="overscan_vertical_adjustment">27.0dip</dimen>
    <dimen name="nav_bar_button_text_size">25.0dip</dimen>
    <dimen name="nav_item_text_selected_spacing">16.0dip</dimen>
    <dimen name="nav_item_text_spacing">8.0dip</dimen>
</resources>
7. Export (Pack) APK
8. Install apk and Enjoy
The Following User Says Thank You to buggine For This Useful Post: [ View ] Gift buggine Ad-Free
14th June 2017, 02:23 PM |#5  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by atheoncrutch

Would either of you be willing to post the APK here for download? I'd love to test this on my Shield TV.

Can you please let us know if you are successful with the apk on Shield TV? Thanks very much.
14th June 2017, 02:36 PM |#6  
OP Junior Member
Thanks Meter: 10
 
More
Quote:
Originally Posted by Integrity2

Can you please let us know if you are successful with the apk on Shield TV? Thanks very much.

With the fixed mentioned above, along with the first fix at the top of the form, the one to make it work on Android TV, i do believe this does work on Shield TV as well. Sorry i don't have a shield TV box to test with. There is another form that may be of help from Xfinity TV Mod Android Box (HDMI output) by aiemassfiria. He will be taking my menu fix and integrating it into some of the APK's he's been working on.

https://forum.xda-developers.com/and...utput-t3535881
16th June 2017, 07:00 AM |#7  
Junior Member
Thanks Meter: 1
 
More
I used the steps above to modify the apk but unfortunately it crashes immediately upon launch on my shield. If anyone wants to post their modified apk I can try that as well, in case I messed up with mine.
19th June 2017, 01:50 AM |#8  
Junior Member
Thanks Meter: 0
 
More
Shaw FreeRange TV no longer works on my android tv (Sony Bravia from 2016 -- model KDL-55W800C).
The last version that worked (always had to sideload it) was 2.1.0.004 but I believe they updated something on the server-side so it no longer works
Here's a direct download to it in case you want to look at what changed in the android protections since then: https://drive.google.com/open?id=0B7...kwzRmRyWl9hNVU

I can confirm the apk here doesn't work: https://forum.xda-developers.com/sho...5&postcount=65
19th June 2017, 03:58 AM |#9  
OP Junior Member
Thanks Meter: 10
 
More
Shaw Free Range v 4.2.2.001
Quote:
Originally Posted by t0i

Shaw FreeRange TV no longer works on my android tv (Sony Bravia from 2016 -- model KDL-55W800C).
The last version that worked (always had to sideload it) was 2.1.0.004 but I believe they updated something on the server-side so it no longer works
Here's a direct download to it in case you want to look at what changed in the android protections since then: https://drive.google.com/open?id=0B7...kwzRmRyWl9hNVU

I can confirm the apk here doesn't work: https://forum.xda-developers.com/sho...5&postcount=65


Try this one From


http://199.175.53.21/shawfreerangetv.leanback422001.apk
The Following User Says Thank You to buggine For This Useful Post: [ View ] Gift buggine Ad-Free
19th June 2017, 06:06 AM |#10  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by buggine

Try this one From


h t t p : / / 199.175.53.21/ shawfreerangetv.leanback422001.apk


This one works! thanks.

Who is responsible for this apk? Can I learn how this is done?

Thanks,
19th June 2017, 02:36 PM |#11  
OP Junior Member
Thanks Meter: 10
 
More
Shaw TV
Quote:
Originally Posted by t0i

This one works! thanks.

Who is responsible for this apk? Can I learn how this is done?

Thanks,

Who is responsible for the APK? Well, we all are! The link I provided was from this thread https://forum.xda-developers.com/and...3535881/page13. I don't personally post links to my server. If you would like to know how its done, I suggest you follow the steps listed in this thread to modify the APK. the first one will get it to work on android TV boxes for Shield and Mi box, the second fixes the menu. There is also a fix for the HDMI as well, but not needed for the MI box or the Shield TV. you will find it in the link in this post and thanks to aiemassfiria . One thing I've observed though, the App will not work if your time isn't correct on your device, it will give a connection error when registering. So make sure the time is correct.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes