Introduction: X96 (S905x) Android TV Box - Updating the Firmware and Costom Roms

Picture of X96 (S905x) Android TV Box - Updating the Firmware and Costom Roms

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

Picture of 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 ;) )

Important!
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!!

Disclaimer
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.

Be patient!!!
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.
How to:
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 ;)

Click this to download part one of the Kodi 16 version from Filefactory.

Click this to download part two of the Kodi 16 version from Filefactory.

Click this to download part three of the Kodi 16 version from Filefactory.

Click this to download part one of the FULLY UNBRANDED Kodi 17 version from Filefactory.

Click this to download part two of the FULLY UNBRANDED Kodi 17 version from Filefactory.




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:
AdAwayADW Launcher
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:
Chrome
Facebook
Film On (from the branded firmware)
Lucky Patcher
Mobdro (from the branded firmware)
Netflix (from the branded firmware)
Showbox (from the branded firmware)
Skype
SuperSU by Chainfire
Twitter
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.
Ads...
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:












Download the unbranded firmware from Filefactory

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.
Location: /system/media/bootvideo.mp4

Step 12: New Firmware Based on the OTA Update From June 2017

I did not see any real changes or even improvemnts in the OTA.
The Music player randomly crashed, Kodi installed but refused to work, always a black screen as soon as a plugin was selected.
Only real difference I noticed was an updated setup wizard for Google.
So I took this firmware as a playground instead of trying to fix all problems the problems were removed or replaced.
The real benefit of this firmware seems to be a fix for the brightness bug.
Kodi or Youtube now show vibrant colors with great contrast, black and dark grey are no longer the same :)
It also seems that Kodi is much more responsive and takes far less time to find streaming sources.


Notable things about this firmware:
Fully rooted with SuperSu installed.
FX File Explorer to replace the default.
The usual fixes for keyboard and so on.
Logo and animation change to the defaults instead of branded ones.
Google keyboard replaced by the much smaller Hacker's keyboard.
AdAway.
Pulsar to replace the stock music player.
VLC to replace the stock video player.
Kodi 17.3
Some other programs I find useful are installed too, some just ready for you to install from the Apps folder on the internal storage.
Overall running nice and stable with no problems so far on my end.

Installation:
As usual unpack the RAR archive to your SD card or USB stick.
Boot with a toothpick to get into TWRP recovery.
I recommend a clean install after wiping Cache, Data and internal memory.
The first boot takes some time, so be patient - once the CPU usage levels out you can do your personalisation, network setup, Google account and so on.

Do's and Don'ts:
As said a clean install is recommended but of course you can try without wiping if you want to keep your personal data and program settings.
If TWRP fails with an Error 7 then simply go back and select the ZIP and install again.
If you want to make sure your installation goes as planned then please follow this:
Let boot until the CPU usage levels out.
Start SuperSu and update the binary - if this fails it means the boot was not complete yet!
Now reboot the box.
Setup your network, screen zoom, Google account and whatever you want to set up.
Check the Apps folder on the internal storage in case you need some more apps like social media stuff...
Start the playstore and check for updates.
Start Kodi and wait so it can check for updates, start your favourite addon and check that it works.
Be aware that at the first start Kodi will be a bit slow to response and might seem to have crashed once or twice.
This is due to updates in the background - please wait until Kodi is responsive again, it can take up to five minutes!
Once Kodi runs smooth the box should be ready to go, so please reboot once more just for good measure.
Do not try to update Google apps on this release as it will fail due to firmware restrictions.
If you install the Advanced Power Menu from the Apps folder you need to start it once to give root permissions.
I included it so you can directly reboot the box instead of just a power down.
Netflix should work fine but as for Youtube I can not test 4k videos on my crappy TV.

How to make a working backup from your old setup:
TWRP will make a backup of your system but won't include the so called Media section of the data partition.
This mean you need to manually create a backup of your internal memory.
I susggest to use FX for this and to pack the Android folder, Apps folder and all program folders you find and need on your internal storage.
If used also include the media folders for images, videos and so on.
To get the backup running again first flash the backup with TWRP and then upack your secured backup of the internal storage back onto the box.
For obvious reasons it pays off to copy this archive from your internal storage to SD or USB stick ;)

Download the modded June update from Filefactory.

Comments

Downunder35m (author)2017-03-31

Update 01/04/217:
I found enough (I think) to cook my own firmware based on the linked original.
So far through TWRP recovery all seems to work fine but of course I would like to create a normal update.zip that can be used with an unmodifed stock system.
But being able to now freely mess around with a backup and original firmware at hand is quite nice.
I will update the Instructable throughout my learning process and in the end offer the firmware I create for download.

Since I am able to freely use firmwares for other S905 based devices as code donors the same worshop should work for all TV boxes based on the S905X chipset.
So no matter what name is on your box, as long as the actual hardware is the same all should work on your device the same way.
There are only two possible areas to watch out for:
WiFi and Bluetooth
The newer boxes with dual WiFi and BT 4.0 use a different module than the standard S905X boxes.
Unless you really want to dig deep into ROM modifications it is best make sure you use the right type of firmware as otherwise your WiFi and (if you have) BT will not work.
A simple exchange of these modules is not possible either as it is all included within the kernel as well and so far I don't think I will go that deep for now.
One day maybe to get BT support added to my box but please don't hold your breath on it.

I think you guessed it but the update is for 2017.
But as I can't edit the comment....

SergioD85 (author)Downunder35m2017-11-27

Hola, también necesito el firmware para la versión del x96 con BT y dual Wifi. Tengo esa caja y no encuentro por ningún lado el firmware. Ojalá me pudieses ayudar porque llevo días intentando conseguirmelo. Gracias.

RenéK44 (author)Downunder35m2017-07-01

Do you know where I can download the original new firmware for the X96 with dual WiFi an BT 4.0?

Downunder35m (author)RenéK442017-07-01

There is no such things as the box does not have such hardware.

RenéK44 (author)Downunder35m2017-07-21

In the post above you say the following; ''Step 2: Finding Firmware....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.''

''Step 3: Identifying the correct firmware for your X96. The one with 6330 in the namenis for the new model that has dual WiFi and BT4.0, available for the normal and 2G versions.''

This tells me that there is stock firmware for the new model X96 with BT4.0 and dual Wifi, and you know where and how to download. Or am I wrong again? I tried it myself with the instructions you gave us, but i won't work.

Downunder35m (author)RenéK442017-07-21

You are right with the updates although it seems they are not so regular anymore.
And for the "new dual WiFi model": I don't have one and so far have not spotted one in the wild either.
But I did see the firmware for one somewhere a while back.
Since I can't make any use of either I can't give support for it.
If you want to try the 6330 firmware then you can find it on Baidu.

RenéK44 (author)Downunder35m2017-07-02

What do you mean exactly? I guess there will be new firmware for that box....? Or am I wrong? Please explain.

Downunder35m (author)RenéK442017-07-02

What do you want me to explain?

The X96 does not have the hardware, so there won't be firmware for BT.
If you have something labeled X96 with BT and dual Wifi I suggest to check with the supplier.

DaveDH (author)2017-11-13

Hi Downunder35m!
First of all, thanks for you hard work providing this topic!

I have a OTT TV BOX T6 S905X p212.
I did a FW upgrade USB loader and Soft bricked my box. Found a good SW Rom and brought it back to life again.

Now i am running a Dual boot OS from a Sandisk U3 micro SD card. My box directly boots up a LibreElec 8.2.0.1 rom running Kodi 17.5 with a NOX spin build. It can run 4K movies flawlessly.

I am searching for a way to flash a rom directly onto the box wich just only start kodi. It seems to me that that should work optimal, do you agree? In your post i found a piece wich describes just that but the download link did not work.

Could you shine your light on my quest and help me out?

Thank you in advance!
Dave

Downunder35m (author)DaveDH2017-11-13

Thing is that you need to match the required partitions for libreelec/your box.
Some builds are available for S905X boxes but they won't work on all due to the above problem.
I gave up on trying to make the box compatible to other boxes as parts of the partition structure are not easy to modify on a user level.
But if it is of any comfort to you:
I did some tests with different SD's and USB readers.
My best combo is with the Meenova Dash Micro and a genuine Sandisk rated for 40mb write speed.
Turned out to boot faster than the memory used in the box....

DimosF1 (author)2017-11-03

hello. I have a problem. I update at the latest firmware its everything ok only problem I have is my Logitech mouse/keyboard not work when I boot the box. I must insert the usb adaptor many times. do you now enythig for this?

Downunder35m (author)DimosF12017-11-03

I have the K400 myself and no such problems, did you try the other USB port?

u1098696 (author)2017-11-02

Hi Follow up from my previous questions.

