• 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

despo_b

New member
Jan 19, 2012
1
0
Getting libusb0.dll error have installed worldcup driver using AMLogic driver installer.exe. Downloaded libusb0.dll from net and copied to amlogic folder but it dosen`t work. Using win 10 ver 21h1 64bit. Please provide guide with images it will be helpful.
check the imageATTACHED HERE and findthe same in AMlogic folder and run< worldcup driver > as an admain. it will be installed
 

Attachments

  • Untitled.png
    Untitled.png
    23.7 KB · Views: 52
Nov 17, 2021
5
0
hello Sir, Every thing is work fine, but one miner problem is that usb video can not play by any player, i was tried many player like that vlc, mx, just player and many player but it can not search or play video from usb source, any solution for that ?
 

demoakka

Senior Member
Jan 5, 2013
74
28
Connect usb keyboard or Android Tv Remote in mobile to skip the initial setup screen and pair the jio remote from Remotes & Accessories tab in settings.
 

kirpeace

Senior Member
Dec 26, 2010
584
39
It says uninstall reliance launcher and remote services. Isnt that necessary services for stock rom adb. I disabled launcher to try and the box started blickering. I had to enable again.
 

Leo Ng

New member
Dec 13, 2021
1
0
I tried a many times following the steps given but I cannot flash the jio stb d200 v2.Maybe it's because of the new update Jio had released recently.Is anyone facing the same issue? Kindly help.
 

demoakka

Senior Member
Jan 5, 2013
74
28
I tried a many times following the steps given but I cannot flash the jio stb d200 v2.Maybe it's because of the new update Jio had released recently.Is anyone facing the same issue? Kindly help.
tell me your stb os version is it 6.2.2 ? if yes than no method will work with it.
 

sourav driod

New member
Jan 12, 2018
1
0
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)



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.
superb work, every thing working fine for me
 

Henberg

New member
Jan 7, 2022
1
0
Connect usb keyboard or Android Tv Remote in mobile to skip the initial setup screen and pair the jio remote from Remotes & Accessories tab in settings.
I am trying many apps from the mobile but none if them are pairing with STB....Can you pls help? I am stuck at the mobile pairing screen.
 

tanmay99

Senior Member
Aug 12, 2017
70
32
Ignore
: After countless tries in 2020, it got hardcoded in my brain that you can't get even vanilla settings on the box.
I finally gave in and began developing apps, as I needed them, on pure client side js for running on the absolutely-trashy jiopages (which has no documentation whatsoever).

Context (ignore): I am trying to get microphone access on clientside js on jiopages using getUserMedia (works on chromium/jiopages only from https: or file:, not from http).
Jiopages asks for microphone permission, and mic does get connected (technically), but there is no audio (upon using audioContext's analyzer's getByteFrequencyData), I found that no signal from mic.

**Neither from Bluetooth headset nor from the jio's ble remote**

*Actual question:* Has anyone of you got the remote's/ bluetooth headset's mic working on any third party app you sideloaded?

If anyone who has got time could test this html file on any browser (other than jiopages) they've sideloaded, to check if it shows a non zero number after clicking:

HTML:
<!DOCTYPE html>
<html>
<head>
<title>dontmind</title>
<style>
button{

width: 80%;
height: 80%;
font-size:1000%;
}
</style>

</head><body>

<button onclick="start()">Click plz</button>
<script>
function start(){
document.getElementsByTagName("button")[0].innerText="plz reload and grant mic permission";
const constraints = {
  video: false,
  audio: {
    echoCancellation: false,
    noiseSuppression: false,
    autoGainControl: false,
    HighpassFilter: false
  }
}

var context = new AudioContext({
  latencyHint: 'interactive'
});

navigator.mediaDevices.getUserMedia(constraints)
  .then((stream) => {
//    var source = context.createMediaStreamSource(stream);
//    source.connect(context.destination);



const audioContext = new AudioContext();
    const analyser = audioContext.createAnalyser();
    const microphone = audioContext.createMediaStreamSource(stream);
    const scriptProcessor = audioContext.createScriptProcessor(2048, 1, 1);

    analyser.smoothingTimeConstant = 0.8;
    analyser.fftSize = 1024;

    microphone.connect(analyser);
    analyser.connect(scriptProcessor);
    scriptProcessor.connect(audioContext.destination);
    scriptProcessor.onaudioprocess = function() {
      const array = new Uint8Array(analyser.frequencyBinCount);
      analyser.getByteFrequencyData(array);
      const arraySum = array.reduce((a, value) => a + value, 0);
      const average = arraySum / array.length;
//      console.log(Math.round(average));

document.getElementsByTagName("button")[0].innerText=Math.round(average);

 
    };




  }).catch( err => {
        //console.log("Khujli: " + err)
        document.getElementsByTagName("button")[0].innerText=("u got an error:" + err);
    });
}
</script>
</body></html>

Or can you tell me if anyone of you got the remote's/ bluetooth headset's mic working on any third party app you sideloaded?

Am actually dying to install the rom and check it myself but can't get the time
 
Last edited:

aijaz278

New member
Jan 12, 2022
1
0
Sir my stb got connected .but cmd update does not happen. I copy the update comand and paste it in cmd then enter but nothing happens. Please help
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Thanks Can you point me the the full rollback process.

    Just in case if I messed up something :geek:

    sure just join group and all detail are there
  • 13
    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.
    2
    check this screenshot. there is arrow. for me mobile sim ejector pin not work. so i use big size sefty pin