[GUIDE] Reflash the Linx Tablet Firmware (BIOS)

If you're gonna create a guide... stick it in here!

[GUIDE] Reflash the Linx Tablet Firmware (BIOS)

by Deleted User 1605 » April 7th, 2015, 7:38 pm

Last edited by Deleted User 1605 on April 24th, 2015, 9:19 am, edited 9 times in total.
Deleted User 1605
 

ADVERTISEMENT
Remove Ad

Re: Reflash the Linx Tablet Firmware (BIOS) with a Raspberry

by Deleted User 1605 » April 7th, 2015, 7:54 pm

Deleted User 1605
 

Re: [GUIDE] Reflash the Linx 10 Tablet Firmware (BIOS) with

by Deleted User 1605 » April 8th, 2015, 9:36 pm

Part 3.

Internet access is only required on the Pi for the initial setup. A USB wireless adapter can be used if required (most types work O.K.).
Be aware that, as the Raspberry Pi 1 has only 2 USB sockets, a USB hub may be required.

Software:
Rufus. This is a windows program to create bootable SD cards etc. from image files.
See You need to be registered to view this link, please log-in or register Download and run the file rufus-2.1.exe directly. No installation required.

Raspbian (Debian Wheezy). You need to be registered to view this link, please log-in or register
This is for all Raspberry Pi versions.

Flashrom. See You need to be registered to view this link, please log-in or register. Download this from the section "Manual installation from source:"
Clickable link can be found within the line "If you just want to use the latest stable release, download flashrom 0.9.8 (source) here".
Download this later onto the Raspberry Pi SD card.

Linx Firmware file. (I can supply firmware files for the 7, 8 and 10.)
Or download the relevant bios archive from this website later on.

Preparing the SD card.:

This is described performed on a windows machine. Linux users can use the standard tools for this.

Download Raspbian and write the image to the SD card:

The current archive name is 2015-02-16-raspbian-wheezy.zip
Download Raspian and extract 2015-02-16-raspbian-wheezy.img from the archive.

Write it to your SD card using Rufus:
Download and run Rufus.

In "Device" select your SD card.
In the "Format Options" section, click the disk button to the right of the drop down box which is displaying "FreeDOS".
In the "Open" dialogue box, change the dropdown "Files of Type" from "ISO Image (*.iso)" to "All files (*.*)".

Browse to the extracted 2015-02-16-raspbian-wheezy.img and double click on the image filename. You will then be returned to Rufus.
The text box will have changed to "DD Image". Click "Start" and OK the warning message.
The image will now be written to your SD card. This will take about 5 minutes or so, depending on the speed rating of your card and
your card reader/writer.

When the status text at the bottom of the Rufus window states "READY", your image has been written.
"Safely Remove" the SD card, unplug the card reader (if an external device) and insert the SD card into your Pi SD socket.

Next: Part 4. Booting the Pi.
Last edited by Deleted User 1605 on April 11th, 2015, 10:47 am, edited 3 times in total.
Deleted User 1605
 

Re: [GUIDE] Reflash the Linx 10 Tablet Firmware (BIOS) with

by Deleted User 1605 » April 8th, 2015, 9:54 pm

Part 4: Booting the Pi.

{EDIT 11/04/15. TIP: If you are having any problems deciding "what's that character/symbol?" or "is there a space there?" in any of the
text that I ask you to type in then try this. Highlight the relevant line, copy it (normally right click to allow a copy) and paste the line into a basic text editor. Wordpad/notepad will do. You could then, if it is still unclear, highlight the pasted line and change the font to Courier or some other mono-spaced font. All will then be obvious.}

Connect the external hardware to the Pi (or USB hub, if required) keyboard, mouse and HDMI video (or composite video), the network cable (or USB wifi card) and PSU. Don't powerup just yet.

One small potential **gotcha** here. If you are connecting your Pi to a VGA monitor through an HDMI to VGA converter
(Pi HDMI > HDMI-VGA converter > monitor vga) then you might have to make a small change to a configuration file on the SD card.
This depends on exactly what hardware is connected. I'll explain why first and then give the fix.

When the PI boots, it is set to try and detect if a TV or monitor is connected directly to its HDMI port.
If it cannot detect this, it switches its output to composite video (The yellow RCA socket on the Pi). The Pi cannot output video
on both connections at the same time, so the monitor will remain blank.

The only way to find out is to try it.. Power up (this boots the Pi) and see if an image appears on your monitor.
If you see an image, then continue with the NEXT SECTION below.

If not, the power down the Pi. (Actually this is bad practice... not shutting down properly. You have no alternative at this time.)
There is a risk of file corruption with any operating system if it is not shut down cleanly.

Return the SD card to the reader, reconnect and access the card through "My computer", "Computer" etc.. depends on which version of windows you have.

Windows text editors are generally "brain dead", so download and install Notepad++ from You need to be registered to view this link, please log-in or register

Find the drive letter Windows has assigned to your SD card (I'll use E: for this example.)
Open a command window (For XP: Start, Run, enter "cmd" (no quotes) into the run box and click OK.)
You will now see a black text box with white writing.
Type the following and press enter after each line. Text in {} is for information only.

E: {change to the SD card}
attrib config.txt {You should see "SH E:\config.txt" returned, (with no quotes) }
attrib -s -h config.txt {remove the System and Hidden attributes from the named file}

Now run notepad++ and open e:\config.txt

Go to the line "# uncomment if hdmi display is not detected and composite is being output"
Remove the # from the next line (the # makes the complete line a comment. It is therefore ignored by the Pi during startup).
Change the line {FROM} #hdmi_force_hotplug=1 {TO} hdmi_force_hotplug=1

Now press enter and add this:

hdmi_drive=2

Save the file and quit Notepad++

Return to the command window. Type the following:

attrib +s +h config.txt {This restores the original file attributes}
exit {This closes the window}

NEXT SECTION
Insert the SD card into the Pi and switch on your monitor/tv etc. Allow to it to boot.

After the Pi has booted, you should see the initial configuration screen titled: Raspberry Pi Software Configuration Tool (Raspi-config)

You navigate this screen with the cursor keys and the tab key.

Next: Part 5. Configuring the Pi, updating and installing software.
Last edited by Deleted User 1605 on April 11th, 2015, 3:24 pm, edited 8 times in total.
Deleted User 1605
 

Re: [GUIDE] Reflash the Linx 10 Tablet Firmware (BIOS) with

by Deleted User 1605 » April 8th, 2015, 10:15 pm

Part 5. Configuring the Pi, updating and installing software.

You should now be looking at the initial configuration screen.

Only minimum configuration is required:

"1 Expand Filesystem".
Cursor up/down to this and press enter.
Press enter to OK the confirmation screen.

Cursor down to "8 Advanced Options" and press enter.
Cursor down to "A6 SPI" and press enter.
Cursor left to highlight <Yes> and press enter.
Press enter on the next screen.
Highlight Yes in the next "Would you like the SPI kernel module to be loaded by default?". Press enter.
Press enter on the next screen
Finally, press tab twice and press enter to "Finish"

To rerun this configuration, type
sudo raspi-config {and press enter}

Now to reboot the Pi. Type
sudo reboot
If you wish to shutdown and power off to have a break (configuration changes have been saved) type the following instead.
sudo poweroff {and switch off the PSU when the Pi has closed down}

When restarted you will be at the text login screen.
Default user is "pi" with password "raspberry".

Login. If you wish to change your password, type
sudo raspi-config {and press enter.}
You will see the required entry here.

Now to update the installation and add a file utility and some further requirements:

At the command prompt, enter the following exactly, followed by pressing enter.
Wait for the updates and/or installations to finish before continuing.

I'll give the first command and briefly explain what each bit means.

sudo apt-get install mc

User pi (you, as you are logged in now) are a "normal" user. You are deliberately restricted from performing some low level
actions which might compromise the system. All low-level "under the hood" stuff is performed with administrator rights..
This is the" Super User" (also known as "root"). {All Hail MING!!... Errr... sorry... wrong film!!}

"sudo" stands for Super User DO. This means run the subsequent command with temporary elevated privileges.

"apt-get" This is a command line package management tool. Packages are specific programs or collections of programs
that are installed in one "lump".

"install" We are telling apt-get to install something..

"mc" This is the Midnight Commander package. A visual file manager.

So...

Type the following at the prompt.. press enter and wait for the command and generated actions to complete.
Press Y as the response to any requested confirmations.

TIP: cursor up/down to get previously entered commands.. these can then be altered to save a little typing.

sudo apt-get install mc {install Midnight Commander}
sudo apt-get update {See if there are any system updates available, there will be!}
sudo apt-get upgrade {Perform the systemwide upgrade. This takes a few minutes, depending on the speed of your internet connection.}

This is a one time action... You only need to update if newer software versions are available and/or required.

Your system has now been updated and upgraded. Reboot now.
sudo reboot

When the system has restarted, login as before.

Now to install some packages required for flashrom, running the GUI and downloading flashrom and the Linx firmware (BIOS) files.

As before:

sudo apt-get install libpci-dev
sudo apt-get install libusb-dev
sudo apt-get install libftdi-dev

or

sudo apt-get install libpci-dev libusb-dev libftdi-dev

This performs the same actions, with a little less typing.

Type the following, followed by pressing enter. Again, any text in {} is for information and not to be entered.

cd {move to your home directory, in case you have moved away from here..}
mkdir chipfiles {create a directory within your home directory. This will be used when flashing/reading the firmware chip }

cd chipfiles {move to this directory}

pwd {This command shows where you are... "Present Working Directory"}

Next: Part 6. Running the GUI and downloading external software.

More tomorrow.. I'm tired and have a rush laptop to fix.
Last edited by Deleted User 1605 on April 9th, 2015, 1:15 pm, edited 2 times in total.
Deleted User 1605
 

Re: [GUIDE] Reflash the Linx 10 Tablet Firmware (BIOS) with

by Deleted User 1605 » April 9th, 2015, 12:14 pm

Hello All...

I've just applied a few edits to the above posts.. just to remove typos and clarify some things a little.

How does this read so far? Too much?? Not enough??

I will add some pictures in a final post. I've written the guide assuming that any local pictures are not available for some reason.
Pictures are always useful, but they do have a habit of disappearing from websites over time.

Which specific pictures would be useful??

I'll post the final parts later..

Bodge99
Deleted User 1605
 

Re: [GUIDE] Reflash the Linx Tablet Firmware (BIOS)

by Deleted User 1605 » April 9th, 2015, 7:49 pm

Part 6: Running the GUI and downloading external software.

Now to obtain the required firmware files and the flashrom package.

Start the GUI. Type
startx {and press enter.}

At the top of the screen you will see the following:
From left to right.
Menu, a browser, a file manager, a terminal, Mathematica and Wolfram.
On the right hand side you will find a system percentage load meter and time (click on this for a calendar).

The terminal is essentially a windowed terminal emulation. i.e. similar to the text screen used earlier.

Now click on the browser.
This is a basic web browser.. Sufficient for our needs here.

In the address bar, type in
You need to be registered to view this link, please log-in or register and press enter. Just a test to show the browser works.

Now type in
You need to be registered to view this link, please log-in or register {and press enter.}

Click on Downloads in the left hand column. In the section "Manual installation from source", click on
"download flashrom 0.9.8 (source) here". The file will download. By default, the archive manager will now run.

Click on "Action" and "Extract".
Click on the "Extract" button, keeping "Extract to" as /home/pi/Downloads
Close the archive manager.

In the browser address bar, type in
http://www.linxtablet.co.uk {and press enter.}

Click on the Drivers & Downloads section of All Devices.
Select your required tablet section, navigate to the required driver link post and click to download the bios.zip archive.

The file will be downloaded to /home/pi/Downloads
When the archive manager (Xarchiver) runs, don't bother extracting anything. Just close it when it has loaded the downloaded file.
You can now close the browser.

At this stage, you have downloaded and extracted Flashrom. You have also downloaded the firmware file (contained within the bios.zip archive).

Next: Part 7. Extracting the firmware file and compiling Flashrom.
Last edited by Deleted User 1605 on April 17th, 2015, 2:31 pm, edited 2 times in total.
Deleted User 1605
 

Re: [GUIDE] Reflash the Linx Tablet Firmware (BIOS)

by Deleted User 1605 » April 9th, 2015, 8:44 pm

Part 7. Extracting the firmware file and compiling Flashrom.

Now to extract the specific firmware flash file. This file will be placed in the "chipfiles" directory you created earlier.

Now click on the terminal icon. Type this into the terminal window.
pwd {and enter.}
The response should be /home/pi/chipfiles
If not type
cd ~/chipfiles {enter} The ~ symbol represents the users home directory. In this instance /home/pi/

EDIT 10/04/15 Just to clarify. The 3rd symbol in "cd ~/chipfiles" is a tilde. This is typed with "shift-hash" (next to the enter key) on a UK keyboard.
I've seen this post displayed in IE on an XP machine, where it was displayed as a "-".

mc {press enter. Midnight Commander will run.}
You will see two panes. Both show the same location ~/chipfiles . The ~ symbol represents the users home directory.
Think of the two panes as "from" and "to". e.g. copy a file from X to Y.

Press tab to move from one pane to the other. Press tab to return to the LHS pane (if required).
Keep the RHS pane as it is. Press enter. The left hand pane will then show a representation of the directory structure "above" the "chipfiles" directory.
You cursor up and down the "directory tree". Directories are shown in bold white with a preceding forward slash. Files in the current directory are shown below the directory structure.

Now to extract the required firmware files:

Cursor to "Downloads" and press enter to enter the directory.
The pane will change to show the flashrom-0.9.8 directory here. Below this you should see the file BIOS.ZIP , previously downloaded from http://www.linxtablet.co.uk

Now cursor to the file "BIOS.ZIP". Press enter to access the contents of the archive.

There are differences between the archives for each tablet. So, taking each tablet in turn:

For the Linx 7:
Cursor down to "/BIOS" and press enter.
Cursor down to "/linx7 BIOS" and press enter.
Cursor down to the "I8270MI{long name here}.bin" file. The file size is 8388608 (bytes).
Now press F5 (on your keyboard). A popup window will ask if you wish to copy this file to "/home/pi/chipfiles"
Cursor down until <OK> is highlighted and press enter. The file will be extracted to the desired location.
End of Linx 7 section.
Now go to NEXT below.

For the Linx 8:
Cursor down to "/BIOS" and press enter.
Cursor down to the file "ExertisBIOS.zip" and press enter. Yes, this is another archive.
Cursor down to "LINX*.RL221{long name}.zip" and press enter. Yes, yet another archive!
Cursor down to the "/LINX8.R""!.{another long name}" directory and press enter. (NEARLY THERE!!)
Cursor down to the "BIOS_8MB.BIN" file. The file size is 8388608 (bytes).
Now press F5 (on your keyboard). A popup window will ask if you wish to copy this file to /home/pi/chipfiles
Cursor down until <OK> is highlighted and press enter. The file will be extracted to the desired location.
End of Linx 8 section.
Now go to NEXT below.

For the Linx 10:
Cursor down to "/BIOS" and press enter.
Cursor down to "/linx10 BIOS" and press enter.
Cursor down to the "I8011V6{long name here}.bin" file. The file size is 8388608 (bytes).
Now press F5 (on your keyboard). A popup window will ask if you wish to copy this file to /home/pi/chipfiles
Cursor down until <OK> is highlighted and press enter. The file will be extracted to the desired location.
End of Linx 10 section.

NEXT.

The extracted file probably has some irrelevant long name (we know that this is the correct file.).
So we'll rename the extracted file to something easier to type in or recognise.
Press tab to move to the RHS pane.
Cursor down to the file here.
Press F6 (on your keyboard).

You will now see a "Move file "{filename}.bin" with source mask"
The cursor will be at the end of the "to:" text dialogue box.
Press (and hold) the keyboard backspace key to delete the text here (actually the current directory of the left hand pane.)
Type in this
linx.bin {and press enter}.

You have now successfully renamed your first file. Midnight commander can be used to move/rename/open/edit/delete/run just about
anything on a linux system. Well done.

Now press F10 on the keyboard and cursor down to "Quit" to close Midnight Commander (the underlying terminal also closes...)

Compiling Flashrom

We've finished with the GUI, so now close it. Everything else will be done from the command line.
Actually, you can perform everything from within the GUI using a terminal, but I'm writing this... so tough! ;>)

The real reason is this. Sometimes it is a good idea to perform processor intensive tasks "outside" of XWindows (the historical name for one of the first UNIX GUIs)
The GUI uses system resources to run. We want as much performance on a low power system as possible. This allows shorter software compilation times.

So.. click on "Menu", "Shutdown". Select "Logout" and click "OK" to shut down the graphical user interface.

You will now be back at the "chipfiles" directory. We wish to be elsewhere in order to compile Flashrom.

So... type this. A little tip is included.

cd .. {There is a space between cd and .. Press enter}
ls {Press enter. This shows a directory listing of the location where you are. ls stands for "list"}
cd Dow {and press tab. This is an example of command completion. Press enter.}
cd fla {press tab and enter.}
ls {press enter. You will see a number of files, many ending in .c}
There is normally a README file or something similar. This gives information required for successful compilation.

Now for the actual compilation:
Type the following:-

make {and wait a short while}
sudo make install {You have to install software with elevated privileges. i.e. as Root)

That's it! All done. Very well done for reaching this point.

You are now ready to actually connect to your tablet and bring it back to life!!

Next: Part 8. Opening the tablet, locating the flash chip. Programming the chip.

More soon.

Bodge99
Last edited by Deleted User 1605 on April 17th, 2015, 2:36 pm, edited 4 times in total.
Deleted User 1605
 

Re: [GUIDE] Reflash the Linx Tablet Firmware (BIOS)

by beta992 » April 10th, 2015, 2:28 pm

Thanks Bob! :D
Can't wait to get the tab back to life!

It's a bit technical, but on the first look it seems the instructions are clear. :)
Member
Member
 
Posts: 6
Joined: April 5th, 2015, 12:12 pm
Linx Tablet: Linx 7
Retailer: Tweakers.net

Re: [GUIDE] Reflash the Linx Tablet Firmware (BIOS)

by Deleted User 1605 » April 10th, 2015, 9:12 pm

Hello,

Linux seems a little "technical" if you have never seen or used an operating system command line before.
As with everything, it's easy when you know how.

If you have the time and interest, try downloading on of the Linux Live iso's (One I use is Linux Mint You need to be registered to view this link, please log-in or register)
You can create a bootable DVD or a flashdrive from this. This allows you to boot your computer from this disk or drive, so allowing you to try it out without altering anything on your system at all.

If you don't want to, you never need to see a terminal program ever again... Modern Linux distributions are very capable.
After all, how often does the typical windows user need to use a command shell (aka command prompt window)? This is the windows equivalent of a Linux Terminal.

It's all free... with a shedload of free stuff available.

If you have an older computer (perhaps an old XP one) that won't run Windows 7 or 8 then why not consider installing Linux onto it??

I've tried to write this guide assuming that the reader has only a typical skill level. The desire to fix your own tablet and the willingness to "have a go" can literally "pay dividends".

I've written everything "with a 'painful' amount of detail". The idea is that anyone can perform the job with some help and "hand holding" from me.
Some readers will be aware of some or all of this material.. That's perfectly fine.. Not everyone is!

My maxim is that nobody is born knowing this stuff. A little help from me may help someone save money.. This I like!!

Anyway, I post some more parts shortly.. Nearly done... honest!!

Bodge99
Deleted User 1605
 

Next

Who is online
Users browsing this forum: No registered users and 1 guest