My X96 was sold as a NON-WIFI unit but seeing that it has a wifi built in I would like to activate it. I assume it is turned off by the rom version. My question now. Is there a way to activate the wifi?

Cheers

Downunder35m (author)u10986962017-11-02

Wouldn't have a clue as the genuine one comes with WiFi by default.
Flashing one of the above roms might help, but only if the thing really is the same internally - if not you might end up with a paper weight.

albytnt (author)2017-10-20

I have a X96 amlogic 905s but this box don't work with touchmonitor infrared because this box don't have the right Hid Code for work (vid 13FFpid 0008).

For optimized that box for work with touch monitor I must update this box?

Downunder35m (author)albytnt2017-10-20

I doubt any update will help as you still need the touch support.
Keep in mind it is for TV's not for touch devices.

albytnt (author)Downunder35m2017-10-22

Thanks for your response but another box tv Tx5 work fine with touch Infrared because the HID mode it is as though recognizes the touch as a keyboard or mouse.I think that my box is not update!

u1098696 (author)2017-10-22

Hi

I loaded Kodi 18 and addons and it seem to be stable. It did not shutdown for the entire movie. Not sure if it is OK or not but I will keep you posted.

On another note with this box. Its a 1G/8G . X96 . I noticed an antenna inside connected to a daughter board. Could this possibly be WiFi? Which Rom code should I try for this unit with WiFi?

Cheers

Downunder35m (author)u10986962017-10-22

That is the Wifi system, indeed.
What do you mean by Rom code???

u1098696 (author)2017-10-20

Hi

Interesting reading the updates. I would like to update but dont have clue which one to choose. This is a 2016 ver.

I bought 3 units 1G/8G . I used just one until they forced us to change to Kodi version 17.4. Since that the X96 shuts off randomly and delays off for a few minutes then reboots on its own. I could not work out if this is a coincidence with the upgrade or not. I tested the other units and it does the same thing. I deleted Kodi and was setting up the unit when it re booted. I tried other power packs but no difference. I am now convinced it the x96 that is acting on its own without Kodi or add-ons but that's just my opinion .

Regards

RC

PavelU1 (author)2017-10-13

Have anybody firmware for X96 mini (S905W)? please??? or anybody know how take dump from working X96 mini?

Yo_soy_GP (author)2017-08-29

HI Downunder35m

I have this one

Fabricante: HongXin

Modelo: X96

Marca: HX

Placa: hx_s905x

Dispositivo: X96

Hardware: amlogic

Platform: gxl

Producto: HX_S905X_N

Número de serie: 0123456789abcdef

RAM instalada: 2 GB

Memoria total: 1806 MB

FW installed seems to be this HX/HX_S905X_N/hx_s905x:6.0.1/MHC19J/20170712

The problem is that i don't want it to be ROOT so I tried Unroot in SU app. But the system appears to be rooted anyway, so that did not work.

Any way of installing a FW that is not Rooted? Thx in advance

Do you have its firmware. I brikc my trying to install other firmware.

BastardoA (author)2017-10-01

any way to get a file on dropbpx or something, I have a dropbox spot you can use....

BastardoA (author)2017-10-01

I so want to do this flash... but every day, the server load is too high... finally got through today, and it stopped downloading at 228mb... shame... i dont remember filefactory sucking so bad....

lurifax (author)2017-09-22

Hello and thank you for a very comprehensive guide.

I have one of these boxes and since you seem very experienced in dealing with these boxes would you mind taking a look at the issues I have with my box? I am suspecting that my box is defective somehow. It stutters when I playback 4K content and even when I install libreelec as OS it can't show any 4K file without stuttering, pixelating or flickering. I changed the HDMI cable without any difference and I am running it off ethernet connection.

If you have time I would really appriciate your input. Video here. https://youtu.be/FPPf1CREUMc

And another question. Your boot sequence, the finger pressing a plate, is that lag free on your box? It looks like this on my box. https://youtu.be/liqFWbeyMPs

I bought the box from China so I don't expect to get a refund but I would love to hear your input.

Thank you in advance.

juliopr2010 made it! (author)2017-06-27

FIRST IN SPANISH AND THEN IN ENGLISH...

Para la gente a la que no le funcione el ultimo Firmware la solucion es descargarse la de Marzo http://filefactory.com/file/2dk9o9hp0ctl/X96-P212... .

una vez descargada, la descomprimes y copias los 2 archivos en una microsd o en un pendrive que este en fat32 (no hace falta que borres los datos del pendrive o sd si tiene suficiente espacio )

para arrancar tv box X96 el en modo de actualizacion, instalar la aplicacion "Reiniciar de Material Design "

Una vez alli le das a update en external y buscas el archivo zip.

empieza a actualizarse....

Una vez actualizado arrancara...(se paciente)..

le activas el Wifi y te conectas a internet.

y alos pocos segundos aparece un mensaje que dice que ha encontrado una nueva actualizacion..y es ahi en donde le dices que si..que quieres actualizar y pondra el nuevo Firmware del mes de Junio...Atencion¡¡¡¡ NO TE OLVIDES DE RETIRAR TODAS LAS TARJETAS MICROSD O PENDRIVE.

y POR ULTIMO VUELVES A COMPROBAR SI HAY NUEVAS ACTUALIZACIONES..Y SI LAS HAY..

SALUDOS

For people who do not work the latest firmware the solution is to download the March http: //filefactory.com/file/2dk9o9hp0ctl/X96-P212 -....

Once downloaded, unpack and copy the 2 files in a microsd or a flash drive that is in fat32 (you do not need to erase the data of the pendrive or sd if you have enough space)

To boot tv box X96 in update mode, install the application "Restart of Material Design"

Once there you give it to update in external and look for the zip file.

It starts to update ....

Once updated it will boot ... (be patient) ..

You activate the Wifi and you connect to the internet.

And a few seconds appears a message that says that has found a new update .. and is there where you say that if .. you want to update and put the new Firmware of the month of June ... Warning! FORGET TO REMOVE ALL MICROSD OR PENDRIVE CARDS.

AND LAST YOU WILL RETURN TO CHECK IF THERE ARE NEW UPDATES .. AND IF THERE ARE ..

REGARDS

Yo_soy_GP (author)juliopr20102017-08-29

Hola, te hago una consulta, sabes si hay algun FW que no este Rooteado?

gracias

Downunder35m (author)juliopr20102017-06-27

I don't really know where you are getting here but if the OTA update is the thing:

http://filefactory.com/file/1n3uptbohqgl/p212-ota-...

That is the June OTA...
No clue why you want to go back the the April one though....

DanangW3 (author)2017-08-26

but why the google play recognize this box as phone instead of TV, that makes me cannot install apps for TV only using play store. how to resolve this issue?

DanangW3 (author)2017-08-26

it works.. but every time I try to install apps from gplay it always give the wrong version which is mobile app instead of TV app.. is there any way to fix this issue?

SanjayT15 (author)2017-08-19

I purchased a Chinese android tv with 2GB/16GB configuration. Now I realized it wont google cast from Youtube, is there a way to cast from Youtube to these players.

I had a WD media player and sold it for 15 USD :( thinking the new TV box would have all features...damn damn.

JoãoO24 (author)2017-07-31

Good night, I have tried several times to install any of your rom and always gives the 7 error in trwp. What could be going wrong?

Downunder35m (author)JoãoO242017-07-31

I wouldn't have a clue as you did not provide enough vital information.
Add some info and I might have an answer for you ;)

JoãoO24 (author)Downunder35m2017-08-01

Good morning, I wanted to install one of the rom that has here already downloaded but whenever I enter twrp to install gives the error number 7 even if I try to install several times I can not. I have a box x96 s905x 2gb 16g

Downunder35m (author)JoãoO242017-08-01

You wouldn't have tried other roms before, like something for a totally different TV box?
Are you certain it is a X96 - e.g.: checked the device info page or used Aida to confirm?
If the device really is what you say the firmware should install without any problems at all.

JoãoO24 made it! (author)Downunder35m2017-08-01

Some photos I took can confirm if it is a z69?

Downunder35m (author)JoãoO242017-08-01

Certainly looks like one to me.
You are already running on a late firmware so the updater might think the device does not need it.
There are two way you can try to get around this:
a) Do a factory reset and right after try to install the new firmware.
b) Remove the first two lines in the updater script - they do the compatibility check and if failed give the Error 7 message.

JoãoO24 (author)Downunder35m2017-08-05

Good night I mad a factory reset and I could not install any roms after I Remove the first two lines in the updater script and now I have a box without working. what can I do? Good light turns red and will not start

Downunder35m (author)JoãoO242017-08-06

Install a factory firmware with the dactory installer,
if that fails too then you might have a clone after all.
You find the latest OTA update here:

http://www.filefactory.com/file/1n3uptbohqgl/p212-...

Kajoe (author)Downunder35m2017-08-07

Hi downunder;


I have to test the june version, but I have to wait for a new x96 2GB device. It was not possible with factory firmware to have smooth working movies without stutter on x96. And I used Ares Wizard advanced settings. And I used other advanced settings to try to get smooth movies. Stuttering is allmost gone, but not completely. I have read that a new usb 3.0 gigabit network adapter should work. But after installing Libreelec on SDcard and using Ares Wizard Advanced Settings, movies are not stuttering anymore and everything is working great. So I was wondering if your june version stops stuttering movies in Android. And if not, is there maybe another solution to stop stuttering movies in Android?

It is great to see that you do a lot of good work for the devices. Thank you very much for that big great job.

The link http://www.filefactory.com/file/1n3uptbohqgl/p212-... gives every day Server Load Too High. Is it possible to send another working link for latest factory firmware?

Best regards, Kajoe

Downunder35m (author)Kajoe2017-08-07

Ok, let's start with video:
What format, local file, local network, internet stream?
Certain codecs still make problems not just on this firmware but on other Amlogic firmwares as well - especially 4K streams.
Network:
I noticed the WiFi (manually assigned) works quite well for me with no issues at all but the real high speed comes through the Ethernet connection.
Firmware: I contacted Filefactory and they say the server is in high demand due to other hosted files but they promised to move my file onto a different server for better access if eople only have a free account.
In case it still does not work as expected give "Free Download Manager" a try, it will keep checking the file and download once it actually is available.
Only other link I have the original from the Baidu servers and there it can take a day or two if you don't have an account.

As for the box itself:
Check USB Burning Tool from Amlogic (XDA developer or Amlogic direct).
If that still connects to your box (USB male to male Cable or adapter required) then you can flash a burn image and get the box working again this way.
I don't have a burn image at han but let me know how you go with the burntool and if it works with the box I can download and re-upload the burn images tonight or tomorrow.

Kajoe (author)Downunder35m2017-08-08

Hi Downunder,

I do not use wifi but cable. I noticed that Kodi 16.1 have much less stuttering than 17.3.

Burning the new firmware to the box was with the older box no problem at all, with your TWRP version. And the 28-4-2017 version could be burned easy. But I sold that box. So now I am waiting for my new X96 2GB. That one will arrive shortly. Than I can test your june version. I have free downloadmanager installed, like you told me. And I will try the link again for downloading. I tried Baidu, but I do not understand how to. Thank you very much.

Downunder35m (author)Kajoe2017-08-08

So we are not actually taking about the capabilities of the box but in fact about what videos/streams Kodi can play??
If so then you might have missed the fact that Kodi does not really care about the hardware/firmware used but instead rely on the proper implementation of codec support - both from the hardware and the firmware.
So instead of "messing" with the firmware it would be a better option to look for a media player that works with the files that trouble you.
SMPC might be an alternative, same for the Kodi that comes with the firmware - as it is not the normal version from the Playstore.

Kajoe (author)Downunder35m2017-08-08

Hi Downunder,

Okay, is that the problem? Than I will try other version on the box, like SMPC when it arrives. Thank you very much.

Kajoe (author)Downunder35m2017-08-08

Hi Downunder;

PS.

Your download link is working again. Thanks my friend.

JoãoO24 (author)Downunder35m2017-08-01

Okay, I'll try it later, I'll tell you if it worked

Downunder35m (author)JoãoO242017-08-01

Certainly looks like one to me.
You are already running on a late firmware so the updater might think the device does not need it.
There are two way you can try to get around this:
a) Do a factory reset and right after try to install the new firmware.
b) Remove the first two lines in the updater script - they do the compatibility check and if failed give the Error 7 message.

JoãoO24 (author)Downunder35m2017-08-01

Eu não tentei nada, só fiz uma pesquisa por causa do problema da tecla enter e ok Descobri aqui as suas rom e queria instalar uma.

About This Instructable

47,924views

8favorites

License:

Bio: I like to improve myself and things I find :) Learning new things every day is next to impossible but I still try - only a working ... More »
More by Downunder35m:X96 (S905x) Android TV Box - Updating the Firmware and Costom RomsThe Paracord Stubbie HolderMy Little Paracord Splicing Guide
Add instructable to: