Active Topics

 


Reply
Thread Tools
Posts: 194 | Thanked: 1,167 times | Joined on May 2016
#1
I got pretty much inspired by https://jolla.comes.today/jolla-tablet-on-taobao-china/ article and firmware from http://talk.maemo.org/showthread.php?t=96474. In a nutshell, official Jolla Tablet is a device based around Intel Atom Z3735F SoC (Bay Trail) and can work both with Sailfish OS and Android (by the way, Android device tree it's based on is called "anzhen4_mrd8_w").

There have been a lot of cheap Chinese tablet using the same SoC, and usually they come with Android/Windows dualboot. So what's preventing us from running Sailfish OS on them? Android firmware can often be easily ported between such devices, but kernel is device-specific, so custom ROM makers just use the stock kernel from their device unmodified.

For Sailfish OS, we can't, since systemd requires some kernel options which are most of time turned off in Android kernels. Enabling them and recompiling kernel would be easy if Chinese manufacturers didn't violate GPL and actually provided kernel sources, but that's not the case. Thankfully, since most of hardware is similar, it's possible to base custom kernel on other device source.

I have Sailfish OS running on Onda V820w tablet. It's not perfect yet, but the hardware itself (touchscreen, audio, Wi-Fi, Bluetooth, front and back cameras) works. Many thanks to Stskeeps for providing modules folders which were missing from Jolla Tablet kernel sources. The biggest problem was getting kernel working with camera sensors. Even though the needed drivers are present, PMIC regs and GPIO pin meanings turned out to be different. Just a few values to change, but it was very troublesome to debug and I had to disassemble Onda stock Android kernel to understand what's wrong.

Below is a guide to installing Sailfish OS on Onda V820w (tested with V3, see serial number to understand what revision is yours if you happen to have it). Hope community will be interested in running Sailfish OS on other similar devices and we can have more supported. I'm happy to help with what I can either here or at #sailfishos-porters on IRC.

Onda V820w (V3) manual install guide
Make sure you have USB keyboard and OTG cable, it's required for navigating in UEFI setup.

1. Make ext4 partition at least 2 GiB large on your microSD card. GParted is your friend in this. It's also possible to use internal NAND, but this would require booting Linux LiveCD on tablet for partitioning, using microSD is easier and safer for testing.

2. You can either download Jolla Tablet firmware yourself and extract root/home partition. On Jolla Tablet LVM is used with separate partitions for root, /home and /fimage (recovery images). I didn't use this structure since it complicates testing and amount of available space on tablet is pretty low, and instead moved /home contents on root partition. /fimage is not needed since we don't have recovery images anyway. Then overwrite the contents of root partition with the contents of "root" folder from https://github.com/NotKit/sailfishos-onda-v820w-overlay.

Or you can use the rootfs tarball I prepared (Sailfish OS updated to the latest version): https://mega.nz/#!cBZ2XZ6L!P3EIFFQze...6lNcJnyOvjsArA

3. Now you need to adjust the contents of grub.cfg in /boot.
root= should to point to the right partition, /dev/mmcblk1p2 by default for second partition on microSD card.
Since the tablet can't boot from SD card, we need to copy bzImage, grubia32.efi and grub.cfg from /boot to the root of internal NAND ESP partition. If you have root access in Android, you can mount it like this:
Code:
su
mkdir /data/local/esp
mount -t vfat /dev/mmcblk0p1 /data/local/esp
4. Connect USB keyboard and reboot the tablet, holding Esc key. It should go to the boot menu. Select "Boot From File" option and chose ESP partition in the list, then launch grubia32.efi.

The first option in GRUB should normally boot Sailfish OS. First boot is going to take around a minute, but If you have black screen for too long, try pressing power button.

The second (init-debug) enables USB networking and telnet daemon as specified in 9.2 of HADK porting guide. It halts booting until you connect via telnet and tell it to continue, so don't expect anything but black screen until then.

Here are some photos how it looks like if you get it running: http://imgur.com/a/2CIVo
Update: automatic installer (all data is going to be erased!) image for ONDA V820W V3: https://mega.nz/#!8FZRiBwB!FBBD8CUMa...Qp713VqT-FoAhM. Unpack it to the root of FAT32 formatted USB drive and boot tablet from USB drive.

Last edited by TheKit; 2016-12-10 at 17:28.
 

The Following 39 Users Say Thank You to TheKit For This Useful Post:
Posts: 752 | Thanked: 2,808 times | Joined on Jan 2011 @ Czech Republic
#2
Hi, sorry for replying so late, but this really caught my attention as it could be a cheaper alternative to the Jolla Tablet. First, I want to thank you for the detailed tutorial and for the effort.

Would you (or anyone else with this tablet) please be willing to share any experience with using it for a few weeks?

What about the battery life? How much power does it draw when idle?
Does the miniHDMI-out work?

And the final question - since the port is based on the Jolla Tablet files (if I understand it correctly) and it uses the same kernel version, do the proprietary parts of SailfishOS work as well? Namely Alien Dalvik, Jolla Store and MS Exchange (never used it, but I'm curious).

Thanks.

Last edited by nodevel; 2016-06-02 at 14:13.
 

The Following 3 Users Say Thank You to nodevel For This Useful Post:
Posts: 701 | Thanked: 1,981 times | Joined on Jun 2015 @ Lisbon - Portugal
#3
Hi there
Also interested for my
Toshiba Encore WT8-A-103

Specifications

Toshiba Encore WT8-A-103Notebook: Toshiba Encore WT8-A-103 (Encore Series)
Processor: Intel Atom Z3740
Graphics Adapter: Intel HD Graphics (Bay Trail)
Would be great it someone could make a port for it
 

The Following 3 Users Say Thank You to deutch1976 For This Useful Post:
Posts: 194 | Thanked: 1,167 times | Joined on May 2016
#4
Originally Posted by nodevel View Post
Hi, sorry for replying so late, but this really caught my attention as it could be a cheaper alternative to the Jolla Tablet. First, I want to thank you for the detailed tutorial and for the effort.

Would you (or anyone else with this tablet) please be willing to share any experience with using it for a few weeks?

What about the battery life? How much power does it draw when idle?
Does the miniHDMI-out work?

And the final question - since the port is based on the Jolla Tablet files (if I understand it correctly) and it uses the same kernel version, do the proprietary parts of SailfishOS work as well? Namely Alien Dalvik, Jolla Store and MS Exchange (never used it, but I'm curious).

Thanks.
Unfortunately, I was more interested in getting SailfishOS running on it than actually using the device, so can't really share much user experience. Battery should be around 3 hours for general use. miniHDMI is untested, since I don't have a display to plug it in, but it probably won't work, since Sailfish OS doesn't support more than one screen so far and they purposefully shipped Jolla Tablet without HDMI port.

As for the device itself, build quality/official OS (Windows/Android I mean) support/etc is not to be compared with more expensive devices, but it still does a lot for the price in terms of hardware itself.

And for the last question, yes, but it probably goes against the rules.

Originally Posted by deutch1976 View Post
Hi there
Also interested for my Toshiba Encore WT8-A-103
Since your device doesn't have official Android firmware, libhybris can't be used, but pure Linux adaptation will be probably much more generic. You can try running latest build of Remix OS and Android-x86 itself (they've integrated many kernel patches for Bay Trail) or general Linux distro to see what in terms of hardware support is likely to work and what's not.
 

The Following 7 Users Say Thank You to TheKit For This Useful Post:
Posts: 33 | Thanked: 22 times | Joined on Aug 2011 @ Finland
#5
Originally Posted by deutch1976 View Post
Hi there
Also interested for my
Toshiba Encore WT8-A-103

Specifications

Toshiba Encore WT8-A-103Notebook: Toshiba Encore WT8-A-103 (Encore Series)
Processor: Intel Atom Z3740
Graphics Adapter: Intel HD Graphics (Bay Trail)
Would be great it someone could make a port for it
+1 for Encore port. Btw, have you tried getting your encore to dnx/fastboot mode? mine just flashes the dnx mode screen and continues booting, whereas on my jolla tablet dnx mode works correctly?
 

The Following User Says Thank You to MJ m For This Useful Post:
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#6
Any chances for Nokia N1? Have an TW-Version (Android 5.0.2) with unlocked boot loader.
But i can't find kernel and android sources for this Tablet.
 

The Following User Says Thank You to explit For This Useful Post:
Posts: 169 | Thanked: 194 times | Joined on Apr 2012 @ Austria
#7
Originally Posted by MJ m View Post
+1 for Encore port. Btw, have you tried getting your encore to dnx/fastboot mode? mine just flashes the dnx mode screen and continues booting, whereas on my jolla tablet dnx mode works correctly?
i bricked my tablet by flashing sfos with fastboot. any ideas how to unbrick? i cannot even flash original os
 

The Following User Says Thank You to smatkovi For This Useful Post:
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#8
Originally Posted by smatkovi View Post
i bricked my tablet by flashing sfos with fastboot. any ideas how to unbrick? i cannot even flash original os
which one?
I think, now you need to put your Tablet into Flash mode and flash it with Intel Phone Flash Tool or Intel Plattform flash tool
 

The Following User Says Thank You to explit For This Useful Post:
Posts: 169 | Thanked: 194 times | Joined on Apr 2012 @ Austria
#9
Originally Posted by explit View Post
which one?
I think, now you need to put your Tablet into Flash mode and flash it with Intel Phone Flash Tool or Intel Plattform flash tool
the onda v820w, i used both tools, but it gives me an error like flashing ifwi failed - sn. i tried sfos, android 5 for this tablet and the factory image for android, how i understood
 

The Following User Says Thank You to smatkovi For This Useful Post:
Posts: 169 | Thanked: 194 times | Joined on Apr 2012 @ Austria
#10
now i maybe try booting a life cd and putting sfos to the internal nand. the question is how i get grub.cfg bzimage and grubia32.efi. but maybe ihave to install a Linux to have it
 

The Following User Says Thank You to smatkovi For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:21.