FORUMS

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android … more

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through … more

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to … more

I/O Summary: Google Now on Tap

Google is all about organizing the world’s information to make it universally useful, and these … more

rEFInd on the Toshiba Encore WT8-A32

Thanks Meter: 45
 
By bads3ctor, Member on 16th August 2014, 08:18 PM
Post Reply Subscribe to Thread Email Thread
I have managed to boot to rEFInd on my Toshiba Encore in preparation for booting Ubuntu from a microSD card natively. I have not written up a guide yet from my notes because I don't think there will be much demand for this here on XDA. If enough people want to do this, I will turn this post into a guide. This boots directly from the UEFI partition with no USB stick needed. You DO need a USB stick to do the actual install.

Toshiba Encore booting to rEFInd: http://postimg.org/image/4lx3mnxzr/
Toshiba Encore booting to Grub2: http://postimg.org/image/p3rgtpqkp/
__________________________________________________ ________________________

Installing Ubuntu 14.10 to a microSD card on the Toshiba Encore:

Note: There are many problems right now with Ubuntu on the Encore. Touchscreen driver is broken as of kernel version 3.16. It's some kind of regression bug in the atmel-maxtouch driver(here is a program to debug our touchscreen: https://github.com/atmel-maxtouch/obp-utils).

You will need to prepare with:
  1. A USB stick to do the install
  2. Ubuntu 14.10 64 bit ISO(Daily build) http://cdimage.ubuntu.com/daily-live/current/
  3. A microUSB OTG cable(if you use the StarTech cable mentioned below then you don't need this)
  4. A high speed microSD card(Partitioned: 200MB FAT32 EFI partition, a large EXT4 partition, and a swap partition). I used this(was $21 on sale) http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1
  5. A Linux box to compile the latest versions of a few programs used to boot into Grub2 and Ubuntu. I will post the compiled versions but you should compile them yourself for security reasons.
  6. Read this to get an idea what's needed to get rEFInd installed: http://www.rodsbooks.com/refind/installing.html#windows (there are extra steps not listed there)
The install will go from the usb stick booted from rEFIind to the microSD card. The Samsung PRO I am using only does ~20MBps so I'm guessing that is a hardware limit. I did the install without a swap partition and Ubuntu was unusable after opening up 4 or more programs so I added a swap partition to the end of my microSD card.

Getting rEFInd booting:

Turn off Secure Boot in the Encore bios. It should be possible to boot Ubuntu from a USB stick without turning off Secure Boot but I doubt it will ever be possible to do from a microSD card because the Toshiba Encore has no option to boot from a microSD card in the bios boot options.

Get rEFInd here: http://www.rodsbooks.com/refind/getting.html

Run these commands in an elevated permissions Windows command shell:
  • powercfg /h off
  • manage-bde -status c: (checks bitlocker status)
  • powershell
  • PS C:\> Disable-BitLocker -MountPoint "C:"
  • manage-bde -status c: (after above command finishes, makes sure your disk is really decrypted.)
  • Then follow this: http://www.rodsbooks.com/refind/installing.html#windows
All the commands are explained on rodsbooks website except disabling Bitlocker. This is optional but if something goes wrong along the way, you might find Windows 8 encrypted and unbootable.

Note: The command: "bcdedit /set {bootmgr} path \EFI\refind\refind_x64.efi" to get rEFInd set as the default EFI boot program did not take the first time I did it. You might have to run that commend a few times rebooting each time until your tablet boots into rEFInd. Once it does, you will see a graphic to boot Windows 8. I suggest changing rEFInd to text mode so that you can use the VOL UP, VOL DOWN, and Windows button(as enter) to scroll through the boot options. Use "textonly" option in the rEFInd config file to set this: http://www.rodsbooks.com/refind/conf...html#adjusting

Installing Ubuntu(bleeding edge) 14.10:
Touchscreen does not work yet so I will update this section when I get it working.
__________________________________________________ _______________________

If you want to have power to your tablet and USB OTG access at the same time, here is what you need(both Amazon prime eligible):

http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1
http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1 (Any usb gender bender like this will do...there are cheaper ones)

Attach the USB gender changer to the black end of the StarTech cable and the attach a USB hub to the other end of the gender changer. Plug the red end into a 2.1 amp USB power source and the microUSB end into the Encore. Now the tablet will say "plugged in, not charging". You can now attach any USB device to the hub and Windows or Linux with see them. The tablet will have power but the battery will not charge.
Last edited by bads3ctor; 6th October 2014 at 06:42 PM.
The Following User Says Thank You to bads3ctor For This Useful Post: [ View ]
 
 
4th September 2014, 11:34 AM |#2  
alien44's Avatar
Senior Member
Flag Warsaw
Thanks Meter: 31
 
More
Quote:
Originally Posted by bads3ctor

I have managed to boot to rEFInd on my Toshiba Encore in preparation for booting Ubuntu from a microSD card natively. I have not written up a guide yet from my notes because I don't think there will be much demand for this here on XDA. If enough people want to do this, I will turn this post into a guide. This boots directly from the UEFI partition with no USB stick needed.

Toshiba Encore booting to rEFInd: http://postimg.org/image/4lx3mnxzr/
Toshiba Encore booting to Grub2: http://postimg.org/image/p3rgtpqkp/

Hi
I wanna boot ubuntu on my encore Can You write the instructions how to, step by step?
6th September 2014, 11:44 PM |#3  
Senior Member
Flag Watertown, NY
Thanks Meter: 336
 
More
Nice, not sure how many others own this tablet, the Venue 8 Pro seems more popular. But I bought an Encore for the microHDMI so I would love to see a guide.
9th September 2014, 01:07 AM |#4  
Member
Thanks Meter: 7
 
More
Talking
Thank You, I would love to see a guide also, I own a Toshiba encore 32gb
22nd October 2014, 04:22 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Touch working? Wifi?

Thanks for posting the guide though!
23rd October 2014, 03:58 AM |#6  
bads3ctor's Avatar
OP Member
Thanks Meter: 45
 
More
Touchscreen driver works but needs calibration
Quote:
Originally Posted by SebMKd

Touch working? Wifi?

Thanks for posting the guide though!

Touchscreen bug:
Code:
i2c_hid i2c-ATML1000:00: failed to retrieve report from device.

Supposed to be fixed in kernel version 3.16 but so far in Ubuntu 14.10(kernel 3.16.0-23) TS is still broken. Internal WIFI works with a few tweaks. I am using a USB Atheros WIFI device for now.

I am running Windoze 8 and every few weeks I update Ubuntu 14.10 to see if the touchscreen works. I used to hack away at bleeding kernels to fix bugs like this but I am just going to wait for the Linux kernel devs to fix the touchscreen driver.

Edit: Booted into Ubuntu 14.10 after updating to the newest kernel and:

dmesg | grep i2c-ATML

[ 8.053603] input: ATML1000:00 03EB:8C12 as /devices/platform/80860F41:05/i2c-5/i2c-ATML1000:00/0018:03EB:8C12.0005/input/input6

Touchscreen works but is badly calibrated and the Unity side bar refuses to appear when the mouse is pushed to the left side of the screen. Not a very good trade-off! On the bright side, the former useless USB keyboard windows key now brings up the Unity sidebar.
Code:
bads3ctor@bads3ctor-Encore:~$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ MOSART Semi. 2.4G Wireless Mouse        	id=9	[slave  pointer  (2)]
⎜   ↳ ATML1000:00 03EB:8C12                   	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Logitech USB Keyboard                   	id=7	[slave  keyboard (3)]
    ↳ Logitech USB Keyboard                   	id=8	[slave  keyboard (3)]
    ↳ gpio-keys                               	id=11	[slave  keyboard (3)]
    ↳ gpio-keys                               	id=12	[slave  keyboard (3)]
bads3ctor@bads3ctor-Encore:~$ xinput list-props 10
Device 'ATML1000:00 03EB:8C12':
	Device Enabled (130):	1
	Coordinate Transformation Matrix (132):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (253):	0
	Device Accel Constant Deceleration (254):	1.000000
	Device Accel Adaptive Deceleration (255):	1.000000
	Device Accel Velocity Scaling (256):	10.000000
	Device Product ID (248):	1003, 35858
	Device Node (249):	"/dev/input/event5"
	Evdev Axis Inversion (257):	0, 0
	Evdev Axis Calibration (258):	1271, 1282, 3196, 3115
	Evdev Axes Swap (259):	1
	Axis Labels (260):	"Abs MT Position X" (280), "Abs MT Position Y" (281), "None" (0), "None" (0)
	Button Labels (267):	"Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Wheel Up" (136), "Button Wheel Down" (137)
	Evdev Scrolling Distance (261):	0, 0, 0
	Evdev Middle Button Emulation (268):	0
	Evdev Middle Button Timeout (269):	50
	Evdev Third Button Emulation (270):	0
	Evdev Third Button Emulation Timeout (271):	1000
	Evdev Third Button Emulation Button (272):	3
	Evdev Third Button Emulation Threshold (273):	20
	Evdev Wheel Emulation (274):	0
	Evdev Wheel Emulation Axes (275):	0, 0, 4, 5
	Evdev Wheel Emulation Inertia (276):	10
	Evdev Wheel Emulation Timeout (277):	200
	Evdev Wheel Emulation Button (278):	4
	Evdev Drag Lock Buttons (279):	0
Edit2: Here is the problem....the coordinates for calibration are off because the tablet is attached to an external monitor:
Code:
bads3ctor@bads3ctor-Encore:~$ xrandr
Screen 0: minimum 8 x 8, current 3200 x 1080, maximum 32767 x 32767
HDMI1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 983mm x 576mm
   1920x1080      60.0*+   50.0     59.9     30.0     25.0     24.0     30.0     24.0  
   1920x1080i     60.1     50.0     60.0  
   1600x900       60.0  
   1280x1024      60.0  
   1360x768       60.0  
   1280x720       60.0     50.0     59.9  
   1440x576i      50.1  
   1024x768       60.0  
   1440x480i      60.1     60.1  
   800x600        60.3  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        60.0     59.9  
DP1 disconnected (normal left inverted right x axis y axis)
DSI1 connected 1280x800+1920+0 right (normal left inverted right x axis y axis) 0mm x 0mm
   800x1280       60.0*+
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Last edited by bads3ctor; 23rd October 2014 at 08:26 PM. Reason: update
27th December 2014, 10:59 AM |#7  
Rotry83's Avatar
Senior Member
Flag Sevilla
Thanks Meter: 145
 
More
very interesting. It's what I need
7th January 2015, 03:10 AM |#8  
Junior Member
Thanks Meter: 7
 
More
Any more news on this?
29th January 2015, 09:57 AM |#9  
Rotry83's Avatar
Senior Member
Flag Sevilla
Thanks Meter: 145
 
More
I managed to install Refind. Also, I managed to install ubuntu on sdcard. But in Refind not appears Ubuntu. How I can edit Refind to search the OS on sdcard?

Thanks!!
28th March 2015, 09:28 PM |#10  
bads3ctor's Avatar
OP Member
Thanks Meter: 45
 
More
Quote:
Originally Posted by PainToad

Any more news on this?

Sorry for not getting back earlier on this but I wanted to exhaust all options before giving up on running Ubuntu on this tablet. The deal killer turns out to be the MicroSD card bandwidth. From what I can tell from the tests I have done while running Ubuntu from the MicroSD card, the BIOS is set to run the SD bus in DDR25 mode with no option to set it to DDR50 mode. DDR25 mode maxes out at about 18 MB/Sec and this is causing Ubuntu to lockup when disk I/O gets saturated.

With no option in the BIOS to set the SD bus to DDR50 mode, it is effectively a hardware limitation preventing Ubuntu from running properly.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes