Having bought one of these X96 boxes last year I always wondered if or when there will be an update available.
With the thing running on Android 6.0.1 already I was not expecting monthly updates though.
Sadly the box always gives an error in regards to stack not being able to access the internet.
Turned out, at least for my box there is no real link it tries to access for the update, so it will always fail.
It also seems I am one of the lucky guy who already had a quite recent firmware installed - from July 2016.
Considering their release strategy and time stamping procedure the firmware was created sometime Feb- March 2016.
Everything worked fine except that some programs I installed caused crashes at times with no reason I could find.
Plus Kodi would often take forever and a bit more to get through the menus and start things.
The most annyoing part howver was that the remote did not provide the stop function.
All player buttons olny pause the video or skip it by 15seconds.
I decided it is time to search for some updates somewhere.....
Step 1: Why Update the Firmware?
If all works fine you should not!
It is always better to leave a well running system alone.
Sometimes Android like to bloat up from all the things we installed.
As with Windows everything leaves stuff behind even if uninstalled correctly.
Over time things can get slow or after some "tuning" certain parts not longer respond as the should.
With most of these boxes already rooted and open to all sorts of attack people even ruin their Android system by the use of tuning tools designed for smartphones....
And there are claims the some people got their box shipped with totally outdated firmware and no online update working.
For all this a backup of what you need and a fresh firmware install can solve a lot of problems and give you some speed back too.
Best reason is if you want to sell your box after extensive use and including quite a few personal things on it.
Nothing beast a fresh firmware when it comes to removing ALL your user data.
You can also try a wipe and factory reset from the recovery console if you don't want to flash a firmware.
Step 2: Finding Firmware....
With the S905 and S906 chipsets the good thing is that basically every box with the same amount of memory and same WiFi chip will be compatible for a firmware donation.
Big downside of this way is that you get a box branded for some other manufacturer and that the remote might not work at all.
No big deal if you prefer a WiFi mouse/keyboard kombo anyway.
And of course not every firmware comes in a format the X96 can use right away.
There are UBS burning tools to get these firmwares onto a box if you really need to though...
However, I wanted to get the original back in the hope to get a working remote or to find a way to turn the box on and off through the airmouse.
After some digging on the web I found the guys behind the X96 are actually nice enough to provide more or less regular updates for their boxes, even for the new model with dual WiFi and Bluetooth 4.0.
Only problem with these updates is that they come without any instructions and are located on a chinese file hosting and website service - pan.baidu.com.
I used the Google translator for several hours without finding any way to register an account at Baidu without the need for a china based landline or mobile number to activate it.
There is none, which means as a normal guy you can only download files of up to about 200mb, everything bigger gives you an error message telling you to use their downloader tool - which needs a registered login as well.
But at least the firmware was found :)
The actual download problem was solved with some script and browser plugin in conjunction with a download manager.
If you need the details on the how to then please check my Ible about this task.
All original firmware versions for the X96 boxes can be found on this Baidu account for download.
Found an easier and faster way to get firmwares for all sorts of S905 boxes.
Step 3: Identifying the Correct Firmware for Your X96
I assume you installed a download manager of your choosing and the browser extension and script.
In the Baidu account you see a normal folder structure as you would with any filemanager.
It is all a bit messy with folders, files and Rar archives wildly mixed here.
If you click on the chinese symbols above the listed dates you can sort it all by date, which makes finding the latest version soooo much easier.
You will now notice the folder names.
X96 is pretty obvious, same for the added (2+16) or (1+8) in the name - indicating the firmware for 2GB/16GB and 1GB/8GB boxes.
The latest dates is always the latest firmware.
The one with 6330 in the name is for the new model that has dual WiFi and BT4.0, available for the normal and 2G versions.
As I only have the standard 2/16 box I will focus only on that model but the procedure is the same for the others.
A double click on the folder symbol next to the name will open the files contained within.
Usually 3 or 4.
You need to download all of them! Don't just download the image for the firmware alone as it won't work.
Step 4: Installing the New Firmware
If you have not done so then now is the best time to consider a backup!!!!
For Kodi you can use backup tools provided by the community, just make sure to save or copy it on a SD/USB stick.
For the programs, games and other things you might have installed on your box the best option is one of the backup solutions from the playstore or to install them all fresh if you have your progress and details saved in the cloud anyway.
Sorry for the bad image quality bad my cam struggled to get any focus on the screen :(
Get a SD card that is formatted in FAT32 - no ETFS no NTFS please!
Copy all firmware files into the root of your SD card.
Place the SD card into the slot of your box - without the power cord in it please.
Turn the TV on and get a toothpick ;)
Inside the AV port is a tiny push button - you need to press it with the toothpick, hold it and plug the power in.
After 2-5 seconds you will see a X96 logo on the screen - now release the button and remove the toothpick.
The box is now in the correct mode to install the firmware without asking from the SD.
You will see a little Android on the screen and a progess bar showing you how long it might take.
Whatever you do - do not turn the power off at this stage or will have a useless brick!
In my case it was about 10 minutes to complete.
The box will reboot and as it struggles to deal with the SD and dongle for the airmouse it might hang on the X96 logo.
Wait a minute or two and if still stuck power off and remove both the SD and the dongle or whatever else you might have in the USB port.
Now the box will start as normal and get back to naked Android, meaning you have to setup your Wifi and accounts.
After that Kodi will work as before and needs to update some addons and also deactivate some that no longer work - damn bloatware...
You are ready to enjoy a new box now.
The firmware currently available is dated August 2016 but was only uploaded recently.
Step 5: Troubleshooting With the New Firmware
The first thing I noticed that sometimes the remote is already activate and sometimes it is not.
Very annyoing if you don't have a keyboard/mouse at hand to change the settings.
But as before the remote still fails to give me a stop button that does what it is supposed to.
I will try to play around with the config file for the remote to see if I can get that fixed somehow but if all works fine on your remote I might just have a dodgy one.
In some cases I noticed that the Google Play services crash right after the start.
If it happens once and after that every boot up is fine all is good.
In case it always crashes and the Playstore or your games fail to work install the firmware again.
I guess the installation does not fully delete the partitions before getting the new firmware on it.
The Kodi version is now slightly different and allows for easier downloads of the stuff you watch, but I won't get into details of this.
The usual addons are all there, same for the wallpaper and menu structure you are used to.
I strongly recommend to give Kodi enough time at the first start to update and discard all addons!
Failing to do so will cause problems later on, so don't say I did not warn you.
Some addons also mess up certain things in Kodi, so be carefull what you install on your own when it comes to wizards.
If in doubt and Kodi ends up badly you can always flash the firmwar again and start over :)
Step 6: Things Still to Do....
Firstly I want to get the remote working with all buttons as they should but as said mine might be dodgy so please report back if you have the same problem with the stop button.
Secondly I would like to homebrew the firmware to include a basic Bluetooth stack that would allow the use of a dongle.
Last but not least I would like a bloat free Kodi version included.
Don't get me wrong, it is quite nice to have a lot available but not so nice if 80% is of no interest at all or not even working in my region.
For this I am not sure if it is easier to do on a firmware level or by adding it thorugh the recover in the form of an additional firmware part to be installed.
The first with the remote seems to be doable one way or another for the rest I will need time, mostly for reading up on how to make your own firmware.
Step 7: Can I Use the X96 Firmware on My M8, A96 or Unbranded Box?
Yes and no.
No because I really don't have a clue about the actual hardware of your box.
Yes because all boxes with identical hardware and using the same update procedure should be compatible.
For you it means using a hardware info program from the playstore to check if memory, CPU, GPU and other hardware are the same as for the X96 firmware in question.
As most modded or geniune firmwares for these S905 boxes work fine on the X96 I don't see why it would be any different the other way around.
But as with the X96 you might have problems getting all functions of the remote working.
Mostly the power button is affected being lost or relocated to the 2 key on the remote.
If in doubt always keep a copy of your remote config file.
It is possible that some boxes ignore the files on the SD as they expect different filenames.
Here I can't help unless you find the correct filenames yourself.
Same story if the box only expects a ZIP file on the SD for the update.
The only sure way to overcome these issues is to use a USB flasher program and to convert the firmware files into a format the program can handle.
Like this you can literally install whatever you feel like but also risk ending up with a brick if the firmware is really incompatible.
Worst here would be to use a version that is only supposed to work with a different amount of RAM - like installing a 2/16GB version on a 1/8GB box...
If you do it then you do it at your own risk!
Don't come back to blame me if a firmware not designed for your box won't work!
Step 8: Are There Alternatives to What Is Available?
Sure, as with smartphones the modding community is quite active.
If your box has a common chipset and graphics card then chances are good someone cooked a firmware together already.
A good place to start is over at the XDADevelopers forum.
Then there are various forums dedicated to certain models out there.
If you type your chipset, e.g. S905 and some meaningful other words into a Google search you get something like this.
Right at the top some forum links and further down firmwares for various models out there.
Do some reading, get some ideas and the right programs in case you need to flash over USB instead of letting the box do the thing from the SD card.
Are those alternatives or even a firmware for a different box better than what you already have?
No clue, all depends on how all is working, especially those with 4K TV sets and Dolby systems connected often suffer from all sorts of problems in terms of perfect image and sound quality.
If your box is quite old in terms of firmware, let's say from 2015 then it does make sense to want try something new.
Same if certain things just never really work, noone wants to have the box shut down when the movie is just getting interesting LOL
Installing a custom firmware is risky, especially if your hardware is specifically listed to be compatible - often in a thread users test the firmware on their devices, so check there too ;)
If things go bad it usually means the box is unresponsive and installing the original or an otherwise working firmware will fix it.
But if you install something that simply can't work on your hardware you might end with a brick.
For a lot of boxes you can get custom recoveries - if you want to play with firmwares then please consider a custom recovery first!
The stock recovery is often limited and only allows for a factory reset or the installation of a firmware.
A proper wipe and clean or even fixing bootloader problems is only possible through a custom recovery, a flasher program or ADB, the last only helps if you really know what you are doing.
A question I was asked quite often is how to backup everything before installing a new firmware.
For Kodi you get addons to do just that, even into your cloud account.
For the rest all I can say is that it runs on Android and that the playstore offers enough backup solutions for all budgets.
If you need your progress for installed games, account settings or you special network and proxy configuration than please do use backups ;)
Step 9: Installing a Custom Firmware
I was able to find some useful tools that should allow easy backups and the installation of other firmwares.
Will do some tests over the next few days and share what here what I found out.
If any of it turns out positive I will share the files and links so everyone can benefit from it.
So far I was able to download a nice collection of tools.
I paid attention to make sure they can all work in Windows, so no cryptic Linux stuff involved :)
Of course some basics are still required like a working Java enviroment, Cygwin, DOS basic and so on.
But so far I have:
Working TWRP recovery
Working custom ROM
Working tool enviroment
Main problem is now to make a stable firmware from the last original without the bloat and instead some essential programs, plus the Kodi Krypton release as an alternative to the Jarvis version - but will have to do some more testing and find the right beta for this.
And then there is the little problem of putting all this into some readable form so other people can modify their X96 or other S905X based firmware the same way....
So let me know if you would just prefer a firmware to download and install or if you want to know all the essentials of making one - please use the comments instead of a PM.
Step 10: My X96 Firmware Mods....
After some time reading and digging through the WWW I found all the tools and info I needed to give ROM Cooking a try :)
Here is what came out of my kitchen so far:
(Please allow some time for the links to appear here as I still have to create suitable update packages and upload the files! And I am still writing on this, in case it appears incomplete ;) )
Although I tested everything on my box and only upload what really works, I can not know if your box is really a X96 2GB/16GB Wifi only - or some clone.
That means the first thing you have to do if the Recovery boots on your box is to make a backup!!
I am not responsible if you feel the need to try my firmwares and your box is bricked when done.
Everything you is at your own risk and by downloading the files you agree to accept this!
I only say it works on my X96 box with P212 firmware.
General how to:
If you do have a lot of Kodi stuff added or personalised I suggest to use the Kodi backup functions, available as an addon.
For additionally installed programs, account settings and so on please use the backup solotion of your choice.
All files are uploaded as a Rar archive.
Inside the Rar archive you will find what needs to be extracted to an empty SD card.
I suggest to use a fast one with at least 8GB so you have enough room for a few backups.
Once the SD card is ready and inside your box (powered off) you stick a toothpick into the AV port and press the little button inside, plug the power in and when you see the X96 Logo on the screen take the toothpick out.
Shortly after you see the TWRP Recovery screen and need to swipe to confirm you actually want to write onto your system.
This is why we need the keyboard/mouse combo - no TWRP possible just with the IR remote!
Again, the first thing you want to do now is to make a full backup of your box!
Select everything but Cache and let TWRP save your backup on the SD card you use for the installation.
Now go back to the main screen (the little button for back in the "status bar at the bottom").
Wipe all but the external SD card and USB through the Advanced Wipe function.
If you want to try to keep installed programs then see if it works by not wiping the data part, although I do not recommend it.
Time to install the ZIP file of your choice to install the new firmware.
The first boot of the new firmware will take quite some time.
The X96 logo will be on the screen and it seems that nothing happens and the box is bricked.
Don't fall for this as I did so in my first firmware attempts.
As all is deodexed and prepared for a quick transfer to the box the actual setup of everything happens during the first boot in the background.
In some cases the progress bar in TWRP stops to animate right after the firmware starts installing, if that happens for more than a few seconds shut down and reboot into recovery.
Without another wipe just install the ZIP of choice again and it should continue fine.
I have not figured out what this causes, same for the touchpad sometimes only working if the USB dongle is replugged.
Happens for about 1 in 15 installations, so you might never experience it anyway ;)
Recovery.img - download the recovery itself if you just need a backup or for the X96 Naked.zip to flash it.
1. X96 with slimmed down Kodi addons and keyboard fix.
If you have these standard WiFi keyboard/touch mouse combos than the problem with the Enter key should be gone for good.
I included a fixed keyboard layout for the keyboards with the hardware ID 0e8f:2519.
There might be other ID's for example if you use an air mouse with keyboard.
If yours still won't work with this fix then please post your HID in the comments and I might include it with the next round of uploads.
In case it does work:
The ALTGR key will toggle the screen keyboard and make it go away too.
OK and ENTER will now do what they should without producing unwanted characters or the need to use the pad to click on the onscreen enter button.
Klick on this to download from Filefactory
2. X96 full Kodi and keyboard fix.
This is essentially what you get from your normal factory update just with the fixed keyboard.
Klick on this to download from filefactory
3. X96 naked - this will be the base firmware you should use for every addition that comes below.
Here we have the OTA update stripped from all apps that would be otherwise included except the pure Android stuff like Playstore and Gallery.
For all additions and mods this is the base firmware used.
I decided on going this route instead of making all mods inside the firmware to avoid complications and give the user more freedom of choice.
Since we need all folder structures created you have to boot and do the usual Android and Google account setup.
Do not try to start Kodi as this won't work and we don't want to cause trouble trying to start something that is not there!
Klick on this to download from Filefactory
1. X96 Naked Kodi Box
This Rom is for everyone who wants the box just to be used with Kodi anyway.
So after the initial setup you can boot directly into Kodi without any launcher or things like that.
For this Rom I removed all the bloatware and only left the system apps, so no Skype, Facebook, Youtube, Twitter and so on, nothing but Kodi.
The box will start and present you with a choice for the launcher.
XMBC is for Kodi
MBox is the standard launcher as you know it
I left the standard launcher so you can check and adjust all your personal settings and see what is left in terms of programs without getting too confused by the new interface.
Once you are done simply press the HOME button on the keyboar/remote to select Kodi as the default launcher.
You can either make it permanent or set it for once and be asked again at the next boot.
Kodi and the firmware is based on the last OTA update.
If you need any other addons please ask Google on where to find them.
Install X96 naked and set up if not done already.
Copy the addon ZIP file to the SD you used for the previous installation.
Boot into recovery and select the corresponding addon ZIP file for installation.
You can choose between Kodi 16 Jarvis and Kodi 17 Krypton.
Once the box rebooted you can select if you want to use the MBox Launcher or the XMBC Launcher for Kodi.
The selection can be for once or permanent, you choose.
Klick on this for Kodi 16 Jarvis
Klick on this for Kodi 17 Krypton
2. X96 All in
Here we have the choice of Mbox, Kodi (XMBC) or ADW as the launcher.
I highly recommend to try ADW ;)
On top of that there is also a dark theme for the ADW launcher and corresponding dark buttons for everything.
Additionally I added some programs that I use quite often and that you might find useful too.
For Kodi I added the full addon pack with all addons updated and nonfunctional ones removed.
If you want it just as a TV box you can set XMBC as the default launcher.
Android apps can be added to the favourites same way as the power menu, so add what you like ;)
The firmware flashing takes about 5 minutes after the MD5 check is over.
The first boot to the standard Mbox launcher takes about 3 minutes but from there you need to be patient while all the programs are installed.
All up expect to wait at least 25 minutes to be on the safe side here.
You will see how the shortcuts keep adding to the launcher screen....
Once the process is complete you will see the memory usage level out and stay steady around 25.4-25.85%.
If in doubt just have some dinner while the box is doing it's thing ;)
As so far I am unable to include all program and launcher settings you will have to do some manual labour which I will explain now:
To clean everything up memory wise I strongly suggest to reboot through the IR remote once the box is really done installing all programs.
This next boot will give you a selection for your launcher - click on the Media Box Launcher for one time use so you can find your way through with a launcher you are familiar with.
Do the network and account setup, modify your screen zoom if required and then start SuperSU so it can update the binarier (required step).
The normal way works fine, if not the first time wait a minute or two and try again, SuperSU needs all background activities to be dormant so sometimes you just need to try until it works.
For me I never needed more than 3 attempts if the first failed.
Reboot now as indicated by SuperSU.
Of course several apps will need root access through SuperSU, so please grant them this forever to make it ork properly.
Next step is to activate the AD blocking by starting AdBlock and downloading the lists.
If you don't like reboots then tick the box for never and say no to reboots.
Only means the new lists will be active after the next boot of the box.
If you have use for Lucky Patcher I suggest to start it now and download the custom patches and usual lists, otherwise just leave this program alone ;)
Time to add some fun :)
Start ADW Launcher and select the basic theme you like, I used the first on the left.
I do a long mouse press on the Promo icon in the lower right to remove it from the screen and place the shortcut for Kodi here.
To get Kodi on the main screen:
Click the little arrow in the lower center of the screen to bring the apps menu up.
Hold the mouse button while dragging the icon to where you want it on the main screen - easy :)
Same story for the Power Menu - I place it between the player and browser button on the lower icon bar.
To get it really nice start the Black and Blue Icon pack and select ADW.
Confirm that you want to use these icons and enjoy a nice dark look for your launcher.
Feel free to customize to your liking at a later stage.
Press the Home button on the remote or keyboard to bring up the launcher selection.
Time for XMC Launcher to start Kodi.
Kodi should not need to update endless addons, todays test showed only a few had updates available and two had been discontiued to work, the rest is up to date.
Once all is updated and you made the personal changes in Kodi you like (including testing a stream or two) you can try the favourites menu to restart the box through the power menu.
Now you are set to go and enjoy the new look and feel of your TV box :)
Of course I now have to strongly advice that you finnish whatever you want to add or change to your box and do a proper backup with TWRP onto the external SD ;)
Keep in mind all bloat required for the initial installation is gone once the Kodi setup is complete to increase system space.
This means a factory reset will give you a naked box without filebrowser or anything of use and you need to install manually after visiting the playstore - a backup really does wonders here...
Check the screenshots below (click on image for full size view):
For Kodi 17 the pics are the same as I now included the Confluence skin.
To get the old Kodi look with Confluence:
Go into settings, skin and select Confluence ;)
4. Fully unbranded!
After a lot of swearing, flashing, more swearing and flashing I finally managed to create a fully unbranded system that can be installed through TWRP.
If you still know how the original X96 looks with the original firmware you will be surprised
What has changed from the branded firmware:
Bootlogo original S905X.
Google bootanimation - that was the hardest part, allowing for a custom animation...
Media Box Launcher unbranded and with unbranded theme.
Unbranded Kodi completely removed so the rom will comply with all piracy laws and restrictions - more in the added apps section.
OTA updater removed.
All programs from the branded version removed, so no social media, Chrome, Netflix and so on.
Apart from the naked system with Google apps I included:
XMBC Laucher for Kodi
File browser replaced by FX filemanager
Power Menu added - still requires to root the box! More under added apps.
Added apps and modifications:
Kodi was removed, but the install script for the addon packs is still valid.
The script no longer refers to the system folder but to /sdcard/apps
This means if you decide to install Kodi you can place the tar.gz archive for the addons in the apps folder of the internal SD. Kodi itself is not included.
The additional apps I thought to be of use will be in the apps folder of the internal SD.
In FX file explorer it is called "Main Storage".
Here you will find:
Film On (from the branded firmware)
Mobdro (from the branded firmware)
Netflix (from the branded firmware)
Showbox (from the branded firmware)
SuperSU by Chainfire
VLC for Android
Three different Youtube apps to choose from, including a TV version.
How to install SuperSU:
All modifications to the boot image, scripts, libraries and so on are done and included.
This means the system is rooted except for the actual Superuser app.
Install from the apps folder and let the binary update, once done reboot and enjoy.
Not all ads in programs or while surfing can be disabled by AdBlock.
For example everything coming from "trusted sources" like Google will still be allowed.
This is the only reason I included Lucky Patcher as it can be of use for some apps to enjoy without ads.
Install and use at your own risk!
Installation of the ROM:
As before wipe all through TWRP then install the ZIP file from extracted RAR archive - so unpack the RAR first to your SD card.
Installation through TWRP does take a few minutes due to the hash verification.
Since all included apps are integrated into the system the first boot is a bit faster compared to the above ROM.
And the additional apps land on the internal SD for everyone to choose or delete if not wanted.
Please allow about 5 minutes after after the launcher selection appeared before you actually start using the apps - some things are still installing in the background!
Once you finnished the network and personal setup of accounts and such boot into TWRP and make a full backup in case you need it.
A factory reset will set you back to the point of the installation of the rom - so no SuperSU and the added apps folder might be gone too.
Known bugs:Just noticed the WiFi is not always available at first activation.
As the chipset is identified during activation you might have to select the network twice until you see WiFi available.
Screenshots and sneak peak video:
Step 11: Brand New Firmware From April This Year - Navbar and Notification Shade!
Here we have a new firmware fresh from China.
They listened and gave us navigation bar and notification shade.
Kodi was replaced by an updated Krypton version named KD Player.
You can download the original OTA update here.
Unpack the RAR archive to your SD card and boot into the original recovery using your favourite toothpick inside the AV port.
Sadly the bootanimation is again fixed to the default somehow and I have no clue how to fix this.
System runs very smooth and stable.
Can't do any 4K or special HDMI tests as I only have a crappy flatscreen.
Beta 5 based on the above OTA.
This is a reduced firmware containing only the Google apps, FX File Explorer and keyboard fixes.
I did this so the rom can be installed on 1GB devices as well as to care for all those wanting to decide themself what they install on top of Android.
In the archive for the additional apps you will find all that was removed from the OTA plus heaps more.
Just unpack the archive and install the apps you want.
The Google apps are from the TV GAPPS package, not all might work as I did not fully test them on this rom.
Really desperate tweakers can also try the Xposed frameworkfor the X96.
Flash the included ZIP and then install the Xposed installer.
To make it all complete you can use this Kodi Addon pack.
Use FX to unpack the contained TAR archive to /sdcard/Android/data - your internal data folder.
Here we have a version I made withvideoboot.
You can replace the one provide with your own MP4 file.