[DEV] Ubuntu Touch (Preview) for Huawei Mediapad

Search This thread

after_silence

Senior Member
Sep 8, 2008
400
1,033
Yaroslavl
This is a port of Ubuntu Touch (Preview) for Huawei Mediapad tablet (s7-30xx).

1361826727_image_gallery.png

Keep in mind that:
- its experimental;
- not for daily use;
- only for developers;
- dont try install it if you have no skills at least in working with adb;
- you have to do a nandroid before installing;
- dont blame anyone for broken device ;)

How to install (almost everything the same as for other cm9-10.1 releases):
1. Install twrp/cwm recovery.
2. Make factory reset.
3. Install the device specific part for Ubutnu.
4. Install the generic Ubuntu part.
5. Install dpi fix.
6. Reboot
7. Open terminal at PC, connect tablet via usb cable to it and enter the following commands:
Code:
adb root
Code:
adb shell
Code:
ubuntu_chroot shell
If you want to see GUI then type:
Code:
ubuntu-session

--- Enjoy the testing! --- (or not enjoy :))

Download links:
- Device specific part: http://www.mediafire.com/download.php?71147ctm19763n8.
- Generic Ubuntu part: http://cdimage.ubuntu.com/ubuntu-to...c-demo/quantal-preinstalled-phablet-armhf.zip;
- DPI fix: http://www.mediafire.com/download.php?g8granxnx1q2iqt.

Working:
- Ubuntu Touch OS;
- Touchscreen;
- Display;
- ADB;
- Wifi (with manual config).

Some bad screenshots:
 

Attachments

  • 20130301_004658.jpg
    20130301_004658.jpg
    225.3 KB · Views: 7,869
  • 20130301_004710.jpg
    20130301_004710.jpg
    242.6 KB · Views: 6,073
  • 20130301_004733.jpg
    20130301_004733.jpg
    242.6 KB · Views: 5,761
  • 20130301_004833.jpg
    20130301_004833.jpg
    235.2 KB · Views: 5,031
Last edited:

Corn Flake

Senior Member
Nov 29, 2011
271
79
Is working/not working this or more things don't work?
Question : What Works?
Answer : As this is a Developer Build, dont expect much to work. The items that have been confirmed to work are;

Touchscreen
Sound (over speakers)
Display
Internet Browser
WiFi (No WPS)
Camera (Front and Back)
Video Player
ADB
Screen Brightness Controls
Automatic Brightness
Speech Driven HUD (Yes, it works)
GSM Voice (No APN Settings)
The SideStage Seems to be working


Question : What Does Not Work?
Answer : As this is a developer build, dont expect things to work properly, here are a few things that are not working

3G/4G Data
Audio Out via Headphones
HDMI
Bluetooth
Most Applications and Menus
Charging Indicator
Software Center (Note : You can install simple shell applications via apt-get install … once inside the chroot)
Most applications are placeholders
MMS
CDMA Connections
SIM Storage
Auto Rotation (Or any rotation for that matter)
Random Crashes when swiping
Notifications (All of them are placeholders)
Most Applications that do function are web apps like m.gmail.com.
NFC
 
  • Like
Reactions: anishtan32

Truthiswithin

Senior Member
May 30, 2005
118
35
Screenshots

Wow, this is great :) too bad there is no networking, otherwise it is pretty neat :)

One bug is that the keyboard is too big for the screen (see messaging screenshot below).

Here are screenshots via ddms:
 

Attachments

  • device-2013-03-01-084315.jpg
    device-2013-03-01-084315.jpg
    33.8 KB · Views: 1,775
  • device-2013-03-01-084351.jpg
    device-2013-03-01-084351.jpg
    17.8 KB · Views: 1,653
  • device-2013-03-01-084430.jpg
    device-2013-03-01-084430.jpg
    21.6 KB · Views: 1,576
  • device-2013-03-01-084544.jpg
    device-2013-03-01-084544.jpg
    40.4 KB · Views: 1,469
  • device-2013-03-01-084816.jpg
    device-2013-03-01-084816.jpg
    40.1 KB · Views: 1,457
  • device-2013-03-01-084847.jpg
    device-2013-03-01-084847.jpg
    23.6 KB · Views: 1,442
  • device-2013-03-01-085006.jpg
    device-2013-03-01-085006.jpg
    25.4 KB · Views: 1,598
  • Like
Reactions: Rumbi

PuntPT

Senior Member
Feb 4, 2012
69
9
Porto
OMG!!! Thank you!!! Can we expect more of ubuntu touch for mediapad beyond a developer preview? :)

Sent from my Huawei MediaPad using xda app-developers app
 

after_silence

Senior Member
Sep 8, 2008
400
1,033
Yaroslavl
By the way i have been able to setup wireless connection (to open access point, cant do it for wpa2) :)
To do it you need from
Code:
adb shell
perform the following:
Code:
insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wifi/rtecdc-bcm4329.bin nvram_path=/system/etc/wifi/nvram-bcm4329.txt
Then go to chroot shell via
Code:
ubuntu_chroot shell
and then setup wireless connection from there (in linux way from terminal :)
For example:
Code:
mount -t proc proc /proc
ifconfig wlan0 up
iwconfig wlan0 mode managed
iwconfig wlan0 essid your_ssid
dhclient wlan0
or something like that.
 
Last edited:

bobo1337

Senior Member
Nov 8, 2012
444
124
will this work on s7-931u?:)

Sent from my GT-I9000 using xda app-developers app
 

Kiristiba

Senior Member
Mar 14, 2011
295
86
Samsung Galaxy S21
Hello, i have tried to get ubuntu touch running, but my screen stays black.
when typing ubuntu-session in adb I see two lines in response:
ubuntu-session
Redirecting output to local session logs

does not look that bad, but my screen stays black all the time
and i can not connect to the device via adb anymore.
any idea what is going on? I used the daily build from 8.03

thx and greetings
 

Kiristiba

Senior Member
Mar 14, 2011
295
86
Samsung Galaxy S21
Hi

I have tried to flash one more time, here is the log of the first call of ubuntu-session after flash:

Code:
root@android:/ # ubuntu_chroot shell
ubuntu_chroot shell
root@localhost:/# ubuntu-session
ubuntu-session
Redirecting output to local session logs
/usr/bin/ubuntu-session: line 21: /home/phablet/.ubuntu-session/logs/ubuntu-sess
ion.log: No such file or directory
Error, do this: mount -t proc proc /proc
grep: /proc/cpuinfo: No such file or directory
Device=
Starting session bus
Started pulseaudio with pid 398 (0 secs start delay)
Started maliit-server with pid 403 (0 secs start delay)
/usr/bin/ubuntu-session: line 122:   403 Segmentation fault      ${service[1]} $
arguments &>"$HOME/.ubuntu-session/logs/$binary.log"
Started qml-phone-shell with pid 410 (2 secs start delay)
Got Shell pid = 410
Started chewie_messaging_populate_menu with pid 415 (0 secs start delay)
Started friends-service with pid 420 (0 secs start delay)
/usr/bin/ubuntu-session: line 122:   410 Segmentation fault      ${service[1]} $
arguments &>"$HOME/.ubuntu-session/logs/$binary.log"
Started manage-address-books.py with pid 443 (2 secs start delay)
Started ofono-setup with pid 483 (12 secs start delay)
Stopping services...
Stopping pulseaudio
/usr/bin/ubuntu-session: line 38: kill: (398) - No such process
Stopping maliit-server
/usr/bin/ubuntu-session: line 38: kill: (403) - No such process
Stopping qml-phone-shell
/usr/bin/ubuntu-session: line 38: kill: (410) - No such process
Stopping chewie_messaging_populate_menu
Stopping friends-service
Stopping manage-address-books.py
/usr/bin/ubuntu-session: line 38: kill: (443) - No such process
Stopping ofono-setup
Killing session bus...
Session stopped.
root@localhost:/#

Can anybody tell me what went wrong?
 

chok_thewa

Senior Member
Feb 6, 2009
199
26
Bangkok
Samsung Galaxy S21
Hi

I have tried to flash one more time, here is the log of the first call of ubuntu-session after flash:

Code:
root@android:/ # ubuntu_chroot shell
ubuntu_chroot shell
root@localhost:/# ubuntu-session
ubuntu-session
Redirecting output to local session logs
/usr/bin/ubuntu-session: line 21: /home/phablet/.ubuntu-session/logs/ubuntu-sess
ion.log: No such file or directory
Error, do this: mount -t proc proc /proc
grep: /proc/cpuinfo: No such file or directory
Device=
Starting session bus
Started pulseaudio with pid 398 (0 secs start delay)
Started maliit-server with pid 403 (0 secs start delay)
/usr/bin/ubuntu-session: line 122:   403 Segmentation fault      ${service[1]} $
arguments &>"$HOME/.ubuntu-session/logs/$binary.log"
Started qml-phone-shell with pid 410 (2 secs start delay)
Got Shell pid = 410
Started chewie_messaging_populate_menu with pid 415 (0 secs start delay)
Started friends-service with pid 420 (0 secs start delay)
/usr/bin/ubuntu-session: line 122:   410 Segmentation fault      ${service[1]} $
arguments &>"$HOME/.ubuntu-session/logs/$binary.log"
Started manage-address-books.py with pid 443 (2 secs start delay)
Started ofono-setup with pid 483 (12 secs start delay)
Stopping services...
Stopping pulseaudio
/usr/bin/ubuntu-session: line 38: kill: (398) - No such process
Stopping maliit-server
/usr/bin/ubuntu-session: line 38: kill: (403) - No such process
Stopping qml-phone-shell
/usr/bin/ubuntu-session: line 38: kill: (410) - No such process
Stopping chewie_messaging_populate_menu
Stopping friends-service
Stopping manage-address-books.py
/usr/bin/ubuntu-session: line 38: kill: (443) - No such process
Stopping ofono-setup
Killing session bus...
Session stopped.
root@localhost:/#

Can anybody tell me what went wrong?
I got issue same you,still can't solve.
 

Corn Flake

Senior Member
Nov 29, 2011
271
79
Any plans on future work on it? :) I read that late may build should be for daily use so I finally managed to try it. I used latest raring build but I had no luck with getting GUI working :/
 

virtualXTC

Member
Jul 22, 2007
23
0
Can I boot directly in, or is this Chroot only?

The install instructions include a chroot, but is that what ubuntu ends up running in? Is it possible to run without loading android into ram as well?


Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    This is a port of Ubuntu Touch (Preview) for Huawei Mediapad tablet (s7-30xx).

    1361826727_image_gallery.png

    Keep in mind that:
    - its experimental;
    - not for daily use;
    - only for developers;
    - dont try install it if you have no skills at least in working with adb;
    - you have to do a nandroid before installing;
    - dont blame anyone for broken device ;)

    How to install (almost everything the same as for other cm9-10.1 releases):
    1. Install twrp/cwm recovery.
    2. Make factory reset.
    3. Install the device specific part for Ubutnu.
    4. Install the generic Ubuntu part.
    5. Install dpi fix.
    6. Reboot
    7. Open terminal at PC, connect tablet via usb cable to it and enter the following commands:
    Code:
    adb root
    Code:
    adb shell
    Code:
    ubuntu_chroot shell
    If you want to see GUI then type:
    Code:
    ubuntu-session

    --- Enjoy the testing! --- (or not enjoy :))

    Download links:
    - Device specific part: http://www.mediafire.com/download.php?71147ctm19763n8.
    - Generic Ubuntu part: http://cdimage.ubuntu.com/ubuntu-to...c-demo/quantal-preinstalled-phablet-armhf.zip;
    - DPI fix: http://www.mediafire.com/download.php?g8granxnx1q2iqt.

    Working:
    - Ubuntu Touch OS;
    - Touchscreen;
    - Display;
    - ADB;
    - Wifi (with manual config).

    Some bad screenshots:
    4
    That was a very quick try, so dont wait too much from it. Besides ubuntu touch in very very early stage of developing.
    For keyboard Its needed to adjust ubuntu-session, i havent done it in proper way.
    3
    By the way i have been able to setup wireless connection (to open access point, cant do it for wpa2) :)
    To do it you need from
    Code:
    adb shell
    perform the following:
    Code:
    insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wifi/rtecdc-bcm4329.bin nvram_path=/system/etc/wifi/nvram-bcm4329.txt
    Then go to chroot shell via
    Code:
    ubuntu_chroot shell
    and then setup wireless connection from there (in linux way from terminal :)
    For example:
    Code:
    mount -t proc proc /proc
    ifconfig wlan0 up
    iwconfig wlan0 mode managed
    iwconfig wlan0 essid your_ssid
    dhclient wlan0
    or something like that.
    1
    Is working/not working this or more things don't work?
    Question : What Works?
    Answer : As this is a Developer Build, dont expect much to work. The items that have been confirmed to work are;

    Touchscreen
    Sound (over speakers)
    Display
    Internet Browser
    WiFi (No WPS)
    Camera (Front and Back)
    Video Player
    ADB
    Screen Brightness Controls
    Automatic Brightness
    Speech Driven HUD (Yes, it works)
    GSM Voice (No APN Settings)
    The SideStage Seems to be working


    Question : What Does Not Work?
    Answer : As this is a developer build, dont expect things to work properly, here are a few things that are not working

    3G/4G Data
    Audio Out via Headphones
    HDMI
    Bluetooth
    Most Applications and Menus
    Charging Indicator
    Software Center (Note : You can install simple shell applications via apt-get install … once inside the chroot)
    Most applications are placeholders
    MMS
    CDMA Connections
    SIM Storage
    Auto Rotation (Or any rotation for that matter)
    Random Crashes when swiping
    Notifications (All of them are placeholders)
    Most Applications that do function are web apps like m.gmail.com.
    NFC
    1
    Screenshots

    Wow, this is great :) too bad there is no networking, otherwise it is pretty neat :)

    One bug is that the keyboard is too big for the screen (see messaging screenshot below).

    Here are screenshots via ddms: