← Back to team overview

ubuntu-phone team mailing list archive

Samsung Galaxy S(aucy)

 

Hi,


I have successfully ported Saucy to Samsung Galaxy S (smtd), based on the
february demo of Alistair Buxton (ali1234), I am not completely sure if
this is new, and it is not perfect, this is my fisrt Ubuntu experience :)

Here is the "guide":

-------------------------------------------------------------------------------------------------------------------------------------------

>phablet-dev-bootstrap galaxySaucy

>. build/envsetup.sh

>breakfast galaxysmtd

>repo sync


install latest stable build of cyanogenmod on device and connect it
via usb>adb devices (check if device is online)


on Desktop terminal:
-------------------------------------------------------------------------------

>cd device/samsung/galaxysmtd

>./extract-files.sh




 Go to Nautilus and open file...

-----------------------------------------------------------------------------------------------------------------------

*.../galaxySaucy/device/samsung/aries-common/fstab.aries*

remove “,nosuid” on line 8


 *.../galaxySaucy/device/samsung/aries-common/device_base.mk*

remove...


 SamsungServiceMode \

AriesParts \


 ...on line 121




 *
.../galaxySaucy/kernel/samsung/aries/arch/arm/configs/cyanogenmod_galaxysmtd_defconfig
*


 add to end of file:


 CONFIG_NAMESPACES=y

CONFIG_UTS_NS=y

CONFIG_IPC_NS=y

CONFIG_USER_NS=y

CONFIG_PID_NS=y

CONFIG_NET_NS=y

CONFIG_DEVTMPFS=y

CONFIG_DEVPTS_MULTIPLE_INSTANCES=y

CONFIG_FSNOTIFY=y

CONFIG_DNOTIFY=y

CONFIG_INOTIFY_USER=y

CONFIG_FANOTIFY=y

CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y

# CONFIG_ANDROID_PARANOID_NETWORK is not set





 back to Desktop Terminal:

-----------------------------------------------------------------------------------------------------------------------

>cd ../../..

>. build/envsetup.sh




 >brunch galaxysmtd


 download copy saucy-preinstalled-boot-armhf+grouper.img, rename it to
ubuntu-boot.img and put it on … /galaxySaucy/out/target/product/galaxysmtd


 >brunch galaxysmtd (again)



 you will get something like cm-10.1-20130713-UNOFFICIAL-galaxysmtd.zip in
that folder. Finnaly, reboot your device into CWM, mount it and copy this
zip you have just compiled and also the latest
saucy-preinstalled-phablet-armhf.zip you can download. Install the first,
wipe data on the phone, and then install the second. Reboot.


 Your screen will not be in the correct definition, to change it go to the
Terminal app of the phone and:


 >cd ../../..

>sudo vi usr/bin/ubuntu-session

password:phablet

use vi to change the following 2 lines to match these:


 GRID_UNIT_PX=10

QTWEBKIT_DPR=1.0


 using I before inserting character, x for deleting character and :wq to
quit and save


 >sudo reboot


 reconnect device to Desktop and in terminal run


 >adb devices (to check it is online)

>phablet-flash -d grouper -b (to update to the latest)



 NOTE

For the time being I don't advise doing apt-update and apt-upgrade on the
phone's terminal app for it will give undesired effects