[DEV][Porting] Ubuntu Touch on Galaxy Note II (GT-N7100)

Search This thread

andrewKode

Senior Member
May 5, 2015
1,197
487
Timișoara
I know this an old thread. But with new Ubuntu for phones having so.many cool features, I was thinking if anyone could build a new one? Ubuntu for phones has very minimal hardware requirement, it ran pretty smoothly on a Nexus 4 at MWC 2016. I was thinking it would give the note 2 a new lease of life?

---------- Post added at 06:07 PM ---------- Previous post was at 06:04 PM ----------

@Trafalgar Square @psndna88 what do you think about this?
There is pretty much no interest in building that.
 

psndna88

Inactive Recognized Contributor
Dec 2, 2011
7,495
17,800
Mumbai
Xiaomi Mi 11i
I know this an old thread. But with new Ubuntu for phones having so.many cool features, I was thinking if anyone could build a new one? Ubuntu for phones has very minimal hardware requirement, it ran pretty smoothly on a Nexus 4 at MWC 2016. I was thinking it would give the note 2 a new lease of life?

---------- Post added at 06:07 PM ---------- Previous post was at 06:04 PM ----------

@Trafalgar Square @psndna88 what do you think about this?

i cant make roms, thats primarily required..
 
  • Like
Reactions: butlershannon

Top Liked Posts

  • There are no posts matching your filters.
  • 36
    Currently I'm trying to run Ubuntu Touch Developer Preview on my Note II
    So far Ubuntu touch based on cm-10.1 it is quite simple to port to any device supported by cm.

    For beginning there are some useful guides:

    And here we go:

    First of all prepare the Build Environment
    Code:
    sudo apt-get install git gnupg flex bison gperf build-essential \
      zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
      libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
      libgl1-mesa-dev g++-multilib mingw32 tofrodos \
      python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool

    Install phablet-tools
    Code:
    sudo apt-add-repository ppa:phablet-team/tools
    sudo apt-get update
    sudo apt-get install phablet-tools

    To get the source code do bootstrap, it takes a looooong time and need about 15 GB of disk space
    Code:
    phablet-dev-bootstrap -j 4 ubuntu-touch
    Code:
    cd ubuntu-touch

    Now we need to grab the n7100 specific git repositories.
    In general we use CyanogenMode repositories with some changes made for ubuntu phone
    For the moment I'm not sure whether it is all changes what we need, therefore I have fork them on git hub,
    so just create a new file .repo/local_manifest.xml with content:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
      <project name="drapalyuk/android_device_samsung_n7100" path="device/samsung/n7100" remote="github" revision="phablet-10.1" />
      <project name="drapalyuk/android_device_samsung_smdk4412-common" path="device/samsung/smdk4412-common" remote="github" revision="phablet-10.1" />
      <project name="drapalyuk/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="phablet-10.1" />
      <project name="drapalyuk/android_hardware_samsung" path="hardware/samsung" remote="github" revision="phablet-10.1" />
    </manifest>

    Code:
    repo sync -j4

    Extract proprietary blobs, expected you have all ready installed CM-10 on your phone, if not Install CM for n7100
    Code:
    cd device/samsung/n7100
    ./extract-files.sh

    If you want to speed up subsequent builds after this one
    Turn on caching
    Code:
    export USE_CCACHE=1

    Start the build
    Code:
    . build/envsetup.sh
    brunch n7100
    After successfully build N7100 zip installer will be placed into out/target/product/n7100/cm-10.1-<date>-UNOFFICIAL-n7100.zip

    Installation instructions:

    DISCLAIMER: this is development preview do not install if you don't know exactly what you are doing
    Latest N7100 specific image Here

    To Be Continued...
    20
    update: fonts rendering issue solved

    Not working:
    • GSM
    • WiFi
    • Lots more probably

    Installation instructions:

    DISCLAIMER: this is development preview do not install if you don't know exactly what you are doing
    16
    hi folks,
    update: wlan working now

    Not working:
    • GSM
    • Lots more probably

    DISCLAIMER: this is development preview do not install if you don't know exactly what you are doing
    Installation instructions:

    8
    current progress
    finally get the gui starting

    working:
    • camera (both), flash
    • sound (at least by tacking a photo)
    • microphone (by voice input)
    • pen

    known issues:
    • font rendering artifacts
    • no gsm
    • no wifi

    to be continued...
    4
    Fixed the kernel issue. Turned out I missed some flags for Ubuntu. Added them and its booting now. May have a way to fix wifi. Going to try it later today.
    ADDED: for some reason disabling paranoid in config caused it to lag for me. (tested with both). Ill try with your zimage