• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[JIO STB] Guide to Enable ADB and Sideload apps on the updated version of JIO STB

Search This thread

k0chiro

Member
Aug 27, 2021
8
2

akshay.ku

k0chiro And others​

Take a look at my post for gapps, persistent adb, and giving unknown sources permission with adb
I am still getting startup ads after uninstall all apps except jio launcher and jio settings. jio ad push and jio store is disabled
 

shbhmmry

Member
Sep 4, 2021
6
0
Solution mentioned here already

Additionally you can put the command
update "reset"
and then try following the process.
Hi , finally i was able to install the rom turns out it was a problem of usb cable . I bought a usb 2.0 cable and tested it with hard drive for data transfer. After that rom installation failed a few time but succeeded in 4-5 attempts.
Few things to consider
1-install amlogic in c folder to not get usb error.
2- Test the cable before using.
3- Installing apps via usb was not working maybe because my pendrive was 128 GB NTFS format. But i created a hotspot on mobile and disabled the internet on mobile and connected pc and stb to hotspot to install apps via adb.
4- Many apps were zoomed in cutting 3-4% of content there is a setting option to zoom out, for me 94% zoom is working perfectly.
5- For installing jio tv try the KODI tv trick its good and working for me.
6- IMPORTANT - Don't connect your jio stb to internet until you have done the last steps (removing apps via adb) otherwise it will reset to old os .
 

shbhmmry

Member
Sep 4, 2021
6
0
nvm i fixed it with adb command here is the command if anyone faces same issue:
adb shell setprop persist.sys.timezone "Asia/Kolkata"
This will set time to IST as well as other units such as Metric system.
@Chandra_Geek I am facing the same problem but your command is not working . Is there something you missed to tell ? I am using the rom given here in post not the one in telegram group.
1630963970781.png
 
Last edited:

shbhmmry

Member
Sep 4, 2021
6
0
Can you give me invite link for the group, its way easier to reply there. Make sure you trusted your computer on jio stb before running the command.
The command to enable unknown sources permission for an app with adb is,
adb shell appops set "package_name"(without quotes) REQUEST_INSTALL_PACKAGES allow

This way there is no need to get back to aidan for enabling unknown sources permission for an app

New Rom with a modified system image has been released by another developer in telegram group(Group).
The Dev also plans to give a further update with more improvements(No ETA).
Main features of the rom are Gapps and persistent adb(i.e no need to go to settings editor app to enable again).
Group is present in the post by real engineer. When i connected my pc via adb i got a prompt for authentication on jiostb that's all i got and i accepted it. No other prompt or setting for adding trusted device. Can you please post on the telegram or here where you added it as trusted device. I read a post saying it can be done only on rooted phones .Did you do it in the first rom or second rom? Thanks .
 
Last edited:

Evan_Ferrao

Member
Aug 12, 2020
36
108
Redmi Note 9
Disclamer :- We are not responsible for any type of damage,we are not responsible for literally anything, follow this guide at your own risk.

We need help from a developer for porting twrp and making the mi box firmware stable for the Jio STB, Anyone willing to help can DM. Thanks.


Follow the guide till the last step(19th step) for proper results, Don't stop somewhere in the middle

You need a PC, a usb male to male cable,any safety pin or sim ejector pin, and of course JIO STB

1)Download amlogic tools 5.5.0(Amlogic Tools). Install worldcup driver using AMLogic driver installer.exe.

2)Download system-aidan.img (Thanks to aidan for it, I have extracted it from his mi box port rom)



3)Download system.img of c200(if the model of your stb is c200),download d200 if the model of your stb is d200.

4)put the system-aidan.img in the amlogic tools/bin folder,put the system.img(Jio STB) also in the same folder.

5)Now disconnect the power plug of the box, and connect usb male to male cable from the box to the PC.

6)Open AMLBootloaderConsole.exe you will see a screen waiting for device.

7)press and hold the reset button of the box using a pin and simultaneously insert the power plug.

8)You should release the pin after connection is established(Windows will make a sound and you will also see a screen [email protected] in bootloader console).

9)Open a cmd in the bin folder of amlogic tools. (You can type the command 'update scan' to check if the device is connected or not.

10)Run the command


11)after it is success run,


and next



12)now remove usb cable, power plug and start the box normally and then complete the setup and don't forget to select skip at WIFI selection(otherwise device may get stuck there).

You can now install apps using file browser app by connecting pendrive, you can skip 13,14,15,19 steps If you don't need adb. (Don't forget to give unknown sources permission to apps like aptoide tv,File explorer etc.)

***OPTIONAL SECTION***(FOR ADB)
13)Now ensure that both pc and box are connected to same wifi and get the ipv4 address of the box(you will find it in about page of settings).

14)Enable usb debugging and then connect to the box using adb by running the command


15)Install settings database editor app (SetEdit)
and give it write_secure_settings permission with adb.

ADB Command:-


***OPTIONAL SECTION END***


16)now turn off the stb and get back to that [email protected] that we got to using bootloader console in the start.(do the 5,6,7,8,9 steps again)

17)now run,

(this will install jio system again).

18)after it is success run,


and next



now reboot and enjoy the apps.


***OPTIONAL SECTION***(FOR ADB)
19)Now you can see in global settings page of settings database editor app, the property adb_enabled is set to 0, make it 1 for enabling adb.
***OPTIONAL SECTION END***



TIP :- Uninstalling apps like rcu ota,tr069 client,jio remote care,jio settings and some other jio apps with ADB can prevent the box from updating/getting reset automatically in the future.

Uninstalling jio ads push app, jio stb launcher can remove the ads on the box and don't forget to install another launcher(ATV,Leanback etc.) before uninstalling the jio launcher.

Open settings app(This) can be used for opening the original android settings.


ADB commands to remove the jio apps (including jio settings ,jio launcher)




Note :- We don't use mi box firmware because it is not stable and has serious bugs like video's don't play.

We need help from a developer for porting twrp and making the mi box firmware stable for the Jio STB, Anyone willing to help can DM. Thanks.



Credits :-

Srikant(srikantnagar) for finding out that our jio box(both d200 and c200) supports treble, which is the reason for knowing mi box system.img works for our box.

Aidan(aidanmacgregor) for his mi box port to other amlogic boxes(Here).

Nishant Sharma(nishant6577) for his assistance with testing, debugging etc.

My part was finding the method to flash recovery, custom firmware and extracting the stock firmware of the box.
Sorry for asking, but would it be possible for MCM300?
 

RealEngineer

Member
Jun 29, 2021
15
17
Sorry for asking, but would it be possible for MCM300?
It might be. We can try flashing android 7 version of mi box port.
Join the telegram group and we can test it there.
But many users having your model have applied for replacement from Jio and then they received c200/d200 model. According to them MCM300 is inferior in usability(lag and other issues) compared to c200/d200.
 

Evan_Ferrao

Member
Aug 12, 2020
36
108
Redmi Note 9
It might be. We can try flashing android 7 version of mi box port.
Join the telegram group and we can test it there.
But many users having your model have applied for replacement from Jio and then they received c200/d200 model. According to them MCM300 is inferior in usability(lag and other issues) compared to c200/d200.

Can You Please Link the telegram group?
I'll Also Try Asking Jio For a Replacement Unit Meanwhile
 

demoakka

Senior Member
Jan 5, 2013
64
23
i m looking for usb male to male cable, any one can point me out from amazon in ? as most of user got error bcoz of cable
 

Otus9051

Member
Jun 3, 2021
45
14
http://localhost:9051
i m looking for usb male to male cable, any one can point me out from amazon in ? as most of user got error bcoz of cable
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Disclaimer :- We are not responsible for any type of damage,we are not responsible for literally anything, follow this guide at your own risk. This is only for educational purposes.

    We need help from a developer for porting twrp and making the mi box firmware stable for the Jio STB, Anyone willing to help can DM. Thanks.


    Follow the guide till the last step(19th step) for proper results, Don't stop somewhere in the middle

    You need a PC, a usb male to male cable,any safety pin or sim ejector pin, and of course JIO STB

    1)Download amlogic tools 5.5.0(Amlogic Tools). Install worldcup driver using AMLogic driver installer.exe.

    2)Download system-aidan.img (Thanks to aidan for it, I have extracted it from his mi box port rom)


    Download system-aidan and system.img of c200/d200 Here

    3)Download system.img of c200(if the model of your stb is c200),download d200 if the model of your stb is d200.

    4)put the system-aidan.img in the amlogic tools/bin folder,put the system.img(Jio STB) also in the same folder.

    5)Now disconnect the power plug of the box, and connect usb male to male cable from the box to the PC.

    6)Open AMLBootloaderConsole.exe you will see a screen waiting for device.

    7)press and hold the reset button of the box using a pin and simultaneously insert the power plug.

    8)You should release the pin after connection is established(Windows will make a sound and you will also see a screen [email protected] in bootloader console).

    9)Open a cmd in the bin folder of amlogic tools. (You can type the command 'update scan' to check if the device is connected or not.

    10)Run the command

    update partition system system-aidan.img

    11)after it is success run,
    update bulkcmd "setenv -f EnableSelinux permissive"

    and next

    update bulkcmd "saveenv"

    12)now remove usb cable, power plug and start the box normally and then complete the setup and don't forget to select skip at WIFI selection(otherwise device may get stuck there).

    You can now install apps using file browser app by connecting pendrive, you can skip 13,14,15,19 steps If you don't need adb. (Don't forget to give unknown sources permission to apps like aptoide tv,File explorer etc.)

    ***OPTIONAL SECTION***(FOR ADB)
    13)Now ensure that both pc and box are connected to same wifi and get the ipv4 address of the box(you will find it in about page of settings).

    14)Enable usb debugging and then connect to the box using adb by running the command

    adb connect 192.xxx.xxx.xxx (the box's ipv4 address).

    15)Install settings database editor app (SetEdit)
    and give it write_secure_settings permission with adb.

    ADB Command:-

    adb shell pm grant io.github.muntashirakon.setedit android.permission.WRITE_SECURE_SETTINGS

    ***OPTIONAL SECTION END***


    16)now turn off the stb and get back to that [email protected] that we got to using bootloader console in the start.(do the 5,6,7,8,9 steps again)

    17)now run,

    update partition system system.img
    (this will install jio system again).

    18)after it is success run,

    update bulkcmd "setenv -f EnableSelinux permissive"

    and next

    update bulkcmd "saveenv"

    now reboot and enjoy the apps.


    ***OPTIONAL SECTION***(FOR ADB)
    19)Now you can see in global settings page of settings database editor app, the property adb_enabled is set to 0, make it 1 for enabling adb.
    ***OPTIONAL SECTION END***



    TIP :- Uninstalling apps like rcu ota,tr069 client,jio remote care,jio settings and some other jio apps with ADB can prevent the box from updating/getting reset automatically in the future.

    Uninstalling jio ads push app, jio stb launcher can remove the ads on the box and don't forget to install another launcher(ATV,Leanback etc.) before uninstalling the jio launcher.

    Open settings app(This) can be used for opening the original android settings.


    ADB commands to remove the jio apps (including jio settings ,jio launcher)

    adb shell
    pm uninstall -k --user 0 com.communitake.remotecontrolservice
    pm uninstall -k --user 0 com.sdmc.factorymonitor (only for c200)
    pm uninstall -k --user 0 com.sdmc.readedid (only for c200)
    pm uninstall -k --user 0 com.iwedia.pvodupdateservice
    pm uninstall -k --user 0 com.jio.stbremotecare.ril
    pm uninstall -k --user 0 com.iwedia.updatercuotaservice
    pm uninstall -k --user 0 com.jio.stbadservice
    pm uninstall -k --user 0 com.rjil.jiostbsetting (This is jio settings,better to install open settings app before removing this)
    pm uninstall -k --user 0 com.iwedia.ui.rjio.launcher.reliance (This is jio launcher,better to install other launcher app before removing this)
    pm uninstall -k --user 0 com.rjil.jiostblogservice
    pm uninstall -k --user 0 com.iwedia.fti.rjio.fti.reliance
    pm uninstall -k --user 0 com.jio.stb.tifextn
    pm uninstall -k --user 0 insight.tr069.client
    pm uninstall -k --user 0 com.android.managedprovisioning
    pm uninstall -k --user 0 com.iwedia.httpupdate


    Note :- We don't use mi box firmware because it is not stable and has serious bugs like video's don't play.

    We need help from a developer for porting twrp and making the mi box firmware stable for the Jio STB, Anyone willing to help can DM. Thanks.



    Credits :-

    Srikant(srikantnagar) for finding out that our jio box(both d200 and c200) supports treble, which is the reason for knowing mi box system.img works for our box.

    Aidan(aidanmacgregor) for his mi box port to other amlogic boxes(Here).

    Nishant Sharma(nishant6577) for his assistance with testing, debugging etc.

    My part was finding the method to flash recovery, custom firmware and extracting the stock firmware of the box.
    4
    Thanks a lot of this quick tutorial, the only reason I even ordered the STB is because of this post. I have a problem with the region / time. The time is wrong and i am unable the set date and time from settings as it is greyed out is there any solution for this?
    nvm i fixed it with adb command here is the command if anyone faces same issue:
    adb shell setprop persist.sys.timezone "Asia/Kolkata"
    This will set time to IST as well as other units such as Metric system.
    2

    akshay.ku

    k0chiro And others​

    Take a look at my post for gapps, persistent adb, and giving unknown sources permission with adb
    2
    Some tips - Disable apps like jio store so that it don't reinstall stupid shilpa app and only enable it to update apps once a while.
    Disable JioAds Push to avoid those loud startup ads
    Button Mapper is a handy app. It allow you to use those color buttons for something that you desire. I changed Tv button to youtube.

    Things to remember - Commands goes in "command prompt" and not Amlogic bootloader console and remember to allow unknown sources permission for aptoide, youtube next etc.

    I uninstalled almost all apps listed by OP except launcher and store but I still got update which didn't really change anything.
    1
    The command to enable unknown sources permission for an app with adb is,
    adb shell appops set "package_name"(without quotes) REQUEST_INSTALL_PACKAGES allow

    This way there is no need to get back to aidan for enabling unknown sources permission for an app

    New Rom with a modified system image has been released by another developer in telegram group(Group).
    The Dev also plans to give a further update with more improvements(No ETA).
    Main features of the rom are Gapps and persistent adb(i.e no need to go to settings editor app to enable again).